From 5656daeb79c6d4d3f9fc78f981c7faf96582d2f1 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 11 八月 2022 14:24:29 +0800
Subject: [PATCH] 登录注册模块、
---
pages/promise/promise.wxml | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/pages/promise/promise.wxml b/pages/promise/promise.wxml
index 71b6046..659c39d 100644
--- a/pages/promise/promise.wxml
+++ b/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>
--
Gitblit v1.9.3