<!--components/tabBar/tabBar.wxml-->
<view class="tab"> 
    <van-tabbar active="{{ active }}" bind:change="onChange" border="{{false}}" z-index="9999">
  <van-tabbar-item name="{{item.id}}" wx:for="{{tabList}}" key="id">
    <image
      slot="icon"
      src="{{item.normal }}"
      mode="aspectFit"
      style="width:48rpx; height: 48rpx;"
    />
    <image
      slot="icon-active"
      src="{{ item.active }}"
      mode="aspectFit"
      style="width:48rpx; height: 48rpx;"
    />
   {{item.name}}
  </van-tabbar-item>
  
</van-tabbar>
  <image src="{{img_host+'/create.png'}}" alt="" class="create {{isIos?'isIos':''}}" bind:tap="goCreate"/>
</view>
<dialog showDialog="{{showAgree}}" showCancel="{{showCancel}}" bind:confirm="onConfirmAgree" bind:cancel="onCancelAgree"  title="项目协议"  confirmText="查看" message="创建病例前需签署《人工肝病例登记系统》电子协议书"></dialog>

<dialog showDialog="{{showDraft}}" title="注意" message="您已有一条草稿，是否去编辑？" confirmText="确定" bind:confirm="onConfirmDraft" bind:cancel="onCancelDraft"></dialog>