select.wxml 5.1 KB

1
  1. <view class="billing_box_bg data-v-bf80cc2e"><view class="input-wrap data-v-bf80cc2e"><app-search-module vue-id="67b4243d-1" placeholder="请输入关键词,支持拼音首字母搜索" value="{{py}}" data-event-opts="{{[['^input',[['__set_model',['','py','$event',[]]],['searchFn']]]]}}" bind:input="__e" class="data-v-bf80cc2e" bind:__l="__l"></app-search-module></view><view class="scroll-middle_bx data-v-bf80cc2e"><scroll-view class="tab-view data-v-bf80cc2e" 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-bf80cc2e',classIndex==index?'active':'']}}" data-current="{{index}}" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({index})}}" catchtap="__e"><text class="data-v-bf80cc2e">{{item.$orig.className||""}}</text><block wx:if="{{item.m0}}"><text class="tag data-v-bf80cc2e"><block wx:if="{{item.m1}}"><text class="data-v-bf80cc2e">{{''+(''+item.m2.bigCount)+''}}</text></block><block wx:if="{{item.m3.smallCount>0}}"><text class="data-v-bf80cc2e">/</text></block><block wx:if="{{item.m4.smallCount>0}}"><text class="data-v-bf80cc2e">{{item.m5.smallCount}}</text></block></text></block></view></block><view style="height:120rpx;" class="data-v-bf80cc2e"></view></scroll-view><block wx:if="{{tabIndex==0}}"><scroll-view class="right-box data-v-bf80cc2e" scroll-y="{{true}}" scroll-into-view="{{scroll_into_view}}" scroll-with-animation="true" lower-threshold="100" data-event-opts="{{[['scroll',[['scroll_detail',['$event']]]],['scrolltolower',[['scroll_bottom',['$event']]]]]}}" bindscroll="__e" bindscrolltolower="__e"><block wx:if="{{!$root.g0}}"><block class="data-v-bf80cc2e"><block wx:for="{{$root.l2}}" wx:for-item="classItem" wx:for-index="classIndex" wx:key="classIndex"><view class="item_list_bx selectAll data-v-bf80cc2e" id="{{'class_'+classIndex}}"><view class="item_list_title data-v-bf80cc2e">{{''+classItem.$orig.className+''}}</view><block wx:for="{{classItem.l1}}" wx:for-item="productItem" wx:for-index="productIndex" wx:key="productIndex"><view style="height:160rpx;" id="{{'class_'+classItem.$orig.classId+'_'+productItem.$orig.id}}" class="data-v-bf80cc2e"><block wx:if="{{classItem.$orig.isActive}}"><commondity vue-id="{{'67b4243d-2-'+classIndex+'-'+productIndex}}" offPrice="{{true}}" info="{{productItem.$orig}}" bigCount="{{productItem.m6.bigCount}}" smallCount="{{productItem.m7.smallCount}}" data-event-opts="{{[['^customNum',[['customNum']]],['^add',[['addEvent']]],['^addOneEvent',[['addCustomNumEvent']]],['^del',[['delEvent']]]]}}" bind:customNum="__e" bind:add="__e" bind:addOneEvent="__e" bind:del="__e" class="data-v-bf80cc2e" bind:__l="__l"></commondity></block></view></block></view></block></block></block><block wx:else><block class="data-v-bf80cc2e"><app-wrapper-empty vue-id="67b4243d-3" title="暂无数据" is-empty="{{$root.g1}}" class="data-v-bf80cc2e" bind:__l="__l"></app-wrapper-empty></block></block></scroll-view></block><block wx:else><block class="data-v-bf80cc2e"><view style="width:100%;" class="data-v-bf80cc2e"><app-wrapper-empty vue-id="67b4243d-4" title="敬请期待" is-empty="{{true}}" class="data-v-bf80cc2e" bind:__l="__l"></app-wrapper-empty></view></block></block></view><modal-module vue-id="67b4243d-5" 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-bf80cc2e" bind:__l="__l" vue-slots="{{['customContent']}}"><view slot="customContent" class="data-v-bf80cc2e"><block wx:if="{{customData}}"><view class="select-cmd_bx data-v-bf80cc2e"><view class="kc data-v-bf80cc2e">{{'库存'+customData.stock+''}}</view><view class="num_bx data-v-bf80cc2e"><all-more-select-input vue-id="{{('67b4243d-6')+','+('67b4243d-5')}}" isActive="{{isActive}}" isFocus="{{isFocus}}" value="{{customData.bigCount}}" isActiveOne="{{isActiveOne}}" isFocusOne="{{isFocusOne}}" valueOne="{{customData.smallCount}}" data-event-opts="{{[['^deleteInputVal',[['deleteInputVal']]],['^initAllInput',[['initAllInput']]],['^moveAllInput',[['moveAllInput']]],['^deleteInputValOne',[['deleteInputValOne']]],['^initAllInputOne',[['initAllInputOne']]],['^moveAllInputOne',[['moveAllInputOne']]]]}}" bind:deleteInputVal="__e" bind:initAllInput="__e" bind:moveAllInput="__e" bind:deleteInputValOne="__e" bind:initAllInputOne="__e" bind:moveAllInputOne="__e" class="data-v-bf80cc2e" bind:__l="__l"></all-more-select-input></view></view></block></view></modal-module><modal-module vue-id="67b4243d-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-bf80cc2e" bind:__l="__l"></modal-module><footer-cart vue-id="67b4243d-8" offPrice="{{true}}" price="{{allPrice}}" count="{{allCount}}" data-event-opts="{{[['^confirm',[['confirmSelectEvent']]]]}}" bind:confirm="__e" class="data-v-bf80cc2e" bind:__l="__l"></footer-cart></view>