refactor: 移除停用促销、批发和短信管理界面

This commit is contained in:
pikachu1995@126.com
2026-11-05 15:20:38 +08:00
parent 961565149c
commit 560286b7f6
13 changed files with 10 additions and 1043 deletions

View File

@@ -2539,7 +2539,6 @@ function save() {
}
baseInfoForm.value.salesModel = "RETAIL";
baseInfoForm.value.wholesaleList = [];
// 判断是否是复制商品(复制商品时不复用原有 goodsId,重新生成)
if (!route.query.copyId) {
@@ -2550,7 +2549,6 @@ function save() {
syncIntroFromEditors();
let submit = JSON.parse(JSON.stringify(baseInfoForm.value));
submit.salesModel = "RETAIL";
submit.wholesaleList = [];
// 5. 商品主图相册校验
if (
@@ -3357,51 +3355,6 @@ onBeforeUnmount(() => {
margin-left: 10px;
}
.wholesale-rule-form-item {
width: 100% !important;
min-width: 900px;
}
.wholesale-preview-table {
width: 480px;
}
.wholesale-preview-table :deep(.el-table__cell .cell) {
overflow: visible;
white-space: nowrap;
}
.wholesale-rule-form-item :deep(.el-form-item__content) {
width: 100%;
}
.wholesale-num-input {
width: 190px;
}
.wholesale-num-input :deep(.el-input__wrapper) {
min-width: 140px;
}
.wholesale-price-cell {
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.wholesale-price-input {
width: 190px;
}
.wholesale-price-del {
position: absolute;
top: 50%;
left: 50%;
margin-left: 100px;
transform: translateY(-50%);
}
/* 单/多规格切换与单规格表格样式 */
.spec-mode-switch-bar {
display: flex;

View File

@@ -283,7 +283,7 @@ const ALL_COMPONENT_DEFINITIONS = [
{ title: '数码潮玩 · 爆款立减500', img: 'https://lilishop-pc.oss-cn-beijing.aliyuncs.com/static/brand-wall/brand_1.png', url: '/goodsList?category=1' },
{ title: '美妆奢宠 · 每满300减50', img: 'https://lilishop-pc.oss-cn-beijing.aliyuncs.com/static/brand-wall/brand_2.png', url: '/goodsList?category=2' },
{ title: '运动潮品 · 爆款低至5折', img: 'https://lilishop-pc.oss-cn-beijing.aliyuncs.com/static/brand-wall/brand_3.png', url: '/goodsList?category=3' },
{ title: '品质生活 · 限时第2件半价', img: 'https://lilishop-pc.oss-cn-beijing.aliyuncs.com/static/brand-wall/brand_4.png', url: '/goodsList?category=4' }
{ title: '品质生活 · 精选好物', img: 'https://lilishop-pc.oss-cn-beijing.aliyuncs.com/static/brand-wall/brand_4.png', url: '/goodsList?category=4' }
]
},
defaultComponentStyle: {

View File

@@ -49,7 +49,7 @@ const brandList = computed(() => {
{ title: '数码潮玩 · 爆款立减500', img: 'https://lilishop-pc.oss-cn-beijing.aliyuncs.com/static/brand-wall/brand_1.png', url: '/goodsList?category=1' },
{ title: '美妆奢宠 · 每满300减50', img: 'https://lilishop-pc.oss-cn-beijing.aliyuncs.com/static/brand-wall/brand_2.png', url: '/goodsList?category=2' },
{ title: '运动潮品 · 爆款低至5折', img: 'https://lilishop-pc.oss-cn-beijing.aliyuncs.com/static/brand-wall/brand_3.png', url: '/goodsList?category=3' },
{ title: '品质生活 · 限时第2件半价', img: 'https://lilishop-pc.oss-cn-beijing.aliyuncs.com/static/brand-wall/brand_4.png', url: '/goodsList?category=4' }
{ title: '品质生活 · 精选好物', img: 'https://lilishop-pc.oss-cn-beijing.aliyuncs.com/static/brand-wall/brand_4.png', url: '/goodsList?category=4' }
];
});