dev
xiaowen 3 years ago
parent 356760fed0
commit d628b8fa91

@ -52,7 +52,7 @@
{
"pagePath": "pages/brandCrisis/index",
"iconPath": "/custom-tab-bar/icons/appSearch.png",
"selectedIconPath": "",
"selectedIconPath": "/custom-tab-bar/icons/appSearch.png",
"text": "品牌搜索"
},
{

@ -141,6 +141,11 @@ Component({
this.setData({
showDialogs: false,
})
},
close() {
this.setData({
show: false
})
}
}

@ -2,9 +2,10 @@
<view wx:for="{{timelist}}" class="{{index === intervalSel?'active':''}}" wx:key="index" data-index="{{index}}" bindtap="priceSel">{{item}}
</view>
</view>
<view wx:if="{{show}}">
<view style="background: #fff; z-index: 2000;" wx:if="{{show}}">
<van-cell title="选择开始时间" is-link value="{{ start }}" bind:click="onDisplay" />
<van-cell title="选择结束时间" is-link value="{{ end }}" bind:click="onDisplay1" />
<view class="tp-btn" bindtap="close">收起</view>
<van-popup show="{{ show1 }}" position="bottom">
<van-datetime-picker type="datetime" value="{{startTime}}" bind:input="onInput" bind:confirm="onConfirm"
bind:cancel="onCancel" />

@ -35,3 +35,12 @@
color: #909497;
text-align: center;
}
.tp-btn {
color: #fff;
background: #1B89FA;
text-align: center;
font-size: 14px;
height: 36px;
line-height: 36px;
font-weight: 500;
}

@ -19,7 +19,7 @@ Component({
{
"pagePath": "pages/brandCrisis/index",
"iconPath": "icons/appSearch.png",
"selectedIconPath": "",
"selectedIconPath": "icons/appSearch.png",
"text": "",
diyClass: 'diy'
},

Loading…
Cancel
Save