mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-11-08 01:48:56 +08:00
refactor: 移除停用促销、批发和短信管理界面
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -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' }
|
||||
];
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user