添加注释,删除无用代码
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 127 KiB |
After Width: | Height: | Size: 6.7 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 8.9 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 23 KiB |
|
@ -47,14 +47,14 @@ export default {
|
|||
}
|
||||
};
|
||||
return {
|
||||
savePassLoading: false,
|
||||
editPasswordForm: {
|
||||
savePassLoading: false, // 保存加载状态
|
||||
editPasswordForm: { // 编辑密码表单
|
||||
oldPassword: "",
|
||||
newPassword: "",
|
||||
rePassword: "",
|
||||
},
|
||||
strength: "",
|
||||
passwordValidate: {
|
||||
strength: "", // 密码强度
|
||||
passwordValidate: { // 验证规则
|
||||
oldPassword: [
|
||||
{
|
||||
required: true,
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
distributionStatusList,
|
||||
distributionStatusList, // 分销状态
|
||||
openSearch: true, // 显示搜索
|
||||
loading: true, // 表单加载状态
|
||||
searchForm: { // 搜索框初始化对象
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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, // 添加或编辑提交状态
|
||||
|
|
|
@ -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, // 表单加载状态
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
data() {
|
||||
return {
|
||||
loading: true, // 表单加载状态
|
||||
selectDate: null,
|
||||
form: { // 添加或编辑表单对象初始化数据
|
||||
isOpen: ""
|
||||
},
|
||||
|
|
|
@ -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: "",
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -99,10 +99,10 @@
|
|||
sort: "create_time", // 默认排序字段
|
||||
order: "desc", // 默认排序方式
|
||||
},
|
||||
underForm: {
|
||||
underForm: { // 下架原因
|
||||
reason: "",
|
||||
},
|
||||
goodsAuditForm: {
|
||||
goodsAuditForm: { // 商品编辑表单
|
||||
is_auth: 1,
|
||||
},
|
||||
form: {
|
||||
|
|
|
@ -17,9 +17,6 @@
|
|||
<FormItem label="商品卖点" prop="sellingPoint">
|
||||
{{ goods.sellingPoint }}
|
||||
</FormItem>
|
||||
<!-- <FormItem label="商品品牌" prop="brandId">-->
|
||||
<!-- {{ goods.brandId }}-->
|
||||
<!-- </FormItem>-->
|
||||
</div>
|
||||
<h4>商品交易信息</h4>
|
||||
<div class="form-item-view">
|
||||
|
@ -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() {
|
||||
|
|
|
@ -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, //品牌关联编辑显示
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
<div style="margin-left: 40px">
|
||||
<img style="width: 100px;height: 110px;margin-left: 2px"
|
||||
v-for="(img,index) in infoData.image.split(',')" v-if="infoData.image.length !=0" :src="img"
|
||||
alt=""/>
|
||||
alt="" />
|
||||
</div>
|
||||
</div>
|
||||
</List>
|
||||
|
@ -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: "",
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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"],
|
||||
|
|
|
@ -22,10 +22,10 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
goodsFlag: false,
|
||||
goodsFlag: false, // 是否商品选择器
|
||||
goodsData: "", //选择的商品
|
||||
linkData: "", //选择的链接
|
||||
flag: false,
|
||||
flag: false, // modal显隐
|
||||
};
|
||||
},
|
||||
props: ["types"],
|
||||
|
|
|
@ -23,11 +23,11 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
templateWay,
|
||||
changed: "",
|
||||
selected: 0,
|
||||
templateWay, // 模板数据
|
||||
changed: "", // 变更模板
|
||||
selected: 0, // 已选数据
|
||||
selectedLink: "", //选中的链接
|
||||
wap
|
||||
wap // tab标签
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
|
|
|
@ -38,22 +38,20 @@ import {
|
|||
getPromotionGoods,
|
||||
} from "@/api/promotion";
|
||||
|
||||
// 引用店铺
|
||||
// import shopListDialog from "@/views/seller/shop/";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
totals: "",
|
||||
totals: "", // 总数
|
||||
loading: true, //表格请求数据为true
|
||||
promotionList: "",
|
||||
promotionList: "", // 活动列表
|
||||
selectedIndex: 0, //左侧菜单选择
|
||||
promotions: "", //选中的活动key
|
||||
index: 999,
|
||||
params: {
|
||||
index: 999, // 已选下标
|
||||
params: { // 请求参数
|
||||
pageNumber: 1,
|
||||
pageSize: 10,
|
||||
},
|
||||
pintuanColumns: [
|
||||
pintuanColumns: [ // 表头
|
||||
{
|
||||
title: "活动标题",
|
||||
key: "title",
|
||||
|
@ -199,7 +197,7 @@ export default {
|
|||
},
|
||||
],
|
||||
|
||||
activeColumns: [],
|
||||
activeColumns: [], // 活动表头
|
||||
|
||||
columns: [
|
||||
{
|
||||
|
@ -253,7 +251,7 @@ export default {
|
|||
promotionData: "", //商品集合
|
||||
|
||||
showPromotionList: [], //显示当前促销的商品
|
||||
typeOption: {
|
||||
typeOption: { // 活动选项
|
||||
FULL_DISCOUNT: {
|
||||
title: "满减",
|
||||
methodsed: () => {
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
export default {
|
||||
data() {
|
||||
return {
|
||||
linkList: [
|
||||
linkList: [ // 链接列表
|
||||
{
|
||||
title: "首页",
|
||||
icon: "md-home",
|
||||
|
@ -82,8 +82,8 @@ export default {
|
|||
___type: "link",
|
||||
url: ''
|
||||
},
|
||||
linkVisible: false,
|
||||
selectedIndex: 9999999,
|
||||
linkVisible: false, // 是否显示外部链接
|
||||
selectedIndex: 9999999, // 已选index
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -36,14 +36,14 @@ import { getShopListData } from "@/api/shops.js";
|
|||
export default {
|
||||
data() {
|
||||
return {
|
||||
loading: false,
|
||||
total: "",
|
||||
params: {
|
||||
loading: false, // 加载状态
|
||||
total: "", // 总数
|
||||
params: { // 请求参数
|
||||
pageNumber: 1,
|
||||
pageSize: 10,
|
||||
storeName: "",
|
||||
},
|
||||
shopsData: [],
|
||||
shopsData: [], // 店铺数据
|
||||
selected: 9999999999, //设置一个不可能选中的index
|
||||
};
|
||||
},
|
||||
|
|
|
@ -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:[
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -184,9 +184,9 @@ export default {
|
|||
},
|
||||
data () {
|
||||
return {
|
||||
showModal:false,
|
||||
selected:{},
|
||||
picModelFlag: false
|
||||
showModal:false, // modal显隐
|
||||
selected:{}, // 已选数据
|
||||
picModelFlag: false // 图片选择器
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
|
|
|
@ -128,9 +128,9 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
showModal: false,
|
||||
selected: null,
|
||||
picModelFlag: false,
|
||||
showModal: false, // modal显隐
|
||||
selected: null, // 已选数据
|
||||
picModelFlag: false, // 选择图片modal
|
||||
};
|
||||
},
|
||||
|
||||
|
|
|
@ -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:{
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
</Modal>
|
||||
<!-- 装修标题 -->
|
||||
<Modal
|
||||
v-model="showModalTitle"
|
||||
v-model="showModal1"
|
||||
title="装修"
|
||||
draggable
|
||||
width="800"
|
||||
|
@ -152,11 +152,11 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
options:this.data.options,
|
||||
showModal:false,
|
||||
showModalTitle:false,
|
||||
selected: {},
|
||||
picModelFlag: false
|
||||
options:this.data.options, // 当前数据
|
||||
showModal:false, // modal显隐
|
||||
showModal1:false, // modal显隐
|
||||
selected: {}, // 已选数据
|
||||
picModelFlag: false // 选择图片modal
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
|
@ -164,7 +164,7 @@ export default {
|
|||
this.selected = item;
|
||||
console.warn(item);
|
||||
if(type){
|
||||
this.showModalTitle = true
|
||||
this.showModal1 = true
|
||||
} else {
|
||||
this.showModal = true
|
||||
}
|
||||
|
|
|
@ -77,11 +77,11 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
currentIndex:0,
|
||||
conData:this.data,
|
||||
selected:{},
|
||||
showModal:false,
|
||||
showContent:true,
|
||||
currentIndex:0, // 当前商品index
|
||||
conData:this.data, // 当前数据
|
||||
selected:{}, // 已选数据
|
||||
showModal:false, // modal显隐
|
||||
showContent:true, // 选择后刷新数据用
|
||||
}
|
||||
},
|
||||
watch:{
|
||||
|
|
|
@ -1,345 +1,414 @@
|
|||
<template>
|
||||
<div class="recommend">
|
||||
<div class="recommend-left">
|
||||
<div class="head-recommend setup-content" :style="{background:msgLeft.bgColor}">
|
||||
<span>{{ msgLeft.title }}</span>
|
||||
<span>{{ msgLeft.secondTitle }}></span>
|
||||
<div class="setup-box">
|
||||
<div>
|
||||
<Button size="small" @click.stop="handleSelectModel(msgLeft,true)">编辑</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-left">
|
||||
<div class="setup-content">
|
||||
<img :src="msgLeft.list[0].img" width="160" height="160" alt="">
|
||||
<div class="margin-left">{{ msgLeft.list[0].name }}</div>
|
||||
<div class="margin-left">{{ msgLeft.list[0].describe }}</div>
|
||||
<Button size="small" :style="{background:msgLeft.bgColor}" class="fz_12 view-btn">点击查看</Button>
|
||||
<div class="setup-box">
|
||||
<div>
|
||||
<Button size="small" @click.stop="handleSelectModel(msgLeft.list[0])">编辑</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<template v-for="(item, index) in msgLeft.list" >
|
||||
<div v-if="index!=0" :key="index" class="setup-content">
|
||||
<img :src="item.img" width="80" height="80" alt="">
|
||||
<div>
|
||||
<div>{{ item.name }}</div>
|
||||
<div>{{ item.describe }}</div>
|
||||
</div>
|
||||
<div class="setup-box">
|
||||
<div>
|
||||
<Button size="small" @click.stop="handleSelectModel(item)">编辑</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="recommend-right">
|
||||
<div class="head-recommend setup-content" :style="{background:msgRight.bgColor}">
|
||||
<span>{{ msgRight.title }}</span>
|
||||
<span>{{ msgRight.secondTitle }}></span>
|
||||
<div class="setup-box">
|
||||
<div>
|
||||
<Button size="small" @click.stop="handleSelectModel(msgRight,true)">编辑</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-right">
|
||||
<div v-for="(item, index) in msgRight.list" :key="index" class="setup-content">
|
||||
<div class="right-item">
|
||||
<div>
|
||||
<span :style="{background:msgRight.bgColor}">{{item.name}}</span>
|
||||
<span>{{item.describe}}</span>
|
||||
</div>
|
||||
<div class="right-img">
|
||||
<img :src="item.img" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="setup-box">
|
||||
<div>
|
||||
<Button size="small" @click.stop="handleSelectModel(item)">编辑</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<Modal
|
||||
v-model="showModal"
|
||||
title="装修"
|
||||
draggable
|
||||
width="800"
|
||||
:z-index="100"
|
||||
mask-closable="false"
|
||||
:on-ok="sureDecorate"
|
||||
:on-cancel="cancelDecorate"
|
||||
<div class="recommend">
|
||||
<div class="recommend-left">
|
||||
<div
|
||||
class="head-recommend setup-content"
|
||||
:style="{ background: msgLeft.bgColor }"
|
||||
>
|
||||
<span>{{ msgLeft.title }}</span>
|
||||
<span>{{ msgLeft.secondTitle }}></span>
|
||||
<div class="setup-box">
|
||||
<div>
|
||||
<Button size="small" @click.stop="handleSelectModel(msgLeft, true)"
|
||||
>编辑</Button
|
||||
>
|
||||
<div class="modal-top-advert">
|
||||
<div>
|
||||
<img class="show-image" width="160" height="160" v-if="selected.size && selected.size.indexOf('160*160')>=0" :src="selected.img" alt />
|
||||
<img class="show-image" width="80" height="80" v-if="selected.size && selected.size.indexOf('80*80')>=0" :src="selected.img" alt />
|
||||
</div>
|
||||
<div>
|
||||
<span>图片主标题:</span><Input v-model="selected.name" />
|
||||
</div>
|
||||
<div>
|
||||
<span>图片描述:</span><Input v-model="selected.describe" />
|
||||
</div>
|
||||
<div class="tips">
|
||||
建议尺寸:<span>{{ selected.size }}</span>
|
||||
</div>
|
||||
<div>
|
||||
图片链接:<span>{{ selected.url }}</span> <Button size="small" class="ml_10" type="primary" @click="handleSelectLink">选择链接</Button>
|
||||
</div>
|
||||
<div>
|
||||
<Button size="small" type="primary" @click="handleSelectImg">选择图片</Button>
|
||||
<Button size="small" type="primary" @click="handleSelectGoods">选择商品</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-left">
|
||||
<div class="setup-content">
|
||||
<img :src="msgLeft.list[0].img" width="160" height="160" alt="" />
|
||||
<div class="margin-left">{{ msgLeft.list[0].name }}</div>
|
||||
<div class="margin-left">{{ msgLeft.list[0].describe }}</div>
|
||||
<Button
|
||||
size="small"
|
||||
:style="{ background: msgLeft.bgColor }"
|
||||
class="fz_12 view-btn"
|
||||
>点击查看</Button
|
||||
>
|
||||
<div class="setup-box">
|
||||
<div>
|
||||
<Button
|
||||
size="small"
|
||||
@click.stop="handleSelectModel(msgLeft.list[0])"
|
||||
>编辑</Button
|
||||
>
|
||||
</div>
|
||||
</Modal>
|
||||
<Modal
|
||||
v-model="showModalTitle"
|
||||
title="装修"
|
||||
draggable
|
||||
width="800"
|
||||
:z-index="100"
|
||||
mask-closable="false"
|
||||
:on-ok="sureDecorate"
|
||||
:on-cancel="cancelDecorate"
|
||||
>
|
||||
<div class="modal-top-advert">
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<template v-for="(item, index) in msgLeft.list">
|
||||
<div v-if="index != 0" :key="index" class="setup-content">
|
||||
<img :src="item.img" width="80" height="80" alt="" />
|
||||
<div>
|
||||
<div>{{ item.name }}</div>
|
||||
<div>{{ item.describe }}</div>
|
||||
</div>
|
||||
<div class="setup-box">
|
||||
<div>
|
||||
<span>主标题:</span><Input v-model="selected.title" />
|
||||
</div>
|
||||
<div>
|
||||
<span>副标题:</span><Input v-model="selected.secondTitle" />
|
||||
</div>
|
||||
<div>
|
||||
<span>副标题链接:{{selected.url}}</span><Button size="small" class="ml_10" type="primary" @click="handleSelectLink">选择链接</Button>
|
||||
</div>
|
||||
<div>
|
||||
<span>背景色:</span><Input v-model="selected.bgColor" /> <ColorPicker v-if="selected.bgColor" v-model="selected.bgColor" />
|
||||
<Button size="small" @click.stop="handleSelectModel(item)"
|
||||
>编辑</Button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</Modal>
|
||||
<!-- 选择商品。链接 -->
|
||||
<liliDialog
|
||||
ref="liliDialog"
|
||||
@selectedLink="selectedLink"
|
||||
@selectedGoodsData="selectedGoodsData"
|
||||
></liliDialog>
|
||||
<!-- 选择图片 -->
|
||||
<Modal width="1200px" v-model="picModelFlag" footer-hide>
|
||||
<ossManage @callback="callbackSelected" ref="ossManage" />
|
||||
</Modal>
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="recommend-right">
|
||||
<div
|
||||
class="head-recommend setup-content"
|
||||
:style="{ background: msgRight.bgColor }"
|
||||
>
|
||||
<span>{{ msgRight.title }}</span>
|
||||
<span>{{ msgRight.secondTitle }}></span>
|
||||
<div class="setup-box">
|
||||
<div>
|
||||
<Button size="small" @click.stop="handleSelectModel(msgRight, true)"
|
||||
>编辑</Button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-right">
|
||||
<div
|
||||
v-for="(item, index) in msgRight.list"
|
||||
:key="index"
|
||||
class="setup-content"
|
||||
>
|
||||
<div
|
||||
class="right-item"
|
||||
:style="{ border: index === 2 || index === 3 ? 'none' : '' }"
|
||||
>
|
||||
<div>
|
||||
<span :style="{ background: msgRight.bgColor }">{{
|
||||
item.name
|
||||
}}</span>
|
||||
<span>{{ item.describe }}</span>
|
||||
</div>
|
||||
<div class="right-img">
|
||||
<img :src="item.img" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="setup-box">
|
||||
<div>
|
||||
<Button size="small" @click.stop="handleSelectModel(item)"
|
||||
>编辑</Button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<Modal
|
||||
v-model="showModal"
|
||||
title="装修"
|
||||
draggable
|
||||
width="800"
|
||||
:z-index="100"
|
||||
mask-closable="false"
|
||||
:on-ok="sureDecorate"
|
||||
:on-cancel="cancelDecorate"
|
||||
>
|
||||
<div class="modal-top-advert">
|
||||
<div>
|
||||
<img
|
||||
class="show-image"
|
||||
width="160"
|
||||
height="160"
|
||||
v-if="selected.size && selected.size.indexOf('160*160') >= 0"
|
||||
:src="selected.img"
|
||||
alt
|
||||
/>
|
||||
<img
|
||||
class="show-image"
|
||||
width="80"
|
||||
height="80"
|
||||
v-if="selected.size && selected.size.indexOf('80*80') >= 0"
|
||||
:src="selected.img"
|
||||
alt
|
||||
/>
|
||||
<img
|
||||
class="show-image"
|
||||
width="100"
|
||||
height="100"
|
||||
v-if="selected.size && selected.size.indexOf('100*100') >= 0"
|
||||
:src="selected.img"
|
||||
alt
|
||||
/>
|
||||
</div>
|
||||
<div><span>图片主标题:</span><Input v-model="selected.name" /></div>
|
||||
<div><span>图片描述:</span><Input v-model="selected.describe" /></div>
|
||||
<div class="tips">
|
||||
建议尺寸:<span>{{ selected.size }}</span>
|
||||
</div>
|
||||
<div>
|
||||
图片链接:<span>{{ selected.url }}</span>
|
||||
<Button
|
||||
size="small"
|
||||
class="ml_10"
|
||||
type="primary"
|
||||
@click="handleSelectLink"
|
||||
>选择链接</Button
|
||||
>
|
||||
</div>
|
||||
<div>
|
||||
<Button size="small" type="primary" @click="handleSelectImg"
|
||||
>选择图片</Button
|
||||
>
|
||||
<Button size="small" type="primary" @click="handleSelectGoods"
|
||||
>选择商品</Button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</Modal>
|
||||
<Modal
|
||||
v-model="showModal1"
|
||||
title="装修"
|
||||
draggable
|
||||
width="800"
|
||||
:z-index="100"
|
||||
mask-closable="false"
|
||||
:on-ok="sureDecorate"
|
||||
:on-cancel="cancelDecorate"
|
||||
>
|
||||
<div class="modal-top-advert">
|
||||
<div><span>主标题:</span><Input v-model="selected.title" /></div>
|
||||
<div><span>副标题:</span><Input v-model="selected.secondTitle" /></div>
|
||||
<div>
|
||||
<span>副标题链接:{{ selected.url }}</span
|
||||
><Button
|
||||
size="small"
|
||||
class="ml_10"
|
||||
type="primary"
|
||||
@click="handleSelectLink"
|
||||
>选择链接</Button
|
||||
>
|
||||
</div>
|
||||
<div>
|
||||
<span>背景色:</span><Input v-model="selected.bgColor" />
|
||||
<ColorPicker v-if="selected.bgColor" v-model="selected.bgColor" />
|
||||
</div>
|
||||
</div>
|
||||
</Modal>
|
||||
<!-- 选择商品。链接 -->
|
||||
<liliDialog
|
||||
ref="liliDialog"
|
||||
@selectedLink="selectedLink"
|
||||
@selectedGoodsData="selectedGoodsData"
|
||||
></liliDialog>
|
||||
<!-- 选择图片 -->
|
||||
<Modal width="1200px" v-model="picModelFlag" footer-hide>
|
||||
<ossManage @callback="callbackSelected" ref="ossManage" />
|
||||
</Modal>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import ossManage from "@/views/sys/oss-manage/ossManage";
|
||||
export default {
|
||||
props:{
|
||||
data:{
|
||||
type:Object,
|
||||
default:{}
|
||||
}
|
||||
props: {
|
||||
data: {
|
||||
type: Object,
|
||||
default: {},
|
||||
},
|
||||
components:{
|
||||
ossManage
|
||||
},
|
||||
components: {
|
||||
ossManage,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
msgLeft: this.data.options.contentLeft, // 左侧数据
|
||||
msgRight: this.data.options.contentRight, // 右侧数据
|
||||
showModal: false, // modal显隐
|
||||
showModal1: false, // modal显隐
|
||||
selected: {}, // 已选数据
|
||||
picModelFlag: false, // 图片选择
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
handleSelectModel(item, type) {
|
||||
this.selected = item;
|
||||
if (type) {
|
||||
this.showModal1 = true;
|
||||
} else {
|
||||
this.showModal = true;
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
msgLeft:this.data.options.contentLeft,
|
||||
msgRight:this.data.options.contentRight,
|
||||
showModal:false,
|
||||
showModalTitle:false,
|
||||
selected:{},
|
||||
picModelFlag: false
|
||||
}
|
||||
handleSelectLink(item, index) {
|
||||
// 调起选择链接弹窗
|
||||
this.$refs.liliDialog.open("link");
|
||||
},
|
||||
methods:{
|
||||
handleSelectModel (item,type) {
|
||||
this.selected = item;
|
||||
if(type){
|
||||
this.showModalTitle = true
|
||||
} else {
|
||||
this.showModal = true
|
||||
}
|
||||
|
||||
},
|
||||
handleSelectLink(item,index) { // 调起选择链接弹窗
|
||||
this.$refs.liliDialog.open('link')
|
||||
},
|
||||
handleSelectGoods(item) { // 调起选择商品
|
||||
this.$refs.liliDialog.open('goods')
|
||||
},
|
||||
selectedLink(val) {
|
||||
this.selected.url = this.$options.filters.formatLinkType(val);
|
||||
},
|
||||
selectedGoodsData(val){
|
||||
console.log(val)
|
||||
let goods = val[0]
|
||||
this.selected.img = goods.thumbnail
|
||||
this.selected.price = goods.price
|
||||
this.selected.name = goods.goodsName
|
||||
this.selected.url = `/goodsDetail?skuId=${goods.id}&goodsId=${goods.goodsId}`
|
||||
},
|
||||
handleSelectImg(){ // 选择图片
|
||||
this.$refs.ossManage.selectImage = true;
|
||||
this.picModelFlag = true;
|
||||
},
|
||||
callbackSelected (val) {
|
||||
this.picModelFlag = false;
|
||||
this.selected.img = val.url;
|
||||
}
|
||||
}
|
||||
}
|
||||
handleSelectGoods(item) {
|
||||
// 调起选择商品
|
||||
this.$refs.liliDialog.open("goods");
|
||||
},
|
||||
selectedLink(val) {
|
||||
this.selected.url = this.$options.filters.formatLinkType(val);
|
||||
},
|
||||
selectedGoodsData(val) {
|
||||
console.log(val);
|
||||
let goods = val[0];
|
||||
this.selected.img = goods.thumbnail;
|
||||
this.selected.price = goods.price;
|
||||
this.selected.name = goods.goodsName;
|
||||
this.selected.url = `/goodsDetail?skuId=${goods.id}&goodsId=${goods.goodsId}`;
|
||||
},
|
||||
handleSelectImg() {
|
||||
// 选择图片
|
||||
this.$refs.ossManage.selectImage = true;
|
||||
this.picModelFlag = true;
|
||||
},
|
||||
callbackSelected(val) {
|
||||
this.picModelFlag = false;
|
||||
this.selected.img = val.url;
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import './setup-box.scss';
|
||||
.recommend{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.recommend-left{
|
||||
width: 595px;
|
||||
.content-left{
|
||||
display: flex;
|
||||
padding-top: 10px;
|
||||
font-size: 12px;
|
||||
>div:nth-child(1){
|
||||
width: 189px;
|
||||
border-right: 1px solid #eee;
|
||||
height: 360px;
|
||||
img{
|
||||
margin: 40px 0 0 15px;
|
||||
}
|
||||
.margin-left{
|
||||
margin-left: 15px;
|
||||
width: 145px;
|
||||
}
|
||||
div:nth-of-type(1){
|
||||
font-weight: bold;
|
||||
border-top: 1px solid #eee;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
div:nth-of-type(2){
|
||||
color: #999;
|
||||
}
|
||||
.view-btn{
|
||||
margin-left: 15px;
|
||||
margin-top: 10px;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
>div:nth-child(2){
|
||||
width: 405px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
>div{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 200px;
|
||||
height: 120px;
|
||||
img{margin: 0 10px;}
|
||||
>div:nth-child(2){
|
||||
// margin: 0 10px;
|
||||
:nth-child(2){
|
||||
color: #449dae;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.recommend-right{
|
||||
width: 595px;
|
||||
@import "./setup-box.scss";
|
||||
.recommend {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.recommend-left {
|
||||
width: 595px;
|
||||
.content-left {
|
||||
display: flex;
|
||||
padding-top: 10px;
|
||||
font-size: 12px;
|
||||
> div:nth-child(1) {
|
||||
width: 189px;
|
||||
border-right: 1px solid #eee;
|
||||
height: 360px;
|
||||
.head-recommend{
|
||||
background: #a25684;
|
||||
img {
|
||||
margin: 40px 0 0 15px;
|
||||
}
|
||||
.content-right{
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding-top: 10px;
|
||||
>div{
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
height: 180px;
|
||||
padding-top: 10px;
|
||||
.right-item {
|
||||
display: flex;
|
||||
margin-top: 30px;
|
||||
height: 180px;
|
||||
padding: 0 10px;
|
||||
font-size: 12px;
|
||||
>div:nth-child(1) {
|
||||
width: 130px;
|
||||
margin-top: 30px;
|
||||
span:nth-child(1){
|
||||
color: #fff;
|
||||
border-radius: 10px;
|
||||
padding: 0 5px;
|
||||
background-color: #a25684;
|
||||
display: block;
|
||||
width: 120px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
margin: 0 10px 10px 0;
|
||||
}
|
||||
span:nth-child(2) {
|
||||
font-size: 12px;
|
||||
color: #666;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
.right-img {
|
||||
width: 100;
|
||||
height: 100px;
|
||||
text-align: center;
|
||||
margin: 0 auto;
|
||||
img{
|
||||
max-height: 100px;
|
||||
max-width: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
>div:nth-child(n+1){
|
||||
border-right: 1px solid #eee;
|
||||
}
|
||||
.margin-left {
|
||||
margin-left: 15px;
|
||||
width: 145px;
|
||||
}
|
||||
}
|
||||
|
||||
.head-recommend{
|
||||
div:nth-of-type(1) {
|
||||
font-weight: bold;
|
||||
border-top: 1px solid #eee;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
div:nth-of-type(2) {
|
||||
color: #999;
|
||||
}
|
||||
.view-btn {
|
||||
margin-left: 15px;
|
||||
margin-top: 10px;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
> div:nth-child(2) {
|
||||
width: 405px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 50px;
|
||||
padding: 0 10px;
|
||||
background: #449dae;
|
||||
color: #fff;
|
||||
span:nth-child(1){
|
||||
font-size: 20px;
|
||||
}
|
||||
span:nth-child(2){
|
||||
font-size: 12px;
|
||||
flex-wrap: wrap;
|
||||
> div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 200px;
|
||||
height: 120px;
|
||||
img {
|
||||
margin: 0 10px;
|
||||
}
|
||||
> div:nth-child(2) {
|
||||
// margin: 0 10px;
|
||||
:nth-child(2) {
|
||||
color: #449dae;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.recommend-right {
|
||||
width: 595px;
|
||||
height: 360px;
|
||||
.head-recommend {
|
||||
background: #a25684;
|
||||
}
|
||||
.content-right {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding-top: 10px;
|
||||
> div {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
height: 180px;
|
||||
padding-top: 10px;
|
||||
.right-item {
|
||||
border-bottom: 1px solid #eee;
|
||||
display: flex;
|
||||
margin-top: 30px;
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
height: 150px;
|
||||
padding: 0 10px;
|
||||
font-size: 12px;
|
||||
> div:nth-child(1) {
|
||||
width: 130px;
|
||||
margin-top: 30px;
|
||||
span:nth-child(1) {
|
||||
color: #fff;
|
||||
border-radius: 10px;
|
||||
padding: 0 5px;
|
||||
background-color: #a25684;
|
||||
display: block;
|
||||
width: 120px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
margin: 0 10px 10px 0;
|
||||
}
|
||||
span:nth-child(2) {
|
||||
font-size: 12px;
|
||||
color: #666;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
.right-img {
|
||||
width: 100;
|
||||
height: 100px;
|
||||
text-align: center;
|
||||
margin: 0 auto;
|
||||
img {
|
||||
max-height: 100px;
|
||||
max-width: 100px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
> div:nth-child(n + 1) {
|
||||
border-right: 1px solid #eee;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.head-recommend {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 50px;
|
||||
padding: 0 10px;
|
||||
background: #449dae;
|
||||
color: #fff;
|
||||
span:nth-child(1) {
|
||||
font-size: 20px;
|
||||
}
|
||||
span:nth-child(2) {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.modal-top-advert {
|
||||
align-items: start;
|
||||
padding: 0 30px;
|
||||
align-items: start;
|
||||
padding: 0 30px;
|
||||
}
|
||||
</style>
|
|
@ -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
|
||||
|
|
|
@ -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: {},
|
||||
|
|
|
@ -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: {},
|
||||
|
|
|
@ -79,7 +79,7 @@ import { btnWay } from "./btn.js";
|
|||
export default {
|
||||
data() {
|
||||
return {
|
||||
btnWay,
|
||||
btnWay, // 按钮类型
|
||||
};
|
||||
},
|
||||
methods: {},
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -85,14 +85,14 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
templates,
|
||||
modelData,
|
||||
qrcode: "",
|
||||
selected: 0,
|
||||
contentData: {
|
||||
templates, // 模板类型
|
||||
modelData, // 装修模型
|
||||
qrcode: "", // 二维码
|
||||
selected: 0, // 已选下标
|
||||
contentData: { // 总数据
|
||||
list: [],
|
||||
},
|
||||
decorateData: "",
|
||||
decorateData: "", // 装修数据
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
|
|
|
@ -15,8 +15,8 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
layout,
|
||||
name: "index",
|
||||
layout, // 装修模块
|
||||
name: "index", // 装修的页面
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
export default {
|
||||
data() {
|
||||
return {
|
||||
selected: {
|
||||
selected: { // 已选数据
|
||||
index: 0,
|
||||
val: "精选",
|
||||
},
|
||||
|
|
|
@ -41,15 +41,12 @@
|
|||
</template>
|
||||
<script>
|
||||
import * as API_Other from "@/api/other.js";
|
||||
// import region from '@/views/lili-components/multiple-region'
|
||||
// import marketing from '@/views/lili-dialog/template/marketing'
|
||||
// import Region from '@/views/lili-components/multiple-region'
|
||||
export default {
|
||||
// components: {region},
|
||||
data() {
|
||||
return {
|
||||
selectedIndex: 0,
|
||||
columns: [
|
||||
selectedIndex: 0, // 装修那个页面的下标
|
||||
columns: [ // 表头
|
||||
{
|
||||
title: "页面名称",
|
||||
key: "name",
|
||||
|
@ -63,8 +60,8 @@ export default {
|
|||
},
|
||||
],
|
||||
|
||||
loading: false,
|
||||
pageTypes: [
|
||||
loading: false, // 加载状态
|
||||
pageTypes: [ // 装修类型
|
||||
{
|
||||
type: "INDEX",
|
||||
title: "首页",
|
||||
|
@ -74,7 +71,7 @@ export default {
|
|||
title: "专题",
|
||||
},
|
||||
],
|
||||
params: {
|
||||
params: { // 请求参数
|
||||
pageNumber: 1,
|
||||
pageSize: 10,
|
||||
sort: "",
|
||||
|
@ -82,8 +79,8 @@ export default {
|
|||
pageType: "INDEX",
|
||||
pageClientType: "H5",
|
||||
},
|
||||
total: "",
|
||||
list: [],
|
||||
total: "", // 页面数量
|
||||
list: [], // 总数据
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
|
|
|
@ -88,7 +88,6 @@
|
|||
import {
|
||||
getLogisticsPage,
|
||||
updateLogistics,
|
||||
getLogisticsDetail,
|
||||
addLogistics,
|
||||
delLogistics,
|
||||
} from "@/api/logistics";
|
||||
|
@ -104,9 +103,6 @@
|
|||
modalType: 0, // 添加或编辑标识
|
||||
modalVisible: false, // 添加或编辑显示
|
||||
modalTitle: "", // 添加或编辑标题
|
||||
drop: false,
|
||||
dropDownContent: "展开",
|
||||
dropDownIcon: "ios-arrow-down",
|
||||
searchForm: {
|
||||
// 搜索框初始化对象
|
||||
pageNumber: 1, // 当前页数
|
||||
|
@ -115,7 +111,6 @@
|
|||
order: "desc", // 默认排序方式
|
||||
name: "",
|
||||
},
|
||||
selectDate: null,
|
||||
form: {
|
||||
// 添加或编辑表单对象初始化数据
|
||||
name: "",
|
||||
|
|
|
@ -40,8 +40,8 @@ export default {
|
|||
name: "messageTip",
|
||||
data() {
|
||||
return {
|
||||
value: 0,
|
||||
empty: false,
|
||||
value: 0, // 消息数量
|
||||
empty: false, // 是否为空
|
||||
};
|
||||
},
|
||||
props: {
|
||||
|
|
|
@ -1,44 +0,0 @@
|
|||
|
||||
<template>
|
||||
<Menu
|
||||
ref="sideMenu"
|
||||
:active-name="$route.name"
|
||||
:open-names="singleOpenName"
|
||||
theme="light"
|
||||
width="110px"
|
||||
@on-select="changeMenu"
|
||||
>
|
||||
<template v-for="item in menuList">
|
||||
<MenuItem :name="item.name" :key="item.name">
|
||||
{{item.title}}
|
||||
</MenuItem>
|
||||
</template>
|
||||
</Menu>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "sidebarMenu",
|
||||
data() {
|
||||
return {
|
||||
singleOpenName: []
|
||||
};
|
||||
},
|
||||
props: {
|
||||
menuList: {
|
||||
type:Array,
|
||||
default:[]
|
||||
},
|
||||
openNames: {
|
||||
type: Array
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
},
|
||||
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import "../styles/menu.scss";
|
||||
</style>
|
|
@ -1,73 +0,0 @@
|
|||
<template>
|
||||
<div>
|
||||
<template v-for="(item, index) in menuList">
|
||||
<div style="text-align: center;" :key="index">
|
||||
<Dropdown
|
||||
transfer
|
||||
v-if="item.children.length !== 1"
|
||||
placement="right-start"
|
||||
:key="index"
|
||||
@on-click="changeMenu"
|
||||
>
|
||||
<Button style="width: 70px;height: 42px;margin-left: -5px;padding:10px 0;" type="text">
|
||||
<Icon :size="20" :color="iconColor" :type="item.icon"></Icon>
|
||||
</Button>
|
||||
<DropdownMenu style="width: 200px;" slot="list">
|
||||
<template v-for="(child, i) in item.children">
|
||||
<DropdownItem :name="child.name" :key="i">
|
||||
<Icon :type="child.icon"></Icon>
|
||||
<span style="padding-left:10px;">{{ itemTitle(child) }}</span>
|
||||
</DropdownItem>
|
||||
</template>
|
||||
</DropdownMenu>
|
||||
</Dropdown>
|
||||
<Dropdown transfer v-else placement="right-start" :key="index" @on-click="changeMenu">
|
||||
<Button
|
||||
@click="changeMenu(item.children[0].name)"
|
||||
style="width: 70px;height: 42px;margin-left: -5px;padding:10px 0;"
|
||||
type="text"
|
||||
>
|
||||
<Icon :size="20" :color="iconColor" :type="item.children[0].icon || item.icon"></Icon>
|
||||
</Button>
|
||||
<DropdownMenu style="width: 200px;" slot="list">
|
||||
<DropdownItem :name="item.children[0].name" :key="'d' + index">
|
||||
<Icon :type="item.children[0].icon || item.icon"></Icon>
|
||||
<span style="padding-left:10px;">{{ itemTitle(item.children[0]) }}</span>
|
||||
</DropdownItem>
|
||||
</DropdownMenu>
|
||||
</Dropdown>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "sidebarMenuShrink",
|
||||
props: {
|
||||
menuList: {
|
||||
type: Array
|
||||
},
|
||||
iconColor: {
|
||||
type: String,
|
||||
default: "white"
|
||||
},
|
||||
menuTheme: {
|
||||
type: String,
|
||||
default: "dark"
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
changeMenu(active) {
|
||||
this.$emit("on-change", active);
|
||||
},
|
||||
itemTitle(item) {
|
||||
if (typeof item.title == "object") {
|
||||
return this.$t(item.title.i18n);
|
||||
} else {
|
||||
return item.title;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
|
@ -31,10 +31,6 @@
|
|||
import util from "@/libs/util.js";
|
||||
export default {
|
||||
name: "shrinkableMenu",
|
||||
data () {
|
||||
return {
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
menuList() {
|
||||
return this.$store.state.app.menuList;
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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, // 多选计数
|
||||
|
|
|
@ -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: [], // 多选数据
|
||||
|
|
|
@ -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: "申请编号",
|
||||
|
|
|
@ -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: "请输入手机号码" },
|
||||
{
|
||||
|
|
|
@ -394,7 +394,7 @@
|
|||
isDefault: false
|
||||
|
||||
},//会员地址操作form
|
||||
selectDate: null,
|
||||
selectDate: null, // 选择时间段
|
||||
submitLoading: false, // 添加或编辑提交状态
|
||||
addressFormValidate: {
|
||||
name: [{required: true, message: "收货人姓名不能为空"}],
|
||||
|
|
|
@ -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: [], // 多选数据
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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: "", // 发送状态
|
||||
|
|
|
@ -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对象
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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, // 页面大小
|
||||
|
|
|
@ -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: [
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -22,8 +22,8 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
selectDep: [],
|
||||
department: []
|
||||
selectDep: [], // 已选数据
|
||||
department: [] // 列表
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -74,7 +74,7 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
editor: null,
|
||||
editor: null, // 富文本编辑器初始化
|
||||
data: this.value, // 富文本数据
|
||||
dataEdit: "", // 编辑数据
|
||||
showHTMLModal: false, // 显示html
|
||||
|
|
|
@ -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"
|
||||
};
|
||||
},
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -231,8 +231,8 @@ export default {
|
|||
}
|
||||
}
|
||||
],
|
||||
userData: [],
|
||||
totalUser: 0
|
||||
userData: [], // 表格数据
|
||||
totalUser: 0 // 总数
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -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:{
|
||||
|
|
|
@ -147,7 +147,7 @@
|
|||
sn: "",
|
||||
|
||||
},
|
||||
selectDate: null,
|
||||
selectDate: null, // 选择时间段
|
||||
form: {
|
||||
// 添加或编辑表单对象初始化数据
|
||||
sn: "",
|
||||
|
@ -156,9 +156,6 @@
|
|||
endTime: "",
|
||||
billPrice: "",
|
||||
},
|
||||
// 表单验证规则
|
||||
formValidate: {},
|
||||
submitLoading: false, // 添加或编辑提交状态
|
||||
selectList: [], // 多选数据
|
||||
selectCount: 0, // 多选计数
|
||||
columns: [
|
||||
|
|
|
@ -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, // 添加或编辑提交状态
|
||||
|
|
|
@ -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, // 多选计数
|
||||
|
|
|
@ -235,8 +235,8 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
id: 0,
|
||||
complaintInfo: "",
|
||||
id: 0, // 投诉id
|
||||
complaintInfo: "", // 投诉信息
|
||||
images: [], //会员申诉图片
|
||||
appealImages: [], //商家申诉的图片
|
||||
submitLoading: false, // 添加或编辑提交状态
|
||||
|
|
|
@ -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, // 当前页数
|
||||
|
|
|
@ -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();
|
||||
},
|
||||
|
|
|
@ -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();
|
||||
},
|
||||
|
|
|
@ -378,7 +378,7 @@ export default {
|
|||
submitLoading: false, // 添加或编辑提交状态
|
||||
region: [], //地区
|
||||
regionId: [], //地区id
|
||||
showRegion: false,
|
||||
showRegion: false, // 显示地区
|
||||
orderLogInfo: [], //订单日志数据
|
||||
orderLogModal: false, //弹出调整价格框
|
||||
checkedLogistics: [], //选中的物流公司集合
|
||||
|
|
|
@ -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();
|
||||
},
|
||||
|
|
|
@ -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: "",
|
||||
|
|
|
@ -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: [
|
||||
|
|