12345678910111213141516171819202122232425262728293031 |
- <import-sjs
- name="utils"
- from="./index.sjs"
- />
- <wrapper>
- <view class="medical-consultation">
- <view class="medical-header-tabs">
- <adc-tab
- className="activeTab"
- tabsName="activeTab"
- showPlus="{{ false }}"
- onTabClick="onTabClick"
- tabBarUnderlineWidth="20px"
- tabBarActiveTextColor="#333"
- activeTab="{{ activeTab }}"
- tabBarUnderlineColor="#333"
- tabBarBackgroundColor="transparent"
- tabs="{{ utils.getTabs(componentData) }}"
- />
- </view>
- <view class="medical-consultation-content">
- <!--医生介绍 -->
- <experts-item a:if="{{ activeTab === 0 }}" />
- <!--科室介绍 -->
- <department-introduction
- a:if="{{ activeTab === 1 }}"
- dataSource="{{ utils.getServiceList(componentData) }}"
- />
- </view>
- </view>
- </wrapper>
|