|
|
@ -2,17 +2,34 @@ |
|
|
|
<!-- 登录 --> |
|
|
|
<view class="container flex-items-plus flex-column"> |
|
|
|
<global-loading /> |
|
|
|
<view class="login-logoBox"> |
|
|
|
<!-- <view class="login-logoBox"> |
|
|
|
<image |
|
|
|
class="login-logo" |
|
|
|
src="https://wechat.hnthee.com/ceres-local-file/image/logo_wechat.png" |
|
|
|
></image> |
|
|
|
</view>--> |
|
|
|
<view |
|
|
|
class="login-title" |
|
|
|
:style="{'top': topHeight + 'px'}" |
|
|
|
> |
|
|
|
<view class="login-top-info"> |
|
|
|
<view class="backBox"> |
|
|
|
<image |
|
|
|
src="@/static/images/temp/title_black_back.png" |
|
|
|
class="back" |
|
|
|
@click="back" |
|
|
|
></image> |
|
|
|
</view> |
|
|
|
<view class="fs32 font-color-252744">{{$t('page.login')}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<image class="login-top" src="@/static/images/temp/login_top.png"/> |
|
|
|
<image class="login-bottom" src="@/static/images/temp/login_bottom.png"/> |
|
|
|
<view class="iphoneNum-box flex-row-plus flex-items"> |
|
|
|
<view style="margin-right: 30rpx"> |
|
|
|
<image |
|
|
|
class="loginIcon" |
|
|
|
src="https://ceres.zkthink.com/static/images/phone.png" |
|
|
|
src="@/static/images/temp/login_phone_label.png" |
|
|
|
></image> |
|
|
|
</view> |
|
|
|
<view> |
|
|
@ -30,7 +47,7 @@ |
|
|
|
<view style="margin-right: 30rpx"> |
|
|
|
<image |
|
|
|
class="loginIcon" |
|
|
|
src="https://ceres.zkthink.com/static/images/code.png" |
|
|
|
src="@/static/images/temp/login_psd_label.png" |
|
|
|
></image> |
|
|
|
</view> |
|
|
|
<view> |
|
|
@ -81,11 +98,20 @@ export default { |
|
|
|
inviteSpell: {}, |
|
|
|
inviteSpelltype: false, |
|
|
|
beforePage: undefined, |
|
|
|
doubleBeforePage: undefined |
|
|
|
doubleBeforePage: undefined, |
|
|
|
topHeight: 10, |
|
|
|
} |
|
|
|
}, |
|
|
|
mixins: [sendVerifyCode], |
|
|
|
onLoad(options) { |
|
|
|
// #ifdef MP-WEIXIN || MP-BAIDU || MP-TOUTIAO || MP-QQ |
|
|
|
let menuButtonInfo = uni.getMenuButtonBoundingClientRect() |
|
|
|
this.topHeight = menuButtonInfo.top |
|
|
|
// #endif |
|
|
|
// #ifdef APP |
|
|
|
this.topHeight = 50 |
|
|
|
// #endif |
|
|
|
|
|
|
|
if (options.inviteSpell == 1) { |
|
|
|
this.inviteSpelltype = true |
|
|
|
this.inviteSpell = uni.getStorageSync('inviteSpell'); |
|
|
@ -252,6 +278,11 @@ export default { |
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
// 返回上一级 |
|
|
|
back() { |
|
|
|
uni.navigateBack() |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -281,8 +312,9 @@ export default { |
|
|
|
border-radius: 50rpx; |
|
|
|
|
|
|
|
.loginIcon { |
|
|
|
width: 32rpx; |
|
|
|
height: 42rpx; |
|
|
|
width: 44rpx; |
|
|
|
height: 44rpx; |
|
|
|
margin-top: 10rpx; |
|
|
|
margin-left: 47rpx; |
|
|
|
} |
|
|
|
|
|
|
@ -304,8 +336,9 @@ export default { |
|
|
|
align-items: center; |
|
|
|
|
|
|
|
.loginIcon { |
|
|
|
width: 39rpx; |
|
|
|
width: 44rpx; |
|
|
|
height: 44rpx; |
|
|
|
margin-top: 10rpx; |
|
|
|
margin-left: 47rpx; |
|
|
|
} |
|
|
|
|
|
|
@ -343,4 +376,49 @@ export default { |
|
|
|
font-size: 32rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.login-title { |
|
|
|
width: 100%; |
|
|
|
position: fixed; |
|
|
|
z-index: 99; |
|
|
|
left: 0; |
|
|
|
|
|
|
|
.login-top-info { |
|
|
|
position: relative; |
|
|
|
width: 100%; |
|
|
|
height: 60rpx; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
justify-content: center; |
|
|
|
} |
|
|
|
|
|
|
|
.backBox { |
|
|
|
position: absolute; |
|
|
|
left: 10rpx; |
|
|
|
top: 0rpx; |
|
|
|
|
|
|
|
.back { |
|
|
|
width: 20rpx; |
|
|
|
height: 34rpx; |
|
|
|
padding: 15rpx 10rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.login-top{ |
|
|
|
width: 325rpx; |
|
|
|
height: 263rpx; |
|
|
|
position: fixed; |
|
|
|
top: 0; |
|
|
|
right: 0; |
|
|
|
} |
|
|
|
|
|
|
|
.login-bottom{ |
|
|
|
width: 646rpx; |
|
|
|
height: 376rpx; |
|
|
|
position: fixed; |
|
|
|
bottom: 0; |
|
|
|
left: 0; |
|
|
|
} |
|
|
|
|
|
|
|
</style> |