dev
liuyongli 3 years ago
parent 95d3b98294
commit ca781a1e9d

@ -10,7 +10,7 @@ Page({
}, },
onLoad() { onLoad() {
wx.setNavigationBarTitle({ wx.setNavigationBarTitle({
title: '危机消息推送设置' title: '危机消息预警设置'
}) })
let pages = getCurrentPages(); let pages = getCurrentPages();
let currentPage = pages[pages.length - 1] let currentPage = pages[pages.length - 1]

@ -17,7 +17,7 @@
</view> </view>
<view class="cs-d1"> <view class="cs-d1">
<view class="cs-dd"> <view class="cs-dd">
<view class="cs-d1-title">是否推送消息</view> <view class="cs-d1-title">是否预警消息</view>
<van-switch size="20px" checked="{{ checked }}" bind:change="onChange1" /> <van-switch size="20px" checked="{{ checked }}" bind:change="onChange1" />
</view> </view>
</view> </view>

@ -124,7 +124,7 @@
<view slot="title"> <view slot="title">
<view class="bc-ws-dd"> <view class="bc-ws-dd">
<image class="bc-ws-m1" src="{{imageUrl}}/setting-one.png" /> <image class="bc-ws-m1" src="{{imageUrl}}/setting-one.png" />
<text style="font-weight: 600;">危机推送设置</text> <text style="font-weight: 600;">危机预警设置</text>
</view> </view>
</view> </view>
</van-cell> </van-cell>

@ -1,18 +1,18 @@
<view class="container"> <view class="container">
<!-- <c-echars showChart="{{showChart}}" canvasId="eventbar-canvas" chartId="eventbar" chartOption="{{chartOption}}" height="100%"></c-echars> --> <!-- <c-echars showChart="{{showChart}}" canvasId="eventbar-canvas" chartId="eventbar" chartOption="{{chartOption}}" height="100%"></c-echars> -->
<!-- sticky="true" --> <!-- sticky="true" -->
<van-tabs class="menu-tabs" active="{{ active }}" ellipsis="{{false}}" animated="{{true}}" bind:change="changeTab"> <van-tabs class="menu-tabs" active="{{ active }}" ellipsis="{{false}}" animated="{{true}}" bind:change="changeTab">
<van-tab title="品牌对比"> <van-tab title="品牌对比">
<brand-child wx:if="{{active==0 && brandshow}}" bind:hide="brandHide"></brand-child> <brand-child wx:if="{{active==0 && brandshow}}"></brand-child>
</van-tab> </van-tab>
<van-tab title="车型对比"> <van-tab title="车型对比">
<model-child wx:if="{{active===1 && modelshow}} " bind:hide="modelHide"></model-child> <model-child wx:if="{{active===1 && modelshow}} "></model-child>
</van-tab> </van-tab>
<van-tab title="事件对比"> <van-tab title="事件对比">
<event-child wx:if="{{active===2}} "></event-child> <event-child wx:if="{{active===2}} "></event-child>
</van-tab> </van-tab>
<van-tab title="主题对比"> <van-tab title="主题对比">
<theme-child wx:if="{{active===3 && wshow}}" bind:hide="themeHide"></theme-child> <theme-child wx:if="{{active===3 && wshow}}" bind:hide="themeHide"></theme-child>
</van-tab> </van-tab>
</van-tabs> </van-tabs>
</view> </view>

@ -18,13 +18,13 @@
<view class="cs-d1-title">自定义接收时间</view> <view class="cs-d1-title">自定义接收时间</view>
<view class="range-style mar-top"> <view class="range-style mar-top">
<view class="picker_group"> <view class="picker_group">
<picker mode="time" value="{{time}}" start="{{start}}" bindchange="bindTimeChange"> <picker mode="time" value="{{time}}" bindchange="bindTimeChange">
<view class="picker"> <view class="picker">
开始时间: {{time}} 开始时间: {{time}}
</view> </view>
</picker> </picker>
<text class="text-style1">-</text> <text class="text-style1">-</text>
<picker mode="time" value="{{time2}}" end="{{end}}" bindchange="bindDateChange2"> <picker mode="time" value="{{time2}}" bindchange="bindDateChange2">
<view class="picker"> <view class="picker">
结束时间: {{time2}} 结束时间: {{time2}}
</view> </view>

Loading…
Cancel
Save