From 7ce0c6213129a214b9903b020ea1e4ab5d8c2f7d Mon Sep 17 00:00:00 2001 From: modendeveloper Date: Mon, 10 Mar 2025 22:04:41 +0800 Subject: [PATCH 01/33] =?UTF-8?q?Fix=EF=BC=9A3348=20=E3=80=90=E5=95=86?= =?UTF-8?q?=E5=9F=8E=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=9D=BF=E5=9D=97=E5=AD=97=E4=BD=93=E5=81=8F?= =?UTF-8?q?=E5=B0=8F=EF=BC=8C=E9=9C=80=E6=94=BE=E5=A4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/index.vue | 2 +- pages/shop/GoodSearch/index.vue | 14 +++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/pages/home/index.vue b/pages/home/index.vue index 2241fab..bbc6912 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -28,7 +28,7 @@ :text="recommendKeyword" :icon="' '" color="#333" - fontSize="12" + fontSize="14" bgColor="transparent" @change="changeRecommendKeyword" direction="column"> diff --git a/pages/shop/GoodSearch/index.vue b/pages/shop/GoodSearch/index.vue index 6a05bbb..28c2e80 100644 --- a/pages/shop/GoodSearch/index.vue +++ b/pages/shop/GoodSearch/index.vue @@ -19,7 +19,15 @@ 搜索 - + @@ -44,7 +52,7 @@ {{ item.word }} @@ -57,7 +65,7 @@ {{ keywordsKey }} From deb0be8eea554ff9e021c3d94392494bcadc0b82 Mon Sep 17 00:00:00 2001 From: modendeveloper Date: Mon, 10 Mar 2025 22:24:11 +0800 Subject: [PATCH 02/33] =?UTF-8?q?Fix=EF=BC=9A3346=20=E3=80=90=E7=A4=BC?= =?UTF-8?q?=E5=93=81=E3=80=91=E7=A4=BC=E5=8C=85=E9=A2=86=E5=8F=96=E7=8A=B6?= =?UTF-8?q?=E6=80=81=EF=BC=8C=E2=80=9C=E6=9F=A5=E7=9C=8B=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E2=80=9D=E4=B8=8E=E2=80=9C=E5=8E=BB=E5=95=86?= =?UTF-8?q?=E5=9F=8E=E7=9C=8B=E7=9C=8B=E2=80=9D=E6=A0=B7=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg_user/views/gift/components/GiftCard.vue | 24 +++++++++++++++------ 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/pkg_user/views/gift/components/GiftCard.vue b/pkg_user/views/gift/components/GiftCard.vue index ffed8c7..2353caf 100644 --- a/pkg_user/views/gift/components/GiftCard.vue +++ b/pkg_user/views/gift/components/GiftCard.vue @@ -24,17 +24,17 @@ - + 您已领取礼包 - 查看礼包详情>> + 查看礼包详情>> - + 礼包已被领取 - 去商城看看>> + 去商城看看>> @@ -176,6 +176,16 @@ export default { \ No newline at end of file diff --git a/pagesInn/inn/innHome.vue b/pagesInn/inn/innHome.vue index ee96eee..4723e76 100644 --- a/pagesInn/inn/innHome.vue +++ b/pagesInn/inn/innHome.vue @@ -401,6 +401,10 @@ 修改资料 + + + 切换店铺 + @@ -431,6 +435,7 @@ /> + @@ -446,7 +451,8 @@ import { setTopHotelNew, getHotelNewsZan, getHotelShareBackgroundImage, - hotelNewsView + hotelNewsView, + getMerchantApply } from "@/api/inn.js" import {formatDateTime} from "@/utils" import {getUrlParam} from "@/utils/common.js" @@ -454,14 +460,16 @@ import imgBox from '@/components/imageTypeSet/imagebox.vue' import cookie from "@/utils/store/cookie" import {addStore, removeStore} from "@/api/favorite" import { pageListenMixins } from '@/mixins/pageListenMixins' - +import homeList from "../components/jin-edit/homeList.vue" export default { components: { - imgBox + imgBox, + homeList }, mixins: [pageListenMixins], data() { return { + homeList: [], webUrl: this.$VUE_APP_RESOURCES_URL, isLoad: false, activeIndex: 0, @@ -588,6 +596,18 @@ export default { this.fetchInnDetail() }, methods: { + goHome(e) { + this.id = e.id + this.fetchInnDetail() + }, + changeHome() { + uni.showLoading() + getMerchantApply().then(res => { + this.$refs.homeList.open(res.data || []) + }).finally(() => { + uni.hideLoading() + }) + }, changeShare() { this.showShare = !this.showShare }, From a74f94a061e9e1261a8ebf83d30db5890b8033c1 Mon Sep 17 00:00:00 2001 From: linxi Date: Tue, 25 Mar 2025 11:48:30 +0800 Subject: [PATCH 21/33] =?UTF-8?q?Task=EF=BC=9A=E5=A4=9A=E5=BA=97=E9=93=BA?= =?UTF-8?q?=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesInn/components/jin-edit/homeList.vue | 1 - pagesInn/inn/innHome.vue | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/pagesInn/components/jin-edit/homeList.vue b/pagesInn/components/jin-edit/homeList.vue index b1a57c3..6e8e2ad 100644 --- a/pagesInn/components/jin-edit/homeList.vue +++ b/pagesInn/components/jin-edit/homeList.vue @@ -38,7 +38,6 @@ export default { }) }, open(records) { - console.log(records); if(!records) return; this.show = true; this.list = records && [...records] || [] diff --git a/pagesInn/inn/innHome.vue b/pagesInn/inn/innHome.vue index 4723e76..8642f8d 100644 --- a/pagesInn/inn/innHome.vue +++ b/pagesInn/inn/innHome.vue @@ -595,9 +595,26 @@ export default { } this.fetchInnDetail() }, + watch: { + activeIndex: { + handler(val) { + console.log(val); + if (val === 1) { + this.fetchInnInfoList() + } + }, + deep: true, + immediate: true + } + }, methods: { goHome(e) { this.id = e.id + if(this.activeIndex !==1) { + this.activeInde = 1 + } else { + this.fetchInnInfoList() + } this.fetchInnDetail() }, changeHome() { From 36914c10b0ed3160a1dbc0e751ff33c5e58224f7 Mon Sep 17 00:00:00 2001 From: linxi Date: Tue, 25 Mar 2025 18:32:28 +0800 Subject: [PATCH 22/33] =?UTF-8?q?Task=EF=BC=9A=E5=A4=9A=E5=BA=97=E9=93=BA?= =?UTF-8?q?=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg_join/views/index.vue | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pkg_join/views/index.vue b/pkg_join/views/index.vue index a14d938..6cfc395 100644 --- a/pkg_join/views/index.vue +++ b/pkg_join/views/index.vue @@ -51,7 +51,8 @@ export default { hasSupplier: null, hasWholesaler: null, images: null, - pageKeyId: Object.freeze('merchantApplyIndex') + pageKeyId: Object.freeze('merchantApplyIndex'), + canApplyHotel: false } }, onLoad(options) { @@ -63,6 +64,7 @@ export default { this.hasHotel = data.hasHotel this.hasSupplier = data.hasSupplier this.hasWholesaler = data.hasWholesaler + this.canApplyHotel = data.canApplyHotel }) }, methods: { @@ -83,11 +85,14 @@ export default { } break case 'shop': - if (this.hasHotel === 1) { - this.$yrouter.push('/pagesInn/inn/innHome?id='+this.hotelId) - } else { - this.$yrouter.push('/pkg_join/views/shop?partnerId=' + this.partnerId) + if (!this.canApplyHotel) { + uni.showToast({ // 使用uni-app官方提示API + title: '您的店铺数量已到达上限,不能继续申请店铺', + icon: 'none' + }) + return } + this.$yrouter.push('/pkg_join/views/shop?partnerId=' + this.partnerId) break case 'wholesaler': if (this.hasWholesaler === 1) { From a267868890d9d0add60e26e0fd2066aa403cecba Mon Sep 17 00:00:00 2001 From: linxi Date: Thu, 27 Mar 2025 14:57:05 +0800 Subject: [PATCH 23/33] =?UTF-8?q?Fix=EF=BC=9A3532=20=E3=80=90=E5=95=86?= =?UTF-8?q?=E5=9F=8E=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E5=BA=97=E9=93=BA?= =?UTF-8?q?=E4=B8=BB=E9=A1=B5=E2=80=94=E5=88=87=E6=8D=A2=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E5=BA=97=E9=93=BA=E8=BF=94=E5=9B=9E=EF=BC=8C=E5=86=8D=E6=AC=A1?= =?UTF-8?q?=E8=BF=9B=E5=85=A5=E5=BA=97=E9=93=BA=E4=B8=BB=E9=A1=B5=E6=97=B6?= =?UTF-8?q?=E6=9C=AA=E5=9B=BA=E5=AE=9A=E5=88=B0=E9=80=89=E6=8B=A9=E5=BA=97?= =?UTF-8?q?=E9=93=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesInn/components/jin-edit/homeList.vue | 1 + pagesInn/inn/innHome.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pagesInn/components/jin-edit/homeList.vue b/pagesInn/components/jin-edit/homeList.vue index 6e8e2ad..bd5852f 100644 --- a/pagesInn/components/jin-edit/homeList.vue +++ b/pagesInn/components/jin-edit/homeList.vue @@ -34,6 +34,7 @@ export default { queryHome(e) { this.$nextTick(() => { this.$emit('enter', this.list[e]) + uni.setStorageSync('homeId', this.list[e].id) this.show = false }) }, diff --git a/pagesInn/inn/innHome.vue b/pagesInn/inn/innHome.vue index 8642f8d..710b7ce 100644 --- a/pagesInn/inn/innHome.vue +++ b/pagesInn/inn/innHome.vue @@ -551,7 +551,7 @@ export default { break } if (id) { - this.id = id || null + this.id = uni.getStorageSync('homeId') || id this.partnerId = options.partnerId || null } else { let obj = uni.getEnterOptionsSync() From 455b230931e878cbddde45ed216db40719d77b68 Mon Sep 17 00:00:00 2001 From: linxi Date: Thu, 27 Mar 2025 14:58:59 +0800 Subject: [PATCH 24/33] =?UTF-8?q?Fix=EF=BC=9A3531=20=E3=80=90=E5=95=86?= =?UTF-8?q?=E5=9F=8E=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E5=BA=97=E9=93=BA?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E7=95=8C=E9=9D=A2=E8=B0=83=E6=95=B4=EF=BC=8C?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E6=94=B9=E4=B8=BA=E7=BA=A2=E8=89=B2=E8=89=B2?= =?UTF-8?q?=E5=80=BC=EF=BC=9A#BD3124?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesInn/components/jin-edit/homeList.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pagesInn/components/jin-edit/homeList.vue b/pagesInn/components/jin-edit/homeList.vue index bd5852f..f66523b 100644 --- a/pagesInn/components/jin-edit/homeList.vue +++ b/pagesInn/components/jin-edit/homeList.vue @@ -15,7 +15,7 @@ {{ item.name }} - 点击进入{{ item.id }} + 点击进入 @@ -69,7 +69,7 @@ export default { .enter-btn{ width: 118rpx; height: 42rpx; - background: #0DC5C5; + background: #BD3124; border-radius: 22rpx; padding: 2rpx 10rpx; text-align: center; @@ -95,7 +95,7 @@ export default { left: 0; width: 100%; height: 5px; - background-color: #0DC5C5; + background-color: #BD3124; border-radius: 20rpx; opacity: 0.5; } From 7c42efeb6b89743c1cf8414aae7dffe7eb1eac51 Mon Sep 17 00:00:00 2001 From: linxi Date: Thu, 27 Mar 2025 15:04:17 +0800 Subject: [PATCH 25/33] =?UTF-8?q?Fix=EF=BC=9A3529=20=E3=80=90=E5=95=86?= =?UTF-8?q?=E5=9F=8E=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E8=B4=AD=E7=89=A9?= =?UTF-8?q?=E9=A1=BB=E7=9F=A5=E8=A2=AB=E9=81=AE=E6=8C=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/shop/GoodsCon/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/shop/GoodsCon/index.vue b/pages/shop/GoodsCon/index.vue index 17ec6f2..8f38f0f 100644 --- a/pages/shop/GoodsCon/index.vue +++ b/pages/shop/GoodsCon/index.vue @@ -411,7 +411,7 @@ - + From ef4ce36eb298d2766d3c98d6f342c02a551b64fc Mon Sep 17 00:00:00 2001 From: linxi Date: Thu, 27 Mar 2025 15:23:02 +0800 Subject: [PATCH 26/33] =?UTF-8?q?Fix=EF=BC=9A3514=20=E3=80=90=E5=95=86?= =?UTF-8?q?=E5=9F=8E=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E5=BA=97=E9=93=BA?= =?UTF-8?q?=E4=B8=AD=E5=95=86=E5=93=81=E5=90=8D=E7=A7=B0=E8=BF=87=E9=95=BF?= =?UTF-8?q?=EF=BC=8C=E7=9C=81=E7=95=A5=E5=8F=B7=E5=90=8E=E7=AC=AC=E4=B8=89?= =?UTF-8?q?=E8=A1=8C=E4=BB=8D=E4=BC=9A=E6=BC=8F=E5=87=BA=E9=83=A8=E5=88=86?= =?UTF-8?q?=E5=AD=97=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesInn/inn/innHome.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pagesInn/inn/innHome.vue b/pagesInn/inn/innHome.vue index 710b7ce..c791e19 100644 --- a/pagesInn/inn/innHome.vue +++ b/pagesInn/inn/innHome.vue @@ -1102,11 +1102,9 @@ export default { background: #fff; .name { - padding: 8rpx 6rpx; + padding: 0 6rpx; font-size: 26rpx; - line-height: 36rpx; color: #333333; - height: 70rpx; } .price-line { From a43180b13240189e55241ad1b83b0d59f34dcb27 Mon Sep 17 00:00:00 2001 From: linxi Date: Thu, 27 Mar 2025 15:41:29 +0800 Subject: [PATCH 27/33] =?UTF-8?q?Fix=EF=BC=9A3461=20=E3=80=90=E5=95=86?= =?UTF-8?q?=E5=9F=8E=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E6=8E=A5=E6=94=B6?= =?UTF-8?q?=E6=9F=90=E4=B8=80=E4=B8=AA=E5=AE=A2=E6=9C=8D=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=EF=BC=8C=E4=BC=9A=E8=AF=9D=E9=A1=B5=E9=9D=A2=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=E8=81=8A=E5=A4=A9=E8=AE=B0=E5=BD=95=E7=9A=84=E4=BC=9A=E8=AF=9D?= =?UTF-8?q?=E5=9D=87=E6=98=BE=E7=A4=BA=E6=96=B0=E4=BF=A1=E6=81=AF=E7=9A=84?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E7=BA=A2=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg_common/views/roomLogs.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg_common/views/roomLogs.vue b/pkg_common/views/roomLogs.vue index ca79a90..0cc7e07 100644 --- a/pkg_common/views/roomLogs.vue +++ b/pkg_common/views/roomLogs.vue @@ -28,8 +28,8 @@ {{ item.last_msg.created_at }} - {{ item.last_msg.msg_type===0?item.last_msg.msg_content:'[图片]' }} - {{ item.unread_num < 99 ? item.unread_num : '99+' }} + {{ item.last_msg.msg_type===0?item.last_msg.msg_content:'[图片]' }} + {{ item.unread_num < 99 ? item.unread_num : '99+' }} From a3693e6c9a8dea9e7cb2ea290c7a9adc34a534d5 Mon Sep 17 00:00:00 2001 From: linxi Date: Thu, 27 Mar 2025 15:41:59 +0800 Subject: [PATCH 28/33] =?UTF-8?q?Fix=EF=BC=9A3461=20=E3=80=90=E5=95=86?= =?UTF-8?q?=E5=9F=8E=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E6=8E=A5=E6=94=B6?= =?UTF-8?q?=E6=9F=90=E4=B8=80=E4=B8=AA=E5=AE=A2=E6=9C=8D=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=EF=BC=8C=E4=BC=9A=E8=AF=9D=E9=A1=B5=E9=9D=A2=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=E8=81=8A=E5=A4=A9=E8=AE=B0=E5=BD=95=E7=9A=84=E4=BC=9A=E8=AF=9D?= =?UTF-8?q?=E5=9D=87=E6=98=BE=E7=A4=BA=E6=96=B0=E4=BF=A1=E6=81=AF=E7=9A=84?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E7=BA=A2=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg_common/views/roomLogs.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg_common/views/roomLogs.vue b/pkg_common/views/roomLogs.vue index 0cc7e07..045e4df 100644 --- a/pkg_common/views/roomLogs.vue +++ b/pkg_common/views/roomLogs.vue @@ -29,7 +29,7 @@ {{ item.last_msg.msg_type===0?item.last_msg.msg_content:'[图片]' }} - {{ item.unread_num < 99 ? item.unread_num : '99+' }} + {{ item.unread_num < 99 ? item.unread_num : '99+' }} From f079db8fc0050c36382a38959592716b086302f2 Mon Sep 17 00:00:00 2001 From: linxi Date: Thu, 27 Mar 2025 16:00:40 +0800 Subject: [PATCH 29/33] =?UTF-8?q?Fix=EF=BC=9A3443=20=E3=80=90=E5=95=86?= =?UTF-8?q?=E5=9F=8E=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E4=B8=BB=E9=A1=B5--=E6=8F=90=E7=8E=B0=E7=94=B3=E8=AF=B7--?= =?UTF-8?q?=E6=8F=90=E7=8E=B0=E8=AE=B0=E5=BD=95=E5=A2=9E=E5=8A=A0=E6=9A=82?= =?UTF-8?q?=E6=97=A0=E8=AE=B0=E5=BD=95=E7=9A=84=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg_user/views/withdrawalLog.vue | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/pkg_user/views/withdrawalLog.vue b/pkg_user/views/withdrawalLog.vue index 87eb7fb..9813651 100644 --- a/pkg_user/views/withdrawalLog.vue +++ b/pkg_user/views/withdrawalLog.vue @@ -25,9 +25,13 @@ ¥{{ item['extractPrice'] }} + - + + + + @@ -73,12 +77,22 @@ export default {