feat(web): 工具台页头图标换官方 icon(2026-11-23 用户口径「里面改成外面的 icon」)

- 京东三页(采集/上架/工具台)页头「富」字块→首页京东卡同源官方 JOY 狗(jd-logo.png,红底方形图自带形状)
- 亚马逊顶栏「富」字块→首页同源官方字标,白色圆角小底承载 3:1 横版黑字标(页头深色底)
- 视频页头部加黑色实底圆角方块+白色播放钮(与首页视频卡同源)
- 纯界面件,无逻辑改动
This commit is contained in:
2026-11-23 08:24:28 +08:00
parent 7aa87bd06a
commit 9611facd3b
5 changed files with 67 additions and 30 deletions
+6 -10
View File
@@ -3,6 +3,7 @@ import { computed, onMounted, onUnmounted, ref } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import TaskCenterPanel from '@/shared/components/tasks/TaskCenterPanel.vue'
import type { TaskItemView, TaskStatCard } from '@/shared/components/tasks/types'
import jdLogo from '@/pages/home/assets/jd-logo.png'
import {
activateJdCollectTask,
createJdCollectTask,
@@ -655,7 +656,8 @@ onUnmounted(() => {
<router-link class="home-back" :to="homeHref" title="返回首页">← 返回首页</router-link>
<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-name">数富AI</span>
<span class="brand-sub">京东运营工具台</span>
@@ -818,17 +820,11 @@ onUnmounted(() => {
}
.brand-logo {
display: flex;
align-items: center;
justify-content: center;
/* 官方 JOY 狗(与首页京东卡同源),红底方形图自带形状 */
display: block;
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);
filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
.brand-text {
+6 -10
View File
@@ -4,7 +4,8 @@
<router-link class="home-back" :to="homeHref" title="返回首页">← 返回首页</router-link>
<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-name">数富AI</span>
<span class="brand-sub">京东运营工具台</span>
@@ -90,6 +91,7 @@ import { onBeforeUnmount, onMounted, ref } from 'vue'
import NotificationBell from '@/shared/components/NotificationBell.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 { getCurrentUserAppColumnKeys } from '@/shared/api/permission'
import { filterJdToolsByPermission, JD_TOOLS, type JdToolInfo } from '@/pages/jd/tool-catalog'
@@ -197,17 +199,11 @@ onBeforeUnmount(() => {
}
.brand-logo {
display: flex;
align-items: center;
justify-content: center;
/* 官方 JOY 狗(与首页京东卡同源),红底方形图自带形状 */
display: block;
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);
filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
.brand-text {
+4 -2
View File
@@ -3,6 +3,7 @@ import { computed, onMounted, onUnmounted, ref, watch } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import TaskCenterPanel from '@/shared/components/tasks/TaskCenterPanel.vue'
import type { TaskItemView, TaskStatCard } from '@/shared/components/tasks/types'
import jdLogo from '@/pages/home/assets/jd-logo.png'
import {
fetchJdCollectGroups,
type JdCollectGroupVo,
@@ -605,7 +606,8 @@ onUnmounted(() => {
<header class="jd-top">
<router-link class="home-back" :to="homeHref" title="返回首页">← 返回首页</router-link>
<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-name">数富AI</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:hover, .tool-head__back:hover { background: #2b3447; color: #f5f8fc; }
.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-name { color: #f5f8fc; font-size: 17px; font-weight: 700; white-space: nowrap; }
.brand-sub { color: #a0acbe; font-size: 10px; white-space: nowrap; }