样式修改,首次进入小程序逻辑修改
|
After Width: | Height: | Size: 270 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 274 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
@ -0,0 +1,8 @@
|
||||
.main {
|
||||
display: flex;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
.main {
|
||||
display: flex;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
@ -1,139 +0,0 @@
|
||||
/* pages/userInfo/userInfo.wxss */
|
||||
page {
|
||||
background: #f3f3f3;
|
||||
}
|
||||
.nav {
|
||||
position: fixed;
|
||||
z-index: 99;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
}
|
||||
.nav .logo {
|
||||
width: 223rpx;
|
||||
}
|
||||
.nav .nav_box {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0 32rpx;
|
||||
}
|
||||
.main {
|
||||
text-align: center;
|
||||
padding-bottom: 153rpx;
|
||||
}
|
||||
.main .title {
|
||||
font-size: 48rpx;
|
||||
font-weight: 500;
|
||||
color: #000;
|
||||
margin: 73rpx auto 48rpx;
|
||||
}
|
||||
.main .txt {
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
color: #666;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
.main .avatar_box {
|
||||
position: relative;
|
||||
width: max-content;
|
||||
margin: 78rpx auto 59rpx;
|
||||
}
|
||||
.main .avatar_box .avatar {
|
||||
width: 147rpx;
|
||||
height: 147rpx;
|
||||
border-radius: 50%;
|
||||
margin: 0 auto 13rpx;
|
||||
}
|
||||
.main .avatar_box .btn_avatar {
|
||||
background: transparent;
|
||||
}
|
||||
/* 去掉背景色和内外边距 */
|
||||
button {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: inherit;
|
||||
position: static;
|
||||
}
|
||||
button:after {
|
||||
content: none;
|
||||
}
|
||||
/* 去掉边框 */
|
||||
button::after {
|
||||
border: none;
|
||||
}
|
||||
.main .avatar_box .btn_avatar::after {
|
||||
border: none;
|
||||
background: transparent;
|
||||
}
|
||||
.form {
|
||||
width: 690rpx;
|
||||
text-align: left;
|
||||
margin: 0 30rpx 0;
|
||||
}
|
||||
.form .form_item {
|
||||
position: relative;
|
||||
margin-bottom: 35rpx;
|
||||
}
|
||||
.form_item .arrow {
|
||||
position: absolute;
|
||||
bottom: 30rpx;
|
||||
right: 51rpx;
|
||||
width: 30rpx;
|
||||
height: 20rpx;
|
||||
}
|
||||
.form .form_item .label {
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #030000;
|
||||
margin-bottom: 28rpx;
|
||||
}
|
||||
.form .form_item .label::after {
|
||||
content: "*";
|
||||
color: #eb5858;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
.form .form_item .ipt {
|
||||
width: 100%;
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
background: #ffffff;
|
||||
border: 1px solid #dddddd;
|
||||
border-radius: 3rpx;
|
||||
padding-left: 28rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
z-index: 99;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
width: 100%;
|
||||
height: 153rpx;
|
||||
background: #ffffff;
|
||||
box-shadow: 0rpx -3rpx 7rpx 1rpx rgba(173, 191, 207, 0.21);
|
||||
}
|
||||
.btn {
|
||||
width: 540rpx;
|
||||
height: 90rpx;
|
||||
background: #000;
|
||||
border-radius: 45rpx;
|
||||
color: #fff;
|
||||
line-height: 90rpx;
|
||||
text-align: center;
|
||||
margin: 21rpx 49rpx 42rpx 30rpx;
|
||||
}
|
||||
.text {
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
color: #000;
|
||||
}
|
||||
.btn-disable {
|
||||
background-color: #ccc !important;
|
||||
/* 设置按钮背景颜色为灰色 */
|
||||
color: #fff !important;
|
||||
/* 设置按钮文字颜色为白色 */
|
||||
border-color: #ccc !important;
|
||||
/* 设置按钮边框颜色为灰色 */
|
||||
}
|
||||