diff --git a/.env.base b/.env.base
index a7ed28d..e691056 100644
--- a/.env.base
+++ b/.env.base
@@ -8,7 +8,7 @@ VITE_API_BASE_PATH=
VITE_BASE_PATH=/
# 标题
-VITE_APP_TITLE=FruitShorts
+VITE_APP_TITLE=YMB
# 是否全量引入element-plus样式
VITE_USE_ALL_ELEMENT_PLUS_STYLE=true
diff --git a/.env.dev b/.env.dev
index f239e31..f64eff1 100644
--- a/.env.dev
+++ b/.env.dev
@@ -20,7 +20,7 @@ VITE_SOURCEMAP=true
VITE_OUT_DIR=dist-dev
# 标题
-VITE_APP_TITLE=FruitShorts
+VITE_APP_TITLE=YMB
# 是否包分析
VITE_USE_BUNDLE_ANALYZER=false
diff --git a/.env.pro b/.env.pro
index 06f9291..ecf454a 100644
--- a/.env.pro
+++ b/.env.pro
@@ -20,7 +20,7 @@ VITE_SOURCEMAP=false
VITE_OUT_DIR=dist-pro
# 标题
-VITE_APP_TITLE=FruitShorts
+VITE_APP_TITLE=YMB
# 是否包分析
VITE_USE_BUNDLE_ANALYZER=true
diff --git a/.env.test b/.env.test
index 56fdea5..9a924e6 100644
--- a/.env.test
+++ b/.env.test
@@ -20,7 +20,7 @@ VITE_SOURCEMAP=true
VITE_OUT_DIR=dist-test
# 标题
-VITE_APP_TITLE=FruitShorts
+VITE_APP_TITLE=YMB
# 是否包分析
VITE_USE_BUNDLE_ANALYZER=false
diff --git a/index.html b/index.html
index 14fed37..ce4dcf1 100644
--- a/index.html
+++ b/index.html
@@ -2,7 +2,7 @@
-
+
<%= title %>
@@ -32,12 +32,32 @@
}
.app-loading .app-loading-title {
- margin-bottom: 30px;
- font-size: 20px;
- font-weight: bold;
+ margin-bottom: 24px;
text-align: center;
}
+ .app-loading .app-loading-brand-word {
+ margin-top: 2px;
+ font-family:
+ Inter,
+ ui-sans-serif,
+ system-ui,
+ -apple-system,
+ BlinkMacSystemFont,
+ sans-serif;
+ font-size: 21px;
+ font-weight: 800;
+ line-height: 1;
+ letter-spacing: 0.34em;
+ color: transparent;
+ text-indent: 0.34em;
+ background: linear-gradient(100deg, #ffb21a 0%, #ffd76a 48%, #ff6b4a 100%);
+ filter: drop-shadow(0 4px 12px rgb(255 130 55 / 24%));
+ animation: ymb-wordmark-breathe 1.8s ease-in-out infinite;
+ background-clip: text;
+ background-clip: text;
+ }
+
.app-loading .app-loading-logo {
width: 72px;
margin: 0 auto 15px;
@@ -47,66 +67,78 @@
.app-loading .app-loading-item {
position: relative;
display: inline-block;
- width: 60px;
- height: 60px;
+ width: 72px;
+ height: 72px;
vertical-align: middle;
border-radius: 50%;
+ animation: ymb-loading-pulse 1.4s ease-in-out infinite;
}
- .app-loading .app-loading-outter {
- position: absolute;
- width: 100%;
- height: 100%;
- border: 4px solid #c4322a;
- border-bottom: 0;
- border-left-color: transparent;
+ .app-loading .app-loading-spinner {
+ display: flex;
+ width: 72px;
+ height: 18px;
+ align-items: center;
+ justify-content: center;
+ gap: 7px;
+ }
+
+ .app-loading .app-loading-spinner::before,
+ .app-loading .app-loading-spinner::after,
+ .app-loading .app-loading-dot {
+ width: 8px;
+ height: 8px;
+ background: #ffb21a;
border-radius: 50%;
- animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
+ content: '';
+ animation: ymb-loading-dot 1.1s ease-in-out infinite;
}
- .app-loading .app-loading-inner {
- position: absolute;
- top: calc(50% - 20px);
- left: calc(50% - 20px);
- width: 40px;
- height: 40px;
- border: 4px solid #ff8a72;
- border-right: 0;
- border-top-color: transparent;
- border-radius: 50%;
- animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
+ .app-loading .app-loading-spinner::after {
+ animation-delay: 0.18s;
}
- @keyframes loader-outter {
- 0% {
- transform: rotate(0deg);
- }
+ .app-loading .app-loading-dot {
+ animation-delay: 0.36s;
+ }
+ @keyframes ymb-loading-dot {
+ 0%,
+ 80%,
100% {
- transform: rotate(360deg);
+ opacity: 0.35;
+ transform: translateY(0);
+ }
+
+ 40% {
+ opacity: 1;
+ transform: translateY(-5px);
}
}
- @keyframes loader-inner {
- 0% {
- transform: rotate(0deg);
- }
-
+ @keyframes ymb-wordmark-breathe {
+ 0%,
100% {
- transform: rotate(-360deg);
+ opacity: 0.78;
+ transform: translateY(0);
+ }
+
+ 50% {
+ opacity: 1;
+ transform: translateY(-1px);
}
}
-
-

-
<%= title %>
+

+
YMB
diff --git a/public/brand-mark.png b/public/brand-mark.png
index d6f5dc1..427df55 100644
Binary files a/public/brand-mark.png and b/public/brand-mark.png differ
diff --git a/public/ymb-mark-v2.png b/public/ymb-mark-v2.png
new file mode 100644
index 0000000..427df55
Binary files /dev/null and b/public/ymb-mark-v2.png differ
diff --git a/src/App.vue b/src/App.vue
index 4b81793..fb448b6 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -22,7 +22,7 @@ appStore.initTheme()
-
+
diff --git a/src/assets/imgs/brand-mark.png b/src/assets/imgs/brand-mark.png
index d6f5dc1..427df55 100644
Binary files a/src/assets/imgs/brand-mark.png and b/src/assets/imgs/brand-mark.png differ
diff --git a/src/assets/imgs/ymb-login-cover.png b/src/assets/imgs/ymb-login-cover.png
new file mode 100644
index 0000000..2de9c49
Binary files /dev/null and b/src/assets/imgs/ymb-login-cover.png differ
diff --git a/src/locales/en.ts b/src/locales/en.ts
index 88a012c..8afc796 100644
--- a/src/locales/en.ts
+++ b/src/locales/en.ts
@@ -104,8 +104,8 @@ export default {
small: 'Small'
},
login: {
- welcome: 'Short-drama workspace',
- consoleLabel: 'Content Operations',
+ welcome: 'YMB Content Workspace',
+ consoleLabel: 'YMB Operations',
hint: 'Sign in with an admin account',
username: 'Username',
password: 'Password',
diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts
index 47411df..aba2ce5 100644
--- a/src/locales/zh-CN.ts
+++ b/src/locales/zh-CN.ts
@@ -104,8 +104,8 @@ export default {
small: '小'
},
login: {
- welcome: '短剧内容管理',
- consoleLabel: '内容运营后台',
+ welcome: 'YMB 内容管理',
+ consoleLabel: 'YMB 运营后台',
hint: '使用管理员账号进入工作台',
username: '用户名',
password: '密码',
diff --git a/src/styles/business/creator-center.css b/src/styles/business/creator-center.css
index fc10b0a..8cb0f86 100644
--- a/src/styles/business/creator-center.css
+++ b/src/styles/business/creator-center.css
@@ -1,3 +1,5 @@
+/* Author: fruit.com.cn */
+
/**
* 创作者中心(我的作品 / 作品编辑 / 收费配置 / 数据看板)。
* 只放这四个页面专属的类名;工具条、抽屉、看板卡片沿用 console.css。
@@ -10,6 +12,112 @@
flex-wrap: wrap;
}
+.creator-overview {
+ display: grid;
+ grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
+ gap: 14px;
+ margin-bottom: 14px;
+}
+
+.creator-profile-summary,
+.creator-quick-actions {
+ min-height: 148px;
+}
+
+.creator-profile-summary {
+ position: relative;
+ padding-right: 220px;
+}
+
+.creator-profile-code {
+ display: block;
+ margin-top: 8px;
+ color: #9a97a8;
+ font-size: 12px;
+}
+
+.creator-profile-stats {
+ display: flex;
+ gap: 28px;
+ margin-top: 22px;
+}
+
+.creator-profile-stats div {
+ display: flex;
+ flex-direction: column;
+ gap: 3px;
+}
+
+.creator-profile-stats b {
+ color: #302d44;
+ font-size: 22px;
+ font-weight: 700;
+ line-height: 1;
+}
+
+.creator-profile-stats span,
+.creator-profile-contact {
+ color: #858b95;
+ font-size: 12px;
+}
+
+.creator-profile-contact {
+ position: absolute;
+ right: 18px;
+ bottom: 18px;
+ max-width: 200px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.creator-quick-actions {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-start;
+ justify-content: center;
+}
+
+.creator-quick-title {
+ color: #302d44;
+ font-size: 14px;
+ font-weight: 650;
+}
+
+.creator-quick-actions p {
+ margin: 7px 0 14px;
+ color: #858b95;
+ font-size: 12px;
+ line-height: 1.5;
+}
+
+.creator-status-alert {
+ margin-bottom: 14px;
+}
+
+.creator-status-alert .creator-profile-alert {
+ margin-top: 0;
+}
+
+.creator-tab-count {
+ display: inline-grid;
+ min-width: 20px;
+ height: 20px;
+ padding: 0 5px;
+ margin-left: 4px;
+ place-items: center;
+ border-radius: 10px;
+ background: #f2f3f6;
+ color: #727983;
+ font-size: 11px;
+ line-height: 20px;
+}
+
+.creator-action-chevron {
+ margin-left: 3px;
+ font-size: 12px;
+}
+
.creator-profile-name {
color: #302d44;
font-size: 16px;
@@ -307,10 +415,17 @@ html.dark .creator-profile-name,
html.dark .creator-profile-meta b,
html.dark .creator-drama-title,
html.dark .creator-notice-title,
-html.dark .creator-section-title {
+html.dark .creator-section-title,
+html.dark .creator-profile-stats b,
+html.dark .creator-quick-title {
color: var(--el-text-color-primary);
}
+html.dark .creator-tab-count {
+ background: var(--el-fill-color-light);
+ color: var(--el-text-color-secondary);
+}
+
html.dark .creator-notice {
border-bottom-color: var(--el-border-color-light);
}
@@ -357,6 +472,20 @@ html.dark .creator-episode-cover {
}
@media (width <= 768px) {
+ .creator-overview {
+ grid-template-columns: 1fr;
+ }
+
+ .creator-profile-summary {
+ padding-right: 16px;
+ }
+
+ .creator-profile-contact {
+ position: static;
+ max-width: none;
+ margin-top: 16px;
+ }
+
.creator-desktop-only {
display: none;
}
@@ -461,4 +590,3 @@ html.dark .creator-episode-cover {
background: var(--el-fill-color-light);
}
}
-
diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue
index 93ce65f..0e05aa5 100644
--- a/src/views/Login/Login.vue
+++ b/src/views/Login/Login.vue
@@ -162,9 +162,8 @@ const themeChange = () => {
overflow: hidden;
color: #fff;
background:
- radial-gradient(circle at 18% 18%, rgb(255 255 255 / 10%), transparent 28%),
- radial-gradient(circle at 82% 78%, rgb(196 50 42 / 34%), transparent 34%),
- linear-gradient(155deg, #17100f 0%, #241714 55%, #3b1d19 100%);
+ linear-gradient(90deg, rgb(22 5 33 / 84%) 0%, rgb(22 5 33 / 42%) 46%, rgb(22 5 33 / 12%) 100%),
+ url('../../assets/imgs/ymb-login-cover.png') center / cover no-repeat;
flex: 1.05;
flex-direction: column;
justify-content: space-between;
@@ -193,10 +192,7 @@ const themeChange = () => {
}
.hero-fruits {
- position: absolute;
- inset: 0;
- z-index: 0;
- pointer-events: none;
+ display: none;
}
.fruit {
diff --git a/src/views/creator-center/WorkspaceView.vue b/src/views/creator-center/WorkspaceView.vue
index 2b19185..bcf3bfb 100644
--- a/src/views/creator-center/WorkspaceView.vue
+++ b/src/views/creator-center/WorkspaceView.vue
@@ -60,53 +60,85 @@ function openEdit(row) {
function openPublish() {
router.push('/creator-center/publish')
}
+
+function resetDramas() {
+ dramas.keyword = ''
+ dramas.status = undefined
+ queryDramas()
+}
+
+async function handleRowAction(row, command) {
+ if (command === 'edit') return openEdit(row)
+ if (command === 'withdraw') return withdraw(row)
+ if (command === 'delete') return remove(row)
+ return submit(row, command)
+}
发布作品
-
-
-
{{ profile?.name || '—' }}
-
- {{ profile?.statusText || '—' }}
-
-
{{ profile?.code || '' }}
+
+
+
+ {{ profile?.name || '—' }}
+
+ {{ profile?.statusText || '—' }}
+
+
+
创作者编号 {{ profile?.code || '—' }}
+
+
{{ profile?.dramaTotal ?? 0 }}作品
+
{{ dramas.total }}当前列表
+
{{ notices.rows.length }}通知
+
+
+ 联系人:{{ profile?.contactName || '—' }} · {{ profile?.contactEmail || '—' }}
+
-
@@ -353,7 +374,10 @@ function openPublish() {
-
+
+ 通知 {{ notices.rows.length }}