From b78d53df5d3d489ef91cc1122ff490e201ff9dd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E6=AC=A7=EF=BC=88=E6=9E=97=E5=B9=B3=E5=87=A1?= =?UTF-8?q?=EF=BC=89?= Date: Mon, 18 Aug 2025 17:55:40 +0800 Subject: [PATCH] 1 --- .env.development | 4 +- src/App.vue | 8 +- src/api/system/favoriteProduct.js | 128 ++ src/api/system/prdErrorTip.js | 60 + src/assets/styles/custom-sidebar.scss | 87 ++ src/assets/styles/index.scss | 1 + src/assets/styles/sidebar.scss | 35 +- src/assets/styles/variables.scss | 12 +- src/layout/components/Settings/index.vue | 102 +- src/layout/components/Sidebar/Logo.vue | 66 +- src/router/index.js | 80 +- src/views/system/favoriteProduct/index.vue | 631 +++++++++ src/views/system/xbmessage/index.vue | 1376 +++++++++++++++++++- 13 files changed, 2414 insertions(+), 176 deletions(-) create mode 100644 src/api/system/favoriteProduct.js create mode 100644 src/api/system/prdErrorTip.js create mode 100644 src/assets/styles/custom-sidebar.scss create mode 100644 src/views/system/favoriteProduct/index.vue diff --git a/.env.development b/.env.development index 56c8d55..06cec22 100644 --- a/.env.development +++ b/.env.development @@ -9,6 +9,6 @@ VUE_APP_BASE_API = '' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true - -VUE_APP_BASE_API = 'http://127.0.0.1:30313' +VUE_APP_BASE_API = 'http://134.175.126.60:30313' +# VUE_APP_BASE_API = 'http://127.0.0.1:30313' port = 8888 diff --git a/src/App.vue b/src/App.vue index 12df51d..4a11e6a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,16 +1,16 @@ diff --git a/src/views/system/xbmessage/index.vue b/src/views/system/xbmessage/index.vue index b24b444..7aba031 100644 --- a/src/views/system/xbmessage/index.vue +++ b/src/views/system/xbmessage/index.vue @@ -197,6 +197,8 @@ @@ -271,12 +273,267 @@ 关 闭 + + + +
+ + + + + {{ decodeUnicode(quickLinkProduct.skuName) || '-' }} + {{ quickLinkProduct.firstPrice ? `¥${quickLinkProduct.firstPrice}` : '-' }} + {{ decodeUnicode(getJsonValue(quickLinkProduct.jsonQueryResult, 'shopInfo.shopName')) || '-' }} + {{ getJsonValue(quickLinkProduct.jsonQueryResult, 'commissionInfo.commission') ? `¥${getJsonValue(quickLinkProduct.jsonQueryResult, 'commissionInfo.commission')}` : '-' }} + {{ getJsonValue(quickLinkProduct.jsonQueryResult, 'commissionInfo.commissionShare') ? `${getJsonValue(quickLinkProduct.jsonQueryResult, 'commissionInfo.commissionShare')}%` : '-' }} + + + +
+

转链结果:

+ + +
+
商品列表 ({{ parsedQuickLinkResult.length }}个商品):
+ + + + + + {{ product.skuName || '-' }} + {{ product.shopName || '-' }} + ¥{{ product.commission || '-' }} + {{ product.commissionShare || '-' }}% + {{ product.spuid || '-' }} + + {{ product.url || '-' }} + + + + +
+
文案版本 ({{ product.wenan.length }}个):
+ + + +
+ 复制此版本 + 发品 +
+
+
+
+ + +
+
商品图片 ({{ product.images.length }}张):
+
+
+ +
+ 复制链接 +
+
+
+
+ + +
+ 发品 +
+
+
+
+ + +
+
原始数据:
+ +
+ 复制原始数据 +
+
+
+ + +
+ + 生成转链内容 + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ 使用 + 复制 +
+
+
+
+ 全选 + 全不选 + 反选 +
+
+ + + + + + + + + + + + + + + + + +
+ + + + + + + + + +
+
+ + + + + + + + + + + + + + +
+ 格式:SKUID + 001/002/003... 递增编号,留空则系统自动生成 +
+
+ + + + + + + + + + + + + + + + +
+
+ {{ p.propertyName }}: + + + +
+
+
无属性或请选择类型和类目后加载
+
+ + + + + + + + +
+ +