fix(theme): 优化主题色设置功能并修复令牌刷新逻辑

- 移除楼层列表中的主题色设置按钮及路由
- 重构主题色设置页面,新增系统预设色系和自定义模式
- 添加移动端真实页面预览功能,支持商品详情和订单页面预览
- 优化商品详情页优惠券展示样式和布局
- 修复买家端API刷新令牌请求的拦截器递归死锁问题
- 添加无refreshToken时的刷新请求保护机制
This commit is contained in:
pikachu1995@126.com
2026-10-09 15:50:56 +08:00
parent 1bd50cee45
commit bbe336d902
7 changed files with 981 additions and 143 deletions

View File

@@ -11,7 +11,6 @@
</el-tabs>
<div class="operation mb_10">
<el-button type="primary" @click="createTemp">添加页面</el-button>
<el-button @click="goThemeSetting">主题色设置</el-button>
</div>
<el-table v-loading="loading" :data="list" style="width: 100%">
<el-table-column prop="name" label="页面名称" min-width="200" show-overflow-tooltip>
@@ -169,10 +168,6 @@ export default {
});
},
goThemeSetting() {
this.$router.push({ name: "theme-setting" });
},
changePageNum(val) {
this.searchForm.pageNumber = val;
this.getTemplateList();

File diff suppressed because it is too large Load Diff

View File

@@ -11,7 +11,6 @@
</el-tabs>
<div class="operation mb_10">
<el-button type="primary" @click="handleAdd()">添加页面</el-button>
<el-button @click="goThemeSetting">主题色设置</el-button>
</div>
<el-table v-loading="loading" :data="list" style="width: 100%">
<el-table-column prop="name" label="页面名称" min-width="200" show-overflow-tooltip>
@@ -163,9 +162,6 @@ export default {
query: { pagetype: this.params.pageType },
});
},
goThemeSetting() {
this.$router.push({ name: "theme-setting" });
},
changePageSize(v) {
this.params.pageNumber = 1;
this.params.pageSize = v;