Merge pull request '美妆搭配' (#1) from tangyujing_branch into develop

pull/2/head
puq29skha 1 day ago
commit 1bfb5d214b

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 KiB

@ -0,0 +1,14 @@
module.exports = {
"presets": [
"@vue/cli-plugin-babel/preset"
],
"plugins": [
[
"component",
{
"libraryName": "element-ui",
"styleLibraryName": "theme-chalk"
}
]
]
}

@ -0,0 +1,22 @@
module.exports = {
status:200,
data:[
{
id:1,
title:'高姿 COGI匀净亮白保湿十全十美套盒基础护肤品套装补水礼盒美白',
pic:'https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409291612009.jpeg',
pic1:'https://h2.appsimg.com/a.appsimg.com/upload/merchandise/pdcvis/2019/11/12/23/73edc517-fcfa-4a21-99d6-d248d67e10dd_420_531.jpg',
author:'Asura',
},
{
id:2,
title:'法尔曼/法儿曼骨胶原修护面膜、强烈安利',
pic1:'https://g-search2.alicdn.com/img/bao/uploaded/i4/i1/420250512/O1CN01xKJUDT1FeXMm8Tk2k_!!0-item_pic.jpg_250x250.jpg_.webp',
pic:'https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409291611187.jpeg',
author:'花之伶',
},
]
}

@ -0,0 +1,13 @@
module.exports = {
status:200,
data:[
{
id:1001,
pic:'https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409241719043.jpeg',
author:'Another',
time:'09月24日16:22',
fans:217,
img:'https://res.gucci.cn/resources/2019/11/29/15749643001942914_g_800X800.jpg',
}
]
}

@ -0,0 +1,23 @@
module.exports={
status:200,
data:[
{
title:'彩妆界的奢侈品-Dior',
talk:239,
hot:34869,
pic:'https://d.vpimg1.com/upcb/2020/01/19/128/ias_a041a584-4d3b-4d1f-8e58-233e1872c136_570x273_90.jpg'
},
{
title:'不管-就是喜欢YSL',
talk:189,
hot:23400,
pic:'https://d.vpimg1.com/upcb/2020/02/17/50/ias_33ed2745-cd62-4876-be5c-a3a3331315d6_570x273_90.jpg'
},
{
title:'彩妆界的奢侈品-Dior',
talk:239,
hot:34869,
pic:'https://d.vpimg1.com/upcb/2020/01/19/128/ias_a041a584-4d3b-4d1f-8e58-233e1872c136_570x273_90.jpg'
},
]
}

@ -0,0 +1,71 @@
module.exports ={
status:200,
type:2,
data:[
{
id:10002,
user:{
name:'蕊儿',
msg:{
age:'18',
sex:'女',
jifu:'混合型肌肤'
},
image:'https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409291611187.jpeg'
},
guanzhu:true,
},
{
id:10005,
user:{
name:'咪蒙',
msg:{
age:'25',
sex:'女',
jifu:'混合型肌肤'
},
image:'https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409241718425.jpeg'
},
guanzhu:true
},
{
id:10006,
user:{
name:'Lucy',
msg:{
age:'27',
sex:'女',
},
image:'https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409241717213.jpeg'
},
guanzhu:false
},
{
id:10007,
user:{
name:'Lily',
msg:{
age:'24',
sex:'女',
jifu:'混合型肌肤'
},
image:'https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409291612009.jpeg'
},
guanzhu:false
},
{
id:10008,
user:{
name:'泡泡',
msg:{
age:'23',
sex:'女',
},
image:'https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409291613120.jpeg'
},
guanzhu:false
},
]
}

@ -0,0 +1,58 @@
module.exports ={
status:200,
type:1,
data:[
{
id:10002,
user:{
name:'蕊儿',
msg:{
age:'18',
sex:'女',
jifu:'混合型肌肤'
},
image:'https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409291612009.jpeg'
},
guanzhu:true
},
{
id:10003,
user:{
name:'苪儿',
msg:{
age:'20',
sex:'女',
jifu:'混合型肌肤'
},
image:'https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409241718425.jpeg'
},
guanzhu:true
},
{
id:10004,
user:{
name:'丫丫',
msg:{
age:'23',
sex:'女',
},
image:'https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409291611187.jpeg'
},
guanzhu:true
},
{
id:10005,
user:{
name:'咪蒙',
msg:{
age:'25',
sex:'女',
jifu:'混合型肌肤'
},
image:'https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409291613120.jpeg'
},
guanzhu:true
},
]
}

@ -0,0 +1,29 @@
module.exports = {
status:200,
data:[
{
id:1,
title:'高姿 COGI匀净亮白保湿十全十美套盒基础护肤品套装补水礼盒美白',
pic:'https://h2.appsimg.com/a.appsimg.com/upload/merchandise/pdcvis/2019/11/12/23/73edc517-fcfa-4a21-99d6-d248d67e10dd_420_531.jpg',
author:'Asura',
},
{
id:2,
title:'法尔曼/法儿曼骨胶原修护面膜、强烈安利',
pic:'https://g-search2.alicdn.com/img/bao/uploaded/i4/i1/420250512/O1CN01xKJUDT1FeXMm8Tk2k_!!0-item_pic.jpg_250x250.jpg_.webp',
author:'花之伶7055',
},
{
id:3,
title:'黑五Eve Lom卸妆膏200ml含2条洁面巾 经典洁颜膏',
pic:'https://g-search2.alicdn.com/img/bao/uploaded/i4/i3/704040247/O1CN01Zcfoh81DhAOBcKr2b_!!704040247.png_250x250.jpg_.webp',
author:'低调的cop2',
},
{
id:4,
title:'Kiehls/科颜氏 集焕白亮肤淡斑精华液100ml 保湿美白淡斑',
pic:'https://g-search2.alicdn.com/img/bao/uploaded/i4/i3/143651606/O1CN011NjaYBhkhlczpMk_!!143651606.jpg_250x250.jpg_.webp',
author:'seven7jing',
},
]
}

@ -0,0 +1,99 @@
module.exports={
status:200,
id:10001,
data:{
topic:[
{
id:1,
user:'LiLi',
image:'http://img5.imgtn.bdimg.com/it/u=1752688678,1923407869&fm=26&gp=0.jpg',
head:'https://dss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=3776371029,3003632672&fm=111&gp=0.jpg',
collect:1365
},
{
id:2,
user:'Lucy',
image:'http://img3.imgtn.bdimg.com/it/u=1205493244,2500313171&fm=26&gp=0.jpg',
head:'https://dss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=1261082067,3854368916&fm=111&gp=0.jpg',
collect:2066
},
{
id:3,
user:'Lucky',
image:'https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=1711857604,2540263575&fm=26&gp=0.jpg',
head:'https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=1409542008,2775622124&fm=111&gp=0.jpg',
collect:1365
},
{
id:4,
user:'LiMei',
image:'https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1862662667,844384955&fm=11&gp=0.jpg',
head:'https://dss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=1777886574,1520979517&fm=111&gp=0.jpg',
collect:2066
}
],
product:[
{
id:108,
name:'REVLON露华浓持久控油保湿遮瑕粉底液30ML 防晒隔离',
image:'https://a.vpimg4.com/upload/merchandise/pdcvis/108668/2020/0203/86/1b196bfb-8d78-4cdb-9f81-56de4d20d26b.jpg',
price:158,
comment_num:200
},
{
id:111,
name:'完美日记单色腮红女胭脂盘提亮肤色裸妆自然晒红正品网红同款',
image:'http://h2.appsimg.com/a.appsimg.com/upload/merchandise/pdcvis/605294/2019/1204/141/b1cd8697-5081-4637-8e89-f38bbef71557_420_531.jpg',
price:139,
comment_num:150
},
{
id:115,
name:'卡姿兰(Carslan)大眼睛拾趣眼彩盘 02#狂欢玫瑰 14.5g(眼影盘 斩男盘 粉质细腻',
image:'https://img12.360buyimg.com/n7/jfs/t1/46313/2/5849/189362/5d36daeeE5adf06c0/1be3c6204d99f103.jpg',
price:139,
comment_num:150
},
{
id:201,
name:'法国贝德玛Bioderma舒妍多效洁肤液500ml (卸妆水 深层清洁 粉水 舒缓保湿',
image:'https://img11.360buyimg.com/n7/jfs/t1/106491/7/12757/176855/5e4fa982E2e674725/39da9d07b53af4ed.jpg',
price:139,
comment_num:150
},
{
id:207,
name:'旁氏(PONDS)米粹润泽洁面泡泡 卸妆洗面奶150ml',
image:'https://img10.360buyimg.com/n7/jfs/t1/103268/35/12382/143403/5e522d59E19557a74/4bbdb690f4a6a1e3.jpg',
price:139,
comment_num:888
},
{
id:302,
name:'范思哲VERSACE晶钻女士香水礼盒30ml [京东美妆,正品速达]进口大牌',
image:'https://img11.360buyimg.com/n7/jfs/t1/54038/38/16686/114010/5ddba62cEca779394/395920f060825667.jpg',
price:158,
comment_num:200
},
],
video:[
{
id:3,
user:'Lucky',
head:'https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=1409542008,2775622124&fm=111&gp=0.jpg',
time:'2019年12月31日',
video_src:'https://1251962819.vod2.myqcloud.com/54067453vodtransgzp1251962819/e31810847447398156828528978/v.f30.mp4'
},
{
id:4,
user:'LiMei',
head:'https://dss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=1777886574,1520979517&fm=111&gp=0.jpg',
time:'2020年1月1日',
video_src:'https://1251962819.vod2.myqcloud.com/54067453vodtransgzp1251962819/3cb9b21a5285890795643928551/v.f30.mp4'
}
],
}
}

@ -0,0 +1,577 @@
module.exports={
status:200,
data:[
// 化妆
{
searchName:'化妆',
cosmetics:[
{
id:101,
name:'魅可MAC子弹头经典唇膏【多色可选】小辣椒/正红色/脏橘色',
image:'https://a.vpimg2.com/upload/merchandise/pdcvis/2020/01/17/154/608599f4-b213-486f-b398-f3c1f2d649b7.jpg',
price:170,
comment_num:199
},
{
id:102,
name:'【璀璨星耀升级小黑管】红唇焰舞口红滋润烂番茄锦鲤色3.8g',
image:'https://a.vpimg4.com/upload/merchandise/pdcvis/110757/2019/1108/135/03b3317d-5435-4999-a628-a0a62b3a1596.jpg',
price:119,
comment_num:999
},
{
id:103,
name:'魅可MAC子弹头经典唇膏【多色可选】小辣椒/正红色/脏橘色',
image:'https://a.vpimg3.com/upload/merchandise/pdcimg/2019/04/12/107/70021251555039941586.jpg',
price:285,
comment_num:999
},
{
id:104,
name:'【鲜亮唇色 水润气色】粉色之恋口红 持久保湿丝滑唇樱桃豆沙色',
image:'https://a.vpimg4.com/upload/merchandise/pdcvis/2019/12/12/9/3554e784-5881-494e-ae13-a1bf36e6c5f9.jpg',
price:179,
comment_num:289
},
{
id:105,
name:'圣罗兰 迷魅纯漾亮采方管口红 Rouge Pur Couture 01',
image:'https://a.vpimg3.com/upload/merchandise/pdc/707/776/298158428632776707/1/3365440595477-110.jpg',
price:298,
comment_num:999
},
{
id:106,
name:'YSL圣罗兰黑管唇釉【多色可选】N406 N407',
image:'https://a.vpimg3.com/upload/merchandise/pdcimg/2019/07/04/34/210965421562205915016.jpg',
price:312,
comment_num:999
}
]
},
// 粉底
{
searchName:'粉底',
cosmetics:[
{
id:107,
name:'【华晨宇亲荐】FITme定制粉底液哑光版/水润版',
image:'https://a.vpimg4.com/upload/merchandise/pdcvis/108668/2020/0203/86/1b196bfb-8d78-4cdb-9f81-56de4d20d26b.jpg',
price:139,
comment_num:150
},
{
id:108,
name:'REVLON露华浓持久控油保湿遮瑕粉底液30ML 防晒隔离',
image:'https://a.vpimg4.com/upload/merchandise/pdcvis/108668/2020/0203/86/1b196bfb-8d78-4cdb-9f81-56de4d20d26b.jpg',
price:158,
comment_num:200
},
{
id:109,
name:'卡姿兰柔雾持久粉底液 哑光控油持久遮瑕非bb霜',
image:'https://a.vpimg3.com/upload/merchandise/pdcvis/606607/2019/0919/14/b7be4733-1849-4778-9631-722f19785b6e.jpg',
price:139,
comment_num:888
},
{
id:110,
name:'【王源粉底】恒放溢彩持色粉底液哑光控油',
image:'http://h2.appsimg.com/a.appsimg.com/upload/merchandise/pdcvis/108668/2019/1021/19/944760dd-3d36-48fc-9f62-c51b3ecacdbd_420_531.jpg',
price:278,
comment_num:999
}
]
},
// 腮红
{
searchName:'腮红',
cosmetics:[
{
id:111,
name:'完美日记单色腮红女胭脂盘提亮肤色裸妆自然晒红正品网红同款',
image:'http://h2.appsimg.com/a.appsimg.com/upload/merchandise/pdcvis/605294/2019/1204/141/b1cd8697-5081-4637-8e89-f38bbef71557_420_531.jpg',
price:139,
comment_num:150
},
{
id:112,
name:'卡姿兰【高光腮红 提亮气色】卡姿兰炫亮胭脂5.8g 定妆修容高光两用',
image:'http://h2.appsimg.com/a.appsimg.com/upload/merchandise/pdcvis/606607/2019/1016/90/4a1fd509-33b3-4a2f-aef6-c0f4648af3e7_420_531.jpg',
price:158,
comment_num:200
},
{
id:113,
name:'完美日记 丝缎双色腮红膏 元气少女感自然显色',
image:'http://h2.appsimg.com/a.appsimg.com/upload/merchandise/pdcvis/605294/2019/1204/56/191c7d37-f187-4146-b24f-75838a929848_420_531.jpg',
price:139,
comment_num:888
},
{
id:114,
name:'色彩地带【黄皮真爱 上脸显白】星辰焕颜单色腮红 胭脂腮红 高光两用',
image:'http://h2.appsimg.com/a.appsimg.com/upload/merchandise/pdcvis/610032/2020/0221/54/849dc1e8-f304-4f2a-86a2-e85f366cd6cc_420_531.jpg',
price:278,
comment_num:999
}
]
},
// 眼彩
{
searchName:'眼彩',
cosmetics:[
{
id:115,
name:'卡姿兰(Carslan)大眼睛拾趣眼彩盘 02#狂欢玫瑰 14.5g(眼影盘 斩男盘 粉质细腻',
image:'https://img12.360buyimg.com/n7/jfs/t1/46313/2/5849/189362/5d36daeeE5adf06c0/1be3c6204d99f103.jpg',
price:139,
comment_num:150
},
{
id:116,
name:'毛戈平MAOGEPING故宫IP碧日良辰多用眼彩盘眼影高光一体盘',
image:'https://img14.360buyimg.com/n7/jfs/t1/99275/29/10871/260930/5e25977dE05160b9d/c713934936c36c78.jpg',
price:158,
comment_num:200
},
{
id:117,
name:'毛戈平定制文创MAOGEPING碧日良辰多用眼彩盘眼影高光情人节礼物 601',
image:'https://img10.360buyimg.com/n7/jfs/t1/73816/5/15256/586144/5dceb4f2E4c7878a6/284ba44851af968d.png',
price:139,
comment_num:888
},
{
id:118,
name:'佩佩 大开眼界六色眼影盘 珠光眼彩 防水不易晕染 大地色 金棕 QS01蓝色系',
image:'https://img14.360buyimg.com/n7/jfs/t1/81398/31/7177/421072/5d550af0Ee356c64e/77d9c39979b76520.png',
price:278,
comment_num:999
}
]
},
// 眉笔
{
searchName:'眉笔',
cosmetics:[
{
id:120,
name:'卡姿兰Carslan自然塑形眉笔03#烟灰色 1g (耐汗 防晕染 持久 显色 新老包装',
image:'https://img10.360buyimg.com/n7/jfs/t1/68085/16/6081/59631/5d43968fE3a2c31f9/b673ac25525dc618.jpg',
price:139,
comment_num:150
},
{
id:121,
name:'玛丽黛佳MARIEDALGAR自然生动眉笔自营送替换装 05 棕色(彩妆 防水配方',
image:'https://img11.360buyimg.com/n7/jfs/t1/56100/34/2567/38211/5d06f529Ecbb769a7/45451290e07d2a50.jpg',
price:158,
comment_num:200
},
{
id:122,
name:'日本进口 资生堂(SHISEIDO) 六角眉笔 02号深咖色 1.2g/支 柔滑细腻',
image:'https://img11.360buyimg.com/n7/jfs/t1/43980/2/5413/16842/5cef7241E35b7da20/e1a262cc05c3e67e.jpg',
price:139,
comment_num:888
},
{
id:123,
name:'名创优品MINISO极细自动眉笔(棕色)防水防汗不晕妆 自然持久不脱',
image:'https://img10.360buyimg.com/n7/jfs/t1/95377/33/457/148396/5daeae23Eac761146/abc48d1b49de0449.jpg',
price:278,
comment_num:999
}
]
},
// 卸妆
{
searchName:'卸妆',
cosmetics:[
{
id:201,
name:'法国贝德玛Bioderma舒妍多效洁肤液500ml (卸妆水 深层清洁 粉水 舒缓保湿',
image:'https://img11.360buyimg.com/n7/jfs/t1/106491/7/12757/176855/5e4fa982E2e674725/39da9d07b53af4ed.jpg',
price:139,
comment_num:150
},
{
id:202,
name:'贝德玛Bioderma深层舒妍卸妆水 舒缓保湿粉水',
image:'https://img10.360buyimg.com/n7/jfs/t1942/78/594618999/59345/acbe65a6/5618a636N86011b83.jpg',
price:158,
comment_num:200
},
{
id:203,
name:'日本 芳珂FANCL无添加净化修复卸妆油 120ml 温和无刺激清洁毛孔',
image:'https://img14.360buyimg.com/n7/jfs/t2605/330/444023845/69969/f06b71f1/571459f6N82217539.jpg',
price:139,
comment_num:888
},
{
id:204,
name:'芭妮兰BANILA CO致柔卸妆膏100ml (又名:净柔卸妆膏经典款)网红粉罐温',
image:'https://img10.360buyimg.com/n7/jfs/t1/100855/11/12636/271615/5e51ff8cE203b80c8/1b640c54978cddcd.jpg',
price:278,
comment_num:999
}
]
},
// 洁面
{
searchName:'洁面',
cosmetics:[
{
id:205,
name:' 金盏花深层洁面泡沫 230ml',
image:'https://img13.360buyimg.com/n7/jfs/t3271/261/1904294255/152414/dbe48312/57d657f2N2189bdc6.jpg',
price:139,
comment_num:150
},
{
id:206,
name:'日本进口 资生堂(SHISEIDO) uno吾诺男士洗面奶 黑色款 130g/支 控油',
image:'https://img10.360buyimg.com/n7/jfs/t12916/94/1245227312/34984/79a8e1f1/5a1d100eNbe22996f.jpg',
price:158,
comment_num:200
},
{
id:207,
name:'旁氏(PONDS)米粹润泽洁面泡泡 卸妆洗面奶150ml',
image:'https://img10.360buyimg.com/n7/jfs/t1/103268/35/12382/143403/5e522d59E19557a74/4bbdb690f4a6a1e3.jpg',
price:139,
comment_num:888
},
{
id:208,
name:'美国进口 Elta MD 氨基酸洁面乳 207ml/瓶',
image:'https://img10.360buyimg.com/n7/jfs/t26929/334/2624827072/185269/e2ccd05a/5cd560c7N83f7d70c.jpg',
price:278,
comment_num:999
}
]
},
// T部护理
{
searchName:'T部护理',
cosmetics:[
{
id:209,
name:'倍轻松breo头部按摩器 idream3S 按摩仪 眼部按摩眼睛按摩热敷眼罩',
image:'https://img12.360buyimg.com/n7/jfs/t1/86081/1/11846/116076/5e3d0bf1E0a08bf4f/d11ca80ec1614de6.jpg',
price:139,
comment_num:150
},
{
id:210,
name:'倍轻松breo头部按摩器 头皮按摩仪 头皮护理器 龙爪手头部按摩爪',
image:'https://img12.360buyimg.com/n7/jfs/t1/88590/3/11713/115229/5e3d08f5Ec6e3de31/f447074fda83f66c.jpg',
price:158,
comment_num:200
},
{
id:211,
name:'倍轻松breo 头皮按摩器 Scalp 按摩爪 头皮护理龙抓手 头部按摩仪',
image:'https://img10.360buyimg.com/n7/jfs/t1/74803/37/15393/91334/5dca6536Eedd30d64/307977e9ddea58da.jpg',
price:139,
comment_num:888
},
{
id:212,
name:'米良品 日式洗头刷 清洁头皮止痒刷 头部按摩器头皮按摩刷子洗头神器去头屑头部',
image:'https://img13.360buyimg.com/n7/jfs/t1/48643/39/3730/83320/5d15eefcEb4803d23/9e3b798e3f2751f9.jpg',
price:278,
comment_num:999
}
]
},
// 面部护理
{
searchName:'面部护理',
cosmetics:[
{
id:213,
name:'瑞倪维儿Rinawale康婷凝水护肤套装 补水保湿控油滋养水乳霜 官方 面部护理',
image:'https://img13.360buyimg.com/n7/jfs/t1/102145/31/12594/386505/5e48bd2fEc1b0bf64/8729963289e85a50.jpg',
price:139,
comment_num:150
},
{
id:214,
name:'日本进口 资生堂(SHISEIDO) uno吾诺男士润肤乳 滋养型 160ml/瓶',
image:'https://img13.360buyimg.com/n7/jfs/t5281/255/2269502826/134783/800bb621/59195e12Ndec94ef2.jpg',
price:158,
comment_num:200
},
{
id:215,
name:'韩国进口 蒂佳婷(Dr.jart+) 深层护理灰色药丸面膜 5片/盒 控油收缩毛',
image:'https://img14.360buyimg.com/n7/jfs/t16246/147/1719090074/136478/47c7a491/5a5c7292Nb3199b62.jpg',
price:139,
comment_num:888
},
{
id:216,
name:'百雀羚套装女 草本精萃惊喜套装水乳面霜清爽补水保湿控油面部护理护',
image:'https://img11.360buyimg.com/n7/jfs/t1/100514/29/12556/164988/5e4f52d3E655e284f/a6eae758e6c83de6.jpg',
price:278,
comment_num:999
}
]
},
// 颈部护理
{
searchName:'颈部护理',
cosmetics:[
{
id:217,
name:'梵西双滚轮V型紧致美颈霜淡化颈纹按摩提拉颈部护理 滋润保湿护颈霜天鹅颈',
image:'https://img10.360buyimg.com/n7/jfs/t1/63478/20/8985/158802/5d6ce9ddEb271b611/e5cbeceb098d2bfc.jpg',
price:139,
comment_num:150
},
{
id:218,
name:'梵西双滚轮v型美颈霜颈部护理去淡化颈纹提拉紧致按摩脖子颈膜 自带按摩护颈霜',
image:'https://img11.360buyimg.com/n7/jfs/t1/93937/4/13062/190829/5e53358cE57a689ca/268c627f48c9d4d9.jpg',
price:158,
comment_num:200
},
{
id:219,
name:'LiLiA活力紧致提拉美颈霜去颈纹保湿颈膜贴脖子颈部护理滋润按摩颈纹霜护颈霜天',
image:'https://img11.360buyimg.com/n7/jfs/t1/84799/3/12830/117814/5e4e6d9bE3aa5e559/c005a9d186261fa9.jpg',
price:139,
comment_num:888
},
{
id:220,
name:'LiLiA活力紧致提拉美颈霜去颈纹保湿颈膜贴脖子颈部护理滋润按摩颈纹霜护颈霜天',
image:'https://img10.360buyimg.com/n7/jfs/t1/90968/11/13075/181680/5e52a45cE61ed552b/002cb487d2aa94d3.jpg',
price:278,
comment_num:999
}
]
},
// 眼部护理
{
searchName:'眼部护理',
cosmetics:[
{
id:221,
name:'SK-II大眼眼霜15g护肤套装化妆品礼盒礼盒内赠神仙水SK2眼部精华',
image:'https://img14.360buyimg.com/n7/jfs/t1/98793/25/12870/249295/5e52319eE33722a73/e6a83466f1b6ab3c.jpg',
price:139,
comment_num:150
},
{
id:222,
name:'云南白药热敷蒸汽眼罩30片 护眼贴眼部热敷 眼疲劳黑眼圈男女通用',
image:'https://img10.360buyimg.com/n7/jfs/t1/106289/4/10819/548401/5e217d6cE5ccfc0d1/cf709be15670581d.jpg',
price:158,
comment_num:200
},
{
id:223,
name:'好视力护眼贴 眼贴膜 缓解青少年 学生眼部疲劳 近视 眼部护理 36包/',
image:'https://img13.360buyimg.com/n7/jfs/t1/12121/16/15653/188602/5cb18041E09c361a0/50db6d623269ae3d.jpg',
price:139,
comment_num:888
},
{
id:224,
name:'珍视明洗眼液洗眼水眼部护理液舒缓双倍维生素清凉型500ml 珍视明暖春送护眼好',
image:'https://img12.360buyimg.com/n7/jfs/t1/103055/9/10796/112275/5e214a2dE8a12ce7b/22db89f610641b7f.jpg',
price:278,
comment_num:999
}
]
},
// 女士香水
{
searchName:'女士香水',
cosmetics:[
{
id:301,
name:'【顺丰送达 专柜正品】迪奥(Dior)香水女士真我 花漾甜心小姐漫舞女士香氛持久香',
image:'https://img12.360buyimg.com/n7/jfs/t1/105242/10/12109/144419/5e43e324E253b04d4/214c2be941a4a606.jpg',
price:139,
comment_num:150
},
{
id:302,
name:'范思哲VERSACE晶钻女士香水礼盒30ml [京东美妆,正品速达]进口大牌',
image:'https://img11.360buyimg.com/n7/jfs/t1/54038/38/16686/114010/5ddba62cEca779394/395920f060825667.jpg',
price:158,
comment_num:200
},
{
id:303,
name:'【专柜正品】Dior/迪奥女士香水小样套装礼盒礼物 甜心+花漾+魅惑+真我淡香+浓',
image:'https://img13.360buyimg.com/n7/jfs/t1/56396/36/5488/217724/5d3306a4Ec4b3ab60/ae17c5b033a52eee.jpg',
price:139,
comment_num:888
},
{
id:304,
name:'兰蔻LANCOME殿堂香水茉莉香型30ml化妆品套装香水',
image:'https://img14.360buyimg.com/n7/jfs/t1/90139/33/12728/446512/5e4e5fedE732d12bd/c78c80a4116ee57d.jpg',
price:278,
comment_num:999
}
]
},
// 男士香水
{
searchName:'男士香水',
cosmetics:[
{
id:305,
name:'菲拉格慕Ferragamo蓝色经典淡香水50ml男士香水淡香持久淡雅自然清新优雅',
image:'https://img11.360buyimg.com/n7/jfs/t1/55313/38/3506/220426/5d1467d3Eb0f10cca/5efc7d43e761874a.jpg',
price:139,
comment_num:150
},
{
id:306,
name:'【第二件1元】花之物语男士香水持久淡香清新自然男人味男女可用香氛',
image:'https://img11.360buyimg.com/n7/jfs/t1/64824/34/7047/90293/5d514407Ee40b50aa/afd7c2f06f1e7ee5.jpg',
price:158,
comment_num:200
},
{
id:307,
name:'范思哲(VERSACE)男士香水 30ml 香氛 清新时尚 低调典雅 深沉性感 ',
image:'https://img13.360buyimg.com/n7/jfs/t1/50822/9/3190/65294/5d104779E43384bc3/2fd5f60604909f5d.jpg',
price:139,
comment_num:888
},
{
id:308,
name:'【下单即发】CHANEL香奈儿蔚蓝男士淡香水 蔚蓝男士香水香精版10ml限100',
image:'https://img13.360buyimg.com/n7/jfs/t1/106422/39/9908/58346/5e13e978E8c004a67/5a55843c0b767de6.jpg',
price:278,
comment_num:999
}
]
},
// 迷你香水
{
searchName:'迷你香水',
cosmetics:[
{
id:309,
name:'缪缪MIU MIU莹铃女士香氛 香水 50ml+女士香氛迷你7.5ml',
image:'https://img13.360buyimg.com/n7/jfs/t1/39288/2/12332/38894/5d3821fdE8278786e/fc20ec08678fa908.jpg',
price:139,
comment_num:150
},
{
id:310,
name:'雅芳AVON 雅芳走珠香水9ml小黑裙红裙金群今日明日永恒迷你香水女士淡香',
image:'https://img11.360buyimg.com/n7/jfs/t18217/237/1043975648/88396/d23f1262/5ab89049N80f4604e.jpg',
price:158,
comment_num:200
},
{
id:311,
name:'左颜右色 蔚蓝男士淡香水香氛2ml 男士古龙水持久淡香 ',
image:'https://img12.360buyimg.com/n7/jfs/t1/952/15/9959/92782/5bad9958Ec805a8a0/f2f9cc32f5189512.jpg',
price:139,
comment_num:888
},
{
id:312,
name:'冰希黎Boitown 3ml香水1支装 便携式随身装 迷你试管香水 随机香味非入仓',
image:'https://img12.360buyimg.com/n7/jfs/t1/24699/9/15843/67594/5cb3fd2fE56fd46f1/9dbff8ae91e8dca0.jpg',
price:278,
comment_num:999
}
]
},
// 香体走珠
{
searchName:'香体走珠',
cosmetics:[
{
id:313,
name:'安利Amway 雅蜜清爽香体走珠露 走珠止汗露100ml 送暖贴一片',
image:'https://img12.360buyimg.com/n7/jfs/t19753/261/2303094144/92874/25c5c7ca/5aec58f5N60069eec.jpg',
price:139,
comment_num:150
},
{
id:314,
name:'阿迪达斯adidas男士走珠 止汗抑汗 清爽舒缓 持久留香香体液 冰点50ml ',
image:'https://img10.360buyimg.com/n7/jfs/t2905/288/669193080/65251/9a38b976/572073d1Nd0289968.jpg',
price:158,
comment_num:200
},
{
id:315,
name:'妮维雅(NIVEA)男士海洋酷爽爽身走珠液50ml',
image:'https://img13.360buyimg.com/n7/jfs/t1/101674/8/12954/176206/5e50f6d2E184394f5/3095fa3aad8d5b64.jpg',
price:139,
comment_num:888
},
{
id:316,
name:'阿迪达斯adidas女士走珠 止汗抑汗清新干爽 全天候香体持久留香香体液 魅惑50ml',
image:'https://img12.360buyimg.com/n7/jfs/t2872/57/680567358/61539/28997c36/5720765bN51844129.jpg',
price:278,
comment_num:999
}
]
},
]
}

@ -0,0 +1,19 @@
module.exports = {
status:200,
data:[
{
id:1,
title:'香奈儿五号香水',
price:'598',
address:'天猫',
img:'https://img.alicdn.com/bao/uploaded/i2/4207517744/O1CN01Mw4d07274ncK13BOv_!!4207517744.jpg'
},
{
id:2,
title:'香奈儿丝绒口红',
price:'598',
address:'天猫',
img:'https://img.alicdn.com/imgextra/i1/251970057/O1CN01ULf0XV1CI99qEMT7Y_!!0-saturn_solar.jpg_220x220.jpg'
}
]
}

@ -0,0 +1,680 @@
module.exports={
status:200,
data:[
// 化妆
{
id:1001,
title:'化妆',
cosmetics:[
{
id:101,
name:'魅可MAC子弹头经典唇膏【多色可选】小辣椒/正红色/脏橘色',
image:'https://a.vpimg2.com/upload/merchandise/pdcvis/2020/01/17/154/608599f4-b213-486f-b398-f3c1f2d649b7.jpg',
price:170,
comment_num:199
},
{
id:102,
name:'【璀璨星耀升级小黑管】红唇焰舞口红滋润烂番茄锦鲤色3.8g',
image:'https://a.vpimg4.com/upload/merchandise/pdcvis/110757/2019/1108/135/03b3317d-5435-4999-a628-a0a62b3a1596.jpg',
price:119,
comment_num:999
},
{
id:103,
name:'魅可MAC子弹头经典唇膏【多色可选】小辣椒/正红色/脏橘色',
image:'https://a.vpimg3.com/upload/merchandise/pdcimg/2019/04/12/107/70021251555039941586.jpg',
price:285,
comment_num:999
},
{
id:104,
name:'【鲜亮唇色 水润气色】粉色之恋口红 持久保湿丝滑唇樱桃豆沙色',
image:'https://a.vpimg4.com/upload/merchandise/pdcvis/2019/12/12/9/3554e784-5881-494e-ae13-a1bf36e6c5f9.jpg',
price:179,
comment_num:289
},
{
id:105,
name:'圣罗兰 迷魅纯漾亮采方管口红 Rouge Pur Couture 01',
image:'https://a.vpimg3.com/upload/merchandise/pdc/707/776/298158428632776707/1/3365440595477-110.jpg',
price:298,
comment_num:999
},
{
id:106,
name:'YSL圣罗兰黑管唇釉【多色可选】N406 N407',
image:'https://a.vpimg3.com/upload/merchandise/pdcimg/2019/07/04/34/210965421562205915016.jpg',
price:312,
comment_num:999
}
]
},
// 粉底
{
id:1002,
title:'粉底',
cosmetics:[
{
id:107,
name:'【华晨宇亲荐】FITme定制粉底液哑光版/水润版',
image:'https://a.vpimg4.com/upload/merchandise/pdcvis/108668/2020/0203/86/1b196bfb-8d78-4cdb-9f81-56de4d20d26b.jpg',
price:139,
comment_num:150
},
{
id:108,
name:'REVLON露华浓持久控油保湿遮瑕粉底液30ML 防晒隔离',
image:'https://a.vpimg4.com/upload/merchandise/pdcvis/108668/2020/0203/86/1b196bfb-8d78-4cdb-9f81-56de4d20d26b.jpg',
price:158,
comment_num:200
},
{
id:109,
name:'卡姿兰柔雾持久粉底液 哑光控油持久遮瑕非bb霜',
image:'https://a.vpimg3.com/upload/merchandise/pdcvis/606607/2019/0919/14/b7be4733-1849-4778-9631-722f19785b6e.jpg',
price:139,
comment_num:888
},
{
id:110,
name:'【王源粉底】恒放溢彩持色粉底液哑光控油',
image:'http://h2.appsimg.com/a.appsimg.com/upload/merchandise/pdcvis/108668/2019/1021/19/944760dd-3d36-48fc-9f62-c51b3ecacdbd_420_531.jpg',
price:278,
comment_num:999
}
]
},
// 腮红
{
id:1003,
title:'腮红',
cosmetics:[
{
id:111,
name:'完美日记单色腮红女胭脂盘提亮肤色裸妆自然晒红正品网红同款',
image:'http://h2.appsimg.com/a.appsimg.com/upload/merchandise/pdcvis/605294/2019/1204/141/b1cd8697-5081-4637-8e89-f38bbef71557_420_531.jpg',
price:139,
comment_num:150
},
{
id:112,
name:'卡姿兰【高光腮红 提亮气色】卡姿兰炫亮胭脂5.8g 定妆修容高光两用',
image:'http://h2.appsimg.com/a.appsimg.com/upload/merchandise/pdcvis/606607/2019/1016/90/4a1fd509-33b3-4a2f-aef6-c0f4648af3e7_420_531.jpg',
price:158,
comment_num:200
},
{
id:113,
name:'完美日记 丝缎双色腮红膏 元气少女感自然显色',
image:'http://h2.appsimg.com/a.appsimg.com/upload/merchandise/pdcvis/605294/2019/1204/56/191c7d37-f187-4146-b24f-75838a929848_420_531.jpg',
price:139,
comment_num:888
},
{
id:114,
name:'色彩地带【黄皮真爱 上脸显白】星辰焕颜单色腮红 胭脂腮红 高光两用',
image:'http://h2.appsimg.com/a.appsimg.com/upload/merchandise/pdcvis/610032/2020/0221/54/849dc1e8-f304-4f2a-86a2-e85f366cd6cc_420_531.jpg',
price:278,
comment_num:999
}
]
},
// 眼彩
{
id:1004,
title:'眼彩',
cosmetics:[
{
id:115,
name:'卡姿兰(Carslan)大眼睛拾趣眼彩盘 02#狂欢玫瑰 14.5g(眼影盘 斩男盘 粉质细腻',
image:'https://img12.360buyimg.com/n7/jfs/t1/46313/2/5849/189362/5d36daeeE5adf06c0/1be3c6204d99f103.jpg',
price:139,
comment_num:150
},
{
id:116,
name:'毛戈平MAOGEPING故宫IP碧日良辰多用眼彩盘眼影高光一体盘',
image:'https://img14.360buyimg.com/n7/jfs/t1/99275/29/10871/260930/5e25977dE05160b9d/c713934936c36c78.jpg',
price:158,
comment_num:200
},
{
id:117,
name:'毛戈平定制文创MAOGEPING碧日良辰多用眼彩盘眼影高光情人节礼物 601',
image:'https://img10.360buyimg.com/n7/jfs/t1/73816/5/15256/586144/5dceb4f2E4c7878a6/284ba44851af968d.png',
price:139,
comment_num:888
},
{
id:118,
name:'佩佩 大开眼界六色眼影盘 珠光眼彩 防水不易晕染 大地色 金棕 QS01蓝色系',
image:'https://img14.360buyimg.com/n7/jfs/t1/81398/31/7177/421072/5d550af0Ee356c64e/77d9c39979b76520.png',
price:278,
comment_num:999
}
]
},
// 眉笔
{
id:1005,
title:'眉笔',
cosmetics:[
{
id:120,
name:'卡姿兰Carslan自然塑形眉笔03#烟灰色 1g (耐汗 防晕染 持久 显色 新老包装',
image:'https://img10.360buyimg.com/n7/jfs/t1/68085/16/6081/59631/5d43968fE3a2c31f9/b673ac25525dc618.jpg',
price:139,
comment_num:150
},
{
id:121,
name:'玛丽黛佳MARIEDALGAR自然生动眉笔自营送替换装 05 棕色(彩妆 防水配方',
image:'https://img11.360buyimg.com/n7/jfs/t1/56100/34/2567/38211/5d06f529Ecbb769a7/45451290e07d2a50.jpg',
price:158,
comment_num:200
},
{
id:122,
name:'日本进口 资生堂(SHISEIDO) 六角眉笔 02号深咖色 1.2g/支 柔滑细腻',
image:'https://img11.360buyimg.com/n7/jfs/t1/43980/2/5413/16842/5cef7241E35b7da20/e1a262cc05c3e67e.jpg',
price:139,
comment_num:888
},
{
id:123,
name:'名创优品MINISO极细自动眉笔(棕色)防水防汗不晕妆 自然持久不脱',
image:'https://img10.360buyimg.com/n7/jfs/t1/95377/33/457/148396/5daeae23Eac761146/abc48d1b49de0449.jpg',
price:278,
comment_num:999
}
]
},
// 卸妆
{
id:2001,
title:'卸妆',
cosmetics:[
{
id:201,
name:'法国贝德玛Bioderma舒妍多效洁肤液500ml (卸妆水 深层清洁 粉水 舒缓保湿',
image:'https://img11.360buyimg.com/n7/jfs/t1/106491/7/12757/176855/5e4fa982E2e674725/39da9d07b53af4ed.jpg',
price:139,
comment_num:150
},
{
id:202,
name:'贝德玛Bioderma深层舒妍卸妆水 舒缓保湿粉水',
image:'https://img10.360buyimg.com/n7/jfs/t1942/78/594618999/59345/acbe65a6/5618a636N86011b83.jpg',
price:158,
comment_num:200
},
{
id:203,
name:'日本 芳珂FANCL无添加净化修复卸妆油 120ml 温和无刺激清洁毛孔',
image:'https://img14.360buyimg.com/n7/jfs/t2605/330/444023845/69969/f06b71f1/571459f6N82217539.jpg',
price:139,
comment_num:888
},
{
id:204,
name:'芭妮兰BANILA CO致柔卸妆膏100ml (又名:净柔卸妆膏经典款)网红粉罐温',
image:'https://img10.360buyimg.com/n7/jfs/t1/100855/11/12636/271615/5e51ff8cE203b80c8/1b640c54978cddcd.jpg',
price:278,
comment_num:999
}
]
},
// 洁面
{
id:2002,
title:'洁面',
cosmetics:[
{
id:205,
name:' 金盏花深层洁面泡沫 230ml',
image:'https://img13.360buyimg.com/n7/jfs/t3271/261/1904294255/152414/dbe48312/57d657f2N2189bdc6.jpg',
price:139,
comment_num:150
},
{
id:206,
name:'日本进口 资生堂(SHISEIDO) uno吾诺男士洗面奶 黑色款 130g/支 控油',
image:'https://img10.360buyimg.com/n7/jfs/t12916/94/1245227312/34984/79a8e1f1/5a1d100eNbe22996f.jpg',
price:158,
comment_num:200
},
{
id:207,
name:'旁氏(PONDS)米粹润泽洁面泡泡 卸妆洗面奶150ml',
image:'https://img10.360buyimg.com/n7/jfs/t1/103268/35/12382/143403/5e522d59E19557a74/4bbdb690f4a6a1e3.jpg',
price:139,
comment_num:888
},
{
id:208,
name:'美国进口 Elta MD 氨基酸洁面乳 207ml/瓶',
image:'https://img10.360buyimg.com/n7/jfs/t26929/334/2624827072/185269/e2ccd05a/5cd560c7N83f7d70c.jpg',
price:278,
comment_num:999
}
]
},
// T部护理
{
id:2003,
title:'T部护理',
cosmetics:[
{
id:209,
name:'倍轻松breo头部按摩器 idream3S 按摩仪 眼部按摩眼睛按摩热敷眼罩',
image:'https://img12.360buyimg.com/n7/jfs/t1/86081/1/11846/116076/5e3d0bf1E0a08bf4f/d11ca80ec1614de6.jpg',
price:139,
comment_num:150
},
{
id:210,
name:'倍轻松breo头部按摩器 头皮按摩仪 头皮护理器 龙爪手头部按摩爪',
image:'https://img12.360buyimg.com/n7/jfs/t1/88590/3/11713/115229/5e3d08f5Ec6e3de31/f447074fda83f66c.jpg',
price:158,
comment_num:200
},
{
id:211,
name:'倍轻松breo 头皮按摩器 Scalp 按摩爪 头皮护理龙抓手 头部按摩仪',
image:'https://img10.360buyimg.com/n7/jfs/t1/74803/37/15393/91334/5dca6536Eedd30d64/307977e9ddea58da.jpg',
price:139,
comment_num:888
},
{
id:212,
name:'米良品 日式洗头刷 清洁头皮止痒刷 头部按摩器头皮按摩刷子洗头神器去头屑头部',
image:'https://img13.360buyimg.com/n7/jfs/t1/48643/39/3730/83320/5d15eefcEb4803d23/9e3b798e3f2751f9.jpg',
price:278,
comment_num:999
}
]
},
// 面部护理
{
id:2004,
title:'面部护理',
cosmetics:[
{
id:213,
name:'瑞倪维儿Rinawale康婷凝水护肤套装 补水保湿控油滋养水乳霜 官方 面部护理',
image:'https://img13.360buyimg.com/n7/jfs/t1/102145/31/12594/386505/5e48bd2fEc1b0bf64/8729963289e85a50.jpg',
price:139,
comment_num:150
},
{
id:214,
name:'日本进口 资生堂(SHISEIDO) uno吾诺男士润肤乳 滋养型 160ml/瓶',
image:'https://img13.360buyimg.com/n7/jfs/t5281/255/2269502826/134783/800bb621/59195e12Ndec94ef2.jpg',
price:158,
comment_num:200
},
{
id:215,
name:'韩国进口 蒂佳婷(Dr.jart+) 深层护理灰色药丸面膜 5片/盒 控油收缩毛',
image:'https://img14.360buyimg.com/n7/jfs/t16246/147/1719090074/136478/47c7a491/5a5c7292Nb3199b62.jpg',
price:139,
comment_num:888
},
{
id:216,
name:'百雀羚套装女 草本精萃惊喜套装水乳面霜清爽补水保湿控油面部护理护',
image:'https://img11.360buyimg.com/n7/jfs/t1/100514/29/12556/164988/5e4f52d3E655e284f/a6eae758e6c83de6.jpg',
price:278,
comment_num:999
}
]
},
// 颈部护理
{
id:2005,
title:'颈部护理',
cosmetics:[
{
id:217,
name:'梵西双滚轮V型紧致美颈霜淡化颈纹按摩提拉颈部护理 滋润保湿护颈霜天鹅颈',
image:'https://img10.360buyimg.com/n7/jfs/t1/63478/20/8985/158802/5d6ce9ddEb271b611/e5cbeceb098d2bfc.jpg',
price:139,
comment_num:150
},
{
id:218,
name:'梵西双滚轮v型美颈霜颈部护理去淡化颈纹提拉紧致按摩脖子颈膜 自带按摩护颈霜',
image:'https://img11.360buyimg.com/n7/jfs/t1/93937/4/13062/190829/5e53358cE57a689ca/268c627f48c9d4d9.jpg',
price:158,
comment_num:200
},
{
id:219,
name:'LiLiA活力紧致提拉美颈霜去颈纹保湿颈膜贴脖子颈部护理滋润按摩颈纹霜护颈霜天',
image:'https://img11.360buyimg.com/n7/jfs/t1/84799/3/12830/117814/5e4e6d9bE3aa5e559/c005a9d186261fa9.jpg',
price:139,
comment_num:888
},
{
id:220,
name:'LiLiA活力紧致提拉美颈霜去颈纹保湿颈膜贴脖子颈部护理滋润按摩颈纹霜护颈霜天',
image:'https://img10.360buyimg.com/n7/jfs/t1/90968/11/13075/181680/5e52a45cE61ed552b/002cb487d2aa94d3.jpg',
price:278,
comment_num:999
}
]
},
// 眼部护理
{
id:2006,
title:'眼部护理',
cosmetics:[
{
id:221,
name:'SK-II大眼眼霜15g护肤套装化妆品礼盒礼盒内赠神仙水SK2眼部精华',
image:'https://img14.360buyimg.com/n7/jfs/t1/98793/25/12870/249295/5e52319eE33722a73/e6a83466f1b6ab3c.jpg',
price:139,
comment_num:150
},
{
id:222,
name:'云南白药热敷蒸汽眼罩30片 护眼贴眼部热敷 眼疲劳黑眼圈男女通用',
image:'https://img10.360buyimg.com/n7/jfs/t1/106289/4/10819/548401/5e217d6cE5ccfc0d1/cf709be15670581d.jpg',
price:158,
comment_num:200
},
{
id:223,
name:'好视力护眼贴 眼贴膜 缓解青少年 学生眼部疲劳 近视 眼部护理 36包/',
image:'https://img13.360buyimg.com/n7/jfs/t1/12121/16/15653/188602/5cb18041E09c361a0/50db6d623269ae3d.jpg',
price:139,
comment_num:888
},
{
id:224,
name:'珍视明洗眼液洗眼水眼部护理液舒缓双倍维生素清凉型500ml 珍视明暖春送护眼好',
image:'https://img12.360buyimg.com/n7/jfs/t1/103055/9/10796/112275/5e214a2dE8a12ce7b/22db89f610641b7f.jpg',
price:278,
comment_num:999
}
]
},
// 女士香水
{
id:3001,
title:'女士香水',
cosmetics:[
{
id:301,
name:'【顺丰送达 专柜正品】迪奥(Dior)香水女士真我 花漾甜心小姐漫舞女士香氛持久香',
image:'https://img12.360buyimg.com/n7/jfs/t1/105242/10/12109/144419/5e43e324E253b04d4/214c2be941a4a606.jpg',
price:139,
comment_num:150
},
{
id:302,
name:'范思哲VERSACE晶钻女士香水礼盒30ml [京东美妆,正品速达]进口大牌',
image:'https://img11.360buyimg.com/n7/jfs/t1/54038/38/16686/114010/5ddba62cEca779394/395920f060825667.jpg',
price:158,
comment_num:200
},
{
id:303,
name:'【专柜正品】Dior/迪奥女士香水小样套装礼盒礼物 甜心+花漾+魅惑+真我淡香+浓',
image:'https://img13.360buyimg.com/n7/jfs/t1/56396/36/5488/217724/5d3306a4Ec4b3ab60/ae17c5b033a52eee.jpg',
price:139,
comment_num:888
},
{
id:304,
name:'兰蔻LANCOME殿堂香水茉莉香型30ml化妆品套装香水',
image:'https://img14.360buyimg.com/n7/jfs/t1/90139/33/12728/446512/5e4e5fedE732d12bd/c78c80a4116ee57d.jpg',
price:278,
comment_num:999
}
]
},
// 男士香水
{
id:3002,
title:'男士香水',
cosmetics:[
{
id:305,
name:'菲拉格慕Ferragamo蓝色经典淡香水50ml男士香水淡香持久淡雅自然清新优雅',
image:'https://img11.360buyimg.com/n7/jfs/t1/55313/38/3506/220426/5d1467d3Eb0f10cca/5efc7d43e761874a.jpg',
price:139,
comment_num:150
},
{
id:306,
name:'【第二件1元】花之物语男士香水持久淡香清新自然男人味男女可用香氛',
image:'https://img11.360buyimg.com/n7/jfs/t1/64824/34/7047/90293/5d514407Ee40b50aa/afd7c2f06f1e7ee5.jpg',
price:158,
comment_num:200
},
{
id:307,
name:'范思哲(VERSACE)男士香水 30ml 香氛 清新时尚 低调典雅 深沉性感 ',
image:'https://img13.360buyimg.com/n7/jfs/t1/50822/9/3190/65294/5d104779E43384bc3/2fd5f60604909f5d.jpg',
price:139,
comment_num:888
},
{
id:308,
name:'【下单即发】CHANEL香奈儿蔚蓝男士淡香水 蔚蓝男士香水香精版10ml限100',
image:'https://img13.360buyimg.com/n7/jfs/t1/106422/39/9908/58346/5e13e978E8c004a67/5a55843c0b767de6.jpg',
price:278,
comment_num:999
}
]
},
// 迷你香水
{
id:3003,
title:'迷你香水',
cosmetics:[
{
id:309,
name:'缪缪MIU MIU莹铃女士香氛 香水 50ml+女士香氛迷你7.5ml',
image:'https://img13.360buyimg.com/n7/jfs/t1/39288/2/12332/38894/5d3821fdE8278786e/fc20ec08678fa908.jpg',
price:139,
comment_num:150
},
{
id:310,
name:'雅芳AVON 雅芳走珠香水9ml小黑裙红裙金群今日明日永恒迷你香水女士淡香',
image:'https://img11.360buyimg.com/n7/jfs/t18217/237/1043975648/88396/d23f1262/5ab89049N80f4604e.jpg',
price:158,
comment_num:200
},
{
id:311,
name:'左颜右色 蔚蓝男士淡香水香氛2ml 男士古龙水持久淡香 ',
image:'https://img12.360buyimg.com/n7/jfs/t1/952/15/9959/92782/5bad9958Ec805a8a0/f2f9cc32f5189512.jpg',
price:139,
comment_num:888
},
{
id:312,
name:'冰希黎Boitown 3ml香水1支装 便携式随身装 迷你试管香水 随机香味非入仓',
image:'https://img12.360buyimg.com/n7/jfs/t1/24699/9/15843/67594/5cb3fd2fE56fd46f1/9dbff8ae91e8dca0.jpg',
price:278,
comment_num:999
}
]
},
// 香体走珠
{
id:3004,
title:'香体走珠',
cosmetics:[
{
id:313,
name:'安利Amway 雅蜜清爽香体走珠露 走珠止汗露100ml 送暖贴一片',
image:'https://img12.360buyimg.com/n7/jfs/t19753/261/2303094144/92874/25c5c7ca/5aec58f5N60069eec.jpg',
price:139,
comment_num:150
},
{
id:314,
name:'阿迪达斯adidas男士走珠 止汗抑汗 清爽舒缓 持久留香香体液 冰点50ml ',
image:'https://img10.360buyimg.com/n7/jfs/t2905/288/669193080/65251/9a38b976/572073d1Nd0289968.jpg',
price:158,
comment_num:200
},
{
id:315,
name:'妮维雅(NIVEA)男士海洋酷爽爽身走珠液50ml',
image:'https://img13.360buyimg.com/n7/jfs/t1/101674/8/12954/176206/5e50f6d2E184394f5/3095fa3aad8d5b64.jpg',
price:139,
comment_num:888
},
{
id:316,
name:'阿迪达斯adidas女士走珠 止汗抑汗清新干爽 全天候香体持久留香香体液 魅惑50ml',
image:'https://img12.360buyimg.com/n7/jfs/t2872/57/680567358/61539/28997c36/5720765bN51844129.jpg',
price:278,
comment_num:999
}
]
},
{
id: 3005,
title: '眼影盘',
cosmetics: [
{
id: 317,
name: '3CE九色眼影盘九宫格橘棕',
image: 'https://img.alicdn.com/imgextra/i1/2207935000590/O1CN01uoaFej1GEGR5j79Dl_!!2207935000590.png',
price: 68,
comment_num: 0,
stock: 45
},
{
id: 318,
name: 'Judydoll橘朵七巧板玩趣眼影盘大地色腮红高光修容原木盘限定新手',
image: 'https://www.keai.com.cn/data/attachment/forum/202303/15/131150o1jmawvl04u9ss1l.jpg',
price: 78,
comment_num: 0,
stock: 23
},
{
id: 319,
name: 'CHANEL香奈儿米色时尚眼部彩盘 白桃仙女眼影warm',
image: 'https://img1.tianhong.cn/upload/bbc/sku/2022/5/21/aBkHdYCA36adLquIxslJlNbv_600x600.jpg',
price: 660,
comment_num: 0,
stock: 65
},
{
id: 320,
name: 'Joocyee酵色四色眼影爆闪珠光蜜粉化妆新手一盘眼BY专属ZB',
image: 'https://cbu01.alicdn.com/img/ibank/O1CN01elB2tk1ogq5UJ3gWd_!!2106915255-0-cib.310x310.jpg',
price: 46,
comment_num: 0,
stock: 77
}
]
},
{
id: 3006,
title: '口红',
cosmetics: [
{
id: 321,
name: 'Chanel 香奈儿口红炫亮魅力唇膏丝绒系列 34#精致 哑光 不易脱色',
image: 'https://imgservice.suning.cn/uimg1/b2c/image/MWLpzBk3GMPoo5TQ5y9mMQ==.jpg',
price: 400,
comment_num: 0,
stock: 36
},
{
id: 322,
name: 'Joocyee酵色晶冻口红唇釉唇冻镜面滋润水光显白礼物506',
image: 'https://img.alicdn.com/i4/2828799103/O1CN01am0RoR2H7EA02y5Ju_!!2828799103.jpg',
price: 100,
comment_num: 0,
stock: 54
}
]
},
{
id: 3007,
title: '粉底液',
cosmetics: [
{
id: 323,
name: 'CHANEL 香奈儿柔光持妆粉底液 持久遮瑕 修饰无暇',
image: 'https://img1.selfimg.com.cn/uedvoguecms/2020/08/26/1598429580_lzwKGo.jpg',
price: 650,
comment_num: 0,
stock: 42
},
{
id: 324,
name: 'DW粉底液遮瑕持久不脱妆抗氧化服帖控油保湿隔离正品',
image: 'https://img1.wushang.com/pn/wsec-img1/2019/12/28/c5413c96-8c4d-475c-b884-14317162dea8.jpg?x-oss-process=image/resize,w_800,h_800',
price: 140,
comment_num: 0,
stock: 89
},
{
id: 325,
name: '兰蔻持妆粉底液 持久持妆干皮油皮遮瑕不卡粉控油轻薄透气底妆',
image: 'https://img2.wushang.com/img/2018/10/24/170937176403872857664483_800X800.jpg',
price: 470,
comment_num: 0,
stock: 31
}
]
}
]
}

@ -0,0 +1,81 @@
module.exports={
status:200,
data:[
{
id:101,
title:'迪奥烈艳蓝金哑光唇膏 999',
image:'http://h2.appsimg.com/a.appsimg.com/upload/merchandise/pdcvis/2020/02/20/118/13f5cc79-9283-4225-b6ad-17834512a18a-50_420_531.jpg',
cankao_price:'¥299/只',
gongxiao:'滋,提亮肤色',
zhuanggan:'自然',
season:'春、夏、秋、冬',
volume:'3.5g',
otherWeb:[
{
name:'天天网',
price:'¥150.00',
shop:'¥300.00',
comment_num:12312
},
{
name:'淘宝网',
price:'¥170.00',
shop:'¥300.00',
comment_num:12312
}
],
comment:{
star:'4.0',
user:[
{
id:5,
head:'https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409241717213.jpeg',
name:'徐娇',
msg:'第一次买大牌口红,因为平时很少化妆所以也不会用口红。只是突然觉得好像女人没有口红真的没点女人样,所以就买了一只来用用。收到货试了一下还挺好看的,希望是正品吧,现在都喜欢在唯品会上买东西。反正颜色很满意,物流给力,快递小哥服务也很好。'
},
{
id:6,
head:'https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409241718425.jpeg',
name:'丫丫',
msg:'一直用圣罗兰的,妹妹说这个款式不错,很火,就买了三只试试,颜色是我想要的,有股淡淡的香味,不是特别浓,很喜欢,涂上去保持的时间还是挺长的,嘴巴也不会很干,大爱'
}
]
},
topic:[
{
id:1,
user:'LiLi',
image:'https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409241720003.jpeg',
head:'https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409241717213.jpeg',
collect:1365
},
{
id:2,
user:'Lucy',
image:'https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409241722752.jpeg',
head:'https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409241719043.jpeg',
collect:2066
}
],
related:[
{
id:102,
name:'【璀璨星耀升级小黑管】红唇焰舞口红滋润烂番茄锦鲤色3.8g',
image:'https://a.vpimg4.com/upload/merchandise/pdcvis/110757/2019/1108/135/03b3317d-5435-4999-a628-a0a62b3a1596.jpg',
price:119,
comment_num:999
},
{
id:103,
name:'魅可MAC子弹头经典唇膏【多色可选】小辣椒/正红色/脏橘色',
image:'https://a.vpimg3.com/upload/merchandise/pdcimg/2019/04/12/107/70021251555039941586.jpg',
price:285,
comment_num:999
},
]
}
]
}

@ -0,0 +1,27 @@
[
{
"username": "admin",
"password": "123",
"img": "https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409241719043.jpeg"
},
{
"username": "test1",
"password": "123",
"img": "https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409241719043.jpeg"
},
{
"username": "test2",
"password": "123456",
"img": "https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409241719043.jpeg"
},
{
"username": "test3",
"password": "123456",
"img": "https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409241719043.jpeg"
},
{
"username": "test5",
"password": "123456",
"img": "https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409241719043.jpeg"
}
]

@ -0,0 +1,32 @@
const express = require("express")
const app = express();
const bodyParser = require("body-parser");
const router = require("./router")
var debug = require('debug')('my-application');
// var cors = require('cors');
app.use(express.static('upload'))
app.use(bodyParser.urlencoded({
extended: true
}));
app.use("/",router);
// 设置静态资源目录
app.use('/uploads', express.static("D:/loveUpload")); // 设置静态资源访问路径
app.all('*', function(req, res, next) {
res.header("Access-Control-Allow-Origin", "http://localhost:3300");
res.header("Access-Control-Allow-Headers", "Content-Type,Access-Token");
res.header("Access-Control-Allow-Methods","PUT,POST,GET,DELETE,OPTIONS");
res.header("X-Powered-By",' 3.2.1');
res.header("Content-Type", "application/json;charset=utf-8");
next();
})
app.listen(3300,function(){
debug(3300);
})

@ -0,0 +1,19 @@
{
"restartable": "rs",
"ignore": [
".git",
".svn",
"node_modules/**/node_modules"
],
"verbose": true,
"execMap": {
"js": "node --harmony"
},
"watch": [
],
"env": {
"NODE_ENV": "development"
},
"ext": "js json"
}

@ -0,0 +1,261 @@
const express = require("express");
const router = express.Router();
const url = require('url');
const fs = require('fs');
// const multer=require('multer');
const userService = require('./userService');
// 类目详细信息
const sorts = require('./data/sorts')
const sortsContent = require('./data/sorts/sortsContent')
// 我的收藏
const collection = require('./data/mycollect')
// 粉丝和关注
const guanzhu = require('./data/gzandfs/gz.js')
const fensi = require('./data/gzandfs/fs.js')
const picData = require('./data/find');
const imgData = require('./data/huatibang')
const daren = require('./data/daren');
const shangpin = require('./data/shangpin')
const faqidianjin = require('./data/faqidianjin');
const bannerList = require('./upload/banner');
const picList = require('./upload/picture');
const tipList = require('./upload/dialy')
const userInfo = require('./data/user');
const vcr = require('./upload/vcr.js')
// 1.首页轮播图接口
router.get("/banner", (res, req) => {
req.send(bannerList)
})
// 2.图片接口
router.get("/pic", (res, req) => {
req.send(picList)
})
router.get("/vcr", (res, req) => {
req.send(vcr)
})
//3.日记接口
router.get("/tip", (res, req) => {
req.send(tipList)
})
router.post('/login', function (res, req) {
let username = res.body.username;
let password = res.body.password;
console.log(username, password);
try {
userService.loginUser(username, password);
req.send({
status: 200,
msg: '登录成功'
})
} catch (error) {
req.send({
msg: error.message
})
}
})
// 注册接口
router.post('/register', (res,req) => {
const { username, password, confirmPassword } = res.body;
try {
userService.registerUser(username, password, confirmPassword);
req.send({
status: 200,
msg: '注册成功'
})
} catch (error) {
req.send({
msg: error.message
})
}
});
router.get('/find', function (res, req) {
req.send(picData);
})
// 搜索类目列表
router.get('/sorts', function (res, req) {
var sorts_id = res.query.id;
var data = {}
for (var i = 0; i < sorts.data.length; i++) {
if (sorts.data[i].id == sorts_id) {
data = {
status: 200,
data: sorts.data[i]
}
break;
}
}
if (data) {
req.send(data);
} else {
req.send({
status: 200,
msg: 'error'
})
}
})
// 搜索化妆品列表
router.get('/searchDesc', function (req, res) {
const keyword = req.query.keyword || '';
const bottomPrice = parseFloat(req.query.bottomPrice) || 0;
const highestPrice = parseFloat(req.query.highestPrice) || Infinity;
let filteredCosmetics = [];
sorts.data.forEach(category => {
const matchingCosmetics = category.cosmetics.filter(item => {
const matchesKeyword = item.name.includes(keyword);
const matchesPrice = item.price >= bottomPrice && item.price <= highestPrice;
return matchesKeyword && matchesPrice;
});
// 如果有匹配的化妆品,添加到结果数组
if (matchingCosmetics.length > 0) {
matchingCosmetics.forEach(item2 => {
filteredCosmetics.push(item2);
})
}
});
if (filteredCosmetics.length > 0) {
res.send({
status: 200,
data: filteredCosmetics
});
} else {
res.send({
status: 200,
msg: 'error'
});
}
});
// 商品信息
router.get('/sorts/getcontent', function (res, req) {
var product_id = res.query.id;
var resultList = {};
sortsContent.data.forEach((item) => {
if (item.id == product_id) {
resultList = item;
}
})
if (resultList) {
req.send({
status: 200,
data: resultList
})
} else {
req.send({
status: 200,
msg: 'error'
})
}
})
// 我的收藏
router.get('/mine/collection', function (res, req) {
var id = res.query.id;
if (id == collection.id) {
req.send(collection)
} else {
req.send({
status: 200,
msg: 'error'
})
}
})
router.get('/mine/gzandfs', function (res, req) {
var type = res.query.id;
if (type == 1) {
req.send(guanzhu)
} else if (type == 2) {
req.send(fensi)
} else {
req.send({
status: 200,
msg: 'error'
})
}
})
router.post('/login', function (res, req) {
let username = res.body.username;
let password = res.body.password;
console.log(username, password);
if (username == 'admin' && password == '123') {
req.send({
status: 200,
msg: '登录成功'
})
} else {
req.send({
msg: '用户名或密码错误'
})
}
})
router.get('/find', function (res, req) {
req.send(picData);
});
router.get('/find/img', function (res, req) {
req.send(imgData);
});
router.get('/find/daren', function (res, req) {
req.send(daren);
})
router.get('/find/shangpin', function (res, req) {
req.send(shangpin);
});
router.get('/find/faqidianjin', function (res, req) {
let username = res.query.username;
console.log(username);
var data =null;
userInfo.forEach(item => {
console.log(item.username == username)
if (item.username == username) {
data = item
}
})
if (data) {
req.send({
status: 200,
data: data
})
} else {
req.send({
status: 200,
msg: '用户信息不存在'
})
}
})
router.get('/find/faqidianjin/info',function (res,req) {
let id = res.query.id;
console.log(id);
if (id==1001){
req.send(faqidianjin);
}else{
req.send({
msg:'id信息错误'
})
}
})
module.exports = router

@ -0,0 +1,9 @@
module.exports={
data:[
"https://d.vpimg1.com/upcb/2020/02/15/44/ias_158175392499477_570x273_90.jpg",
"https://d.vpimg1.com/upcb/2020/02/14/111/ias_1d4dcf15-7ce7-457f-b25b-8a47199d9f24_570x273_90.jpg",
"https://c.vpimg1.com/upcb/2019/11/26/161/ias_92bd46e5-2a83-4ae0-acc1-15a4d2d2e062_570x273_90.jpg",
"https://d.vpimg1.com/upcb/2019/11/25/87/ias_eee7eb59-050a-4779-bc09-9de05d6530b2_570x273_90.jpg",
"https://c.vpimg1.com/upcb/2020/02/23/129/ias_158242239512159_570x273_90.jpg",
]
}

@ -0,0 +1,59 @@
module.exports={
data:[
{
uname:"有星残梦缺",
pic:"http://img5.imgtn.bdimg.com/it/u=4059766319,2806237120&fm=11&gp=0.jpg",
tip:"听我的,早睡早起是一切好习惯的开端 !亲身经验,治疗失眠的最好方法就是早起,持续早起,无论晚上几点睡都坚持早起,刚开始几天比较难熬,时间久了,睡眠不足晚上就自然想睡觉了,而且早醒一段时间后就能养成习惯,每天早上定时会醒,早睡早起的习惯很容易就能养成。(早起困的话可以喝一杯黑咖啡,有助于消除水肿,还有利于减肥哦)"
},
{
uname:"飘过的云朵",
pic:"https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=2523367370,2853990818&fm=11&gp=0.jpg",
tip:"坚持每日阅读对我最直观的影响至少在与人聊天的时候会多一点谈资不是只是愣眼听别人说看到有意义的事情亦或是在知乎答题的时候也能说说自己的看法自己的看法得到别人的认可是一件很满足的事也让自己不再是一个一味只会刷666的人书读的多了也就不会迷茫了。有时候在外面带书不方便亦或是没有kindle推荐一个我很喜欢的APP藏书馆特别好用藏书很全强推 !"
},
{
uname:"一寸時光",
pic:"https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3520829157,2818678681&fm=26&gp=0.jpg",
tip:"坚持每日运动,可以加大身体的代谢,持续运动一段时间以后,不仅身上的肉会变结实,体态会变好,皮肤也都会好很多,还会变白,亲测!"
},
{
uname:"雅含、淋漓雨",
pic:"https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3834724881,840937219&fm=26&gp=0.jpg",
tip:"无论是女孩子和男孩子都要注意自己的形象啊,虽说好看的皮囊千篇一律,但你连皮囊都没有,别人又怎么会去看你的灵魂,买几件舒适简单的衣服,把自己打扮的干净利落,就能从最小的投资里取得最大的收益"
},
{
uname:"萤火之森",
pic:"https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2266800977,401804421&fm=26&gp=0.jpg",
tip:"划重点,男孩子女孩子都要学会护肤,有鸡皮肤的人可以每天都涂身体乳,最多一个月你就能直观的看到皮肤好了很多,皮肤不好的人不建议在脸上做太多功夫,爱长痘的人,除了医生推荐的药,不建议自己乱用,一般药物都含有抗生素,长时间使用药物皮肤会变的敏感脆弱,我舅舅是医生,他告诉我长痘的时候注意清洁防止感染就好,所以每次长痘,我就一支红霉素软膏就够了,其他的祛痘药品越用皮肤越敏感,都被我收起来了"
},
{
uname:"薄荷蓝少年i",
pic:"https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=2574696713,3212904650&fm=26&gp=0.jpg",
tip:"一白遮百丑大家都听过吧~答主在这条路上可是做了很多努力的呢,最后才发现美白的最好方法就是从根源下手,大家出门的时候,一定要记得防晒哦,口罩太阳伞都是防晒必备神器哦还有就是涂防晒霜啦,防晒霜答主推荐三种我觉得值得购买的:安耐晒、碧柔、资生堂其中安耐晒最好用啦。就是太贵了,防晒又用的很快,学生党有点伤不起(哭泣),现在答主常用的是碧柔,也超级好用,除了下雨的时候记得要经常涂哦当然如果你已经变黑了答主就推荐你用珍珠粉啦(纯天然美白必备神器)"
},
{
uname:"以光年",
pic:"https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=4021142563,2308737414&fm=26&gp=0.jpg",
tip:"戒糖,少吃精制碳水,饼干面包蛋糕奶茶之类的。大碗吃菜,小碗吃饭,多吃一些粗粮,少吃糖类食谱,吃过多的糖肯定会导致长痘,奶也会导致长痘,早起一杯温水,平时可以多喝一点豆浆,对皮肤好,也会变白"
},
{
uname:"欺烟",
pic:"https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=4091052037,977736261&fm=26&gp=0.jpg",
tip:"平时可以适当的看一点有意义的视频,把用在抖音玩游戏的时间放在接受不同的人不同的思想上。在周末亦或是某个空闲的晚上,蜷缩在自己的小窝里,捧着对生活的热忱,去看上一部老电影,一期有意义的综艺,亦或是一集纪录片,安安静静的享受生活,都是与自己灵魂进行一场浪漫的的对话。"
},
{
uname:"离岛",
pic:"https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=1646317202,731927220&fm=26&gp=0.jpg",
tip:"早起喝一杯柠檬蜂蜜水,皮肤真的会变好的哦。我以前喜欢在冰箱里冷藏一下再喝,虽然很好喝,但是长期喝凉的对女生身体不好,而且容易长小肚子,后来就喝常温的了"
},
{
uname:"离盏",
pic:"https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2842862507,3740365021&fm=26&gp=0.jpg",
tip:"一周贴一次美白牙贴。很多人都在说美白牙贴对牙齿有腐蚀性,但是它的效果真的很明显,基本上一个月就可以看得到。特意找了两张角度相同的照片对比。"
},
]
}

@ -0,0 +1,55 @@
module.exports={
data:[
{
uname:"南馆潇湘",
u_num:"125",
pic:'https://c.vpimg1.com/upcb/2020/02/23/129/ias_158242239512159_570x273_90.jpg'
},
{
uname:"且听风铃",
u_num:"188",
pic:'https://d.vpimg1.com/upcb/2019/11/28/67/ias_35019f79-c84b-420e-aef7-0cd5d786970e_570x273_90.jpg',
},
{
uname:"若即若离",
u_num:"230",
pic:'https://d.vpimg1.com/upcb/2020/02/19/107/ias_158212795335445_570x273_90.jpg'
},
{
uname:"暮色上浓妆",
u_num:"96",
pic:'https://d.vpimg1.com/upcb/2020/02/17/50/ias_33ed2745-cd62-4876-be5c-a3a3331315d6_570x273_90.jpg'
},
{
uname:"指上菁芜",
u_num:"305",
pic:'https://d.vpimg1.com/upcb/2020/01/19/112/ias_929eccdf-1c06-490b-9c0b-c7864bd74eaa_570x273_90.jpg',
},
{
uname:"被冲淡的悲伤",
u_num:"109",
pic:'https://d.vpimg1.com/upcb/2019/12/04/45/ias_438f6ea4-5fbf-4c37-9c36-7d59a3e7f742_570x273_90.jpg',
},
{
uname:"一语呢喃",
u_num:"160",
pic:'https://d.vpimg1.com/upcb/2020/02/05/152/ias_384ea974-cf40-4366-93c7-26413029ec9c_570x273_90.jpg',
},
{
uname:"浅浅嫣然笑",
u_num:"66",
pic:'https://d.vpimg1.com/upcb/2019/11/25/87/ias_eee7eb59-050a-4779-bc09-9de05d6530b2_570x273_90.jpg',
},
{
uname:"漫步云海涧",
u_num:"399",
pic:'https://c.vpimg1.com/upcb/2020/01/07/136/ias_c1f916aa-4a10-41c3-a3b9-ef6b8b928742_570x273_90.jpg',
},
{
uname:"闪耀旳白梦",
u_num:"330",
pic:'https://d.vpimg1.com/upcb/2019/11/28/167/ias_f1585148-a462-4425-a9ca-9869dac8f585_570x273_90.jpg',
},
]
}

@ -0,0 +1,389 @@
module.exports = {
status: 200,
data: [
{
src: "http://localhost:8080/api/uploads/11.mp4",
id: 1,
content: "白开水无花果妆超详细跟练教程",
pic:
"http://localhost:8080/api/uploads/11.png",
type: "koreanWater"
},
{
src: "http://localhost:8080/api/uploads/12.mp4",
id: 2,
content: "纯新手通勤白开水妆容",
pic:
"http://localhost:8080/api/uploads/12.png",
type: "koreanWater"
},
{
src: "http://localhost:8080/api/uploads/13.mp4",
id: 3,
content: "伪素颜美女公式",
pic:
"http://localhost:8080/api/uploads/13.png",
type: "koreanWater"
},
{
src: "http://localhost:8080/api/uploads/14.mp4",
id: 4,
content: "新手万能韩妆跟练公式轻松get韩女氛围感",
pic:
"http://localhost:8080/api/uploads/14.png",
type: "koreanWater"
},
{
src: "http://localhost:8080/api/uploads/21.mp4",
id: 5,
content: "港风美女速成|妆容+发型+穿搭解析 经典复古妆容永不过时",
pic:
"http://localhost:8080/api/uploads/21.png",
type: "lightHongKong"
},
{
src: "http://localhost:8080/api/uploads/22.mp4",
id: 6,
content: "跟着王祖贤画英气港风妆容|深邃眉眼氛围感",
pic:
"http://localhost:8080/api/uploads/22.png",
type: "lightHongKong"
},
{
src: "http://localhost:8080/api/uploads/23.mp4",
id: 7,
content: "普通长相怎么抄成港风美女!学邱淑贞打通变美出圈捷径",
pic:
"http://localhost:8080/api/uploads/23.png",
type: "lightHongKong"
},
{
src: "http://localhost:8080/api/uploads/24.mp4",
id: 8,
content: "让你速成港风美女!详解复古妆容化妆思路",
pic:
"http://localhost:8080/api/uploads/24.png",
type: "lightHongKong"
},
{
src: "http://localhost:8080/api/uploads/31.mp4",
id: 9,
content: "黑金小烟熏妆",
pic:
"http://localhost:8080/api/uploads/31.png",
type: "smoky"
},
{
src: "http://localhost:8080/api/uploads/32.mp4",
id: 10,
content: "黑金烟熏妆",
pic:
"http://localhost:8080/api/uploads/32.png",
type: "smoky"
},
{
src: "http://localhost:8080/api/uploads/33.mp4",
id: 11,
content: "美出next level的黑金烟熏一次就成功",
pic:
"http://localhost:8080/api/uploads/33.png",
type: "smoky"
},
{
src: "http://localhost:8080/api/uploads/34.mp4",
id: 12,
content: "傻瓜式烟熏妆教程|看两遍练三遍包会",
pic:
"http://localhost:8080/api/uploads/34.png",
type: "smoky"
},
{
src: "http://localhost:8080/api/uploads/41.mp4",
id: 13,
content: "方脸一眼惊艳的浓颜意式风情妆!真的很高级!",
pic:
"http://localhost:8080/api/uploads/41.png",
type: "italianStyle"
},
{
src: "http://localhost:8080/api/uploads/42.mp4",
id: 14,
content: "菱形脸一眼惊艳的浓情意式妆",
pic:
"http://localhost:8080/api/uploads/42.png",
type: "italianStyle"
},
{
src: "http://localhost:8080/api/uploads/43.mp4",
id: 15,
content: "普通人画意式风情妆 能变浓颜美女?",
pic:
"http://localhost:8080/api/uploads/43.png",
type: "italianStyle"
},
{
src: "http://localhost:8080/api/uploads/44.mp4",
id: 16,
content: "普通人画意式妆真的美很大!扁平大脸也能立体混血",
pic:
"http://localhost:8080/api/uploads/44.png",
type: "italianStyle"
},
{
src: "http://localhost:8080/api/uploads/51.mp4",
id: 17,
content: "淡颜内双天菜妆秒get韩系氧气少女感",
pic:
"http://localhost:8080/api/uploads/51.jpg",
type: "coolOxygen"
},
{
src: "http://localhost:8080/api/uploads/52.mp4",
id: 18,
content: "韩系氧气感裸妆我悟啦!!!淡颜新手教科书妆容!",
pic:
"http://localhost:8080/api/uploads/52.jpg",
type: "coolOxygen"
},
{
src: "http://localhost:8080/api/uploads/53.mp4",
id: 19,
content: "看不腻的清冷淡妆",
pic:
"http://localhost:8080/api/uploads/53.jpg",
type: "coolOxygen"
},
{
src: "http://localhost:8080/api/uploads/54.mp4",
id: 20,
content: "氧气感100%粉雾甜桃妆!新手友好详细淡妆教程",
pic:
"http://localhost:8080/api/uploads/54.jpg",
type: "coolOxygen"
},
{
src: "http://localhost:8080/api/uploads/61.mp4",
id: 21,
content: "沉浸式化一个气质裸咖妆",
pic:
"http://localhost:8080/api/uploads/61.jpg",
type: "autumnMilkCoffee"
},
{
src: "http://localhost:8080/api/uploads/62.mp4",
id: 22,
content: "初秋和燕麦冰咖妆真的不要太搭",
pic:
"http://localhost:8080/api/uploads/62.jpg",
type: "autumnMilkCoffee"
},
{
src: "http://localhost:8080/api/uploads/63.mp4",
id: 23,
content: "方圆脸来画这个可可奶咖妆!!初秋氛围感~",
pic:
"http://localhost:8080/api/uploads/63.jpg",
type: "autumnMilkCoffee"
},
{
src: "http://localhost:8080/api/uploads/64.mp4",
id: 24,
content: "温柔感奶fufu的栗子奶咖妆容",
pic:
"http://localhost:8080/api/uploads/64.jpg",
type: "autumnMilkCoffee"
},
{
src: "http://localhost:8080/api/uploads/71.mp4",
id: 25,
content: "快速出门~超适合新手的小猫妆",
pic:
"http://localhost:8080/api/uploads/71.jpg",
type: "wildCat"
},
{
src: "http://localhost:8080/api/uploads/72.mp4",
id: 26,
content: "轻混血网感小猫妆",
pic:
"http://localhost:8080/api/uploads/72.jpg",
type: "wildCat"
},
{
src: "http://localhost:8080/api/uploads/73.mp4",
id: 27,
content: "亚裔小野猫!化来化去还是猫眼最上镜",
pic:
"http://localhost:8080/api/uploads/73.jpg",
type: "wildCat"
},
{
src: "http://localhost:8080/api/uploads/74.mp4",
id: 28,
content: "一看就会!钓系小猫妆容",
pic:
"http://localhost:8080/api/uploads/74.jpg",
type: "wildCat"
},
{
src: "http://localhost:8080/api/uploads/81.mp4",
id: 29,
content: "沉浸式化妆第二弹~韩系轻氧白开水妆容",
pic:
"http://localhost:8080/api/uploads/81.jpg",
type: "saltOxygen"
},
{
src: "http://localhost:8080/api/uploads/82.mp4",
id: 30,
content: "还在氛围浓妆?清爽盐系一样换头",
pic:
"http://localhost:8080/api/uploads/82.jpg",
type: "saltOxygen"
},
{
src: "http://localhost:8080/api/uploads/83.mp4",
id: 31,
content: "普通女孩的盐系气质觉醒",
pic:
"http://localhost:8080/api/uploads/83.jpg",
type: "saltOxygen"
},
{
src: "http://localhost:8080/api/uploads/84.mp4",
id: 32,
content: "清冷感 盐系氧气妆容",
pic:
"http://localhost:8080/api/uploads/84.jpg",
type: "saltOxygen"
},
{
src: "http://localhost:8080/api/uploads/91.mp4",
id: 33,
content: "法式妆容化妆思路|轻松成为出圈的独特气质美女",
pic:
"http://localhost:8080/api/uploads/91.png",
type: "frenchRomantic"
},
{
src: "http://localhost:8080/api/uploads/92.mp4",
id: 34,
content: "法式异域混血妆|硬控路人脸2分钟",
pic:
"http://localhost:8080/api/uploads/92.png",
type: "frenchRomantic"
},
{
src: "http://localhost:8080/api/uploads/93.mp4",
id: 35,
content: "慵懒法式妆|毫不费力的吸引眼球",
pic:
"http://localhost:8080/api/uploads/93.png",
type: "frenchRomantic"
},
{
src: "http://localhost:8080/api/uploads/94.mp4",
id: 36,
content: "轻法式 温柔慵懒·柔雾摩卡妆",
pic:
"http://localhost:8080/api/uploads/94.png",
type: "frenchRomantic"
},
{
src: "http://localhost:8080/api/uploads/101.mp4",
id: 37,
content: "柔雾丝绒:日常奶油肌妆容教程",
pic:
"http://localhost:8080/api/uploads/101.png",
type: "creamy"
},
{
src: "http://localhost:8080/api/uploads/102.mp4",
id: 38,
content: "甜心奶油妆:打造无辜大眼的秘诀",
pic:
"http://localhost:8080/api/uploads/102.png",
type: "creamy"
},
{
src: "http://localhost:8080/api/uploads/103.mp4",
id: 39,
content: "奶油肌的温柔力量:春季浪漫妆容",
pic:
"http://localhost:8080/api/uploads/103.png",
type: "creamy"
},
{
src: "http://localhost:8080/api/uploads/104.mp4",
id: 40,
content: "光泽奶油肌:夏季清新裸妆指南",
pic:
"http://localhost:8080/api/uploads/104.png",
type: "creamy"
},
{
src: "http://localhost:8080/api/uploads/111.mp4",
id: 41,
content: "透明感满分:日系清新透明妆教程",
pic:
"http://localhost:8080/api/uploads/111.png",
type: "japaneseTransparent"
},
{
src: "http://localhost:8080/api/uploads/112.mp4",
id: 42,
content: "日式纯净美学:打造透明感妆容的秘诀",
pic:
"http://localhost:8080/api/uploads/112.png",
type: "japaneseTransparent"
},
{
src: "http://localhost:8080/api/uploads/113.mp4",
id: 43,
content: "素颜也精致:日系透明妆的日常演绎",
pic:
"http://localhost:8080/api/uploads/113.png",
type: "japaneseTransparent"
},
{
src: "http://localhost:8080/api/uploads/114.mp4",
id: 44,
content: "轻透如晨露:日系透明妆容的春夏风尚",
pic:
"http://localhost:8080/api/uploads/114.png",
type: "japaneseTransparent"
},
{
src: "http://localhost:8080/api/uploads/121.mp4",
id: 45,
content: "新中式芙蓉感淡妆 美到我觉得自己换了一个人!",
pic:
"http://localhost:8080/api/uploads/121.png",
type: "newChinese"
},
{
src: "http://localhost:8080/api/uploads/122.mp4",
id: 46,
content: "演绎独特东方魅力,引领当下时尚潮流,邂逅新中式潮韵妆容",
pic:
"http://localhost:8080/api/uploads/122.png",
type: "newChinese"
},
{
src: "http://localhost:8080/api/uploads/123.mp4",
id: 47,
content: "新中式妆容 中国人自带中国韵",
pic:
"http://localhost:8080/api/uploads/123.png",
type: "newChinese"
},
{
src: "http://localhost:8080/api/uploads/124.mp4",
id: 48,
content: "红妆素裹:新中式妆容的优雅魅力",
pic:
"http://localhost:8080/api/uploads/124.png",
type: "newChinese"
}
]
}

@ -0,0 +1,46 @@
const fs = require('fs');
const path = require('path');
const userDataPath = path.join(__dirname, 'data', 'user.json');
// 读取用户数据
const readUserData = () => {
return JSON.parse(fs.readFileSync(userDataPath, 'utf-8') || '[]');
};
// 写入用户数据
const writeUserData = (data) => {
fs.writeFileSync(userDataPath, JSON.stringify(data, null, 2));
};
// 注册用户
const registerUser = (username, password, confirmPassword) => {
const users = readUserData();
if (!username || !password || password !== confirmPassword) {
throw new Error('无效的输入');
}
if (users.find(user => user.username === username)) {
throw new Error('用户已存在');
}
users.push({ username, password,img:"https://oy-bucket.obs.cn-south-1.myhuaweicloud.com/img//202409241719043.jpeg" });
writeUserData(users);
};
// 登录用户
const loginUser = (username, password) => {
const users = readUserData();
const user = users.find(user => user.username === username && user.password === password);
if (!user) {
throw new Error('用户名或密码错误');
}
return user; // 返回用户信息(可选)
};
module.exports = {
registerUser,
loginUser
};

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../acorn/bin/acorn" "$@"
ret=$?
else
node "$basedir/../acorn/bin/acorn" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\acorn\bin\acorn" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../acorn/bin/acorn" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../acorn/bin/acorn" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../ansi-html/bin/ansi-html" "$@"
ret=$?
else
node "$basedir/../ansi-html/bin/ansi-html" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\ansi-html\bin\ansi-html" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../ansi-html/bin/ansi-html" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../ansi-html/bin/ansi-html" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../atob/bin/atob.js" "$@"
ret=$?
else
node "$basedir/../atob/bin/atob.js" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\atob\bin\atob.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../atob/bin/atob.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../atob/bin/atob.js" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../autoprefixer/bin/autoprefixer" "$@"
ret=$?
else
node "$basedir/../autoprefixer/bin/autoprefixer" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\autoprefixer\bin\autoprefixer" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../autoprefixer/bin/autoprefixer" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../autoprefixer/bin/autoprefixer" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../babylon/bin/babylon.js" "$@"
ret=$?
else
node "$basedir/../babylon/bin/babylon.js" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\babylon\bin\babylon.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../babylon/bin/babylon.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../babylon/bin/babylon.js" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../browserslist/cli.js" "$@"
ret=$?
else
node "$basedir/../browserslist/cli.js" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\browserslist\cli.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../browserslist/cli.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../browserslist/cli.js" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../cssesc/bin/cssesc" "$@"
ret=$?
else
node "$basedir/../cssesc/bin/cssesc" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\cssesc\bin\cssesc" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../cssesc/bin/cssesc" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../cssesc/bin/cssesc" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../errno/cli.js" "$@"
ret=$?
else
node "$basedir/../errno/cli.js" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\errno\cli.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../errno/cli.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../errno/cli.js" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../esprima/bin/esparse.js" "$@"
ret=$?
else
node "$basedir/../esprima/bin/esparse.js" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\esprima\bin\esparse.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../esprima/bin/esparse.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../esprima/bin/esparse.js" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../esprima/bin/esvalidate.js" "$@"
ret=$?
else
node "$basedir/../esprima/bin/esvalidate.js" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\esprima\bin\esvalidate.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../esprima/bin/esvalidate.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../esprima/bin/esvalidate.js" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../he/bin/he" "$@"
ret=$?
else
node "$basedir/../he/bin/he" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\he\bin\he" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../he/bin/he" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../he/bin/he" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../cli-highlight/bin/highlight" "$@"
ret=$?
else
node "$basedir/../cli-highlight/bin/highlight" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\cli-highlight\bin\highlight" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../cli-highlight/bin/highlight" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../cli-highlight/bin/highlight" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../html-minifier/cli.js" "$@"
ret=$?
else
node "$basedir/../html-minifier/cli.js" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\html-minifier\cli.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../html-minifier/cli.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../html-minifier/cli.js" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../image-size/bin/image-size.js" "$@"
ret=$?
else
node "$basedir/../image-size/bin/image-size.js" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\image-size\bin\image-size.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../image-size/bin/image-size.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../image-size/bin/image-size.js" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../import-local/fixtures/cli.js" "$@"
ret=$?
else
node "$basedir/../import-local/fixtures/cli.js" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\import-local\fixtures\cli.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../import-local/fixtures/cli.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../import-local/fixtures/cli.js" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../js-yaml/bin/js-yaml.js" "$@"
ret=$?
else
node "$basedir/../js-yaml/bin/js-yaml.js" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\js-yaml\bin\js-yaml.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../jsesc/bin/jsesc" "$@"
ret=$?
else
node "$basedir/../jsesc/bin/jsesc" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\jsesc\bin\jsesc" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../jsesc/bin/jsesc" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../jsesc/bin/jsesc" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../json5/lib/cli.js" "$@"
ret=$?
else
node "$basedir/../json5/lib/cli.js" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\json5\lib\cli.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../json5/lib/cli.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../json5/lib/cli.js" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../less/bin/lessc" "$@"
ret=$?
else
node "$basedir/../less/bin/lessc" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\less\bin\lessc" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../less/bin/lessc" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../less/bin/lessc" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../loose-envify/cli.js" "$@"
ret=$?
else
node "$basedir/../loose-envify/cli.js" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\loose-envify\cli.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../loose-envify/cli.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../loose-envify/cli.js" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../miller-rabin/bin/miller-rabin" "$@"
ret=$?
else
node "$basedir/../miller-rabin/bin/miller-rabin" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\miller-rabin\bin\miller-rabin" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../miller-rabin/bin/miller-rabin" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../miller-rabin/bin/miller-rabin" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../mime/cli.js" "$@"
ret=$?
else
node "$basedir/../mime/cli.js" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\mime\cli.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../mime/cli.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../mime/cli.js" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../mkdirp/bin/cmd.js" "$@"
ret=$?
else
node "$basedir/../mkdirp/bin/cmd.js" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\mkdirp\bin\cmd.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../mkdirp/bin/cmd.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../mkdirp/bin/cmd.js" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../multicast-dns/cli.js" "$@"
ret=$?
else
node "$basedir/../multicast-dns/cli.js" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\multicast-dns\cli.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../multicast-dns/cli.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../multicast-dns/cli.js" $args
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,15 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../opener/bin/opener-bin.js" "$@"
ret=$?
else
node "$basedir/../opener/bin/opener-bin.js" "$@"
ret=$?
fi
exit $ret

@ -0,0 +1,17 @@
@ECHO off
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
"%_prog%" "%dp0%\..\opener\bin\opener-bin.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

@ -0,0 +1,18 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
& "$basedir/node$exe" "$basedir/../opener/bin/opener-bin.js" $args
$ret=$LASTEXITCODE
} else {
& "node$exe" "$basedir/../opener/bin/opener-bin.js" $args
$ret=$LASTEXITCODE
}
exit $ret

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save