| 1 |
- <view class="billing_box_bg data-v-2df82ca3"><app-tabs vue-id="dde42e7a-1" tabs="{{tabs}}" currentTab="{{tabIndex}}" itemWidth="50%" data-event-opts="{{[['^change',[['change']]]]}}" bind:change="__e" class="data-v-2df82ca3" bind:__l="__l"></app-tabs><view class="input-wrap data-v-2df82ca3"><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-2df82ca3" bind:__l="__l"></app-search-module></view><view class="scroll-middle_bx data-v-2df82ca3"><scroll-view class="tab-view data-v-2df82ca3" 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-2df82ca3',classIndex==index?'active':'']}}" data-current="{{index}}" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" catchtap="__e"><text class="data-v-2df82ca3">{{item.$orig.className||""}}</text><block wx:if="{{item.m0}}"><text class="tag data-v-2df82ca3"><block wx:if="{{item.m1}}"><text class="data-v-2df82ca3">{{''+(''+item.m2.bigCount)+''}}</text></block><block wx:if="{{item.m3.smallCount>0}}"><text class="data-v-2df82ca3">/</text></block><block wx:if="{{item.m4.smallCount>0}}"><text class="data-v-2df82ca3">{{item.m5.smallCount}}</text></block></text></block></view></block></scroll-view><block wx:if="{{tabIndex==0}}"><scroll-view class="right-box data-v-2df82ca3" scroll-y="{{true}}" scroll-into-view="{{scrollClassId}}"><block wx:if="{{!$root.g0}}"><block class="data-v-2df82ca3"><block wx:for="{{$root.l2}}" wx:for-item="classItem" wx:for-index="classIndex" wx:key="classIndex"><view class="item_list_bx data-v-2df82ca3" id="{{'class_'+classItem.$orig.classId}}"><view class="item_list_title data-v-2df82ca3">{{''+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-2df82ca3"><commondity vue-id="{{'dde42e7a-3-'+classIndex+'-'+productIndex}}" info="{{productItem.$orig}}" bigCount="{{productItem.m6.bigCount}}" smallCount="{{productItem.m7.smallCount}}" data-event-opts="{{[['^customNum',[['customNum']]],['^add',[['addEvent']]],['^del',[['delEvent']]]]}}" bind:customNum="__e" bind:add="__e" bind:del="__e" class="data-v-2df82ca3" bind:__l="__l"></commondity></view></block></view></block></block></block><block wx:else><block class="data-v-2df82ca3"><app-wrapper-empty vue-id="dde42e7a-4" title="暂无数据" is-empty="{{$root.g1}}" class="data-v-2df82ca3" bind:__l="__l"></app-wrapper-empty></block></block></scroll-view></block><block wx:else><block class="data-v-2df82ca3"><view style="width:100%;" class="data-v-2df82ca3"><app-wrapper-empty vue-id="dde42e7a-5" title="敬请期待" is-empty="{{true}}" class="data-v-2df82ca3" 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="30upx 30upx" data-event-opts="{{[['^cancel',[['modalCancel']]],['^click',[['affirm']]]]}}" bind:cancel="__e" bind:click="__e" class="data-v-2df82ca3" bind:__l="__l" vue-slots="{{['customContent']}}"><view slot="customContent" class="data-v-2df82ca3"><block wx:if="{{customData}}"><view class="select-cmd_bx data-v-2df82ca3"><view class="kc data-v-2df82ca3">{{'库存'+customData.stock+''}}</view><view class="num_bx data-v-2df82ca3"><input focus="{{true}}" type="number" data-event-opts="{{[['input',[['__set_model',['$0','bigCount','$event',[]],['customData']]]]]}}" value="{{customData.bigCount}}" bindinput="__e" class="data-v-2df82ca3"/>扎<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-2df82ca3"/>支</view></view></block></view></modal-module><modal-module vue-id="dde42e7a-7" show="{{showSubmitModel}}" title="{{confirmContent}}" color="#333" size="{{32}}" padding="30upx 30upx" data-event-opts="{{[['^cancel',[['cancelEvent']]],['^click',[['submitEvent']]]]}}" bind:cancel="__e" bind:click="__e" class="data-v-2df82ca3" 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-2df82ca3" bind:__l="__l"></footer-cart></view>
|