From b44335673ef51f8c3554d7435543ef247afc488e Mon Sep 17 00:00:00 2001
From: wangfukang <15630117759@163.com>
Date: Wed, 22 Jul 2026 08:29:10 +0800
Subject: [PATCH 1/4] 1
---
common/fishMarketApi.js | 12 ++++++++++++
common/httpRequest.js | 4 ++--
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/common/fishMarketApi.js b/common/fishMarketApi.js
index 3af9bdc..1917002 100644
--- a/common/fishMarketApi.js
+++ b/common/fishMarketApi.js
@@ -86,6 +86,10 @@ export function getFishUnreadSummary() {
return tui.request('/app/fishmarket/unread/summary', 'GET', {}, false, true, true).then(unwrap)
}
+export function markAllFishUnreadRead() {
+ return tui.request('/app/fishmarket/unread/read-all', 'POST', {}, false, false, true).then(unwrap)
+}
+
export function deleteFishComment(id) {
return tui.request(`/app/fishmarket/comments/${id}`, 'DELETE', {}, false, false, true).then(unwrap)
}
@@ -142,10 +146,18 @@ export function pageMyFishSessions(data = {}) {
return tui.request('/app/fishmarket/my/sessions', 'POST', data, false, false, true).then(unwrap)
}
+export function deleteMyFishSessionMessage(id) {
+ return tui.request(`/app/fishmarket/my/sessions/${id}`, 'DELETE', {}, false, false, true).then(unwrap)
+}
+
export function pageMyFishMessageComments(data = {}) {
return tui.request('/app/fishmarket/my/message-comments', 'POST', data, false, false, true).then(unwrap)
}
+export function deleteMyFishCommentMessage(id) {
+ return tui.request(`/app/fishmarket/my/message-comments/${id}`, 'DELETE', {}, false, false, true).then(unwrap)
+}
+
export function pageMyFishComments(data = {}) {
return tui.request('/app/fishmarket/my/comments', 'POST', data, false, false, true).then(unwrap)
}
diff --git a/common/httpRequest.js b/common/httpRequest.js
index 77e0543..a95039b 100644
--- a/common/httpRequest.js
+++ b/common/httpRequest.js
@@ -37,8 +37,8 @@ function getSafeWindowInfo() {
const tui = {
//接口地址
interfaceUrl: function() {
- // return 'https://hbkuaishi.com/hiver' //正式
- return 'http://192.168.100.34:8888/hiver' //测试
+ return 'https://hbkuaishi.com/hiver' //正式
+ // return 'http://192.168.100.34:8888/hiver' //测试
},
toast: function(text, duration, success) {
uni.showToast({
From 9302f9a0c184f073791e32e386e207079cea6a98 Mon Sep 17 00:00:00 2001
From: wangfukang <15630117759@163.com>
Date: Wed, 22 Jul 2026 08:29:29 +0800
Subject: [PATCH 2/4] 1
---
components/tab-bar/postList.vue | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/components/tab-bar/postList.vue b/components/tab-bar/postList.vue
index edbc7a2..3c093a9 100644
--- a/components/tab-bar/postList.vue
+++ b/components/tab-bar/postList.vue
@@ -120,6 +120,10 @@
>
{{item.xiangyao}}
+
+
+ {{item.browseCount}}
+
@@ -208,7 +212,7 @@
imageKey: 'graduation',
action: 'mine'
}],
- baseCategories: ['推荐', '最新'],
+ baseCategories: ['推荐', '最新', '热门'],
categoryList: [],
goodsList: [],
pageNum: 1,
@@ -518,7 +522,7 @@
const category = this.categories[this.categoryIndex]
const categoryItem = this.categoryList.find(item => item.name == category)
const area = this.getArea()
- const sortType = this.sortType || (category == '附近' ? 'school' : (category == '最新' ? 'latest' : 'hot'))
+ const sortType = category == '热门' ? 'favorite' : (category == '最新' ? 'latest' : (this.sortType || (category == '附近' ? 'school' : 'hot')))
const query = {
pageNum: this.pageNum,
pageSize: this.pageSize,
@@ -553,6 +557,7 @@
price: isWant ? (item.expectedPrice || 0) : (item.price || 0),
originalPrice: item.originPrice,
xiangyao: item.likeCount || 0,
+ browseCount: item.browseCount || 0,
distance: item.distance || '本校',
icon: item.userAvatar || '/static/images/img/songshu.png',
shopName: item.userName || '校园同学',
@@ -985,6 +990,7 @@
}
.category-row {
+ margin-top: -15rpx;
height: 80rpx;
display: flex;
align-items: center;
@@ -1193,6 +1199,15 @@
font-size: 17rpx;
}
+ .browse-count {
+ margin-left: 10rpx;
+ display: flex;
+ align-items: center;
+ gap: 3rpx;
+ color: #a1aaa6;
+ font-size: 17rpx;
+ }
+
.page-like-effect {
position: fixed;
top: 0;
From a1bbc6eae1b0487a013e3a4952e6942339d37d26 Mon Sep 17 00:00:00 2001
From: wangfukang <15630117759@163.com>
Date: Wed, 22 Jul 2026 08:29:49 +0800
Subject: [PATCH 3/4] 1
---
package1/address/addressList.vue | 35 ++++-
package1/buyFood/buyFood.vue | 121 ++++++++++++------
.../delivery-time-op/delivery-time-op.vue | 25 ++--
package1/order/orderDetail.vue | 13 +-
package1/runErrand/runErrand.vue | 9 +-
package1/tabbar/fishRelease.vue | 5 +-
6 files changed, 147 insertions(+), 61 deletions(-)
diff --git a/package1/address/addressList.vue b/package1/address/addressList.vue
index b3fefc8..ad603d9 100644
--- a/package1/address/addressList.vue
+++ b/package1/address/addressList.vue
@@ -39,9 +39,10 @@
-
-