dingdong-mall/common/js/data.js

1818 lines
40 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 页面静态数据
*/
const swiperList = [{
id: 0,
type: 'image',
url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big17000.jpg'
}, {
id: 1,
type: 'image',
url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big37006.jpg',
}, {
id: 2,
type: 'image',
url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big39000.jpg'
}, {
id: 3,
type: 'image',
url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big10001.jpg'
}, {
id: 4,
type: 'image',
url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big25011.jpg'
}, {
id: 5,
type: 'image',
url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big21016.jpg'
}, {
id: 6,
type: 'image',
url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big99008.jpg'
}]
const categories = [{
id: 1,
name: '服务商城'
}, {
id: 2,
name: '二手城'
}, {
id: 3,
name: '供货商城'
}]
const subCategories = [{
id: 1,
cuIcon: 'shopfill',
color: 'red',
name: '空调清洗',
badge: '69洗'
}, {
id: 2,
cuIcon: 'shopfill',
color: 'orange',
name: '家庭维修',
badge: '新品'
}, {
id: 3,
cuIcon: 'shopfill',
color: 'yellow',
name: 'iPhone维修',
badge: ''
}, {
id: 4,
cuIcon: 'shopfill',
color: 'olive',
name: '家居安装',
badge: ''
}, {
id: 5,
cuIcon: 'shopfill',
color: 'green',
name: '甲醛治理',
badge: ''
}, {
id: 6,
cuIcon: 'shopfill',
color: 'cyan',
name: '任洗套装',
badge: ''
}, {
id: 7,
cuIcon: 'shopfill',
color: 'blue',
name: '家电安装',
badge: ''
}, {
id: 8,
cuIcon: 'shopfill',
color: 'purple',
name: '领券中心',
badge: ''
}, {
id: 9,
cuIcon: 'shopfill',
color: 'mauve',
name: 'DIY装机',
badge: ''
}, {
id: 10,
cuIcon: 'shopfill',
color: 'pink',
name: '家电回收',
badge: ''
}, {
id: 11,
cuIcon: 'shopfill',
color: 'cyan',
name: '家电清洗',
badge: ''
}, {
id: 12,
cuIcon: 'deliver',
color: 'green',
name: '手机维修',
badge: ''
}, {
id: 13,
cuIcon: 'deliver',
color: 'pink',
name: '洗衣洗鞋',
badge: ''
}, {
id: 14,
cuIcon: 'deliver',
color: 'pink',
name: '上门安装',
badge: ''
}, {
id: 15,
cuIcon: 'deliver',
color: 'pink',
name: '奢品养护',
badge: ''
}]
const moduleBarInfos = [{
id: 1,
cuIcon: 'homefill',
pageCode: 'indexPage',
name: '首页'
}, {
id: 2,
cuIcon: 'circle',
pageCode: 'workerCirclePage',
name: '师傅圈'
}, {
id: 3,
cuIcon: 'add',
pageCode: 'publishPage',
name: '发布',
action: 'add'
}, {
id: 4,
cuIcon: 'message',
pageCode: 'msgPage',
name: '消息',
// countTag: 100
}, {
id: 5,
cuIcon: 'my',
pageCode: 'myPage',
name: '我的'
}]
const discountGoods = {
title: '超值服务品牌直降',
goodsInfos: [{
id: 1,
imgUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg',
name: '十平米擦玻璃服务',
desc: '10平米起擦玻璃服务超过10平米按照15/平米现场另收费',
tag: ['自营直选', '未服务随时可退', '不满意重新服务', '全程上险'],
price: '189起'
}, {
id: 2,
imgUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big1010.jpg',
name: '十平米擦玻璃服务',
desc: '10平米起擦玻璃服务超过10平米按照15/平米现场另收费',
tag: ['自营直选', '未服务随时可退', '不满意重新服务', '全程上险'],
price: '200起'
}]
}
const hotGoods = {
title: '大家都在买',
goodsInfos: [{
id: 1,
imgUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big10000.jpg',
name: '十五平米擦玻璃服务',
desc: '15平米起擦玻璃服务超过15平米按照15/平米现场另收费11111111111111111',
tag: ['自营直选', '不满意重新服务', '全程上险'],
price: '283起'
}]
}
const productDetail = {
productDetailImgUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big37006.jpg',
swiperList: [{
id: 0,
type: 'video',
// url: 'https://v.quanjing.com/movie/default/bottom/1.mp4'
url: 'https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/%E7%AC%AC1%E8%AE%B2%EF%BC%88uni-app%E4%BA%A7%E5%93%81%E4%BB%8B%E7%BB%8D%EF%BC%89-%20DCloud%E5%AE%98%E6%96%B9%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B@20200317.mp4'
}, {
id: 1,
type: 'image',
url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big37006.jpg',
}, {
id: 2,
type: 'image',
url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big1000.jpg'
}, {
id: 3,
type: 'image',
url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big2001.jpg'
}, {
id: 4,
type: 'image',
url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big2002.jpg'
}, {
id: 5,
type: 'image',
url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big1002.jpg'
}, {
id: 6,
type: 'image',
url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big3002.jpg'
}],
productInfo: {
id: 1,
goodsImgUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20000.jpg',
goodsName: '十五平米擦玻璃服务',
comments: '15平米起擦玻璃服务超过15平米按照15/平米现场另收费',
type: '空调/清洗',
servArea: ['广州', '顺德', '南海', '大良', '南海', '大良', '南海', '大良', '南海'],
isGoldServ: true
},
guaranteeList: [{
id: 1,
name: '服务保障',
desc: '服务保障描述......',
icon: 'repairfill'
}, {
id: 2,
name: '服务区域',
desc: '服务区域描述......',
icon: 'deliver_fill'
}, {
id: 3,
name: '备注',
desc: '备注描述......',
icon: 'commentfill'
}, ],
specsList: [{
id: 1,
name: '挂机内机拆洗(不分匹)',
salePrice: 199.00,
price: 300,
saledCount: 370,
maxPieces: 1000,
comments: '备注',
commission: 12
}, {
id: 2,
name: '柜机拆洗(方型)含拆风轮',
salePrice: 240.00,
price: 350,
saledCount: 400,
maxPieces: 1001,
comments: '备注',
commission: 16
}, {
id: 3,
name: '柜机圆柱型拆洗',
salePrice: 242.00,
price: 352,
saledCount: 350,
maxPieces: 1002,
comments: '备注',
commission: 13
}, {
id: 4,
name: '中央风口机(单个风口)',
salePrice: 243.00,
price: 353,
saledCount: 100,
maxPieces: 1003,
comments: '备注',
commission: 14
}, {
id: 5,
name: '天花机深度拆洗',
salePrice: 244.00,
price: 354,
saledCount: 109,
maxPieces: 1004,
comments: '备注',
commission: 15
}, {
id: 6,
name: '多台套餐xxx自命名',
salePrice: 244.00,
price: 354,
saledCount: 109,
maxPieces: 1005,
comments: '备注',
commission: 15
}, {
id: 7,
name: '多台套餐xxxxxx自命名',
salePrice: 244.00,
price: 354,
saledCount: 109,
maxPieces: 1006,
comments: '备注',
commission: 15
}, {
id: 8,
name: '多台套餐xxxxxxxx自命名',
salePrice: 244.00,
price: 354,
saledCount: 109,
maxPieces: 1007,
comments: '备注',
commission: 15
}, {
id: 9,
name: '多台套餐xxxxxxxx自命名',
salePrice: 244.00,
price: 354,
saledCount: 109,
maxPieces: 1008,
comments: '备注',
commission: 15
}, {
id: 10,
name: '多台套餐xxxxxxxx自命名',
salePrice: 244.00,
price: 354,
saledCount: 109,
maxPieces: 1009,
comments: '备注',
commission: 15
}],
reviewers: [{
id: 1,
avatarUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big3002.jpg',
name: 'e**1',
reviewTime: '2022年03月17日',
comments: '很好用啊......',
picList: []
}, {
id: 2,
avatarUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20001.jpg',
name: 'e**1',
reviewTime: '2022年03月17日',
comments: '很好用啊......',
picList: [{
id: 21,
url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big3004.jpg'
}, {
id: 22,
url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big1010.jpg'
}, {
id: 23,
url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big1010.jpg'
}, {
id: 24,
url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big1010.jpg'
}]
}],
shopInfo: {
id: 1,
shopName: '艺鑫到家(售后无忧)',
avatarUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big17005.jpg',
totalScore: 4.5
}
}
const pickedProductList = [{
id: 1,
indexPath: '0',
shopName: '黄师傅专营店',
totalPrice: '1049.00',
discount: '50.00',
needPay: '999.00',
product: [{
id: 1,
indexPath: '0-0',
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20000.jpg',
name: '柜机空调清洗1',
comments: '备---------注',
salePrice: 199,
price: 250,
type: '空调/清洗',
servArea: ['天河区', '黄埔区', '荔湾区'],
pickedList: [{
id: 101,
indexPath: '0-0-0',
name: '挂机内机拆洗(不分匹)',
pickedNum: 1,
maxPieces: 100
}, {
id: 102,
indexPath: '0-0-1',
name: '柜机拆洗(方型)含拆风轮',
pickedNum: 2,
maxPieces: 100
}]
}, {
id: 2,
indexPath: '0-1',
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20003.jpg',
name: '柜机空调清洗2',
comments: '备---------注',
salePrice: 199,
price: 250,
type: '空调/清洗',
servArea: ['天河区', '黄埔区', '荔湾区'],
pickedList: [{
id: 101,
indexPath: '0-1-0',
name: '挂机内机拆洗(不分匹)',
pickedNum: 1,
maxPieces: 100
}]
}],
}, {
id: 2,
indexPath: '1',
shopName: '杨师傅专营店',
totalPrice: '1049.00',
discount: '50.00',
needPay: '999.00',
product: [{
id: 2,
indexPath: '1-0',
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20001.jpg',
name: '柜机空调清洗2',
comments: '备---------注',
salePrice: 200,
price: 250,
type: '空调/清洗',
servArea: ['天河区', '黄埔区'],
pickedList: [{
id: 201,
indexPath: '1-0-0',
name: '多台套餐x自命名',
pickedNum: 2,
maxPieces: 100
}, {
id: 202,
indexPath: '1-0-1',
name: '多台套餐xx自命名',
pickedNum: 2,
maxPieces: 100
}, {
id: 203,
indexPath: '1-0-2',
name: '多台套餐xxx自命名',
pickedNum: 2,
maxPieces: 100
}, {
id: 204,
indexPath: '1-0-3',
name: '多台套餐xxxx自命名',
pickedNum: 2,
maxPieces: 100
}, {
id: 205,
indexPath: '1-0-4',
name: '多台套餐xxxxx自命名',
pickedNum: 2,
maxPieces: 100
}]
}],
}]
const shopInfo = {
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big17005.jpg',
name: '艺鑫到家(售后无忧)',
comments: {
icon: 'form',
desc: '企业认证'
},
extraInfos: [{
icon: 'locationfill',
desc: '广东省广州市番禺区钟村街道188号'
}],
// totalScore: 4.5,
// timeScore: 4.4,
// attitudeScore: 4.4,
// skillScore:4.6,
rateInfo: {
rateTitle: '总评分',
totalScore: '5.0',
maxRate: '5.0',
// commentNum: '15',
ratePoint: [{
name: '准时',
score: '5.0'
}, {
name: '态度',
score: '5.0'
}, {
name: '技能',
score: '5.0'
}]
},
servType: '空调',
additionalServ: [{
id: 1,
name: '58速运'
}, {
id: 2,
name: '货拉拉'
}, {
id: 3,
name: '搬货服务'
}],
servArea: ['天河区', '黄埔区', '荔湾区'],
productList: [{
id: 1,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20000.jpg',
name: '万和(Vanward)电热水器80升电热水器 点热水器速热 储水式电热水器',
comments: '智能断点 | 遥控预约调温 | 一级能效',
salePrice: 199,
price: 250,
type: '空调/清洗',
servArea: ['广州', '顺德', '南海', '大良', '南海', '大良', '南海', '大良', '南海']
}, {
id: 2,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20001.jpg',
name: '万和(Vanward)电热水器80升电热水器 点热水器速热 储水式电热水器',
comments: '智能断点 | 遥控预约调温 | 一级能效',
salePrice: 199,
price: 250,
type: '空调/清洗',
servArea: ['广州', '顺德', '南海', '大良', '南海', '大良', '南海', '大良']
}, {
id: 3,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20002.jpg',
name: '万和(Vanward)电热水器80升电热水器 点热水器速热 储水式电热水器',
comments: '智能断点 | 遥控预约调温 | 一级能效',
salePrice: 199,
price: 250,
type: '空调/清洗',
servArea: ['广州', '顺德', '南海', '大良', '南海', '大良', '南海', '大良']
}, {
id: 4,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20003.jpg',
name: '万和(Vanward)电热水器80升电热水器 点热水器速热 储水式电热水器',
comments: '智能断点 | 遥控预约调温 | 一级能效',
salePrice: 199,
price: 250,
type: '空调/清洗',
servArea: ['广州', '顺德', '南海', '大良', '南海', '大良', '南海', '大良']
}, {
id: 5,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20004.jpg',
name: '万和(Vanward)电热水器80升电热水器 点热水器速热 储水式电热水器',
comments: '智能断点 | 遥控预约调温 | 一级能效',
salePrice: 199,
price: 250,
type: '空调/清洗',
servArea: ['广州', '顺德', '南海', '大良', '南海', '大良', '南海', '大良']
}, {
id: 6,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20005.jpg',
name: '万和(Vanward)电热水器80升电热水器 点热水器速热 储水式电热水器',
comments: '智能断点 | 遥控预约调温 | 一级能效',
salePrice: 199,
price: 250,
type: '空调/清洗',
servArea: ['广州', '顺德', '南海', '大良', '南海', '大良', '南海', '大良']
}]
}
const workerInfos = [{
id: 1,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big32000.jpg',
name: '廖真快 师傅',
shopInfo: {
shopName: '艺鑫到家(售后无忧)',
},
comments: {
icon: 'location',
desc: '广东省 广州市 天河区'
},
extraInfos: [{
// icon: '',
name: '服务范围',
desc: ['广州', '顺德', '南海', '大良']
}],
rateInfo: {
rateTitle: '总评分',
totalScore: '5.0',
maxRate: '5.0',
commentNum: '15'
},
productList: [{
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big32002.jpg',
name: '立邦油漆立邦油漆',
price: '123'
}, {
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big32002.jpg',
name: '立邦油漆',
price: '123'
}, {
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big32002.jpg',
name: '立邦油漆',
price: '123'
}, {
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big32002.jpg',
name: '立邦油漆',
price: '123'
}]
}, {
id: 2,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big32006.jpg',
name: '杨真棒 师傅',
shopInfo: {
shopName: '艺鑫到家(售后无忧)',
},
comments: {
icon: 'location',
desc: '广东省 广州市 天河区'
},
extraInfos: [{
// icon: '',
name: '服务范围',
desc: ['广州', '顺德', '南海', '大良']
}],
rateInfo: {
rateTitle: '总评分',
totalScore: '5.0',
maxRate: '5.0',
commentNum: '15'
},
productList: [{
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big32007.jpg',
name: '立邦油漆',
price: '123'
}, {
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big32007.jpg',
name: '立邦油漆',
price: '123'
}, {
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big32007.jpg',
name: '立邦油漆',
price: '123'
}, {
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big32007.jpg',
name: '立邦油漆',
price: '123'
}]
}, {
id: 3,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big32006.jpg',
name: '杨真棒 师傅3',
shopInfo: {
shopName: '艺鑫到家(售后无忧)',
},
comments: {
icon: 'location',
desc: '广东省 广州市 天河区'
},
extraInfos: [{
// icon: '',
name: '服务范围',
desc: ['广州', '顺德', '南海', '大良']
}],
rateInfo: {
rateTitle: '总评分',
totalScore: '5.0',
maxRate: '5.0',
commentNum: '15'
},
productList: [{
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big32007.jpg',
name: '立邦油漆',
price: '123'
}, {
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big32007.jpg',
name: '立邦油漆',
price: '123'
}, {
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big32007.jpg',
name: '立邦油漆',
price: '123'
}, {
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big32007.jpg',
name: '立邦油漆',
price: '123'
}]
}, {
id: 4,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big32006.jpg',
name: '杨真棒 师傅4',
shopInfo: {
shopName: '艺鑫到家(售后无忧)',
},
comments: {
icon: 'location',
desc: '广东省 广州市 天河区'
},
extraInfos: [{
// icon: '',
name: '服务范围',
desc: ['广州', '顺德', '南海', '大良']
}],
rateInfo: {
rateTitle: '总评分',
totalScore: '5.0',
maxRate: '5.0',
commentNum: '15'
},
productList: [{
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big32007.jpg',
name: '立邦油漆',
price: '123'
}, {
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big32007.jpg',
name: '立邦油漆',
price: '123'
}, {
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big32007.jpg',
name: '立邦油漆',
price: '123'
}, {
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big32007.jpg',
name: '立邦油漆',
price: '123'
}]
}]
const myInfo = {
id: 1,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big32008.jpg',
name: '卢翰',
vipInfo: {
isVip: false,
level: 'V3'
},
balance: '162.83',
integrate: 0,
cartNum: 3,
servCircle: {
id: 1,
name: '保利云景',
news: [{
id: 1,
avatarUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big33000.jpg',
userName: 'tsda9',
action: '购买了家政/修理/门窗/滑轮更换服务',
type: 0 // 0表示立即下单1表示学家政
}, {
id: 2,
avatarUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big33001.jpg',
userName: '心da8',
action: '发布了清洗/空调/挂机清洗服务 高温蒸清全拆',
type: 1 // 0表示立即下单1表示学家政
}]
},
serOrderNum: {
wait2Pay: 0,
wait2Serv: 0,
processing: 0,
afterServ: 0,
wait2Forward: 0
},
goodsOrderNum: {
wait2Pay: 1,
buy: 0,
sale: 0,
afterServ: 0,
wait2Forward: 0
}
}
const ordersWait2Pay = [{
id: 1,
shopName: '黄师傅专营店',
totalPrice: '1049.00',
discount: '50.00',
needPay: '999.00',
mainProcess: 'ordersWait2Pay',
payStatus: 0, //1:已付款; 0:未付款
subProcessStatus: 0, //0: 未接单 1: 未接单超过4小时 2:约时间 3:服务中 4:完单确认 5:已完成 6:售后中
agreedServTime: {},
product: {
id: 1,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20000.jpg',
name: '柜机空调清洗1',
comments: '备---------注',
salePrice: 199,
price: 250,
type: '空调/清洗',
servArea: ['天河区', '黄埔区', '荔湾区'],
pickedList: [{
id: 101,
name: '挂机内机拆洗(不分匹)',
pickedNum: 1
}, {
id: 102,
name: '柜机拆洗(方型)含拆风轮',
pickedNum: 2
}]
}
}, {
id: 2,
shopName: '杨师傅专营店',
totalPrice: '1049.00',
discount: '50.00',
needPay: '999.00',
mainProcess: 'ordersWait2Pay',
payStatus: 0, //1:已付款; 0:未付款
subProcessStatus: 0, //0: 未接单 1: 未接单超过4小时 2:约时间 3:服务中 4:完单确认 5:已完成 6:售后中
agreedServTime: {},
product: {
id: 2,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20001.jpg',
name: '柜机空调清洗2',
comments: '备---------注',
salePrice: 200,
price: 250,
type: '空调/清洗',
servArea: ['天河区', '黄埔区'],
pickedList: [{
id: 201,
name: '多台套餐xxx自命名',
pickedNum: 2
}]
},
}]
const ordersWait2Serv = [{
id: 1,
shopName: '黄师傅专营店',
totalPrice: '1049.00',
discount: '50.00',
needPay: '999.00',
payStatus: 0, //1:已付款; 0:未付款
mainProcess: 'ordersWait2Serv',
subProcessStatus: 2, //0: 未接单 1: 未接单超过4小时 2:约时间 3:服务中 4:完单确认 5:已完成 6:售后中
agreedServTime: {
time: '2022/08/27 10:00-12:00',
customerAgreeStatus: 1,
},
product: {
id: 1,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20000.jpg',
name: '柜机空调清洗1',
comments: '备---------注',
salePrice: 199,
price: 250,
type: '空调/清洗',
servArea: ['天河区', '黄埔区', '荔湾区'],
pickedList: [{
id: 101,
name: '挂机内机拆洗(不分匹)',
pickedNum: 1
}, {
id: 102,
name: '柜机拆洗(方型)含拆风轮',
pickedNum: 2
}]
}
}, {
id: 2,
shopName: '杨师傅专营店',
totalPrice: '1049.00',
discount: '50.00',
needPay: '999.00',
mainProcess: 'ordersWait2Serv',
payStatus: 1, //1:已付款; 0:未付款
subProcessStatus: 1, //0: 未接单 1: 未接单超过4小时 2:约时间 3:服务中 4:完单确认 5:已完成 6:售后中
agreedServTime: {},
product: {
id: 2,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20001.jpg',
name: '柜机空调清洗2',
comments: '备---------注',
salePrice: 200,
price: 250,
type: '空调/清洗',
servArea: ['天河区', '黄埔区'],
pickedList: [{
id: 201,
name: '多台套餐xxx自命名',
pickedNum: 2
}]
},
}]
const ordersServing = [{
id: 1,
shopName: '黄师傅专营店',
totalPrice: '1049.00',
discount: '50.00',
needPay: '999.00',
mainProcess: 'ordersServing',
payStatus: 0, //1:已付款; 0:未付款
subProcessStatus: 3, //0: 未接单 1: 未接单超过4小时 2:约时间 3:服务中 4:完单确认 5:已完成 6:售后中
agreedServTime: {
time: '2022/08/27 10:00-12:00',
customerAgreeStatus: 2
},
product: {
id: 1,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20000.jpg',
name: '柜机空调清洗1',
comments: '备---------注',
salePrice: 199,
price: 250,
type: '空调/清洗',
servArea: ['天河区', '黄埔区', '荔湾区'],
pickedList: [{
id: 101,
name: '挂机内机拆洗(不分匹)',
pickedNum: 1
}, {
id: 102,
name: '柜机拆洗(方型)含拆风轮',
pickedNum: 2
}]
}
}, {
id: 2,
shopName: '杨师傅专营店',
totalPrice: '1049.00',
discount: '50.00',
needPay: '999.00',
mainProcess: 'ordersServing',
payStatus: 1, //1:已付款; 0:未付款
subProcessStatus: 4, //0: 未接单 1: 未接单超过4小时 2:约时间 3:服务中 4:完单确认 5:已完成 6:售后中
agreedServTime: {
time: '2022/08/27 10:00-12:00',
customerAgreeStatus: 2
},
finishOrder: {
finishStatus: 1,
finishWaitUntil: '2022/09/06 12:00:00'
},
product: {
id: 2,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20001.jpg',
name: '柜机空调清洗2',
comments: '备---------注',
salePrice: 200,
price: 250,
type: '空调/清洗',
servArea: ['天河区', '黄埔区'],
pickedList: [{
id: 201,
name: '多台套餐xxx自命名',
pickedNum: 2
}]
},
}]
const ordersAfterServ = [{
id: 1,
shopName: '黄师傅专营店',
totalPrice: '1049.00',
discount: '50.00',
needPay: '999.00',
mainProcess: 'ordersAfterServ',
payStatus: 1, //1:已付款; 0:未付款
subProcessStatus: 6, //0: 未接单 1: 未接单超过4小时 2:约时间 3:服务中 4:完单确认 5:已完成 6:售后中
agreedServTime: {
time: '2022/08/27 10:00-12:00',
customerAgreeStatus: 2
},
product: {
id: 1,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20000.jpg',
name: '柜机空调清洗1',
comments: '备---------注',
salePrice: 199,
price: 250,
type: '空调/清洗',
servArea: ['天河区', '黄埔区', '荔湾区'],
pickedList: [{
id: 101,
name: '挂机内机拆洗(不分匹)',
pickedNum: 1
}, {
id: 102,
name: '柜机拆洗(方型)含拆风轮',
pickedNum: 2
}]
}
}]
const ordersFinish = [{
id: 1,
shopName: '黄师傅专营店',
totalPrice: '1049.00',
discount: '50.00',
needPay: '999.00',
mainProcess: 'ordersFinish',
payStatus: 1, //1:已付款; 0:未付款
subProcessStatus: 5, //0: 未接单 1: 未接单超过4小时 2:约时间 3:服务中 4:完单确认 5:已完成 6:售后中
agreedServTime: {
time: '2022/08/27 10:00-12:00',
customerAgreeStatus: 2
},
product: {
id: 1,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20000.jpg',
name: '柜机空调清洗1',
comments: '备---------注',
salePrice: 199,
price: 250,
type: '空调/清洗',
servArea: ['天河区', '黄埔区', '荔湾区'],
pickedList: [{
id: 101,
name: '挂机内机拆洗(不分匹)',
pickedNum: 1
}, {
id: 102,
name: '柜机拆洗(方型)含拆风轮',
pickedNum: 2
}]
}
}]
const pdOrdersWait2Pay = [{
id: 1,
shopName: '黄师傅专营店',
totalPrice: '1049.00',
discount: '50.00',
needPay: '999.00',
mainProcess: 'pdOrdersWait2Pay',
payStatus: 1, //1:已付款; 0:未付款
// subProcessStatus: 3, //0: 未接单 1: 未接单超过4小时 2:约时间 3:服务中 4:完单确认 5:已完成 6:售后中
product: {
id: 1,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20000.jpg',
name: '柜机空调清洗1',
comments: '备---------注',
salePrice: 199,
price: 250,
type: '空调/清洗',
servArea: ['天河区', '黄埔区', '荔湾区'],
pickedList: [{
id: 101,
name: '挂机内机拆洗(不分匹)',
pickedNum: 1
}, {
id: 102,
name: '柜机拆洗(方型)含拆风轮',
pickedNum: 2
}]
}
}]
const pdOrdersBought = [{
id: 1,
shopName: '黄师傅专营店',
totalPrice: '1049.00',
discount: '50.00',
needPay: '999.00',
mainProcess: 'pdOrdersBought',
payStatus: 1, //1:已付款; 0:未付款
// subProcessStatus: 3, //0: 未接单 1: 未接单超过4小时 2:约时间 3:服务中 4:完单确认 5:已完成 6:售后中
product: {
id: 1,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20000.jpg',
name: '柜机空调清洗1',
comments: '备---------注',
salePrice: 199,
price: 250,
type: '空调/清洗',
servArea: ['天河区', '黄埔区', '荔湾区'],
pickedList: [{
id: 101,
name: '挂机内机拆洗(不分匹)',
pickedNum: 1
}, {
id: 102,
name: '柜机拆洗(方型)含拆风轮',
pickedNum: 2
}]
}
}]
const pdOrdersSaled = [{
id: 1,
shopName: '黄师傅专营店',
totalPrice: '1049.00',
discount: '50.00',
needPay: '999.00',
mainProcess: 'pdOrdersSaled',
payStatus: 1, //1:已付款; 0:未付款
// subProcessStatus: 3, //0: 未接单 1: 未接单超过4小时 2:约时间 3:服务中 4:完单确认 5:已完成 6:售后中
product: {
id: 1,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20000.jpg',
name: '柜机空调清洗1',
comments: '备---------注',
salePrice: 199,
price: 250,
type: '空调/清洗',
servArea: ['天河区', '黄埔区', '荔湾区'],
pickedList: [{
id: 101,
name: '挂机内机拆洗(不分匹)',
pickedNum: 1
}, {
id: 102,
name: '柜机拆洗(方型)含拆风轮',
pickedNum: 2
}]
}
}]
const pdOrdersAfterServ = [{
id: 1,
shopName: '黄师傅专营店',
totalPrice: '1049.00',
discount: '50.00',
needPay: '999.00',
mainProcess: 'pdOrdersAfterServ',
payStatus: 1, //1:已付款; 0:未付款
// subProcessStatus: 3, //0: 未接单 1: 未接单超过4小时 2:约时间 3:服务中 4:完单确认 5:已完成 6:售后中
product: {
id: 1,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20000.jpg',
name: '柜机空调清洗1',
comments: '备---------注',
salePrice: 199,
price: 250,
type: '空调/清洗',
servArea: ['天河区', '黄埔区', '荔湾区'],
pickedList: [{
id: 101,
name: '挂机内机拆洗(不分匹)',
pickedNum: 1
}, {
id: 102,
name: '柜机拆洗(方型)含拆风轮',
pickedNum: 2
}]
}
}]
const pdOrdersFinish = [{
id: 1,
shopName: '黄师傅专营店',
totalPrice: '1049.00',
discount: '50.00',
needPay: '999.00',
mainProcess: 'pdOrdersFinish',
payStatus: 1, //1:已付款; 0:未付款
// subProcessStatus: 3, //0: 未接单 1: 未接单超过4小时 2:约时间 3:服务中 4:完单确认 5:已完成 6:售后中
product: {
id: 1,
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20000.jpg',
name: '柜机空调清洗1',
comments: '备---------注',
salePrice: 199,
price: 250,
type: '空调/清洗',
servArea: ['天河区', '黄埔区', '荔湾区'],
pickedList: [{
id: 101,
name: '挂机内机拆洗(不分匹)',
pickedNum: 1
}, {
id: 102,
name: '柜机拆洗(方型)含拆风轮',
pickedNum: 2
}]
}
}]
const myAddressList = [{
id: 1,
person2Contact: '卢翰',
phone: '18928799765',
area: [{
id: 1,
name: '广西壮族自治区'
}, {
id: 2,
name: '梧桐洲'
}, {
id: 3,
name: '藤县'
}],
address: '同心镇同心村同心路88号',
isDefault: true
}, {
id: 2,
person2Contact: '卢翰',
phone: '12434455432',
area: [{
id: 1,
name: '广西壮族自治区'
}, {
id: 2,
name: '梧桐洲'
}, {
id: 3,
name: '藤县'
}],
address: '同心镇同心村同心路88号',
isDefault: false
}, {
id: 2,
person2Contact: '卢翰',
phone: '12434455432',
area: [{
id: 1,
name: '广西壮族自治区'
}, {
id: 2,
name: '梧桐洲'
}, {
id: 3,
name: '藤县'
}],
address: '同心镇同心村同心路88号',
isDefault: false
}, {
id: 2,
person2Contact: '卢翰',
phone: '12434455432',
area: [{
id: 1,
name: '广西壮族自治区'
}, {
id: 2,
name: '梧桐洲'
}, {
id: 3,
name: '藤县'
}],
address: '同心镇同心村同心路88号',
isDefault: false
}, {
id: 2,
person2Contact: '卢翰',
phone: '12434455432',
area: [{
id: 1,
name: '广西壮族自治区'
}, {
id: 2,
name: '梧桐洲'
}, {
id: 3,
name: '藤县'
}],
address: '同心镇同心村同心路88号',
isDefault: false
}, {
id: 2,
person2Contact: '卢翰',
phone: '12434455432',
area: [{
id: 1,
name: '广西壮族自治区'
}, {
id: 2,
name: '梧桐洲'
}, {
id: 3,
name: '藤县'
}],
address: '同心镇同心村同心路88号',
isDefault: false
}, {
id: 2,
person2Contact: '卢翰',
phone: '12434455432',
area: [{
id: 1,
name: '广西壮族自治区'
}, {
id: 2,
name: '梧桐洲'
}, {
id: 3,
name: '藤县'
}],
address: '同心镇同心村同心路88号',
isDefault: false
}, {
id: 2,
person2Contact: '卢翰',
phone: '12434455432',
area: [{
id: 1,
name: '广西壮族自治区'
}, {
id: 2,
name: '梧桐洲'
}, {
id: 3,
name: '藤县'
}],
address: '同心镇同心村同心路88号',
isDefault: false
}, {
id: 2,
person2Contact: '卢翰',
phone: '12434455432',
area: [{
id: 1,
name: '广西壮族自治区'
}, {
id: 2,
name: '梧桐洲'
}, {
id: 3,
name: '藤县'
}],
address: '同心镇同心村同心路88号',
isDefault: false
}, {
id: 2,
person2Contact: '卢翰',
phone: '12434455432',
area: [{
id: 1,
name: '广西壮族自治区'
}, {
id: 2,
name: '梧桐洲'
}, {
id: 3,
name: '藤县'
}],
address: '同心镇同心村同心路88号',
isDefault: false
}, {
id: 2,
person2Contact: '卢翰',
phone: '12434455432',
area: [{
id: 1,
name: '广西壮族自治区'
}, {
id: 2,
name: '梧桐洲'
}, {
id: 3,
name: '藤县'
}],
address: '同心镇同心村同心路88号',
isDefault: false
}, {
id: 2,
person2Contact: '卢翰',
phone: '12434455432',
area: [{
id: 1,
name: '广西壮族自治区'
}, {
id: 2,
name: '梧桐洲'
}, {
id: 3,
name: '藤县'
}],
address: '同心镇同心村同心路88号',
isDefault: false
}, {
id: 2,
person2Contact: '卢翰',
phone: '12434455432',
area: [{
id: 1,
name: '广西壮族自治区'
}, {
id: 2,
name: '梧桐洲'
}, {
id: 3,
name: '藤县'
}],
address: '同心镇同心村同心路88号',
isDefault: false
}]
const myOperator = {
id: 1,
level: {
name: '城市运营商'
},
myInfo: {
id: 1,
name: '曾林zlucky',
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big19009.jpg',
extraInfos: [{
name: '角色',
desc: '合伙人'
}, {
name: '入驻城市',
desc: '广东广州天河区下棠街道XX站点'
}]
},
customerNums: 16,
customerBindCurMonth: 20,
teamNums: 4,
teamBindCurMonth: 20,
orderAnalyse: [{
id: 1,
title: "当日订单数",
num: 16,
unit: '单'
}, {
id: 2,
title: "当天交易额",
num: 20,
unit: 'yuan'
}, {
id: 3,
title: "7天订单数",
num: 4,
unit: '单'
}, {
id: 4,
title: "7天交易额",
num: 20,
unit: 'yuan'
}, {
id: 5,
title: "本月订单数",
num: 0,
unit: '单'
}, {
id: 6,
title: "本月交易额",
num: 0,
unit: 'yuan'
}, {
id: 7,
title: "上月订单数",
num: 0,
unit: '单'
}, {
id: 8,
title: "上月交易额",
num: 0,
unit: 'yuan'
}]
}
const myOperaMembers = {
totalMembers: 1,
members: [{
id: 1,
name: '廖师傅',
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big24000.jpg',
extraInfos: [{
name: '角色',
desc: '合伙人'
}],
customerNums: 16,
customerBindCurMonth: 20,
teamNums: 4,
teamBindCurMonth: 20,
orderAnalyse: [{
id: 5,
title: "本月订单数",
num: 0,
unit: '单'
}, {
id: 6,
title: "本月交易额",
num: 0,
unit: 'yuan'
}, {
id: 7,
title: "上月订单数",
num: 0,
unit: '单'
}, {
id: 8,
title: "上月交易额",
num: 0,
unit: 'yuan'
}]
}]
}
const certificationInfo = {
area: ['广东省', '广州市', '天河区'],
deposit: 3000,
operaLevel: '',
idCardImgList: [],
licenseImgList: []
}
const servDetail = {
taskTraceLine: [{
time: '2022-01-09 16:45:28',
action: '上门'
}, {
time: '2022-01-07 16:45:28',
action: '预约时间'
}],
mainServOrder: {
servTitle: '清洗-空调',
orderTag: ['挂机', '到付试单', '到付款单'],
address: '北京市东城区东华街道0.1到付+0.1代收',
person2Contact: {
name: '杨先生',
phone: '12222233222'
},
bookTime: '2022-01-07 16:45:28',
boodTime: '2022-01-07 16:45:28',
doorTime: '2022-01-07 16:45:28',
taskPrice: '-5.91',
gratuityRecord: [{
type: '服务费',
price: '-3.00'
}, {
type: '加急费',
price: '-3.00'
}]
},
product: {
id: 1,
// indexPath: '0-0',
picUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big20000.jpg',
name: '空调挂机柜机清洗服务',
comments: '高温清洗拆洗空调部分挂机柜机',
pickedNum: 1,
salePrice: 199,
price: 250,
type: '空调/清洗',
servArea: ['天河区', '黄埔区', '荔湾区'],
pickedList: [{
id: 101,
// indexPath: '0-0-0',
name: '直径5.5mm黑色5米价',
pickedNum: 1,
toServNum: 1
}, {
id: 102,
// indexPath: '0-0-1',
name: '直径6.5mm黑色5米价',
pickedNum: 1,
toServNum: 1
}]
},
finishRecord: [{
finishTime: '2022-08-18 16:45:28',
finishList: [{
id: 101,
// indexPath: '0-0-0',
name: '直径5.5mm黑色5米价',
pickedNum: 1,
servedNum: 1
}]
}, {
finishTime: '2022-08-20 16:45:28',
finishList: [{
id: 102,
// indexPath: '0-0-1',
name: '直径6.5mm黑色5米价',
pickedNum: 1,
servedNum: 1
}]
}],
talkMsgNum: 1,
serialCode: '20211007859098945',
createTime: '2021-10-07 16:15:46'
}
const servCategory = [{
id: 0,
name: '家具服务',
children: [{
id: 10,
name: '某家具服务1'
}, {
id: 11,
name: '某家具服务2'
}, {
id: 12,
name: '某家具服务3'
}]
}, {
id: 1,
name: '一级类目',
children: [{
id: 20,
name: '二级类目1'
}, {
id: 21,
name: '二级类目2'
}, {
id: 22,
name: '二级类目3'
}]
}]
const categoryList = [{
id: 1,
name: '家电清洗',
children: [{
pId: 1,
id: 2,
name: '空调',
children: [{
id: 3,
name: '单台清洗'
}, {
id: 4,
name: '套餐清洗'
}, {
id: 5,
name: '空调加氧'
}]
}, {
pId: 1,
id: 6,
name: '烟灶',
children: [{
id: 7,
name: '单台清洗'
}, {
id: 8,
name: '套餐清洗'
}]
}]
}, {
id: 9,
name: '衣物洗护',
children: [{
pId: 9,
id: 10,
name: '丝绸服装',
children: [{
id: 11,
name: '单件清洗'
}, {
id: 12,
name: '套餐清洗'
}]
}, {
pId: 9,
id: 14,
name: '呢绒服装',
children: [{
id: 15,
name: '单件清洗'
}]
}]
}, {
id: 16,
name: 'Tab3',
children: [{
id: 17,
name: 'Tab3-0',
children: [{
id: 18,
name: 'Tab3-0-0'
}, {
id: 19,
name: 'Tab3-0-1'
}]
}]
}, {
id: 20,
name: 'Tab4',
children: [{
id: 21,
name: 'Tab4-0',
children: [{
id: 22,
name: 'Tab4-0-0'
}, {
id: 23,
name: 'Tab4-0-1'
}]
}]
}]
const areaList = [[{
id: 100,
name: '广东'
}, {
id: 101,
name: '海南'
}], [{
id: 200,
name: '广州'
}], [{
id: 300,
name: '天河'
}]]
const defaultAddress = null;
const myMoneyBag = {
balance: '5221.79',
balanceToExtract: '0.00',
bankNum: '***8900',
bill: [{
duration: '2022年01月',
income: '20478.96',
outgoings: '-21065.36',
statement: [{
name: '余额支付',
createTime: '2022-01-19 15:44:32',
inOutMoney: '-170.00'
}, {
name: '商城退单',
createTime: '2022-01-18 15:44:32',
inOutMoney: '+8.00'
}]
}, {
duration: '2022年01月',
income: '20478.96',
outgoings: '-21065.36',
statement: [{
name: '余额支付',
createTime: '2022-01-19 15:44:32',
inOutMoney: '-170.00'
}, {
name: '商城退单',
createTime: '2022-01-18 15:44:32',
inOutMoney: '+8.00'
}]
}, {
duration: '2022年01月',
income: '20478.96',
outgoings: '-21065.36',
statement: [{
name: '余额支付',
createTime: '2022-01-19 15:44:32',
inOutMoney: '-170.00'
}, {
name: '商城退单',
createTime: '2022-01-18 15:44:32',
inOutMoney: '+8.00'
}]
}, {
duration: '2022年01月',
income: '20478.96',
outgoings: '-21065.36',
statement: [{
name: '余额支付',
createTime: '2022-01-19 15:44:32',
inOutMoney: '-170.00'
}, {
name: '商城退单',
createTime: '2022-01-18 15:44:32',
inOutMoney: '+8.00'
}]
}, {
duration: '2022年01月',
income: '20478.96',
outgoings: '-21065.36',
statement: [{
name: '余额支付',
createTime: '2022-01-19 15:44:32',
inOutMoney: '-170.00'
}, {
name: '商城退单',
createTime: '2022-01-18 15:44:32',
inOutMoney: '+8.00'
}]
}]
}
const statementDesc = {
inOutMoney: '-59.00',
name: '同意追加费用',
status: '0', //0为交易成功
desc: '同意追加费用',
payRemark: '微信支付到帐',
extractCode: '',
createTime: '2022-01-20 15:44:32',
orderCode: '20210612337987373',
orderCreateTime: '2022-01-16 15:44:32'
}
export default {
swiperList,
categories,
subCategories,
moduleBarInfos,
discountGoods,
hotGoods,
productDetail,
pickedProductList,
shopInfo,
workerInfos,
myInfo,
ordersWait2Pay,
ordersWait2Serv,
ordersServing,
ordersAfterServ,
ordersFinish,
myAddressList,
myOperator,
certificationInfo,
myOperaMembers,
servDetail,
servCategory,
categoryList,
areaList,
defaultAddress,
statementDesc,
myMoneyBag
}