This commit is contained in:
haomingming
2023-03-24 15:29:41 +08:00
parent 12e4984a95
commit 69df3bf6b3
46 changed files with 300 additions and 197 deletions
+2 -2
View File
@@ -216,9 +216,9 @@ Component({
})
}).then(()=>{
let index = this.data.zhuanchang_columns.findIndex(item => {
return item.is_selected == 1
return item.is_selected == 1;
})
if(index) {
if(index != undefined) {
this.setData({
zhuanchang_note: ""
})
+1 -1
View File
@@ -1,4 +1,4 @@
<view class="photo" style="border-bottom: {{avatar_reason==''?'1px solid var(--td-cell-border-color, var(--td-gray-color-3, #e7e7e7));':'unset'}}">
<view class="{{avatar_reason!=''?'photo':'photo_reason'}}">
<view class="title">头像 <text class="required"> *</text></view>
<van-uploader disabled="{{ indentity && iden_auth_disabled }}" bind:after-read="doUploadPhoto" data-scene="1" data-field_name="avatar" data-file_multiple="false">
<view class="right">
+51 -42
View File
@@ -9,6 +9,31 @@
font-weight: 400;
align-items: center;
}
.photo_reason{
position: relative;
padding: 32rpx 32rpx 32rpx 0;
margin-left: 32rpx;
display: flex;
justify-content: space-between;
font-size: 32rpx;
font-weight: 400;
align-items: center;
}
.photo_reason::after{
position: absolute;
box-sizing: border-box;
content: ' ';
pointer-events: none;
right: 0;
bottom: 0;
border-bottom: 1px solid var(--td-cell-border-color, var(--td-gray-color-3, #e7e7e7));
transform: scaleY(0.5);
left: 0rpx;
}
.required{
color: #e34d59;
}
.title{
font-size: 30rpx;
@@ -65,14 +90,14 @@
margin: 20rpx 10rpx 20rpx 0;
font-size: 28rpx;
}
.t-radio__icon--checked {
color: #49B9AD !important;
}
.t-tabs__item--active{
color: #49B9AD !important;
}
.t-tabs__track{
background-color: var(--td-tab-track-color, var(--td-primary-color, #49B9AD)) !important;
background-color: #49B9AD !important;
}
.t-icon-check{
color: #49B9AD !important;
}
.t-cell__note {
font-size: 25rpx !important;
@@ -96,7 +121,7 @@
}
.bottom_next{
width: 95vw;
margin: 530rpx auto;
margin: 530rpx auto 0 auto;
}
.sub_button{
width: 95vw;
@@ -120,6 +145,7 @@
height: 300rpx;
background-color: cadetblue;
}
.zhuanchang_box{
display: flex;
flex-wrap: wrap;
@@ -174,41 +200,6 @@
.zhuanchang_btn--confirm {
color: #3cc7c0;
}
.error_box{
position: relative;
display: flex;
background-color: #FEF1F1;
width: calc(95vw - 64rpx);
height: 100rpx;
margin: 30rpx auto 0 auto;
align-items: center;
padding-left: 32rpx;
border-radius: 10rpx;
}
.error_box::after{
border-radius: 5rpx;
position: absolute;
width: 0px;
height: 0px;
border-width: 16rpx;
border-style: solid;
border-color: transparent transparent #FEF1F1 transparent;
content: ' ';
left: 50rpx;
top: -30rpx;
}
.error_msg{
position: relative;
margin-left: 10rpx;
color: #FF0000;
letter-spacing: 3rpx;
font-weight: 600;
}
.has_error{
margin-left: 32rpx;
padding-bottom: 20rpx;
border-bottom: 1rpx solid #e7e7e7;
}
.van-picker__columns {
height: 264px !important;
top: 40px !important;
@@ -217,6 +208,24 @@
top: -270px !important;
position: relative !important;
}
.custom_keshi_error{
display: none;
.van-picker__confirm{
color: #3cc7c0 !important;
}
.van-cell:after {
border-bottom: 1px solid var(--td-cell-border-color, var(--td-gray-color-3, #e7e7e7));
bottom: 0;
box-sizing: border-box;
content: " ";
pointer-events: none;
position: absolute;
width: calc(100vw - 32rpx);
transform: scaleY(.5);
transform-origin: center;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: var(--td-cell-border-color, var(--td-gray-color-3, #e7e7e7));
}
.van-cell {
padding: 32rpx !important;
}