<!--pages/home/home.wxml-->
<view>
  <t-swiper
  current="{{current}}"
  autoplay="{{autoplay}}"
  duration="{{duration}}"
  interval="{{interval}}"
  navigation="{{ { type: 'dots' } }}"
  list="{{swiperList}}"
  loop="{{true}}"
>
</t-swiper>
</view>
<view class="pyramid-loader" bindtap="uploadImage">
  <!-- <view class="wrapper">
    <text class="side side1"></text>
    <text class="side side2"></text>
    <text class="side side3"></text>
    <text class="side side4"></text>
    <text class="shadow"></text>
  </view>   -->
  <image class="icon" src="/assets/camera.jpg" mode="aspectFit" ></image>
  <text class="tips">点击开始识别</text>
</view>

<view>
  <view class="modal-mask" bindtap="hideModal" catchtouchmove="preventTouchMove" wx:if="{{showModal}}">
    <view class="modal-dialog" wx:if="{{showModal}}">
      <image src="{{imageSrc}}" class="advertising" aria-label="广告位" />
      <text class="side side1">识别类型：{{category}}</text>
      <text class="side side1">识别垃圾：{{good}}</text>
    </view>
  </view>
</view>