From 47d56a8b0f22fb15a46b69dfd46fac23560ad2cd Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期二, 12 五月 2026 09:07:49 +0800
Subject: [PATCH] 改bug

---
 mini-program/pages/details/details.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/mini-program/pages/details/details.vue b/mini-program/pages/details/details.vue
index a90e2d8..70e7afc 100644
--- a/mini-program/pages/details/details.vue
+++ b/mini-program/pages/details/details.vue
@@ -26,8 +26,8 @@
 					<u-parse :content="info.content"></u-parse>
 				</view>
 			</view>
-			<view style="width: 100%; height: calc(env(safe-area-inset-bottom) + 108rpx);"></view>
-			<view class="footer">
+			<view style="width: 100%; height: calc(env(safe-area-inset-bottom) + 108rpx);" v-if="!type"></view>
+			<view class="footer" v-if="!type">
 				<view class="edit">
 					<view class="edit-left">
 						<view class="edit-left-row" @click="shoucang">
@@ -108,13 +108,14 @@
 				info: null,
 				cardObj: null,
 				show: false,
+				type: null,
 				num: 1
 			};
 		},
 		onLoad(option) {
 			this.id = option.id
+			this.type = option.type
 			this.getDetails()
-			
 		},
 		onShow() {
 			if (this.userInfo) {

--
Gitblit v1.9.3