123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <nav type="back" background-color="{{activeColor}}" title="用餐人数" frontColor="#ffffff" />
- <view class="allpage">
- <view class="all-top">
- <image class="img" src="{{store.cover}}" />
- <view class="h3">欢迎来到{{store.storeName}}</view>
- </view>
- <view class="content">
- <view class="content-text">
- <view>请选择就餐人数</view>
- <view class="text">
- <text class="txt" style="color: {{activeColor}};">{{active}}人</text>
- 就餐
- </view>
- </view>
- <view class="content-num">
- <block wx:for="{{list}}" wx:key="index">
- <view class="li">
- <view style="background: {{item.childe ? activeColor : 'wthie'}}!important;border: 1rpx solid {{activeColor}};color: {{item.childe ? '#000000' : activeColor}};" class="btn {{item.childe ? 'active' : ''}}" data-value="{{index}}" bind:tap="onChang">
- {{item.value}}
- </view>
- </view>
- </block>
- </view>
- </view>
- <view class="h4">
- <picker bindchange="bindPickerChange" value="{{currentIndex}}" range="{{tableList}}" range-key="name">
- <view class="picker">
- 当前桌号:{{table.name}} - {{table.number}}
- </view>
- </picker>
- </view>
- <view class="remarks">
- <van-cell-group>
- <van-field value="{{ desc }}" label="备注" placeholder="口味要求、忌口等(可不填)" />
- </van-cell-group>
- </view>
- <view class="sbmit" bind:tap="startOrder" style="background-color: {{activeColor}};">开始点餐</view>
- </view>
- <van-dialog use-slot title="请输入就餐人数" show="{{ show }}" bind:confirm="onClose">
- <input class="penple" model:value="{{ active }}" type="number" maxlength="2" />
- </van-dialog>
|