小程序底座提交一波
This commit is contained in:
@@ -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']),
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<section class="AiDate">
|
||||
<u-calendar v-model="show" :maxDate="maxDate"
|
||||
@change="handleSelect" :mode="mode" @close="show=false"/>
|
||||
<div flex @click="show=true">
|
||||
<div class="flex" @click="show=true">
|
||||
<div class="label" v-if="label" v-html="label"/>
|
||||
<div class="placeholder" v-else v-html="placeholder"/>
|
||||
<u-icon name="arrow-right" color="#ddd"/>
|
||||
|
||||
Reference in New Issue
Block a user