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
10 KiB

4 months ago
<view class="wanlgroups-user-container"><view class="wanlgroups-user-container__head" style="{{'height:'+(headHeight+'px')+';'}}"><block wx:if="{{headerOpacity>0}}"><view class="background" style="{{'height:'+(headHeight+'px')+';'+('opacity:'+(headerOpacity)+';')+('background-color:'+(userData.color)+';')}}"><view class="bgcolor"></view></view></block><view class="navigater text-white" style="{{'height:'+(headHeight+'px')+';'+('padding-top:'+(headTop+'px')+';')}}"><view class="text-xl"><view class="margin-right"><text data-event-opts="{{[['tap',[['handleBack',['$event']]]]]}}" class="wlIcon-fanhui1 text-bold" bindtap="__e"></text></view><view class="text-cut" style="width:100rpx;"><block wx:if="{{headerOpacity>0}}"><text class="text-lg" style="{{'opacity:'+(headerOpacity)+';'}}">{{''+userData.user.nickname+''}}</text></block></view></view><view class="text-xl"><block wx:if="{{headerOpacity>0&&!isMyfind&&userData.isFollow===0}}"><text data-event-opts="{{[['tap',[['handleFollow',['$0'],['userData.shop']]]]]}}" class="margin-right text-sm" style="{{'opacity:'+(headerOpacity)+';'}}" bindtap="__e">+ 关注</text></block><text data-event-opts="{{[['tap',[['showModal',['share']]]]]}}" class="wlIcon-fenxiangcopy margin-right-xl text-bold" bindtap="__e"></text><text data-event-opts="{{[['tap',[['showModal',['menu']]]]]}}" class="wlIcon-gengduo text-bold" bindtap="__e"></text></view></view></view><view class="wanlgroups-user-container__main" style="{{'background-color:'+(userData.color)+';'+('background-image:'+('url('+$root.g0+')')+';')}}"><view data-event-opts="{{[['tap',[['handleTheme',['$event']]]]]}}" class="head text-white" style="{{'padding-top:'+(headHeight+'px')+';'}}" bindtap="__e"><view class="userinfo"><view class="cu-avatar margin-right-bj round" style="{{'background-image:'+('url('+$root.g1+')')+';'}}"></view><view><view class="text-xl margin-bottom-xs">{{userData.user.nickname}}</view><view class="text-xs text-white-agba"><text>账户号:</text><text>{{userData.user_no}}</text><text data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="wlIcon-fuzhi margin-left-sm" catchtap="__e"></text></view></view></view><view class="margin-top-xl text-sm"><text>{{userData.user.bio||'他/她未留下任何个性签名'}}</text><block wx:if="{{isMyfind}}"><text data-event-opts="{{[['tap',[['handleUserEdit',['$event']]]]]}}" class="wlIcon-jifen margin-left-xs" catchtap="__e"></text></block></view><view class="findinfo margin-top"><view class="quantity"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="project" catchtap="__e"><view class="text-lg">{{''+$root.g2+''}}</view><view class="text-xs text-white-agba">关注</view></view><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="project" catchtap="__e"><view class="text-lg">{{''+$root.g3+''}}</view><view class="text-xs text-white-agba">粉丝</view></view><view data-event-opts="{{[['tap',[['showModal',['praised']]]]]}}" class="project" catchtap="__e"><view class="text-lg">{{''+$root.g4+''}}</view><view class="text-xs text-white-agba">获赞</view></view></view><view><block wx:if="{{isMyfind}}"><button data-event-opts="{{[['tap',[['handleUserEdit',['$event']]]]]}}" class="cu-btn round line-white" catchtap="__e">编辑资料</button></block><block wx:else><block><block wx:if="{{loadingFollow}}"><block><block wx:if="{{userData.isFollow===0}}"><button class="cu-btn round line-white"><text class="wlIcon-jiazai1 wlIconfont-spin margin-right-xs"></text>关注中..</button></block><block wx:else><button class="cu-btn round line-white"><text class="wlIcon-jiazai1 wlIconfont-spin margin-right-xs"></text>取消中..</button></block></block></block><block wx:else><block><block wx:if="{{userData.isFollow===0}}"><button data-event-opts="{{[['tap',[['handleFollow',['$0'],['userData.shop']]]]]}}" class="cu-btn round line-white" catchtap="__e"><text class="wlIcon-tianjia margin-right-xs"></text>关注</button></block><block wx:else><button data-event-opts="{{[['tap',[['handleFollow',['$0'],['userData.shop']]]]]}}" class="cu-btn round line-white" catchtap="__e">已