小程序底座提交一波

This commit is contained in:
aixianling
2022-02-18 20:17:07 +08:00
parent 21f5273b84
commit cfb00174e3
2 changed files with 6 additions and 2 deletions

View File

@@ -3,6 +3,9 @@
<ai-search-popup mode="bottom" ref="areaSelector" length="85%">
<div slot="btn" @tap="handleInit">
<slot v-if="$slots.default"/>
<div v-else-if="isForm">
<u-icon name="arrow-right" :label="currentArea.name||'请选择'" label-pos="left"/>
</div>
<div v-else class="areaSelector">
<image :src="locationIcon" class="location"/>
<div v-text="currentArea.name"/>
@@ -53,7 +56,8 @@ export default {
isHideTown: {
type: Boolean,
default: false
}
},
isForm:Boolean
},
computed: {
...mapState(['user']),