index.wxml 1.8 KB

1
  1. <view class="{{[$root.g0.tmVuetify.black?'black':' ']}}" style="{{'min-height:'+(sys.windowHeight+'px')+';'}}"><tm-menubars vue-id="7a727328-1" title="分类列表" shadow="{{0}}" showback="{{true}}" bind:__l="__l"></tm-menubars><view class="zhuti _div"><block wx:if="{{listdata.length!=0}}"><tm-sheet class="kuang" style="padding-bottom:30px !important;" vue-id="7a727328-2" bind:__l="__l" vue-slots="{{['default']}}"><view class="remen" style="width:94%;margin:0 auto;"><block wx:for="{{listdata}}" wx:for-item="item" wx:for-index="index"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['listdata','',index]]]]]]]}}" class="{{['round-5','contone','black','mt-20',index%2==0?'fl':'fr']}}" bindtap="__e"><image class="logo" src="{{item.image}}" mode="widthFix"></image><view class="pa-15 text-size-s"><view class="text-overflow-2"><text class="text-size-lg">{{item.goods_name}}</text><view class="text-gray mt-6">{{"销量:"+item.sale_num}}</view></view><view class="mt-2 flex-between flex-center"><view class="touxiang mt-30"><text class="text-white text-size-m text-weight-b">{{"¥ "+item.sale_price}}</text></view><view><image class="remenzan" src="/static/img/86.png" mode="widthFix" data-event-opts="{{[['tap',[['jiarufuFun',['$0'],[[['listdata','',index]]]]]]]}}" catchtap="__e"></image></view></view></view></view></block><view style="clear:both;"></view><block wx:if="{{listdata.length<total}}"><view data-event-opts="{{[['tap',[['gengmore']]]]}}" class="more ma-40 pt-40" style="clear:both;" bindtap="__e"><image src="/static/img/30.png" mode="widthFix"></image><text class="text-size-s">下拉加载更多~</text></view></block></view></tm-sheet></block><view style="height:60px;"></view></view><tm-message class="vue-ref" vue-id="7a727328-3" data-ref="toast" bind:__l="__l"></tm-message></view>