统一甲屿云命名体系
@@ -40,10 +40,10 @@ docs/_book
|
||||
|
||||
# TODO: where does this rule come from?
|
||||
test/
|
||||
!FD-Core/src/test/
|
||||
!FD-Core/src/test/**
|
||||
!FD-Gateway/src/test/
|
||||
!FD-Gateway/src/test/**
|
||||
!JY-Core/src/test/
|
||||
!JY-Core/src/test/**
|
||||
!JY-Gateway/src/test/
|
||||
!JY-Gateway/src/test/**
|
||||
|
||||
# ---> Python
|
||||
# Byte-compiled / optimized / DLL files
|
||||
@@ -268,8 +268,8 @@ jspm_packages/
|
||||
|
||||
# Mini program local overrides
|
||||
WeChatProgram/utils/config.local.js
|
||||
FingertipDesigner-Admin-Program/utils/config.local.js
|
||||
FM-Wechat-Fronted/utils/config.local.js
|
||||
JY-Artist-WeChat/admin/utils/config.local.js
|
||||
JY-Salon-WeChat/utils/config.local.js
|
||||
|
||||
# 本地敏感服务器信息
|
||||
docx/服务器信息.xlsx
|
||||
|
||||
@@ -48,7 +48,7 @@ This project is indexed by GitNexus as **FingertipDesigner** (15270 symbols, 329
|
||||
- 后端修改如果涉及 SQL,不要修改初始化 SQL;必须新增版本变更 SQL。
|
||||
- 版本变更 SQL 文件名必须使用中文,体现功能和日期,并且 SQL 内容必须是完整可执行脚本。
|
||||
- 如果修改涉及配置,必须提供说明文档;说明文档同样按 SQL 文件命名规则使用中文命名、体现功能和日期,并放在 `scripts/` 目录下。
|
||||
- 当前代码、脚本、配置、SQL 和文档已固定为 `0.0.1` 基线;`scripts/sql/init/FingertipDesigner.sql` 从该版本起冻结为仅空库首次初始化使用,后续 SQL、脚本和配置都必须通过版本迭代文件新增或调整。
|
||||
- 当前代码、脚本、配置、SQL 和文档已固定为 `0.0.1` 基线;`scripts/sql/init/JayuCloud.sql` 从甲屿云命名迁移后继续作为空库首次初始化入口,仅空库首次初始化使用,后续 SQL、脚本和配置都必须通过版本迭代文件新增或调整。
|
||||
- 后续涉及脚本、配置、SQL 的任务,必须优先阅读 `scripts/0.0.1版本基线与后续迭代规则_20260628.md`,并在任务记录中写明新增或调整的版本化文件。
|
||||
- 每次修改代码或者完成任务后,必须整理本次任务相关改动并创建 git 提交;提交信息必须使用中文。
|
||||
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
package com.xiaowang.fingertipdesigner.core;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
|
||||
@EnableDiscoveryClient
|
||||
@EnableScheduling
|
||||
@SpringBootApplication
|
||||
/**
|
||||
* Purpose: FingertipDesignerCoreApplication supports FingertipDesignerCoreApplication.java by holding or executing the fingertip designer core application business role.
|
||||
* Usage: reference this class from the owning layer and pass validated inputs before reading or updating related state.
|
||||
*/
|
||||
public class FingertipDesignerCoreApplication {
|
||||
|
||||
/**
|
||||
* Purpose: main supports FingertipDesignerCoreApplication.java by holding or executing the main business role.
|
||||
* Usage: reference this method from the owning layer and pass validated inputs before reading or updating related state.
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(FingertipDesignerCoreApplication.class, args);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
package com.xiaowang.fingertipdesigner.core.modules.analytics.service;
|
||||
|
||||
import com.xiaowang.fingertipdesigner.core.modules.analytics.vo.OperationsAnalyticsVO;
|
||||
|
||||
public interface OperationsAnalyticsService {
|
||||
OperationsAnalyticsVO getDashboardAnalytics(Long shopId, Long artistId);
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
package com.xiaowang.fingertipdesigner.core.modules.analytics.service;
|
||||
|
||||
import com.xiaowang.fingertipdesigner.core.modules.analytics.vo.StoreWorkbenchVO;
|
||||
|
||||
public interface WorkbenchService {
|
||||
StoreWorkbenchVO getWorkbench(Long shopId, Long artistId);
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
package com.xiaowang.fingertipdesigner.core.modules.artist.service;
|
||||
|
||||
import com.xiaowang.fingertipdesigner.core.modules.artist.dto.ArtistScheduleDTO;
|
||||
import com.xiaowang.fingertipdesigner.core.modules.artist.dto.ArtistScheduleExceptionDTO;
|
||||
import com.xiaowang.fingertipdesigner.core.modules.artist.dto.ArtistScheduleRuleDTO;
|
||||
import com.xiaowang.fingertipdesigner.core.modules.artist.vo.ArtistScheduleExceptionVO;
|
||||
import com.xiaowang.fingertipdesigner.core.modules.artist.vo.ArtistScheduleRuleSettingVO;
|
||||
import com.xiaowang.fingertipdesigner.core.modules.artist.vo.ArtistScheduleRuleVO;
|
||||
import com.xiaowang.fingertipdesigner.core.modules.artist.vo.ArtistScheduleVO;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.List;
|
||||
|
||||
public interface ArtistScheduleService {
|
||||
ArtistScheduleVO saveSchedule(ArtistScheduleDTO dto);
|
||||
|
||||
List<ArtistScheduleVO> listSchedules(Long shopId, Long artistId, LocalDate startDate, LocalDate endDate);
|
||||
|
||||
ArtistScheduleRuleSettingVO getRuleSetting(Long shopId, Long artistId);
|
||||
|
||||
ArtistScheduleRuleVO saveRule(ArtistScheduleRuleDTO dto);
|
||||
|
||||
ArtistScheduleExceptionVO saveException(ArtistScheduleExceptionDTO dto);
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
package com.xiaowang.fingertipdesigner.core.modules.file.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xiaowang.fingertipdesigner.core.modules.file.entity.ObjectStorageReplicaDO;
|
||||
|
||||
public interface ObjectStorageReplicaMapper extends BaseMapper<ObjectStorageReplicaDO> {
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
package com.xiaowang.fingertipdesigner.core.modules.inventory.service;
|
||||
|
||||
import com.xiaowang.fingertipdesigner.core.modules.inventory.dto.InventoryAdjustDTO;
|
||||
import com.xiaowang.fingertipdesigner.core.modules.inventory.dto.InventoryItemDTO;
|
||||
import com.xiaowang.fingertipdesigner.core.modules.inventory.vo.InventoryItemVO;
|
||||
import com.xiaowang.fingertipdesigner.core.common.vo.PageResultVO;
|
||||
|
||||
public interface InventoryService {
|
||||
InventoryItemVO saveItem(InventoryItemDTO dto);
|
||||
|
||||
InventoryItemVO adjustStock(Long operatorId, Long itemId, InventoryAdjustDTO dto);
|
||||
|
||||
PageResultVO<InventoryItemVO> listItems(Long shopId, Integer page, Integer size);
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
package com.xiaowang.fingertipdesigner.core.modules.marketing.service;
|
||||
|
||||
import com.xiaowang.fingertipdesigner.core.modules.marketing.dto.CampaignDTO;
|
||||
import com.xiaowang.fingertipdesigner.core.modules.marketing.vo.CampaignVO;
|
||||
import com.xiaowang.fingertipdesigner.core.common.vo.PageResultVO;
|
||||
|
||||
public interface CampaignService {
|
||||
CampaignVO saveCampaign(CampaignDTO dto);
|
||||
|
||||
PageResultVO<CampaignVO> listCampaigns(Long shopId, Integer status, Integer page, Integer size);
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
package com.xiaowang.fingertipdesigner.core.modules.marketing.service;
|
||||
|
||||
import com.xiaowang.fingertipdesigner.core.modules.marketing.vo.GrowthSummaryVO;
|
||||
|
||||
public interface GrowthService {
|
||||
GrowthSummaryVO getSummary(Long userId);
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
package com.xiaowang.fingertipdesigner.core.modules.planning.service;
|
||||
|
||||
import com.xiaowang.fingertipdesigner.core.modules.planning.dto.PlanningAppointmentCreateDTO;
|
||||
import com.xiaowang.fingertipdesigner.core.modules.planning.dto.PlanningAppointmentMoveDTO;
|
||||
import com.xiaowang.fingertipdesigner.core.modules.planning.dto.PlanningAppointmentStatusDTO;
|
||||
import com.xiaowang.fingertipdesigner.core.modules.user.entity.UserDO;
|
||||
import com.xiaowang.fingertipdesigner.core.modules.planning.vo.PlanningAppointmentVO;
|
||||
import com.xiaowang.fingertipdesigner.core.modules.planning.vo.PlanningCalendarVO;
|
||||
|
||||
import java.time.LocalDate;
|
||||
|
||||
public interface PlanningService {
|
||||
PlanningCalendarVO getCalendar(UserDO currentUser, LocalDate startDate, LocalDate endDate, Long artistId);
|
||||
|
||||
PlanningAppointmentVO createAppointment(UserDO currentUser, PlanningAppointmentCreateDTO dto);
|
||||
|
||||
PlanningAppointmentVO getAppointment(UserDO currentUser, Long orderItemId);
|
||||
|
||||
PlanningAppointmentVO moveAppointment(UserDO currentUser, Long orderItemId, PlanningAppointmentMoveDTO dto);
|
||||
|
||||
Boolean updateStatus(UserDO currentUser, Long orderId, PlanningAppointmentStatusDTO dto);
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
package com.xiaowang.fingertipdesigner.gateway.config;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* Gateway JWT 校验配置。
|
||||
*/
|
||||
@Data
|
||||
@Configuration
|
||||
@ConfigurationProperties(prefix = "fingertip-designer.security.jwt")
|
||||
public class JwtProperties {
|
||||
|
||||
private String secret = "fingertip-designer-secret-key-for-jwt-token-generation-2026-must-be-at-least-512-bits-long-for-hs512-algorithm-security-requirements";
|
||||
|
||||
private String issuer = "fingertip-designer";
|
||||
|
||||
private long clockSkewSeconds = 30;
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
VITE_API_BASE_URL=/api
|
||||
VITE_ADMIN_API_BASE_URL=/admin/api
|
||||
VITE_DEV_PROXY_TARGET=http://127.0.0.1:80
|
||||
VITE_APP_NAME=指尖设计师
|
||||
VITE_APP_NAME=甲屿云
|
||||
VITE_APP_NAME_EN=Fingertip Designer
|
||||
VITE_APP_TITLE=Fingertip Designer 指尖设计师
|
||||
VITE_ADMIN_APP_NAME=指尖设计师管理台
|
||||
VITE_APP_TITLE=Fingertip Designer 甲屿云
|
||||
VITE_ADMIN_APP_NAME=甲屿云管理台
|
||||
VITE_APP_SHORT_NAME=YN
|
||||
@@ -1,7 +1,7 @@
|
||||
VITE_API_BASE_URL=https://yunail.art/api
|
||||
VITE_ADMIN_API_BASE_URL=https://yunail.art/admin/api
|
||||
VITE_APP_NAME=指尖设计师
|
||||
VITE_APP_NAME=甲屿云
|
||||
VITE_APP_NAME_EN=Fingertip Designer
|
||||
VITE_APP_TITLE=Fingertip Designer 指尖设计师
|
||||
VITE_ADMIN_APP_NAME=指尖设计师管理台
|
||||
VITE_APP_TITLE=Fingertip Designer 甲屿云
|
||||
VITE_ADMIN_APP_NAME=甲屿云管理台
|
||||
VITE_APP_SHORT_NAME=YN
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/png" href="/jiayu-designer-icon.png" />
|
||||
<link rel="icon" type="image/png" href="/jayu-artist-icon.png" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>%VITE_APP_TITLE%</title>
|
||||
</head>
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "fingertip-designer-frontend",
|
||||
"name": "jy-artist-frontend",
|
||||
"version": "0.0.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "fingertip-designer-frontend",
|
||||
"name": "jy-artist-frontend",
|
||||
"version": "0.0.1",
|
||||
"dependencies": {
|
||||
"@element-plus/icons-vue": "^2.3.2",
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "fingertip-designer-frontend",
|
||||
"name": "jy-artist-frontend",
|
||||
"private": true,
|
||||
"version": "0.0.1",
|
||||
"type": "module",
|
||||
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 995 KiB After Width: | Height: | Size: 995 KiB |
@@ -1,4 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="Fingertip Designer icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-label="Jayu Cloud icon">
|
||||
<defs>
|
||||
<linearGradient id="shell" x1="42" y1="22" x2="214" y2="232" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0" stop-color="#ffe6d3" />
|
||||
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
@@ -16,7 +16,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div v-else class="fingertip-designer-phone-frame" :class="{ 'fingertip-designer-phone-frame--hidden-nav': isHiddenNav }">
|
||||
<div v-else class="jayu-cloud-phone-frame" :class="{ 'jayu-cloud-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: 'fingertip-designer-system-message-dialog',
|
||||
wrapClassName: 'fingertip-designer-system-message-wrap',
|
||||
class: 'jayu-cloud-system-message-dialog',
|
||||
wrapClassName: 'jayu-cloud-system-message-wrap',
|
||||
content: h(SystemMessageCard, {
|
||||
title: item.title || '系统消息',
|
||||
content: item.content || '',
|
||||
@@ -292,47 +292,47 @@ onUnmounted(() => {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.fingertip-designer-date-picker-panel {
|
||||
.jayu-cloud-date-picker-panel {
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
.fingertip-designer-date-picker-panel .ant-picker-panel-container {
|
||||
.jayu-cloud-date-picker-panel .ant-picker-panel-container {
|
||||
overflow: hidden;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 18px 44px rgba(34, 40, 49, 0.18);
|
||||
}
|
||||
|
||||
.fingertip-designer-date-picker-panel .ant-picker-panel {
|
||||
.jayu-cloud-date-picker-panel .ant-picker-panel {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.fingertip-designer-date-picker-panel .ant-picker-header {
|
||||
.jayu-cloud-date-picker-panel .ant-picker-header {
|
||||
padding: 8px 12px;
|
||||
border-bottom-color: var(--theme-border);
|
||||
}
|
||||
|
||||
.fingertip-designer-date-picker-panel .ant-picker-header button {
|
||||
.jayu-cloud-date-picker-panel .ant-picker-header button {
|
||||
min-width: 34px;
|
||||
height: 34px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.fingertip-designer-date-picker-panel .ant-picker-header-view {
|
||||
.jayu-cloud-date-picker-panel .ant-picker-header-view {
|
||||
line-height: 34px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.fingertip-designer-date-picker-panel .ant-picker-content th {
|
||||
.jayu-cloud-date-picker-panel .ant-picker-content th {
|
||||
height: 34px;
|
||||
color: var(--text-secondary);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.fingertip-designer-date-picker-panel .ant-picker-cell {
|
||||
.jayu-cloud-date-picker-panel .ant-picker-cell {
|
||||
padding: 4px 0;
|
||||
}
|
||||
|
||||
.fingertip-designer-date-picker-panel .ant-picker-cell-inner {
|
||||
.jayu-cloud-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;
|
||||
}
|
||||
|
||||
.fingertip-designer-date-picker-panel .ant-picker-cell:hover .ant-picker-cell-inner {
|
||||
.jayu-cloud-date-picker-panel .ant-picker-cell:hover .ant-picker-cell-inner {
|
||||
background: var(--theme-primary-soft);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.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 {
|
||||
.jayu-cloud-date-picker-panel .ant-picker-cell-selected .ant-picker-cell-inner,
|
||||
.jayu-cloud-date-picker-panel .ant-picker-cell-range-start .ant-picker-cell-inner,
|
||||
.jayu-cloud-date-picker-panel .ant-picker-cell-range-end .ant-picker-cell-inner {
|
||||
background: var(--theme-primary);
|
||||
color: #fff;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.fingertip-designer-date-picker-panel .ant-picker-footer {
|
||||
.jayu-cloud-date-picker-panel .ant-picker-footer {
|
||||
border-top-color: var(--theme-border);
|
||||
}
|
||||
|
||||
.fingertip-designer-date-time-panel .ant-picker-time-panel,
|
||||
.fingertip-designer-time-panel .ant-picker-time-panel {
|
||||
.jayu-cloud-date-time-panel .ant-picker-time-panel,
|
||||
.jayu-cloud-time-panel .ant-picker-time-panel {
|
||||
min-width: 150px;
|
||||
}
|
||||
|
||||
.fingertip-designer-date-time-panel .ant-picker-time-panel-column,
|
||||
.fingertip-designer-time-panel .ant-picker-time-panel-column {
|
||||
.jayu-cloud-date-time-panel .ant-picker-time-panel-column,
|
||||
.jayu-cloud-time-panel .ant-picker-time-panel-column {
|
||||
width: 76px;
|
||||
padding: 8px 6px;
|
||||
}
|
||||
|
||||
.fingertip-designer-date-time-panel .ant-picker-time-panel-cell-inner,
|
||||
.fingertip-designer-time-panel .ant-picker-time-panel-cell-inner {
|
||||
.jayu-cloud-date-time-panel .ant-picker-time-panel-cell-inner,
|
||||
.jayu-cloud-time-panel .ant-picker-time-panel-cell-inner {
|
||||
height: 34px !important;
|
||||
line-height: 34px !important;
|
||||
border-radius: 8px !important;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.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 {
|
||||
.jayu-cloud-date-time-panel .ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner,
|
||||
.jayu-cloud-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);
|
||||
}
|
||||
|
||||
.fingertip-designer-system-message-wrap .ant-modal {
|
||||
.jayu-cloud-system-message-wrap .ant-modal {
|
||||
max-width: calc(100vw - 32px);
|
||||
}
|
||||
|
||||
.fingertip-designer-system-message-dialog .ant-modal-content {
|
||||
.jayu-cloud-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);
|
||||
}
|
||||
|
||||
.fingertip-designer-system-message-dialog .ant-modal-confirm-body-wrapper {
|
||||
.jayu-cloud-system-message-dialog .ant-modal-confirm-body-wrapper {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.fingertip-designer-system-message-dialog .ant-modal-confirm-body {
|
||||
.jayu-cloud-system-message-dialog .ant-modal-confirm-body {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.fingertip-designer-system-message-dialog .ant-modal-confirm-content {
|
||||
.jayu-cloud-system-message-dialog .ant-modal-confirm-content {
|
||||
max-width: none;
|
||||
margin: 0 !important;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.fingertip-designer-system-message-dialog .ant-modal-confirm-btns {
|
||||
.jayu-cloud-system-message-dialog .ant-modal-confirm-btns {
|
||||
display: flex;
|
||||
justify-content: stretch;
|
||||
margin: 0;
|
||||
@@ -427,7 +427,7 @@ onUnmounted(() => {
|
||||
background: var(--theme-card-bg);
|
||||
}
|
||||
|
||||
.fingertip-designer-system-message-dialog .popup-message-ok-button {
|
||||
.jayu-cloud-system-message-dialog .popup-message-ok-button {
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
border: 0;
|
||||
@@ -438,8 +438,8 @@ onUnmounted(() => {
|
||||
box-shadow: var(--theme-button-shadow);
|
||||
}
|
||||
|
||||
.fingertip-designer-system-message-dialog .popup-message-ok-button:hover,
|
||||
.fingertip-designer-system-message-dialog .popup-message-ok-button:focus {
|
||||
.jayu-cloud-system-message-dialog .popup-message-ok-button:hover,
|
||||
.jayu-cloud-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) {
|
||||
.fingertip-designer-system-message-dialog .ant-modal-content {
|
||||
.jayu-cloud-system-message-dialog .ant-modal-content {
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.fingertip-designer-system-message-dialog .popup-message-ok-button {
|
||||
.jayu-cloud-system-message-dialog .popup-message-ok-button {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
@@ -49,7 +49,7 @@ const normalizePathname = (url?: string) => {
|
||||
const withoutHash = raw.split('#')[0] || ''
|
||||
const withoutQuery = withoutHash.split('?')[0] || ''
|
||||
try {
|
||||
return new URL(withoutQuery, 'http://fingertipdesigner.local').pathname
|
||||
return new URL(withoutQuery, 'http://jayucloud.local').pathname
|
||||
} catch {
|
||||
return withoutQuery.startsWith('/') ? withoutQuery : `/${withoutQuery}`
|
||||
}
|
||||
|
Before Width: | Height: | Size: 496 B After Width: | Height: | Size: 496 B |
@@ -264,7 +264,7 @@ const handleNavClick = (tab: string) => {
|
||||
|
||||
<style>
|
||||
@media (min-width: 768px) {
|
||||
.fingertip-designer-phone-frame > .bottom-nav {
|
||||
.jayu-cloud-phone-frame > .bottom-nav {
|
||||
right: auto;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
@@ -4,9 +4,9 @@ function normalizeBrandValue(value: string | undefined, fallbackValue: string):
|
||||
}
|
||||
|
||||
export const BRAND_CONFIG = {
|
||||
appName: normalizeBrandValue(import.meta.env.VITE_APP_NAME, '甲屿设计师'),
|
||||
appName: normalizeBrandValue(import.meta.env.VITE_APP_NAME, 'Jayu Artist'),
|
||||
appNameEn: normalizeBrandValue(import.meta.env.VITE_APP_NAME_EN, 'Jiayu Designer'),
|
||||
appTitle: normalizeBrandValue(import.meta.env.VITE_APP_TITLE, '甲屿设计师'),
|
||||
adminAppName: normalizeBrandValue(import.meta.env.VITE_ADMIN_APP_NAME, '甲屿设计师管理台'),
|
||||
appTitle: normalizeBrandValue(import.meta.env.VITE_APP_TITLE, 'Jayu Artist'),
|
||||
adminAppName: normalizeBrandValue(import.meta.env.VITE_ADMIN_APP_NAME, 'Jayu Artist管理台'),
|
||||
appShortName: normalizeBrandValue(import.meta.env.VITE_APP_SHORT_NAME, 'YN')
|
||||
}
|
||||
@@ -73,7 +73,7 @@ body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.fingertip-designer-page {
|
||||
.jayu-cloud-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;
|
||||
}
|
||||
|
||||
.fingertip-designer-page--no-nav {
|
||||
.jayu-cloud-page--no-nav {
|
||||
padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
|
||||
}
|
||||
|
||||
.fingertip-designer-section {
|
||||
.jayu-cloud-section {
|
||||
margin-top: 22px;
|
||||
}
|
||||
|
||||
.fingertip-designer-section-head {
|
||||
.jayu-cloud-section-head {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
@@ -101,7 +101,7 @@ body {
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.fingertip-designer-kicker {
|
||||
.jayu-cloud-kicker {
|
||||
display: block;
|
||||
color: var(--theme-primary-action);
|
||||
font-size: 11px;
|
||||
@@ -110,7 +110,7 @@ body {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.fingertip-designer-title {
|
||||
.jayu-cloud-title {
|
||||
display: block;
|
||||
color: var(--text-primary);
|
||||
font-size: 21px;
|
||||
@@ -118,7 +118,7 @@ body {
|
||||
line-height: 1.18;
|
||||
}
|
||||
|
||||
.fingertip-designer-subtitle {
|
||||
.jayu-cloud-subtitle {
|
||||
display: block;
|
||||
margin-top: 6px;
|
||||
color: var(--text-secondary);
|
||||
@@ -126,7 +126,7 @@ body {
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.fingertip-designer-glass-card {
|
||||
.jayu-cloud-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);
|
||||
}
|
||||
|
||||
.fingertip-designer-icon-button {
|
||||
.jayu-cloud-icon-button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -150,11 +150,11 @@ body {
|
||||
backdrop-filter: blur(14px);
|
||||
}
|
||||
|
||||
.fingertip-designer-icon-button:active {
|
||||
.jayu-cloud-icon-button:active {
|
||||
transform: scale(0.96);
|
||||
}
|
||||
|
||||
.app-container--phone-shell :where(.nav-button, .icon-btn, .back-btn, .fingertip-designer-icon-button) :where(.anticon),
|
||||
.app-container--phone-shell :where(.nav-button, .icon-btn, .back-btn, .jayu-cloud-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, .fingertip-designer-icon-button, .bottom-nav .nav-icon) :where(.anticon svg),
|
||||
.app-container--phone-shell :where(.nav-button, .icon-btn, .back-btn, .jayu-cloud-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;
|
||||
}
|
||||
|
||||
.fingertip-designer-page-titlebar {
|
||||
.jayu-cloud-page-titlebar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
@@ -191,7 +191,7 @@ body {
|
||||
padding: 12px 18px 8px;
|
||||
}
|
||||
|
||||
.fingertip-designer-page-titlebar__title {
|
||||
.jayu-cloud-page-titlebar__title {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
@@ -200,7 +200,7 @@ body {
|
||||
font-weight: 780;
|
||||
}
|
||||
|
||||
.fingertip-designer-status-chip {
|
||||
.jayu-cloud-status-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -215,7 +215,7 @@ body {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.fingertip-designer-bottom-action {
|
||||
.jayu-cloud-bottom-action {
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
z-index: 20;
|
||||
@@ -268,7 +268,7 @@ body {
|
||||
backdrop-filter: blur(18px);
|
||||
}
|
||||
|
||||
.fingertip-designer-phone-frame {
|
||||
.jayu-cloud-phone-frame {
|
||||
width: 100%;
|
||||
min-width: var(--frontend-min-safe-width);
|
||||
min-height: 100vh;
|
||||
@@ -277,7 +277,7 @@ body {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.fingertip-designer-phone-frame--hidden-nav {
|
||||
.jayu-cloud-phone-frame--hidden-nav {
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
@@ -298,7 +298,7 @@ body {
|
||||
max-width: var(--frontend-page-max-width);
|
||||
}
|
||||
|
||||
.fingertip-designer-phone-frame {
|
||||
.jayu-cloud-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);
|
||||
}
|
||||
|
||||
.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 {
|
||||
.jayu-cloud-phone-frame > .bottom-nav,
|
||||
.jayu-cloud-phone-frame > .page-content .header,
|
||||
.jayu-cloud-phone-frame > .page-content .header-bg,
|
||||
.jayu-cloud-phone-frame > .page-content .gallery-header,
|
||||
.jayu-cloud-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);
|
||||
}
|
||||
|
||||
.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 {
|
||||
.jayu-cloud-phone-frame > .page-content .header,
|
||||
.jayu-cloud-phone-frame > .page-content .header-bg,
|
||||
.jayu-cloud-phone-frame > .page-content .gallery-header,
|
||||
.jayu-cloud-phone-frame > .page-content .order-header {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.fingertip-designer-phone-frame > .page-content .header,
|
||||
.fingertip-designer-phone-frame > .page-content .gallery-header,
|
||||
.fingertip-designer-phone-frame > .page-content .order-header {
|
||||
.jayu-cloud-phone-frame > .page-content .header,
|
||||
.jayu-cloud-phone-frame > .page-content .gallery-header,
|
||||
.jayu-cloud-phone-frame > .page-content .order-header {
|
||||
border-top-left-radius: 32px;
|
||||
border-top-right-radius: 32px;
|
||||
}
|
||||
|
||||
.fingertip-designer-phone-frame > .bottom-nav {
|
||||
.jayu-cloud-phone-frame > .bottom-nav {
|
||||
bottom: 0;
|
||||
border-bottom-right-radius: 32px;
|
||||
border-bottom-left-radius: 32px;
|
||||
@@ -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 `fingertipdesigner:draft:${normalizedParts.join(':')}`
|
||||
return `jayucloud:draft:${normalizedParts.join(':')}`
|
||||
}
|
||||
|
||||
/**
|
||||