统一项目命名并接回MinIO三副本存储

This commit is contained in:
2026-06-24 15:04:17 +08:00
parent a04833563a
commit b1117325fd
594 changed files with 8922 additions and 2604 deletions
+36 -36
View File
@@ -16,7 +16,7 @@
</div>
</div>
<div v-else class="yumi-phone-frame" :class="{ 'yumi-phone-frame--hidden-nav': isHiddenNav }">
<div v-else class="fingertip-designer-phone-frame" :class="{ 'fingertip-designer-phone-frame--hidden-nav': isHiddenNav }">
<BottomNav v-if="!isHiddenNav" />
<div class="page-content" :class="{ 'no-nav-padding': isHiddenNav }">
<router-view v-slot="{ Component }">
@@ -190,8 +190,8 @@ const showPopupMessage = (item: SystemMessageVO) => {
icon: null,
centered: true,
width: 560,
class: 'yumi-system-message-dialog',
wrapClassName: 'yumi-system-message-wrap',
class: 'fingertip-designer-system-message-dialog',
wrapClassName: 'fingertip-designer-system-message-wrap',
content: h(SystemMessageCard, {
title: item.title || '系统消息',
content: item.content || '',
@@ -292,47 +292,47 @@ onUnmounted(() => {
padding-bottom: 0;
}
.yumi-date-picker-panel {
.fingertip-designer-date-picker-panel {
padding: 6px;
}
.yumi-date-picker-panel .ant-picker-panel-container {
.fingertip-designer-date-picker-panel .ant-picker-panel-container {
overflow: hidden;
border-radius: 12px;
box-shadow: 0 18px 44px rgba(34, 40, 49, 0.18);
}
.yumi-date-picker-panel .ant-picker-panel {
.fingertip-designer-date-picker-panel .ant-picker-panel {
border: 0;
}
.yumi-date-picker-panel .ant-picker-header {
.fingertip-designer-date-picker-panel .ant-picker-header {
padding: 8px 12px;
border-bottom-color: var(--theme-border);
}
.yumi-date-picker-panel .ant-picker-header button {
.fingertip-designer-date-picker-panel .ant-picker-header button {
min-width: 34px;
height: 34px;
border-radius: 8px;
}
.yumi-date-picker-panel .ant-picker-header-view {
.fingertip-designer-date-picker-panel .ant-picker-header-view {
line-height: 34px;
font-weight: 700;
}
.yumi-date-picker-panel .ant-picker-content th {
.fingertip-designer-date-picker-panel .ant-picker-content th {
height: 34px;
color: var(--text-secondary);
font-weight: 600;
}
.yumi-date-picker-panel .ant-picker-cell {
.fingertip-designer-date-picker-panel .ant-picker-cell {
padding: 4px 0;
}
.yumi-date-picker-panel .ant-picker-cell-inner {
.fingertip-designer-date-picker-panel .ant-picker-cell-inner {
min-width: 34px;
height: 34px !important;
line-height: 34px !important;
@@ -340,44 +340,44 @@ onUnmounted(() => {
transition: background .18s ease, color .18s ease, transform .18s ease;
}
.yumi-date-picker-panel .ant-picker-cell:hover .ant-picker-cell-inner {
.fingertip-designer-date-picker-panel .ant-picker-cell:hover .ant-picker-cell-inner {
background: var(--theme-primary-soft);
transform: translateY(-1px);
}
.yumi-date-picker-panel .ant-picker-cell-selected .ant-picker-cell-inner,
.yumi-date-picker-panel .ant-picker-cell-range-start .ant-picker-cell-inner,
.yumi-date-picker-panel .ant-picker-cell-range-end .ant-picker-cell-inner {
.fingertip-designer-date-picker-panel .ant-picker-cell-selected .ant-picker-cell-inner,
.fingertip-designer-date-picker-panel .ant-picker-cell-range-start .ant-picker-cell-inner,
.fingertip-designer-date-picker-panel .ant-picker-cell-range-end .ant-picker-cell-inner {
background: var(--theme-primary);
color: #fff;
font-weight: 700;
}
.yumi-date-picker-panel .ant-picker-footer {
.fingertip-designer-date-picker-panel .ant-picker-footer {
border-top-color: var(--theme-border);
}
.yumi-date-time-panel .ant-picker-time-panel,
.yumi-time-panel .ant-picker-time-panel {
.fingertip-designer-date-time-panel .ant-picker-time-panel,
.fingertip-designer-time-panel .ant-picker-time-panel {
min-width: 150px;
}
.yumi-date-time-panel .ant-picker-time-panel-column,
.yumi-time-panel .ant-picker-time-panel-column {
.fingertip-designer-date-time-panel .ant-picker-time-panel-column,
.fingertip-designer-time-panel .ant-picker-time-panel-column {
width: 76px;
padding: 8px 6px;
}
.yumi-date-time-panel .ant-picker-time-panel-cell-inner,
.yumi-time-panel .ant-picker-time-panel-cell-inner {
.fingertip-designer-date-time-panel .ant-picker-time-panel-cell-inner,
.fingertip-designer-time-panel .ant-picker-time-panel-cell-inner {
height: 34px !important;
line-height: 34px !important;
border-radius: 8px !important;
text-align: center;
}
.yumi-date-time-panel .ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner,
.yumi-time-panel .ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner {
.fingertip-designer-date-time-panel .ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner,
.fingertip-designer-time-panel .ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner {
background: var(--theme-primary-soft);
color: var(--theme-primary);
font-weight: 700;
@@ -393,11 +393,11 @@ onUnmounted(() => {
box-shadow: var(--theme-focus-shadow);
}
.yumi-system-message-wrap .ant-modal {
.fingertip-designer-system-message-wrap .ant-modal {
max-width: calc(100vw - 32px);
}
.yumi-system-message-dialog .ant-modal-content {
.fingertip-designer-system-message-dialog .ant-modal-content {
overflow: hidden;
padding: 0;
border-radius: 8px;
@@ -405,21 +405,21 @@ onUnmounted(() => {
box-shadow: 0 24px 70px rgba(38, 31, 36, 0.32);
}
.yumi-system-message-dialog .ant-modal-confirm-body-wrapper {
.fingertip-designer-system-message-dialog .ant-modal-confirm-body-wrapper {
margin: 0;
}
.yumi-system-message-dialog .ant-modal-confirm-body {
.fingertip-designer-system-message-dialog .ant-modal-confirm-body {
display: block;
}
.yumi-system-message-dialog .ant-modal-confirm-content {
.fingertip-designer-system-message-dialog .ant-modal-confirm-content {
max-width: none;
margin: 0 !important;
color: inherit;
}
.yumi-system-message-dialog .ant-modal-confirm-btns {
.fingertip-designer-system-message-dialog .ant-modal-confirm-btns {
display: flex;
justify-content: stretch;
margin: 0;
@@ -427,7 +427,7 @@ onUnmounted(() => {
background: var(--theme-card-bg);
}
.yumi-system-message-dialog .popup-message-ok-button {
.fingertip-designer-system-message-dialog .popup-message-ok-button {
width: 100%;
height: 44px;
border: 0;
@@ -438,8 +438,8 @@ onUnmounted(() => {
box-shadow: var(--theme-button-shadow);
}
.yumi-system-message-dialog .popup-message-ok-button:hover,
.yumi-system-message-dialog .popup-message-ok-button:focus {
.fingertip-designer-system-message-dialog .popup-message-ok-button:hover,
.fingertip-designer-system-message-dialog .popup-message-ok-button:focus {
color: #ffffff;
background: linear-gradient(135deg, var(--theme-accent) 0%, var(--theme-secondary) 100%);
}
@@ -451,11 +451,11 @@ onUnmounted(() => {
}
@media (max-width: 640px) {
.yumi-system-message-dialog .ant-modal-content {
.fingertip-designer-system-message-dialog .ant-modal-content {
border-radius: 8px;
}
.yumi-system-message-dialog .popup-message-ok-button {
.fingertip-designer-system-message-dialog .popup-message-ok-button {
width: 100%;
}
}
+1 -1
View File
@@ -49,7 +49,7 @@ const normalizePathname = (url?: string) => {
const withoutHash = raw.split('#')[0] || ''
const withoutQuery = withoutHash.split('?')[0] || ''
try {
return new URL(withoutQuery, 'http://yuminail.local').pathname
return new URL(withoutQuery, 'http://fingertipdesigner.local').pathname
} catch {
return withoutQuery.startsWith('/') ? withoutQuery : `/${withoutQuery}`
}
+1 -1
View File
@@ -264,7 +264,7 @@ const handleNavClick = (tab: string) => {
<style>
@media (min-width: 768px) {
.yumi-phone-frame > .bottom-nav {
.fingertip-designer-phone-frame > .bottom-nav {
right: auto;
bottom: 0;
left: 50%;
+32 -32
View File
@@ -73,7 +73,7 @@ body {
overflow-x: hidden;
}
.yumi-page {
.fingertip-designer-page {
min-height: 100vh;
padding: 18px 18px calc(88px + env(safe-area-inset-bottom, 0px));
color: var(--text-primary);
@@ -85,15 +85,15 @@ body {
background-position: center top;
}
.yumi-page--no-nav {
.fingertip-designer-page--no-nav {
padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
}
.yumi-section {
.fingertip-designer-section {
margin-top: 22px;
}
.yumi-section-head {
.fingertip-designer-section-head {
display: flex;
align-items: flex-end;
justify-content: space-between;
@@ -101,7 +101,7 @@ body {
margin-bottom: 14px;
}
.yumi-kicker {
.fingertip-designer-kicker {
display: block;
color: var(--theme-primary-action);
font-size: 11px;
@@ -110,7 +110,7 @@ body {
text-transform: uppercase;
}
.yumi-title {
.fingertip-designer-title {
display: block;
color: var(--text-primary);
font-size: 21px;
@@ -118,7 +118,7 @@ body {
line-height: 1.18;
}
.yumi-subtitle {
.fingertip-designer-subtitle {
display: block;
margin-top: 6px;
color: var(--text-secondary);
@@ -126,7 +126,7 @@ body {
line-height: 1.65;
}
.yumi-glass-card {
.fingertip-designer-glass-card {
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.9);
border-radius: 24px;
@@ -135,7 +135,7 @@ body {
backdrop-filter: blur(16px);
}
.yumi-icon-button {
.fingertip-designer-icon-button {
display: inline-flex;
align-items: center;
justify-content: center;
@@ -150,11 +150,11 @@ body {
backdrop-filter: blur(14px);
}
.yumi-icon-button:active {
.fingertip-designer-icon-button:active {
transform: scale(0.96);
}
.app-container--phone-shell :where(.nav-button, .icon-btn, .back-btn, .yumi-icon-button) :where(.anticon),
.app-container--phone-shell :where(.nav-button, .icon-btn, .back-btn, .fingertip-designer-icon-button) :where(.anticon),
.app-container--phone-shell :where(.header, .shop-topbar, .detail-header, .artist-topbar, .artist-list-topbar, .auth-topbar, .not-found-topbar, .cart-topbar, .vip-header) :where(.ant-btn .anticon, button .anticon),
.app-container--admin :where(.mobile-icon-btn, .mobile-avatar-btn) :where(.anticon) {
font-size: 21px !important;
@@ -176,14 +176,14 @@ body {
line-height: 1;
}
.app-container--phone-shell :where(.nav-button, .icon-btn, .back-btn, .yumi-icon-button, .bottom-nav .nav-icon) :where(.anticon svg),
.app-container--phone-shell :where(.nav-button, .icon-btn, .back-btn, .fingertip-designer-icon-button, .bottom-nav .nav-icon) :where(.anticon svg),
.app-container--admin :where(.mobile-icon-btn, .mobile-avatar-btn, .mobile-tabbar__item) :where(.anticon svg) {
display: block;
width: 1em;
height: 1em;
}
.yumi-page-titlebar {
.fingertip-designer-page-titlebar {
display: flex;
align-items: center;
justify-content: space-between;
@@ -191,7 +191,7 @@ body {
padding: 12px 18px 8px;
}
.yumi-page-titlebar__title {
.fingertip-designer-page-titlebar__title {
min-width: 0;
flex: 1;
text-align: center;
@@ -200,7 +200,7 @@ body {
font-weight: 780;
}
.yumi-status-chip {
.fingertip-designer-status-chip {
display: inline-flex;
align-items: center;
justify-content: center;
@@ -215,7 +215,7 @@ body {
white-space: nowrap;
}
.yumi-bottom-action {
.fingertip-designer-bottom-action {
position: sticky;
bottom: 0;
z-index: 20;
@@ -268,7 +268,7 @@ body {
backdrop-filter: blur(18px);
}
.yumi-phone-frame {
.fingertip-designer-phone-frame {
width: 100%;
min-width: var(--frontend-min-safe-width);
min-height: 100vh;
@@ -277,7 +277,7 @@ body {
position: relative;
}
.yumi-phone-frame--hidden-nav {
.fingertip-designer-phone-frame--hidden-nav {
min-height: 100vh;
}
@@ -298,7 +298,7 @@ body {
max-width: var(--frontend-page-max-width);
}
.yumi-phone-frame {
.fingertip-designer-phone-frame {
width: min(100%, var(--frontend-page-max-width));
min-height: 100vh;
margin: 0 auto;
@@ -308,11 +308,11 @@ body {
box-shadow: 0 28px 80px rgba(74, 68, 63, 0.14);
}
.yumi-phone-frame > .bottom-nav,
.yumi-phone-frame > .page-content .header,
.yumi-phone-frame > .page-content .header-bg,
.yumi-phone-frame > .page-content .gallery-header,
.yumi-phone-frame > .page-content .order-header {
.fingertip-designer-phone-frame > .bottom-nav,
.fingertip-designer-phone-frame > .page-content .header,
.fingertip-designer-phone-frame > .page-content .header-bg,
.fingertip-designer-phone-frame > .page-content .gallery-header,
.fingertip-designer-phone-frame > .page-content .order-header {
left: 50%;
right: auto;
width: var(--frontend-page-max-width);
@@ -320,21 +320,21 @@ body {
transform: translateX(-50%) translateZ(0);
}
.yumi-phone-frame > .page-content .header,
.yumi-phone-frame > .page-content .header-bg,
.yumi-phone-frame > .page-content .gallery-header,
.yumi-phone-frame > .page-content .order-header {
.fingertip-designer-phone-frame > .page-content .header,
.fingertip-designer-phone-frame > .page-content .header-bg,
.fingertip-designer-phone-frame > .page-content .gallery-header,
.fingertip-designer-phone-frame > .page-content .order-header {
top: 0;
}
.yumi-phone-frame > .page-content .header,
.yumi-phone-frame > .page-content .gallery-header,
.yumi-phone-frame > .page-content .order-header {
.fingertip-designer-phone-frame > .page-content .header,
.fingertip-designer-phone-frame > .page-content .gallery-header,
.fingertip-designer-phone-frame > .page-content .order-header {
border-top-left-radius: 32px;
border-top-right-radius: 32px;
}
.yumi-phone-frame > .bottom-nav {
.fingertip-designer-phone-frame > .bottom-nav {
bottom: 0;
border-bottom-right-radius: 32px;
border-bottom-left-radius: 32px;
+1 -1
View File
@@ -27,7 +27,7 @@ export const buildDraftStorageKey = (...parts: Array<string | number | undefined
const normalizedParts = parts
.filter((part): part is string | number => part !== undefined && part !== null && String(part).trim().length > 0)
.map(part => String(part).trim())
return `yuminail:draft:${normalizedParts.join(':')}`
return `fingertipdesigner:draft:${normalizedParts.join(':')}`
}
/**
+1 -1
View File
@@ -29,7 +29,7 @@ const DEVICE_ID_HEADER = 'X-Device-Id'
* Purpose: DEVICE_ID_STORAGE_KEY supports request-signature.ts by holding or executing the device id storage key page or API role.
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
*/
const DEVICE_ID_STORAGE_KEY = 'yuminail-device-id'
const DEVICE_ID_STORAGE_KEY = 'fingertipdesigner-device-id'
/**
* Purpose: SIGNATURE_VERSION supports request-signature.ts by holding or executing the signature version page or API role.
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
+1 -1
View File
@@ -2,7 +2,7 @@
* Purpose: SHOP_THEME_CHANGED_EVENT supports shop-theme.ts by holding or executing the shop theme changed event page or API role.
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
*/
export const SHOP_THEME_CHANGED_EVENT = 'yumi-shop-theme-updated'
export const SHOP_THEME_CHANGED_EVENT = 'fingertip-designer-shop-theme-updated'
/**
* Purpose: ShopThemeSource supports shop-theme.ts by holding or executing the shop theme source page or API role.
+1 -1
View File
@@ -29,7 +29,7 @@
</a-select>
</div>
<div class="filter-row">
<a-date-picker v-model:value="filters.date" class="filter-date" popup-class-name="yumi-date-picker-panel" placeholder="预约日期" />
<a-date-picker v-model:value="filters.date" class="filter-date" popup-class-name="fingertip-designer-date-picker-panel" placeholder="预约日期" />
<a-input-number v-model:value="filters.minAmount" class="filter-number" :min="0" placeholder="最低金额" />
<a-input-number v-model:value="filters.maxAmount" class="filter-number" :min="0" placeholder="最高金额" />
</div>
+1 -1
View File
@@ -257,7 +257,7 @@
<a-date-picker
v-model:value="draftAppointmentTime"
class="time-picker"
popup-class-name="yumi-date-picker-panel yumi-date-time-panel"
popup-class-name="fingertip-designer-date-picker-panel fingertip-designer-date-time-panel"
style="width: 100%"
format="YYYY-MM-DD HH:mm:ss"
value-format="YYYY-MM-DD HH:mm:ss"
+2 -2
View File
@@ -239,11 +239,11 @@
</a-form-item>
<a-form-item label="开始时间" name="startTime">
<a-date-picker v-model:value="formState.startTime" show-time format="YYYY-MM-DD HH:mm:ss" popup-class-name="yumi-date-picker-panel yumi-date-time-panel" style="width: 100%" />
<a-date-picker v-model:value="formState.startTime" show-time format="YYYY-MM-DD HH:mm:ss" popup-class-name="fingertip-designer-date-picker-panel fingertip-designer-date-time-panel" style="width: 100%" />
</a-form-item>
<a-form-item label="结束时间" name="endTime">
<a-date-picker v-model:value="formState.endTime" show-time format="YYYY-MM-DD HH:mm:ss" popup-class-name="yumi-date-picker-panel yumi-date-time-panel" style="width: 100%" />
<a-date-picker v-model:value="formState.endTime" show-time format="YYYY-MM-DD HH:mm:ss" popup-class-name="fingertip-designer-date-picker-panel fingertip-designer-date-time-panel" style="width: 100%" />
</a-form-item>
<a-form-item label="可用标签" name="availableTagIds">
@@ -110,7 +110,7 @@
<a-input v-model:value="form.queueName" placeholder="smsQueue" />
</a-form-item>
<a-form-item label="来源系统">
<a-input v-model:value="form.sourceSystem" placeholder="yuminail" />
<a-input v-model:value="form.sourceSystem" placeholder="fingertipdesigner" />
</a-form-item>
<a-form-item label="模板编码">
<a-input v-model:value="form.templateCode" placeholder="MessageHub 中维护的模板编码" />
@@ -267,7 +267,7 @@ const form = reactive<any>({
platform: 'SMS',
msgType: 'VERIFICATION',
queueName: 'smsQueue',
sourceSystem: 'yuminail',
sourceSystem: 'fingertipdesigner',
templateCode: 'SPUG0001',
channelId: undefined,
sendMethod: 'SPUG',
@@ -395,7 +395,7 @@ const resetForm = () => Object.assign(form, {
platform: 'SMS',
msgType: 'VERIFICATION',
queueName: 'smsQueue',
sourceSystem: 'yuminail',
sourceSystem: 'fingertipdesigner',
templateCode: 'SPUG0001',
channelId: undefined,
sendMethod: 'SPUG',
+4 -4
View File
@@ -240,7 +240,7 @@
<a-date-picker
v-model:value="businessStartTime"
picker="time"
popup-class-name="yumi-date-picker-panel yumi-time-panel"
popup-class-name="fingertip-designer-date-picker-panel fingertip-designer-time-panel"
value-format="HH:mm"
format="HH:mm"
placeholder="开始时间"
@@ -252,7 +252,7 @@
<a-date-picker
v-model:value="businessEndTime"
picker="time"
popup-class-name="yumi-date-picker-panel yumi-time-panel"
popup-class-name="fingertip-designer-date-picker-panel fingertip-designer-time-panel"
value-format="HH:mm"
format="HH:mm"
placeholder="结束时间"
@@ -669,7 +669,7 @@ interface ShopThemeTemplate extends ShopThemeTemplateColors {
* Purpose: CUSTOM_THEME_TEMPLATE_STORAGE_KEY supports ShopsView.vue by holding or executing the custom theme template storage key page or API role.
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
*/
const CUSTOM_THEME_TEMPLATE_STORAGE_KEY = 'yuminail:admin:shop-theme-templates'
const CUSTOM_THEME_TEMPLATE_STORAGE_KEY = 'fingertipdesigner:admin:shop-theme-templates'
/**
* Purpose: CUSTOM_THEME_TEMPLATE_LIMIT supports ShopsView.vue by holding or executing the custom theme template limit page or API role.
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
@@ -1438,7 +1438,7 @@ const buildTencentLocationPickerUrl = (options: { latitude?: string | number; lo
search: '1',
type: '1',
key: mapPickerKey.value,
referer: 'yuminail',
referer: 'fingertipdesigner',
keyword: formState.address || formState.shopName || ''
})
const latitude = options.latitude || formState.latitude
+1 -1
View File
@@ -250,7 +250,7 @@
format="YYYY-MM-DD"
placeholder="请选择生日"
class="user-date-picker"
popup-class-name="yumi-date-picker-panel"
popup-class-name="fingertip-designer-date-picker-panel"
/>
</a-form-item>
<a-form-item
@@ -52,23 +52,23 @@ describe('web theme governance', () => {
const app = readSource('App.vue')
const globalStyle = readSource('style.css')
expect(app).toContain('yumi-phone-frame')
expect(app).toContain('yumi-phone-frame--hidden-nav')
expect(app).toContain('fingertip-designer-phone-frame')
expect(app).toContain('fingertip-designer-phone-frame--hidden-nav')
expect(globalStyle).toMatch(/--frontend-page-max-width:\s*430px/)
expect(globalStyle).toContain('--theme-neutral: #4A443F;')
expect(globalStyle).toContain('--theme-tertiary: #FDFBF9;')
expect(globalStyle).toContain('.yumi-phone-frame')
expect(globalStyle).toContain('.yumi-page')
expect(globalStyle).toContain('.yumi-glass-card')
expect(globalStyle).toContain('.yumi-status-chip')
expect(globalStyle).toContain('.yumi-bottom-action')
expect(globalStyle).toContain('.fingertip-designer-phone-frame')
expect(globalStyle).toContain('.fingertip-designer-page')
expect(globalStyle).toContain('.fingertip-designer-glass-card')
expect(globalStyle).toContain('.fingertip-designer-status-chip')
expect(globalStyle).toContain('.fingertip-designer-bottom-action')
expect(globalStyle).toContain('max-width: var(--frontend-page-max-width);')
expect(globalStyle).not.toMatch(/--theme-primary:\s*#7C5357/)
})
it('keeps frontend and backend platform overview permission allowlists aligned', () => {
const frontend = readSource('utils/platform-admin-permissions.ts')
const backend = readFileSync(join(coreRoot, 'com', 'xiaowang', 'yuminailcore', 'modules', 'security', 'support', 'PermissionCatalog.java'), 'utf-8')
const backend = readFileSync(join(coreRoot, 'com', 'xiaowang', 'fingertipdesigner', 'core', 'modules', 'security', 'support', 'PermissionCatalog.java'), 'utf-8')
expect(backend).toContain('"security:audit:view"')
expect(frontend).toContain("'security:audit:view'")