样式调整

This commit is contained in:
mengxiaolong
2021-02-19 14:03:11 +08:00
parent 36976e165b
commit a8854b9463
2 changed files with 5 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div class="thin-bottom mb1" @click.native="showPopup">
<div class="thin-bottom mb1" @click="showPopup">
<van-field v-bind="$attrs" right-icon="arrow" :value="value" :required="required" :readonly="readonly" />
<van-popup id="popup" :value="isShow" :position="position" @click-overlay="closePopup">
<slot :closePopup="closePopup">
@@ -45,7 +45,9 @@ export default {
this.isShow = true
},
closePopup() {
this.isShow = false
this.$nextTick(() => {
this.isShow = false
})
},
onPickerConfirm(pickedValue) {
this.$emit('input', String(pickedValue))

View File

@@ -336,7 +336,7 @@ export default {
background-color: #1989fa !important;
}
#app .van-cell:not(:last-child)::after {
/deep/ .van-cell:not(:last-child)::after {
border: none;
}