mirror of
https://github.com/weilanwl/coloruicss.git
synced 2026-03-09 16:44:01 +08:00
20 lines
827 B
Plaintext
20 lines
827 B
Plaintext
<custom style="height:{{CustomBar}}px;">
|
|
<bar class="fixed gradual-blue" style="height:{{CustomBar}}px;padding-top:{{StatusBar}}px;">
|
|
<view class='content'>ColorUI 空白模板</view>
|
|
</bar>
|
|
</custom>
|
|
<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='round bg-green shadow'> 获取头像昵称 </button>
|
|
<block wx:else>
|
|
<view class='text-center'>
|
|
<avatar class="xl round solids" style="background-image:url({{userInfo.avatarUrl}})"></avatar>
|
|
<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> |