| 1 |
- <view class="billing_box_bg data-v-72b4b8e8"><app-tabs vue-id="dde42e7a-1" tabs="{{tabs}}" currentTab="{{tabIndex}}" itemWidth="50%" data-event-opts="{{[['^change',[['change']]]]}}" bind:change="__e" class="data-v-72b4b8e8" bind:__l="__l"></app-tabs><view class="input-wrap data-v-72b4b8e8"><app-search-module vue-id="dde42e7a-2" placeholder="请输入关键词,支持拼音首字母搜索" value="{{py}}" data-event-opts="{{[['^search',[['searchFn']]],['^input',[['__set_model',['','py','$event',[]]]]]]}}" bind:search="__e" bind:input="__e" class="data-v-72b4b8e8" bind:__l="__l"></app-search-module></view><view class="scroll-middle_bx data-v-72b4b8e8"><scroll-view class="tab-view data-v-72b4b8e8" scroll-y="{{true}}" scroll-with-animation="{{true}}" scroll-top="{{scrollTop}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['tab-bar-item _div data-v-72b4b8e8',classIndex==index?'active':'']}}" data-current="{{index}}" data-event-opts="{{[['tap',[['swichClass',['$event']]]]]}}" catchtap="__e"><text class="data-v-72b4b8e8">{{item.$orig.className||""}}</text><block wx:if="{{item.m0.bigCount>0||item.m1.smallCount>0}}"><text class="tag data-v-72b4b8e8"><block wx:if="{{item.m2.bigCount>0||item.m3.smallCount>0}}"><text class="data-v-72b4b8e8">{{''+(''+item.m4.bigCount)+''}}</text></block><block wx:if="{{item.m5.smallCount>0}}"><text class="data-v-72b4b8e8">/</text></block><block wx:if="{{item.m6.smallCount>0}}"><text class="data-v-72b4b8e8">{{item.m7.smallCount}}</text></block></text></block></view></block></scroll-view><block wx:if="{{tabIndex==0}}"><scroll-view class="right-box data-v-72b4b8e8" scroll-y="{{true}}" scroll-into-view="{{scrollClassId}}"><block wx:if="{{!$root.g0}}"><block class="data-v-72b4b8e8"><block wx:for="{{$root.l2}}" wx:for-item="classItem" wx:for-index="classIndex" wx:key="classIndex"><view class="item_list_bx data-v-72b4b8e8" id="{{'class_'+classItem.$orig.classId}}"><view class="item_list_title data-v-72b4b8e8">{{''+classItem.$orig.className+''}}</view><block wx:for="{{classItem.l1}}" wx:for-item="productItem" wx:for-index="productIndex" wx:key="productIndex"><view id="{{'class_'+classItem.$orig.classId+'_'+productItem.$orig.id}}" class="data-v-72b4b8e8"><commondity vue-id="{{'dde42e7a-3-'+classIndex+'-'+productIndex}}" info="{{productItem.$orig}}" bigCount="{{productItem.m8.bigCount}}" smallCount="{{productItem.m9.smallCount}}" data-event-opts="{{[['^customNum',[['customNum']]],['^add',[['addEvent']]],['^del',[['delEvent']]]]}}" bind:customNum="__e" bind:add="__e" bind:del="__e" class="data-v-72b4b8e8" bind:__l="__l"></commondity></view></block></view></block></block></block><block wx:else><block class="data-v-72b4b8e8"><app-wrapper-empty vue-id="dde42e7a-4" title="暂无数据" is-empty="{{$root.g1}}" class="data-v-72b4b8e8" bind:__l="__l"></app-wrapper-empty></block></block></scroll-view></block><block wx:else><block class="data-v-72b4b8e8"><view style="width:100%;" class="data-v-72b4b8e8"><app-wrapper-empty vue-id="dde42e7a-5" title="敬请期待" is-empty="{{true}}" class="data-v-72b4b8e8" bind:__l="__l"></app-wrapper-empty></view></block></block></view><modal-module vue-id="dde42e7a-6" show="{{isModel}}" title="{{customData.itemName}}" color="#333" size="{{32}}" padding="30rpx 30rpx" data-event-opts="{{[['^cancel',[['modalCancel']]],['^click',[['affirm']]]]}}" bind:cancel="__e" bind:click="__e" class="data-v-72b4b8e8" bind:__l="__l" vue-slots="{{['customContent']}}"><view slot="customContent" class="data-v-72b4b8e8"><block wx:if="{{customData}}"><view class="select-cmd_bx data-v-72b4b8e8"><view class="kc data-v-72b4b8e8">{{'库存'+customData.stock+''}}</view><view class="num_bx data-v-72b4b8e8"><input focus="{{true}}" type="number" data-event-opts="{{[['input',[['__set_model',['$0','bigCount','$event',[]],['customData']]]]]}}" value="{{customData.bigCount}}" bindinput="__e" class="data-v-72b4b8e8"/>扎<input style="margin-left:24rpx;" type="number" data-event-opts="{{[['input',[['__set_model',['$0','smallCount','$event',[]],['customData']]]]]}}" value="{{customData.smallCount}}" bindinput="__e" class="data-v-72b4b8e8"/>支</view></view></block></view></modal-module><modal-module vue-id="dde42e7a-7" show="{{showSubmitModel}}" title="{{confirmContent}}" color="#333" size="{{32}}" padding="30rpx 30rpx" data-event-opts="{{[['^cancel',[['cancelEvent']]],['^click',[['submitEvent']]]]}}" bind:cancel="__e" bind:click="__e" class="data-v-72b4b8e8" bind:__l="__l"></modal-module><footer-cart vue-id="dde42e7a-8" price="{{allPrice}}" count="{{allCount}}" data-event-opts="{{[['^confirm',[['confirmSelectEvent']]]]}}" bind:confirm="__e" class="data-v-72b4b8e8" bind:__l="__l"></footer-cart></view>
|