添加注释,删除无用代码
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 {
|
return {
|
||||||
savePassLoading: false,
|
savePassLoading: false, // 保存加载状态
|
||||||
editPasswordForm: {
|
editPasswordForm: { // 编辑密码表单
|
||||||
oldPassword: "",
|
oldPassword: "",
|
||||||
newPassword: "",
|
newPassword: "",
|
||||||
rePassword: "",
|
rePassword: "",
|
||||||
},
|
},
|
||||||
strength: "",
|
strength: "", // 密码强度
|
||||||
passwordValidate: {
|
passwordValidate: { // 验证规则
|
||||||
oldPassword: [
|
oldPassword: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
distributionStatusList,
|
distributionStatusList, // 分销状态
|
||||||
openSearch: true, // 显示搜索
|
openSearch: true, // 显示搜索
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
searchForm: { // 搜索框初始化对象
|
searchForm: { // 搜索框初始化对象
|
||||||
|
|
|
@ -52,7 +52,6 @@
|
||||||
startDate: "", // 起始时间
|
startDate: "", // 起始时间
|
||||||
endDate: "" // 终止时间
|
endDate: "" // 终止时间
|
||||||
},
|
},
|
||||||
selectDate: null,
|
|
||||||
form: { // 添加或编辑表单对象初始化数据
|
form: { // 添加或编辑表单对象初始化数据
|
||||||
memberName: "",
|
memberName: "",
|
||||||
},
|
},
|
||||||
|
@ -144,16 +143,6 @@
|
||||||
this.searchForm.pageSize = 10;
|
this.searchForm.pageSize = 10;
|
||||||
this.getDataList();
|
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) {
|
changeSort(e) {
|
||||||
this.searchForm.sort = e.key;
|
this.searchForm.sort = e.key;
|
||||||
this.searchForm.order = e.order;
|
this.searchForm.order = e.order;
|
||||||
|
|
|
@ -70,11 +70,10 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
cashStatusList, // 状态列表
|
cashStatusList, // 状态列表
|
||||||
openSearch: true, // 显示搜索
|
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
modalVisible: false, // 添加或编辑显示
|
modalVisible: false, // 添加或编辑显示
|
||||||
modalTitle: "", // 添加或编辑标题
|
modalTitle: "", // 添加或编辑标题
|
||||||
result: -1,
|
result: -1, // 是否通过
|
||||||
searchForm: { // 搜索框初始化对象
|
searchForm: { // 搜索框初始化对象
|
||||||
pageNumber: 1, // 当前页数
|
pageNumber: 1, // 当前页数
|
||||||
pageSize: 10, // 页面大小
|
pageSize: 10, // 页面大小
|
||||||
|
@ -87,7 +86,7 @@ export default {
|
||||||
memberName: "",
|
memberName: "",
|
||||||
price: "",
|
price: "",
|
||||||
},
|
},
|
||||||
auditForm: {
|
auditForm: { // 编辑表单
|
||||||
result: -1
|
result: -1
|
||||||
},
|
},
|
||||||
submitLoading: false, // 添加或编辑提交状态
|
submitLoading: false, // 添加或编辑提交状态
|
||||||
|
|
|
@ -64,10 +64,10 @@
|
||||||
components: {},
|
components: {},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
timeRange: [],
|
timeRange: [], // 范围时间
|
||||||
orderStatusList,
|
orderStatusList, // 订单状态列表
|
||||||
shopList: [], // 店铺列表
|
shopList: [], // 店铺列表
|
||||||
distributionId: this.$route.query.id,
|
distributionId: this.$route.query.id, // 分销id
|
||||||
openSearch: true, // 显示搜索
|
openSearch: true, // 显示搜索
|
||||||
openTip: true, // 显示提示
|
openTip: true, // 显示提示
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
selectDate: null,
|
|
||||||
form: { // 添加或编辑表单对象初始化数据
|
form: { // 添加或编辑表单对象初始化数据
|
||||||
isOpen: ""
|
isOpen: ""
|
||||||
},
|
},
|
||||||
|
|
|
@ -71,14 +71,10 @@ export default {
|
||||||
components: {},
|
components: {},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
openSearch: true, // 显示搜索
|
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
modalType: 0, // 添加或编辑标识
|
modalType: 0, // 添加或编辑标识
|
||||||
modalVisible: false, // 添加或编辑显示
|
modalVisible: false, // 添加或编辑显示
|
||||||
modalTitle: "", // 添加或编辑标题
|
modalTitle: "", // 添加或编辑标题
|
||||||
drop: false,
|
|
||||||
dropDownContent: "展开",
|
|
||||||
dropDownIcon: "ios-arrow-down",
|
|
||||||
searchForm: {
|
searchForm: {
|
||||||
// 搜索框初始化对象
|
// 搜索框初始化对象
|
||||||
pageNumber: 1, // 当前页数
|
pageNumber: 1, // 当前页数
|
||||||
|
@ -87,7 +83,6 @@ export default {
|
||||||
order: "desc", // 默认排序方式
|
order: "desc", // 默认排序方式
|
||||||
name: "",
|
name: "",
|
||||||
},
|
},
|
||||||
selectDate: null,
|
|
||||||
form: {
|
form: {
|
||||||
// 添加或编辑表单对象初始化数据
|
// 添加或编辑表单对象初始化数据
|
||||||
name: "",
|
name: "",
|
||||||
|
|
|
@ -97,18 +97,18 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
storeName: "",
|
storeName: "", // 店铺名称
|
||||||
memberName: "",
|
memberName: "", // 会员名称
|
||||||
shopFlag: false,
|
shopFlag: false, // 是否展示
|
||||||
selectName: "选择",
|
selectName: "选择", // modal名称
|
||||||
modalFlag: false,
|
modalFlag: false, // modal显隐
|
||||||
priceData: "",
|
priceData: "", // 价格
|
||||||
orderStatus: "NUM",
|
orderStatus: "NUM", // tab展示
|
||||||
|
|
||||||
|
shopList: {}, // 店铺列表
|
||||||
|
memberList: {}, // 会员列表
|
||||||
|
|
||||||
shopList: {},
|
typeList: [ // 类型
|
||||||
memberList: {},
|
|
||||||
|
|
||||||
typeList: [
|
|
||||||
{
|
{
|
||||||
value: "YEAR",
|
value: "YEAR",
|
||||||
label: "年",
|
label: "年",
|
||||||
|
@ -118,9 +118,9 @@ export default {
|
||||||
label: "月",
|
label: "月",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
total: 0,
|
total: 0, // 总数
|
||||||
year:"",
|
year:"", // 当前年份
|
||||||
params: {
|
params: { // 请求参数
|
||||||
|
|
||||||
type: "PRICE",
|
type: "PRICE",
|
||||||
timeType: "YEAR",
|
timeType: "YEAR",
|
||||||
|
@ -130,7 +130,7 @@ export default {
|
||||||
shopId: "",
|
shopId: "",
|
||||||
memberId: "",
|
memberId: "",
|
||||||
},
|
},
|
||||||
columns: [
|
columns: [ // 店铺名称
|
||||||
{
|
{
|
||||||
title: "商品一级分类",
|
title: "商品一级分类",
|
||||||
key: "categoryName",
|
key: "categoryName",
|
||||||
|
@ -144,7 +144,7 @@ export default {
|
||||||
key: "price",
|
key: "price",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
data: [],
|
data: [], // 店铺名称
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
|
@ -127,9 +127,9 @@ export default {
|
||||||
modalType: 0, // 添加或编辑标识
|
modalType: 0, // 添加或编辑标识
|
||||||
modalVisible: false, // 添加或编辑显示
|
modalVisible: false, // 添加或编辑显示
|
||||||
modalTitle: "", // 添加或编辑标题
|
modalTitle: "", // 添加或编辑标题
|
||||||
drop: false,
|
drop: false, // 展开搜索框
|
||||||
dropDownContent: "展开",
|
dropDownContent: "展开", // 展开标签文字
|
||||||
dropDownIcon: "ios-arrow-down",
|
dropDownIcon: "ios-arrow-down", // 展开图标
|
||||||
searchForm: {
|
searchForm: {
|
||||||
// 搜索框初始化对象
|
// 搜索框初始化对象
|
||||||
pageNumber: 1, // 当前页数
|
pageNumber: 1, // 当前页数
|
||||||
|
@ -137,7 +137,7 @@ export default {
|
||||||
sort: "create_time", // 默认排序字段
|
sort: "create_time", // 默认排序字段
|
||||||
order: "desc", // 默认排序方式
|
order: "desc", // 默认排序方式
|
||||||
},
|
},
|
||||||
underForm: {
|
underForm: { // 下架原因
|
||||||
reason: "",
|
reason: "",
|
||||||
},
|
},
|
||||||
form: {
|
form: {
|
||||||
|
|
|
@ -99,10 +99,10 @@
|
||||||
sort: "create_time", // 默认排序字段
|
sort: "create_time", // 默认排序字段
|
||||||
order: "desc", // 默认排序方式
|
order: "desc", // 默认排序方式
|
||||||
},
|
},
|
||||||
underForm: {
|
underForm: { // 下架原因
|
||||||
reason: "",
|
reason: "",
|
||||||
},
|
},
|
||||||
goodsAuditForm: {
|
goodsAuditForm: { // 商品编辑表单
|
||||||
is_auth: 1,
|
is_auth: 1,
|
||||||
},
|
},
|
||||||
form: {
|
form: {
|
||||||
|
|
|
@ -17,9 +17,6 @@
|
||||||
<FormItem label="商品卖点" prop="sellingPoint">
|
<FormItem label="商品卖点" prop="sellingPoint">
|
||||||
{{ goods.sellingPoint }}
|
{{ goods.sellingPoint }}
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<!-- <FormItem label="商品品牌" prop="brandId">-->
|
|
||||||
<!-- {{ goods.brandId }}-->
|
|
||||||
<!-- </FormItem>-->
|
|
||||||
</div>
|
</div>
|
||||||
<h4>商品交易信息</h4>
|
<h4>商品交易信息</h4>
|
||||||
<div class="form-item-view">
|
<div class="form-item-view">
|
||||||
|
@ -139,10 +136,10 @@ export default {
|
||||||
name: "goodsDetail",
|
name: "goodsDetail",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
goods: '',
|
goods: '', // 商品信息
|
||||||
previewGoodsPicture: '',
|
previewGoodsPicture: '', // 预览图片
|
||||||
goodsPictureVisible: false,
|
goodsPictureVisible: false, // 预览图片模态框
|
||||||
skuColumn: [
|
skuColumn: [ // 规格表头
|
||||||
{
|
{
|
||||||
title: '规格',
|
title: '规格',
|
||||||
key: 'specs'
|
key: 'specs'
|
||||||
|
@ -168,7 +165,7 @@ export default {
|
||||||
slot: "showImage",
|
slot: "showImage",
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
skuData: []
|
skuData: [] // sku数据
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
|
@ -144,18 +144,17 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
categoryList: [],
|
categoryList: [], // 分类列表
|
||||||
sortCateList: [], //筛选出分类第一级
|
sortCateList: [], //筛选出分类第一级
|
||||||
sortCate: "", //筛选的数据
|
sortCate: "", //筛选的数据
|
||||||
currView: "index",
|
loading: false, // 加载状态
|
||||||
loading: false,
|
selectCount: 0, // 选择数量
|
||||||
selectCount: 0,
|
|
||||||
brands: [], //品牌集合
|
brands: [], //品牌集合
|
||||||
specifications: [], //规格集合
|
specifications: [], //规格集合
|
||||||
categoryId: "",
|
categoryId: "", // 分类id
|
||||||
category_brands: [], //已经选择的品牌
|
category_brands: [], //已经选择的品牌
|
||||||
category_specs: [], //已经选择的规格
|
category_specs: [], //已经选择的规格
|
||||||
expandLevel: 1,
|
expandLevel: 1, // 展开层级
|
||||||
modalType: 0, // 添加或编辑标识
|
modalType: 0, // 添加或编辑标识
|
||||||
modalVisible: false, // 添加或编辑显示
|
modalVisible: false, // 添加或编辑显示
|
||||||
modalBrandVisible: false, //品牌关联编辑显示
|
modalBrandVisible: false, //品牌关联编辑显示
|
||||||
|
|
|
@ -84,17 +84,15 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
storeName: "",
|
storeName: "", // 店铺名称
|
||||||
memberName: "",
|
memberName: "", // 会员名称
|
||||||
shopFlag: false,
|
shopFlag: false, // 是否展示
|
||||||
selectName: "选择",
|
selectName: "选择", // modal名称
|
||||||
modalFlag: false,
|
modalFlag: false, // modal显隐
|
||||||
priceData: "",
|
priceData: "", // 价格
|
||||||
orderStatus: "PRICE",
|
orderStatus: "PRICE", // tab展示
|
||||||
|
shopList: {}, // 店铺列表
|
||||||
shopList: {},
|
memberList: {}, // 会员列表
|
||||||
memberList: {},
|
|
||||||
|
|
||||||
typeList: [
|
typeList: [
|
||||||
{
|
{
|
||||||
value: "YEAR",
|
value: "YEAR",
|
||||||
|
@ -105,9 +103,9 @@ export default {
|
||||||
label: "月",
|
label: "月",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
total: 0,
|
total: 0, // 列表总数
|
||||||
year: "",
|
year: "", // 当前年份
|
||||||
params: {
|
params: { // 请求参数
|
||||||
type: "PRICE",
|
type: "PRICE",
|
||||||
timeType: "YEAR",
|
timeType: "YEAR",
|
||||||
pageNumber: 1,
|
pageNumber: 1,
|
||||||
|
@ -116,7 +114,7 @@ export default {
|
||||||
shopId: "",
|
shopId: "",
|
||||||
memberId: "",
|
memberId: "",
|
||||||
},
|
},
|
||||||
columns: [
|
columns: [ // 表格表头
|
||||||
{
|
{
|
||||||
title: "售后号",
|
title: "售后号",
|
||||||
key: "refundSn",
|
key: "refundSn",
|
||||||
|
@ -150,7 +148,7 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
data: [],
|
data: [] // 列表数据
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
<div style="margin-left: 40px">
|
<div style="margin-left: 40px">
|
||||||
<img style="width: 100px;height: 110px;margin-left: 2px"
|
<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"
|
v-for="(img,index) in infoData.image.split(',')" v-if="infoData.image.length !=0" :src="img"
|
||||||
alt=""/>
|
alt="" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</List>
|
</List>
|
||||||
|
@ -101,15 +101,10 @@ export default {
|
||||||
components: {},
|
components: {},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
pageShow: true,
|
infoData: "", // 商品信息
|
||||||
infoData: "",
|
infoFlag: false, // 评价展示
|
||||||
infoFlag: false,
|
infoTitle: "", // modal名称
|
||||||
infoTitle: "",
|
|
||||||
openSearch: true, // 显示搜索
|
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
drop: false,
|
|
||||||
|
|
||||||
dropDownIcon: "ios-arrow-down",
|
|
||||||
searchForm: {
|
searchForm: {
|
||||||
// 搜索框初始化对象
|
// 搜索框初始化对象
|
||||||
pageNumber: 1, // 当前页数
|
pageNumber: 1, // 当前页数
|
||||||
|
@ -119,7 +114,6 @@ export default {
|
||||||
startDate: "", // 起始时间
|
startDate: "", // 起始时间
|
||||||
endDate: "", // 终止时间
|
endDate: "", // 终止时间
|
||||||
},
|
},
|
||||||
selectDate: null,
|
|
||||||
form: {
|
form: {
|
||||||
// 添加或编辑表单对象初始化数据
|
// 添加或编辑表单对象初始化数据
|
||||||
memberName: "",
|
memberName: "",
|
||||||
|
|
|
@ -214,7 +214,7 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
tophotShopsColumns: [
|
tophotShopsColumns: [ // 表格表头
|
||||||
{
|
{
|
||||||
type: "index",
|
type: "index",
|
||||||
width: 100,
|
width: 100,
|
||||||
|
@ -276,11 +276,10 @@ export default {
|
||||||
topHotGoodsData: [], //热卖商品集合
|
topHotGoodsData: [], //热卖商品集合
|
||||||
topHotShopsData: [], //热卖店铺集合
|
topHotShopsData: [], //热卖店铺集合
|
||||||
awaitTodoData: "", //今日待办集合
|
awaitTodoData: "", //今日待办集合
|
||||||
homeData: "",
|
homeData: "", // 首页数据
|
||||||
username: "",
|
pvChart: "", // 流量统计
|
||||||
pvChart: "",
|
orderChart: "", // 订单统计
|
||||||
orderChart: "",
|
params: { // 请求参数
|
||||||
params: {
|
|
||||||
searchType: "LAST_SEVEN",
|
searchType: "LAST_SEVEN",
|
||||||
},
|
},
|
||||||
// 订单传参
|
// 订单传参
|
||||||
|
@ -470,10 +469,6 @@ export default {
|
||||||
|
|
||||||
// 初始化信息
|
// 初始化信息
|
||||||
init() {
|
init() {
|
||||||
if (Cookies.get("userInfo")) {
|
|
||||||
let userInfo = JSON.parse(Cookies.get("userInfo"));
|
|
||||||
this.username = userInfo.username;
|
|
||||||
}
|
|
||||||
this.toHotGoods();
|
this.toHotGoods();
|
||||||
this.topHotShops();
|
this.topHotShops();
|
||||||
this.awaitTodo();
|
this.awaitTodo();
|
||||||
|
|
|
@ -42,11 +42,10 @@ export default {
|
||||||
name: "show",
|
name: "show",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
loading: false,
|
loading: false, // 加载状态
|
||||||
go: "",
|
go: "", // 跳转地址
|
||||||
url: "",
|
url: "", // 链接地址
|
||||||
html: "",
|
height: "525px" // iframe高度
|
||||||
height: "525px"
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
@ -66,7 +65,6 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleGo() {
|
handleGo() {
|
||||||
let url = this.url;
|
|
||||||
this.go = this.url;
|
this.go = this.url;
|
||||||
},
|
},
|
||||||
handleOpen() {
|
handleOpen() {
|
||||||
|
|
|
@ -26,28 +26,21 @@ export default {
|
||||||
props: ["closeShop"],
|
props: ["closeShop"],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
month: "",
|
month: "", // 月份
|
||||||
year: "",
|
|
||||||
|
selectedWay: { // 可选时间项
|
||||||
defuaultWay: {
|
|
||||||
title: "最近7天",
|
title: "最近7天",
|
||||||
selected: true,
|
selected: true,
|
||||||
searchType: "LAST_SEVEN",
|
searchType: "LAST_SEVEN",
|
||||||
},
|
},
|
||||||
|
storeId: "", // 店铺id
|
||||||
selectedWay: {
|
dates: [], // 日期列表
|
||||||
title: "最近7天",
|
params: { // 请求参数
|
||||||
selected: true,
|
|
||||||
searchType: "LAST_SEVEN",
|
|
||||||
},
|
|
||||||
storeId: "",
|
|
||||||
dates: [],
|
|
||||||
params: {
|
|
||||||
pageNumber: 1,
|
pageNumber: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
storeName: "",
|
storeName: "",
|
||||||
},
|
},
|
||||||
dateList: [
|
dateList: [ // 筛选条件
|
||||||
{
|
{
|
||||||
title: "今天",
|
title: "今天",
|
||||||
selected: false,
|
selected: false,
|
||||||
|
@ -70,8 +63,8 @@ export default {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
shopTotal: "",
|
shopTotal: "", // 店铺总数
|
||||||
shopsData: [],
|
shopsData: [], // 店铺数据
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
|
@ -11,43 +11,11 @@ import { getAllCity } from "@/api/index";
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
switched: false,
|
switched: false, // 控制模态框显隐
|
||||||
asyncLoading: false,
|
spinShow: false, // 加载状态
|
||||||
num: 10,
|
data: [], // 地区数据
|
||||||
modalFlag: false,
|
selectedWay: [], // 选择的地区
|
||||||
spinShow: false,
|
callBackData: "", // 打开组件的回显数据
|
||||||
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: "",
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
|
@ -15,10 +15,10 @@ import * as API_Setup from "@/api/index.js";
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
data: [],
|
data: [], // 地区数据
|
||||||
selected: [],
|
selected: [], // 已选地区
|
||||||
id: 0,
|
id: 0, // 默认id
|
||||||
changeOnSelect: false,
|
changeOnSelect: false, // 选择时变动
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
|
@ -44,12 +44,11 @@ export default {
|
||||||
return {
|
return {
|
||||||
type: "multiple", //单选或者多选 single multiple
|
type: "multiple", //单选或者多选 single multiple
|
||||||
|
|
||||||
skuList: [],
|
skuList: [], // 商品sku列表
|
||||||
model1: "",
|
|
||||||
|
|
||||||
selectedWay: [], //选中商品集合
|
selectedWay: [], //选中商品集合
|
||||||
total: "",
|
total: "", // 商品总数
|
||||||
goodsParams: {
|
goodsParams: { // 商品请求参数
|
||||||
pageNumber: 1,
|
pageNumber: 1,
|
||||||
pageSize: 18,
|
pageSize: 18,
|
||||||
order: "desc",
|
order: "desc",
|
||||||
|
@ -59,10 +58,10 @@ export default {
|
||||||
marketEnable: "UPPER",
|
marketEnable: "UPPER",
|
||||||
isAuth: "PASS",
|
isAuth: "PASS",
|
||||||
},
|
},
|
||||||
category: [],
|
category: [], // 分类
|
||||||
goodsData: [],
|
goodsData: [], // 商品数据
|
||||||
empty: false,
|
empty: false, // 空数据
|
||||||
loading: false,
|
loading: false, // 加载状态
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
props: ["clearFlag"],
|
props: ["clearFlag"],
|
||||||
|
|
|
@ -22,10 +22,10 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
goodsFlag: false,
|
goodsFlag: false, // 是否商品选择器
|
||||||
goodsData: "", //选择的商品
|
goodsData: "", //选择的商品
|
||||||
linkData: "", //选择的链接
|
linkData: "", //选择的链接
|
||||||
flag: false,
|
flag: false, // modal显隐
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
props: ["types"],
|
props: ["types"],
|
||||||
|
|
|
@ -23,11 +23,11 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
templateWay,
|
templateWay, // 模板数据
|
||||||
changed: "",
|
changed: "", // 变更模板
|
||||||
selected: 0,
|
selected: 0, // 已选数据
|
||||||
selectedLink: "", //选中的链接
|
selectedLink: "", //选中的链接
|
||||||
wap
|
wap // tab标签
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
|
@ -38,22 +38,20 @@ import {
|
||||||
getPromotionGoods,
|
getPromotionGoods,
|
||||||
} from "@/api/promotion";
|
} from "@/api/promotion";
|
||||||
|
|
||||||
// 引用店铺
|
|
||||||
// import shopListDialog from "@/views/seller/shop/";
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
totals: "",
|
totals: "", // 总数
|
||||||
loading: true, //表格请求数据为true
|
loading: true, //表格请求数据为true
|
||||||
promotionList: "",
|
promotionList: "", // 活动列表
|
||||||
selectedIndex: 0, //左侧菜单选择
|
selectedIndex: 0, //左侧菜单选择
|
||||||
promotions: "", //选中的活动key
|
promotions: "", //选中的活动key
|
||||||
index: 999,
|
index: 999, // 已选下标
|
||||||
params: {
|
params: { // 请求参数
|
||||||
pageNumber: 1,
|
pageNumber: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
},
|
},
|
||||||
pintuanColumns: [
|
pintuanColumns: [ // 表头
|
||||||
{
|
{
|
||||||
title: "活动标题",
|
title: "活动标题",
|
||||||
key: "title",
|
key: "title",
|
||||||
|
@ -199,7 +197,7 @@ export default {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
activeColumns: [],
|
activeColumns: [], // 活动表头
|
||||||
|
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
|
@ -253,7 +251,7 @@ export default {
|
||||||
promotionData: "", //商品集合
|
promotionData: "", //商品集合
|
||||||
|
|
||||||
showPromotionList: [], //显示当前促销的商品
|
showPromotionList: [], //显示当前促销的商品
|
||||||
typeOption: {
|
typeOption: { // 活动选项
|
||||||
FULL_DISCOUNT: {
|
FULL_DISCOUNT: {
|
||||||
title: "满减",
|
title: "满减",
|
||||||
methodsed: () => {
|
methodsed: () => {
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
linkList: [
|
linkList: [ // 链接列表
|
||||||
{
|
{
|
||||||
title: "首页",
|
title: "首页",
|
||||||
icon: "md-home",
|
icon: "md-home",
|
||||||
|
@ -82,8 +82,8 @@ export default {
|
||||||
___type: "link",
|
___type: "link",
|
||||||
url: ''
|
url: ''
|
||||||
},
|
},
|
||||||
linkVisible: false,
|
linkVisible: false, // 是否显示外部链接
|
||||||
selectedIndex: 9999999,
|
selectedIndex: 9999999, // 已选index
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -36,14 +36,14 @@ import { getShopListData } from "@/api/shops.js";
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
loading: false,
|
loading: false, // 加载状态
|
||||||
total: "",
|
total: "", // 总数
|
||||||
params: {
|
params: { // 请求参数
|
||||||
pageNumber: 1,
|
pageNumber: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
storeName: "",
|
storeName: "",
|
||||||
},
|
},
|
||||||
shopsData: [],
|
shopsData: [], // 店铺数据
|
||||||
selected: 9999999999, //设置一个不可能选中的index
|
selected: 9999999999, //设置一个不可能选中的index
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
|
@ -30,32 +30,32 @@ export const modelData = [
|
||||||
options:{
|
options:{
|
||||||
list:[
|
list:[
|
||||||
{
|
{
|
||||||
img:"https://demo.dscmall.cn/storage/data/gallery_album/116/original_img/116_P_1573790294398.png",
|
img:require('@/assets/nav/decorate1.png'),
|
||||||
url:'',
|
url:'',
|
||||||
size:'1200*自定义'
|
size:'1200*自定义'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953434094179058.png',
|
img:require('@/assets/nav/1.jpg'),
|
||||||
url:'',
|
url:'',
|
||||||
size:'230*190'
|
size:'230*190'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953434094179058.png',
|
img:require('@/assets/nav/1.jpg'),
|
||||||
url:'',
|
url:'',
|
||||||
size:'230*190'
|
size:'230*190'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953434094179058.png',
|
img:require('@/assets/nav/1.jpg'),
|
||||||
url:'',
|
url:'',
|
||||||
size:'230*190'
|
size:'230*190'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953434094179058.png',
|
img:require('@/assets/nav/1.jpg'),
|
||||||
url:'',
|
url:'',
|
||||||
size:'230*190'
|
size:'230*190'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953434094179058.png',
|
img:require('@/assets/nav/1.jpg'),
|
||||||
url:'',
|
url:'',
|
||||||
size:'230*190'
|
size:'230*190'
|
||||||
}
|
}
|
||||||
|
@ -135,46 +135,11 @@ export const modelData = [
|
||||||
name:'折扣广告',
|
name:'折扣广告',
|
||||||
icon:'md-image',
|
icon:'md-image',
|
||||||
options:{
|
options:{
|
||||||
bgImg:{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1516301201726549362.png',url:'',size:"1300*586"},
|
bgImg:{img:require('@/assets/nav/decorate.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'},],
|
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:'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'},]
|
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',
|
type:'recommend',
|
||||||
name:'好货推荐',
|
name:'好货推荐',
|
||||||
|
@ -186,13 +151,13 @@ export const modelData = [
|
||||||
bgColor:'#449dae',
|
bgColor:'#449dae',
|
||||||
url:'',
|
url:'',
|
||||||
list: [
|
list: [
|
||||||
{ img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953437520193959.jpg', name: '阿迪达斯三叶草', describe: '也许是每一款经典系列都应该有一个独特的故事吧', url:'',size:'160*160' },
|
{ img: require('@/assets/nav/decorate3.jpeg'), 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: require('@/assets/nav/decorate4.jpeg'), 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/decorate4.jpeg'), 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/decorate4.jpeg'), 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/decorate4.jpeg'), 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/decorate4.jpeg'), 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/decorate4.jpeg'), name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
contentRight:{
|
contentRight:{
|
||||||
|
@ -201,10 +166,10 @@ export const modelData = [
|
||||||
bgColor:'#a25684',
|
bgColor:'#a25684',
|
||||||
url:'',
|
url:'',
|
||||||
list: [
|
list: [
|
||||||
{ 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: '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: '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: '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' },
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -220,11 +185,11 @@ export const modelData = [
|
||||||
bgColor:'#c43d7e',
|
bgColor:'#c43d7e',
|
||||||
url:'',
|
url:'',
|
||||||
list:[
|
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:'新年心愿单', describe:'满269减50,满999减100',img:require('@/assets/nav/decorate6.jpeg'), 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:require('@/assets/nav/decorate6.jpeg'), 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:require('@/assets/nav/decorate6.jpeg'), 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:require('@/assets/nav/decorate6.jpeg'), 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"},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
middle:{
|
middle:{
|
||||||
|
@ -233,12 +198,12 @@ export const modelData = [
|
||||||
bgColor:'#e66a07',
|
bgColor:'#e66a07',
|
||||||
url:'',
|
url:'',
|
||||||
list:[
|
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:require('@/assets/nav/decorate6.jpeg'), 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:'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:'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:'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:'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"},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
right:{
|
right:{
|
||||||
|
@ -247,12 +212,12 @@ export const modelData = [
|
||||||
bgColor:'#b62323',
|
bgColor:'#b62323',
|
||||||
url:'',
|
url:'',
|
||||||
list:[
|
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:require('@/assets/nav/decorate7.jpeg'), 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:'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:'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:'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:'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:''},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -263,12 +228,12 @@ export const modelData = [
|
||||||
icon:'md-image',
|
icon:'md-image',
|
||||||
options:{
|
options:{
|
||||||
list:[
|
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:"年货带回家 满199减60", img:require('@/assets/nav/decorate8.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:"备孕有孕检测仪", img:require('@/assets/nav/decorate9.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:"年货带回家 满199减60", img:require('@/assets/nav/decorate8.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:"备孕有孕检测仪", img:require('@/assets/nav/decorate9.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:"年货带回家 满199减60", img:require('@/assets/nav/decorate8.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:"备孕有孕检测仪", img:require('@/assets/nav/decorate9.png'), url:'', fromColor:"#5d40c1", toColor:'#8c5fdb',size:'170*170'},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -288,46 +253,46 @@ export const modelData = [
|
||||||
icon:'md-image',
|
icon:'md-image',
|
||||||
options:{
|
options:{
|
||||||
list:[
|
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:require('@/assets/nav/decorate10.jpeg'), 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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'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:'' },],
|
||||||
|
|
||||||
],
|
],
|
||||||
navList:[
|
navList:[
|
||||||
|
|
|
@ -158,7 +158,7 @@ export default {
|
||||||
promotionTags: [ "买2免1", "领200神券", "199减100", "母婴5折抢", "充100送20"], // 热词数据
|
promotionTags: [ "买2免1", "领200神券", "199减100", "母婴5折抢", "充100送20"], // 热词数据
|
||||||
topAdvert:{ // 头部广告图数据
|
topAdvert:{ // 头部广告图数据
|
||||||
type:'topAdvert',
|
type:'topAdvert',
|
||||||
img:'https://x.dscmall.cn/storage/data/gallery_album/108/original_img/108_P_1539564967582.jpg',
|
img:'',
|
||||||
url:'',
|
url:'',
|
||||||
bgColor:'#de000d',
|
bgColor:'#de000d',
|
||||||
size:'1200*80'
|
size:'1200*80'
|
||||||
|
|
|
@ -184,9 +184,9 @@ export default {
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
showModal:false,
|
showModal:false, // modal显隐
|
||||||
selected:{},
|
selected:{}, // 已选数据
|
||||||
picModelFlag: false
|
picModelFlag: false // 图片选择器
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
|
|
|
@ -128,9 +128,9 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
showModal: false,
|
showModal: false, // modal显隐
|
||||||
selected: null,
|
selected: null, // 已选数据
|
||||||
picModelFlag: false,
|
picModelFlag: false, // 选择图片modal
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -66,18 +66,18 @@
|
||||||
import ossManage from "@/views/sys/oss-manage/ossManage";
|
import ossManage from "@/views/sys/oss-manage/ossManage";
|
||||||
export default {
|
export default {
|
||||||
props:{
|
props:{
|
||||||
data:{
|
data: {
|
||||||
type: Object,
|
type: Object,
|
||||||
default: null
|
default: null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components:{ossManage},
|
components: {ossManage},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
options: this.data.options,
|
options: this.data.options, // 当前类型数据
|
||||||
showModal: false,
|
showModal: false, // modal显隐
|
||||||
selected: {},
|
selected: {}, // 已选数据
|
||||||
picModelFlag: false
|
picModelFlag: false // 图片选择器
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
|
|
@ -102,7 +102,7 @@
|
||||||
</Modal>
|
</Modal>
|
||||||
<!-- 装修标题 -->
|
<!-- 装修标题 -->
|
||||||
<Modal
|
<Modal
|
||||||
v-model="showModalTitle"
|
v-model="showModal1"
|
||||||
title="装修"
|
title="装修"
|
||||||
draggable
|
draggable
|
||||||
width="800"
|
width="800"
|
||||||
|
@ -152,11 +152,11 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
options:this.data.options,
|
options:this.data.options, // 当前数据
|
||||||
showModal:false,
|
showModal:false, // modal显隐
|
||||||
showModalTitle:false,
|
showModal1:false, // modal显隐
|
||||||
selected: {},
|
selected: {}, // 已选数据
|
||||||
picModelFlag: false
|
picModelFlag: false // 选择图片modal
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
@ -164,7 +164,7 @@ export default {
|
||||||
this.selected = item;
|
this.selected = item;
|
||||||
console.warn(item);
|
console.warn(item);
|
||||||
if(type){
|
if(type){
|
||||||
this.showModalTitle = true
|
this.showModal1 = true
|
||||||
} else {
|
} else {
|
||||||
this.showModal = true
|
this.showModal = true
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,11 +77,11 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
currentIndex:0,
|
currentIndex:0, // 当前商品index
|
||||||
conData:this.data,
|
conData:this.data, // 当前数据
|
||||||
selected:{},
|
selected:{}, // 已选数据
|
||||||
showModal:false,
|
showModal:false, // modal显隐
|
||||||
showContent:true,
|
showContent:true, // 选择后刷新数据用
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch:{
|
watch:{
|
||||||
|
|
|
@ -1,345 +1,414 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="recommend">
|
<div class="recommend">
|
||||||
<div class="recommend-left">
|
<div class="recommend-left">
|
||||||
<div class="head-recommend setup-content" :style="{background:msgLeft.bgColor}">
|
<div
|
||||||
<span>{{ msgLeft.title }}</span>
|
class="head-recommend setup-content"
|
||||||
<span>{{ msgLeft.secondTitle }}></span>
|
:style="{ background: msgLeft.bgColor }"
|
||||||
<div class="setup-box">
|
>
|
||||||
<div>
|
<span>{{ msgLeft.title }}</span>
|
||||||
<Button size="small" @click.stop="handleSelectModel(msgLeft,true)">编辑</Button>
|
<span>{{ msgLeft.secondTitle }}></span>
|
||||||
</div>
|
<div class="setup-box">
|
||||||
</div>
|
<div>
|
||||||
</div>
|
<Button size="small" @click.stop="handleSelectModel(msgLeft, true)"
|
||||||
<div class="content-left">
|
>编辑</Button
|
||||||
<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="modal-top-advert">
|
</div>
|
||||||
<div>
|
</div>
|
||||||
<img class="show-image" width="160" height="160" v-if="selected.size && selected.size.indexOf('160*160')>=0" :src="selected.img" alt />
|
</div>
|
||||||
<img class="show-image" width="80" height="80" v-if="selected.size && selected.size.indexOf('80*80')>=0" :src="selected.img" alt />
|
<div class="content-left">
|
||||||
</div>
|
<div class="setup-content">
|
||||||
<div>
|
<img :src="msgLeft.list[0].img" width="160" height="160" alt="" />
|
||||||
<span>图片主标题:</span><Input v-model="selected.name" />
|
<div class="margin-left">{{ msgLeft.list[0].name }}</div>
|
||||||
</div>
|
<div class="margin-left">{{ msgLeft.list[0].describe }}</div>
|
||||||
<div>
|
<Button
|
||||||
<span>图片描述:</span><Input v-model="selected.describe" />
|
size="small"
|
||||||
</div>
|
:style="{ background: msgLeft.bgColor }"
|
||||||
<div class="tips">
|
class="fz_12 view-btn"
|
||||||
建议尺寸:<span>{{ selected.size }}</span>
|
>点击查看</Button
|
||||||
</div>
|
>
|
||||||
<div>
|
<div class="setup-box">
|
||||||
图片链接:<span>{{ selected.url }}</span> <Button size="small" class="ml_10" type="primary" @click="handleSelectLink">选择链接</Button>
|
<div>
|
||||||
</div>
|
<Button
|
||||||
<div>
|
size="small"
|
||||||
<Button size="small" type="primary" @click="handleSelectImg">选择图片</Button>
|
@click.stop="handleSelectModel(msgLeft.list[0])"
|
||||||
<Button size="small" type="primary" @click="handleSelectGoods">选择商品</Button>
|
>编辑</Button
|
||||||
</div>
|
>
|
||||||
</div>
|
</div>
|
||||||
</Modal>
|
</div>
|
||||||
<Modal
|
</div>
|
||||||
v-model="showModalTitle"
|
<div>
|
||||||
title="装修"
|
<template v-for="(item, index) in msgLeft.list">
|
||||||
draggable
|
<div v-if="index != 0" :key="index" class="setup-content">
|
||||||
width="800"
|
<img :src="item.img" width="80" height="80" alt="" />
|
||||||
:z-index="100"
|
<div>
|
||||||
mask-closable="false"
|
<div>{{ item.name }}</div>
|
||||||
:on-ok="sureDecorate"
|
<div>{{ item.describe }}</div>
|
||||||
:on-cancel="cancelDecorate"
|
</div>
|
||||||
>
|
<div class="setup-box">
|
||||||
<div class="modal-top-advert">
|
|
||||||
<div>
|
<div>
|
||||||
<span>主标题:</span><Input v-model="selected.title" />
|
<Button size="small" @click.stop="handleSelectModel(item)"
|
||||||
</div>
|
>编辑</Button
|
||||||
<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>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Modal>
|
</template>
|
||||||
<!-- 选择商品。链接 -->
|
</div>
|
||||||
<liliDialog
|
</div>
|
||||||
ref="liliDialog"
|
|
||||||
@selectedLink="selectedLink"
|
|
||||||
@selectedGoodsData="selectedGoodsData"
|
|
||||||
></liliDialog>
|
|
||||||
<!-- 选择图片 -->
|
|
||||||
<Modal width="1200px" v-model="picModelFlag" footer-hide>
|
|
||||||
<ossManage @callback="callbackSelected" ref="ossManage" />
|
|
||||||
</Modal>
|
|
||||||
</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>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import ossManage from "@/views/sys/oss-manage/ossManage";
|
import ossManage from "@/views/sys/oss-manage/ossManage";
|
||||||
export default {
|
export default {
|
||||||
props:{
|
props: {
|
||||||
data:{
|
data: {
|
||||||
type:Object,
|
type: Object,
|
||||||
default:{}
|
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() {
|
handleSelectLink(item, index) {
|
||||||
return {
|
// 调起选择链接弹窗
|
||||||
msgLeft:this.data.options.contentLeft,
|
this.$refs.liliDialog.open("link");
|
||||||
msgRight:this.data.options.contentRight,
|
|
||||||
showModal:false,
|
|
||||||
showModalTitle:false,
|
|
||||||
selected:{},
|
|
||||||
picModelFlag: false
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
methods:{
|
handleSelectGoods(item) {
|
||||||
handleSelectModel (item,type) {
|
// 调起选择商品
|
||||||
this.selected = item;
|
this.$refs.liliDialog.open("goods");
|
||||||
if(type){
|
},
|
||||||
this.showModalTitle = true
|
selectedLink(val) {
|
||||||
} else {
|
this.selected.url = this.$options.filters.formatLinkType(val);
|
||||||
this.showModal = true
|
},
|
||||||
}
|
selectedGoodsData(val) {
|
||||||
|
console.log(val);
|
||||||
},
|
let goods = val[0];
|
||||||
handleSelectLink(item,index) { // 调起选择链接弹窗
|
this.selected.img = goods.thumbnail;
|
||||||
this.$refs.liliDialog.open('link')
|
this.selected.price = goods.price;
|
||||||
},
|
this.selected.name = goods.goodsName;
|
||||||
handleSelectGoods(item) { // 调起选择商品
|
this.selected.url = `/goodsDetail?skuId=${goods.id}&goodsId=${goods.goodsId}`;
|
||||||
this.$refs.liliDialog.open('goods')
|
},
|
||||||
},
|
handleSelectImg() {
|
||||||
selectedLink(val) {
|
// 选择图片
|
||||||
this.selected.url = this.$options.filters.formatLinkType(val);
|
this.$refs.ossManage.selectImage = true;
|
||||||
},
|
this.picModelFlag = true;
|
||||||
selectedGoodsData(val){
|
},
|
||||||
console.log(val)
|
callbackSelected(val) {
|
||||||
let goods = val[0]
|
this.picModelFlag = false;
|
||||||
this.selected.img = goods.thumbnail
|
this.selected.img = val.url;
|
||||||
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>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import './setup-box.scss';
|
@import "./setup-box.scss";
|
||||||
.recommend{
|
.recommend {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
.recommend-left{
|
.recommend-left {
|
||||||
width: 595px;
|
width: 595px;
|
||||||
.content-left{
|
.content-left {
|
||||||
display: flex;
|
display: flex;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
>div:nth-child(1){
|
> div:nth-child(1) {
|
||||||
width: 189px;
|
width: 189px;
|
||||||
border-right: 1px solid #eee;
|
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;
|
|
||||||
height: 360px;
|
height: 360px;
|
||||||
.head-recommend{
|
img {
|
||||||
background: #a25684;
|
margin: 40px 0 0 15px;
|
||||||
}
|
}
|
||||||
.content-right{
|
.margin-left {
|
||||||
display: flex;
|
margin-left: 15px;
|
||||||
flex-wrap: wrap;
|
width: 145px;
|
||||||
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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
div:nth-of-type(1) {
|
||||||
|
font-weight: bold;
|
||||||
.head-recommend{
|
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;
|
display: flex;
|
||||||
align-items: center;
|
flex-wrap: wrap;
|
||||||
justify-content: space-between;
|
> div {
|
||||||
height: 50px;
|
display: flex;
|
||||||
padding: 0 10px;
|
align-items: center;
|
||||||
background: #449dae;
|
width: 200px;
|
||||||
color: #fff;
|
height: 120px;
|
||||||
span:nth-child(1){
|
img {
|
||||||
font-size: 20px;
|
margin: 0 10px;
|
||||||
}
|
}
|
||||||
span:nth-child(2){
|
> div:nth-child(2) {
|
||||||
font-size: 12px;
|
// 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 {
|
.modal-top-advert {
|
||||||
align-items: start;
|
align-items: start;
|
||||||
padding: 0 30px;
|
padding: 0 30px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
|
@ -42,17 +42,16 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
options:this.data.options,
|
options:this.data.options, // 当前数据
|
||||||
actStatus:0, // 0 未开始 1 进行中 2 已结束
|
actStatus:0, // 0 未开始 1 进行中 2 已结束
|
||||||
actName:'限时秒杀',
|
actName:'限时秒杀',
|
||||||
currHour:'00', // 当前秒杀场
|
currHour:'00', // 当前秒杀场
|
||||||
diffSeconds:0,
|
diffSeconds:0, // 倒地时
|
||||||
days:'00',
|
hours: '00', // 小时
|
||||||
hours: '00',
|
minutes: '00', // 分钟
|
||||||
minutes: '00',
|
seconds: '00', // 秒
|
||||||
seconds: '00',
|
interval:undefined, // 定时器
|
||||||
interval:undefined,
|
swiperOptions:{ // 轮播图参数
|
||||||
swiperOptions:{
|
|
||||||
slidesPerView: 5,
|
slidesPerView: 5,
|
||||||
autoplay:true,
|
autoplay:true,
|
||||||
loop:true
|
loop:true
|
||||||
|
|
|
@ -83,8 +83,8 @@ import { btnWay } from "./btn.js";
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
btnWay,
|
btnWay, // 按钮类型
|
||||||
type: "full",
|
type: "full", // 是否全屏
|
||||||
|
|
||||||
//全屏广告
|
//全屏广告
|
||||||
advertising: [
|
advertising: [
|
||||||
|
@ -95,7 +95,7 @@ export default {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
linkType: "",
|
linkType: "", // 选择类型
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {},
|
methods: {},
|
||||||
|
|
|
@ -80,8 +80,8 @@ import { btnWay } from "./btn.js";
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
btnWay,
|
btnWay, // 按钮类型
|
||||||
type: "full",
|
type: "full", // 展示方式
|
||||||
//全屏广告
|
//全屏广告
|
||||||
advertising: [
|
advertising: [
|
||||||
{
|
{
|
||||||
|
@ -90,7 +90,7 @@ export default {
|
||||||
size: "612*836",
|
size: "612*836",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
linkType: "",
|
linkType: "", // 选择类型
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {},
|
methods: {},
|
||||||
|
|
|
@ -79,7 +79,7 @@ import { btnWay } from "./btn.js";
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
btnWay,
|
btnWay, // 按钮类型
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {},
|
methods: {},
|
||||||
|
|
|
@ -150,15 +150,15 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
ways,
|
ways, // 选择链接的类型
|
||||||
picModelFlag: false, //图片选择器
|
picModelFlag: false, //图片选择器
|
||||||
linkType: "goods", // dialog弹窗口类型
|
linkType: "goods", // dialog弹窗口类型
|
||||||
styleFlag: false, //广告魔方开关
|
styleFlag: false, //广告魔方开关
|
||||||
selectedLinkIndex: "", //选择链接的索引
|
selectedLinkIndex: "", //选择链接的索引
|
||||||
modelData,
|
modelData, // 装修数据
|
||||||
selectedGoods: "",
|
selectedGoods: "", // 已选商品
|
||||||
selectedLinks: "",
|
selectedLinks: "", // 已选链接
|
||||||
modelList: "",
|
modelList: "", // 装修列表
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
|
@ -85,14 +85,14 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
templates,
|
templates, // 模板类型
|
||||||
modelData,
|
modelData, // 装修模型
|
||||||
qrcode: "",
|
qrcode: "", // 二维码
|
||||||
selected: 0,
|
selected: 0, // 已选下标
|
||||||
contentData: {
|
contentData: { // 总数据
|
||||||
list: [],
|
list: [],
|
||||||
},
|
},
|
||||||
decorateData: "",
|
decorateData: "", // 装修数据
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
|
@ -15,8 +15,8 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
layout,
|
layout, // 装修模块
|
||||||
name: "index",
|
name: "index", // 装修的页面
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
|
@ -58,10 +58,10 @@ import QRCode from "qrcodejs2";
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
progress: true,
|
progress: true, // 展示进度
|
||||||
num: 20,
|
num: 20, // 提交进度
|
||||||
saveDialog: false,
|
saveDialog: false, // 加载状态
|
||||||
way: [
|
way: [ // 装修tab栏切换
|
||||||
{
|
{
|
||||||
title: "首页",
|
title: "首页",
|
||||||
name: "index",
|
name: "index",
|
||||||
|
@ -83,8 +83,8 @@ export default {
|
||||||
selected: false,
|
selected: false,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
qrcode: "",
|
qrcode: "", // 二维码
|
||||||
submitWay: {
|
submitWay: { // 表单信息
|
||||||
pageShow: this.$route.query.type || false,
|
pageShow: this.$route.query.type || false,
|
||||||
name: this.$route.query.name || "模板名称",
|
name: this.$route.query.name || "模板名称",
|
||||||
pageClientType: "H5",
|
pageClientType: "H5",
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
selected: {
|
selected: { // 已选数据
|
||||||
index: 0,
|
index: 0,
|
||||||
val: "精选",
|
val: "精选",
|
||||||
},
|
},
|
||||||
|
|
|
@ -41,15 +41,12 @@
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import * as API_Other from "@/api/other.js";
|
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 {
|
export default {
|
||||||
// components: {region},
|
// components: {region},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
selectedIndex: 0,
|
selectedIndex: 0, // 装修那个页面的下标
|
||||||
columns: [
|
columns: [ // 表头
|
||||||
{
|
{
|
||||||
title: "页面名称",
|
title: "页面名称",
|
||||||
key: "name",
|
key: "name",
|
||||||
|
@ -63,8 +60,8 @@ export default {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
loading: false,
|
loading: false, // 加载状态
|
||||||
pageTypes: [
|
pageTypes: [ // 装修类型
|
||||||
{
|
{
|
||||||
type: "INDEX",
|
type: "INDEX",
|
||||||
title: "首页",
|
title: "首页",
|
||||||
|
@ -74,7 +71,7 @@ export default {
|
||||||
title: "专题",
|
title: "专题",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
params: {
|
params: { // 请求参数
|
||||||
pageNumber: 1,
|
pageNumber: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
sort: "",
|
sort: "",
|
||||||
|
@ -82,8 +79,8 @@ export default {
|
||||||
pageType: "INDEX",
|
pageType: "INDEX",
|
||||||
pageClientType: "H5",
|
pageClientType: "H5",
|
||||||
},
|
},
|
||||||
total: "",
|
total: "", // 页面数量
|
||||||
list: [],
|
list: [], // 总数据
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
|
@ -88,7 +88,6 @@
|
||||||
import {
|
import {
|
||||||
getLogisticsPage,
|
getLogisticsPage,
|
||||||
updateLogistics,
|
updateLogistics,
|
||||||
getLogisticsDetail,
|
|
||||||
addLogistics,
|
addLogistics,
|
||||||
delLogistics,
|
delLogistics,
|
||||||
} from "@/api/logistics";
|
} from "@/api/logistics";
|
||||||
|
@ -104,9 +103,6 @@
|
||||||
modalType: 0, // 添加或编辑标识
|
modalType: 0, // 添加或编辑标识
|
||||||
modalVisible: false, // 添加或编辑显示
|
modalVisible: false, // 添加或编辑显示
|
||||||
modalTitle: "", // 添加或编辑标题
|
modalTitle: "", // 添加或编辑标题
|
||||||
drop: false,
|
|
||||||
dropDownContent: "展开",
|
|
||||||
dropDownIcon: "ios-arrow-down",
|
|
||||||
searchForm: {
|
searchForm: {
|
||||||
// 搜索框初始化对象
|
// 搜索框初始化对象
|
||||||
pageNumber: 1, // 当前页数
|
pageNumber: 1, // 当前页数
|
||||||
|
@ -115,7 +111,6 @@
|
||||||
order: "desc", // 默认排序方式
|
order: "desc", // 默认排序方式
|
||||||
name: "",
|
name: "",
|
||||||
},
|
},
|
||||||
selectDate: null,
|
|
||||||
form: {
|
form: {
|
||||||
// 添加或编辑表单对象初始化数据
|
// 添加或编辑表单对象初始化数据
|
||||||
name: "",
|
name: "",
|
||||||
|
|
|
@ -40,8 +40,8 @@ export default {
|
||||||
name: "messageTip",
|
name: "messageTip",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
value: 0,
|
value: 0, // 消息数量
|
||||||
empty: false,
|
empty: false, // 是否为空
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
props: {
|
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";
|
import util from "@/libs/util.js";
|
||||||
export default {
|
export default {
|
||||||
name: "shrinkableMenu",
|
name: "shrinkableMenu",
|
||||||
data () {
|
|
||||||
return {
|
|
||||||
}
|
|
||||||
},
|
|
||||||
computed: {
|
computed: {
|
||||||
menuList() {
|
menuList() {
|
||||||
return this.$store.state.app.menuList;
|
return this.$store.state.app.menuList;
|
||||||
|
|
|
@ -47,17 +47,17 @@ export default {
|
||||||
name: "tagsPageOpened",
|
name: "tagsPageOpened",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
currentPageName: this.$route.name,
|
currentPageName: this.$route.name, // 当前路由名称
|
||||||
tagBodyLeft: 0,
|
tagBodyLeft: 0, // 标签左偏移量
|
||||||
visible: false,
|
visible: false, // 显示操作按钮
|
||||||
contextMenuLeft: 0,
|
contextMenuLeft: 0, // 内容左偏移量
|
||||||
contextMenuTop: 0,
|
contextMenuTop: 0, // 内容上偏移量
|
||||||
menuList: {
|
actionList: {
|
||||||
others: '关闭其他',
|
others: '关闭其他',
|
||||||
clearAll: '关闭所有'
|
clearAll: '关闭所有'
|
||||||
},
|
},
|
||||||
refsTag: [],
|
refsTag: [], // 所有已打开标签
|
||||||
tagsCount: 1
|
tagsCount: 1 // 标签数量
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -85,7 +85,6 @@
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
drop: false,
|
|
||||||
searchForm: {
|
searchForm: {
|
||||||
// 搜索框初始化对象
|
// 搜索框初始化对象
|
||||||
pageNumber: 1, // 当前页数
|
pageNumber: 1, // 当前页数
|
||||||
|
@ -96,9 +95,7 @@
|
||||||
endDate: "", // 终止时间
|
endDate: "", // 终止时间
|
||||||
memberName:""
|
memberName:""
|
||||||
},
|
},
|
||||||
selectDate: null,
|
selectDate: null, // 选择区间时间
|
||||||
// 表单验证规则
|
|
||||||
formValidate: {},
|
|
||||||
submitLoading: false, // 添加或编辑提交状态
|
submitLoading: false, // 添加或编辑提交状态
|
||||||
selectList: [], // 多选数据
|
selectList: [], // 多选数据
|
||||||
selectCount: 0, // 多选计数
|
selectCount: 0, // 多选计数
|
||||||
|
|
|
@ -36,7 +36,6 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
drop: false,
|
|
||||||
searchForm: {
|
searchForm: {
|
||||||
// 搜索框初始化对象
|
// 搜索框初始化对象
|
||||||
pageNumber: 1, // 当前页数
|
pageNumber: 1, // 当前页数
|
||||||
|
@ -47,7 +46,7 @@ export default {
|
||||||
endDate: "", // 终止时间
|
endDate: "", // 终止时间
|
||||||
memberName: "",
|
memberName: "",
|
||||||
},
|
},
|
||||||
selectDate: null,
|
selectDate: null, // 选择时间段
|
||||||
// 表单验证规则
|
// 表单验证规则
|
||||||
formValidate: {},
|
formValidate: {},
|
||||||
selectList: [], // 多选数据
|
selectList: [], // 多选数据
|
||||||
|
|
|
@ -176,10 +176,9 @@
|
||||||
openSearch: true, // 显示搜索
|
openSearch: true, // 显示搜索
|
||||||
openTip: true, // 显示提示
|
openTip: true, // 显示提示
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
drop: false,
|
|
||||||
audit: '', // 审核备注
|
audit: '', // 审核备注
|
||||||
roleModalVisible: false,
|
roleModalVisible: false, // 审核模态框
|
||||||
queryModalVisible: false,
|
queryModalVisible: false, // 审核模态框
|
||||||
searchForm: {
|
searchForm: {
|
||||||
// 搜索框初始化对象
|
// 搜索框初始化对象
|
||||||
pageNumber: 1, // 当前页数
|
pageNumber: 1, // 当前页数
|
||||||
|
@ -191,13 +190,11 @@
|
||||||
memberName: "",
|
memberName: "",
|
||||||
applyStatus: ""
|
applyStatus: ""
|
||||||
},
|
},
|
||||||
selectDate: null,
|
selectDate: null, // 选择时间段
|
||||||
// 表单验证规则
|
|
||||||
formValidate: {},
|
|
||||||
submitLoading: false, // 添加或编辑提交状态
|
submitLoading: false, // 添加或编辑提交状态
|
||||||
selectList: [], // 多选数据
|
selectList: [], // 多选数据
|
||||||
selectCount: 0, // 多选计数
|
selectCount: 0, // 多选计数
|
||||||
showList: {},
|
showList: {}, // 可操作选项
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
title: "申请编号",
|
title: "申请编号",
|
||||||
|
|
|
@ -136,18 +136,18 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
selectedMember: false, //是否是其他组件调用
|
selectedMember: false, //是否是其他组件调用
|
||||||
descTitle: "",
|
descTitle: "", // modal标题
|
||||||
descFlag: false, //编辑查看框
|
descFlag: false, //编辑查看框
|
||||||
openSearch: true, // 显示搜索
|
openSearch: true, // 显示搜索
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
addFlag: false,
|
addFlag: false, // modal显隐控制
|
||||||
updateRegion: false,
|
updateRegion: false, // 地区
|
||||||
addMemberForm: {
|
addMemberForm: { // 添加用户表单
|
||||||
mobile: "",
|
mobile: "",
|
||||||
username: "",
|
username: "",
|
||||||
password: "",
|
password: "",
|
||||||
},
|
},
|
||||||
searchForm: {
|
searchForm: { // 请求参数
|
||||||
pageNumber: 1,
|
pageNumber: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
order: "desc",
|
order: "desc",
|
||||||
|
@ -155,10 +155,9 @@ export default {
|
||||||
mobile: "",
|
mobile: "",
|
||||||
disabled: "OPEN",
|
disabled: "OPEN",
|
||||||
},
|
},
|
||||||
picModelFlag: false,
|
picModelFlag: false, // 选择图片
|
||||||
// 表单验证规则
|
formValidate: {}, // 表单数据
|
||||||
formValidate: {},
|
addRule: { // 验证规则
|
||||||
addRule: {
|
|
||||||
mobile: [
|
mobile: [
|
||||||
{ required: true, message: "请输入手机号码" },
|
{ required: true, message: "请输入手机号码" },
|
||||||
{
|
{
|
||||||
|
|
|
@ -394,7 +394,7 @@
|
||||||
isDefault: false
|
isDefault: false
|
||||||
|
|
||||||
},//会员地址操作form
|
},//会员地址操作form
|
||||||
selectDate: null,
|
selectDate: null, // 选择时间段
|
||||||
submitLoading: false, // 添加或编辑提交状态
|
submitLoading: false, // 添加或编辑提交状态
|
||||||
addressFormValidate: {
|
addressFormValidate: {
|
||||||
name: [{required: true, message: "收货人姓名不能为空"}],
|
name: [{required: true, message: "收货人姓名不能为空"}],
|
||||||
|
|
|
@ -168,12 +168,12 @@
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
selectedMember: false, //是否是其他组件调用
|
selectedMember: false, //是否是其他组件调用
|
||||||
descTitle: "",
|
descTitle: "", // modal标题
|
||||||
descFlag: false, //编辑查看框
|
descFlag: false, //编辑查看框
|
||||||
openSearch: true, // 显示搜索
|
openSearch: true, // 显示搜索
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
updateRegion: false,
|
updateRegion: false, // 显示所在地
|
||||||
searchForm: {
|
searchForm: { // 请求参数
|
||||||
pageNumber: 1,
|
pageNumber: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
order: "desc",
|
order: "desc",
|
||||||
|
@ -181,9 +181,8 @@
|
||||||
mobile: "",
|
mobile: "",
|
||||||
disabled: "CLOSE"
|
disabled: "CLOSE"
|
||||||
},
|
},
|
||||||
picModelFlag: false,
|
picModelFlag: false, // 选择图片
|
||||||
// 表单验证规则
|
formValidate: {}, // 表单数据
|
||||||
formValidate: {},
|
|
||||||
ruleValidate: {}, //修改验证
|
ruleValidate: {}, //修改验证
|
||||||
submitLoading: false, // 添加或编辑提交状态
|
submitLoading: false, // 添加或编辑提交状态
|
||||||
selectList: [], // 多选数据
|
selectList: [], // 多选数据
|
||||||
|
|
|
@ -78,12 +78,11 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
type: 0,
|
type: 0, // 消息类型
|
||||||
loading: false, // 表单加载状态
|
loading: false, // 表单加载状态
|
||||||
selectUsers: [],
|
selectUsers: [], // 已选用户
|
||||||
userModalVisible: false,
|
|
||||||
modalTitle: "", // 添加或编辑标题
|
modalTitle: "", // 添加或编辑标题
|
||||||
form: {
|
form: { // 表单
|
||||||
// 添加或编辑表单对象初始化数据
|
// 添加或编辑表单对象初始化数据
|
||||||
title: "",
|
title: "",
|
||||||
content: "",
|
content: "",
|
||||||
|
@ -99,8 +98,8 @@ export default {
|
||||||
content: [{ required: true, message: "内容不能为空", trigger: "blur" }]
|
content: [{ required: true, message: "内容不能为空", trigger: "blur" }]
|
||||||
},
|
},
|
||||||
submitLoading: false, // 添加或编辑提交状态
|
submitLoading: false, // 添加或编辑提交状态
|
||||||
dictMessageType: this.$store.state.dict.messageType,
|
dictMessageType: this.$store.state.dict.messageType, // 消息类型
|
||||||
backRoute: ""
|
backRoute: "" // 上一个页面路由
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -286,45 +286,44 @@
|
||||||
title: "message-manage",
|
title: "message-manage",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
messageTemplate:'',//当前消息模板
|
messageTemplate:'',// 当前消息模板
|
||||||
messageTemplateId:'',
|
messageTemplateId:'', // 当前消息模板id
|
||||||
templateName:'',
|
templateName:'', // 模板名称
|
||||||
smsModal: false,//短信
|
smsModal: false,//短信
|
||||||
smsFormData:{
|
smsFormData:{ // 模板表单数据
|
||||||
smsState:'',
|
smsState:'',
|
||||||
smsContent:'',
|
smsContent:'',
|
||||||
smsCode: ''
|
smsCode: ''
|
||||||
},
|
},
|
||||||
smsFormValidate:{
|
smsFormValidate:{ // 验证规则
|
||||||
smsCode: [{ required: true, message: '请输入短信编码'}],
|
smsCode: [{ required: true, message: '请输入短信编码'}],
|
||||||
smsContent: [{ required: true, message: '请输入短信内容'}],
|
smsContent: [{ required: true, message: '请输入短信内容'}],
|
||||||
},
|
},
|
||||||
noticeModal: false,//站内信
|
noticeModal: false, // 站内信
|
||||||
noticeFormData:{
|
noticeFormData:{ // 站内信表单
|
||||||
noticeContent:''
|
noticeContent:''
|
||||||
},
|
},
|
||||||
noticeFormValidate:{
|
noticeFormValidate:{ // 验证规则
|
||||||
noticeContent: [{ required: true, message: '请输入站内信内容'}],
|
noticeContent: [{ required: true, message: '请输入站内信内容'}],
|
||||||
},
|
},
|
||||||
wechatModal:false,//微信消息
|
wechatModal:false,//微信消息
|
||||||
wechatFormData:{
|
wechatFormData:{ // 微信表单
|
||||||
remark:'',
|
remark:'',
|
||||||
first:'',
|
first:'',
|
||||||
enable:'',
|
enable:'',
|
||||||
},
|
},
|
||||||
wechatFormValidate:{
|
wechatFormValidate:{ // 验证规则
|
||||||
remark: [{ required: true, message: '请输入站内信内容'}],
|
remark: [{ required: true, message: '请输入站内信内容'}],
|
||||||
first: [{ required: true, message: '请输入头部文字信息'}],
|
first: [{ required: true, message: '请输入头部文字信息'}],
|
||||||
},
|
},
|
||||||
tab: "MEMBER",
|
tab: "MEMBER", // tabName
|
||||||
openTip: true,
|
openTip: true, // 提示展示
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
userLoading: true,
|
|
||||||
selectCount: 0, // 多选计数
|
selectCount: 0, // 多选计数
|
||||||
selectList: [], // 多选数据
|
selectList: [], // 多选数据
|
||||||
drop: false,
|
drop: false, // 更多搜索项
|
||||||
dropDownContent: "展开",
|
dropDownContent: "展开", // drop显示内容
|
||||||
dropDownIcon: "ios-arrow-down",
|
dropDownIcon: "ios-arrow-down", // drop图标
|
||||||
searchForm: {
|
searchForm: {
|
||||||
// 搜索框对应data对象
|
// 搜索框对应data对象
|
||||||
type: "MEMBER",
|
type: "MEMBER",
|
||||||
|
|
|
@ -116,13 +116,13 @@ export default {
|
||||||
title: "message-manage",
|
title: "message-manage",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
openSearch: true,
|
openSearch: true, // 显示搜索
|
||||||
openTip: true,
|
openTip: true, // 显示提示
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
userLoading: true,
|
userLoading: true,
|
||||||
selectCount: 0, // 多选计数
|
selectCount: 0, // 多选计数
|
||||||
selectList: [], // 多选数据
|
selectList: [], // 多选数据
|
||||||
drop: false,
|
drop: false, // 展开搜索
|
||||||
dropDownContent: "展开",
|
dropDownContent: "展开",
|
||||||
dropDownIcon: "ios-arrow-down",
|
dropDownIcon: "ios-arrow-down",
|
||||||
searchForm: {
|
searchForm: {
|
||||||
|
|
|
@ -77,10 +77,10 @@ export default {
|
||||||
name: "message_send_detail",
|
name: "message_send_detail",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
openSearch: true,
|
openSearch: true, // 显示搜索项
|
||||||
openTip: true,
|
openTip: true, // 显示提示
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
messageId: "",
|
messageId: "", // 信息id
|
||||||
sortColumn: "createTime", // 排序字段
|
sortColumn: "createTime", // 排序字段
|
||||||
sortType: "desc", // 排序方式
|
sortType: "desc", // 排序方式
|
||||||
status: "", // 发送状态
|
status: "", // 发送状态
|
||||||
|
|
|
@ -125,24 +125,18 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
||||||
wechatModal: false,//微信消息
|
wechatModal: false,// modal展示
|
||||||
wechatFormData: {},
|
wechatFormData: {}, // 微信数据
|
||||||
wechatMPModal: false,//微信消息
|
wechatMPModal: false,//微信消息
|
||||||
wechatMPFormData: {},
|
wechatMPFormData: {}, // 微信订阅消息
|
||||||
tab: "WECHAT",
|
tab: "WECHAT", // tab栏分类
|
||||||
searchForm: {
|
searchForm: { // 请求参数
|
||||||
type: "WECHAT"
|
type: "WECHAT"
|
||||||
},
|
},
|
||||||
openTip: true,
|
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
name: '',
|
id: '', // 模板id
|
||||||
id: '',
|
|
||||||
userLoading: true,
|
|
||||||
selectCount: 0, // 多选计数
|
selectCount: 0, // 多选计数
|
||||||
selectList: [], // 多选数据
|
selectList: [], // 多选数据
|
||||||
drop: false,
|
|
||||||
dropDownContent: "展开",
|
|
||||||
dropDownIcon: "ios-arrow-down",
|
|
||||||
//微信消息查询
|
//微信消息查询
|
||||||
weChatSearchForm: {
|
weChatSearchForm: {
|
||||||
// 搜索框对应data对象
|
// 搜索框对应data对象
|
||||||
|
|
|
@ -62,10 +62,9 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
type: 0,
|
type: 0, // 0 发送新消息 1 编辑消息
|
||||||
loading: false, // 表单加载状态
|
loading: false, // 表单加载状态
|
||||||
selectUsers: [],
|
selectUsers: [], // 选择用户
|
||||||
userModalVisible: false,
|
|
||||||
modalTitle: "", // 添加或编辑标题
|
modalTitle: "", // 添加或编辑标题
|
||||||
form: {
|
form: {
|
||||||
// 添加或编辑表单对象初始化数据
|
// 添加或编辑表单对象初始化数据
|
||||||
|
@ -80,8 +79,7 @@ export default {
|
||||||
content: [{ required: true, message: "内容不能为空", trigger: "blur" }]
|
content: [{ required: true, message: "内容不能为空", trigger: "blur" }]
|
||||||
},
|
},
|
||||||
submitLoading: false, // 添加或编辑提交状态
|
submitLoading: false, // 添加或编辑提交状态
|
||||||
dictMessageType: this.$store.state.dict.messageType,
|
backRoute: "" // back路由路径
|
||||||
backRoute: ""
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -68,9 +68,9 @@
|
||||||
modalType: 0, // 添加或编辑标识
|
modalType: 0, // 添加或编辑标识
|
||||||
modalVisible: false, // 添加或编辑显示
|
modalVisible: false, // 添加或编辑显示
|
||||||
modalTitle: "", // 添加或编辑标题
|
modalTitle: "", // 添加或编辑标题
|
||||||
drop: false,
|
drop: false, // 更多搜索项
|
||||||
dropDownContent: "展开",
|
dropDownContent: "展开", // drop中文提示
|
||||||
dropDownIcon: "ios-arrow-down",
|
dropDownIcon: "ios-arrow-down", // drop图标
|
||||||
searchForm: { // 搜索框初始化对象
|
searchForm: { // 搜索框初始化对象
|
||||||
pageNumber: 1, // 当前页数
|
pageNumber: 1, // 当前页数
|
||||||
pageSize: 10, // 页面大小
|
pageSize: 10, // 页面大小
|
||||||
|
|
|
@ -72,37 +72,10 @@
|
||||||
return {
|
return {
|
||||||
descFlag: false, //编辑查看框
|
descFlag: false, //编辑查看框
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
addFlag: false,
|
searchForm: { // 请求参数
|
||||||
updateRegion: false,
|
|
||||||
addMemberForm:{
|
|
||||||
mobile: "",
|
|
||||||
username: "",
|
|
||||||
password: "",
|
|
||||||
},
|
|
||||||
searchForm: {
|
|
||||||
pageNumber: 1,
|
pageNumber: 1,
|
||||||
pageSize: 10,
|
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: [], // 多选数据
|
selectList: [], // 多选数据
|
||||||
selectCount: 0, // 多选计数
|
selectCount: 0, // 多选计数
|
||||||
columns: [
|
columns: [
|
||||||
|
|
|
@ -254,8 +254,8 @@ export default {
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
return {
|
return {
|
||||||
loading: true,
|
loading: true, // 加载状态
|
||||||
params: {
|
params: { // 请求参数
|
||||||
userId: JSON.parse(Cookies.get("userInfo")).id,
|
userId: JSON.parse(Cookies.get("userInfo")).id,
|
||||||
status: 0,
|
status: 0,
|
||||||
pageNumber: 1, // 当前页数
|
pageNumber: 1, // 当前页数
|
||||||
|
@ -263,26 +263,25 @@ export default {
|
||||||
sort: "createTime", // 默认排序字段
|
sort: "createTime", // 默认排序字段
|
||||||
order: "desc" // 默认排序方式
|
order: "desc" // 默认排序方式
|
||||||
},
|
},
|
||||||
total: 0,
|
total: 0, // 消息总数
|
||||||
totalUnread: 0,
|
totalUnread: 0, // 所有未读消息数
|
||||||
totalRead: 0,
|
totalRead: 0, // 所有已读消息数
|
||||||
totalRemove: 0,
|
totalRemove: 0, // 所有回收站消息数
|
||||||
currentMesList: [],
|
currentMesList: [], // 当前消息列表
|
||||||
unreadMesList: [],
|
unreadMesList: [], // 未读消息列表
|
||||||
hasreadMesList: [],
|
hasreadMesList: [], // 已读消息列表
|
||||||
recyclebinList: [],
|
recyclebinList: [], // 回收站消息
|
||||||
currentMessageType: "unread",
|
currentMessageType: "unread", // 展示消息类型
|
||||||
showMesTitleList: true,
|
showMesTitleList: true, // 展示消息列表
|
||||||
unreadCount: 0,
|
unreadCount: 0, // 未读数
|
||||||
hasreadCount: 0,
|
hasreadCount: 0, // 已读数
|
||||||
recyclebinCount: 0,
|
recyclebinCount: 0, // 回收站消息数量
|
||||||
noDataText: "暂无未读消息",
|
noDataText: "暂无未读消息", // 无消息提示
|
||||||
mes: {
|
mes: { // 信息表单
|
||||||
title: "",
|
title: "",
|
||||||
time: "",
|
time: "",
|
||||||
content: ""
|
content: ""
|
||||||
},
|
},
|
||||||
dictMessageType: this.$store.state.dict.messageType,
|
|
||||||
mesTitleColumns: [
|
mesTitleColumns: [
|
||||||
{
|
{
|
||||||
type: "index",
|
type: "index",
|
||||||
|
|
|
@ -58,9 +58,9 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
buttonText: this.text,
|
buttonText: this.text, // 按钮文字
|
||||||
count: Number(this.countTime),
|
count: Number(this.countTime), // 计时时间
|
||||||
clicked: false
|
clicked: false // 是否可点击
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -22,8 +22,8 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
selectDep: [],
|
selectDep: [], // 已选数据
|
||||||
department: []
|
department: [] // 列表
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -54,12 +54,12 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
depLoading: false,
|
depLoading: false, // 加载状态
|
||||||
departmentTitle: "",
|
departmentTitle: "", // modal标题
|
||||||
searchKey: "",
|
searchKey: "", // 搜索关键词
|
||||||
dataDep: [],
|
dataDep: [], // 部门列表
|
||||||
selectDep: [],
|
selectDep: [], // 已选部门
|
||||||
departmentId: []
|
departmentId: [] // 部门id
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -74,7 +74,7 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
editor: null,
|
editor: null, // 富文本编辑器初始化
|
||||||
data: this.value, // 富文本数据
|
data: this.value, // 富文本数据
|
||||||
dataEdit: "", // 编辑数据
|
dataEdit: "", // 编辑数据
|
||||||
showHTMLModal: false, // 显示html
|
showHTMLModal: false, // 显示html
|
||||||
|
|
|
@ -80,10 +80,10 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
iconModalVisible: false,
|
iconModalVisible: false, // modal显隐
|
||||||
currentValue: this.value,
|
currentValue: this.value, // 当前值
|
||||||
iconData: [],
|
iconData: [], // icon列表
|
||||||
key: "",
|
key: "", // 关键词
|
||||||
tip: "输入英文关键词搜索,比如 success"
|
tip: "输入英文关键词搜索,比如 success"
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
|
@ -84,18 +84,18 @@
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
height: 500,
|
height: 500, // 表格高度
|
||||||
userLoading: true,
|
userLoading: true, // 加载状态
|
||||||
userModalVisible: false,
|
userModalVisible: false, // modal显隐
|
||||||
selectUsers: [],
|
selectUsers: [], // 已选用户
|
||||||
searchUserForm: {
|
searchUserForm: { // 请求参数
|
||||||
username: "",
|
username: "",
|
||||||
pageNumber: 1, // 当前页数
|
pageNumber: 1, // 当前页数
|
||||||
pageSize: 10, // 页面大小
|
pageSize: 10, // 页面大小
|
||||||
sort: "createTime", // 默认排序字段
|
sort: "createTime", // 默认排序字段
|
||||||
order: "desc" // 默认排序方式
|
order: "desc" // 默认排序方式
|
||||||
},
|
},
|
||||||
userColumns: [
|
userColumns: [ // 表头
|
||||||
{
|
{
|
||||||
type: "index",
|
type: "index",
|
||||||
width: 60,
|
width: 60,
|
||||||
|
@ -214,8 +214,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
userData: [],
|
userData: [], // 用户数据
|
||||||
totalUser: 0
|
totalUser: 0 // 数量
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -138,10 +138,10 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
accessToken: {},
|
accessToken: {}, // 验证token
|
||||||
uploadFileUrl: uploadFile,
|
uploadFileUrl: uploadFile, // 上传地址
|
||||||
editor: null,
|
editor: null, // 富文本初始化
|
||||||
options: {
|
options: { // 富文本配置
|
||||||
theme: "snow",
|
theme: "snow",
|
||||||
modules: {
|
modules: {
|
||||||
toolbar: "#toolbar"
|
toolbar: "#toolbar"
|
||||||
|
|
|
@ -53,12 +53,12 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
currentValue: this.value,
|
currentValue: this.value, // 当前值
|
||||||
tipStyle: "password-tip-none",
|
tipStyle: "password-tip-none", // 强度样式
|
||||||
strengthValue: 0,
|
strengthValue: 0, // 强度等级
|
||||||
progressStatus: "normal",
|
progressStatus: "normal", // 进度条状态
|
||||||
strength: "无",
|
strength: "无", // 密码强度描述
|
||||||
grade: 0
|
grade: 0 // 强度等级
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -105,15 +105,15 @@
|
||||||
showLoading: true,
|
showLoading: true,
|
||||||
//展示抽屉
|
//展示抽屉
|
||||||
showDrawer: false,
|
showDrawer: false,
|
||||||
selectObj: [],
|
selectObj: [], // 选择数据
|
||||||
searchForm: {
|
searchForm: { // 请求参数
|
||||||
goodsName: "",
|
goodsName: "",
|
||||||
pageNumber: 1, // 当前页数
|
pageNumber: 1, // 当前页数
|
||||||
pageSize: 10, // 页面大小
|
pageSize: 10, // 页面大小
|
||||||
sort: "createTime", // 默认排序字段
|
sort: "createTime", // 默认排序字段
|
||||||
order: "desc" // 默认排序方式
|
order: "desc" // 默认排序方式
|
||||||
},
|
},
|
||||||
tableColumns: [
|
tableColumns: [ // 表头
|
||||||
{
|
{
|
||||||
type: "index",
|
type: "index",
|
||||||
width: 60,
|
width: 60,
|
||||||
|
@ -230,8 +230,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
tableData: [],
|
tableData: [], // 表格数据
|
||||||
tableTotal: 0
|
tableTotal: 0 // 总数
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -83,11 +83,11 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
accessToken: {},
|
accessToken: {}, // 验证token
|
||||||
currentValue: this.value,
|
currentValue: this.value, // 当前值
|
||||||
loading: false,
|
loading: false, // 加载状态
|
||||||
viewImage: false,
|
viewImage: false, // 预览图片modal
|
||||||
uploadFileUrl: uploadFile
|
uploadFileUrl: uploadFile // 上传地址
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -82,11 +82,11 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
accessToken: {},
|
accessToken: {}, // 验证token
|
||||||
uploadFileUrl: uploadFile,
|
uploadFileUrl: uploadFile, // 上传地址
|
||||||
uploadList: [],
|
uploadList: [], // 上传列表
|
||||||
viewImage: false,
|
viewImage: false, // 预览modal
|
||||||
imgUrl: ""
|
imgUrl: "" // 图片地址
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -231,8 +231,8 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
userData: [],
|
userData: [], // 表格数据
|
||||||
totalUser: 0
|
totalUser: 0 // 总数
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -31,7 +31,7 @@ export default {
|
||||||
name:'map',
|
name:'map',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
showMap:false,
|
showMap:false, // modal显隐
|
||||||
mapSearch:'', // 地图搜索
|
mapSearch:'', // 地图搜索
|
||||||
map:null, // 初始化地图
|
map:null, // 初始化地图
|
||||||
autoComplete:null, // 初始化搜索方法
|
autoComplete:null, // 初始化搜索方法
|
||||||
|
@ -39,7 +39,7 @@ data() {
|
||||||
positionPicker:null, // 地图拖拽选点
|
positionPicker:null, // 地图拖拽选点
|
||||||
tips:[], //搜索关键字列表
|
tips:[], //搜索关键字列表
|
||||||
addrContent:{}, // 回显地址信息
|
addrContent:{}, // 回显地址信息
|
||||||
loading:false,
|
loading:false, // 加载状态
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch:{
|
watch:{
|
||||||
|
|
|
@ -147,7 +147,7 @@
|
||||||
sn: "",
|
sn: "",
|
||||||
|
|
||||||
},
|
},
|
||||||
selectDate: null,
|
selectDate: null, // 选择时间段
|
||||||
form: {
|
form: {
|
||||||
// 添加或编辑表单对象初始化数据
|
// 添加或编辑表单对象初始化数据
|
||||||
sn: "",
|
sn: "",
|
||||||
|
@ -156,9 +156,6 @@
|
||||||
endTime: "",
|
endTime: "",
|
||||||
billPrice: "",
|
billPrice: "",
|
||||||
},
|
},
|
||||||
// 表单验证规则
|
|
||||||
formValidate: {},
|
|
||||||
submitLoading: false, // 添加或编辑提交状态
|
|
||||||
selectList: [], // 多选数据
|
selectList: [], // 多选数据
|
||||||
selectCount: 0, // 多选计数
|
selectCount: 0, // 多选计数
|
||||||
columns: [
|
columns: [
|
||||||
|
|
|
@ -394,7 +394,7 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
sn: "",
|
sn: "", // 订单号
|
||||||
logisticsModal: false, //查询物流模态框
|
logisticsModal: false, //查询物流模态框
|
||||||
logisticsInfo: {}, //物流信息
|
logisticsInfo: {}, //物流信息
|
||||||
form: {
|
form: {
|
||||||
|
@ -410,7 +410,7 @@ export default {
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
modalVisible: false, // 添加或编辑显示
|
modalVisible: false, // 添加或编辑显示
|
||||||
afterSaleInfo: {},
|
afterSaleInfo: {}, // 售后信息
|
||||||
afterSaleImage: [], //会员申诉图片
|
afterSaleImage: [], //会员申诉图片
|
||||||
appealImages: [], //商家申诉的图片
|
appealImages: [], //商家申诉的图片
|
||||||
submitLoading: false, // 添加或编辑提交状态
|
submitLoading: false, // 添加或编辑提交状态
|
||||||
|
|
|
@ -137,8 +137,8 @@
|
||||||
modalTitle: "", // 添加或编辑标题
|
modalTitle: "", // 添加或编辑标题
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
content: "",//评价内容
|
content: "",//评价内容
|
||||||
drop: false,
|
drop: false, // 更多搜索项
|
||||||
dropDownIcon: "ios-arrow-down",
|
dropDownIcon: "ios-arrow-down", // drop 图标
|
||||||
searchForm: {
|
searchForm: {
|
||||||
// 搜索框初始化对象
|
// 搜索框初始化对象
|
||||||
pageNumber: 1, // 当前页数
|
pageNumber: 1, // 当前页数
|
||||||
|
@ -146,8 +146,7 @@
|
||||||
sort: "createTime", // 默认排序字段
|
sort: "createTime", // 默认排序字段
|
||||||
order: "desc", // 默认排序方式
|
order: "desc", // 默认排序方式
|
||||||
},
|
},
|
||||||
selectDate: null,
|
form: {}, // 表单
|
||||||
form: {},
|
|
||||||
submitLoading: false, // 添加或编辑提交状态
|
submitLoading: false, // 添加或编辑提交状态
|
||||||
selectList: [], // 多选数据
|
selectList: [], // 多选数据
|
||||||
selectCount: 0, // 多选计数
|
selectCount: 0, // 多选计数
|
||||||
|
|
|
@ -235,8 +235,8 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
id: 0,
|
id: 0, // 投诉id
|
||||||
complaintInfo: "",
|
complaintInfo: "", // 投诉信息
|
||||||
images: [], //会员申诉图片
|
images: [], //会员申诉图片
|
||||||
appealImages: [], //商家申诉的图片
|
appealImages: [], //商家申诉的图片
|
||||||
submitLoading: false, // 添加或编辑提交状态
|
submitLoading: false, // 添加或编辑提交状态
|
||||||
|
|
|
@ -45,8 +45,8 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
drop: false,
|
drop: false, // 更多搜索项
|
||||||
dropDownIcon: "ios-arrow-down",
|
dropDownIcon: "ios-arrow-down", // drop图标
|
||||||
searchForm: {
|
searchForm: {
|
||||||
// 搜索框初始化对象
|
// 搜索框初始化对象
|
||||||
pageNumber: 1, // 当前页数
|
pageNumber: 1, // 当前页数
|
||||||
|
|
|
@ -45,8 +45,6 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
drop: false,
|
|
||||||
dropDownIcon: "ios-arrow-down",
|
|
||||||
searchForm: {
|
searchForm: {
|
||||||
// 搜索框初始化对象
|
// 搜索框初始化对象
|
||||||
pageNumber: 1, // 当前页数
|
pageNumber: 1, // 当前页数
|
||||||
|
@ -128,16 +126,6 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
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() {
|
init() {
|
||||||
this.getDataList();
|
this.getDataList();
|
||||||
},
|
},
|
||||||
|
|
|
@ -92,8 +92,6 @@
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
drop: false,
|
|
||||||
dropDownIcon: "ios-arrow-down",
|
|
||||||
searchForm: {
|
searchForm: {
|
||||||
// 搜索框初始化对象
|
// 搜索框初始化对象
|
||||||
pageNumber: 1, // 当前页数
|
pageNumber: 1, // 当前页数
|
||||||
|
@ -107,7 +105,7 @@
|
||||||
buyerName: "",
|
buyerName: "",
|
||||||
orderStatus: ""
|
orderStatus: ""
|
||||||
},
|
},
|
||||||
selectDate: null,
|
selectDate: null, // 下单时间
|
||||||
form: {
|
form: {
|
||||||
// 添加或编辑表单对象初始化数据
|
// 添加或编辑表单对象初始化数据
|
||||||
sn: "",
|
sn: "",
|
||||||
|
@ -237,16 +235,6 @@
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
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() {
|
init() {
|
||||||
this.getDataList();
|
this.getDataList();
|
||||||
},
|
},
|
||||||
|
|
|
@ -378,7 +378,7 @@ export default {
|
||||||
submitLoading: false, // 添加或编辑提交状态
|
submitLoading: false, // 添加或编辑提交状态
|
||||||
region: [], //地区
|
region: [], //地区
|
||||||
regionId: [], //地区id
|
regionId: [], //地区id
|
||||||
showRegion: false,
|
showRegion: false, // 显示地区
|
||||||
orderLogInfo: [], //订单日志数据
|
orderLogInfo: [], //订单日志数据
|
||||||
orderLogModal: false, //弹出调整价格框
|
orderLogModal: false, //弹出调整价格框
|
||||||
checkedLogistics: [], //选中的物流公司集合
|
checkedLogistics: [], //选中的物流公司集合
|
||||||
|
|
|
@ -50,8 +50,6 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
drop: false,
|
|
||||||
dropDownIcon: "ios-arrow-down",
|
|
||||||
searchForm: {
|
searchForm: {
|
||||||
// 搜索框初始化对象
|
// 搜索框初始化对象
|
||||||
pageNumber: 1, // 当前页数
|
pageNumber: 1, // 当前页数
|
||||||
|
@ -192,16 +190,6 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
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() {
|
init() {
|
||||||
this.getDataList();
|
this.getDataList();
|
||||||
},
|
},
|
||||||
|
|
|
@ -105,8 +105,6 @@
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
loading: true, // 表单加载状态
|
loading: true, // 表单加载状态
|
||||||
drop: false,
|
|
||||||
dropDownIcon: "ios-arrow-down",
|
|
||||||
searchForm: {
|
searchForm: {
|
||||||
// 搜索框初始化对象
|
// 搜索框初始化对象
|
||||||
pageNumber: 1, // 当前页数
|
pageNumber: 1, // 当前页数
|
||||||
|
@ -115,8 +113,7 @@
|
||||||
order: "desc", // 默认排序方式
|
order: "desc", // 默认排序方式
|
||||||
receiptStatus: "", // 起始时间
|
receiptStatus: "", // 起始时间
|
||||||
},
|
},
|
||||||
shopsData: [],
|
shopsData: [], // 店铺数据
|
||||||
selectDate: null,
|
|
||||||
form: {
|
form: {
|
||||||
// 添加或编辑表单对象初始化数据
|
// 添加或编辑表单对象初始化数据
|
||||||
sn: "",
|
sn: "",
|
||||||
|
|
|
@ -85,30 +85,22 @@
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
currView: "index",
|
currView: "index", // 展示哪一类
|
||||||
loading: false,
|
loading: false, // 加载状态
|
||||||
brands: [], //品牌集合
|
brands: [], //品牌集合
|
||||||
Specifications: [], //规格集合
|
Specifications: [], //规格集合
|
||||||
categoryId: "",
|
expandLevel: 1, // 展开的层级
|
||||||
expandLevel: 1,
|
|
||||||
modalType: 0, // 添加或编辑标识
|
modalType: 0, // 添加或编辑标识
|
||||||
modalVisible: false, // 添加或编辑显示
|
modalVisible: false, // 添加或编辑显示
|
||||||
modalTitle: "", // 添加或编辑标题
|
modalTitle: "", // 添加或编辑标题
|
||||||
showParent: false, // 是否展示上级菜单
|
showParent: false, // 是否展示上级菜单
|
||||||
parentTitle: "", // 父级菜单名称
|
parentTitle: "", // 父级菜单名称
|
||||||
modalBrandTitle: "",
|
|
||||||
modalSpecTitle: "",
|
|
||||||
formAdd: { // 添加或编辑表单对象初始化数据
|
formAdd: { // 添加或编辑表单对象初始化数据
|
||||||
parentId: "",
|
parentId: "",
|
||||||
name: "",
|
name: "",
|
||||||
sort: 1,
|
sort: 1,
|
||||||
level: 0,
|
level: 0,
|
||||||
},
|
},
|
||||||
enabledParam: {
|
|
||||||
type: 0
|
|
||||||
},
|
|
||||||
brandForm: {},
|
|
||||||
specForm: {},
|
|
||||||
// 表单验证规则
|
// 表单验证规则
|
||||||
formValidate: {},
|
formValidate: {},
|
||||||
columns: [
|
columns: [
|
||||||
|
|