From 7a0b33a5f2e0ba589bf35a1b8d896700a21f94a4 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期四, 30 四月 2026 16:00:55 +0800
Subject: [PATCH] 支付宝支付dddadd

---
 small-program/pages/rich-text/rich-text.vue |   48 +++++++++++++++++++++++++++++++++---------------
 1 files changed, 33 insertions(+), 15 deletions(-)

diff --git a/small-program/pages/rich-text/rich-text.vue b/small-program/pages/rich-text/rich-text.vue
index 8337414..e53020d 100644
--- a/small-program/pages/rich-text/rich-text.vue
+++ b/small-program/pages/rich-text/rich-text.vue
@@ -13,30 +13,48 @@
 			}
 		},
 		onLoad(options) {
-			this.type = options.type || 'about'
+			this.type = Number(options.type || '0')
 			this.getPlatformAboutUs()
 		},
 		methods: {
 			async getPlatformAboutUs() {
 				const res = await this.$u.api.getPlatformAboutUs({ type: this.type })
 				if (res.code === 200) {
-					if (this.type === 'about') {
-						this.content = res.data.aboutUs || ''
-					} else if (this.type === 'protocol') {
-						this.content = res.data.userAgreement || ''
-					} else if (this.type === 'privacy') {
-						this.content = res.data.privacyAgreement || ''
-					} else if (this.type === 'contact') {
-						this.content = res.data.aboutUs || ''
-					} else if (this.type === 'serverIntroduce') {
+					 if (this.type === 0) {
+						this.content = res.data.userServiceAgreement || ''
+					} else if (this.type ===  1) {
+						this.content = res.data.userPrivacyPolicy || ''
+					} else if (this.type === 2) {
+						this.content = res.data.storeCooperationAgreement || ''
+					} else if (this.type ===3) {
+						this.content = res.data.storePrivacyPolicy || ''
+					} else if (this.type === 4) {
 						this.content = res.data.serverIntroduce || ''
+					}  else if (this.type === 5) {
+						this.content = res.data.aboutUs || ''
+					}  else if (this.type === 6) {
+						this.content = res.data.storeRiskCommitment || ''
+					} else if (this.type === 7) {
+						this.content = res.data.storeLuggageStorageNotice || ''
+					} else if (this.type === 8) {
+						this.content = res.data.storeCooperationAgreement || ''
+					}else if (this.type === 9) {
+						this.content = res.data.priceDescription || ''
+					}else if (this.type === 10) {
+						this.content = res.data.prohibitedItems || ''
 					}
 					const titleMap = {
-						'about': '鍏充簬鎴戜滑',
-						'protocol': '鐢ㄦ埛鍗忚',
-						'privacy': '闅愮鏀跨瓥',
-						'contact': '鐢ㄦ埛鍗忚',
-						'serverIntroduce': '瑙勮寖椤荤煡'
+						0: '鐢ㄦ埛鏈嶅姟鍗忚',
+						1: '鐢ㄦ埛闅愮鏀跨瓥',
+						2: '闂ㄥ簵鍚堜綔鍗忚',
+						3: '闂ㄥ簵闅愮鏀跨瓥',
+						4: '瑙勮寖椤荤煡',
+						5: '鍏充簬鎴戜滑',
+						6: '椋庨櫓鎵胯',
+						7: '琛屾潕瀵勫瓨椤荤煡',
+						8: '浠g悊鐐瑰悎浣滃崗璁�',
+						9: '浠锋牸璇存槑',
+						10: '绂佸瘎鐗╁搧',
 					}
 					uni.setNavigationBarTitle({
 						title: titleMap[this.type] || '璇︽儏'

--
Gitblit v1.9.3