Files
ClassContent/历届学生/逯帅帅/项目开发/上课项目/医点医滴/static/data/cartData.js
2024-09-27 02:06:13 +08:00

360 lines
14 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

let cartData = [{
"_id": "001",
"add_time": 1609911170014,
"number": 1,
"checked": true,
"sku": {
"_id": "1503f3385f1bcc7d009a50fa75ed068a",
"image": "https://7478-tx-cloud-mix-mall-d6944c-1302673523.tcb.qcloud.la/1595657323459999375.jpg",
"market_price": null,
"name": "【三重护唇】柠檬2支装",
"price": 34.9,
"product_id": "3d23c0a05f1bcc7d00880a3b0489774c",
"stock": 498
},
"uid": "d81cd5415f8d02b4016f3896373ac949",
"product_id": "3d23c0a05f1bcc7d00880a3b0489774c",
"sku_id": "1503f3385f1bcc7d009a50fa75ed068a",
"product": {
"_id": "3d23c0a05f1bcc7d00880a3b0489774c",
"look_num": 2165,
"rating_ratio": "75.0",
"collection_num": 0,
"image": "https://7478-tx-cloud-mix-mall-d6944c-1302673523.tcb.qcloud.la/1595657054187475813.jpg",
"is_del": 0,
"number": 1,
"market_price": null,
"price": 16.95,
"title": "曼秀雷敦什果冰润唇膏滋润嘴唇保湿女男士学生补水防冻防干裂无色",
"add_time": 1595657341004,
"cate_id": "1503f3385f1ae74d008df2376ada0de2",
"cate_name": "口红",
"first_cate_name": "个护彩妆",
"is_hot": 1,
"is_sales": 1,
"sales": 0,
"stock": 7022,
"content": "",
"first_cate_id": "f47f682c5f1ae67f007ad8226bb01b44",
"skuData": {
"attrList": [{
"parent": "款式",
"name": "【三重护唇】柠檬"
},
{
"name": "【卸妆护唇】草莓",
"parent": "款式"
},
{
"name": "【抵御阳光】苹果",
"parent": "款式"
},
{
"name": "【果汁清香】青提+葡萄",
"parent": "款式"
},
{
"name": "【唇妆显色】香橙+蜜柑",
"parent": "款式"
},
{
"parent": "款式",
"name": "【三重护唇】柠檬2支装"
},
{
"parent": "款式",
"name": "【卸妆护唇】草莓2支装"
},
{
"name": "【抵御阳光】苹果2支装",
"parent": "款式"
},
{
"name": "【果汁清香】青提+葡萄 2支装",
"parent": "款式"
},
{
"name": "【唇妆显色】香橙+蜜柑2支装",
"parent": "款式"
}
],
"skuList": [{
"stock": 500,
"image": "https://7478-tx-cloud-mix-mall-d6944c-1302673523.tcb.qcloud.la/1595657309180697883.jpg",
"market_price": null,
"name": "【三重护唇】柠檬",
"price": 16.9
},
{
"image": "https://7478-tx-cloud-mix-mall-d6944c-1302673523.tcb.qcloud.la/1595657311909727052.jpg",
"market_price": null,
"name": "【卸妆护唇】草莓",
"price": 16.9,
"stock": 600
},
{
"market_price": null,
"name": "【抵御阳光】苹果",
"price": 16.9,
"stock": 500,
"image": "https://7478-tx-cloud-mix-mall-d6944c-1302673523.tcb.qcloud.la/1595657314697951048.jpg"
},
{
"price": 16.9,
"stock": 600,
"image": "https://7478-tx-cloud-mix-mall-d6944c-1302673523.tcb.qcloud.la/1595657317349907606.jpg",
"market_price": null,
"name": "【果汁清香】青提+葡萄"
},
{
"market_price": null,
"name": "【唇妆显色】香橙+蜜柑",
"price": 16.9,
"stock": 888,
"image": "https://7478-tx-cloud-mix-mall-d6944c-1302673523.tcb.qcloud.la/1595657320538296159.jpg"
},
{
"price": 34.9,
"stock": 500,
"image": "https://7478-tx-cloud-mix-mall-d6944c-1302673523.tcb.qcloud.la/1595657323459999375.jpg",
"market_price": null,
"name": "【三重护唇】柠檬2支装"
},
{
"price": 34.9,
"stock": 600,
"image": "https://7478-tx-cloud-mix-mall-d6944c-1302673523.tcb.qcloud.la/1595657326265180617.jpg",
"market_price": null,
"name": "【卸妆护唇】草莓2支装"
},
{
"name": "【抵御阳光】苹果2支装",
"price": 34.9,
"stock": 888,
"image": "https://7478-tx-cloud-mix-mall-d6944c-1302673523.tcb.qcloud.la/1595657329511313690.jpg",
"market_price": null
},
{
"name": "【果汁清香】青提+葡萄 2支装",
"price": 34.9,
"stock": 999,
"image": "https://7478-tx-cloud-mix-mall-d6944c-1302673523.tcb.qcloud.la/1595657336928488221.jpg",
"market_price": null
},
{
"image": "https://7478-tx-cloud-mix-mall-d6944c-1302673523.tcb.qcloud.la/1595657340512684847.jpg",
"market_price": null,
"name": "【唇妆显色】香橙+蜜柑2支装",
"price": 34.9,
"stock": 999
}
],
"specList": [{
"name": "款式",
"newAttr": ""
}]
},
"status": 1,
"thumb": "https://7478-tx-cloud-mix-mall-d6944c-1302673523.tcb.qcloud.la/1595657049599668876.jpg"
},
"title": "曼秀雷敦什果冰润唇膏滋润嘴唇保湿女男士学生补水防冻防干裂无色",
"image": "https://7478-tx-cloud-mix-mall-d6944c-1302673523.tcb.qcloud.la/1595657049599668876.jpg",
"price": 34.9,
"stock": 498,
"invalid": false
},
{
"_id": "002",
"add_time": 1609911161853,
"number": 1,
"checked": true,
"sku": {
"_id": "1b64dd7b5f899c370199c1245a6994a6",
"image": "",
"market_price": 0,
"name": "【美白提亮】全新升级小白管35g",
"price": 0.8,
"product_id": "15d399db5f1bd1420084d37a17d2c336",
"stock": 233
},
"uid": "d81cd5415f8d02b4016f3896373ac949",
"product_id": "15d399db5f1bd1420084d37a17d2c336",
"sku_id": "1b64dd7b5f899c370199c1245a6994a6",
"product": {
"_id": "15d399db5f1bd1420084d37a17d2c336",
"add_time": 1595658562878,
"cate_id": "9bf625a55f1aeaf20061c51741ef092c",
"cate_name": "隔离霜",
"collection_num": 0,
"content": "",
"first_cate_id": "f47f682c5f1ae67f007ad8226bb01b44",
"first_cate_name": "个护彩妆",
"image": "https://7478-tx-cloud-mix-mall-d6944c-1302673523.tcb.qcloud.la/1595658506576937405.jpg",
"is_del": 0,
"number": 3,
"is_hot": 1,
"is_sales": 1,
"look_num": 6242,
"market_price": 0,
"price": 0.7,
"sales": 2,
"sku": [{
"_id": "d81cd5415f899b9e015bb4cc25841a86",
"image": "",
"market_price": 0,
"name": "【修饰暗沉】紫隔离35g",
"price": 0.07,
"product_id": "15d399db5f1bd1420084d37a17d2c336",
"stock": 595
},
{
"_id": "d81cd5415f899b9e015bb4cd7f46a36f",
"image": "",
"market_price": 0,
"name": "【美白提亮】全新升级小白管35g",
"price": 0.8,
"product_id": "15d399db5f1bd1420084d37a17d2c336",
"stock": 309
},
{
"_id": "d81cd5415f899b9e015bb4ce4dfe6a4a",
"image": "",
"market_price": 0,
"name": "【修饰敏感泛红】绿隔离35g",
"price": 0.9,
"product_id": "15d399db5f1bd1420084d37a17d2c336",
"stock": 876
}
],
"skuData": {
"attrList": [{
"name": "【美白提亮】全新升级小白管35g",
"parent": "颜色"
},
{
"name": "【修饰敏感泛红】绿隔离35g",
"parent": "颜色"
},
{
"name": "【修饰暗沉】紫隔离35g",
"parent": "颜色"
}
],
"skuList": [{
"image": "",
"market_price": 0,
"name": "【修饰暗沉】紫隔离35g",
"price": 0.07,
"product_id": "15d399db5f1bd1420084d37a17d2c336",
"stock": 595
},
{
"image": "",
"market_price": 0,
"name": "【美白提亮】全新升级小白管35g",
"price": 0.8,
"product_id": "15d399db5f1bd1420084d37a17d2c336",
"stock": 309
},
{
"image": "",
"market_price": 0,
"name": "【修饰敏感泛红】绿隔离35g",
"price": 0.9,
"product_id": "15d399db5f1bd1420084d37a17d2c336",
"stock": 876
}
],
"specList": [{
"name": "颜色",
"newAttr": ""
}]
},
"status": 1,
"stock": 1686,
"thumb": "https://7478-tx-cloud-mix-mall-d6944c-1302673523.tcb.qcloud.la/1595658502634202887.jpg",
"title": "资生堂 Za白色新焕真皙美白隔离霜",
"update_time": 1602853943340
},
"title": "资生堂 Za白色新焕真皙美白隔离霜",
"image": "https://7478-tx-cloud-mix-mall-d6944c-1302673523.tcb.qcloud.la/1595658502634202887.jpg",
"price": 0.8,
"stock": 233,
"invalid": false
},
{
"_id": "003",
"add_time": 1609911148297,
"number": 1,
"checked": true,
"sku": {
"_id": "15d399db5f202a0000afdca07713f42c",
"image": "",
"name": "",
"price": 0.01,
"product_id": "94f505805f1bd20b00766b1308fbc437",
"stock": 86
},
"uid": "d81cd5415f8d02b4016f3896373ac949",
"product_id": "94f505805f1bd20b00766b1308fbc437",
"sku_id": "15d399db5f202a0000afdca07713f42c",
"product": {
"_id": "94f505805f1bd20b00766b1308fbc437",
"first_cate_id": "f47f682c5f1ae67f007ad8226bb01b44",
"is_del": 0,
"number": 2,
"look_num": 13290,
"sales": 10,
"update_time": 1595943424979,
"add_time": 1595658763127,
"collection_num": 0,
"first_cate_name": "个护彩妆",
"image": "https://7478-tx-cloud-mix-mall-d6944c-1302673523.tcb.qcloud.la/1595658723799535148.jpg",
"is_hot": 1,
"cate_name": "隔离霜",
"content": "",
"market_price": 68,
"price": 30.05,
"status": 1,
"stock": 86,
"title": "MR.WISH 心愿先生 多效修颜隔离霜",
"cate_id": "9bf625a55f1aeaf20061c51741ef092c",
"is_sales": 1,
"rating_ratio": "100.0",
"sku": [{
"_id": "15d399db5f1d0072008ceed202f2e6d8",
"image": "",
"name": "",
"price": 49,
"product_id": "94f505805f1bd20b00766b1308fbc437",
"stock": 986
}],
"skuData": {
"attrList": [
],
"skuList": [{
"product_id": "94f505805f1bd20b00766b1308fbc437",
"stock": 986,
"image": "",
"name": "",
"price": 0.01
}],
"specList": [
]
},
"thumb": "https://7478-tx-cloud-mix-mall-d6944c-1302673523.tcb.qcloud.la/1595658721258946187.jpg"
},
"title": "MR.WISH 心愿先生 多效修颜隔离霜",
"image": "https://7478-tx-cloud-mix-mall-d6944c-1302673523.tcb.qcloud.la/1595658721258946187.jpg",
"price": 0.01,
"stock": 86,
"invalid": false
}
]
module.exports = {
cartData: cartData
}