登陆按钮样式遗漏补充

This commit is contained in:
chenbo 2021-04-21 16:19:27 +08:00
parent 1929fc9c7d
commit de2c4d6fbc
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<view class="container">
<view class="login-box">
<button wx:if="{{canIUseGetUserProfile}}" class="wx-login-btn" bindtap="getUserProfile">微信直接登录</button>
<button wx:else open-type="getUserInfo" class="wx-login-btn" bindgetuserinfo="wxLogin">微信直接登录</button>
<button wx:if="{{canIUseGetUserProfile}}" type="primary" class="wx-login-btn" bindtap="getUserProfile">微信直接登录</button>
<button wx:else open-type="getUserInfo" type="primary" class="wx-login-btn" bindgetuserinfo="wxLogin">微信直接登录</button>
<button type="primary" class="account-login-btn" bindtap="accountLogin">账号登录</button>
</view>
</view>