正在显示
1 个修改的文件
包含
21 行增加
和
11 行删除
@@ -17,7 +17,7 @@ | @@ -17,7 +17,7 @@ | ||
17 | <!--<image src="../../images/lishi@2x.png" class="thumb"></image>--> | 17 | <!--<image src="../../images/lishi@2x.png" class="thumb"></image>--> |
18 | <image src="{{item.pic}}" class="thumb" mode="aspectFill"></image> | 18 | <image src="{{item.pic}}" class="thumb" mode="aspectFill"></image> |
19 | <view class="lish-right"> | 19 | <view class="lish-right"> |
20 | - <!--(0全部,2待拼成,3人数不足未拼成,4已拼成,5已取消,6已完成,7已评价,8已拼成(活动未结束),9删除--> | 20 | + <!--(0全部,2待拼成,3人数不足未拼成,4已拼成,5已取消,6已完成,7已评价,8已拼成(活动未结束),9删除,10已取消(发起人已拼成后取消)--> |
21 | <view class="title-box"> | 21 | <view class="title-box"> |
22 | <view class="title">{{item.title}}</view> | 22 | <view class="title">{{item.title}}</view> |
23 | <text wx:if="{{item.status === 2}}" class="state">待拼成</text> | 23 | <text wx:if="{{item.status === 2}}" class="state">待拼成</text> |
@@ -32,22 +32,32 @@ | @@ -32,22 +32,32 @@ | ||
32 | <view class="name-left"> | 32 | <view class="name-left"> |
33 | <!--<image src="../../images/avatar@2x.png" class="avatar"></image>--> | 33 | <!--<image src="../../images/avatar@2x.png" class="avatar"></image>--> |
34 | <image src="{{item.userPic}}" class="avatar"></image> | 34 | <image src="{{item.userPic}}" class="avatar"></image> |
35 | - <image src="{{item.userSex === 1?'../../images/man.png':'../../images/women.png'}}" class="sex-icon"></image> | 35 | + <image src="{{item.userSex === 1?'../../images/man.png':'../../images/women.png'}}" |
36 | + class="sex-icon"></image> | ||
36 | <text>{{item.userName}}</text> | 37 | <text>{{item.userName}}</text> |
37 | </view> | 38 | </view> |
38 | <view class="btn"> | 39 | <view class="btn"> |
39 | - <text wx:if="{{item.status === 5 || item.status === 6 || item.status === 3 || item.status === 7}}" catchtap="cancel" data-id="{{item.id}}">删除</text> | ||
40 | - <text wx:if="{{item.status === 4}}" catchtap="complete" data-id="{{item.id}}">完成</text> | 40 | + <!--2参与人--> |
41 | + <block wx:if="{{item.type === 2}}"> | ||
42 | + <text wx:if="{{item.status === 5 || item.status === 6 || item.status === 3 || item.status === 7}}" | ||
43 | + catchtap="cancel" data-id="{{item.id}}">删除</text> | ||
44 | + </block> | ||
45 | + <!--1发起人--> | ||
46 | + <block wx:if="{{item.type === 1}}"> | ||
47 | + <text wx:if="{{item.status === 10 || item.status === 6 || item.status === 3 || item.status === 7}}" | ||
48 | + catchtap="cancel" data-id="{{item.id}}">删除</text> | ||
49 | + </block> | ||
50 | + <text wx:if="{{item.status === 4}}" catchtap="complete" data-id="{{item.id}}">完成</text> | ||
41 | </view> | 51 | </view> |
42 | </view> | 52 | </view> |
43 | </view> | 53 | </view> |
44 | </view> | 54 | </view> |
45 | </view> | 55 | </view> |
46 | <!--底部tab--> | 56 | <!--底部tab--> |
47 | -<import src="/templates/templates.wxml" /> | ||
48 | -<template is="tabBar" data='{{...tabcurrent}}' /> | 57 | +<import src="/templates/templates.wxml"/> |
58 | +<template is="tabBar" data='{{...tabcurrent}}'/> | ||
49 | <!--去答题弹框--> | 59 | <!--去答题弹框--> |
50 | -<view class="input-box" wx:if="{{is_showAnswer}}" catchtouchmove="disableScroll"> | 60 | +<view class="input-box" wx:if="{{is_showAnswer}}" catchtouchmove="disableScroll"> |
51 | <image class="sorry-img" src="../../images/sorry@2x.png"></image> | 61 | <image class="sorry-img" src="../../images/sorry@2x.png"></image> |
52 | <view class="title">目前只对</view> | 62 | <view class="title">目前只对</view> |
53 | <view class="title">首批会员开放发布功能</view> | 63 | <view class="title">首批会员开放发布功能</view> |
@@ -56,7 +66,7 @@ | @@ -56,7 +66,7 @@ | ||
56 | </view> | 66 | </view> |
57 | <view class="modal_box" wx:if="{{is_showAnswer}}" bindtap="handleBackground" catchtouchmove="disableScroll"></view> | 67 | <view class="modal_box" wx:if="{{is_showAnswer}}" bindtap="handleBackground" catchtouchmove="disableScroll"></view> |
58 | <!--去完善个人信息弹框--> | 68 | <!--去完善个人信息弹框--> |
59 | -<view class="input-box" wx:if="{{is_showUserInfo}}" catchtouchmove="disableScroll"> | 69 | +<view class="input-box" wx:if="{{is_showUserInfo}}" catchtouchmove="disableScroll"> |
60 | <image class="sorry-img" src="../../images/user_info@2x.png"></image> | 70 | <image class="sorry-img" src="../../images/user_info@2x.png"></image> |
61 | <view class="title">为了更好的体验</view> | 71 | <view class="title">为了更好的体验</view> |
62 | <view class="title">请先完善个人信息</view> | 72 | <view class="title">请先完善个人信息</view> |
@@ -65,7 +75,7 @@ | @@ -65,7 +75,7 @@ | ||
65 | <view class="modal_box" wx:if="{{is_showUserInfo}}" bindtap="handleBackground" catchtouchmove="disableScroll"></view> | 75 | <view class="modal_box" wx:if="{{is_showUserInfo}}" bindtap="handleBackground" catchtouchmove="disableScroll"></view> |
66 | <!--发布--> | 76 | <!--发布--> |
67 | <view class="release-btn-box" wx:if="{{is_showRelease}}"> | 77 | <view class="release-btn-box" wx:if="{{is_showRelease}}"> |
68 | - <view class="left-btn" bindtap="releaseMeal"> | 78 | + <view class="left-btn" bindtap="releaseMeal"> |
69 | <image src="../../images/pincan@2x.png"></image> | 79 | <image src="../../images/pincan@2x.png"></image> |
70 | <view class="text">发布拼餐</view> | 80 | <view class="text">发布拼餐</view> |
71 | </view> | 81 | </view> |
@@ -76,7 +86,7 @@ | @@ -76,7 +86,7 @@ | ||
76 | </view> | 86 | </view> |
77 | <view class="modal_box" wx:if="{{is_showRelease}}" bindtap="handleBackground" catchtouchmove="disableScroll"></view> | 87 | <view class="modal_box" wx:if="{{is_showRelease}}" bindtap="handleBackground" catchtouchmove="disableScroll"></view> |
78 | <!--分数>=80弹框--> | 88 | <!--分数>=80弹框--> |
79 | -<view class="input-box score-box" wx:if="{{show_gold_modal}}" catchtouchmove="disableScroll"> | 89 | +<view class="input-box score-box" wx:if="{{show_gold_modal}}" catchtouchmove="disableScroll"> |
80 | <image class="sorry-img gold-img" src="../../images/gold@2x.png"></image> | 90 | <image class="sorry-img gold-img" src="../../images/gold@2x.png"></image> |
81 | <view class="title text">恭喜您</view> | 91 | <view class="title text">恭喜您</view> |
82 | <view class="title text">获得首批入场卷</view> | 92 | <view class="title text">获得首批入场卷</view> |
@@ -90,7 +100,7 @@ | @@ -90,7 +100,7 @@ | ||
90 | <view class="modal_box" wx:if="{{show_gold_modal}}" bindtap="handleBackground" catchtouchmove="disableScroll"></view> | 100 | <view class="modal_box" wx:if="{{show_gold_modal}}" bindtap="handleBackground" catchtouchmove="disableScroll"></view> |
91 | 101 | ||
92 | <!--分数<80弹框--> | 102 | <!--分数<80弹框--> |
93 | -<view class="input-box score-box normal-box" wx:if="{{show_normal_modal}}" catchtouchmove="disableScroll"> | 103 | +<view class="input-box score-box normal-box" wx:if="{{show_normal_modal}}" catchtouchmove="disableScroll"> |
94 | <image class="sorry-img img" src="../../images/achieve-answer-img@2x.png"></image> | 104 | <image class="sorry-img img" src="../../images/achieve-answer-img@2x.png"></image> |
95 | <view class="title text margin">恭喜您获得入场卷</view> | 105 | <view class="title text margin">恭喜您获得入场卷</view> |
96 | <view class="title text margin">等待开放权限</view> | 106 | <view class="title text margin">等待开放权限</view> |
-
请 注册 或 登录 后发表评论