<block wx:if="{{isTrader2==1}}"><navigator class="main_btn_m get_phone to_login" style="margin-top:100rpx;" url="../login/index">去登陆商户</navigator></block><block wx:else><view><block wx:if="{{loading}}"><view class="loading_text">加载中...</view></block><block wx:else><view><block wx:if="{{sys_role==0}}"><view class="main_width"><block wx:for="{{data}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><navigator class="nav" url="{{'./detail?id='+item.id}}"><image style="width:100%;height:300rpx;" src="{{item.list_photos[0]['url']}}"></image><view class="title"><view class="text_in_width nowrap" style="color:white;">{{item.title+''}}</view></view></navigator></block></view></block><block wx:else><view><view><block wx:for="{{data}}" wx:for-item="item" wx:for-index="index" wx:key="id"><navigator class="mer_each" style="{{('background-color:'+style_arr[index%4]['bgc'])}}" url="{{'./detail?id='+item.id}}"><view style="height:50rpx;"></view><view class="big_title" style="{{('color:'+style_arr[index%4]['color'])}}">{{''+item.title+''}}</view><view class="small_title" style="{{('margin-top: 20upx;color:'+style_arr[index%4]['color'])}}">{{''+item.title2+''}}</view></navigator></block></view></view></block></view></block><block wx:if="{{data.length==0&&!loading}}"><view class="loading_text">暂无数据</view></block></view></block>