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.

18 lines
923 B

5 months ago
<view class="my">
<view class="userinfo" style="background-image: url({{skin}})">
<view class="user-skin" bindtap="viewSkin"></view>
<button class="userbutton" wx:if="{{!hasUserInfo && canIUse}}" open-type="getUserInfo" bindgetuserinfo="getUserInfo"> 获取头像昵称 </button>
<block wx:else>
<image bindtap="bindViewTap" class="userinfo-avatar" src="{{userInfo.avatarUrl}}" mode="cover"></image>
<text class="userinfo-nickname">{{userInfo.nickName}}</text>
</block>
</view>
<view class="grids">
<block wx:for="{{gridList}}" wx:for-item="gridItem" wx:for-index="gridIndex" wx:key="grid">
<view class="grid" bindtap="viewGridDetail" data-url="{{gridItem.enName}}">
<view class="grid-icon grid-icon-{{gridItem.enName}}"></view>
<view class="grid-title">{{gridItem.zhName}}</view>
</view>
</block>
</view>
</view>