Files
coloruicss/template/pages/index/index.wxml
Weilanwl dfaf72761b v2.0.6
2019-02-09 16:59:24 +08:00

20 lines
866 B
Plaintext

<view class='cu-custom' style="height:{{CustomBar}}px;">
<view class="cu-bar fixed bg-gradual-blue" style="height:{{CustomBar}}px;padding-top:{{StatusBar}}px;">
<view class='content'>ColorUI 空白模板</view>
</view>
</view>
<view class="margin-xl padding-xl bg-white radius shadow-lg">
<view class="flex justify-center">
<button wx:if="{{!hasUserInfo && canIUse}}" open-type="getUserInfo" bindgetuserinfo="getUserInfo" class='cu-btn round bg-green shadow'> 获取头像昵称 </button>
<block wx:else>
<view class='text-center'>
<view class="cu-avatar xl round solids" style="background-image:url({{userInfo.avatarUrl}})"></view>
<view class="padding">{{userInfo.nickName}}</view>
</view>
</block>
</view>
</view>
<view class="text-center margin-top">
<text class="text-grey text-xl">{{motto}}</text>
</view>