From 122e339857fe8588aa55c5f9386b303ffc1b8136 Mon Sep 17 00:00:00 2001
From: liushiwei <499672082@qq.com>
Date: Sun, 15 Oct 2023 22:09:33 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/AiAvatar.vue | 68 +++++
src/components/AiCard.vue | 1 -
src/components/AiCopyFromTemu.vue | 264 ++++++++++++++++++
src/components/AiProductDetail.vue | 48 +++-
src/components/AiProductDropDown.vue | 80 ++++++
src/router/index.js | 2 +-
src/utils/product.js | 12 +-
src/view/selection/NiubiCopy.vue | 254 +----------------
src/view/selection/keywordtrack/Index.vue | 57 ++++
.../keywordtrack/components/Detail.vue | 169 +++++++++++
.../keywordtrack/components/List.vue | 241 ++++++++++++++++
.../storetrack/components/Detail.vue | 57 ++--
12 files changed, 964 insertions(+), 289 deletions(-)
create mode 100644 src/components/AiAvatar.vue
create mode 100644 src/components/AiCopyFromTemu.vue
create mode 100644 src/components/AiProductDropDown.vue
create mode 100644 src/view/selection/keywordtrack/Index.vue
create mode 100644 src/view/selection/keywordtrack/components/Detail.vue
create mode 100644 src/view/selection/keywordtrack/components/List.vue
diff --git a/src/components/AiAvatar.vue b/src/components/AiAvatar.vue
new file mode 100644
index 0000000..b93f543
--- /dev/null
+++ b/src/components/AiAvatar.vue
@@ -0,0 +1,68 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/AiCard.vue b/src/components/AiCard.vue
index 83bf93d..cd9c36b 100644
--- a/src/components/AiCard.vue
+++ b/src/components/AiCard.vue
@@ -44,7 +44,6 @@
.ai-card__body {
height: calc(100% - 72px);
padding: 0 20px 0;
- overflow-y: auto;
}
&.panel, &.headerPanel {
diff --git a/src/components/AiCopyFromTemu.vue b/src/components/AiCopyFromTemu.vue
new file mode 100644
index 0000000..5fc6085
--- /dev/null
+++ b/src/components/AiCopyFromTemu.vue
@@ -0,0 +1,264 @@
+
+
+
+
+
+ TEMU
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取 消
+ 确定
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/AiProductDetail.vue b/src/components/AiProductDetail.vue
index ae1cf95..cc8919a 100644
--- a/src/components/AiProductDetail.vue
+++ b/src/components/AiProductDetail.vue
@@ -2,13 +2,16 @@
+
-
-
-
-
-
+
@@ -20,11 +23,15 @@
+
diff --git a/src/router/index.js b/src/router/index.js
index 9b6d477..7d4280e 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -75,7 +75,7 @@ const router = new VueRouter({
{
path: 'keywordTrack',
name: 'keywordTrack',
- component: () => import('../view/selection/KeywordTrack.vue')
+ component: () => import('../view/selection/keywordtrack/Index.vue')
},
{
diff --git a/src/utils/product.js b/src/utils/product.js
index bcfbd0b..8257a31 100644
--- a/src/utils/product.js
+++ b/src/utils/product.js
@@ -16,7 +16,6 @@ export function transform(leftData) {
// 普通属性
rightData.productName = leftData.productName;
rightData.materialMultiLanguages = leftData.productLocalExtAttr.materialMultiLanguages;
- rightData.productI18nReqs = leftData.productI18nList;
rightData.productPropertyReqs = [];
for (let i = 0; i < leftData.productPropertyList.length; i++) {
rightData.productPropertyReqs.push({
@@ -121,9 +120,18 @@ export function transform(leftData) {
imageUrl: leftData.outerPackageImages[i].imageUrl
})
}
+ if (leftData.productGuideFileI18nList) {
+ rightData.productGuideFileI18nReqs = leftData.productGuideFileI18nList.map(item => {
+ return {fileName: item.fileName,
+ fileUrl: item.fileUrl,
+ language: item.language,
+ languages: item.languages}
+ });
+ } else {
+ rightData.productGuideFileI18nReqs = []
+ }
rightData.productOuterPackageReq = leftData.productWhExtAttr.productOuterPackage;
rightData.sensitiveTransNormalFileReqs = leftData.productWhExtAttr.sensitiveTransNormalFiles;
- rightData.productGuideFileI18nReqs = leftData.productGuideFileI18nList;
rightData.productSaleExtAttrReq = {};
rightData.productDraftId = "";
diff --git a/src/view/selection/NiubiCopy.vue b/src/view/selection/NiubiCopy.vue
index b8e36eb..4e279f6 100644
--- a/src/view/selection/NiubiCopy.vue
+++ b/src/view/selection/NiubiCopy.vue
@@ -60,44 +60,16 @@
width="790px"
customFooter
@close="handleClose">
-
-
-
- TEMU
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
diff --git a/src/view/selection/keywordtrack/components/Detail.vue b/src/view/selection/keywordtrack/components/Detail.vue
new file mode 100644
index 0000000..38a4497
--- /dev/null
+++ b/src/view/selection/keywordtrack/components/Detail.vue
@@ -0,0 +1,169 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
${{ item.priceAndSale[0].price }}
+
{{ item.priceAndSale[0].sale_total }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/view/selection/keywordtrack/components/List.vue b/src/view/selection/keywordtrack/components/List.vue
new file mode 100644
index 0000000..a94eb7e
--- /dev/null
+++ b/src/view/selection/keywordtrack/components/List.vue
@@ -0,0 +1,241 @@
+
+
+
+
+
+
+
+
+
+ 添加关键字
+
+
+
+
+
+
+
+
+
+ 删除
+ 续费
+ 详情
+ 采集数据
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/view/selection/storetrack/components/Detail.vue b/src/view/selection/storetrack/components/Detail.vue
index 8993bdb..38a4497 100644
--- a/src/view/selection/storetrack/components/Detail.vue
+++ b/src/view/selection/storetrack/components/Detail.vue
@@ -16,17 +16,7 @@
${{ item.priceAndSale[0].price }}
{{ item.priceAndSale[0].sale_total }}
-
-
- 操作
-
-
- 查看详情
- 复制商品
- 访问商品
- 访问店铺
-
-
+
@@ -34,24 +24,27 @@
-
-
-
+