This commit is contained in:
haomingming
2023-03-28 20:52:22 +08:00
parent 69df3bf6b3
commit 5ba50e4e61
58 changed files with 1122 additions and 347 deletions
+25 -1
View File
@@ -98,6 +98,8 @@ Component({
work_cert_reason: "",
department_custom_name_reason: '',
zhuanchang_note: '请选择专长',
jianjie_show: false,
shanchang_show: false,
},
options: {
@@ -363,7 +365,9 @@ Component({
onChangeCity(e) {
this.setData({
select_county_id: "",
select_yiyuan_id: ""
select_yiyuan_id: "",
yiyuan_note: "请选择医院",
city_note: "请选择城市",
})
console.log("onChangeCity");
const { selectedOptions } = e.detail;
@@ -595,10 +599,30 @@ Component({
onshowJianJieNote(e){
e.detail // 自定义组件触发事件时提供的 detail 对象
console.log("onshowJianJieNote");
this.setData({
jianjie_show: true,
});
},
onJianjieClose(e){
e.detail // 自定义组件触发事件时提供的 detail 对象
console.log("onshowJianJieNote");
this.setData({
jianjie_show: false,
});
},
onshowShanChangNote(e){
e.detail // 自定义组件触发事件时提供的 detail 对象
console.log("onshowShanChangNote");
this.setData({
shanchang_show: true,
});
},
onshowShanChangNoteClose(e){
e.detail // 自定义组件触发事件时提供的 detail 对象
console.log("onshowShanChangNote");
this.setData({
shanchang_show: false,
});
},
onshowZhiYeNote(e){
e.detail // 自定义组件触发事件时提供的 detail 对象
+2 -1
View File
@@ -19,6 +19,7 @@
"van-toast": "@vant/weapp/toast/index",
"van-button": "@vant/weapp/button/index",
"van-icon": "@vant/weapp/icon/index",
"van-search": "@vant/weapp/search/index"
"van-search": "@vant/weapp/search/index",
"van-empty": "@vant/weapp/empty/index"
}
}
+31 -3
View File
@@ -46,7 +46,8 @@
default-index="{{select_yiyuan_index}}"
bind:cancel="onYiYuanCancel"
bind:confirm="onYiYuanConfirm"
bind:change="onYiYuanChange" />
bind:change="onYiYuanChange"
/>
<van-search
value="{{ hospital_search_val }}"
@@ -56,6 +57,9 @@
bind:change="hospitalSearchChange"
bind:search="hospitalSearch"
/>
<van-empty description="暂无医院" wx:if="{{yiyuan_columns.length == 0}}"/>
</van-popup>
<t-cell title="科室" hover required arrow note="{{keshi_note}}"
bindtap="{{(indentity && iden_auth_disabled)?'':'onKeshiShow'}}" bordered="{{ select_keshi_id == '' }}"/>
@@ -146,6 +150,30 @@
</view>
</van-popup>
<van-popup
show="{{ jianjie_show }}"
closeable
round
position="bottom"
bind:close="onJianjieClose"
>
<view class="jianjie_popup">
博士,xxxx医院肝病科副主任医师,硕士研究生导师;中华医学会肝病学分会青年委员,北京医学会感染病学分会委员;2015首都十大杰出青年医生,2020年中华医学会抗击新冠优秀个人;作为主要研究者参与各级科研课题10项,发表学术论文10余篇,其中SCI文章2篇
</view>
</van-popup>
<van-popup
show="{{ shanchang_show }}"
closeable
round
position="bottom"
bind:close="onshowShanChangNoteClose"
>
<view class="jianjie_popup">
肝病的个体化治疗、致力于各种肝病尤其肝衰竭的临床诊治,尤其专注于终末期肝病营养相关临床和基础研究。
</view>
</van-popup>
<t-popup visible="{{zhuanchang_show}}"
prevent-scroll-through
bind:visible-change="onZhuanChangVisibleChange" placement="bottom">
@@ -190,7 +218,7 @@
model:value="{{ office_phone }}"
bind:change="onOfficePhoneChange"
placeholder="请输入科室电话"
placeholder-style="font-size:25rpx;letter-spacing: 2rpx;color:rgba(0, 0, 0, 0.4);"
placeholder-style="font-size:30rpx;letter-spacing: 2rpx;color:rgba(0, 0, 0, 0.4);"
input-align="right"
type="number"
clearable
@@ -242,7 +270,7 @@
textarea_val="{{textarea_shanchang}}"
has_error_content="{{ be_good_at_reason }}"
textarea_cell_content_placeholder="您的专业领域、擅长疾病、研究方法等信息(10~1000字)"
textarea_cell_note="查看示例" data-textarea_name="textarea_shanchang" bindTextAreaBlur="getTextAreaVal" />
data-textarea_name="textarea_shanchang" bindTextAreaBlur="getTextAreaVal" />
<m-upload-cell
upload_cell_name="医师执业证"
+6 -4
View File
@@ -5,7 +5,7 @@
margin-left: 32rpx;
display: flex;
justify-content: space-between;
font-size: 32rpx;
font-size: 34rpx;
font-weight: 400;
align-items: center;
}
@@ -15,7 +15,7 @@
margin-left: 32rpx;
display: flex;
justify-content: space-between;
font-size: 32rpx;
font-size: 34rpx;
font-weight: 400;
align-items: center;
}
@@ -36,7 +36,7 @@
}
.title{
font-size: 30rpx;
font-size: 32rpx;
color: #1C2023;
}
.right{
@@ -225,7 +225,9 @@
border-bottom-style: solid;
border-bottom-color: var(--td-cell-border-color, var(--td-gray-color-3, #e7e7e7));
}
.van-cell {
padding: 32rpx !important;
}
.jianjie_popup{
margin: 100rpx 20rpx;
}
+3 -3
View File
@@ -6,7 +6,7 @@ Component({
properties: {
textarea_cell_name: {
type: String,
value: '示例标题',
value: '标题',
},
required: {
type: Boolean,
@@ -18,11 +18,11 @@ Component({
},
textarea_cell_note: {
type: String,
value: '示例备注',
value: '查看示例',
},
textarea_cell_content_placeholder: {
type: String,
value: '示例placeholder',
value: '请输入文字',
},
t_icon_name: {
type: String,