优化
This commit is contained in:
@@ -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,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">
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
@@ -3,11 +3,11 @@
|
||||
<view class="textarea-cell-name">{{ textarea_cell_name }}<text wx:if="{{ required }}" class="required"> *</text></view>
|
||||
<view class="textarea-cell-note t-cell__note" bindtap="onshowNote">
|
||||
<view><t-icon name="{{ t_icon_name }}" size="{{ t_icon_size}}" data-name="{{ t_icon_name }}" /></view>
|
||||
<text>{{ textarea_cell_note }}</text>
|
||||
<text style="font-size: 28rpx;">{{ textarea_cell_note }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="textarea-cell-content">
|
||||
<textarea disabled="{{disabled}}" bindblur="bindTextAreaBlur" maxlength="1000" style="margin: 32rpx 32rpx 0 32rpx; width: 100%; height: 90%; background-color: #FAFAFA;" name="" id="" placeholder="{{ textarea_cell_content_placeholder }}" value="{{textarea_val}}"></textarea>
|
||||
<textarea disabled="{{disabled}}" bindblur="bindTextAreaBlur" maxlength="1000" style="margin: 20rpx 20rpx 0 20rpx; width: 100%; height: 90%; background-color: #FAFAFA;" name="" id="" placeholder="{{ textarea_cell_content_placeholder }}" value="{{textarea_val}}"></textarea>
|
||||
</view>
|
||||
<view class="error_box" wx:if="{{ has_error_content != '' }}" >
|
||||
<t-icon color="red" name="close-circle-filled" size="48rpx" data-name="close-circle-filled" />
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
.textarea-cell-content{
|
||||
background-color: #FAFAFA;
|
||||
width: 95%;
|
||||
height: 500rpx;
|
||||
height: 310rpx;
|
||||
display: flex;
|
||||
margin: 30rpx auto 0 auto;
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<view class="upload-cell-name">{{ upload_cell_name }}<text wx:if="{{ required }}" class="required"> *</text></view>
|
||||
<view class="upload-cell-note t-cell__note" bindtap="onshowNote" wx:if="{{upload_cell_note != ''}}">
|
||||
<view><t-icon name="{{ t_icon_name }}" size="{{ t_icon_size}}" data-name="{{ t_icon_name }}" /></view>
|
||||
<text>{{ upload_cell_note }}</text>
|
||||
<text style="font-size: 28rpx;">{{ upload_cell_note }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="upload-cell-desc">
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
.upload-cell-desc{
|
||||
color: #999999;
|
||||
margin: 20rpx 0;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.error_box{
|
||||
position: relative;
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
<view class="content_3">
|
||||
<view class="status {{ status_class }}">{{ status_text }}</view>
|
||||
<view class="btn" wx:if="{{ status == 3 }}">
|
||||
<van-button bind:click="go" data-url="/Pages/yishi/case/index?order_inquiry_id={{order_inquiry_id}}" plain custom-style="width:200rpx; border-radius: 10rpx;" color="#3CC7C0">查看病历</van-button>
|
||||
<van-button type="default" bindtap="tabShow" custom-style="width:200rpx; border-radius: 10rpx;margin-left:20rpx;" color="#3CC7C0">去接诊</van-button>
|
||||
<van-button bind:click="go" data-url="/Pages/yishi/case/index?order_inquiry_id={{order_inquiry_id}}" plain custom-style="width:200rpx; height:67rpx; border-radius: 10rpx;" color="#3CC7C0">查看病历</van-button>
|
||||
<van-button type="default" bindtap="tabShow" custom-style="width:200rpx; height:67rpx; border-radius: 10rpx;margin-left:20rpx;" color="#3CC7C0">去接诊</van-button>
|
||||
</view>
|
||||
<view class="btn" wx:if="{{ status >= 4 }}">
|
||||
<van-button bind:click="goChat" data-from_account="{{from_account}}" data-inquiry_type="{{inquiry_type}}" data-order_inquiry_id="{{order_inquiry_id}}" data-url="/Pages/yishi/chat/index" plain custom-style="width:200rpx; border-radius: 10rpx;" color="#3CC7C0">问诊详情</van-button>
|
||||
<van-button bind:click="goChat" data-from_account="{{from_account}}" data-inquiry_type="{{inquiry_type}}" data-order_inquiry_id="{{order_inquiry_id}}" data-url="/Pages/yishi/chat/index" plain custom-style="width:200rpx; height:67rpx; border-radius: 10rpx;" color="#3CC7C0">问诊详情</van-button>
|
||||
<!-- <van-button bind:click="go" data-url="/Pages/yishi/chat_session/index" plain custom-style="width:200rpx; border-radius: 10rpx;" color="#3CC7C0">会话列表</van-button> -->
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
border-top: 1px solid #E3E4E5;
|
||||
align-items: center;
|
||||
margin: 0 30rpx;
|
||||
min-height: 50rpx;
|
||||
min-height: 70rpx;
|
||||
}
|
||||
.pop_content{
|
||||
text-align: center;
|
||||
|
||||
Reference in New Issue
Block a user