diff --git a/src/api/other.ts b/src/api/other.ts
new file mode 100644
index 0000000..3df0769
--- /dev/null
+++ b/src/api/other.ts
@@ -0,0 +1,10 @@
+import { request } from '@/utils/request'
+
+// 富文本案例介绍
+export const editorApi = (data : { key : string }) => {
+ return request({
+ method: 'POST',
+ url: 'api/index/editor',
+ data,
+ })
+}
diff --git a/src/pages.json b/src/pages.json
index 13d30cd..4a315aa 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -101,7 +101,7 @@
"pages": [{
"path": "pages/blank/rich-text",
"style": {
- "navigationBarTitleText": "",
+ "navigationBarTitleText": ""
// #ifdef WEB
"navigationStyle": "custom"
// #endif
diff --git a/src/pagesOther/pages/blank/rich-text.vue b/src/pagesOther/pages/blank/rich-text.vue
index ff0c276..08c2d5a 100644
--- a/src/pagesOther/pages/blank/rich-text.vue
+++ b/src/pagesOther/pages/blank/rich-text.vue
@@ -1,24 +1,47 @@
-
-
-
+
+
+
+
diff --git a/src/pagesShop/pages/settings/settings.vue b/src/pagesShop/pages/settings/settings.vue
index bf7c96f..0d3fa75 100644
--- a/src/pagesShop/pages/settings/settings.vue
+++ b/src/pagesShop/pages/settings/settings.vue
@@ -33,9 +33,7 @@ const onLogout = () => {
// 跳转富文本
const toRichTextPage = (type: string) => {
const agreements = settngStore.data.agreement
-
const content = encodeURIComponent(agreements[type as keyof typeof agreements])
-
uni.navigateTo({
url: `${pageUrl['rich-text']}?content=${content}`,
})
diff --git a/src/utils/constants.ts b/src/utils/constants.ts
index d841f0f..4a8e23e 100644
--- a/src/utils/constants.ts
+++ b/src/utils/constants.ts
@@ -53,43 +53,43 @@ export const isIOSWithHomeIndicator = () => {
*/
export enum pageUrl {
// pages
- 'index' = '/pages/index/index',
- 'my' = '/pages/my/my',
- 'cart' = '/pages/cart/cart',
- 'category' = '/pages/category/category',
+ 'index' = '/pages/home/index',
+ 'my' = '/pages/my/userCenter',
+ 'assistant' = 'pages/assistant/index',
+ 'todo' = 'pages/todo/index',
// pagesGoods
- 'goods-list' = '/pagesGoods/pages/list/list',
- 'goods-detail' = '/pagesGoods/pages/goods/goods',
- 'goods-evaluate' = '/pagesGoods/pages/evaluate/evaluate',
- 'goods-search' = '/pagesGoods/pages/search/search',
+ 'goods-list' = '/pagesShop/pages/list/list',
+ 'goods-detail' = '/pagesShop/pages/goods/goods',
+ 'goods-evaluate' = '/pagesShop/pages/evaluate/evaluate',
+ 'goods-search' = '/pagesShop/pages/search/search',
// pagesOrder
- 'order-create' = '/pagesOrder/pages/create/create',
- 'order-detail' = '/pagesOrder/pages/detail/detail',
- 'order-pay' = '/pagesOrder/pages/payment/pay',
- 'order-payment' = '/pagesOrder/pages/payment/payment',
- 'order-list' = '/pagesOrder/pages/list/list',
- 'order-receive' = '/pagesOrder/pages/receive/receive',
- 'order-evaluate' = '/pagesOrder/pages/evaluate/evaluate',
- 'order-refund' = '/pagesOrder/pages/refund/refund',
- 'order-refund-list' = '/pagesOrder/pages/refund/list',
- 'order-refund-detail' = '/pagesOrder/pages/refund/detail',
- 'order-delivery' = '/pagesOrder/pages/delivery/delivery',
- 'order-center' = '/pagesOrder/pages/center/center',
- 'recharge-order-list' = '/pagesOrder/pages/recharge/list',
+ 'order-create' = '/pagesShop/pages/create/create',
+ 'order-detail' = '/pagesShop/pages/detail/detail',
+ 'order-pay' = '/pagesShop/pages/payment/pay',
+ 'order-payment' = '/pagesShop/pages/payment/payment',
+ 'order-list' = '/pagesShop/pages/list/list',
+ 'order-receive' = '/pagesShop/pages/receive/receive',
+ 'order-evaluate' = '/pagesShop/pages/evaluate/evaluate',
+ 'order-refund' = '/pagesShop/pages/refund/refund',
+ 'order-refund-list' = '/pagesShop/pages/refund/list',
+ 'order-refund-detail' = '/pagesShop/pages/refund/detail',
+ 'order-delivery' = '/pagesShop/pages/delivery/delivery',
+ 'order-center' = '/pagesShop/pages/center/center',
+ 'recharge-order-list' = '/pagesShop/pages/recharge/list',
// pagesMember
- 'login' = '/pagesMember/pages/login/login',
- 'setting' = '/pagesMember/pages/settings/settings',
- 'profile' = '/pagesMember/pages/profile/profile',
- 'address' = '/pagesMember/pages/address/address',
- 'address-form' = '/pagesMember/pages/address/address-form',
- 'balance' = '/pagesMember/pages/balance/balance',
- 'balance-recharge' = '/pagesMember/pages/balance/recharge',
- 'coupon' = '/pagesMember/pages/coupon/coupon',
- 'coupon-center' = '/pagesMember/pages/coupon/center',
- 'favorite' = '/pagesMember/pages/favorite/favorite',
+ 'login' = '/pagesShop/pages/login/login',
+ 'setting' = '/pagesShop/pages/settings/settings',
+ 'profile' = '/pagesShop/pages/profile/profile',
+ 'address' = '/pagesShop/pages/address/address',
+ 'address-form' = '/pagesShop/pages/address/address-form',
+ 'balance' = '/pagesShop/pages/balance/balance',
+ 'balance-recharge' = '/pagesShop/pages/balance/recharge',
+ 'coupon' = '/pagesShop/pages/coupon/coupon',
+ 'coupon-center' = '/pagesShop/pages/coupon/center',
+ 'favorite' = '/pagesShop/pages/favorite/favorite',
// pagesOther
'rich-text' = '/pagesOther/pages/blank/rich-text',