You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
2.6 KiB
55 lines
2.6 KiB
<!--pages/mine/pages/PushSettings/index.wxml-->
|
|
<view class="cs-container">
|
|
<view class="cs-d1">
|
|
<view class="cs-d1-title">接收时间</view>
|
|
<van-checkbox-group class="cs-vcg" value="{{ weekList }}" bind:change="onChange2">
|
|
<van-checkbox icon-size="16px" label-class="cs-cb" name="1" shape="square">星期一</van-checkbox>
|
|
<van-checkbox icon-size="16px" label-class="cs-cb" name="2" shape="square">星期二</van-checkbox>
|
|
<van-checkbox icon-size="16px" label-class="cs-cb" name="3" shape="square">星期三</van-checkbox>
|
|
<van-checkbox icon-size="16px" label-class="cs-cb" name="4" shape="square">星期四</van-checkbox>
|
|
</van-checkbox-group>
|
|
<van-checkbox-group class="cs-vcg" value="{{ weekList }}" bind:change="onChange2">
|
|
<van-checkbox icon-size="16px" label-class="cs-cb" name="5" shape="square">星期五</van-checkbox>
|
|
<van-checkbox icon-size="16px" label-class="cs-cb" name="6" shape="square">星期六</van-checkbox>
|
|
<van-checkbox icon-size="16px" label-class="cs-cb" name="7" shape="square">星期日</van-checkbox>
|
|
</van-checkbox-group>
|
|
</view>
|
|
<view class="cs-d1">
|
|
<view class="cs-d1-title">自定义接收时间</view>
|
|
<view class="range-style mar-top">
|
|
<view class="picker_group">
|
|
<picker mode="time" value="{{time}}" bindchange="bindTimeChange">
|
|
<view class="picker">
|
|
开始时间: {{time}}
|
|
</view>
|
|
</picker>
|
|
<text class="text-style1">-</text>
|
|
<picker mode="time" value="{{time2}}" bindchange="bindDateChange2">
|
|
<view class="picker">
|
|
结束时间: {{time2}}
|
|
</view>
|
|
</picker>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="cs-d1">
|
|
<view class="cs-dd">
|
|
<view class="cs-d1-title">公众号预警推送消息</view>
|
|
<van-switch size="20px" disabled wx:if="{{weekList.length<1}}" checked="{{ checked }}" bind:change="onChange1" />
|
|
<van-switch size="20px" wx:else checked="{{ checked }}" bind:change="onChange1" />
|
|
</view>
|
|
</view>
|
|
<view class="cs-d1">
|
|
<view class="cs-dd">
|
|
<view class="cs-d1-title">邮箱预警推送消息</view>
|
|
<van-switch size="20px" disabled wx:if="{{weekList.length<1}}" checked="{{ checked2 }}" bind:change="Emailalert" />
|
|
<van-switch size="20px" wx:else checked="{{ checked2 }}" bind:change="Emailalert" />
|
|
</view>
|
|
</view>
|
|
<view class="footer-btn">
|
|
<view class="footer-sbn" bindtap="Emailpush">保存</view>
|
|
</view>
|
|
</view>
|
|
<van-dialog use-slot title="注意" show="{{ showDialog }}" bind:confirm="cdialog">
|
|
<view class="tc-d-t">结束时间不能小于开始时间</view>
|
|
</van-dialog> |