|
@@ -1,19 +1,21 @@
|
|
|
<template>
|
|
|
<view class="container">
|
|
|
- <view class="container_text">
|
|
|
- <image class="banner-img" src="/static/img/img02.png" mode="scaleToFill"></image>
|
|
|
+ <view class="logo-wrap">
|
|
|
+ <image class="logo" src="" mode=""></image>
|
|
|
+ <view class="name">
|
|
|
+ LOGO
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class="login_text">
|
|
|
<view class="login_input flex">
|
|
|
<view class="login_img">
|
|
|
- <!-- <image src="/static/icon/img03.png" mode="heightFix"></image> -->
|
|
|
- +86
|
|
|
+ <image src="/static/user/phone.png" mode="heightFix"></image>
|
|
|
</view>
|
|
|
<view class="login_name"><input class="uni-input" v-model="phone" type="number" focus placeholder="请输入手机号" /></view>
|
|
|
</view>
|
|
|
<view class="login_input flex">
|
|
|
<view class="login_img">
|
|
|
- <image src="/static/icon/login_pw2.png" mode="heightFix"></image>
|
|
|
+ <image src="/static/user/code.png" mode="heightFix"></image>
|
|
|
</view>
|
|
|
<view class="login_name flex">
|
|
|
<input class="uni-input width" v-model="code" focus placeholder="请输入验证码" />
|
|
@@ -22,14 +24,14 @@
|
|
|
</view>
|
|
|
<view class="login_input flex">
|
|
|
<view class="login_img">
|
|
|
- <image src="/static/icon/login_pw.png" mode="heightFix"></image>
|
|
|
+ <image src="/static/user/pas.png" mode="heightFix"></image>
|
|
|
</view>
|
|
|
<view class="login_name"><input class="uni-input" type="password" v-model="password" focus
|
|
|
placeholder="请输入密码" /></view>
|
|
|
</view>
|
|
|
<view class="login_input flex">
|
|
|
<view class="login_img">
|
|
|
- <image src="/static/icon/login_pw.png" mode="heightFix"></image>
|
|
|
+ <image src="/static/user/pas.png" mode="heightFix"></image>
|
|
|
</view>
|
|
|
<view class="login_name"><input class="uni-input" type="password" v-model="repassword" focus
|
|
|
placeholder="请重复输入密码" /></view>
|
|
@@ -37,13 +39,13 @@
|
|
|
|
|
|
<view class="login_input flex" v-if="isShowIllegality">
|
|
|
<view class="login_img">
|
|
|
- <image src="/static/icon/login_name.png" mode="heightFix"></image>
|
|
|
+ <image src="/static/user/spread.png" mode="heightFix"></image>
|
|
|
</view>
|
|
|
<view class="login_name"><input class="uni-input" type="text" v-model="invitation" focus
|
|
|
placeholder="请输入邀请码" /></view>
|
|
|
</view>
|
|
|
<view><button type="green" @click="register" class="uni-button uni-button-green">注册账号</button></view>
|
|
|
- <view><button class="uni-button uni-button-green uni-button-green-plain" type="green" plain="true"
|
|
|
+ <view><button class="uni-button uni-button-green-plain" type="green" plain="true"
|
|
|
hover-class="none" @click="login">返回登录</button></view>
|
|
|
</view>
|
|
|
<codeImage @openCode='getCode' loginType="register" @close='showAlert=false' :phone="phone" ref="alertImage" :show='showAlert'></codeImage>
|
|
@@ -192,7 +194,8 @@
|
|
|
.container {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- background-size: 100%;
|
|
|
+ background-image: url('../../static/user/login-bg.png');
|
|
|
+ background-size: 100% 100%;
|
|
|
}
|
|
|
|
|
|
.container_text {
|
|
@@ -210,16 +213,10 @@
|
|
|
.login_text {
|
|
|
margin: -100rpx 0 0;
|
|
|
position: relative;
|
|
|
- padding: 100rpx 102rpx;
|
|
|
- background-color: #ffffff;
|
|
|
- border-top-left-radius: 40rpx;
|
|
|
- border-top-right-radius: 40rpx;
|
|
|
-
|
|
|
+ padding: 100rpx 72rpx;
|
|
|
.login_input {
|
|
|
- border: 1px solid #f0f0f0;
|
|
|
- padding: 20rpx;
|
|
|
- border-radius: 99rpx;
|
|
|
- margin-bottom: 40rpx;
|
|
|
+ border-bottom: 1px solid #fff;
|
|
|
+ padding: 30rpx 20rpx 20rpx;
|
|
|
.login_img{
|
|
|
text-align: center;
|
|
|
flex-shrink: 0;
|
|
@@ -239,7 +236,7 @@
|
|
|
}
|
|
|
|
|
|
.login_name {
|
|
|
- color: #333333;
|
|
|
+ color: #fff;
|
|
|
flex-grow: 1;
|
|
|
}
|
|
|
}
|
|
@@ -284,18 +281,20 @@
|
|
|
}
|
|
|
|
|
|
.uni-button-green {
|
|
|
- color: #ffffff;
|
|
|
- background-color: #db292b;
|
|
|
- margin: 40rpx 10rpx;
|
|
|
- border-radius: 50rpx;
|
|
|
+ width: 100%;
|
|
|
+ background: #FFFFFF;
|
|
|
+ border-radius: 10rpx;
|
|
|
+ color:#222222;
|
|
|
+ margin: 40rpx auto;
|
|
|
}
|
|
|
|
|
|
.uni-button-green-plain {
|
|
|
- border: 1px solid #db292b;
|
|
|
- margin: 40rpx 10rpx;
|
|
|
- border-radius: 50rpx;
|
|
|
- color: #db292b;
|
|
|
- background-color: #ffffff;
|
|
|
+ width: 100%;
|
|
|
+ border: 1px solid #fff;
|
|
|
+ margin: 40rpx auto;
|
|
|
+ border-radius: 10rpx;
|
|
|
+ color: #fff;
|
|
|
+ // background-color: #ffffff;
|
|
|
}
|
|
|
|
|
|
.uni-button {
|
|
@@ -317,7 +316,7 @@
|
|
|
}
|
|
|
|
|
|
.code {
|
|
|
- color: #db292b;
|
|
|
+ color: #fff;
|
|
|
font-size: 23rpx;
|
|
|
border-left: 1px solid #eeeeee;
|
|
|
width: 150rpx;
|
|
@@ -329,4 +328,24 @@
|
|
|
height: 80rpx !important;
|
|
|
line-height: 80rpx !important;
|
|
|
}
|
|
|
+ .logo-wrap {
|
|
|
+ padding: 210rpx 0 150rpx;
|
|
|
+ .logo {
|
|
|
+ display: block;
|
|
|
+ width: 160rpx;
|
|
|
+ height: 160rpx;
|
|
|
+ border-radius: 50%;
|
|
|
+ background-color: #fff;
|
|
|
+ margin: auto;
|
|
|
+ }
|
|
|
+ .name {
|
|
|
+ width: 100rpx;
|
|
|
+ height: 28rpx;
|
|
|
+ font-size: 36rpx;
|
|
|
+ color: #FFFFFF;
|
|
|
+ text-align: center;
|
|
|
+ width: 100%;
|
|
|
+ padding-top: 20rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
</style>
|