fix(hn): remove purchase prompt and align info toast colors
This commit is contained in:
1 parent
dd98c320e9
commit
ede1e1bdc4
3 files changed
+17
No files matched your search
@@ -227,3 +227,15 @@ HN语言入口图标(2026-10-29本地):按用户截图将LanguageSelector
|
||||
### HN 查看帮助关闭扫光(2026-10-30,本地完成)
|
||||
|
||||
按用户要求,在HN专用vite适配器为Dashboard追加scoped样式,仅关闭`.stats-card.doc-card::after`的循环扫光(content:none、animation:none),保留悬停反馈。未改共享EZ源码、XB核心或DPL。Vite模块HTTP200,本地hn.loc仪表盘实际显示、伪元素computed animation/content均none;截图位于共享仓库codex/output/hn-help-static-20261030/dashboard.png。未提交、推送或发布线上。
|
||||
|
||||
|
||||
### 订单确认提示弹窗关闭(2026-10-30,仅本地)
|
||||
|
||||
按用户截图要求,HN专用runtime-config关闭ORDER_CONFIG.confirmOrder并清空confirmOrderContent,取消“无法提供教程/没有退款政策”的主题默认确认弹窗;正常订单确认页保留。不修改共享EZ源码、后端订单逻辑或DPL,不代表制定或修改实际退款政策。未提交或发布线上。
|
||||
|
||||
|
||||
### 普通提示配色对齐HN(2026-10-30,仅本地)
|
||||
|
||||
用户反馈订单处理中Toast默认蓝色与主题不一致。HN专用适配器仅为Toast.vue追加scoped规则,在.toast.toast-info内将--info-color映射到--theme-color(回退#8bcf36),普通提示的侧边线、信息图标描边、进度条共同使用主题色,背景/文字沿用现有明暗变量。错误、警告、成功提示语义及定时器不变;未修改共享EZ或DPL。未提交/发布线上。
|
||||
|
||||
本地实际Toast组件隔离预览通过:侧边线、图标stroke、进度条backgroundColor计算值均rgb(139,207,54),截图共享仓库codex/output/hn-toast-theme-20261030/preview.png。临时预览页已移除,无订单提交或付款;主题模块与附加样式Vite编译通过。关闭确认弹窗后的正常结算页已实际打开,未点击提交订单。
|
||||
@@ -15,6 +15,8 @@ export function adaptConfig(original, settings, location) {
|
||||
config.AUTHORIZED_DOMAINS = [location.hostname];
|
||||
config.SHOP_CONFIG.showPlanFeatureCards = false;
|
||||
config.SHOP_CONFIG.popup.enabled = false;
|
||||
config.ORDER_CONFIG.confirmOrder = false;
|
||||
config.ORDER_CONFIG.confirmOrderContent = "";
|
||||
config.CLIENT_CONFIG.showDownloadCard = false;
|
||||
config.CLIENT_CONFIG.clientLinks = {};
|
||||
config.PROFILE_CONFIG.showRecentDevices = false;
|
||||
|
||||
@@ -32,6 +32,9 @@ export default defineConfig(({mode}) => ({
|
||||
.replace('components: {', 'components: { HnWelcomeNotice,');
|
||||
code += '\n<style scoped>\n.stats-card.doc-card::after { content: none; animation: none; }\n</style>\n';
|
||||
}
|
||||
if (id === path.join(upstream,'src/components/common/Toast.vue')) {
|
||||
code += '\n<style scoped>\n.toast.toast-info { --info-color: var(--theme-color, #8bcf36); }\n</style>\n';
|
||||
}
|
||||
if (id === path.join(upstream,'src/components/common/LanguageSelector.vue')) {
|
||||
code = code.replace('<span :key="currentLanguage" class="flag-container" v-html="getCurrentLanguageFlag()"></span>', `<span :key="currentLanguage" class="hn-language-code" style="font-size:13px;font-weight:700;letter-spacing:.5px">{{ ({'zh-CN':'CN','zh-TW':'TW','en-US':'EN','ja-JP':'JP','ko-KR':'KR','ru-RU':'RU','fa-IR':'IR','vi-VN':'VN'})[currentLanguage] || 'EN' }}</span>`);
|
||||
code = code.replace('<style', `<style>
|
||||
|
||||
Reference in new issue
Block a user