riku
2022-08-11 5656daeb79c6d4d3f9fc78f981c7faf96582d2f1
pages/promise/promise.wxml
@@ -5,21 +5,24 @@
  <view class="page__hd">
    <view>
      <view class="title">{{text1}}</view>
      <view class="tag">承诺截止时间:{{deadline}}</view>
      <view class="tag">{{deadline}}</view>
      <view class="btn" bindtap="gotoPromise" data-status="{{status}}">{{text3}}</view>
    </view>
    <view class="btn" bindtap="goto" data-index="0">{{text3}}</view>
    <view wx:if="{{status == 1}}" bindtap="gotoPromise" data-status="{{status}}">
      <image class="file" src="{{promise[0].picPath}}"></image>
    </view>
  </view>
  <view class="page__bd">
    <view class="fyui-cell fyui-cell_select title">
      <view class="fyui-cell__bd">历史承诺</view>
      <view class="fyui-cell__ft">查看更多</view>
    </view>
    <view wx:for="{{promise}}" wx:key="index" data-index="index">
    <view wx:for="{{promise}}" wx:key="index">
      <view class="p-cell fyui-panel">
        <view class="p-title"> 守法 | 承诺</view>
        <view class="p-content">{{item.period}}</view>
        <view class="p-tag">{{item.time}}</view>
        <view class="p-btn" bindtap="goto" data-index="1">去看看</view>
        <view class="p-btn" bindtap="gotoDetail" data-index="{{index}}">去看看</view>
      </view>
    </view>
  </view>