1.静态的支持两个切换
<view class="option-box">
<view class="swiper-tab">
<view class="swiper-tab-list {
{currentTab==0 ? 'on' : 'off'}}" data-current="0" bindtap="swichNav">互联网医院
</view>
<view class="swiper-tab-list {
{currentTab==1 ? 'on' : 'off'}}" data-current="1" bindtap="swichNav">患者便利服务</view>
</view >
<swiper current="{
{currentTab}}" class="swiper-box" duration="300" style="height:{
{winHeight - 31}}px;" bindchange="bindChange">
<!-- 互联网医院 -->
<swiper-item>
<view style="width: 100%;display: flex;justify-content: space-between;" class="grid-box">
<view class="line-box" bindtap="gotoYh">
<image src="/assets/img/home/sbbx-new.png" mode="heightFix" style="width: 45rpx;height: 45rpx;vertical-align:top;" />
<view class="grid-title">上门护理</view>
</view>
<view class="line-box" bindtap="gotoWebs">
<image src="/assets/img/home/ymp-new.png" mode="heightFix" style="width: 45rpx;height: 45rpx;vertical-align:top;" />
<view class="grid-title">医名片</view>
</view>
<view class="line-box" bindtap="gotoIncharge">
<image src="/assets/img/home/zyfcz-new.png" mode="heightFix" style="width: 45rpx;height: 45rpx;vertical-align:top;" />
<view class="grid-title&