Browse Source

修改注册页面

master
453530270@qq.com 3 years ago
parent
commit
9b8ab81603
  1. 7
      pages/login/components/main.vue
  2. 53
      pages/reg/reg.vue

7
pages/login/components/main.vue

@ -318,16 +318,17 @@
} }
// //
.fdreg{ .fdreg{
display: flex; display: flex;
margin-top: 26rpx; margin-top: 26rpx;
line-height: 1.4; line-height: 1.4;
min-height: 26rpx;
color:#ff0000; color:#ff0000;
padding-left: 32rpx; padding-left: 32rpx;
padding-right: 32rpx; padding-right: 32rpx;
text{ text{
// display: block; display: block;
display: flex; // display: flex;
float: left; float: left;
width: 46%; width: 46%;
line-height: 1.4; line-height: 1.4;

53
pages/reg/reg.vue

@ -4,7 +4,7 @@
<!-- 页面头部 --> <!-- 页面头部 -->
<view class="header"> <view class="header">
<view class="title"> <view class="title">
<text>登录</text> <text>注册</text>
</view> </view>
</view> </view>
<!-- 表单 --> <!-- 表单 -->
@ -28,16 +28,6 @@
</view> </view>
</radio-group> </radio-group>
<!-- 登录按钮 -->
<view class="login-button" @click="handleLogin">
<text>登录</text>
</view>
</view>
<!-- 找回密码 注册 -->
<view class="fdreg">
<text class="findpass">找回密码</text>
<text class="regnow">立即注册</text>
</view>
<!-- 隐私政策等 --> <!-- 隐私政策等 -->
<div class="privacy"> <div class="privacy">
<label> <label>
@ -45,6 +35,17 @@
我已阅读并同意网站的 隐私政策 用户注册协议 我已阅读并同意网站的 隐私政策 用户注册协议
</label> </label>
</div> </div>
<!-- 登录按钮 -->
<view class="login-button" @click="handleLogin">
<text>注册</text>
</view>
</view>
<!-- 找回密码 注册 -->
<view class="regtips">
<view>已拥有账户?<a class="loginnow" @click="gologin">登录</a></view>
</view>
</view> </view>
@ -209,7 +210,11 @@
} else { } else {
this.$navTo('pages/index/index') this.$navTo('pages/index/index')
} }
} },
gologin(){
this.$navTo("pages/login/index")
},
} }
} }
@ -287,32 +292,28 @@
color: #fff; color: #fff;
// border-radius: 80rpx; // border-radius: 80rpx;
box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1); box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
letter-spacing: 5rpx; letter-spacing: 15rpx;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
// //
.fdreg{ .regtips{
display: flex; display: flex;
margin-top: 26rpx; margin-top: 26rpx;
line-height: 1.4; line-height: 1.4;
color:#ff0000;
padding-left: 32rpx;
padding-right: 32rpx; padding-right: 32rpx;
text{ .loginnow{
display: block; color: #5299dc;
float: left;
width: 46%; &:hover{
color: #a60000;
}
} }
.findpass{
text-align: left;
}
.regnow{
text-align: right;
}
} }
.privacy{ .privacy{

Loading…
Cancel
Save