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
2.5 KiB
1 lines
2.5 KiB
<view><view class="tabr" style="{{'top:'+(headerTop)+';'}}"><view data-event-opts="{{[['tap',[['switchType',['goods']]]]]}}" class="{{[(typeClass=='goods')?'on':'']}}" bindtap="__e">{{"商品("+goodsList.length+")"}}</view><view data-event-opts="{{[['tap',[['switchType',['shop']]]]]}}" class="{{[(typeClass=='shop')?'on':'']}}" bindtap="__e">{{"店铺("+shopList.length+")"}}</view><view class="{{['border',typeClass]}}"></view></view><view class="place"></view><view class="list"><view class="{{['sub-list goods',subState]}}"><block wx:if="{{goodsList.length==0}}"><view class="tis">没有数据~</view></block><block wx:for="{{goodsList}}" wx:for-item="row" wx:for-index="index" wx:key="index"><view class="row"><view data-event-opts="{{[['tap',[['deleteCoupon',['$0','$1'],[[['goodsList','',index,'id']],'goodsList']]]]]}}" class="menu" catchtap="__e"><view class="icon shanchu"></view></view><view data-event-opts="{{[['touchstart',[['touchStart',[index,'$event']]]],['touchmove',[['touchMove',[index,'$event']]]],['touchend',[['touchEnd',[index,'$event']]]]]}}" class="{{['carrier',typeClass=='goods'?theIndex==index?'open':oldIndex==index?'close':'':'']}}" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e"><view data-event-opts="{{[['tap',[['toGoods',['$0'],[[['goodsList','',index]]]]]]]}}" class="goods-info" bindtap="__e"><view class="img"><image src="{{row.img}}"></image></view><view class="info"><view class="title">{{row.name}}</view><view class="price-number"><view class="keep-num">905人收藏</view><view class="price">{{"¥"+row.price}}</view></view></view></view></view></view></block></view><view class="{{['sub-list shop',subState]}}"><block wx:if="{{shopList.length==0}}"><view class="tis">没有数据~</view></block><block wx:for="{{shopList}}" wx:for-item="row" wx:for-index="index" wx:key="index"><view class="row"><view data-event-opts="{{[['tap',[['deleteCoupon',['$0','$1'],[[['shopList','',index,'id']],'shopList']]]]]}}" class="menu" catchtap="__e"><view class="icon shanchu"></view></view><view data-event-opts="{{[['touchstart',[['touchStart',[index,'$event']]]],['touchmove',[['touchMove',[index,'$event']]]],['touchend',[['touchEnd',[index,'$event']]]]]}}" class="{{['carrier',typeClass=='shop'?theIndex==index?'open':oldIndex==index?'close':'':'']}}" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e"><view class="left"><image src="{{row.img}}"></image></view><view class="right"><view class="name">{{''+row.name+''}}</view></view></view></view></block></view></view></view> |