From b90b528cb5c6eaebe03fba972fef658a741ce896 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Thu, 26 Feb 2026 18:19:13 +0800
Subject: [PATCH] 活动评价
---
mobile/pages/user/my_activity/index.vue | 29 ++++++++++++++++++++++++++++-
1 files changed, 28 insertions(+), 1 deletions(-)
diff --git a/mobile/pages/user/my_activity/index.vue b/mobile/pages/user/my_activity/index.vue
index 1bc5666..918b557 100644
--- a/mobile/pages/user/my_activity/index.vue
+++ b/mobile/pages/user/my_activity/index.vue
@@ -57,6 +57,11 @@
</view>
<view>{{item.real_name}}({{item.mobile}})</view>
</view>
+ <!-- 评价按钮 -->
+ <view class="item-operation d-e-c pt30" v-if="item.is_verify==1 && item.activity.status_text.status==2">
+ <view class="item-btn" v-if="!item.comment" @click.stop="gotoEvaluate(item.order_id)">去评价</view>
+ <view class="item-btn disabled" v-else>已评价</view>
+ </view>
<!-- <view class="item-operation d-e-c pt30">
<view class="item-btn" @click="gotoDetail(item.order_id)">查看核销码</view>
</view> -->
@@ -194,7 +199,13 @@
/*跳转详情*/
gotoDetail(e) {
- let url = 'pages/user/my_activity/detail?id=' + e
+ let url = '/pages/user/my_activity/detail?id=' + e
+ this.gotoPage(url);
+ },
+
+ /*跳转评价*/
+ gotoEvaluate(e) {
+ let url = '/pages/branch/activity/evaluate/evaluate?order_id=' + e
this.gotoPage(url);
},
@@ -295,9 +306,25 @@
.friend-info {
background: #FCF8ED;
}
+
+ .item-operation {
+ .item-btn {
+ font-size: 26rpx;
+ color: #333333;
+ border: 1rpx solid #cccccc;
+ border-radius: 60rpx;
+ padding: 14rpx 30rpx;
+
+ &.disabled {
+ background: #f5f5f5;
+ color: #999999;
+ }
+ }
+ }
}
}
}
}
</style>
+
--
Gitblit v1.9.2