feat: 注册账号添加获取验证码

This commit is contained in:
2026-06-04 15:59:35 +08:00
parent 9ad7d6791c
commit c305aa60b0
2 changed files with 20 additions and 8 deletions
+4 -4
View File
@@ -10,7 +10,7 @@
<view class="font-Heavy size52 c1">Hello!</view>
<view class="font-Heavy size52 c1">欢迎使用优购商城</view>
</view>
<view class=" bottomCon">
<view class="bottomCon">
<view class="login_bottom">
<view class="size40 f500 title">{{ dataObj.con[type].title }}</view>
<view class="form">
@@ -115,8 +115,7 @@
},
3: {
title: '用户注册',
arr: [1, 4, 5],
// arr: [1, 2, 4, 5],
arr: [1, 2, 4, 5],
text: '已有账号,',
btn1: 4,
btn2: 3,
@@ -346,6 +345,7 @@
.login {
position: relative;
min-height: 100vh;
padding-bottom: 200rpx;
.login_top_img {
position: absolute;
z-index: 1;
@@ -373,7 +373,7 @@
background-color: #ffffff;
border-radius: 40rpx;
position: absolute;
top:220rpx;
top: 220rpx;
left: 5%;
box-sizing: border-box;
overflow: hidden;
+16 -4
View File
@@ -202,10 +202,16 @@
});
const bgMain = computed(() => {
const bgColor = props.bgStyle.backgroundColor || props.bgStyle.color;
const bgImg = props.bgStyle.backgroundImage
? `url(${sheep.$url.cdn(props.bgStyle.backgroundImage)})`
: 'none';
return {
background: `${props.bgStyle.backgroundColor || props.bgStyle.color} url(${sheep.$url.cdn(
props.bgStyle.backgroundImage,
)}) no-repeat top center / 100% auto`,
backgroundColor: bgColor,
backgroundImage: bgImg,
backgroundRepeat: 'no-repeat',
backgroundPosition: 'top center',
backgroundSize: '100% auto',
};
});
@@ -291,9 +297,15 @@
}
.page-app {
min-height: 100vh;
display: flex;
flex-direction: column;
.page-main {
flex: 1;
display: flex;
flex-direction: column;
.pageCon {
// min-height: 100vh;
flex: 1;
box-sizing: border-box;
}
}