weliam-smartcity智慧城市
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
6.7 KiB

<view class="content data-v-84c88bea"><scroll-view class="left-aside data-v-84c88bea" scroll-y="{{true}}"><block wx:for="{{flist}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['tabtap',['$0'],[[['flist','id',item.id]]]]]]]}}" class="{{['f-item','data-v-84c88bea',(item.id===currentId)?'active':'']}}" bindtap="__e">{{item.name}}</view></block></scroll-view><scroll-view class="right-aside data-v-84c88bea" scroll-with-animation="{{true}}" scroll-y="{{true}}" scroll-top="{{tabScrollTop}}" data-event-opts="{{[['scroll',[['asideScroll',['$event']]]]]}}" bindscroll="__e"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="__i1__" wx:key="id"><view class="s-list data-v-84c88bea" id="{{'main-'+item.$orig.id}}"><text class="s-item data-v-84c88bea">{{item.$orig.catename}}</text><view class="t-list data-v-84c88bea"><block wx:for="{{item.l0}}" wx:for-item="titem" wx:for-index="index" wx:key="id"><block wx:if="{{titem.$orig.pid===item.$orig.id}}"><view data-event-opts="{{[['tap',[['navToList',['$0','$1'],[[['slist','id',item.$orig.id,'id']],[['tlist','id',titem.$orig.id]]]]]]]}}" class="t-item data-v-84c88bea" bindtap="__e"><view style="flex:3;position:relative;overflow:hidden;" class="data-v-84c88bea"><image style="width:150rpx;height:150rpx;border-radius:10rpx;" src="{{titem.$orig.thumb}}" mode="aspectFill" class="data-v-84c88bea"></image><block wx:if="{{titem.$orig.vipstatus=='2'}}"><view class="f-w viptag iconfont icon-choicenessfill data-v-84c88bea"></view></block></view><view style="flex:7;padding-left:20rpx;" class="data-v-84c88bea"><view class="f-32 f-w data-v-84c88bea" style="color:#333333;width:10em;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;">{{titem.$orig.name}}</view><view style="color:#999999;padding:16rpx 0;" class="data-v-84c88bea">{{"已售"+titem.$orig.salenum+''}}<block wx:if="{{titem.$orig.vipstatus=='1'}}"><view class="dis-flex flex-y-center member-coupon-view data-v-84c88bea"><view class="member-price-label f-22 data-v-84c88bea">会员</view><view class="f-22 col-f onelist-hidden b-0 coupon-price-2 data-v-84c88bea">-<text class="member-coupon-price data-v-84c88bea">{{titem.$orig.vipdiscount}}</text>元</view></view></block><block wx:if="{{titem.$orig.vipstatus=='2'}}"><view class="member-coupon-view f-22 data-v-84c88bea" style="background-color:#efd68f;border-radius:7rpx;padding:5rpx 10rpx;color:#333333;">会员专享</view></block></view><view class="dis-flex data-v-84c88bea"><view class="flex-box data-v-84c88bea"><text class="f-26 data-v-84c88bea" style="color:#F44F44;">{{"¥"+titem.$orig.price}}</text><block wx:if="{{titem.m0>0}}"><text class="f-20 data-v-84c88bea" style="text-decoration:line-through;color:#999999;padding-left:10rpx;">{{"¥"+titem.$orig.oldprice}}</text></block></view><view class="flex-box data-v-84c88bea"><view style="float:right;" class="data-v-84c88bea"><block wx:if="{{false}}"><view style="width:100rpx;height:100rpx;background-color:#33ff55;" animation="{{animationData}}" class="data-v-84c88bea"></view></block><jump-ball bind:msg="__e" vue-id="{{'1447ef4a-1-'+__i1__+'-'+index}}" data-ref="jumpBall" data-event-opts="{{[['^msg',[['jbMsg']]]]}}" class="data-v-84c88bea vue-ref-in-for" bind:__l="__l"></jump-ball><block wx:if="{{titem.g0}}"><tui-numberbox class="{{['data-v-84c88bea','admin'+index]}}" vue-id="{{'1447ef4a-2-'+__i1__+'-'+index}}" value="{{tlist[index].num}}" width="{{40}}" min="{{0}}" data-event-opts="{{[['^change',[['change',['$event','$0','admin'+index,index],[[['tlist','id',titem.$orig.id]]]]]],['^click',[['',['$event']]]]]}}" bind:change="__e" catch:click="__e" bind:__l="__l"></tui-numberbox></block><block wx:else><block wx:if="{{titem.g1}}"><view data-event-opts="{{[['tap',[['popupOpen',['$0'],[[['tlist','id',titem.$orig.id]]]]]]]}}" style="padding:10rpx 20rpx;border-radius:10rpx;background-color:#FF4444;color:#FFFFFF;" catchtap="__e" class="data-v-84c88bea">选规格</view></block><block wx:else><block wx:if="{{titem.$orig.saleoverflag==1}}"><view data-event-opts="{{[['tap',[['sellout',['$event']]]]]}}" style="padding:10rpx 20rpx;border-radius:10rpx;background-color:#999999;color:#FFFFFF;" catchtap="__e" class="data-v-84c88bea">已售罄</view></block></block></block></view></view></view></view></view></block></block></view></view></block></scroll-view><view class="foot data-v-84c88bea"><view class="cart data-v-84c88bea"></view></view><popup-view vue-id="1447ef4a-3" show="{{showBuyMenu}}" type="center" data-event-opts="{{[['^clickmask',[['onToggleTrade']]]]}}" bind:clickmask="__e" class="data-v-84c88bea" bind:__l="__l" vue-slots="{{['default']}}"><view style="background-color:#FFFFFF;border-radius:15rpx;" class="data-v-84c88bea"><view class="footName f-28 data-v-84c88bea" style="padding:20rpx 20rpx 0;">{{selectSpecification.name}}</view><view class="p-top-40 f-24 data-v-84c88bea" style="color:#999999;padding:40rpx 20rpx 0rpx;">规格</view><view class="dis-flex data-v-84c88bea" style="padding:0 20rpx 30rpx;flex-wrap:wrap;overflow:auto;max-height:40vh;"><block wx:for="{{selectSpecification.optionarray}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['checkedLabel',['$0'],[[['selectSpecification.optionarray','',index]]]]]]]}}" class="{{['data-v-84c88bea',item.checked?'checked':'noChecked']}}" style="flex:0.01;padding:10rpx 30rpx;margin:20rpx 10rpx 20rpx 0;text-align:center;width:100rpx;min-width:100rpx;" bindtap="__e">{{item.name}}</view></block></view><view style="background-color:#F8F8F8;padding:10rpx 20rpx;" class="data-v-84c88bea"><text class="f-26 data-v-84c88bea" style="color:#999999;">已选规格:</text><text class="f-26 data-v-84c88bea">{{"("+numberPeople.name+")"}}</text></view><view class="dis-flex data-v-84c88bea" style="padding:0 20rpx;"><view style="flex:7;padding:30rpx 0;" class="data-v-84c88bea"><text class="f-30 f-w data-v-84c88bea" style="color:#FF4444;">{{"¥"+numberPeople.price}}</text><text class="f-24 data-v-84c88bea" style="text-decoration:line-through;color:#999999;padding-left:10rpx;">{{"¥"+numberPeople.oldprice}}</text></view><view style="flex:3;padding-top:30rpx;" class="data-v-84c88bea"><block wx:if="{{numberPeople.num==0}}"><button style="font-size:20rpx;" type="warn" size="mini" data-event-opts="{{[['tap',[['addShoping',['$event']]]]]}}" bindtap="__e" class="data-v-84c88bea">加入购物车</button></block><block wx:if="{{numberPeople.num>0}}"><tui-numberbox vue-id="{{('1447ef4a-4')+','+('1447ef4a-3')}}" value="{{numberPeople.num}}" width="{{60}}" min="{{0}}" data-event-opts="{{[['^click',[['',['$event']]]],['^change',[['changes',['$event','$0'],['numberPeople']]]]]}}" catch:click="__e" bind:change="__e" class="data-v-84c88bea" bind:__l="__l"></tui-numberbox></block></view></view></view></popup-view></view>