|
@@ -1,11 +1,11 @@
|
|
|
<template>
|
|
|
- <view class="flex container">
|
|
|
+ <view class="container">
|
|
|
<u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" title="微信授权"></u-navbar>
|
|
|
- <view class="login">
|
|
|
+ <view class="flex login">
|
|
|
<view class="flex login-image">
|
|
|
<image src="../../static/logo.png" mode=""></image>
|
|
|
+ <view class="login-image-txt">盲票</view>
|
|
|
</view>
|
|
|
- <view class="login-txt">盲票</view>
|
|
|
<view class="login-txt">盲票将为您提供</view>
|
|
|
<view class="login-title">商品兑换、盲票购买等服务 请先完成授权登录</view>
|
|
|
<view class="login-btn">
|
|
@@ -43,7 +43,7 @@
|
|
|
uni.setStorageSync('token', res.token)
|
|
|
this.getBaseInfo()
|
|
|
}
|
|
|
- }).catch(()=>{
|
|
|
+ }).catch(() => {
|
|
|
uni.hideLoading();
|
|
|
})
|
|
|
},
|
|
@@ -74,7 +74,7 @@
|
|
|
this.authShow = true
|
|
|
}
|
|
|
}
|
|
|
- }).catch(()=>{
|
|
|
+ }).catch(() => {
|
|
|
uni.hideLoading();
|
|
|
})
|
|
|
},
|
|
@@ -86,17 +86,30 @@
|
|
|
.container {
|
|
|
height: 100vh;
|
|
|
width: 100%;
|
|
|
- flex-direction: column;
|
|
|
}
|
|
|
|
|
|
.login {
|
|
|
+ flex-direction: column;
|
|
|
+
|
|
|
&-image {
|
|
|
+ flex-direction: column;
|
|
|
+ padding: 100rpx 0 200rpx;
|
|
|
+
|
|
|
image {
|
|
|
width: 164rpx;
|
|
|
height: 164rpx;
|
|
|
border-radius: 10rpx;
|
|
|
margin-bottom: 14rpx;
|
|
|
}
|
|
|
+
|
|
|
+ &-txt {
|
|
|
+ text-align: center;
|
|
|
+ line-height: 40rpx;
|
|
|
+ font-weight: bold;
|
|
|
+ margin-bottom: 20rpx;
|
|
|
+ font-size: 36rpx;
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
&-txt {
|
|
@@ -115,10 +128,10 @@
|
|
|
|
|
|
&-btn {
|
|
|
button {
|
|
|
- width: 570rpx;
|
|
|
- height: 60rpx;
|
|
|
- line-height: 60rpx;
|
|
|
- border-radius: 30rpx;
|
|
|
+ width: 600rpx;
|
|
|
+ height: 80rpx;
|
|
|
+ line-height: 80rpx;
|
|
|
+ border-radius: 40rpx;
|
|
|
background-color: rgba(235, 112, 9, 100);
|
|
|
color: rgba(255, 255, 255, 100);
|
|
|
text-align: center;
|