feat(web): 工具台页头图标换官方 icon(2026-11-23 用户口径「里面改成外面的 icon」)
- 京东三页(采集/上架/工具台)页头「富」字块→首页京东卡同源官方 JOY 狗(jd-logo.png,红底方形图自带形状) - 亚马逊顶栏「富」字块→首页同源官方字标,白色圆角小底承载 3:1 横版黑字标(页头深色底) - 视频页头部加黑色实底圆角方块+白色播放钮(与首页视频卡同源) - 纯界面件,无逻辑改动
This commit is contained in:
@@ -3,7 +3,9 @@
|
|||||||
<router-link class="home-back" :to="homeHref" title="返回首页">← 返回首页</router-link>
|
<router-link class="home-back" :to="homeHref" title="返回首页">← 返回首页</router-link>
|
||||||
|
|
||||||
<router-link class="brand" :to="toolbarHref" title="返回工具台首页">
|
<router-link class="brand" :to="toolbarHref" title="返回工具台首页">
|
||||||
<span class="brand-logo">富</span>
|
<!-- 页头图标与首页三卡同源(2026-11-23 用户口径「里面改成外面的 icon」):
|
||||||
|
亚马逊官方字标装白色圆角小底(页头深色底,黑字标直接放会看不见) -->
|
||||||
|
<span class="brand-logo"><img :src="amazonLogo" alt="" /></span>
|
||||||
<span class="brand-text">
|
<span class="brand-text">
|
||||||
<span class="brand-name">数富AI</span>
|
<span class="brand-name">数富AI</span>
|
||||||
<span class="brand-sub">亚马逊运营工具台</span>
|
<span class="brand-sub">亚马逊运营工具台</span>
|
||||||
@@ -41,6 +43,7 @@ import { computed, onMounted, ref } from 'vue'
|
|||||||
|
|
||||||
import BrandApiSecretSettingsButton from '@/pages/brand/components/BrandApiSecretSettingsButton.vue'
|
import BrandApiSecretSettingsButton from '@/pages/brand/components/BrandApiSecretSettingsButton.vue'
|
||||||
import NotificationBell from '@/shared/components/NotificationBell.vue'
|
import NotificationBell from '@/shared/components/NotificationBell.vue'
|
||||||
|
import amazonLogo from '@/pages/home/assets/amazon-logo.svg'
|
||||||
import { filterGroupsByPermission, TOOL_GROUPS } from '@/pages/amazon/tool-catalog'
|
import { filterGroupsByPermission, TOOL_GROUPS } from '@/pages/amazon/tool-catalog'
|
||||||
import type { VisibleGroup } from '@/pages/amazon/tool-catalog'
|
import type { VisibleGroup } from '@/pages/amazon/tool-catalog'
|
||||||
import { resolvePageHref } from '@/shared/page-prefix'
|
import { resolvePageHref } from '@/shared/page-prefix'
|
||||||
@@ -138,17 +141,21 @@ onMounted(async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.brand-logo {
|
.brand-logo {
|
||||||
|
/* 白底圆角芯片承载 3:1 横版官方字标(与首页亚马逊卡同源同色) */
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
width: 38px;
|
width: 58px;
|
||||||
height: 38px;
|
height: 38px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
background: #f59e0b;
|
background: #fff;
|
||||||
color: #fff;
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
|
||||||
font-size: 20px;
|
}
|
||||||
font-weight: 700;
|
|
||||||
box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
|
.brand-logo img {
|
||||||
|
display: block;
|
||||||
|
width: 46px;
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.brand-text {
|
.brand-text {
|
||||||
|
|||||||
@@ -1,7 +1,18 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-if="currentView === 'menu'" class="image-video-page">
|
<div v-if="currentView === 'menu'" class="image-video-page">
|
||||||
<header class="page-header">
|
<header class="page-header">
|
||||||
<span class="header-title">数富AI</span>
|
<div class="header-brand">
|
||||||
|
<!-- 页头图标与首页视频卡同源(2026-11-23 用户口径「里面改成外面的 icon」):
|
||||||
|
黑色实底圆角方块+白色播放钮 -->
|
||||||
|
<span class="brand-logo">
|
||||||
|
<svg viewBox="0 0 24 24" fill="none">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||||
|
d="M12 2.7c5.13 0 9.3 4.17 9.3 9.3s-4.17 9.3-9.3 9.3S2.7 17.13 2.7 12 6.87 2.7 12 2.7Zm-2.2 5.6 6.5 3.7-6.5 3.7V8.3Z"
|
||||||
|
fill="currentColor" />
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
<span class="header-title">数富AI</span>
|
||||||
|
</div>
|
||||||
<router-link class="back-link" :to="goHome()">返回首页</router-link>
|
<router-link class="back-link" :to="goHome()">返回首页</router-link>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
@@ -283,6 +294,31 @@ async function launchDesktop() {
|
|||||||
background: rgba(255, 255, 255, 0.5);
|
background: rgba(255, 255, 255, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header-brand {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand-logo {
|
||||||
|
/* 与首页视频卡同款:黑色实底圆角方块+白色播放钮 */
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
width: 34px;
|
||||||
|
height: 34px;
|
||||||
|
border-radius: 10px;
|
||||||
|
background: linear-gradient(135deg, #35353c, #0f0f13);
|
||||||
|
color: #fff;
|
||||||
|
box-shadow: 0 2px 8px rgba(31, 56, 88, 0.16);
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand-logo svg {
|
||||||
|
width: 17px;
|
||||||
|
height: 17px;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.header-title {
|
.header-title {
|
||||||
color: #333;
|
color: #333;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { computed, onMounted, onUnmounted, ref } from 'vue'
|
|||||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||||
import TaskCenterPanel from '@/shared/components/tasks/TaskCenterPanel.vue'
|
import TaskCenterPanel from '@/shared/components/tasks/TaskCenterPanel.vue'
|
||||||
import type { TaskItemView, TaskStatCard } from '@/shared/components/tasks/types'
|
import type { TaskItemView, TaskStatCard } from '@/shared/components/tasks/types'
|
||||||
|
import jdLogo from '@/pages/home/assets/jd-logo.png'
|
||||||
import {
|
import {
|
||||||
activateJdCollectTask,
|
activateJdCollectTask,
|
||||||
createJdCollectTask,
|
createJdCollectTask,
|
||||||
@@ -655,7 +656,8 @@ onUnmounted(() => {
|
|||||||
<router-link class="home-back" :to="homeHref" title="返回首页">← 返回首页</router-link>
|
<router-link class="home-back" :to="homeHref" title="返回首页">← 返回首页</router-link>
|
||||||
|
|
||||||
<div class="brand">
|
<div class="brand">
|
||||||
<span class="brand-logo">富</span>
|
<!-- 页头图标与首页京东卡同源(2026-11-23 用户口径「里面改成外面的 icon」):官方 JOY 狗 -->
|
||||||
|
<img class="brand-logo" :src="jdLogo" alt="" />
|
||||||
<span class="brand-text">
|
<span class="brand-text">
|
||||||
<span class="brand-name">数富AI</span>
|
<span class="brand-name">数富AI</span>
|
||||||
<span class="brand-sub">京东运营工具台</span>
|
<span class="brand-sub">京东运营工具台</span>
|
||||||
@@ -818,17 +820,11 @@ onUnmounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.brand-logo {
|
.brand-logo {
|
||||||
display: flex;
|
/* 官方 JOY 狗(与首页京东卡同源),红底方形图自带形状 */
|
||||||
align-items: center;
|
display: block;
|
||||||
justify-content: center;
|
|
||||||
width: 38px;
|
width: 38px;
|
||||||
height: 38px;
|
height: 38px;
|
||||||
border-radius: 8px;
|
filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
|
||||||
background: #e1251b;
|
|
||||||
color: #fff;
|
|
||||||
font-size: 20px;
|
|
||||||
font-weight: 700;
|
|
||||||
box-shadow: 0 2px 8px rgba(225, 37, 27, 0.32);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.brand-text {
|
.brand-text {
|
||||||
|
|||||||
@@ -4,7 +4,8 @@
|
|||||||
<router-link class="home-back" :to="homeHref" title="返回首页">← 返回首页</router-link>
|
<router-link class="home-back" :to="homeHref" title="返回首页">← 返回首页</router-link>
|
||||||
|
|
||||||
<div class="brand">
|
<div class="brand">
|
||||||
<span class="brand-logo">富</span>
|
<!-- 页头图标与首页京东卡同源(2026-11-23 用户口径「里面改成外面的 icon」):官方 JOY 狗 -->
|
||||||
|
<img class="brand-logo" :src="jdLogo" alt="" />
|
||||||
<span class="brand-text">
|
<span class="brand-text">
|
||||||
<span class="brand-name">数富AI</span>
|
<span class="brand-name">数富AI</span>
|
||||||
<span class="brand-sub">京东运营工具台</span>
|
<span class="brand-sub">京东运营工具台</span>
|
||||||
@@ -90,6 +91,7 @@ import { onBeforeUnmount, onMounted, ref } from 'vue'
|
|||||||
|
|
||||||
import NotificationBell from '@/shared/components/NotificationBell.vue'
|
import NotificationBell from '@/shared/components/NotificationBell.vue'
|
||||||
import BrandApiSecretSettingsButton from '@/pages/brand/components/BrandApiSecretSettingsButton.vue'
|
import BrandApiSecretSettingsButton from '@/pages/brand/components/BrandApiSecretSettingsButton.vue'
|
||||||
|
import jdLogo from '@/pages/home/assets/jd-logo.png'
|
||||||
import { resolvePageHref } from '@/shared/page-prefix'
|
import { resolvePageHref } from '@/shared/page-prefix'
|
||||||
import { getCurrentUserAppColumnKeys } from '@/shared/api/permission'
|
import { getCurrentUserAppColumnKeys } from '@/shared/api/permission'
|
||||||
import { filterJdToolsByPermission, JD_TOOLS, type JdToolInfo } from '@/pages/jd/tool-catalog'
|
import { filterJdToolsByPermission, JD_TOOLS, type JdToolInfo } from '@/pages/jd/tool-catalog'
|
||||||
@@ -197,17 +199,11 @@ onBeforeUnmount(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.brand-logo {
|
.brand-logo {
|
||||||
display: flex;
|
/* 官方 JOY 狗(与首页京东卡同源),红底方形图自带形状 */
|
||||||
align-items: center;
|
display: block;
|
||||||
justify-content: center;
|
|
||||||
width: 38px;
|
width: 38px;
|
||||||
height: 38px;
|
height: 38px;
|
||||||
border-radius: 8px;
|
filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
|
||||||
background: #e1251b;
|
|
||||||
color: #fff;
|
|
||||||
font-size: 20px;
|
|
||||||
font-weight: 700;
|
|
||||||
box-shadow: 0 2px 8px rgba(225, 37, 27, 0.32);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.brand-text {
|
.brand-text {
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { computed, onMounted, onUnmounted, ref, watch } from 'vue'
|
|||||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||||
import TaskCenterPanel from '@/shared/components/tasks/TaskCenterPanel.vue'
|
import TaskCenterPanel from '@/shared/components/tasks/TaskCenterPanel.vue'
|
||||||
import type { TaskItemView, TaskStatCard } from '@/shared/components/tasks/types'
|
import type { TaskItemView, TaskStatCard } from '@/shared/components/tasks/types'
|
||||||
|
import jdLogo from '@/pages/home/assets/jd-logo.png'
|
||||||
import {
|
import {
|
||||||
fetchJdCollectGroups,
|
fetchJdCollectGroups,
|
||||||
type JdCollectGroupVo,
|
type JdCollectGroupVo,
|
||||||
@@ -605,7 +606,8 @@ onUnmounted(() => {
|
|||||||
<header class="jd-top">
|
<header class="jd-top">
|
||||||
<router-link class="home-back" :to="homeHref" title="返回首页">← 返回首页</router-link>
|
<router-link class="home-back" :to="homeHref" title="返回首页">← 返回首页</router-link>
|
||||||
<div class="brand">
|
<div class="brand">
|
||||||
<span class="brand-logo">富</span>
|
<!-- 页头图标与首页京东卡同源(2026-11-23 用户口径「里面改成外面的 icon」):官方 JOY 狗 -->
|
||||||
|
<img class="brand-logo" :src="jdLogo" alt="" />
|
||||||
<span class="brand-text">
|
<span class="brand-text">
|
||||||
<span class="brand-name">数富AI</span>
|
<span class="brand-name">数富AI</span>
|
||||||
<span class="brand-sub">京东运营工具台</span>
|
<span class="brand-sub">京东运营工具台</span>
|
||||||
@@ -744,7 +746,7 @@ onUnmounted(() => {
|
|||||||
.home-back, .tool-head__back { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid #3e4a62; border-radius: 6px; color: #c8d2e2; font-size: 13px; text-decoration: none; white-space: nowrap; transition: all 0.2s; }
|
.home-back, .tool-head__back { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid #3e4a62; border-radius: 6px; color: #c8d2e2; font-size: 13px; text-decoration: none; white-space: nowrap; transition: all 0.2s; }
|
||||||
.home-back:hover, .tool-head__back:hover { background: #2b3447; color: #f5f8fc; }
|
.home-back:hover, .tool-head__back:hover { background: #2b3447; color: #f5f8fc; }
|
||||||
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
|
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
|
||||||
.brand-logo { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; background: #e1251b; color: #fff; font-size: 20px; font-weight: 700; box-shadow: 0 2px 8px rgba(225, 37, 27, 0.32); }
|
.brand-logo { /* 官方 JOY 狗(与首页京东卡同源),红底方形图自带形状 */ display: block; width: 38px; height: 38px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35)); }
|
||||||
.brand-text { display: flex; flex-direction: column; line-height: 1.35; }
|
.brand-text { display: flex; flex-direction: column; line-height: 1.35; }
|
||||||
.brand-name { color: #f5f8fc; font-size: 17px; font-weight: 700; white-space: nowrap; }
|
.brand-name { color: #f5f8fc; font-size: 17px; font-weight: 700; white-space: nowrap; }
|
||||||
.brand-sub { color: #a0acbe; font-size: 10px; white-space: nowrap; }
|
.brand-sub { color: #a0acbe; font-size: 10px; white-space: nowrap; }
|
||||||
|
|||||||
Reference in New Issue
Block a user