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 line
2.3 KiB

1 year ago
<view class="wanlfind-follow-container"><view class="edgeInsetTop"></view><block wx:if="{{$root.g0}}"><wanl-empty vue-id="9294430c-1" src="find_default3x" text="没有任何关注马上关注去吧 !" bind:__l="__l"></wanl-empty></block><block wx:if="{{$root.g1>0}}"><view class="wanlfind-follow-container__list"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="id"><view data-event-opts="{{[['tap',[['handleUser',['$0'],[[['dataList','id',item.$orig.id,'user_no']]]]]]]}}" class="item padding-bj margin-bj bg-white radius-bock" bindtap="__e"><view class="cu-avatar margin-right-bj round" style="{{'background-image:'+('url('+item.g2+')')+';'}}"></view><view class="subject"><view class="info"><block wx:if="{{item.$orig.shop.isself==1}}"><view><view class="cu-tag sm wanl-bg-redorange radius margin-right-xs">自营</view>{{''+item.$orig.shop.shopname+''}}</view></block><block wx:else><view class="text-cut-2 margin-bottom-xs"><block wx:if="{{item.$orig.shop.state==0}}"><view class="cu-tag sm bg-gray radius margin-right-xs">个人</view></block><block wx:if="{{item.$orig.shop.state==1}}"><view class="cu-tag sm wanl-bg-blue radius margin-right-xs">企业</view></block><block wx:if="{{item.$orig.shop.state==2}}"><view class="cu-tag sm wanl-bg-orange radius margin-right-xs">旗舰</view></block>{{''+item.$orig.shop.shopname+''}}</view></block><view class="wanl-gray-light text-sm text-cut"><text>{{item.$orig.shop.city}}</text></view></view><view class="menu"><button data-event-opts="{{[['tap',[['onShop',['$0'],[[['dataList','id',item.$orig.id,'shop.id']]]]]]]}}" class="cu-btn wlIcon margin-right-sm" catchtap="__e"><text class="wlIcon-31dianpu"></text></button><block wx:if="{{item.$orig.isFollow===0}}"><button data-event-opts="{{[['tap',[['handleFollow',[index]]]]]}}" class="cu-btn wlIcon" catchtap="__e"><text class="wlIcon-tianjia"></text></button></block><block wx:else><button data-event-opts="{{[['tap',[['handleFollow',[index]]]]]}}" class="cu-btn radius-bock text-sm" catchtap="__e"><text class="wlIcon-31guanbi margin-right-xs text-bold"></text>取消</button></block></view></view></view></block></view></block><view class="edgeInsetBottom"></view><uni-load-more vue-id="9294430c-2" status="{{status}}" content-text="{{contentText}}" bind:__l="__l"></uni-load-more></view>