专长
This commit is contained in:
parent
989bd99911
commit
b938adef70
@ -82,6 +82,7 @@ Component({
|
|||||||
qualification_cert_reason: "",
|
qualification_cert_reason: "",
|
||||||
work_cert_reason: "",
|
work_cert_reason: "",
|
||||||
email_reason:'',
|
email_reason:'',
|
||||||
|
expertise_reason:'',
|
||||||
department_custom_name_reason: '',
|
department_custom_name_reason: '',
|
||||||
zhuanchang_note: '请选择专长',
|
zhuanchang_note: '请选择专长',
|
||||||
jianjie_show: false,
|
jianjie_show: false,
|
||||||
@ -184,6 +185,7 @@ Component({
|
|||||||
this.setData({
|
this.setData({
|
||||||
avatar_reason: response.data.avatar,
|
avatar_reason: response.data.avatar,
|
||||||
brief_introduction_reason: response.data.brief_introduction,
|
brief_introduction_reason: response.data.brief_introduction,
|
||||||
|
expertise_reason:response.data.doctor_expertise,
|
||||||
be_good_at_reason: response.data.be_good_at,
|
be_good_at_reason: response.data.be_good_at,
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|||||||
@ -342,7 +342,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view wx:if="{{indentity}}">
|
<view wx:if="{{indentity}}">
|
||||||
<view class="zhuanchang" bindtap="{{iden_auth_disabled?'':'onZhuanChangShow'}}">
|
<view class="zhuanchang {{expertise_reason?'hasnoborder':''}}" bindtap="{{iden_auth_disabled?'':'onZhuanChangShow'}}">
|
||||||
<view class="title">专长 <text class="required"> *</text></view>
|
<view class="title">专长 <text class="required"> *</text></view>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<view class="content_item" wx:key="expertise_name" wx:if="{{data.is_selected == 1}}" wx:for="{{ zhuanchang_columns }}" wx:for-item="data">
|
<view class="content_item" wx:key="expertise_name" wx:if="{{data.is_selected == 1}}" wx:for="{{ zhuanchang_columns }}" wx:for-item="data">
|
||||||
@ -359,7 +359,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view wx:else>
|
<view wx:else>
|
||||||
<view class="zhuanchang" bindtap="{{introduction_status==2?'':'onZhuanChangShow'}}">
|
<view class="zhuanchang {{expertise_reason?'hasnoborder':''}}" bindtap="{{introduction_status==2?'':'onZhuanChangShow'}}">
|
||||||
<view class="title">专长 <text class="required"> *</text></view>
|
<view class="title">专长 <text class="required"> *</text></view>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<view class="content_item" wx:key="expertise_name" wx:if="{{data.is_selected == 1}}" wx:for="{{ zhuanchang_columns }}" wx:for-item="data">
|
<view class="content_item" wx:key="expertise_name" wx:if="{{data.is_selected == 1}}" wx:for="{{ zhuanchang_columns }}" wx:for-item="data">
|
||||||
@ -375,7 +375,12 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="has_error" wx:if="{{expertise_reason != '' }}" >
|
||||||
|
<view class="error_box">
|
||||||
|
<t-icon color="red" name="close-circle-filled" size="48rpx" data-name="close-circle-filled" />
|
||||||
|
<text class="error_msg">{{ expertise_reason }}</text>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
<m-textarea-cell
|
<m-textarea-cell
|
||||||
textarea_cell_name="个人简介"
|
textarea_cell_name="个人简介"
|
||||||
t_icon_name="view-module"
|
t_icon_name="view-module"
|
||||||
@ -387,7 +392,9 @@
|
|||||||
has_error_content="{{ brief_introduction_reason }}"
|
has_error_content="{{ brief_introduction_reason }}"
|
||||||
data-textarea_name="textarea_jianjie"
|
data-textarea_name="textarea_jianjie"
|
||||||
bindTextAreaBlur="getTextAreaVal" />
|
bindTextAreaBlur="getTextAreaVal" />
|
||||||
|
<view class="has_error" wx:if="{{brief_introduction_reason != '' }}" >
|
||||||
|
|
||||||
|
</view>
|
||||||
<m-textarea-cell
|
<m-textarea-cell
|
||||||
textarea_cell_name="擅长领域"
|
textarea_cell_name="擅长领域"
|
||||||
t_icon_name="view-module"
|
t_icon_name="view-module"
|
||||||
|
|||||||
@ -74,6 +74,9 @@
|
|||||||
transform: scaleY(0.5);
|
transform: scaleY(0.5);
|
||||||
left: 32rpx;
|
left: 32rpx;
|
||||||
}
|
}
|
||||||
|
.zhuanchang.hasnoborder::after{
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
.zhuanchang .content{
|
.zhuanchang .content{
|
||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user