From 573af348894b4b6ddcf89b11081952d6f4628bba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=BF=97=E5=86=9B?= <543024265@qq.com> Date: Wed, 25 Jun 2025 19:33:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=95=E6=94=BE=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../routes/modules/propertyMarketing.ts | 2 +- .../account-placement/placementGuide.less | 181 +++++++ .../account-placement/placementGuide.vue | 509 ++++++------------ 3 files changed, 350 insertions(+), 342 deletions(-) create mode 100644 src/views/property-marketing/account-placement/placementGuide.less diff --git a/src/router/routes/modules/propertyMarketing.ts b/src/router/routes/modules/propertyMarketing.ts index 5f9ba46..a15af43 100644 --- a/src/router/routes/modules/propertyMarketing.ts +++ b/src/router/routes/modules/propertyMarketing.ts @@ -128,7 +128,7 @@ const COMPONENTS: AppRouteRecordRaw[] = [ requiresAuth: true, roles: ['*'], }, - component: () => import('@/views/property-marketing/repository/test'), + component: () => import('@/views/property-marketing/account-placement/placementGuide'), }, ], }, diff --git a/src/views/property-marketing/account-placement/placementGuide.less b/src/views/property-marketing/account-placement/placementGuide.less new file mode 100644 index 0000000..58e2f49 --- /dev/null +++ b/src/views/property-marketing/account-placement/placementGuide.less @@ -0,0 +1,181 @@ +.placement-guide-style { + //每块div布局 + .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; + } + + //每块div 头部 + .part-div-header { + align-self: stretch; + height: 64px; + padding-left: 24px; + padding-right: 24px; + padding-top: 10px; + padding-bottom: 10px; + justify-content: flex-start; + align-items: center; + display: inline-flex + } + + //每块div 标题 + .part-div-header-title { + justify-content: center; + display: flex; + flex-direction: column; + color: var(--Text-1, #211F24); + font-size: 18px; + font-family: Alibaba PuHuiTi; + font-weight: 400; + line-height: 26px; + word-wrap: break-word; + } + + + //账户列表-表格 + .account-table { + padding: 1px 24px 20px 24px; + width: 100%; + } + + //账户列表-分页 + .account-page { + margin-left: 300px; + + } + + .month-data-body { + width: 100%; + padding-bottom: 20px; + padding-left: 24px; + padding-right: 24px; + 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; + align-items: center; + display: inline-flex; + margin: 10px; + } + + //本周摘要div + .month-body-div { + align-self: stretch; + height: 64px; + padding-top: 10px; + padding-bottom: 10px; + justify-content: space-between; + align-items: center; + display: inline-flex + } + + //本月摘要标题 + .month-data-title { + justify-content: center; + display: flex; + flex-direction: column; + color: var(--Text-1, #211F24); + font-size: 18px; + font-family: Alibaba PuHuiTi; + font-weight: 400; + line-height: 26px; + 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; + background: var(--BG-100, #F7F8FA); + overflow: hidden; + border-radius: 8px; + flex-direction: column; + justify-content: flex-start; + align-items: flex-start; + gap: 12px; + display: inline-flex; + margin: 10px 0px 15px 20px; + + } + + //投放优化每块div小标题 + .placement-optimization-title { + // 总体策略 + color: var(--Text-1, #211F24); + font-size: 16px; + font-family: Alibaba PuHuiTi; + font-weight: 400; + line-height: 22px; + word-wrap: break-word + } + + .placement-optimization-str { + align-self: stretch; + color: var(--Text-2, #3C4043); + font-size: 14px; + font-family: Alibaba PuHuiTi; + font-weight: 400; + line-height: 22px; + word-wrap: break-word + } + +} diff --git a/src/views/property-marketing/account-placement/placementGuide.vue b/src/views/property-marketing/account-placement/placementGuide.vue index 8100fa8..1629a6e 100644 --- a/src/views/property-marketing/account-placement/placementGuide.vue +++ b/src/views/property-marketing/account-placement/placementGuide.vue @@ -1,374 +1,201 @@