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 | 43 +++++++++++++++++++++++++++++++++++++++++--
1 files changed, 41 insertions(+), 2 deletions(-)
diff --git a/mobile/pages/user/my_activity/index.vue b/mobile/pages/user/my_activity/index.vue
index 4a7874a..918b557 100644
--- a/mobile/pages/user/my_activity/index.vue
+++ b/mobile/pages/user/my_activity/index.vue
@@ -50,6 +50,18 @@
</view>
</view>
</view>
+ <view class="friend-info d-b-c mt20 p20 radius12" v-if="item.is_friend">
+ <view class="d-s-c">
+ <text class="iconfont icon-gantanhao mr10"></text>
+ <text>帮朋友报名:</text>
+ </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> -->
@@ -67,6 +79,7 @@
</template>
<script>
+ import utils from "@/common/utils.js";
import uniLoadMore from "@/components/uni-load-more.vue";
export default {
components: {
@@ -174,7 +187,7 @@
verify_status: self.type_active
};
self.loading = true;
- self._get('branch.activityUser/lists', params, function(res) {
+ self._get('branch.activityUser/listsForUser', params, function(res) {
self.loading = false;
self.listData = self.listData.concat(res.data.list.data);
self.last_page = res.data.list.last_page;
@@ -186,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);
},
@@ -283,9 +302,29 @@
padding: 14rpx 30rpx;
}
}
+
+ .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