<!--pages/components/toast/toast.wxml-->
<view wx:if="{{visible}}" style="height: calc(100vh - {{navBarHeight}}px);" class="toast">
  <view class="toast-view">
    <image mode="widthFix" src="{{toastData.titlePicUrl}}" style="width: {{toastData.titlePicUrlWidth}}rpx;"></image>
    <view class="title">
      <text wx:for="{{toastData.title}}">{{item}}</text>
    </view>
    <view class="info">
      <text wx:for="{{toastData.info}}">{{item}}</text>
    </view>
    <view class="foot" style="margin-top: {{toastData.footTop}}rpx;">
      <view wx:if="{{toastData.isShowOneBut}}" class="onBut" bindtap="oneButCallback">{{toastData.oneButText}}</view>
      <view  wx:if="{{toastData.isShowTwoBut}}" class="twoBut" bindtap="twoButCallback">{{toastData.twoButText}}</view>
    </view>
  </view>
</view>
