|
@@ -5,10 +5,10 @@
|
|
|
<u-image src="/static/logo.png" width="140" height="140" ></u-image>
|
|
|
</view>
|
|
|
<view class="login-btns">
|
|
|
- <u-button shape="circle" class="login-btn" type="success" :hair-line="false" open-type="getPhoneNumber" @getphonenumber="getPhoneNumber">
|
|
|
+ <u-button shape="circle" :custom-style="wxButton" class="login-btn" type="success" :hair-line="false" open-type="getPhoneNumber" @getphonenumber="getPhoneNumber">
|
|
|
微信登陆
|
|
|
</u-button>
|
|
|
- <u-button shape="circle" class="login-btn" @click="phoneLogin" type="primary">
|
|
|
+ <u-button shape="circle" plain :custom-style="phoneButton" class="login-btn" @click="phoneLogin" type="info">
|
|
|
手机号码登录
|
|
|
</u-button>
|
|
|
</view>
|
|
@@ -27,7 +27,13 @@
|
|
|
return {
|
|
|
path: '/pages/index/index',
|
|
|
lanuch: true,
|
|
|
- code: ''
|
|
|
+ code: '',
|
|
|
+ wxButton: {
|
|
|
+ background: '#07c160'
|
|
|
+ },
|
|
|
+ phoneButton: {
|
|
|
+ background: '#ffffff'
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
onShow() {
|
|
@@ -132,7 +138,7 @@
|
|
|
&:last-child{
|
|
|
font-size: 24upx;
|
|
|
text{
|
|
|
- color: #2979FF;
|
|
|
+ color: #07c160;
|
|
|
}
|
|
|
}
|
|
|
.logo{
|