<!--pages/certificate/certificate.wxml-->

<view class="centent">
  <!-- <image src="item.img?'':'img/zhengshu.png'" wx:for="{{list}}"></image> -->
  <block wx:for="{{list}}" wx:key ="index">
  <image mode="aspectFit" bindtap="img_url" data-imgurl="{{item.img!=''?(host+item.img):'/img/zhengshu.png'}}" src="{{item.img!=''?(host+item.img):'/img/zhengshu.png'}}"></image>
  </block>
  
  <view wx:if="{{list.length<=0}}" style="text-align: center;">当前没有证书</view>
</view>