config.wxml
3.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!-- <view class="bg_gray black-font font24r" style="line-height: 60rpx;">商家配置</view> -->
<nav backgroundColor="#199095" color="#ffffff">商家配置</nav>
<view class="config-single flex-lr bg_white">
<!-- <view class="flex-lr" style="margin-bottom: 10rpx;">
<view class="black-font font32r">接单方式</view>
<switch color="#199095"></switch>
</view> -->
<view class="black-font font32r">接单方式</view>
<view class="black-font font30r smooth" style="margin-left: 4rpx;">自动接单</view>
<!-- <view class="gray-font font24r smooth" style="line-height: 36rpx;">开启后,用户下单后自动接单</view> -->
</view>
<view class="cut"></view>
<view class="config-single flex-vl bg_white">
<view class="flex-lr" style="margin-bottom: 10rpx;">
<view class="black-font font32r">停止接单</view>
<switch color="#199095" checked="{{config.is_place_order==1 ? false : true}}" bindchange="switchorder"></switch>
</view>
<view class="gray-font font24r smooth" style="line-height: 36rpx;">开启后,用户将不能下单</view>
</view>
<view class="cut"></view>
<view class="config-single flex-lr bg_white">
<view class="black-font font32r">起始配送金额</view>
<input placeholder-class="gray-font font28r smooth flex-rr" class="black-font font30r smooth config-input" placeholder="请输入起始配送金额" type="number" value="{{config.is_full_amount}}" data-key="is_full_amount" bindinput="inputval"/>
</view>
<view class="cut"></view>
<view class="config-single flex-vl bg_white" style="padding-right:0;">
<view class="black-font font32r" style="height: 84rpx;border-bottom: 2rpx solid #efeef3;line-height: 84rpx;">配送时间</view>
<view class="flex-lr config-time">
<view class="black-font font32r">午餐</view>
<input placeholder-class="gray-font font28r smooth flex-rr" class="black-font font30r smooth config-input" placeholder="请输入午餐配送时间如10:00-14:00" value="{{config.lunch_time}}" data-key="lunch_time" bindinput="inputval" bindblur="test" maxlength="11"/>
</view>
<block wx:if="{{reminderlunch}}">
<view class="flex-rr red-font font28r" style="padding: 20rpx;">午餐时间格式不正确</view>
</block>
<view class="flex-lr config-time">
<view class="black-font font32r">晚餐</view>
<input placeholder-class="gray-font font28r smooth flex-rr" class="black-font font30r smooth config-input" placeholder="请输入晚餐配送时间如17:00-22:00" value="{{config.dinner_time}}" data-key="dinner_time" bindinput="inputval" bindblur="test" maxlength="11"/>
</view>
<block wx:if="{{reminderdinner}}">
<view class="flex-rr red-font font28r" style="padding: 20rpx;">晚餐时间格式不正确</view>
</block>
</view>
<view class="cut"></view>
<view class="config-single flex-lr bg_white">
<view class="black-font font32r">配送范围</view>
<view class="flex-rr">
<input placeholder-class="gray-font font28r smooth flex-rr" class="black-font font30r smooth config-input" placeholder="请输入配送范围" type="number" value="{{config.is_full_range}}" data-key="is_full_range" bindinput="inputval"/>
<view class="black-font font30r smooth" style="margin-left: 4rpx;">km</view>
</view>
</view>
<view class="cut"></view>
<view class="config-single flex-lr bg_white">
<view class="black-font font32r">打印份数</view>
<input placeholder-class="gray-font font28r smooth flex-rr" class="black-font font30r smooth config-input" placeholder="请输入打印份数" type="number" value="{{config.prints}}" data-key="prints" bindinput="inputval" maxlength="1"/>
</view>
<view class="cut"></view>
<view style="height: 120rpx;"></view>
<view class="bg_green white-font font32r flex-cc save-button" bindtap="setsellerconfig">保存</view>