1
0

app-user-center-top.wxml 7.0 KB

1
  1. <view class="app-user-center-top cross-center data-v-9c2dff3e" style="{{'background-image:'+('url('+topPicUrl+')')+';'}}"><block wx:if="{{topStyle=='3'}}"><view class="style-3 box-grow-1 main-center data-v-9c2dff3e"><view class="style-3-container dir-left-nowrap cross-center data-v-9c2dff3e" style="{{(userCenter.style_bg_pic_url?'background-image: url('+userCenter.style_bg_pic_url+')':'')}}"><view class="box-grow-0 avatar-container data-v-9c2dff3e"><image class="{{['data-v-9c2dff3e',userInfo.is_vip_card_user&&is_icon_super_vip=='1'?'avatar is_vip':'avatar']}}" src="{{avatar}}"></image><block wx:if="{{userInfo.is_vip_card_user&&is_icon_super_vip=='1'}}"><image class="vip_icon data-v-9c2dff3e" src="/static/image/vip_icon.png"></image></block></view><view class="box-grow-1 info-container data-v-9c2dff3e"><block wx:if="{{isLogin}}"><view class="dir-left-nowrap cross-center data-v-9c2dff3e"><view class="nickname t-omit data-v-9c2dff3e">{{userInfo.nickname}}</view><button class="u-refresh dir-left-nowrap main-between cross-center member-margin data-v-9c2dff3e" open-type="getUserInfo" scope="userInfo" data-event-opts="{{[['getAuthorize',[['getUserInfo',['$event']]]],['getuserinfo',[['getUserInfo',['$event']]]]]}}" bindgetAuthorize="__e" bindgetuserinfo="__e"><icon class="u-icon data-v-9c2dff3e"></icon><text class="data-v-9c2dff3e">刷新</text></button></view><block wx:if="{{mall.setting.is_icon_members_grade==1}}"><app-form-id bind:click="__e" vue-id="4d7839c4-1" data-event-opts="{{[['^click',[['goMember']]]]}}" class="data-v-9c2dff3e" bind:__l="__l" vue-slots="{{['default']}}"><view class="member-info inline-flex cross-center dir-left-nowrap data-v-9c2dff3e"><view class="data-v-9c2dff3e"><image class="member-icon data-v-9c2dff3e" src="{{getMemberPicUrl}}" mode="aspectFill"></image></view><view class="t-omit data-v-9c2dff3e">{{userInfo.identity.level_name}}</view></view></app-form-id></block></block><block wx:else><app-form-id vue-id="4d7839c4-2" class="data-v-9c2dff3e" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['callLogin',['$event']]]]]}}" class="login-btn data-v-9c2dff3e" bindtap="__e">点击登录</view></app-form-id></block></view><view class="box-grow-0 address-container data-v-9c2dff3e"><app-jump-button vue-id="4d7839c4-3" form="{{true}}" url="/pages/address/address" class="data-v-9c2dff3e" bind:__l="__l" vue-slots="{{['default']}}"><view class="address-btn-3 data-v-9c2dff3e"><image class="address-btn-icon data-v-9c2dff3e" src="/static/image/icon/address-gray.png"></image><view class="data-v-9c2dff3e">收货地址</view></view></app-jump-button></view></view></view></block><block wx:else><block wx:if="{{topStyle=='2'}}"><view class="style-2 box-grow-1 data-v-9c2dff3e"><view class="avatar-container data-v-9c2dff3e"><image class="{{['data-v-9c2dff3e',userInfo.is_vip_card_user&&is_icon_super_vip=='1'?'avatar is_vip':'avatar']}}" src="{{avatar}}"></image><block wx:if="{{userInfo.is_vip_card_user&&is_icon_super_vip=='1'}}"><image class="vip_icon data-v-9c2dff3e" src="/static/image/vip_icon.png"></image></block></view><view class="info-container data-v-9c2dff3e"><block wx:if="{{isLogin}}"><block wx:if="{{mall.setting.is_icon_members_grade==1}}"><app-form-id bind:click="__e" vue-id="4d7839c4-4" data-event-opts="{{[['^click',[['goMember']]]]}}" class="data-v-9c2dff3e" bind:__l="__l" vue-slots="{{['default']}}"><view class="member-info inline-flex cross-center dir-left-nowrap data-v-9c2dff3e"><view class="data-v-9c2dff3e"><image class="member-icon data-v-9c2dff3e" src="{{getMemberPicUrl}}" mode="aspectFill"></image></view><view class="t-omit data-v-9c2dff3e">{{userInfo.identity.level_name}}</view></view></app-form-id></block><view class="dir-left-nowrap cross-center main-center data-v-9c2dff3e"><view class="{{['nickname t-omit data-v-9c2dff3e',mall.setting.is_icon_members_grade!=1?'no-member-icon':'']}}">{{''+userInfo.nickname}}</view><button class="{{['u-refresh dir-left-nowrap main-between cross-center data-v-9c2dff3e',mall.setting.is_icon_members_grade!=1?'no-member-icon':'']}}" open-type="getUserInfo" scope="userInfo" data-event-opts="{{[['getAuthorize',[['getUserInfo',['$event']]]],['getuserinfo',[['getUserInfo',['$event']]]]]}}" bindgetAuthorize="__e" bindgetuserinfo="__e"><icon class="u-icon data-v-9c2dff3e"></icon><text class="data-v-9c2dff3e">刷新</text></button></view></block><block wx:else><app-form-id vue-id="4d7839c4-5" class="data-v-9c2dff3e" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['callLogin',['$event']]]]]}}" class="login-btn data-v-9c2dff3e" bindtap="__e">点击登录</view></app-form-id></block></view></view></block><block wx:else><block wx:if="{{topStyle=='1'}}"><view class="style-1 dir-left-nowrap cross-center box-grow-1 data-v-9c2dff3e"><view class="box-grow-0 avatar-container data-v-9c2dff3e"><image class="{{['data-v-9c2dff3e',userInfo.is_vip_card_user&&is_icon_super_vip=='1'?'avatar is_vip':'avatar']}}" src="{{avatar}}"></image><block wx:if="{{userInfo.is_vip_card_user&&is_icon_super_vip=='1'}}"><image class="vip_icon data-v-9c2dff3e" src="/static/image/vip_icon.png"></image></block></view><view class="box-grow-1 info-container data-v-9c2dff3e"><block wx:if="{{isLogin}}"><view class="dir-left-nowrap cross-center data-v-9c2dff3e"><view class="nickname t-omit data-v-9c2dff3e">{{userInfo.nickname}}</view><button class="u-refresh dir-left-nowrap main-between cross-center member-margin data-v-9c2dff3e" open-type="getUserInfo" scope="userInfo" data-event-opts="{{[['getAuthorize',[['getUserInfo',['$event']]]],['getuserinfo',[['getUserInfo',['$event']]]]]}}" bindgetAuthorize="__e" bindgetuserinfo="__e"><icon class="u-icon data-v-9c2dff3e"></icon><text class="data-v-9c2dff3e">刷新</text></button></view><block wx:if="{{mall.setting.is_icon_members_grade==1}}"><app-form-id bind:click="__e" vue-id="4d7839c4-6" data-event-opts="{{[['^click',[['goMember']]]]}}" class="data-v-9c2dff3e" bind:__l="__l" vue-slots="{{['default']}}"><view class="member-info inline-flex cross-center dir-left-nowrap data-v-9c2dff3e"><view class="data-v-9c2dff3e"><image class="member-icon data-v-9c2dff3e" src="{{getMemberPicUrl}}" mode="aspectFill"></image></view><view class="t-omit data-v-9c2dff3e">{{userInfo.identity.level_name}}</view></view></app-form-id></block></block><block wx:else><app-form-id vue-id="4d7839c4-7" class="data-v-9c2dff3e" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['callLogin',['$event']]]]]}}" class="login-btn data-v-9c2dff3e" bindtap="__e">点击登录</view></app-form-id></block></view><view class="box-grow-0 address-container data-v-9c2dff3e"><app-jump-button vue-id="4d7839c4-8" form="{{true}}" url="/pages/address/address" class="data-v-9c2dff3e" bind:__l="__l" vue-slots="{{['default']}}"><view class="address-btn-1 dir-left-nowrap cross-center data-v-9c2dff3e"><view class="data-v-9c2dff3e"><image class="address-btn-icon data-v-9c2dff3e" src="/static/image/icon/address-white.png"></image></view><view class="data-v-9c2dff3e">收货地址</view></view></app-jump-button></view></view></block></block></block></view>