200 lines
3.6 KiB
JavaScript
200 lines
3.6 KiB
JavaScript
/**
|
||
* 页面静态数据
|
||
*/
|
||
|
||
const swiperList = [{
|
||
id: 0,
|
||
type: 'image',
|
||
url: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big84000.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起'
|
||
}]
|
||
}
|
||
export default {
|
||
swiperList,
|
||
categories,
|
||
subCategories,
|
||
moduleBarInfos,
|
||
discountGoods,
|
||
hotGoods
|
||
}
|