mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-22 02:45:55 +08:00
添加注释,删除无用代码
This commit is contained in:
@@ -38,22 +38,20 @@ import {
|
||||
getPromotionGoods,
|
||||
} from "@/api/promotion";
|
||||
|
||||
// 引用店铺
|
||||
// import shopListDialog from "@/views/seller/shop/";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
totals: "",
|
||||
totals: "", // 总数
|
||||
loading: true, //表格请求数据为true
|
||||
promotionList: "",
|
||||
promotionList: "", // 活动列表
|
||||
selectedIndex: 0, //左侧菜单选择
|
||||
promotions: "", //选中的活动key
|
||||
index: 999,
|
||||
params: {
|
||||
index: 999, // 已选下标
|
||||
params: { // 请求参数
|
||||
pageNumber: 1,
|
||||
pageSize: 10,
|
||||
},
|
||||
pintuanColumns: [
|
||||
pintuanColumns: [ // 表头
|
||||
{
|
||||
title: "活动标题",
|
||||
key: "title",
|
||||
@@ -199,7 +197,7 @@ export default {
|
||||
},
|
||||
],
|
||||
|
||||
activeColumns: [],
|
||||
activeColumns: [], // 活动表头
|
||||
|
||||
columns: [
|
||||
{
|
||||
@@ -253,7 +251,7 @@ export default {
|
||||
promotionData: "", //商品集合
|
||||
|
||||
showPromotionList: [], //显示当前促销的商品
|
||||
typeOption: {
|
||||
typeOption: { // 活动选项
|
||||
FULL_DISCOUNT: {
|
||||
title: "满减",
|
||||
methodsed: () => {
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
linkList: [
|
||||
linkList: [ // 链接列表
|
||||
{
|
||||
title: "首页",
|
||||
icon: "md-home",
|
||||
@@ -82,8 +82,8 @@ export default {
|
||||
___type: "link",
|
||||
url: ''
|
||||
},
|
||||
linkVisible: false,
|
||||
selectedIndex: 9999999,
|
||||
linkVisible: false, // 是否显示外部链接
|
||||
selectedIndex: 9999999, // 已选index
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -36,14 +36,14 @@ import { getShopListData } from "@/api/shops.js";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
loading: false,
|
||||
total: "",
|
||||
params: {
|
||||
loading: false, // 加载状态
|
||||
total: "", // 总数
|
||||
params: { // 请求参数
|
||||
pageNumber: 1,
|
||||
pageSize: 10,
|
||||
storeName: "",
|
||||
},
|
||||
shopsData: [],
|
||||
shopsData: [], // 店铺数据
|
||||
selected: 9999999999, //设置一个不可能选中的index
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user