This commit is contained in:
Wang Kejun 2023-02-17 13:52:38 +08:00
parent a15762f66e
commit 2edf8308e6
4 changed files with 12 additions and 14 deletions

View File

@ -1,4 +1,7 @@
{
"navigationBarTitleText": "登录",
"usingComponents": {}
"oakDisablePulldownRefresh": true,
"usingComponents": {
"l-button": "../../miniprogram_npm/lin-ui/button/index"
}
}

View File

@ -1,4 +1,7 @@
{
"navigationBarTitleText": "登录",
"usingComponents": {}
"oakDisablePulldownRefresh": true,
"usingComponents": {
"l-button": "../../miniprogram_npm/lin-ui/button/index"
}
}

View File

@ -11,7 +11,7 @@
justify-content: center;
align-items: center;
box-sizing: border-box;
background-color: @bg-color-block;
background-color: @oak-bg-color-container;
.safe-area-inset-bottom();
}

View File

@ -1,13 +1,5 @@
<!-- index.wxml -->
<view class="page-body">
<block wx:if="{{mobiles && mobiles.length > 0}}">
<view wx:for="{{mobiles}}" wx:key="index" class="card">
<text>{{item.mobile}}</text>
</view>
</block>
<block wx:else>
<view style="flex:1; display:flex; align-items:center;justify-content:center">尚未授权手机号</view>
</block>
<view style="display: flex; flex: 1"></view>
<t-button theme="primary" style="margin: 16rpx" block size="large" open-type="getPhoneNumber" bindgetphonenumber="onRefreshMobile" content="授权手机号" />
<l-button type="default" shape="semicircle" disabled="{{loading}}" width="320" bind:lintap="loginByWechatMp">
微信授权一键登录
</l-button>
</view>