模板说明:模板版式一 调用名称:pages/depdoctor/index
**

参数说明
| 参数名称 | 数据类型 | 说明 |
|---|---|---|
| depdoctor_list | Array | 科室分类列表 |
| switchstate | boolean | 医生显示按钮开关状态 |
| doctorinfor | Array | 医生具体信息 |
| type | string | 科室分类 |
| initial_data | object | 初始数据 |
| kinddoctor | array | 当前选择的医生类型 |
内部方法
depdoctor_list_onClick: (type, index, item, index2) =>{}
科室按钮点击事件,接收科室类别和科室名称参数,将参数传出
depdoctor_list_onClick: (type, index, item, index2) => {console.log('::depdoctor_list_onClick::');console.log(type, index, item, index2);},
doctorinfor:[]
医生具体信息
doctorinfor: [
{
image: super.BASE_RES('index/lv2_menu/zjjs.svg'),
name: '李医生',
identity: '主治医师',
introduction: '简介:XXXXXX',
infor: ['问诊量56次', '免费', '80.00元', '50.00元']
}]
depdoctor_list: []
科室列表按钮
depdoctor_list: [
{
type: '常用科室',
content: [
{
text: '内分泌科',
},
{
text: '内分泌科',
},
{
text: '内分泌科',
},
{
text: '内分泌科',
},
{
text: '内分泌科',
},
{
text: '内分泌科',
},
]
}]
