+ diff --git a/public/data/goods.json b/public/data/goods.json new file mode 100644 index 0000000..9a46c7a --- /dev/null +++ b/public/data/goods.json @@ -0,0 +1,653 @@ +[ + { + "name": "小米电视6 65\" OLED 65英寸", + "cover": "g6-0.jpg", + "imgs": [ + "g6-0.jpg", + "g6-1.jpg", + "g6-2.jpg", + "g6-3.jpg", + "g6-4.jpg" + ], + "price": 6699, + "real_price": 399, + "isLowPrice": false, + "discount": "", + "sold": 863 + }, + { + "name": "红白撞色条纹软糯针织上衣女2022年秋季新款甜美减龄短款毛衣开衫", + "cover": "g1-0.jpg", + "imgs": [ + "g1-0.jpg", + "g1-1.jpg", + "g1-2.jpg", + "g1-3.jpg" + ], + "isLowPrice": true, + "discount": "满4减3", + "sold": 134, + "price": 39.9, + "real_price": 9.9 + }, + { + "name": "森马t恤男2023男士纯棉上衣白色情侣装凉感短袖打底衫纯色体恤潮", + "imgs": [ + "g2-0.webp", + "g2-1.webp", + "g2-2.webp", + "g2-3.webp" + ], + "cover": "g2-0.webp", + "real_price": 9.9, + "price": 49.99, + "isLowPrice": false, + "discount": "满20减5", + "sold": 3314 + }, + { + "name": "ins潮牌长袖t恤男宽松纯色内搭上衣潮牌百搭秋冬季潮流帅气打底衫", + "cover": "g3-0.jpg", + "imgs": [ + "g3-0.jpg", + "g3-1.jpg", + "g3-2.jpg", + "g3-3.jpg", + "g3-4.jpg" + ], + "real_price": 9.9, + "price": 22.90, + "isLowPrice": true, + "discount": "满10减3", + "sold": 129 + }, + { + "name": "Redmi K60狠快狠强,狠旗舰!2023,第一台梦幻手机", + "cover": "g4-0.png", + "imgs": [ + "g4-0.png", + "g4-1.png", + "g4-2.png", + "g4-3.png" + ], + "real_price": 199.9, + "price": 2999, + "isLowPrice": true, + "discount": "", + "sold": 967 + }, + { + "name": "小米笔记本Pro X 14", + "imgs": [ + "g5-0.jpg", + "g5-1.jpg", + "g5-2.jpg", + "g5-3.jpg", + "g5-4.jpg" + ], + "cover": "g5-0.jpg", + "real_price": 1559.9, + "price": 6999, + "isLowPrice": false, + "discount": "", + "sold": 473 + }, + { + "name": "小米电视6 65\" OLED 65英寸", + "cover": "g6-0.jpg", + "imgs": [ + "g6-0.jpg", + "g6-1.jpg", + "g6-2.jpg", + "g6-3.jpg", + "g6-4.jpg" + ], + "price": 6699, + "real_price": 399, + "isLowPrice": false, + "discount": "", + "sold": 863 + }, + { + "name": "红白撞色条纹软糯针织上衣女2022年秋季新款甜美减龄短款毛衣开衫", + "cover": "g1-0.jpg", + "imgs": [ + "g1-0.jpg", + "g1-1.jpg", + "g1-2.jpg", + "g1-3.jpg" + ], + "isLowPrice": true, + "discount": "满4减3", + "sold": 134, + "price": 39.9, + "real_price": 9.9 + }, + { + "name": "森马t恤男2023男士纯棉上衣白色情侣装凉感短袖打底衫纯色体恤潮", + "imgs": [ + "g2-0.webp", + "g2-1.webp", + "g2-2.webp", + "g2-3.webp" + ], + "cover": "g2-0.webp", + "real_price": 9.9, + "price": 49.99, + "isLowPrice": false, + "discount": "满20减5", + "sold": 3314 + }, + { + "name": "ins潮牌长袖t恤男宽松纯色内搭上衣潮牌百搭秋冬季潮流帅气打底衫", + "cover": "g3-0.jpg", + "imgs": [ + "g3-0.jpg", + "g3-1.jpg", + "g3-2.jpg", + "g3-3.jpg", + "g3-4.jpg" + ], + "real_price": 9.9, + "price": 22.90, + "isLowPrice": true, + "discount": "满10减3", + "sold": 129 + }, + { + "name": "Redmi K60狠快狠强,狠旗舰!2023,第一台梦幻手机", + "cover": "g4-0.png", + "imgs": [ + "g4-0.png", + "g4-1.png", + "g4-2.png", + "g4-3.png" + ], + "real_price": 199.9, + "price": 2999, + "isLowPrice": true, + "discount": "", + "sold": 967 + }, + { + "name": "小米笔记本Pro X 14", + "imgs": [ + "g5-0.jpg", + "g5-1.jpg", + "g5-2.jpg", + "g5-3.jpg", + "g5-4.jpg" + ], + "cover": "g5-0.jpg", + "real_price": 1559.9, + "price": 6999, + "isLowPrice": false, + "discount": "", + "sold": 473 + }, + { + "name": "小米电视6 65\" OLED 65英寸", + "cover": "g6-0.jpg", + "imgs": [ + "g6-0.jpg", + "g6-1.jpg", + "g6-2.jpg", + "g6-3.jpg", + "g6-4.jpg" + ], + "price": 6699, + "real_price": 399, + "isLowPrice": false, + "discount": "", + "sold": 863 + }, + { + "name": "红白撞色条纹软糯针织上衣女2022年秋季新款甜美减龄短款毛衣开衫", + "cover": "g1-0.jpg", + "imgs": [ + "g1-0.jpg", + "g1-1.jpg", + "g1-2.jpg", + "g1-3.jpg" + ], + "isLowPrice": true, + "discount": "满4减3", + "sold": 134, + "price": 39.9, + "real_price": 9.9 + }, + { + "name": "森马t恤男2023男士纯棉上衣白色情侣装凉感短袖打底衫纯色体恤潮", + "imgs": [ + "g2-0.webp", + "g2-1.webp", + "g2-2.webp", + "g2-3.webp" + ], + "cover": "g2-0.webp", + "real_price": 9.9, + "price": 49.99, + "isLowPrice": false, + "discount": "满20减5", + "sold": 3314 + }, + { + "name": "ins潮牌长袖t恤男宽松纯色内搭上衣潮牌百搭秋冬季潮流帅气打底衫", + "cover": "g3-0.jpg", + "imgs": [ + "g3-0.jpg", + "g3-1.jpg", + "g3-2.jpg", + "g3-3.jpg", + "g3-4.jpg" + ], + "real_price": 9.9, + "price": 22.90, + "isLowPrice": true, + "discount": "满10减3", + "sold": 129 + }, + { + "name": "Redmi K60狠快狠强,狠旗舰!2023,第一台梦幻手机", + "cover": "g4-0.png", + "imgs": [ + "g4-0.png", + "g4-1.png", + "g4-2.png", + "g4-3.png" + ], + "real_price": 199.9, + "price": 2999, + "isLowPrice": true, + "discount": "", + "sold": 967 + }, + { + "name": "小米笔记本Pro X 14", + "imgs": [ + "g5-0.jpg", + "g5-1.jpg", + "g5-2.jpg", + "g5-3.jpg", + "g5-4.jpg" + ], + "cover": "g5-0.jpg", + "real_price": 1559.9, + "price": 6999, + "isLowPrice": false, + "discount": "", + "sold": 473 + }, + { + "name": "小米电视6 65\" OLED 65英寸", + "cover": "g6-0.jpg", + "imgs": [ + "g6-0.jpg", + "g6-1.jpg", + "g6-2.jpg", + "g6-3.jpg", + "g6-4.jpg" + ], + "price": 6699, + "real_price": 399, + "isLowPrice": false, + "discount": "", + "sold": 863 + }, + { + "name": "红白撞色条纹软糯针织上衣女2022年秋季新款甜美减龄短款毛衣开衫", + "cover": "g1-0.jpg", + "imgs": [ + "g1-0.jpg", + "g1-1.jpg", + "g1-2.jpg", + "g1-3.jpg" + ], + "isLowPrice": true, + "discount": "满4减3", + "sold": 134, + "price": 39.9, + "real_price": 9.9 + }, + { + "name": "森马t恤男2023男士纯棉上衣白色情侣装凉感短袖打底衫纯色体恤潮", + "imgs": [ + "g2-0.webp", + "g2-1.webp", + "g2-2.webp", + "g2-3.webp" + ], + "cover": "g2-0.webp", + "real_price": 9.9, + "price": 49.99, + "isLowPrice": false, + "discount": "满20减5", + "sold": 3314 + }, + { + "name": "ins潮牌长袖t恤男宽松纯色内搭上衣潮牌百搭秋冬季潮流帅气打底衫", + "cover": "g3-0.jpg", + "imgs": [ + "g3-0.jpg", + "g3-1.jpg", + "g3-2.jpg", + "g3-3.jpg", + "g3-4.jpg" + ], + "real_price": 9.9, + "price": 22.90, + "isLowPrice": true, + "discount": "满10减3", + "sold": 129 + }, + { + "name": "Redmi K60狠快狠强,狠旗舰!2023,第一台梦幻手机", + "cover": "g4-0.png", + "imgs": [ + "g4-0.png", + "g4-1.png", + "g4-2.png", + "g4-3.png" + ], + "real_price": 199.9, + "price": 2999, + "isLowPrice": true, + "discount": "", + "sold": 967 + }, + { + "name": "小米笔记本Pro X 14", + "imgs": [ + "g5-0.jpg", + "g5-1.jpg", + "g5-2.jpg", + "g5-3.jpg", + "g5-4.jpg" + ], + "cover": "g5-0.jpg", + "real_price": 1559.9, + "price": 6999, + "isLowPrice": false, + "discount": "", + "sold": 473 + }, + { + "name": "小米电视6 65\" OLED 65英寸", + "cover": "g6-0.jpg", + "imgs": [ + "g6-0.jpg", + "g6-1.jpg", + "g6-2.jpg", + "g6-3.jpg", + "g6-4.jpg" + ], + "price": 6699, + "real_price": 399, + "isLowPrice": false, + "discount": "", + "sold": 863 + }, + { + "name": "红白撞色条纹软糯针织上衣女2022年秋季新款甜美减龄短款毛衣开衫", + "cover": "g1-0.jpg", + "imgs": [ + "g1-0.jpg", + "g1-1.jpg", + "g1-2.jpg", + "g1-3.jpg" + ], + "isLowPrice": true, + "discount": "满4减3", + "sold": 134, + "price": 39.9, + "real_price": 9.9 + }, + { + "name": "森马t恤男2023男士纯棉上衣白色情侣装凉感短袖打底衫纯色体恤潮", + "imgs": [ + "g2-0.webp", + "g2-1.webp", + "g2-2.webp", + "g2-3.webp" + ], + "cover": "g2-0.webp", + "real_price": 9.9, + "price": 49.99, + "isLowPrice": false, + "discount": "满20减5", + "sold": 3314 + }, + { + "name": "ins潮牌长袖t恤男宽松纯色内搭上衣潮牌百搭秋冬季潮流帅气打底衫", + "cover": "g3-0.jpg", + "imgs": [ + "g3-0.jpg", + "g3-1.jpg", + "g3-2.jpg", + "g3-3.jpg", + "g3-4.jpg" + ], + "real_price": 9.9, + "price": 22.90, + "isLowPrice": true, + "discount": "满10减3", + "sold": 129 + }, + { + "name": "Redmi K60狠快狠强,狠旗舰!2023,第一台梦幻手机", + "cover": "g4-0.png", + "imgs": [ + "g4-0.png", + "g4-1.png", + "g4-2.png", + "g4-3.png" + ], + "real_price": 199.9, + "price": 2999, + "isLowPrice": true, + "discount": "", + "sold": 967 + }, + { + "name": "小米笔记本Pro X 14", + "imgs": [ + "g5-0.jpg", + "g5-1.jpg", + "g5-2.jpg", + "g5-3.jpg", + "g5-4.jpg" + ], + "cover": "g5-0.jpg", + "real_price": 1559.9, + "price": 6999, + "isLowPrice": false, + "discount": "", + "sold": 473 + }, + { + "name": "小米电视6 65\" OLED 65英寸", + "cover": "g6-0.jpg", + "imgs": [ + "g6-0.jpg", + "g6-1.jpg", + "g6-2.jpg", + "g6-3.jpg", + "g6-4.jpg" + ], + "price": 6699, + "real_price": 399, + "isLowPrice": false, + "discount": "", + "sold": 863 + }, + { + "name": "红白撞色条纹软糯针织上衣女2022年秋季新款甜美减龄短款毛衣开衫", + "cover": "g1-0.jpg", + "imgs": [ + "g1-0.jpg", + "g1-1.jpg", + "g1-2.jpg", + "g1-3.jpg" + ], + "isLowPrice": true, + "discount": "满4减3", + "sold": 134, + "price": 39.9, + "real_price": 9.9 + }, + { + "name": "森马t恤男2023男士纯棉上衣白色情侣装凉感短袖打底衫纯色体恤潮", + "imgs": [ + "g2-0.webp", + "g2-1.webp", + "g2-2.webp", + "g2-3.webp" + ], + "cover": "g2-0.webp", + "real_price": 9.9, + "price": 49.99, + "isLowPrice": false, + "discount": "满20减5", + "sold": 3314 + }, + { + "name": "ins潮牌长袖t恤男宽松纯色内搭上衣潮牌百搭秋冬季潮流帅气打底衫", + "cover": "g3-0.jpg", + "imgs": [ + "g3-0.jpg", + "g3-1.jpg", + "g3-2.jpg", + "g3-3.jpg", + "g3-4.jpg" + ], + "real_price": 9.9, + "price": 22.90, + "isLowPrice": true, + "discount": "满10减3", + "sold": 129 + }, + { + "name": "Redmi K60狠快狠强,狠旗舰!2023,第一台梦幻手机", + "cover": "g4-0.png", + "imgs": [ + "g4-0.png", + "g4-1.png", + "g4-2.png", + "g4-3.png" + ], + "real_price": 199.9, + "price": 2999, + "isLowPrice": true, + "discount": "", + "sold": 967 + }, + { + "name": "小米笔记本Pro X 14", + "imgs": [ + "g5-0.jpg", + "g5-1.jpg", + "g5-2.jpg", + "g5-3.jpg", + "g5-4.jpg" + ], + "cover": "g5-0.jpg", + "real_price": 1559.9, + "price": 6999, + "isLowPrice": false, + "discount": "", + "sold": 473 + }, + { + "name": "小米电视6 65\" OLED 65英寸", + "cover": "g6-0.jpg", + "imgs": [ + "g6-0.jpg", + "g6-1.jpg", + "g6-2.jpg", + "g6-3.jpg", + "g6-4.jpg" + ], + "price": 6699, + "real_price": 399, + "isLowPrice": false, + "discount": "", + "sold": 863 + }, + { + "name": "红白撞色条纹软糯针织上衣女2022年秋季新款甜美减龄短款毛衣开衫", + "cover": "g1-0.jpg", + "imgs": [ + "g1-0.jpg", + "g1-1.jpg", + "g1-2.jpg", + "g1-3.jpg" + ], + "isLowPrice": true, + "discount": "满4减3", + "sold": 134, + "price": 39.9, + "real_price": 9.9 + }, + { + "name": "森马t恤男2023男士纯棉上衣白色情侣装凉感短袖打底衫纯色体恤潮", + "imgs": [ + "g2-0.webp", + "g2-1.webp", + "g2-2.webp", + "g2-3.webp" + ], + "cover": "g2-0.webp", + "real_price": 9.9, + "price": 49.99, + "isLowPrice": false, + "discount": "满20减5", + "sold": 3314 + }, + { + "name": "ins潮牌长袖t恤男宽松纯色内搭上衣潮牌百搭秋冬季潮流帅气打底衫", + "cover": "g3-0.jpg", + "imgs": [ + "g3-0.jpg", + "g3-1.jpg", + "g3-2.jpg", + "g3-3.jpg", + "g3-4.jpg" + ], + "real_price": 9.9, + "price": 22.90, + "isLowPrice": true, + "discount": "满10减3", + "sold": 129 + }, + { + "name": "Redmi K60狠快狠强,狠旗舰!2023,第一台梦幻手机", + "cover": "g4-0.png", + "imgs": [ + "g4-0.png", + "g4-1.png", + "g4-2.png", + "g4-3.png" + ], + "real_price": 199.9, + "price": 2999, + "isLowPrice": true, + "discount": "", + "sold": 967 + }, + { + "name": "小米笔记本Pro X 14", + "imgs": [ + "g5-0.jpg", + "g5-1.jpg", + "g5-2.jpg", + "g5-3.jpg", + "g5-4.jpg" + ], + "cover": "g5-0.jpg", + "real_price": 1559.9, + "price": 6999, + "isLowPrice": false, + "discount": "", + "sold": 473 + } +] \ No newline at end of file diff --git a/src/assets/img/goods/g1-0.jpg b/public/images/goods/g1-0.jpg similarity index 100% rename from src/assets/img/goods/g1-0.jpg rename to public/images/goods/g1-0.jpg diff --git a/src/assets/img/goods/g1-1.jpg b/public/images/goods/g1-1.jpg similarity index 100% rename from src/assets/img/goods/g1-1.jpg rename to public/images/goods/g1-1.jpg diff --git a/src/assets/img/goods/g1-2.jpg b/public/images/goods/g1-2.jpg similarity index 100% rename from src/assets/img/goods/g1-2.jpg rename to public/images/goods/g1-2.jpg diff --git a/src/assets/img/goods/g1-3.jpg b/public/images/goods/g1-3.jpg similarity index 100% rename from src/assets/img/goods/g1-3.jpg rename to public/images/goods/g1-3.jpg diff --git a/src/assets/img/goods/g2-0.webp b/public/images/goods/g2-0.webp similarity index 100% rename from src/assets/img/goods/g2-0.webp rename to public/images/goods/g2-0.webp diff --git a/src/assets/img/goods/g2-1.webp b/public/images/goods/g2-1.webp similarity index 100% rename from src/assets/img/goods/g2-1.webp rename to public/images/goods/g2-1.webp diff --git a/src/assets/img/goods/g2-2.webp b/public/images/goods/g2-2.webp similarity index 100% rename from src/assets/img/goods/g2-2.webp rename to public/images/goods/g2-2.webp diff --git a/src/assets/img/goods/g2-3.webp b/public/images/goods/g2-3.webp similarity index 100% rename from src/assets/img/goods/g2-3.webp rename to public/images/goods/g2-3.webp diff --git a/src/assets/img/goods/g3-0.jpg b/public/images/goods/g3-0.jpg similarity index 100% rename from src/assets/img/goods/g3-0.jpg rename to public/images/goods/g3-0.jpg diff --git a/src/assets/img/goods/g3-1.jpg b/public/images/goods/g3-1.jpg similarity index 100% rename from src/assets/img/goods/g3-1.jpg rename to public/images/goods/g3-1.jpg diff --git a/src/assets/img/goods/g3-2.jpg b/public/images/goods/g3-2.jpg similarity index 100% rename from src/assets/img/goods/g3-2.jpg rename to public/images/goods/g3-2.jpg diff --git a/src/assets/img/goods/g3-3.jpg b/public/images/goods/g3-3.jpg similarity index 100% rename from src/assets/img/goods/g3-3.jpg rename to public/images/goods/g3-3.jpg diff --git a/src/assets/img/goods/g3-4.jpg b/public/images/goods/g3-4.jpg similarity index 100% rename from src/assets/img/goods/g3-4.jpg rename to public/images/goods/g3-4.jpg diff --git a/src/assets/img/goods/g4-0.png b/public/images/goods/g4-0.png similarity index 100% rename from src/assets/img/goods/g4-0.png rename to public/images/goods/g4-0.png diff --git a/src/assets/img/goods/g4-1.png b/public/images/goods/g4-1.png similarity index 100% rename from src/assets/img/goods/g4-1.png rename to public/images/goods/g4-1.png diff --git a/src/assets/img/goods/g4-2.png b/public/images/goods/g4-2.png similarity index 100% rename from src/assets/img/goods/g4-2.png rename to public/images/goods/g4-2.png diff --git a/src/assets/img/goods/g4-3.png b/public/images/goods/g4-3.png similarity index 100% rename from src/assets/img/goods/g4-3.png rename to public/images/goods/g4-3.png diff --git a/src/assets/img/goods/g5-0.jpg b/public/images/goods/g5-0.jpg similarity index 100% rename from src/assets/img/goods/g5-0.jpg rename to public/images/goods/g5-0.jpg diff --git a/src/assets/img/goods/g5-1.jpg b/public/images/goods/g5-1.jpg similarity index 100% rename from src/assets/img/goods/g5-1.jpg rename to public/images/goods/g5-1.jpg diff --git a/src/assets/img/goods/g5-2.jpg b/public/images/goods/g5-2.jpg similarity index 100% rename from src/assets/img/goods/g5-2.jpg rename to public/images/goods/g5-2.jpg diff --git a/src/assets/img/goods/g5-3.jpg b/public/images/goods/g5-3.jpg similarity index 100% rename from src/assets/img/goods/g5-3.jpg rename to public/images/goods/g5-3.jpg diff --git a/src/assets/img/goods/g5-4.jpg b/public/images/goods/g5-4.jpg similarity index 100% rename from src/assets/img/goods/g5-4.jpg rename to public/images/goods/g5-4.jpg diff --git a/src/assets/img/goods/g6-0.jpg b/public/images/goods/g6-0.jpg similarity index 100% rename from src/assets/img/goods/g6-0.jpg rename to public/images/goods/g6-0.jpg diff --git a/src/assets/img/goods/g6-1.jpg b/public/images/goods/g6-1.jpg similarity index 100% rename from src/assets/img/goods/g6-1.jpg rename to public/images/goods/g6-1.jpg diff --git a/src/assets/img/goods/g6-2.jpg b/public/images/goods/g6-2.jpg similarity index 100% rename from src/assets/img/goods/g6-2.jpg rename to public/images/goods/g6-2.jpg diff --git a/src/assets/img/goods/g6-3.jpg b/public/images/goods/g6-3.jpg similarity index 100% rename from src/assets/img/goods/g6-3.jpg rename to public/images/goods/g6-3.jpg diff --git a/src/assets/img/goods/g6-4.jpg b/public/images/goods/g6-4.jpg similarity index 100% rename from src/assets/img/goods/g6-4.jpg rename to public/images/goods/g6-4.jpg diff --git a/public/images/icon/love.webp b/public/images/icon/love.webp new file mode 100644 index 0000000..1efebe1 Binary files /dev/null and b/public/images/icon/love.webp differ diff --git a/src/api/user.js b/src/api/user.js index dde16b3..ad99632 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -3,6 +3,7 @@ import request from "../utils/request"; export function userinfo(params, data) { return request({url: '/user/userinfo', method: 'get', params, data}) } + export function userVideoList(params, data) { return request({url: '/user/video_list', method: 'get', params, data}) } @@ -21,4 +22,8 @@ export function userCollect(params, data) { export function recommendedPost(params, data) { return request({url: '/post/recommended', method: 'get', params, data}) +} + +export function recommendedShop(params, data) { + return request({url: '/shop/recommended', method: 'get', params, data}) } \ No newline at end of file diff --git a/src/assets/data/goods.js b/src/assets/data/goods.js deleted file mode 100644 index dfc4530..0000000 --- a/src/assets/data/goods.js +++ /dev/null @@ -1,65 +0,0 @@ -export default { - list: [ - { - "name": "小米电视6 65\" OLED 65英寸", - "cover": new URL('@/assets/img/goods/g6-0.jpg', import.meta.url).href, - imgs:[ - new URL('../img/goods/g6-0.jpg', import.meta.url).href, - new URL('../img/goods/g6-1.jpg', import.meta.url).href, - new URL('../img/goods/g6-2.jpg', import.meta.url).href, - new URL('../img/goods/g6-3.jpg', import.meta.url).href, - new URL('../img/goods/g6-4.jpg', import.meta.url).href, - ], - price: 6699, - isLowPrice: false, - discount: '', - sold: 863, - }, - { - "name": "红白撞色条纹软糯针织上衣女2022年秋季新款甜美减龄短款毛衣开衫", - "cover": new URL('../img/goods/g1-0.jpg', import.meta.url).href, - imgs:[ - new URL('../img/goods/g1-0.jpg', import.meta.url).href, - new URL('../img/goods/g1-1.jpg', import.meta.url).href, - new URL('../img/goods/g1-2.jpg', import.meta.url).href, - new URL('../img/goods/g1-3.jpg', import.meta.url).href, - ], - isLowPrice: true, - discount: '满4减3', - sold: 134, - price: 39.9, - }, - { - "name": "森马t恤男2023男士纯棉上衣白色情侣装凉感短袖打底衫纯色体恤潮", - "cover": new URL('../img/goods/g2-0.webp', import.meta.url).href, - price: 49.99, - isLowPrice: false, - discount: '满20减5', - sold: 3314, - }, - { - "name": "ins潮牌长袖t恤男宽松纯色内搭上衣潮牌百搭秋冬季潮流帅气打底衫", - "cover": new URL('../img/goods/g3-0.jpg', import.meta.url).href, - price: 22.90, - isLowPrice: true, - discount: '满10减3', - sold: 129, - }, - { - "name": "Redmi K60狠快狠强,狠旗舰!2023,第一台梦幻手机", - "cover": new URL('../img/goods/g4-0.png', import.meta.url).href, - price: 2999, - isLowPrice: true, - discount: '', - sold: 967, - }, - { - "name": "小米笔记本Pro X 14", - "cover": new URL('../img/goods/g5-0.jpg', import.meta.url).href, - price: 6999, - isLowPrice: false, - discount: '', - sold: 473, - }, - ] -} \ No newline at end of file diff --git a/src/components/DouyinCode.vue b/src/components/DouyinCode.vue index ca2d59b..0dbdcbf 100644 --- a/src/components/DouyinCode.vue +++ b/src/components/DouyinCode.vue @@ -3,12 +3,12 @@
+ + - -