index.wxml 1.5 KB

1
  1. <view class="content data-v-6c607792"><view class="top-info data-v-6c607792">桌号:A08   就餐人数:{{a}}人</view><input type="text" placeholder="请输入菜品名称" class="search-input data-v-6c607792"/><view class="content-box data-v-6c607792"><scroll-view class="category-list data-v-6c607792" scroll-y><view wx:for="{{b}}" wx:for-item="category" wx:key="b" class="{{['category-item', 'data-v-6c607792', category.c && 'active']}}" bindtap="{{category.d}}">{{category.a}}</view></scroll-view><scroll-view class="food-list data-v-6c607792" scroll-y><food-card wx:for="{{c}}" wx:for-item="food" wx:key="a" class="data-v-6c607792" bindincrease="{{food.b}}" binddecrease="{{food.c}}" u-i="{{food.d}}" bind:__l="__l" u-p="{{food.e}}"/></scroll-view></view><bottom-action-bar wx:if="{{g}}" class="data-v-6c607792" bindcouponClick="{{d}}" bindcartClick="{{e}}" bindorderClick="{{f}}" u-i="6c607792-1" bind:__l="__l" u-p="{{g}}"/><coupon-modal wx:if="{{k}}" class="data-v-6c607792" bindreceive="{{h}}" bindclose="{{i}}" u-i="6c607792-2" bind:__l="__l" bindupdateOpen="{{j}}" u-p="{{k}}"/><cart-modal wx:if="{{s}}" class="data-v-6c607792" bindincrease="{{l}}" binddecrease="{{m}}" bindclear="{{n}}" bindcouponClick="{{o}}" bindorderClick="{{p}}" bindclose="{{q}}" u-i="6c607792-3" bind:__l="__l" bindupdateOpen="{{r}}" u-p="{{s}}"/><select-coupon-modal wx:if="{{x}}" class="data-v-6c607792" bindselect="{{t}}" bindclose="{{v}}" u-i="6c607792-4" bind:__l="__l" bindupdateOpen="{{w}}" u-p="{{x}}"/></view>