// 首页数据mock const homeData = { // 轮播图数据 banners: [ { id: 1, image: '/static/image/红烧肉.webp', url: '/pages/product/detail' }, { id: 2, image: '/static/image/古茗店面.webp', url: '/pages/product/detail' }, { id: 3, image: '/static/image/home/1.png', url: '/pages/product/detail' } ], // 餐厅信息 restaurant: { logo: '/static/image/logo.webp', name: '大卫熊品质午餐', notice: '5月16日周五取【Davv Bear 大卫熊品质】', description: '近期发布' }, // 会员权益与积分商城 memberBenefits: { title: '会员权益', desc: '最高9.0折', icon: '/static/image/券.webp', url: '/pages/member/benefits' }, pointsMall: { title: '积分商城', desc: '跟团赚积分', icon: '/static/image/红包.webp', url: '/pages/points/mall' }, // 团员晒单数据 teamSharing: { title: '团员晒单', descriptions: [ '吃的太快,忘记拍照了,酸笋够味...', '这家店的红烧肉太香了,搭配米饭刚刚好...', '必须给黑椒肥牛打call,真的很下饭...', '今天终于吃到了心心念念的大卫熊午餐...' ], images: [ '/static/image/红烧肉.webp', '/static/image/member/1.png', '/static/image/member/2.png' ] }, // 产品标签页 productTabs: [ { id: 1, name: '默认' }, { id: 2, name: '上新' }, { id: 3, name: '销量' } ], // 产品列表 tags: ['今日热卖845件', '新人立减9', '满22减2', '满50减6', '满80减10', '大转盘'], priceRange: '¥0.1-9999', foods: [ { id: 1, name: '红烧肉套餐', image: '/static/image/红烧肉.webp', price: 19.9, originalPrice: 29.9, desc: '米饭+红烧肉+配菜+卤蛋' }, { id: 2, name: '小炒黄牛肉', image: '/static/image/member/1.png', price: 22.8, originalPrice: 32.8, desc: '米饭+黄牛肉+时蔬' }, { id: 3, name: '黑椒肥牛饭', image: '/static/image/member/2.png', price: 20.8, originalPrice: 30.8, desc: '米饭+黑椒肥牛+时蔬' } ], // 跟团学习 teamLearning: { title: '最新跟团学习', members: [ { id: 1, avatar: '/static/image/中森明菜.webp', name: '学生妹', time: '刚刚' }, { id: 2, avatar: '/static/image/中森明菜.webp', name: '美女团长', time: '1分钟前' }, { id: 3, avatar: '/static/image/中森明菜.webp', name: '小可爱', time: '2分钟前' } ] }, // 订单通知 orderNotifications: [ { id: 19141, user: '3**', time: '1分钟前', content: '【单点】小炒黄牛肉', count: 1 }, { id: 19145, user: 'B**', time: '1分钟前', content: '黑椒肥牛饭(1份)', count: 1 }, { id: 19144, user: '吃**', time: '1分钟前', content: '【单点】黑盒220g', count: 1 } ], // 统计信息 stats: { viewCount: '1.9万人跟团', orderCount: '6771人尝过' } } // 统一导出 module.exports = { homeData }