diff --git a/manager/src/assets/nav/decorate.png b/manager/src/assets/nav/decorate.png new file mode 100644 index 00000000..7701d18a Binary files /dev/null and b/manager/src/assets/nav/decorate.png differ diff --git a/manager/src/assets/nav/decorate1.png b/manager/src/assets/nav/decorate1.png new file mode 100644 index 00000000..3bc10858 Binary files /dev/null and b/manager/src/assets/nav/decorate1.png differ diff --git a/manager/src/assets/nav/decorate10.jpeg b/manager/src/assets/nav/decorate10.jpeg new file mode 100644 index 00000000..5e67c4d6 Binary files /dev/null and b/manager/src/assets/nav/decorate10.jpeg differ diff --git a/manager/src/assets/nav/decorate11.jpeg b/manager/src/assets/nav/decorate11.jpeg new file mode 100644 index 00000000..50612270 Binary files /dev/null and b/manager/src/assets/nav/decorate11.jpeg differ diff --git a/manager/src/assets/nav/decorate2.jpeg b/manager/src/assets/nav/decorate2.jpeg new file mode 100644 index 00000000..3d98ffdd Binary files /dev/null and b/manager/src/assets/nav/decorate2.jpeg differ diff --git a/manager/src/assets/nav/decorate3.jpeg b/manager/src/assets/nav/decorate3.jpeg new file mode 100644 index 00000000..8274bba5 Binary files /dev/null and b/manager/src/assets/nav/decorate3.jpeg differ diff --git a/manager/src/assets/nav/decorate4.jpeg b/manager/src/assets/nav/decorate4.jpeg new file mode 100644 index 00000000..37c66a6b Binary files /dev/null and b/manager/src/assets/nav/decorate4.jpeg differ diff --git a/manager/src/assets/nav/decorate5.jpeg b/manager/src/assets/nav/decorate5.jpeg new file mode 100644 index 00000000..a0dcd195 Binary files /dev/null and b/manager/src/assets/nav/decorate5.jpeg differ diff --git a/manager/src/assets/nav/decorate6.jpeg b/manager/src/assets/nav/decorate6.jpeg new file mode 100644 index 00000000..be4041ea Binary files /dev/null and b/manager/src/assets/nav/decorate6.jpeg differ diff --git a/manager/src/assets/nav/decorate7.jpeg b/manager/src/assets/nav/decorate7.jpeg new file mode 100644 index 00000000..6a7b819f Binary files /dev/null and b/manager/src/assets/nav/decorate7.jpeg differ diff --git a/manager/src/assets/nav/decorate8.png b/manager/src/assets/nav/decorate8.png new file mode 100644 index 00000000..6ee46fc2 Binary files /dev/null and b/manager/src/assets/nav/decorate8.png differ diff --git a/manager/src/assets/nav/decorate9.png b/manager/src/assets/nav/decorate9.png new file mode 100644 index 00000000..958e3645 Binary files /dev/null and b/manager/src/assets/nav/decorate9.png differ diff --git a/manager/src/views/change-password/change-password.vue b/manager/src/views/change-password/change-password.vue index 4af0116b..09503836 100644 --- a/manager/src/views/change-password/change-password.vue +++ b/manager/src/views/change-password/change-password.vue @@ -47,14 +47,14 @@ export default { } }; return { - savePassLoading: false, - editPasswordForm: { + savePassLoading: false, // 保存加载状态 + editPasswordForm: { // 编辑密码表单 oldPassword: "", newPassword: "", rePassword: "", }, - strength: "", - passwordValidate: { + strength: "", // 密码强度 + passwordValidate: { // 验证规则 oldPassword: [ { required: true, diff --git a/manager/src/views/distribution/distribution.vue b/manager/src/views/distribution/distribution.vue index 5dcfd56d..294f26d4 100644 --- a/manager/src/views/distribution/distribution.vue +++ b/manager/src/views/distribution/distribution.vue @@ -49,7 +49,7 @@ }, data() { return { - distributionStatusList, + distributionStatusList, // 分销状态 openSearch: true, // 显示搜索 loading: true, // 表单加载状态 searchForm: { // 搜索框初始化对象 diff --git a/manager/src/views/distribution/distributionApply.vue b/manager/src/views/distribution/distributionApply.vue index 1d6a7375..d8465ccf 100644 --- a/manager/src/views/distribution/distributionApply.vue +++ b/manager/src/views/distribution/distributionApply.vue @@ -52,7 +52,6 @@ startDate: "", // 起始时间 endDate: "" // 终止时间 }, - selectDate: null, form: { // 添加或编辑表单对象初始化数据 memberName: "", }, @@ -144,16 +143,6 @@ this.searchForm.pageSize = 10; this.getDataList(); }, - handleReset() { - this.$refs.searchForm.resetFields(); - this.searchForm.pageNumber = 1; - this.searchForm.pageSize = 10; - this.selectDate = null; - this.searchForm.startDate = ""; - this.searchForm.endDate = ""; - // 重新加载数据 - this.getDataList(); - }, changeSort(e) { this.searchForm.sort = e.key; this.searchForm.order = e.order; diff --git a/manager/src/views/distribution/distributionCash.vue b/manager/src/views/distribution/distributionCash.vue index d96d75a0..0c4225f7 100644 --- a/manager/src/views/distribution/distributionCash.vue +++ b/manager/src/views/distribution/distributionCash.vue @@ -70,11 +70,10 @@ export default { data() { return { cashStatusList, // 状态列表 - openSearch: true, // 显示搜索 loading: true, // 表单加载状态 modalVisible: false, // 添加或编辑显示 modalTitle: "", // 添加或编辑标题 - result: -1, + result: -1, // 是否通过 searchForm: { // 搜索框初始化对象 pageNumber: 1, // 当前页数 pageSize: 10, // 页面大小 @@ -87,7 +86,7 @@ export default { memberName: "", price: "", }, - auditForm: { + auditForm: { // 编辑表单 result: -1 }, submitLoading: false, // 添加或编辑提交状态 diff --git a/manager/src/views/distribution/distributionOrder.vue b/manager/src/views/distribution/distributionOrder.vue index e5e0ce13..98a54e51 100644 --- a/manager/src/views/distribution/distributionOrder.vue +++ b/manager/src/views/distribution/distributionOrder.vue @@ -64,10 +64,10 @@ components: {}, data() { return { - timeRange: [], - orderStatusList, + timeRange: [], // 范围时间 + orderStatusList, // 订单状态列表 shopList: [], // 店铺列表 - distributionId: this.$route.query.id, + distributionId: this.$route.query.id, // 分销id openSearch: true, // 显示搜索 openTip: true, // 显示提示 loading: true, // 表单加载状态 diff --git a/manager/src/views/distribution/distributionSetting.vue b/manager/src/views/distribution/distributionSetting.vue index 42b8dca3..096c33ac 100644 --- a/manager/src/views/distribution/distributionSetting.vue +++ b/manager/src/views/distribution/distributionSetting.vue @@ -24,7 +24,6 @@ data() { return { loading: true, // 表单加载状态 - selectDate: null, form: { // 添加或编辑表单对象初始化数据 isOpen: "" }, diff --git a/manager/src/views/goods-unit/index.vue b/manager/src/views/goods-unit/index.vue index 1c658d97..ea1d1a46 100644 --- a/manager/src/views/goods-unit/index.vue +++ b/manager/src/views/goods-unit/index.vue @@ -71,14 +71,10 @@ export default { components: {}, data() { return { - openSearch: true, // 显示搜索 loading: true, // 表单加载状态 modalType: 0, // 添加或编辑标识 modalVisible: false, // 添加或编辑显示 modalTitle: "", // 添加或编辑标题 - drop: false, - dropDownContent: "展开", - dropDownIcon: "ios-arrow-down", searchForm: { // 搜索框初始化对象 pageNumber: 1, // 当前页数 @@ -87,7 +83,6 @@ export default { order: "desc", // 默认排序方式 name: "", }, - selectDate: null, form: { // 添加或编辑表单对象初始化数据 name: "", diff --git a/manager/src/views/goods/goods-industry-statistics/index.vue b/manager/src/views/goods/goods-industry-statistics/index.vue index a700b051..5deae22b 100644 --- a/manager/src/views/goods/goods-industry-statistics/index.vue +++ b/manager/src/views/goods/goods-industry-statistics/index.vue @@ -97,18 +97,18 @@ export default { }, data() { return { - storeName: "", - memberName: "", - shopFlag: false, - selectName: "选择", - modalFlag: false, - priceData: "", - orderStatus: "NUM", + storeName: "", // 店铺名称 + memberName: "", // 会员名称 + shopFlag: false, // 是否展示 + selectName: "选择", // modal名称 + modalFlag: false, // modal显隐 + priceData: "", // 价格 + orderStatus: "NUM", // tab展示 + + shopList: {}, // 店铺列表 + memberList: {}, // 会员列表 - shopList: {}, - memberList: {}, - - typeList: [ + typeList: [ // 类型 { value: "YEAR", label: "年", @@ -118,9 +118,9 @@ export default { label: "月", }, ], - total: 0, - year:"", - params: { + total: 0, // 总数 + year:"", // 当前年份 + params: { // 请求参数 type: "PRICE", timeType: "YEAR", @@ -130,7 +130,7 @@ export default { shopId: "", memberId: "", }, - columns: [ + columns: [ // 店铺名称 { title: "商品一级分类", key: "categoryName", @@ -144,7 +144,7 @@ export default { key: "price", }, ], - data: [], + data: [], // 店铺名称 }; }, watch: { diff --git a/manager/src/views/goods/goods-info/goods.vue b/manager/src/views/goods/goods-info/goods.vue index d68713c7..bc42e4dc 100644 --- a/manager/src/views/goods/goods-info/goods.vue +++ b/manager/src/views/goods/goods-info/goods.vue @@ -127,9 +127,9 @@ export default { modalType: 0, // 添加或编辑标识 modalVisible: false, // 添加或编辑显示 modalTitle: "", // 添加或编辑标题 - drop: false, - dropDownContent: "展开", - dropDownIcon: "ios-arrow-down", + drop: false, // 展开搜索框 + dropDownContent: "展开", // 展开标签文字 + dropDownIcon: "ios-arrow-down", // 展开图标 searchForm: { // 搜索框初始化对象 pageNumber: 1, // 当前页数 @@ -137,7 +137,7 @@ export default { sort: "create_time", // 默认排序字段 order: "desc", // 默认排序方式 }, - underForm: { + underForm: { // 下架原因 reason: "", }, form: { diff --git a/manager/src/views/goods/goods-info/goodsApply.vue b/manager/src/views/goods/goods-info/goodsApply.vue index 68894165..57591647 100644 --- a/manager/src/views/goods/goods-info/goodsApply.vue +++ b/manager/src/views/goods/goods-info/goodsApply.vue @@ -99,10 +99,10 @@ sort: "create_time", // 默认排序字段 order: "desc", // 默认排序方式 }, - underForm: { + underForm: { // 下架原因 reason: "", }, - goodsAuditForm: { + goodsAuditForm: { // 商品编辑表单 is_auth: 1, }, form: { diff --git a/manager/src/views/goods/goods-info/goodsDetail.vue b/manager/src/views/goods/goods-info/goodsDetail.vue index 5653d27a..27f9505a 100644 --- a/manager/src/views/goods/goods-info/goodsDetail.vue +++ b/manager/src/views/goods/goods-info/goodsDetail.vue @@ -17,9 +17,6 @@ {{ goods.sellingPoint }} - - -

商品交易信息

@@ -139,10 +136,10 @@ export default { name: "goodsDetail", data() { return { - goods: '', - previewGoodsPicture: '', - goodsPictureVisible: false, - skuColumn: [ + goods: '', // 商品信息 + previewGoodsPicture: '', // 预览图片 + goodsPictureVisible: false, // 预览图片模态框 + skuColumn: [ // 规格表头 { title: '规格', key: 'specs' @@ -168,7 +165,7 @@ export default { slot: "showImage", } ], - skuData: [] + skuData: [] // sku数据 } }, mounted() { diff --git a/manager/src/views/goods/goods-manage/category.vue b/manager/src/views/goods/goods-manage/category.vue index 20154c58..a975f951 100644 --- a/manager/src/views/goods/goods-manage/category.vue +++ b/manager/src/views/goods/goods-manage/category.vue @@ -144,18 +144,17 @@ export default { }, data() { return { - categoryList: [], + categoryList: [], // 分类列表 sortCateList: [], //筛选出分类第一级 sortCate: "", //筛选的数据 - currView: "index", - loading: false, - selectCount: 0, + loading: false, // 加载状态 + selectCount: 0, // 选择数量 brands: [], //品牌集合 specifications: [], //规格集合 - categoryId: "", + categoryId: "", // 分类id category_brands: [], //已经选择的品牌 category_specs: [], //已经选择的规格 - expandLevel: 1, + expandLevel: 1, // 展开层级 modalType: 0, // 添加或编辑标识 modalVisible: false, // 添加或编辑显示 modalBrandVisible: false, //品牌关联编辑显示 diff --git a/manager/src/views/goods/goods-refund/index.vue b/manager/src/views/goods/goods-refund/index.vue index 68a6b05d..75a7b91f 100644 --- a/manager/src/views/goods/goods-refund/index.vue +++ b/manager/src/views/goods/goods-refund/index.vue @@ -84,17 +84,15 @@ export default { }, data() { return { - storeName: "", - memberName: "", - shopFlag: false, - selectName: "选择", - modalFlag: false, - priceData: "", - orderStatus: "PRICE", - - shopList: {}, - memberList: {}, - + storeName: "", // 店铺名称 + memberName: "", // 会员名称 + shopFlag: false, // 是否展示 + selectName: "选择", // modal名称 + modalFlag: false, // modal显隐 + priceData: "", // 价格 + orderStatus: "PRICE", // tab展示 + shopList: {}, // 店铺列表 + memberList: {}, // 会员列表 typeList: [ { value: "YEAR", @@ -105,9 +103,9 @@ export default { label: "月", }, ], - total: 0, - year: "", - params: { + total: 0, // 列表总数 + year: "", // 当前年份 + params: { // 请求参数 type: "PRICE", timeType: "YEAR", pageNumber: 1, @@ -116,7 +114,7 @@ export default { shopId: "", memberId: "", }, - columns: [ + columns: [ // 表格表头 { title: "售后号", key: "refundSn", @@ -150,7 +148,7 @@ export default { }, }, ], - data: [], + data: [] // 列表数据 }; }, watch: { diff --git a/manager/src/views/goods/goods-review/index.vue b/manager/src/views/goods/goods-review/index.vue index e9809fa2..3797b23b 100644 --- a/manager/src/views/goods/goods-review/index.vue +++ b/manager/src/views/goods/goods-review/index.vue @@ -68,7 +68,7 @@
+ alt="" />
@@ -101,15 +101,10 @@ export default { components: {}, data() { return { - pageShow: true, - infoData: "", - infoFlag: false, - infoTitle: "", - openSearch: true, // 显示搜索 + infoData: "", // 商品信息 + infoFlag: false, // 评价展示 + infoTitle: "", // modal名称 loading: true, // 表单加载状态 - drop: false, - - dropDownIcon: "ios-arrow-down", searchForm: { // 搜索框初始化对象 pageNumber: 1, // 当前页数 @@ -119,7 +114,6 @@ export default { startDate: "", // 起始时间 endDate: "", // 终止时间 }, - selectDate: null, form: { // 添加或编辑表单对象初始化数据 memberName: "", diff --git a/manager/src/views/home/home.vue b/manager/src/views/home/home.vue index ecdfafa1..147b1f0e 100644 --- a/manager/src/views/home/home.vue +++ b/manager/src/views/home/home.vue @@ -214,7 +214,7 @@ export default { }, data() { return { - tophotShopsColumns: [ + tophotShopsColumns: [ // 表格表头 { type: "index", width: 100, @@ -276,11 +276,10 @@ export default { topHotGoodsData: [], //热卖商品集合 topHotShopsData: [], //热卖店铺集合 awaitTodoData: "", //今日待办集合 - homeData: "", - username: "", - pvChart: "", - orderChart: "", - params: { + homeData: "", // 首页数据 + pvChart: "", // 流量统计 + orderChart: "", // 订单统计 + params: { // 请求参数 searchType: "LAST_SEVEN", }, // 订单传参 @@ -470,10 +469,6 @@ export default { // 初始化信息 init() { - if (Cookies.get("userInfo")) { - let userInfo = JSON.parse(Cookies.get("userInfo")); - this.username = userInfo.username; - } this.toHotGoods(); this.topHotShops(); this.awaitTodo(); diff --git a/manager/src/views/home/show.vue b/manager/src/views/home/show.vue index acb2f321..f1e9c755 100644 --- a/manager/src/views/home/show.vue +++ b/manager/src/views/home/show.vue @@ -42,11 +42,10 @@ export default { name: "show", data() { return { - loading: false, - go: "", - url: "", - html: "", - height: "525px" + loading: false, // 加载状态 + go: "", // 跳转地址 + url: "", // 链接地址 + height: "525px" // iframe高度 }; }, computed: { @@ -66,7 +65,6 @@ export default { } }, handleGo() { - let url = this.url; this.go = this.url; }, handleOpen() { diff --git a/manager/src/views/lili-components/affix-time.vue b/manager/src/views/lili-components/affix-time.vue index c7b71bd6..3774a2be 100644 --- a/manager/src/views/lili-components/affix-time.vue +++ b/manager/src/views/lili-components/affix-time.vue @@ -26,28 +26,21 @@ export default { props: ["closeShop"], data() { return { - month: "", - year: "", - - defuaultWay: { + month: "", // 月份 + + selectedWay: { // 可选时间项 title: "最近7天", selected: true, searchType: "LAST_SEVEN", }, - - selectedWay: { - title: "最近7天", - selected: true, - searchType: "LAST_SEVEN", - }, - storeId: "", - dates: [], - params: { + storeId: "", // 店铺id + dates: [], // 日期列表 + params: { // 请求参数 pageNumber: 1, pageSize: 10, storeName: "", }, - dateList: [ + dateList: [ // 筛选条件 { title: "今天", selected: false, @@ -70,8 +63,8 @@ export default { }, ], - shopTotal: "", - shopsData: [], + shopTotal: "", // 店铺总数 + shopsData: [], // 店铺数据 }; }, mounted() { diff --git a/manager/src/views/lili-components/multiple-region.vue b/manager/src/views/lili-components/multiple-region.vue index af2ec330..3ac9b970 100644 --- a/manager/src/views/lili-components/multiple-region.vue +++ b/manager/src/views/lili-components/multiple-region.vue @@ -11,43 +11,11 @@ import { getAllCity } from "@/api/index"; export default { data() { return { - switched: false, - asyncLoading: false, - num: 10, - modalFlag: false, - spinShow: false, - timerNum: 10, - data: [], - id: 0, - selectedWay: [], - addValidate: { - parentName: "无父级", - }, - ruleValidate: { - adCode: [ - { - required: true, - message: "区域编码不能为空", - trigger: "blur", - }, - ], - - center: [ - { - required: true, - message: "经纬度不能为空", - trigger: "blur", - }, - ], - name: [ - { - required: true, - message: "名称不能为空", - trigger: "blur", - }, - ], - }, - callBackData: "", + switched: false, // 控制模态框显隐 + spinShow: false, // 加载状态 + data: [], // 地区数据 + selectedWay: [], // 选择的地区 + callBackData: "", // 打开组件的回显数据 }; }, mounted() { diff --git a/manager/src/views/lili-components/region.vue b/manager/src/views/lili-components/region.vue index 7210cf0f..3ede1a0f 100644 --- a/manager/src/views/lili-components/region.vue +++ b/manager/src/views/lili-components/region.vue @@ -15,10 +15,10 @@ import * as API_Setup from "@/api/index.js"; export default { data() { return { - data: [], - selected: [], - id: 0, - changeOnSelect: false, + data: [], // 地区数据 + selected: [], // 已选地区 + id: 0, // 默认id + changeOnSelect: false, // 选择时变动 }; }, mounted() { diff --git a/manager/src/views/lili-dialog/goods-dialog.vue b/manager/src/views/lili-dialog/goods-dialog.vue index 1760db7f..1f374a8d 100644 --- a/manager/src/views/lili-dialog/goods-dialog.vue +++ b/manager/src/views/lili-dialog/goods-dialog.vue @@ -44,12 +44,11 @@ export default { return { type: "multiple", //单选或者多选 single multiple - skuList: [], - model1: "", + skuList: [], // 商品sku列表 selectedWay: [], //选中商品集合 - total: "", - goodsParams: { + total: "", // 商品总数 + goodsParams: { // 商品请求参数 pageNumber: 1, pageSize: 18, order: "desc", @@ -59,10 +58,10 @@ export default { marketEnable: "UPPER", isAuth: "PASS", }, - category: [], - goodsData: [], - empty: false, - loading: false, + category: [], // 分类 + goodsData: [], // 商品数据 + empty: false, // 空数据 + loading: false, // 加载状态 }; }, props: ["clearFlag"], diff --git a/manager/src/views/lili-dialog/index.vue b/manager/src/views/lili-dialog/index.vue index b0bfb141..dc8341ec 100644 --- a/manager/src/views/lili-dialog/index.vue +++ b/manager/src/views/lili-dialog/index.vue @@ -22,10 +22,10 @@ export default { }, data() { return { - goodsFlag: false, + goodsFlag: false, // 是否商品选择器 goodsData: "", //选择的商品 linkData: "", //选择的链接 - flag: false, + flag: false, // modal显隐 }; }, props: ["types"], diff --git a/manager/src/views/lili-dialog/link-dialog.vue b/manager/src/views/lili-dialog/link-dialog.vue index a5a55da6..a5294ce5 100644 --- a/manager/src/views/lili-dialog/link-dialog.vue +++ b/manager/src/views/lili-dialog/link-dialog.vue @@ -23,11 +23,11 @@ export default { }, data() { return { - templateWay, - changed: "", - selected: 0, + templateWay, // 模板数据 + changed: "", // 变更模板 + selected: 0, // 已选数据 selectedLink: "", //选中的链接 - wap + wap // tab标签 }; }, watch: { diff --git a/manager/src/views/lili-dialog/template/marketing.vue b/manager/src/views/lili-dialog/template/marketing.vue index 40932bf2..34dfc3cf 100644 --- a/manager/src/views/lili-dialog/template/marketing.vue +++ b/manager/src/views/lili-dialog/template/marketing.vue @@ -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: () => { diff --git a/manager/src/views/lili-dialog/template/other.vue b/manager/src/views/lili-dialog/template/other.vue index 96c058e9..2e44016b 100644 --- a/manager/src/views/lili-dialog/template/other.vue +++ b/manager/src/views/lili-dialog/template/other.vue @@ -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: { diff --git a/manager/src/views/lili-dialog/template/shops.vue b/manager/src/views/lili-dialog/template/shops.vue index af5b3e8a..b33509a0 100644 --- a/manager/src/views/lili-dialog/template/shops.vue +++ b/manager/src/views/lili-dialog/template/shops.vue @@ -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 }; }, diff --git a/manager/src/views/lili-floor-renovation/modelConfig.js b/manager/src/views/lili-floor-renovation/modelConfig.js index 55fb3711..26311d43 100644 --- a/manager/src/views/lili-floor-renovation/modelConfig.js +++ b/manager/src/views/lili-floor-renovation/modelConfig.js @@ -30,32 +30,32 @@ export const modelData = [ options:{ list:[ { - img:"https://demo.dscmall.cn/storage/data/gallery_album/116/original_img/116_P_1573790294398.png", + img:require('@/assets/nav/decorate1.png'), url:'', size:'1200*自定义' }, { - img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953434094179058.png', + img:require('@/assets/nav/1.jpg'), url:'', size:'230*190' }, { - img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953434094179058.png', + img:require('@/assets/nav/1.jpg'), url:'', size:'230*190' }, { - img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953434094179058.png', + img:require('@/assets/nav/1.jpg'), url:'', size:'230*190' }, { - img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953434094179058.png', + img:require('@/assets/nav/1.jpg'), url:'', size:'230*190' }, { - img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953434094179058.png', + img:require('@/assets/nav/1.jpg'), url:'', size:'230*190' } @@ -135,46 +135,11 @@ export const modelData = [ name:'折扣广告', icon:'md-image', options:{ - bgImg:{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1516301201726549362.png',url:'',size:"1300*586"}, - classification:[{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953445396793087.jpg',url:'', size:'190*210'}, {img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953445396793087.jpg',url:'', size:'190*210'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953445396793087.jpg',url:'', size:'190*210'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953445396793087.jpg',url:'', size:'190*210'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953445396793087.jpg',url:'', size:'190*210'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953445396793087.jpg',url:'', size:'190*210'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953445396793087.jpg',url:'', size:'190*210'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953445396793087.jpg',url:'', size:'190*210'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953445396793087.jpg',url:'', size:'190*210'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953445396793087.jpg',url:'', size:'190*210'},], - brandList:[{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953455883586458.jpg',url:'', size:'240*105'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953455883586458.jpg',url:'', size:'240*105'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953455883586458.jpg',url:'', size:'240*105'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953455883586458.jpg',url:'', size:'240*105'},] + bgImg:{img:require('@/assets/nav/decorate.png'),url:'',size:"1300*586"}, + classification:[{img:require('@/assets/nav/decorate2.jpeg'),url:'', size:'190*210'}, {img:require('@/assets/nav/decorate2.jpeg'),url:'', size:'190*210'},{img:require('@/assets/nav/decorate2.jpeg'),url:'', size:'190*210'},{img:require('@/assets/nav/decorate2.jpeg'),url:'', size:'190*210'},{img:require('@/assets/nav/decorate2.jpeg'),url:'', size:'190*210'},{img:require('@/assets/nav/decorate2.jpeg'),url:'', size:'190*210'},{img:require('@/assets/nav/decorate2.jpeg'),url:'', size:'190*210'},{img:require('@/assets/nav/decorate2.jpeg'),url:'', size:'190*210'},{img:require('@/assets/nav/decorate2.jpeg'),url:'', size:'190*210'},{img:require('@/assets/nav/decorate2.jpeg'),url:'', size:'190*210'},], + brandList:[{img:require('@/assets/nav/decorate11.jpeg'),url:'', size:'240*105'},{img:require('@/assets/nav/decorate11.jpeg'),url:'', size:'240*105'},{img:require('@/assets/nav/decorate11.jpeg'),url:'', size:'240*105'},{img:require('@/assets/nav/decorate11.jpeg'),url:'', size:'240*105'},] }, }, - // { - // type:'brand', - // name:'首页品牌', - // icon:'md-image', - // options:{ - // brandViewList:[ - // { - // nameCn:'品牌闪购', - // nameEn:'BRAND SALE', - // img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953433212156689.jpg', - // url:'' - // }, - // { - // nameCn:'品牌活动', - // nameEn:'BRAND ACTIVITY', - // img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953434269088434.jpg', - // url:'' - // }, - // { - // nameCn:'超级品牌日', - // nameEn:'SUPER BRAND', - // img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953434500632403.jpg', - // url:'' - // } - // ], - // signList:[ - // {img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''}, - // {img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''}, - // {img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''}, - // {img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''}, - // {img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''}, - // {img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''} - // ], - // }, - // }, { type:'recommend', name:'好货推荐', @@ -186,13 +151,13 @@ export const modelData = [ bgColor:'#449dae', url:'', list: [ - { img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953437520193959.jpg', name: '阿迪达斯三叶草', describe: '也许是每一款经典系列都应该有一个独特的故事吧', url:'',size:'160*160' }, - { img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953437766680336.jpg', name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'}, - { img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953437766680336.jpg', name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'}, - { img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953437766680336.jpg', name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'}, - { img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953437766680336.jpg', name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'}, - { img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953437766680336.jpg', name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'}, - { img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953437766680336.jpg', name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'}, + { img: require('@/assets/nav/decorate3.jpeg'), name: '阿迪达斯三叶草', describe: '也许是每一款经典系列都应该有一个独特的故事吧', url:'',size:'160*160' }, + { img: require('@/assets/nav/decorate4.jpeg'), name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'}, + { img: require('@/assets/nav/decorate4.jpeg'), name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'}, + { img: require('@/assets/nav/decorate4.jpeg'), name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'}, + { img: require('@/assets/nav/decorate4.jpeg'), name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'}, + { img: require('@/assets/nav/decorate4.jpeg'), name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'}, + { img: require('@/assets/nav/decorate4.jpeg'), name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'}, ] }, contentRight:{ @@ -201,10 +166,10 @@ export const modelData = [ bgColor:'#a25684', url:'', list: [ - { img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1516316460079621387.jpg', name: '好心情喝出来', describe: '遇见懂你的饮品', url:'',size:'80*80' }, - { img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1516316460079621387.jpg', name: '好心情喝出来', describe: '遇见懂你的饮品', url:'',size:'80*80' }, - { img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1516316460079621387.jpg', name: '好心情喝出来', describe: '遇见懂你的饮品', url:'',size:'80*80' }, - { img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1516316460079621387.jpg', name: '好心情喝出来', describe: '遇见懂你的饮品', url:'',size:'80*80' }, + { img: require('@/assets/nav/decorate5.jpeg'), name: '好心情喝出来', describe: '遇见懂你的饮品', url:'',size:'100*100' }, + { img: require('@/assets/nav/decorate5.jpeg'), name: '好心情喝出来', describe: '遇见懂你的饮品', url:'',size:'100*100' }, + { img: require('@/assets/nav/decorate5.jpeg'), name: '好心情喝出来', describe: '遇见懂你的饮品', url:'',size:'100*100' }, + { img: require('@/assets/nav/decorate5.jpeg'), name: '好心情喝出来', describe: '遇见懂你的饮品', url:'',size:'100*100' }, ] } }, @@ -220,11 +185,11 @@ export const modelData = [ bgColor:'#c43d7e', url:'', list:[ - {name:'新年心愿单', describe:'满269减50,满999减100',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"160*160"}, - {name:'Ms.Maggie 冬季时尚', describe:'满269减50',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"90*90"}, - {name:'Ms.Maggie 冬季时尚', describe:'满269减50',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"90*90"}, - {name:'Ms.Maggie 冬季时尚', describe:'满269减50',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"90*90"}, - {name:'阿迪达斯 领跑时尚', describe:'满269减50',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"90*90"}, + {name:'新年心愿单', describe:'满269减50,满999减100',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"160*160"}, + {name:'Ms.Maggie 冬季时尚', describe:'满269减50',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"90*90"}, + {name:'Ms.Maggie 冬季时尚', describe:'满269减50',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"90*90"}, + {name:'Ms.Maggie 冬季时尚', describe:'满269减50',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"90*90"}, + {name:'阿迪达斯 领跑时尚', describe:'满269减50',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"90*90"}, ], }, middle:{ @@ -233,12 +198,12 @@ export const modelData = [ bgColor:'#e66a07', url:'', list:[ - {name:'阿迪达斯 领跑时尚', describe:'满269减50',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"90*90"}, - {name:'阿迪达斯 领跑时尚', describe:'满269减50',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"90*90"}, - {name:'阿迪达斯 领跑时尚', describe:'满269减50',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"90*90"}, - {name:'阿迪达斯 领跑时尚', describe:'满269减50',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"90*90"}, - {name:'阿迪达斯 领跑时尚', describe:'满269减50',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"90*90"}, - {name:'阿迪达斯 领跑时尚', describe:'满269减50',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"90*90"}, + {name:'阿迪达斯 领跑时尚', describe:'满269减50',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"90*90"}, + {name:'阿迪达斯 领跑时尚', describe:'满269减50',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"90*90"}, + {name:'阿迪达斯 领跑时尚', describe:'满269减50',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"90*90"}, + {name:'阿迪达斯 领跑时尚', describe:'满269减50',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"90*90"}, + {name:'阿迪达斯 领跑时尚', describe:'满269减50',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"90*90"}, + {name:'阿迪达斯 领跑时尚', describe:'满269减50',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"90*90"}, ] }, right:{ @@ -247,12 +212,12 @@ export const modelData = [ bgColor:'#b62323', url:'', list:[ - {name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:'https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490165200470.jpg', url:''}, - {name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:'https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490165200470.jpg', url:''}, - {name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:'https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490165200470.jpg', url:''}, - {name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:'https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490165200470.jpg', url:''}, - {name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:'https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490165200470.jpg', url:''}, - {name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:'https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490165200470.jpg', url:''}, + {name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:require('@/assets/nav/decorate7.jpeg'), url:''}, + {name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:require('@/assets/nav/decorate7.jpeg'), url:''}, + {name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:require('@/assets/nav/decorate7.jpeg'), url:''}, + {name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:require('@/assets/nav/decorate7.jpeg'), url:''}, + {name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:require('@/assets/nav/decorate7.jpeg'), url:''}, + {name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:require('@/assets/nav/decorate7.jpeg'), url:''}, ] } }, @@ -263,12 +228,12 @@ export const modelData = [ icon:'md-image', options:{ list:[ - {name:'LILI生鲜', describe:"年货带回家 满199减60", img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953435885264617.png', url:'',fromColor:'#e89621',toColor:"#f5c568",size:'170*170'}, - {name:'LILI众筹', describe:"备孕有孕检测仪", img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953436530337827.png', url:'', fromColor:"#325bb4", toColor:'#4c9afe',size:'170*170'}, - {name:'LILI生鲜', describe:"年货带回家 满199减60", img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953435885264617.png', url:'', fromColor:"#1c9daf", toColor:'#40cda7',size:'170*170'}, - {name:'LILI众筹', describe:"备孕有孕检测仪", img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953436530337827.png', url:'', fromColor:"#d13837", toColor:'#df6d4f',size:'170*170'}, - {name:'LILI生鲜', describe:"年货带回家 满199减60", img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953435885264617.png', url:'', fromColor:"#ca4283", toColor:'#eb75cf',size:'170*170'}, - {name:'LILI众筹', describe:"备孕有孕检测仪", img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953436530337827.png', url:'', fromColor:"#5d40c1", toColor:'#8c5fdb',size:'170*170'}, + {name:'LILI生鲜', describe:"年货带回家 满199减60", img:require('@/assets/nav/decorate8.png'), url:'',fromColor:'#e89621',toColor:"#f5c568",size:'170*170'}, + {name:'LILI众筹', describe:"备孕有孕检测仪", img:require('@/assets/nav/decorate9.png'), url:'', fromColor:"#325bb4", toColor:'#4c9afe',size:'170*170'}, + {name:'LILI生鲜', describe:"年货带回家 满199减60", img:require('@/assets/nav/decorate8.png'), url:'', fromColor:"#1c9daf", toColor:'#40cda7',size:'170*170'}, + {name:'LILI众筹', describe:"备孕有孕检测仪", img:require('@/assets/nav/decorate9.png'), url:'', fromColor:"#d13837", toColor:'#df6d4f',size:'170*170'}, + {name:'LILI生鲜', describe:"年货带回家 满199减60", img:require('@/assets/nav/decorate8.png'), url:'', fromColor:"#ca4283", toColor:'#eb75cf',size:'170*170'}, + {name:'LILI众筹', describe:"备孕有孕检测仪", img:require('@/assets/nav/decorate9.png'), url:'', fromColor:"#5d40c1", toColor:'#8c5fdb',size:'170*170'}, ], }, }, @@ -288,46 +253,46 @@ export const modelData = [ icon:'md-image', options:{ list:[ - [{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },], - [{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },], - [{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },], - [{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, - { img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },], + [{ img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },], + [{ img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },], + [{ img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },], + [{ img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, + { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸:MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },], ], navList:[ diff --git a/manager/src/views/lili-floor-renovation/modelForm.vue b/manager/src/views/lili-floor-renovation/modelForm.vue index 8e8cd903..4564094c 100644 --- a/manager/src/views/lili-floor-renovation/modelForm.vue +++ b/manager/src/views/lili-floor-renovation/modelForm.vue @@ -158,7 +158,7 @@ export default { promotionTags: [ "买2免1", "领200神券", "199减100", "母婴5折抢", "充100送20"], // 热词数据 topAdvert:{ // 头部广告图数据 type:'topAdvert', - img:'https://x.dscmall.cn/storage/data/gallery_album/108/original_img/108_P_1539564967582.jpg', + img:'', url:'', bgColor:'#de000d', size:'1200*80' diff --git a/manager/src/views/lili-floor-renovation/modelFormItem.vue b/manager/src/views/lili-floor-renovation/modelFormItem.vue index 4e4fad60..9c834f7c 100644 --- a/manager/src/views/lili-floor-renovation/modelFormItem.vue +++ b/manager/src/views/lili-floor-renovation/modelFormItem.vue @@ -184,9 +184,9 @@ export default { }, data () { return { - showModal:false, - selected:{}, - picModelFlag: false + showModal:false, // modal显隐 + selected:{}, // 已选数据 + picModelFlag: false // 图片选择器 } }, mounted () { diff --git a/manager/src/views/lili-floor-renovation/modelList/carousel.vue b/manager/src/views/lili-floor-renovation/modelList/carousel.vue index a2563695..1fdfb75e 100644 --- a/manager/src/views/lili-floor-renovation/modelList/carousel.vue +++ b/manager/src/views/lili-floor-renovation/modelList/carousel.vue @@ -128,9 +128,9 @@ export default { }, data() { return { - showModal: false, - selected: null, - picModelFlag: false, + showModal: false, // modal显隐 + selected: null, // 已选数据 + picModelFlag: false, // 选择图片modal }; }, diff --git a/manager/src/views/lili-floor-renovation/modelList/firstPageAdvert.vue b/manager/src/views/lili-floor-renovation/modelList/firstPageAdvert.vue index ca916d08..688fcbd2 100644 --- a/manager/src/views/lili-floor-renovation/modelList/firstPageAdvert.vue +++ b/manager/src/views/lili-floor-renovation/modelList/firstPageAdvert.vue @@ -66,18 +66,18 @@ import ossManage from "@/views/sys/oss-manage/ossManage"; export default { props:{ - data:{ + data: { type: Object, default: null } }, - components:{ossManage}, + components: {ossManage}, data() { return { - options: this.data.options, - showModal: false, - selected: {}, - picModelFlag: false + options: this.data.options, // 当前类型数据 + showModal: false, // modal显隐 + selected: {}, // 已选数据 + picModelFlag: false // 图片选择器 } }, methods:{ diff --git a/manager/src/views/lili-floor-renovation/modelList/newGoodsSort.vue b/manager/src/views/lili-floor-renovation/modelList/newGoodsSort.vue index 090d3e64..42da8019 100644 --- a/manager/src/views/lili-floor-renovation/modelList/newGoodsSort.vue +++ b/manager/src/views/lili-floor-renovation/modelList/newGoodsSort.vue @@ -102,7 +102,7 @@ -
-
-
- {{ msgLeft.title }} - {{ msgLeft.secondTitle }}> -
-
- -
-
-
-
-
- -
{{ msgLeft.list[0].name }}
-
{{ msgLeft.list[0].describe }}
- -
-
- -
-
-
-
- -
-
-
-
-
- {{ msgRight.title }} - {{ msgRight.secondTitle }}> -
-
- -
-
-
-
-
-
-
- {{item.name}} - {{item.describe}} -
-
- -
-
-
-
- -
-
-
-
-
- +
+
+ {{ msgLeft.title }} + {{ msgLeft.secondTitle }}> +
+
+ - +
+
+
+
+ +
{{ msgLeft.list[0].name }}
+
{{ msgLeft.list[0].describe }}
+ +
+
+
- - - +
+
+ +
+
+
+
+ {{ msgRight.title }} + {{ msgRight.secondTitle }}> +
+
+ +
+
+
+
+
+
+
+ {{ + item.name + }} + {{ item.describe }} +
+
+ +
+
+
+
+ +
+
+
+
+
+ + + + + + + + + + + + +
\ No newline at end of file diff --git a/manager/src/views/lili-floor-renovation/modelList/seckill.vue b/manager/src/views/lili-floor-renovation/modelList/seckill.vue index e12289cc..0ab6a13b 100644 --- a/manager/src/views/lili-floor-renovation/modelList/seckill.vue +++ b/manager/src/views/lili-floor-renovation/modelList/seckill.vue @@ -42,17 +42,16 @@ export default { }, data() { return { - options:this.data.options, + options:this.data.options, // 当前数据 actStatus:0, // 0 未开始 1 进行中 2 已结束 actName:'限时秒杀', currHour:'00', // 当前秒杀场 - diffSeconds:0, - days:'00', - hours: '00', - minutes: '00', - seconds: '00', - interval:undefined, - swiperOptions:{ + diffSeconds:0, // 倒地时 + hours: '00', // 小时 + minutes: '00', // 分钟 + seconds: '00', // 秒 + interval:undefined, // 定时器 + swiperOptions:{ // 轮播图参数 slidesPerView: 5, autoplay:true, loop:true diff --git a/manager/src/views/lili-floor-renovation/wap/advertising.vue b/manager/src/views/lili-floor-renovation/wap/advertising.vue index dfd185d9..a6b5c53b 100644 --- a/manager/src/views/lili-floor-renovation/wap/advertising.vue +++ b/manager/src/views/lili-floor-renovation/wap/advertising.vue @@ -83,8 +83,8 @@ import { btnWay } from "./btn.js"; export default { data() { return { - btnWay, - type: "full", + btnWay, // 按钮类型 + type: "full", // 是否全屏 //全屏广告 advertising: [ @@ -95,7 +95,7 @@ export default { }, ], - linkType: "", + linkType: "", // 选择类型 }; }, methods: {}, diff --git a/manager/src/views/lili-floor-renovation/wap/alertAdvertising.vue b/manager/src/views/lili-floor-renovation/wap/alertAdvertising.vue index 4ac0a573..72dfd841 100644 --- a/manager/src/views/lili-floor-renovation/wap/alertAdvertising.vue +++ b/manager/src/views/lili-floor-renovation/wap/alertAdvertising.vue @@ -80,8 +80,8 @@ import { btnWay } from "./btn.js"; export default { data() { return { - btnWay, - type: "full", + btnWay, // 按钮类型 + type: "full", // 展示方式 //全屏广告 advertising: [ { @@ -90,7 +90,7 @@ export default { size: "612*836", }, ], - linkType: "", + linkType: "", // 选择类型 }; }, methods: {}, diff --git a/manager/src/views/lili-floor-renovation/wap/btn.vue b/manager/src/views/lili-floor-renovation/wap/btn.vue index bd032c76..eb3a4892 100644 --- a/manager/src/views/lili-floor-renovation/wap/btn.vue +++ b/manager/src/views/lili-floor-renovation/wap/btn.vue @@ -79,7 +79,7 @@ import { btnWay } from "./btn.js"; export default { data() { return { - btnWay, + btnWay, // 按钮类型 }; }, methods: {}, diff --git a/manager/src/views/lili-floor-renovation/wap/decorate.vue b/manager/src/views/lili-floor-renovation/wap/decorate.vue index 7995882c..ae84813f 100644 --- a/manager/src/views/lili-floor-renovation/wap/decorate.vue +++ b/manager/src/views/lili-floor-renovation/wap/decorate.vue @@ -150,15 +150,15 @@ export default { }, data() { return { - ways, + ways, // 选择链接的类型 picModelFlag: false, //图片选择器 linkType: "goods", // dialog弹窗口类型 styleFlag: false, //广告魔方开关 selectedLinkIndex: "", //选择链接的索引 - modelData, - selectedGoods: "", - selectedLinks: "", - modelList: "", + modelData, // 装修数据 + selectedGoods: "", // 已选商品 + selectedLinks: "", // 已选链接 + modelList: "", // 装修列表 }; }, watch: { diff --git a/manager/src/views/lili-floor-renovation/wap/index.vue b/manager/src/views/lili-floor-renovation/wap/index.vue index a588245a..32acfb5f 100644 --- a/manager/src/views/lili-floor-renovation/wap/index.vue +++ b/manager/src/views/lili-floor-renovation/wap/index.vue @@ -85,14 +85,14 @@ export default { }, data() { return { - templates, - modelData, - qrcode: "", - selected: 0, - contentData: { + templates, // 模板类型 + modelData, // 装修模型 + qrcode: "", // 二维码 + selected: 0, // 已选下标 + contentData: { // 总数据 list: [], }, - decorateData: "", + decorateData: "", // 装修数据 }; }, watch: { diff --git a/manager/src/views/lili-floor-renovation/wap/main.vue b/manager/src/views/lili-floor-renovation/wap/main.vue index 6de75ab8..76bcfaa9 100644 --- a/manager/src/views/lili-floor-renovation/wap/main.vue +++ b/manager/src/views/lili-floor-renovation/wap/main.vue @@ -15,8 +15,8 @@ export default { }, data() { return { - layout, - name: "index", + layout, // 装修模块 + name: "index", // 装修的页面 }; }, mounted() { diff --git a/manager/src/views/lili-floor-renovation/wap/navbar.vue b/manager/src/views/lili-floor-renovation/wap/navbar.vue index 0293dd38..58d484d4 100644 --- a/manager/src/views/lili-floor-renovation/wap/navbar.vue +++ b/manager/src/views/lili-floor-renovation/wap/navbar.vue @@ -58,10 +58,10 @@ import QRCode from "qrcodejs2"; export default { data() { return { - progress: true, - num: 20, - saveDialog: false, - way: [ + progress: true, // 展示进度 + num: 20, // 提交进度 + saveDialog: false, // 加载状态 + way: [ // 装修tab栏切换 { title: "首页", name: "index", @@ -83,8 +83,8 @@ export default { selected: false, }, ], - qrcode: "", - submitWay: { + qrcode: "", // 二维码 + submitWay: { // 表单信息 pageShow: this.$route.query.type || false, name: this.$route.query.name || "模板名称", pageClientType: "H5", diff --git a/manager/src/views/lili-floor-renovation/wap/template/tpl_goods.vue b/manager/src/views/lili-floor-renovation/wap/template/tpl_goods.vue index 8ea36520..7220aae2 100644 --- a/manager/src/views/lili-floor-renovation/wap/template/tpl_goods.vue +++ b/manager/src/views/lili-floor-renovation/wap/template/tpl_goods.vue @@ -45,7 +45,7 @@ export default { data() { return { - selected: { + selected: { // 已选数据 index: 0, val: "精选", }, diff --git a/manager/src/views/lili-floor-renovation/wap/wapList.vue b/manager/src/views/lili-floor-renovation/wap/wapList.vue index 3c2f5422..d07a59fe 100644 --- a/manager/src/views/lili-floor-renovation/wap/wapList.vue +++ b/manager/src/views/lili-floor-renovation/wap/wapList.vue @@ -41,15 +41,12 @@ - diff --git a/manager/src/views/main-components/shrinkable-menu/components/sidebarMenuShrink.vue b/manager/src/views/main-components/shrinkable-menu/components/sidebarMenuShrink.vue deleted file mode 100644 index 26fbc46b..00000000 --- a/manager/src/views/main-components/shrinkable-menu/components/sidebarMenuShrink.vue +++ /dev/null @@ -1,73 +0,0 @@ - - - diff --git a/manager/src/views/main-components/shrinkable-menu/shrinkable-menu.vue b/manager/src/views/main-components/shrinkable-menu/shrinkable-menu.vue index 725fbe13..fe5c2fe0 100644 --- a/manager/src/views/main-components/shrinkable-menu/shrinkable-menu.vue +++ b/manager/src/views/main-components/shrinkable-menu/shrinkable-menu.vue @@ -31,10 +31,6 @@ import util from "@/libs/util.js"; export default { name: "shrinkableMenu", - data () { - return { - } - }, computed: { menuList() { return this.$store.state.app.menuList; diff --git a/manager/src/views/main-components/tags-page-opened.vue b/manager/src/views/main-components/tags-page-opened.vue index 149680f5..0df6ed37 100644 --- a/manager/src/views/main-components/tags-page-opened.vue +++ b/manager/src/views/main-components/tags-page-opened.vue @@ -47,17 +47,17 @@ export default { name: "tagsPageOpened", data() { return { - currentPageName: this.$route.name, - tagBodyLeft: 0, - visible: false, - contextMenuLeft: 0, - contextMenuTop: 0, - menuList: { + currentPageName: this.$route.name, // 当前路由名称 + tagBodyLeft: 0, // 标签左偏移量 + visible: false, // 显示操作按钮 + contextMenuLeft: 0, // 内容左偏移量 + contextMenuTop: 0, // 内容上偏移量 + actionList: { others: '关闭其他', clearAll: '关闭所有' }, - refsTag: [], - tagsCount: 1 + refsTag: [], // 所有已打开标签 + tagsCount: 1 // 标签数量 }; }, props: { diff --git a/manager/src/views/member/advance/recharge.vue b/manager/src/views/member/advance/recharge.vue index b4b01cbd..27daf2b9 100644 --- a/manager/src/views/member/advance/recharge.vue +++ b/manager/src/views/member/advance/recharge.vue @@ -85,7 +85,6 @@ data() { return { loading: true, // 表单加载状态 - drop: false, searchForm: { // 搜索框初始化对象 pageNumber: 1, // 当前页数 @@ -96,9 +95,7 @@ endDate: "", // 终止时间 memberName:"" }, - selectDate: null, - // 表单验证规则 - formValidate: {}, + selectDate: null, // 选择区间时间 submitLoading: false, // 添加或编辑提交状态 selectList: [], // 多选数据 selectCount: 0, // 多选计数 diff --git a/manager/src/views/member/advance/walletLog.vue b/manager/src/views/member/advance/walletLog.vue index 8a615608..3efe7648 100644 --- a/manager/src/views/member/advance/walletLog.vue +++ b/manager/src/views/member/advance/walletLog.vue @@ -36,7 +36,6 @@ export default { data() { return { loading: true, // 表单加载状态 - drop: false, searchForm: { // 搜索框初始化对象 pageNumber: 1, // 当前页数 @@ -47,7 +46,7 @@ export default { endDate: "", // 终止时间 memberName: "", }, - selectDate: null, + selectDate: null, // 选择时间段 // 表单验证规则 formValidate: {}, selectList: [], // 多选数据 diff --git a/manager/src/views/member/advance/withdrawApply.vue b/manager/src/views/member/advance/withdrawApply.vue index 25e0e9bc..b41b709a 100644 --- a/manager/src/views/member/advance/withdrawApply.vue +++ b/manager/src/views/member/advance/withdrawApply.vue @@ -176,10 +176,9 @@ openSearch: true, // 显示搜索 openTip: true, // 显示提示 loading: true, // 表单加载状态 - drop: false, audit: '', // 审核备注 - roleModalVisible: false, - queryModalVisible: false, + roleModalVisible: false, // 审核模态框 + queryModalVisible: false, // 审核模态框 searchForm: { // 搜索框初始化对象 pageNumber: 1, // 当前页数 @@ -191,13 +190,11 @@ memberName: "", applyStatus: "" }, - selectDate: null, - // 表单验证规则 - formValidate: {}, + selectDate: null, // 选择时间段 submitLoading: false, // 添加或编辑提交状态 selectList: [], // 多选数据 selectCount: 0, // 多选计数 - showList: {}, + showList: {}, // 可操作选项 columns: [ { title: "申请编号", diff --git a/manager/src/views/member/list/index.vue b/manager/src/views/member/list/index.vue index b621f0b2..8c778b7a 100644 --- a/manager/src/views/member/list/index.vue +++ b/manager/src/views/member/list/index.vue @@ -136,18 +136,18 @@ export default { data() { return { selectedMember: false, //是否是其他组件调用 - descTitle: "", + descTitle: "", // modal标题 descFlag: false, //编辑查看框 openSearch: true, // 显示搜索 loading: true, // 表单加载状态 - addFlag: false, - updateRegion: false, - addMemberForm: { + addFlag: false, // modal显隐控制 + updateRegion: false, // 地区 + addMemberForm: { // 添加用户表单 mobile: "", username: "", password: "", }, - searchForm: { + searchForm: { // 请求参数 pageNumber: 1, pageSize: 10, order: "desc", @@ -155,10 +155,9 @@ export default { mobile: "", disabled: "OPEN", }, - picModelFlag: false, - // 表单验证规则 - formValidate: {}, - addRule: { + picModelFlag: false, // 选择图片 + formValidate: {}, // 表单数据 + addRule: { // 验证规则 mobile: [ { required: true, message: "请输入手机号码" }, { diff --git a/manager/src/views/member/list/memberDetail.vue b/manager/src/views/member/list/memberDetail.vue index 8b8b78da..78f8cf98 100644 --- a/manager/src/views/member/list/memberDetail.vue +++ b/manager/src/views/member/list/memberDetail.vue @@ -394,7 +394,7 @@ isDefault: false },//会员地址操作form - selectDate: null, + selectDate: null, // 选择时间段 submitLoading: false, // 添加或编辑提交状态 addressFormValidate: { name: [{required: true, message: "收货人姓名不能为空"}], diff --git a/manager/src/views/member/list/memberRecycle.vue b/manager/src/views/member/list/memberRecycle.vue index aade8248..996d1f87 100644 --- a/manager/src/views/member/list/memberRecycle.vue +++ b/manager/src/views/member/list/memberRecycle.vue @@ -168,12 +168,12 @@ data() { return { selectedMember: false, //是否是其他组件调用 - descTitle: "", + descTitle: "", // modal标题 descFlag: false, //编辑查看框 openSearch: true, // 显示搜索 loading: true, // 表单加载状态 - updateRegion: false, - searchForm: { + updateRegion: false, // 显示所在地 + searchForm: { // 请求参数 pageNumber: 1, pageSize: 10, order: "desc", @@ -181,9 +181,8 @@ mobile: "", disabled: "CLOSE" }, - picModelFlag: false, - // 表单验证规则 - formValidate: {}, + picModelFlag: false, // 选择图片 + formValidate: {}, // 表单数据 ruleValidate: {}, //修改验证 submitLoading: false, // 添加或编辑提交状态 selectList: [], // 多选数据 diff --git a/manager/src/views/member/message-manage/addOrEditMessage.vue b/manager/src/views/member/message-manage/addOrEditMessage.vue index 80fc0c03..436951e9 100644 --- a/manager/src/views/member/message-manage/addOrEditMessage.vue +++ b/manager/src/views/member/message-manage/addOrEditMessage.vue @@ -78,12 +78,11 @@ export default { }, data() { return { - type: 0, + type: 0, // 消息类型 loading: false, // 表单加载状态 - selectUsers: [], - userModalVisible: false, + selectUsers: [], // 已选用户 modalTitle: "", // 添加或编辑标题 - form: { + form: { // 表单 // 添加或编辑表单对象初始化数据 title: "", content: "", @@ -99,8 +98,8 @@ export default { content: [{ required: true, message: "内容不能为空", trigger: "blur" }] }, submitLoading: false, // 添加或编辑提交状态 - dictMessageType: this.$store.state.dict.messageType, - backRoute: "" + dictMessageType: this.$store.state.dict.messageType, // 消息类型 + backRoute: "" // 上一个页面路由 }; }, methods: { diff --git a/manager/src/views/member/message-manage/memberMessageManager.vue b/manager/src/views/member/message-manage/memberMessageManager.vue index b4184766..e7480e8a 100644 --- a/manager/src/views/member/message-manage/memberMessageManager.vue +++ b/manager/src/views/member/message-manage/memberMessageManager.vue @@ -286,45 +286,44 @@ title: "message-manage", data() { return { - messageTemplate:'',//当前消息模板 - messageTemplateId:'', - templateName:'', + messageTemplate:'',// 当前消息模板 + messageTemplateId:'', // 当前消息模板id + templateName:'', // 模板名称 smsModal: false,//短信 - smsFormData:{ + smsFormData:{ // 模板表单数据 smsState:'', smsContent:'', smsCode: '' }, - smsFormValidate:{ + smsFormValidate:{ // 验证规则 smsCode: [{ required: true, message: '请输入短信编码'}], smsContent: [{ required: true, message: '请输入短信内容'}], }, - noticeModal: false,//站内信 - noticeFormData:{ + noticeModal: false, // 站内信 + noticeFormData:{ // 站内信表单 noticeContent:'' }, - noticeFormValidate:{ + noticeFormValidate:{ // 验证规则 noticeContent: [{ required: true, message: '请输入站内信内容'}], }, wechatModal:false,//微信消息 - wechatFormData:{ + wechatFormData:{ // 微信表单 remark:'', first:'', enable:'', }, - wechatFormValidate:{ + wechatFormValidate:{ // 验证规则 remark: [{ required: true, message: '请输入站内信内容'}], first: [{ required: true, message: '请输入头部文字信息'}], }, - tab: "MEMBER", - openTip: true, + tab: "MEMBER", // tabName + openTip: true, // 提示展示 loading: true, // 表单加载状态 - userLoading: true, selectCount: 0, // 多选计数 selectList: [], // 多选数据 - drop: false, - dropDownContent: "展开", - dropDownIcon: "ios-arrow-down", + drop: false, // 更多搜索项 + dropDownContent: "展开", // drop显示内容 + dropDownIcon: "ios-arrow-down", // drop图标 searchForm: { // 搜索框对应data对象 type: "MEMBER", diff --git a/manager/src/views/member/message-manage/messageManage.vue b/manager/src/views/member/message-manage/messageManage.vue index 841f960c..0d2a0d93 100644 --- a/manager/src/views/member/message-manage/messageManage.vue +++ b/manager/src/views/member/message-manage/messageManage.vue @@ -116,13 +116,13 @@ export default { title: "message-manage", data() { return { - openSearch: true, - openTip: true, + openSearch: true, // 显示搜索 + openTip: true, // 显示提示 loading: true, // 表单加载状态 userLoading: true, selectCount: 0, // 多选计数 selectList: [], // 多选数据 - drop: false, + drop: false, // 展开搜索 dropDownContent: "展开", dropDownIcon: "ios-arrow-down", searchForm: { diff --git a/manager/src/views/member/message-manage/messageSendDetail.vue b/manager/src/views/member/message-manage/messageSendDetail.vue index 08a76669..26e46490 100644 --- a/manager/src/views/member/message-manage/messageSendDetail.vue +++ b/manager/src/views/member/message-manage/messageSendDetail.vue @@ -77,10 +77,10 @@ export default { name: "message_send_detail", data() { return { - openSearch: true, - openTip: true, + openSearch: true, // 显示搜索项 + openTip: true, // 显示提示 loading: true, // 表单加载状态 - messageId: "", + messageId: "", // 信息id sortColumn: "createTime", // 排序字段 sortType: "desc", // 排序方式 status: "", // 发送状态 diff --git a/manager/src/views/member/message-manage/weChatMessageManager.vue b/manager/src/views/member/message-manage/weChatMessageManager.vue index 061eedd2..ed17d7cb 100644 --- a/manager/src/views/member/message-manage/weChatMessageManager.vue +++ b/manager/src/views/member/message-manage/weChatMessageManager.vue @@ -125,24 +125,18 @@ export default { data() { return { - wechatModal: false,//微信消息 - wechatFormData: {}, + wechatModal: false,// modal展示 + wechatFormData: {}, // 微信数据 wechatMPModal: false,//微信消息 - wechatMPFormData: {}, - tab: "WECHAT", - searchForm: { + wechatMPFormData: {}, // 微信订阅消息 + tab: "WECHAT", // tab栏分类 + searchForm: { // 请求参数 type: "WECHAT" }, - openTip: true, loading: true, // 表单加载状态 - name: '', - id: '', - userLoading: true, + id: '', // 模板id selectCount: 0, // 多选计数 selectList: [], // 多选数据 - drop: false, - dropDownContent: "展开", - dropDownIcon: "ios-arrow-down", //微信消息查询 weChatSearchForm: { // 搜索框对应data对象 diff --git a/manager/src/views/member/notice/addMessage.vue b/manager/src/views/member/notice/addMessage.vue index c987c79f..209e3a72 100644 --- a/manager/src/views/member/notice/addMessage.vue +++ b/manager/src/views/member/notice/addMessage.vue @@ -62,10 +62,9 @@ export default { }, data() { return { - type: 0, + type: 0, // 0 发送新消息 1 编辑消息 loading: false, // 表单加载状态 - selectUsers: [], - userModalVisible: false, + selectUsers: [], // 选择用户 modalTitle: "", // 添加或编辑标题 form: { // 添加或编辑表单对象初始化数据 @@ -80,8 +79,7 @@ export default { content: [{ required: true, message: "内容不能为空", trigger: "blur" }] }, submitLoading: false, // 添加或编辑提交状态 - dictMessageType: this.$store.state.dict.messageType, - backRoute: "" + backRoute: "" // back路由路径 }; }, methods: { diff --git a/manager/src/views/member/notice/sender.vue b/manager/src/views/member/notice/sender.vue index 06c763e1..fd6bba9d 100644 --- a/manager/src/views/member/notice/sender.vue +++ b/manager/src/views/member/notice/sender.vue @@ -68,9 +68,9 @@ modalType: 0, // 添加或编辑标识 modalVisible: false, // 添加或编辑显示 modalTitle: "", // 添加或编辑标题 - drop: false, - dropDownContent: "展开", - dropDownIcon: "ios-arrow-down", + drop: false, // 更多搜索项 + dropDownContent: "展开", // drop中文提示 + dropDownIcon: "ios-arrow-down", // drop图标 searchForm: { // 搜索框初始化对象 pageNumber: 1, // 当前页数 pageSize: 10, // 页面大小 diff --git a/manager/src/views/member/point/point.vue b/manager/src/views/member/point/point.vue index 7c7b8d54..4e9d51e4 100644 --- a/manager/src/views/member/point/point.vue +++ b/manager/src/views/member/point/point.vue @@ -72,37 +72,10 @@ return { descFlag: false, //编辑查看框 loading: true, // 表单加载状态 - addFlag: false, - updateRegion: false, - addMemberForm:{ - mobile: "", - username: "", - password: "", - }, - searchForm: { + searchForm: { // 请求参数 pageNumber: 1, pageSize: 10, }, - picModelFlag: false, - // 表单验证规则 - formValidate: {}, - addRule:{ - mobile: [ - { required: true, message: '请输入手机号码' }, - { - pattern: RegExp.mobile, - message: '请输入正确的手机号' - } - ], - username: [ - { required: true, message: '请输入会员名称' }, - ], - password: [ - { required: true, message: '请输入密码' }, - ], - }, - ruleValidate: {}, //修改验证 - submitLoading: false, // 添加或编辑提交状态 selectList: [], // 多选数据 selectCount: 0, // 多选计数 columns: [ diff --git a/manager/src/views/message/message.vue b/manager/src/views/message/message.vue index 5751c722..fa2511e8 100644 --- a/manager/src/views/message/message.vue +++ b/manager/src/views/message/message.vue @@ -254,8 +254,8 @@ export default { ); }; return { - loading: true, - params: { + loading: true, // 加载状态 + params: { // 请求参数 userId: JSON.parse(Cookies.get("userInfo")).id, status: 0, pageNumber: 1, // 当前页数 @@ -263,26 +263,25 @@ export default { sort: "createTime", // 默认排序字段 order: "desc" // 默认排序方式 }, - total: 0, - totalUnread: 0, - totalRead: 0, - totalRemove: 0, - currentMesList: [], - unreadMesList: [], - hasreadMesList: [], - recyclebinList: [], - currentMessageType: "unread", - showMesTitleList: true, - unreadCount: 0, - hasreadCount: 0, - recyclebinCount: 0, - noDataText: "暂无未读消息", - mes: { + total: 0, // 消息总数 + totalUnread: 0, // 所有未读消息数 + totalRead: 0, // 所有已读消息数 + totalRemove: 0, // 所有回收站消息数 + currentMesList: [], // 当前消息列表 + unreadMesList: [], // 未读消息列表 + hasreadMesList: [], // 已读消息列表 + recyclebinList: [], // 回收站消息 + currentMessageType: "unread", // 展示消息类型 + showMesTitleList: true, // 展示消息列表 + unreadCount: 0, // 未读数 + hasreadCount: 0, // 已读数 + recyclebinCount: 0, // 回收站消息数量 + noDataText: "暂无未读消息", // 无消息提示 + mes: { // 信息表单 title: "", time: "", content: "" }, - dictMessageType: this.$store.state.dict.messageType, mesTitleColumns: [ { type: "index", diff --git a/manager/src/views/my-components/lili/count-down-button.vue b/manager/src/views/my-components/lili/count-down-button.vue index 54d90563..d4ccbd1c 100644 --- a/manager/src/views/my-components/lili/count-down-button.vue +++ b/manager/src/views/my-components/lili/count-down-button.vue @@ -58,9 +58,9 @@ export default { }, data() { return { - buttonText: this.text, - count: Number(this.countTime), - clicked: false + buttonText: this.text, // 按钮文字 + count: Number(this.countTime), // 计时时间 + clicked: false // 是否可点击 }; }, methods: { diff --git a/manager/src/views/my-components/lili/department-choose.vue b/manager/src/views/my-components/lili/department-choose.vue index 350a9463..56012086 100644 --- a/manager/src/views/my-components/lili/department-choose.vue +++ b/manager/src/views/my-components/lili/department-choose.vue @@ -22,8 +22,8 @@ export default { }, data() { return { - selectDep: [], - department: [] + selectDep: [], // 已选数据 + department: [] // 列表 }; }, methods: { diff --git a/manager/src/views/my-components/lili/department-tree-choose.vue b/manager/src/views/my-components/lili/department-tree-choose.vue index f9d46ea2..be98d667 100644 --- a/manager/src/views/my-components/lili/department-tree-choose.vue +++ b/manager/src/views/my-components/lili/department-tree-choose.vue @@ -54,12 +54,12 @@ export default { }, data() { return { - depLoading: false, - departmentTitle: "", - searchKey: "", - dataDep: [], - selectDep: [], - departmentId: [] + depLoading: false, // 加载状态 + departmentTitle: "", // modal标题 + searchKey: "", // 搜索关键词 + dataDep: [], // 部门列表 + selectDep: [], // 已选部门 + departmentId: [] // 部门id }; }, methods: { diff --git a/manager/src/views/my-components/lili/editor.vue b/manager/src/views/my-components/lili/editor.vue index 848746bd..bc7811a2 100644 --- a/manager/src/views/my-components/lili/editor.vue +++ b/manager/src/views/my-components/lili/editor.vue @@ -74,7 +74,7 @@ export default { }, data() { return { - editor: null, + editor: null, // 富文本编辑器初始化 data: this.value, // 富文本数据 dataEdit: "", // 编辑数据 showHTMLModal: false, // 显示html diff --git a/manager/src/views/my-components/lili/icon-choose.vue b/manager/src/views/my-components/lili/icon-choose.vue index 87c52aba..a0a6b5a5 100644 --- a/manager/src/views/my-components/lili/icon-choose.vue +++ b/manager/src/views/my-components/lili/icon-choose.vue @@ -80,10 +80,10 @@ export default { }, data() { return { - iconModalVisible: false, - currentValue: this.value, - iconData: [], - key: "", + iconModalVisible: false, // modal显隐 + currentValue: this.value, // 当前值 + iconData: [], // icon列表 + key: "", // 关键词 tip: "输入英文关键词搜索,比如 success" }; }, diff --git a/manager/src/views/my-components/lili/member-choose.vue b/manager/src/views/my-components/lili/member-choose.vue index 195b5dc0..ca0dd6b0 100644 --- a/manager/src/views/my-components/lili/member-choose.vue +++ b/manager/src/views/my-components/lili/member-choose.vue @@ -84,18 +84,18 @@ }, data() { return { - height: 500, - userLoading: true, - userModalVisible: false, - selectUsers: [], - searchUserForm: { + height: 500, // 表格高度 + userLoading: true, // 加载状态 + userModalVisible: false, // modal显隐 + selectUsers: [], // 已选用户 + searchUserForm: { // 请求参数 username: "", pageNumber: 1, // 当前页数 pageSize: 10, // 页面大小 sort: "createTime", // 默认排序字段 order: "desc" // 默认排序方式 }, - userColumns: [ + userColumns: [ // 表头 { type: "index", width: 60, @@ -214,8 +214,8 @@ } } ], - userData: [], - totalUser: 0 + userData: [], // 用户数据 + totalUser: 0 // 数量 }; }, methods: { diff --git a/manager/src/views/my-components/lili/quill.vue b/manager/src/views/my-components/lili/quill.vue index 8c32eb61..738bcd9e 100644 --- a/manager/src/views/my-components/lili/quill.vue +++ b/manager/src/views/my-components/lili/quill.vue @@ -138,10 +138,10 @@ export default { }, data() { return { - accessToken: {}, - uploadFileUrl: uploadFile, - editor: null, - options: { + accessToken: {}, // 验证token + uploadFileUrl: uploadFile, // 上传地址 + editor: null, // 富文本初始化 + options: { // 富文本配置 theme: "snow", modules: { toolbar: "#toolbar" diff --git a/manager/src/views/my-components/lili/set-password.vue b/manager/src/views/my-components/lili/set-password.vue index 0a262d1c..b1902b7b 100644 --- a/manager/src/views/my-components/lili/set-password.vue +++ b/manager/src/views/my-components/lili/set-password.vue @@ -53,12 +53,12 @@ export default { }, data() { return { - currentValue: this.value, - tipStyle: "password-tip-none", - strengthValue: 0, - progressStatus: "normal", - strength: "无", - grade: 0 + currentValue: this.value, // 当前值 + tipStyle: "password-tip-none", // 强度样式 + strengthValue: 0, // 强度等级 + progressStatus: "normal", // 进度条状态 + strength: "无", // 密码强度描述 + grade: 0 // 强度等级 }; }, methods: { diff --git a/manager/src/views/my-components/lili/sku-choose.vue b/manager/src/views/my-components/lili/sku-choose.vue index c5059550..2b705278 100644 --- a/manager/src/views/my-components/lili/sku-choose.vue +++ b/manager/src/views/my-components/lili/sku-choose.vue @@ -105,15 +105,15 @@ showLoading: true, //展示抽屉 showDrawer: false, - selectObj: [], - searchForm: { + selectObj: [], // 选择数据 + searchForm: { // 请求参数 goodsName: "", pageNumber: 1, // 当前页数 pageSize: 10, // 页面大小 sort: "createTime", // 默认排序字段 order: "desc" // 默认排序方式 }, - tableColumns: [ + tableColumns: [ // 表头 { type: "index", width: 60, @@ -230,8 +230,8 @@ } } ], - tableData: [], - tableTotal: 0 + tableData: [], // 表格数据 + tableTotal: 0 // 总数 }; }, methods: { diff --git a/manager/src/views/my-components/lili/upload-pic-input.vue b/manager/src/views/my-components/lili/upload-pic-input.vue index ff88f669..d112cc01 100644 --- a/manager/src/views/my-components/lili/upload-pic-input.vue +++ b/manager/src/views/my-components/lili/upload-pic-input.vue @@ -83,11 +83,11 @@ export default { }, data() { return { - accessToken: {}, - currentValue: this.value, - loading: false, - viewImage: false, - uploadFileUrl: uploadFile + accessToken: {}, // 验证token + currentValue: this.value, // 当前值 + loading: false, // 加载状态 + viewImage: false, // 预览图片modal + uploadFileUrl: uploadFile // 上传地址 }; }, methods: { diff --git a/manager/src/views/my-components/lili/upload-pic-thumb.vue b/manager/src/views/my-components/lili/upload-pic-thumb.vue index 16c6ddb0..14fee113 100644 --- a/manager/src/views/my-components/lili/upload-pic-thumb.vue +++ b/manager/src/views/my-components/lili/upload-pic-thumb.vue @@ -82,11 +82,11 @@ export default { }, data() { return { - accessToken: {}, - uploadFileUrl: uploadFile, - uploadList: [], - viewImage: false, - imgUrl: "" + accessToken: {}, // 验证token + uploadFileUrl: uploadFile, // 上传地址 + uploadList: [], // 上传列表 + viewImage: false, // 预览modal + imgUrl: "" // 图片地址 }; }, methods: { diff --git a/manager/src/views/my-components/lili/user-choose.vue b/manager/src/views/my-components/lili/user-choose.vue index 74b0b0b9..29cb74dc 100644 --- a/manager/src/views/my-components/lili/user-choose.vue +++ b/manager/src/views/my-components/lili/user-choose.vue @@ -231,8 +231,8 @@ export default { } } ], - userData: [], - totalUser: 0 + userData: [], // 表格数据 + totalUser: 0 // 总数 }; }, methods: { diff --git a/manager/src/views/my-components/map/index.vue b/manager/src/views/my-components/map/index.vue index 86e9b8f1..d76a3f43 100644 --- a/manager/src/views/my-components/map/index.vue +++ b/manager/src/views/my-components/map/index.vue @@ -31,7 +31,7 @@ export default { name:'map', data() { return { - showMap:false, + showMap:false, // modal显隐 mapSearch:'', // 地图搜索 map:null, // 初始化地图 autoComplete:null, // 初始化搜索方法 @@ -39,7 +39,7 @@ data() { positionPicker:null, // 地图拖拽选点 tips:[], //搜索关键字列表 addrContent:{}, // 回显地址信息 - loading:false, + loading:false, // 加载状态 }; }, watch:{ diff --git a/manager/src/views/order/after-order/afterSaleOrder.vue b/manager/src/views/order/after-order/afterSaleOrder.vue index 8c55bac6..0373eb7d 100644 --- a/manager/src/views/order/after-order/afterSaleOrder.vue +++ b/manager/src/views/order/after-order/afterSaleOrder.vue @@ -147,7 +147,7 @@ sn: "", }, - selectDate: null, + selectDate: null, // 选择时间段 form: { // 添加或编辑表单对象初始化数据 sn: "", @@ -156,9 +156,6 @@ endTime: "", billPrice: "", }, - // 表单验证规则 - formValidate: {}, - submitLoading: false, // 添加或编辑提交状态 selectList: [], // 多选数据 selectCount: 0, // 多选计数 columns: [ diff --git a/manager/src/views/order/after-order/afterSaleOrderDetail.vue b/manager/src/views/order/after-order/afterSaleOrderDetail.vue index 275fd992..efed062b 100644 --- a/manager/src/views/order/after-order/afterSaleOrderDetail.vue +++ b/manager/src/views/order/after-order/afterSaleOrderDetail.vue @@ -394,7 +394,7 @@ export default { }, data() { return { - sn: "", + sn: "", // 订单号 logisticsModal: false, //查询物流模态框 logisticsInfo: {}, //物流信息 form: { @@ -410,7 +410,7 @@ export default { ], }, modalVisible: false, // 添加或编辑显示 - afterSaleInfo: {}, + afterSaleInfo: {}, // 售后信息 afterSaleImage: [], //会员申诉图片 appealImages: [], //商家申诉的图片 submitLoading: false, // 添加或编辑提交状态 diff --git a/manager/src/views/order/after-order/orderComplaint.vue b/manager/src/views/order/after-order/orderComplaint.vue index 75f9d299..c475fd01 100644 --- a/manager/src/views/order/after-order/orderComplaint.vue +++ b/manager/src/views/order/after-order/orderComplaint.vue @@ -137,8 +137,8 @@ modalTitle: "", // 添加或编辑标题 loading: true, // 表单加载状态 content: "",//评价内容 - drop: false, - dropDownIcon: "ios-arrow-down", + drop: false, // 更多搜索项 + dropDownIcon: "ios-arrow-down", // drop 图标 searchForm: { // 搜索框初始化对象 pageNumber: 1, // 当前页数 @@ -146,8 +146,7 @@ sort: "createTime", // 默认排序字段 order: "desc", // 默认排序方式 }, - selectDate: null, - form: {}, + form: {}, // 表单 submitLoading: false, // 添加或编辑提交状态 selectList: [], // 多选数据 selectCount: 0, // 多选计数 diff --git a/manager/src/views/order/after-order/orderComplaintDetail.vue b/manager/src/views/order/after-order/orderComplaintDetail.vue index 28093035..848522d3 100644 --- a/manager/src/views/order/after-order/orderComplaintDetail.vue +++ b/manager/src/views/order/after-order/orderComplaintDetail.vue @@ -235,8 +235,8 @@ export default { }, data() { return { - id: 0, - complaintInfo: "", + id: 0, // 投诉id + complaintInfo: "", // 投诉信息 images: [], //会员申诉图片 appealImages: [], //商家申诉的图片 submitLoading: false, // 添加或编辑提交状态 diff --git a/manager/src/views/order/flow/paymentLog.vue b/manager/src/views/order/flow/paymentLog.vue index bbb3dae1..cd247e4a 100644 --- a/manager/src/views/order/flow/paymentLog.vue +++ b/manager/src/views/order/flow/paymentLog.vue @@ -45,8 +45,8 @@ export default { data() { return { loading: true, // 表单加载状态 - drop: false, - dropDownIcon: "ios-arrow-down", + drop: false, // 更多搜索项 + dropDownIcon: "ios-arrow-down", // drop图标 searchForm: { // 搜索框初始化对象 pageNumber: 1, // 当前页数 diff --git a/manager/src/views/order/flow/refundLog.vue b/manager/src/views/order/flow/refundLog.vue index 5324dda6..3b99a5fd 100644 --- a/manager/src/views/order/flow/refundLog.vue +++ b/manager/src/views/order/flow/refundLog.vue @@ -45,8 +45,6 @@ export default { data() { return { loading: true, // 表单加载状态 - drop: false, - dropDownIcon: "ios-arrow-down", searchForm: { // 搜索框初始化对象 pageNumber: 1, // 当前页数 @@ -128,16 +126,6 @@ export default { }; }, methods: { - dropDown() { - if (this.drop) { - this.dropDownContent = "展开"; - this.dropDownIcon = "ios-arrow-down"; - } else { - this.dropDownContent = "收起"; - this.dropDownIcon = "ios-arrow-up"; - } - this.drop = !this.drop; - }, init() { this.getDataList(); }, diff --git a/manager/src/views/order/order/fictitiousOrderList.vue b/manager/src/views/order/order/fictitiousOrderList.vue index fff4f6c5..50387891 100644 --- a/manager/src/views/order/order/fictitiousOrderList.vue +++ b/manager/src/views/order/order/fictitiousOrderList.vue @@ -92,8 +92,6 @@ data() { return { loading: true, // 表单加载状态 - drop: false, - dropDownIcon: "ios-arrow-down", searchForm: { // 搜索框初始化对象 pageNumber: 1, // 当前页数 @@ -107,7 +105,7 @@ buyerName: "", orderStatus: "" }, - selectDate: null, + selectDate: null, // 下单时间 form: { // 添加或编辑表单对象初始化数据 sn: "", @@ -237,16 +235,6 @@ }; }, methods: { - dropDown() { - if (this.drop) { - this.dropDownContent = "展开"; - this.dropDownIcon = "ios-arrow-down"; - } else { - this.dropDownContent = "收起"; - this.dropDownIcon = "ios-arrow-up"; - } - this.drop = !this.drop; - }, init() { this.getDataList(); }, diff --git a/manager/src/views/order/order/orderDetail.vue b/manager/src/views/order/order/orderDetail.vue index 2c1a4fc5..c15d8899 100644 --- a/manager/src/views/order/order/orderDetail.vue +++ b/manager/src/views/order/order/orderDetail.vue @@ -378,7 +378,7 @@ export default { submitLoading: false, // 添加或编辑提交状态 region: [], //地区 regionId: [], //地区id - showRegion: false, + showRegion: false, // 显示地区 orderLogInfo: [], //订单日志数据 orderLogModal: false, //弹出调整价格框 checkedLogistics: [], //选中的物流公司集合 diff --git a/manager/src/views/order/order/orderList.vue b/manager/src/views/order/order/orderList.vue index 20b8644e..8bbe903c 100644 --- a/manager/src/views/order/order/orderList.vue +++ b/manager/src/views/order/order/orderList.vue @@ -50,8 +50,6 @@ export default { data() { return { loading: true, // 表单加载状态 - drop: false, - dropDownIcon: "ios-arrow-down", searchForm: { // 搜索框初始化对象 pageNumber: 1, // 当前页数 @@ -192,16 +190,6 @@ export default { }; }, methods: { - dropDown() { - if (this.drop) { - this.dropDownContent = "展开"; - this.dropDownIcon = "ios-arrow-down"; - } else { - this.dropDownContent = "收起"; - this.dropDownIcon = "ios-arrow-up"; - } - this.drop = !this.drop; - }, init() { this.getDataList(); }, diff --git a/manager/src/views/order/receipt/receipt.vue b/manager/src/views/order/receipt/receipt.vue index 9f5e366e..52f36e32 100644 --- a/manager/src/views/order/receipt/receipt.vue +++ b/manager/src/views/order/receipt/receipt.vue @@ -105,8 +105,6 @@ data() { return { loading: true, // 表单加载状态 - drop: false, - dropDownIcon: "ios-arrow-down", searchForm: { // 搜索框初始化对象 pageNumber: 1, // 当前页数 @@ -115,8 +113,7 @@ order: "desc", // 默认排序方式 receiptStatus: "", // 起始时间 }, - shopsData: [], - selectDate: null, + shopsData: [], // 店铺数据 form: { // 添加或编辑表单对象初始化数据 sn: "", diff --git a/manager/src/views/page/article-manage/ArticleCategory.vue b/manager/src/views/page/article-manage/ArticleCategory.vue index f335d8de..2d269156 100644 --- a/manager/src/views/page/article-manage/ArticleCategory.vue +++ b/manager/src/views/page/article-manage/ArticleCategory.vue @@ -85,30 +85,22 @@ }, data() { return { - currView: "index", - loading: false, + currView: "index", // 展示哪一类 + loading: false, // 加载状态 brands: [], //品牌集合 Specifications: [], //规格集合 - categoryId: "", - expandLevel: 1, + expandLevel: 1, // 展开的层级 modalType: 0, // 添加或编辑标识 modalVisible: false, // 添加或编辑显示 modalTitle: "", // 添加或编辑标题 showParent: false, // 是否展示上级菜单 parentTitle: "", // 父级菜单名称 - modalBrandTitle: "", - modalSpecTitle: "", formAdd: { // 添加或编辑表单对象初始化数据 parentId: "", name: "", sort: 1, level: 0, }, - enabledParam: { - type: 0 - }, - brandForm: {}, - specForm: {}, // 表单验证规则 formValidate: {}, columns: [ diff --git a/manager/src/views/page/article-manage/articleList.vue b/manager/src/views/page/article-manage/articleList.vue index 886e7482..aabf9314 100644 --- a/manager/src/views/page/article-manage/articleList.vue +++ b/manager/src/views/page/article-manage/articleList.vue @@ -42,7 +42,7 @@ -
+ @@ -106,7 +106,7 @@ export default { }, data() { return { - selectedIndex: 99999, + selectedIndex: 99999, // 已选下标 loading: true, // 表单加载状态 modalType: 0, // 添加或编辑标识 modalVisible: false, // 添加或编辑显示 @@ -120,7 +120,7 @@ export default { order: "desc", // 默认排序方式 categoryId: "", }, - searchTreeValue: "", + searchTreeValue: "", // 切换 form: { // 添加或编辑表单对象初始化数据 title: "", @@ -129,13 +129,10 @@ export default { content: "", id: "", }, - // 表单验证规则 - formValidate: {}, - list: [], - treeValue: "", + list: [], // 列表 + treeValue: "", // 选择的分类 //树结构 treeData: [], - model2: "", submitLoading: false, // 添加或编辑提交状态 selectList: [], // 多选数据 selectCount: 0, // 多选计数 @@ -296,7 +293,6 @@ export default { let value = ""; let title = ""; this.list = []; - this.model2 = ""; data.forEach((item, index) => { value += `${item.value},`; title += `${item.title},`; diff --git a/manager/src/views/page/feedback/feedback.vue b/manager/src/views/page/feedback/feedback.vue index b37849f6..bf05ae3b 100644 --- a/manager/src/views/page/feedback/feedback.vue +++ b/manager/src/views/page/feedback/feedback.vue @@ -82,21 +82,17 @@ name: "role-manage", data() { return { - loading: true, + loading: true, // 加载状态 modalType: 0, // 0 添加 1 编辑 - form: {}, - searchForm: { + form: {}, // 表单数据 + searchForm: { // 请求参数 pageNumber: 1, pageSize: 10, }, - modalTitle: "详细", - formValidate: false, - roleForm: { - name: "", - description: "", - }, - images: [], - columns: [ + modalTitle: "详细", // modal标题 + formValidate: false, // modal显隐 + images: [], // 图片列表 + columns: [ // 表头 { type: "selection", width: 60, diff --git a/manager/src/views/page/navigation/mobileNavigation.vue b/manager/src/views/page/navigation/mobileNavigation.vue index a2ef3dd9..f2c4e0b4 100644 --- a/manager/src/views/page/navigation/mobileNavigation.vue +++ b/manager/src/views/page/navigation/mobileNavigation.vue @@ -67,7 +67,7 @@ return { openTip: true, // 显示提示 loading: true, // 表单加载状态 - type: "MOBILE", + type: "MOBILE", // 手机还是pc modalType: 0, // 添加或编辑标识 modalVisible: false, // 添加或编辑显示 modalTitle: "", // 添加或编辑标题 diff --git a/manager/src/views/page/navigation/pcNavigation.vue b/manager/src/views/page/navigation/pcNavigation.vue index ca9c7212..d77af994 100644 --- a/manager/src/views/page/navigation/pcNavigation.vue +++ b/manager/src/views/page/navigation/pcNavigation.vue @@ -67,7 +67,7 @@ return { openTip: true, // 显示提示 loading: true, // 表单加载状态 - type: "PC", + type: "PC", // 手机还是pc modalType: 0, // 添加或编辑标识 modalVisible: false, // 添加或编辑显示 modalTitle: "", // 添加或编辑标题 diff --git a/manager/src/views/personal-center/personal-center.vue b/manager/src/views/personal-center/personal-center.vue index 35114205..a6bcb2a6 100644 --- a/manager/src/views/personal-center/personal-center.vue +++ b/manager/src/views/personal-center/personal-center.vue @@ -96,16 +96,12 @@ export default { name: "personal-enter", data() { return { - activeName: "基本信息", - userForm: { + activeName: "基本信息", // 激活的tab + userForm: { // 用户信息 avatar: "", nickname: "" }, - codeError: "", - sending: false, - jumping: false, - currMenu: "基本信息", - dictSex: this.$store.state.dict.sex + currMenu: "基本信息" // 当前菜单 }; }, methods: { diff --git a/manager/src/views/promotion/coupon/couponInfo.vue b/manager/src/views/promotion/coupon/couponInfo.vue index 8e852976..f183fa64 100644 --- a/manager/src/views/promotion/coupon/couponInfo.vue +++ b/manager/src/views/promotion/coupon/couponInfo.vue @@ -104,11 +104,7 @@ export default { }, data() { return { - maxHeight: "240px", - modalType: 0, - /** 当前状态/模式 默认发布商品0 编辑商品1 编辑草稿箱商品2 */ - currentStatus: 0, - categoryId: 0, + modalType: 0, // 当前类型 loading: false, // 表单加载状态 searchForm: { // 搜索框初始化对象 diff --git a/manager/src/views/promotion/coupon/couponPublish.vue b/manager/src/views/promotion/coupon/couponPublish.vue index 32953a03..bf75a38f 100644 --- a/manager/src/views/promotion/coupon/couponPublish.vue +++ b/manager/src/views/promotion/coupon/couponPublish.vue @@ -150,12 +150,7 @@ export default { } }; return { - arrScopeId: [], - maxHeight: "240px", - modalType: 0, - /** 当前状态/模式 默认发布商品0 编辑商品1 编辑草稿箱商品2 */ - currentStatus: 0, - categoryId: 0, + modalType: 0, // 是否编辑 form: { /** 店铺承担比例 */ storeCommission: 0, @@ -173,7 +168,7 @@ export default { promotionGoodsList: [], scopeIdGoods: [], }, - id: this.$route.query.id, + id: this.$route.query.id, // 优惠券id submitLoading: false, // 添加或编辑提交状态 selectedGoods: [], // 已选商品列表,便于删除 goodsCategoryList: [], // 商品分类列表 diff --git a/manager/src/views/promotion/coupon/memberReceiveCoupon.vue b/manager/src/views/promotion/coupon/memberReceiveCoupon.vue index 21edb3d7..f2d4c92f 100644 --- a/manager/src/views/promotion/coupon/memberReceiveCoupon.vue +++ b/manager/src/views/promotion/coupon/memberReceiveCoupon.vue @@ -61,7 +61,6 @@ export default { data() { return { loading: true, // 表单加载状态 - modalType: 0, // 添加或编辑标识 searchForm: { // 搜索框初始化对象 @@ -70,7 +69,7 @@ export default { sort: "createTime", // 默认排序字段 order: "desc", // 默认排序方式 }, - id: this.$route.query.id, + id: this.$route.query.id, // 优惠券id submitLoading: false, // 添加或编辑提交状态 selectList: [], // 多选数据 diff --git a/manager/src/views/promotion/fullCut/full-cut.vue b/manager/src/views/promotion/fullCut/full-cut.vue index f8723b09..2fd322ac 100644 --- a/manager/src/views/promotion/fullCut/full-cut.vue +++ b/manager/src/views/promotion/fullCut/full-cut.vue @@ -96,13 +96,13 @@ export default { data() { return { loading: false, // 表单加载状态 - searchForm: { + searchForm: { // 请求参数 pageNumber: 0, pageSize: 10, sort: "startTime", order: "desc", }, - columns: [ + columns: [ // 表头 { title: "活动名称", key: "promotionName", diff --git a/manager/src/views/promotion/fullCut/fullCutDetail.vue b/manager/src/views/promotion/fullCut/fullCutDetail.vue index a69afe3f..8b484957 100644 --- a/manager/src/views/promotion/fullCut/fullCutDetail.vue +++ b/manager/src/views/promotion/fullCut/fullCutDetail.vue @@ -184,16 +184,15 @@ export default { name: "addFullCut", data() { return { - form: { + form: { // 表单 discountType: "isFullMinus", scopeType: "ALL", promotionGoodsList: [], }, - id: this.$route.query.id, - couponList: [], - giftList: [], - giftLoading: false, - couponList: false, + id: this.$route.query.id, // 活动id + couponList: [], // 优惠券列表 + giftList: [], // 赠品列表 + giftLoading: false, // 赠品加载状态 columns: [ { type: "selection", diff --git a/manager/src/views/promotion/pintuan/pintuan.vue b/manager/src/views/promotion/pintuan/pintuan.vue index de0f82a3..9ff6813b 100644 --- a/manager/src/views/promotion/pintuan/pintuan.vue +++ b/manager/src/views/promotion/pintuan/pintuan.vue @@ -100,7 +100,7 @@ export default { data() { return { loading: true, // 表单加载状态 - openSearch: true, + openSearch: true, // 显示搜索项 searchForm: { // 搜索框初始化对象 pageNumber: 0, // 当前页数 @@ -108,7 +108,7 @@ export default { sort: "startTime", order: "desc", // 默认排序方式 }, - columns: [ + columns: [ // 表头 { title: "活动名称", key: "promotionName", diff --git a/manager/src/views/promotion/pintuan/pintuanGoods.vue b/manager/src/views/promotion/pintuan/pintuanGoods.vue index ba64295a..def7c243 100644 --- a/manager/src/views/promotion/pintuan/pintuanGoods.vue +++ b/manager/src/views/promotion/pintuan/pintuanGoods.vue @@ -71,8 +71,8 @@ const buyerUrl = export default { data() { return { - visible: false, - showImg: "", + visible: false,// 预览图片 + showImg: "", // 预览图片url openSearch: true, // 显示搜索 openTip: true, // 显示提示 loading: false, // 表单加载状态 diff --git a/manager/src/views/promotion/pointsGoods/addPointsGoods.vue b/manager/src/views/promotion/pointsGoods/addPointsGoods.vue index 369b968e..b0c67267 100644 --- a/manager/src/views/promotion/pointsGoods/addPointsGoods.vue +++ b/manager/src/views/promotion/pointsGoods/addPointsGoods.vue @@ -150,11 +150,6 @@ export default { } }; return { - maxHeight: "240px", - modalType: 0, - /** 当前状态/模式 默认发布商品0 编辑商品1 编辑草稿箱商品2 */ - currentStatus: 0, - categoryId: 0, form: { /** 店铺承担比例 */ sellerCommission: 0, @@ -171,8 +166,8 @@ export default { getType: "FREE", promotionGoodsList: [], }, - pointsGoodsList: [], - categoryList: [], + pointsGoodsList: [], // 积分商品列表 + categoryList: [], // 分类列表 submitLoading: false, // 添加或编辑提交状态 selectedGoods: [], // 已选商品列表,便于删除 formRule: { diff --git a/manager/src/views/promotion/pointsGoods/editPointsGoods.vue b/manager/src/views/promotion/pointsGoods/editPointsGoods.vue index f190404a..6d9b13c4 100644 --- a/manager/src/views/promotion/pointsGoods/editPointsGoods.vue +++ b/manager/src/views/promotion/pointsGoods/editPointsGoods.vue @@ -118,11 +118,7 @@ export default { name: "addCoupon", data() { return { - maxHeight: "240px", - modalType: 0, - /** 当前状态/模式 默认发布商品0 编辑商品1 编辑草稿箱商品2 */ - currentStatus: 0, - categoryId: 0, + modalType: 0, // 添加、编辑标识 form: { /** 活动名称 */ promotionName: "", @@ -137,9 +133,8 @@ export default { goodsSku: {}, promotionStatus: "NEW", }, - categoryList: [], - id: this.$route.query.id, - periodTime: 0, + categoryList: [], // 分类列表 + id: this.$route.query.id, // 活动id submitLoading: false, // 添加或编辑提交状态 formRule: { diff --git a/manager/src/views/promotion/pointsGoods/pointsGoods.vue b/manager/src/views/promotion/pointsGoods/pointsGoods.vue index c1c148bb..53d49d6d 100644 --- a/manager/src/views/promotion/pointsGoods/pointsGoods.vue +++ b/manager/src/views/promotion/pointsGoods/pointsGoods.vue @@ -150,13 +150,13 @@ export default { pageSize: 10, // 页面大小 order: "desc", // 默认排序方式 }, - statusList: [ + statusList: [ // 活动状态 { label: "未开始", value: "NEW" }, { label: "已开始", value: "START" }, { label: "已结束", value: "END" }, { label: "已关闭", value: "CLOSE" }, ], - columns: [ + columns: [ // 表头 { title: "商品名称", slot: "goodsName", diff --git a/manager/src/views/promotion/pointsGoodsCategory/pointsGoodsCategory.vue b/manager/src/views/promotion/pointsGoodsCategory/pointsGoodsCategory.vue index 356927d0..7e68991d 100644 --- a/manager/src/views/promotion/pointsGoodsCategory/pointsGoodsCategory.vue +++ b/manager/src/views/promotion/pointsGoodsCategory/pointsGoodsCategory.vue @@ -76,11 +76,7 @@ export default { }, data() { return { - currView: "index", - loading: false, - selectCount: 0, - categoryId: "", - expandLevel: 1, + loading: false, // 加载状态 modalType: 0, // 添加或编辑标识 modalVisible: false, // 添加或编辑显示 modalTitle: "", // 添加或编辑标题 diff --git a/manager/src/views/promotion/seckill/addSeckill.vue b/manager/src/views/promotion/seckill/addSeckill.vue index 7bcc8615..4750c9f6 100644 --- a/manager/src/views/promotion/seckill/addSeckill.vue +++ b/manager/src/views/promotion/seckill/addSeckill.vue @@ -97,11 +97,7 @@ export default { name: "addSeckill", data() { return { - maxHeight: "240px", - modalType: 0, - /** 当前状态/模式 默认发布商品0 编辑商品1 编辑草稿箱商品2 */ - currentStatus: 0, - categoryId: 0, + modalType: 0, // 添加、编辑标识 form: { /** 活动名称 */ promotionName: "", @@ -115,9 +111,9 @@ export default { seckillRule: "", promotionStatus: "NEW", }, - id: this.$route.query.id, - periodTime: null, - showAddPeriod: false, + id: this.$route.query.id, // 活动id + periodTime: null, // 抢购时间段 + showAddPeriod: false, // input显隐 submitLoading: false, // 添加或编辑提交状态 formRule: { diff --git a/manager/src/views/promotion/seckill/seckill.vue b/manager/src/views/promotion/seckill/seckill.vue index 43015173..1b45efd9 100644 --- a/manager/src/views/promotion/seckill/seckill.vue +++ b/manager/src/views/promotion/seckill/seckill.vue @@ -145,9 +145,7 @@ export default { sort: "startTime", order: "desc", // 默认排序方式 }, - selectList: [], // 多选数据 - selectCount: 0, // 多选计数 - columns: [ + columns: [ // 表单 { title: "活动名称", key: "promotionName", diff --git a/manager/src/views/promotion/seckill/seckillGoods.vue b/manager/src/views/promotion/seckill/seckillGoods.vue index 485bcef0..c92dd69f 100644 --- a/manager/src/views/promotion/seckill/seckillGoods.vue +++ b/manager/src/views/promotion/seckill/seckillGoods.vue @@ -168,21 +168,21 @@ export default { data() { return { - promotionStatus: "", - showModal: false, - openTip: true, + promotionStatus: "", // 活动状态 + showModal: false, // modal显隐 + openTip: true, // 显示提示 loading: false, // 表单加载状态 - submitLoading: false, + submitLoading: false, // 加载状态 searchForm: { // 搜索框初始化对象 pageNumber: 0, // 当前页数 pageSize: 100, // 页面大小 }, - total: 0, + total: 0, // 总数 selectList: [], // 多选数据 selectCount: 0, // 多选计数 data: [], // 表单数据 - columns: [ + columns: [ // 表头 { title: "活动名称", key: "promotionName", @@ -246,7 +246,7 @@ }, }, ], - goodsColumns: [ + goodsColumns: [ // 商品表单 {type: "selection", width: 60, align: "center"}, { title: "商品名称", diff --git a/manager/src/views/region/index.vue b/manager/src/views/region/index.vue index 1e34f4fa..fc2c608b 100644 --- a/manager/src/views/region/index.vue +++ b/manager/src/views/region/index.vue @@ -97,17 +97,17 @@ import { export default { data() { return { - asyncLoading:false, - num: 10, - modalFlag: false, - spinShow: false, - timerNum: 10, - data: [], - id: 0, - addValidate: { + asyncLoading:false, // 加载状态 + num: 10, // 更新倒计时 + modalFlag: false, // 新增编辑标识 + spinShow: false, // 全局加载状态 + timerNum: 10, // 定时器 + data: [], // 加载数据 + id: 0, // id + addValidate: { // 添加级别 parentName: "无父级", }, - formValidate: { + formValidate: { // 表单数据 adCode: "", cityCode: "", center: "", @@ -115,7 +115,7 @@ export default { orderNum: "", level: "", }, - ruleValidate: { + ruleValidate: { // 验证规则 adCode: [ { required: true, diff --git a/seller/src/views/lili-components/region.vue b/seller/src/views/lili-components/region.vue index a4c530a0..2bb223bc 100644 --- a/seller/src/views/lili-components/region.vue +++ b/seller/src/views/lili-components/region.vue @@ -20,6 +20,7 @@ export default { data: [], // 地区数据 selected: [], // 已选地区 changeOnSelect: false, // 选择时的变化 + id: 0 // 0层id }; }, mounted() { diff --git a/seller/src/views/lili-dialog/link-dialog.vue b/seller/src/views/lili-dialog/link-dialog.vue index 48e9df83..4a48d6fc 100644 --- a/seller/src/views/lili-dialog/link-dialog.vue +++ b/seller/src/views/lili-dialog/link-dialog.vue @@ -48,13 +48,11 @@ export default { flag: false, // 控制商品模块显隐 selected: 0, // 已选模块 selectedLink: "", //选中的链接 - wap, + wap, // tab标签栏数据 }; }, watch: { selectedLink(val) { - - this.$emit("selectedLink", val); }, },