1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <view class="body">
- <view class="top">
- <view class="time">
- <picker mode="date" value="{{date}}" start="2020-09-01" end="2100-09-01" bindchange="bindDateChange">
- <view class="picker">
- <text>{{date}}</text>
- <image src="/img/xiajiantou.png" style="width:30rpx;height:30rpx;margin-left:6rpx;"></image>
- </view>
- </picker>
- </view>
- <view class="yutang">
- <view wx:for="{{items}}" class="{{yuIndex==index?'active' :''}}" bindtap="yutang" data-index="{{index}}">
- <text>{{item.name}}</text>
- <text class="text" wx:if="{{yuIndex==index}}"></text>
- </view>
- </view>
- </view>
- <view class="list" wx:if="{{list!=''}}">
- <view wx:for="{{list}}" class="view">
- <view class="left">
- <text>昵称:{{item.user.nickname}}</text>
- <text>手机号:15824794547</text>
- <text>预约时间:{{item.subscribe_day}}</text>
- <text>预约鱼塘:南塘私人定制区</text>
- </view>
- <view class="right">
- <view bindtap="fenhao" data-number="{{item.number}}" data-id="{{item.id}}" wx:if="{{item.is_subscribe==0}}">
- <text>分号</text>
- </view>
- <view bindtap="dayin" data-id="{{item.id}}" wx:if="{{item.is_subscribe==1}}">
- <text>打印</text>
- </view>
- <view bindtap="fanqian" data-user_id="{{item.user_id}}">
- <text>返钱</text>
- </view>
- </view>
- </view>
- </view>
- <view class="background" wx:if="{{fenhao}}"></view>
- <view class="model" wx:if="{{fenhao}}">
- <view class="title">请填写{{number}}个桌号</view>
- <input type="text" placeholder="请输入桌号多个用,分割" bindinput="input"/>
- <view class="bottom">
- <view style="border-right:2rpx solid #ccc" bindtap="quxiao">
- <text>取消</text>
- </view>
- <view bindtap="queding">
- <text>确定</text>
- </view>
- </view>
- </view>
- <view class="background" wx:if="{{fanqian}}"></view>
- <view class="model" wx:if="{{fanqian}}">
- <view class="title">返给用户钱</view>
- <input type="text" placeholder="请输入金额" bindinput="money"/>
- <view class="bottom">
- <view style="border-right:2rpx solid #ccc" bindtap="quxiao">
- <text>取消</text>
- </view>
- <view bindtap="return_money">
- <text>确定</text>
- </view>
- </view>
- </view>
- <view class="none" wx:if="{{list==''}}">
- <text>暂无数据~</text>
- </view>
- </view>
|