From aeb7ab15a3a588fcc5cdeead8b265f7d03ba542a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=BF=97=E5=86=9B?= <543024265@qq.com> Date: Fri, 27 Jun 2025 18:31:53 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E8=B4=A6=E6=88=B7?= =?UTF-8?q?=E4=BB=AA=E8=A1=A8=E7=9B=98=E7=BB=84=E4=BB=B6=E5=92=8C=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E6=8A=95=E6=94=BE=E6=8C=87=E5=8D=97=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../routes/modules/propertyMarketing.ts | 16 +- .../enterpriseKnowledge/materials.vue | 340 ------------------ .../brand-materials/index.vue | 2 +- .../brand-materials/style.scss | 0 .../components/echarts-item/index.vue | 109 ++++++ .../components/echarts-item/style.scss | 7 + .../put-account/account-dashboard/index.vue | 164 +++++++++ .../put-account/account-dashboard/style.scss | 68 ++++ .../components/month-data/index.vue | 2 +- .../components/month-data/style.scss | 46 +++ .../placement-suggestions/index.vue | 6 +- .../table-data/guideListHistory.vue | 32 +- .../components/table-data/listSearchForm.vue | 28 +- .../investment-guidelines/style.scss | 52 +-- 14 files changed, 465 insertions(+), 407 deletions(-) delete mode 100644 src/views/components/enterpriseKnowledge/materials.vue rename src/views/property-marketing/{enterpriseKnowledge => brands}/brand-materials/index.vue (98%) rename src/views/property-marketing/{enterpriseKnowledge => brands}/brand-materials/style.scss (100%) create mode 100644 src/views/property-marketing/put-account/account-dashboard/components/echarts-item/index.vue create mode 100644 src/views/property-marketing/put-account/account-dashboard/components/echarts-item/style.scss create mode 100644 src/views/property-marketing/put-account/account-dashboard/index.vue create mode 100644 src/views/property-marketing/put-account/account-dashboard/style.scss diff --git a/src/router/routes/modules/propertyMarketing.ts b/src/router/routes/modules/propertyMarketing.ts index affcb1e..1b1073b 100644 --- a/src/router/routes/modules/propertyMarketing.ts +++ b/src/router/routes/modules/propertyMarketing.ts @@ -12,7 +12,7 @@ const COMPONENTS: AppRouteRecordRaw[] = [ name: 'Repository', redirect: 'repository/brandMaterials', meta: { - locale: '企业知识库', + locale: '品牌资产管理', icon: IconBookmark, requiresAuth: true, roles: ['*'], @@ -24,11 +24,11 @@ const COMPONENTS: AppRouteRecordRaw[] = [ path: 'brandMaterials', name: 'RepositoryBrandMaterials', meta: { - locale: '品牌物料', + locale: '品牌信息', requiresAuth: true, roles: ['*'], }, - component: () => import('@/views/property-marketing/enterpriseKnowledge/brand-materials/index.vue'), + component: () => import('@/views/property-marketing/brands/brand-materials/index.vue'), }, ], }, @@ -56,7 +56,7 @@ const COMPONENTS: AppRouteRecordRaw[] = [ component: () => import('@/views/property-marketing/media-account/account-manage'), }, { - path: 'accountDashboard', + path: 'account-dashboard', name: 'MediaAccountAccountDashboard', meta: { locale: '账号看板', @@ -82,7 +82,7 @@ const COMPONENTS: AppRouteRecordRaw[] = [ name: 'PutAccount', redirect: 'put-account/accountManagement', meta: { - locale: '投放账户管理', + locale: '投放资源中心', icon: IconBookmark, requiresAuth: true, roles: ['*'], @@ -111,14 +111,14 @@ const COMPONENTS: AppRouteRecordRaw[] = [ component: () => import('@/views/property-marketing/repository/test'), }, { - path: 'accountDashboard', + path: 'account-dashboard', name: 'PutAccountAccountDashboard', meta: { - locale: '账号看板', + locale: '投放表现分析', requiresAuth: true, roles: ['*'], }, - component: () => import('@/views/property-marketing/repository/test'), + component: () => import('@/views/property-marketing/put-account/account-dashboard'), }, { path: 'investmentGuidelines', diff --git a/src/views/components/enterpriseKnowledge/materials.vue b/src/views/components/enterpriseKnowledge/materials.vue deleted file mode 100644 index b8b6843..0000000 --- a/src/views/components/enterpriseKnowledge/materials.vue +++ /dev/null @@ -1,340 +0,0 @@ - - - - - diff --git a/src/views/property-marketing/enterpriseKnowledge/brand-materials/index.vue b/src/views/property-marketing/brands/brand-materials/index.vue similarity index 98% rename from src/views/property-marketing/enterpriseKnowledge/brand-materials/index.vue rename to src/views/property-marketing/brands/brand-materials/index.vue index 0913a1a..efa96c9 100644 --- a/src/views/property-marketing/enterpriseKnowledge/brand-materials/index.vue +++ b/src/views/property-marketing/brands/brand-materials/index.vue @@ -118,7 +118,7 @@ import { ref, computed, reactive, onMounted } from 'vue'; import { Message } from '@arco-design/web-vue'; import { IconDelete } from '@arco-design/web-vue/es/icon'; import noDataImage from '@/assets/img/guide/no_data.png'; -import '@/views/property-marketing/enterpriseKnowledge/brand-materials/style.scss'; +import '@/views/property-marketing/brands/brand-materials/style.scss'; import { addMaterials, diff --git a/src/views/property-marketing/enterpriseKnowledge/brand-materials/style.scss b/src/views/property-marketing/brands/brand-materials/style.scss similarity index 100% rename from src/views/property-marketing/enterpriseKnowledge/brand-materials/style.scss rename to src/views/property-marketing/brands/brand-materials/style.scss diff --git a/src/views/property-marketing/put-account/account-dashboard/components/echarts-item/index.vue b/src/views/property-marketing/put-account/account-dashboard/components/echarts-item/index.vue new file mode 100644 index 0000000..fe4a1b4 --- /dev/null +++ b/src/views/property-marketing/put-account/account-dashboard/components/echarts-item/index.vue @@ -0,0 +1,109 @@ + + + + + diff --git a/src/views/property-marketing/put-account/account-dashboard/components/echarts-item/style.scss b/src/views/property-marketing/put-account/account-dashboard/components/echarts-item/style.scss new file mode 100644 index 0000000..1901c22 --- /dev/null +++ b/src/views/property-marketing/put-account/account-dashboard/components/echarts-item/style.scss @@ -0,0 +1,7 @@ +.echart-item-card { + width: 100%; + height: 50%; + margin:13px; + border-radius: 10px; + +} diff --git a/src/views/property-marketing/put-account/account-dashboard/index.vue b/src/views/property-marketing/put-account/account-dashboard/index.vue new file mode 100644 index 0000000..9aaebff --- /dev/null +++ b/src/views/property-marketing/put-account/account-dashboard/index.vue @@ -0,0 +1,164 @@ + + + + diff --git a/src/views/property-marketing/put-account/account-dashboard/style.scss b/src/views/property-marketing/put-account/account-dashboard/style.scss new file mode 100644 index 0000000..7354f45 --- /dev/null +++ b/src/views/property-marketing/put-account/account-dashboard/style.scss @@ -0,0 +1,68 @@ +.part-div { + width: 100%; + background: var(--BG-white, white); + overflow: hidden; + border-radius: 8px; + outline: 1px var(--BG-300, #E6E6E8) solid; + outline-offset: -1px; + flex-direction: column; + justify-content: flex-start; + display: inline-flex; + margin: 10px; +} + +.part-div-header { + align-self: stretch; + height: 64px; + padding: 10px 24px 10px 24px; + justify-content: flex-start; + align-items: center; + display: inline-flex +} + +:deep(.arco-select-view-single), +:deep(.arco-select-view-multiple), +:deep(.arco-picker), +:deep(.arco-input-wrapper) { + border-radius: 4px; + border-color: #d7d7d9; + background-color: #fff; + width: 224px; + height: 32px; + + &:focus-within, + &.arco-input-focus { + background-color: var(--color-bg-2); + border-color: rgb(var(--primary-6)); + box-shadow: 0 0 0 0 var(--color-primary-light-2); + } +} + +.search-btn { + // 搜索 + color: var(--Brand-6, #6d4cfe); + font-size: 14px; + font-family: Alibaba PuHuiTi; + font-weight: 400; + line-height: 22px; + height: 32px; + border-radius: 3px; + word-wrap: break-word; +} + +.reset-btn { + // 重置 + color: var(--Text-2, #3c4043); + font-size: 14px; + font-family: Alibaba PuHuiTi; + font-weight: 400; + line-height: 22px; + height: 32px; + border-radius: 3px; + word-wrap: break-word; +} + +.search-form { + margin: 20px; + +} diff --git a/src/views/property-marketing/put-account/investment-guidelines/components/month-data/index.vue b/src/views/property-marketing/put-account/investment-guidelines/components/month-data/index.vue index 2100587..28852b8 100644 --- a/src/views/property-marketing/put-account/investment-guidelines/components/month-data/index.vue +++ b/src/views/property-marketing/put-account/investment-guidelines/components/month-data/index.vue @@ -25,11 +25,11 @@ - diff --git a/src/views/property-marketing/put-account/investment-guidelines/components/month-data/style.scss b/src/views/property-marketing/put-account/investment-guidelines/components/month-data/style.scss index e69de29..18c7118 100644 --- a/src/views/property-marketing/put-account/investment-guidelines/components/month-data/style.scss +++ b/src/views/property-marketing/put-account/investment-guidelines/components/month-data/style.scss @@ -0,0 +1,46 @@ +//本月摘要数据-div +.month-data-div { + align-self: stretch; + padding: 16px 30px 16px 16px; + margin-left: 20px; + margin-right: 20px; + margin-bottom: 20px; + background: var(--Brand-Brand-1, #F0EDFF); + overflow: hidden; + border-radius: 8px; + flex-direction: column; + justify-content: flex-start; + align-items: flex-start; + gap: 12px; + display: flex; +} + +//本月摘要-蓝色字体 +.month-text-blue { + color: var(--Brand-Brand-6, #6D4CFE); + font-size: 16px; + font-family: Alibaba PuHuiTi; + font-weight: 400; + line-height: 24px; + word-wrap: break-word +} + +//红色字体 +.month-text-red { + color: var(--Functional-Danger-6, #F64B31); + font-size: 16px; + font-family: Alibaba PuHuiTi; + font-weight: 400; + line-height: 24px; + word-wrap: break-word +} + +//黑色字体 +.month-text-black { + color: var(--Text-1, #211F24); + font-size: 16px; + font-family: Alibaba PuHuiTi; + font-weight: 400; + line-height: 24px; + word-wrap: break-word +} diff --git a/src/views/property-marketing/put-account/investment-guidelines/components/placement-suggestions/index.vue b/src/views/property-marketing/put-account/investment-guidelines/components/placement-suggestions/index.vue index a688ebc..6c82c64 100644 --- a/src/views/property-marketing/put-account/investment-guidelines/components/placement-suggestions/index.vue +++ b/src/views/property-marketing/put-account/investment-guidelines/components/placement-suggestions/index.vue @@ -12,7 +12,7 @@
- +
总体策略 @@ -20,7 +20,7 @@
- +
预算分配 @@ -40,7 +40,7 @@
- +
人群包优化 diff --git a/src/views/property-marketing/put-account/investment-guidelines/components/table-data/guideListHistory.vue b/src/views/property-marketing/put-account/investment-guidelines/components/table-data/guideListHistory.vue index 7959801..930551f 100644 --- a/src/views/property-marketing/put-account/investment-guidelines/components/table-data/guideListHistory.vue +++ b/src/views/property-marketing/put-account/investment-guidelines/components/table-data/guideListHistory.vue @@ -7,7 +7,25 @@ :filter-icon-align-left="alignLeft" :pagination="false" > - + @@ -15,6 +33,7 @@ import top1 from '@/assets/img/captcha/top1.svg'; import top2 from '@/assets/img/captcha/top2.svg'; import top3 from '@/assets/img/captcha/top3.svg'; +import { IconDelete } from '@arco-design/web-vue/es/icon'; const listQuery = reactive({ project_id: ref(''), @@ -53,7 +72,7 @@ const columns = [ }, { title: '操作', - dataIndex: 'date', + dataIndex: 'operation', slotName: 'operation', width: 60, minWidth: 60, @@ -114,4 +133,13 @@ const topImages = [top1, top2, top3]; } } +.operation-btn { + // 下载 + color: var(--Brand-6, #6d4cfe); + font-size: 14px; + font-family: Alibaba PuHuiTi; + font-weight: 400; + line-height: 22px; + word-wrap: break-word; +} diff --git a/src/views/property-marketing/put-account/investment-guidelines/components/table-data/listSearchForm.vue b/src/views/property-marketing/put-account/investment-guidelines/components/table-data/listSearchForm.vue index 4100ba3..c0a0bea 100644 --- a/src/views/property-marketing/put-account/investment-guidelines/components/table-data/listSearchForm.vue +++ b/src/views/property-marketing/put-account/investment-guidelines/components/table-data/listSearchForm.vue @@ -52,13 +52,13 @@ - + - + @@ -95,4 +95,28 @@ const handleSearch = () => { box-shadow: 0 0 0 0 var(--color-primary-light-2); } } + +.search-btn { + // 搜索 + color: var(--Brand-6, #6d4cfe); + font-size: 14px; + font-family: Alibaba PuHuiTi; + font-weight: 400; + line-height: 22px; + height: 32px; + border-radius: 3px; + word-wrap: break-word; +} + +.reset-btn { + // 重置 + color: var(--Text-2, #3c4043); + font-size: 14px; + font-family: Alibaba PuHuiTi; + font-weight: 400; + line-height: 22px; + height: 32px; + border-radius: 3px; + word-wrap: break-word; +} diff --git a/src/views/property-marketing/put-account/investment-guidelines/style.scss b/src/views/property-marketing/put-account/investment-guidelines/style.scss index d392652..2dc697b 100644 --- a/src/views/property-marketing/put-account/investment-guidelines/style.scss +++ b/src/views/property-marketing/put-account/investment-guidelines/style.scss @@ -56,7 +56,6 @@ } - .month-data-body { width: 100%; padding-bottom: 20px; @@ -98,58 +97,11 @@ word-wrap: break-word } -//本月摘要-蓝色字体 -.month-text-blue { - color: var(--Brand-Brand-6, #6D4CFE); - font-size: 16px; - font-family: Alibaba PuHuiTi; - font-weight: 400; - line-height: 24px; - word-wrap: break-word -} - -//红色字体 -.month-text-red { - color: var(--Functional-Danger-6, #F64B31); - font-size: 16px; - font-family: Alibaba PuHuiTi; - font-weight: 400; - line-height: 24px; - word-wrap: break-word -} - -//黑色字体 -.month-text-black { - color: var(--Text-1, #211F24); - font-size: 16px; - font-family: Alibaba PuHuiTi; - font-weight: 400; - line-height: 24px; - word-wrap: break-word -} - -//本月摘要数据-div -.month-data-div { - align-self: stretch; - padding: 16px 30px 16px 16px; - margin-left: 20px; - margin-right: 20px; - margin-bottom: 20px; - background: var(--Brand-Brand-1, #F0EDFF); - overflow: hidden; - border-radius: 8px; - flex-direction: column; - justify-content: flex-start; - align-items: flex-start; - gap: 12px; - display: flex; -} //投放建议-总体策略 .overall-strategy { width: 100%; - height: 40%; - padding: 20px 24px 20px 16px; + padding: 20px 10px 20px 16px; background: var(--BG-100, #F7F8FA); overflow: hidden; border-radius: 8px; @@ -158,7 +110,7 @@ align-items: flex-start; gap: 12px; display: inline-flex; - margin: 10px 0px 15px 20px; + margin: 10px 24px 15px 20px; }