dingdong-mall/data.js

381 lines
7.7 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',
name: '首页'
}, {
id: 2,
cuIcon: 'circle',
name: '师傅圈'
}, {
id: 3,
cuIcon: 'add',
name: '发布',
action: 'add'
}, {
id: 4,
cuIcon: 'message',
name: '消息',
countTag: 100
}, {
id: 5,
cuIcon: 'my',
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: {
name: '十五平米擦玻璃服务',
desc: '15平米起擦玻璃服务超过15平米按照15/平米现场另收费',
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,
name: '艺鑫到家(售后无忧)',
avatarUrl: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big17005.jpg'
}
}
export default {
swiperList,
categories,
subCategories,
moduleBarInfos,
discountGoods,
hotGoods,
productDetail
}