营销:接入 APP 装修页面

This commit is contained in:
owen
2024-01-11 11:55:24 +08:00
parent 1694a6f554
commit aa30c2659c
3 changed files with 37 additions and 34 deletions
+15
View File
@@ -0,0 +1,15 @@
import request from '@/sheep/request';
const DiyPageApi = {
getDiyPage: (id) => {
return request({
url: '/app-api/promotion/diy-page/get',
method: 'GET',
params: {
id
}
});
},
};
export default DiyPageApi;
@@ -307,26 +307,17 @@
type: [Array, Object],
default() {
return {
// TODO @疯狂:旧的要不剔除掉,后续都用新的
// 商品名称(旧)
title: { show: true },
// 商品介绍(旧)
subtitle: { show: true },
// 商品价格
price: { show: true },
// 市场价(旧)
original_price: { show: true },
// 销量(旧)
sales: { show: true },
// 库存
stock: { show: true },
// 商品名称(新)
// 商品名称
name: { show: true },
// 商品介绍(新)
// 商品介绍
introduction: { show: true },
// 市场价(新)
// 市场价
marketPrice: { show: true },
// 销量(新)
// 销量
salesCount: { show: true },
};
},