diff --git a/MeShopping/.gitignore b/MeShopping/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..dc4e6353bf3caf74c5953d0bec81c72a3635bf33 --- /dev/null +++ b/MeShopping/.gitignore @@ -0,0 +1,9 @@ +/node_modules +/local.properties +/.idea +**/build +/.hvigor +.cxx +/.clangd +/.clang-format +/.clang-tidy \ No newline at end of file diff --git a/MeShopping/AppScope/app.json5 b/MeShopping/AppScope/app.json5 new file mode 100644 index 0000000000000000000000000000000000000000..d5e7ec8002f8c35530fcf5136264ed20e7b403ea --- /dev/null +++ b/MeShopping/AppScope/app.json5 @@ -0,0 +1,11 @@ +{ + "app": { + "bundleName": "com.small.meshopping", + "vendor": "example", + "versionCode": 1000000, + "versionName": "1.0.0", + "icon": "$media:app_icon", + "label": "$string:app_name", + "distributedNotificationEnabled": true + } +} diff --git a/MeShopping/AppScope/resources/base/element/string.json b/MeShopping/AppScope/resources/base/element/string.json new file mode 100644 index 0000000000000000000000000000000000000000..624263bfff209a008fc13f803a5d24c92b15762e --- /dev/null +++ b/MeShopping/AppScope/resources/base/element/string.json @@ -0,0 +1,8 @@ +{ + "string": [ + { + "name": "app_name", + "value": "MeShopping" + } + ] +} diff --git a/MeShopping/AppScope/resources/base/media/app_icon.png b/MeShopping/AppScope/resources/base/media/app_icon.png new file mode 100644 index 0000000000000000000000000000000000000000..ce307a8827bd75456441ceb57d530e4c8d45d36c Binary files /dev/null and b/MeShopping/AppScope/resources/base/media/app_icon.png differ diff --git a/MeShopping/build-profile.json5 b/MeShopping/build-profile.json5 new file mode 100644 index 0000000000000000000000000000000000000000..f56eb9ce06906aee9a8483de2bc40438e719af1b --- /dev/null +++ b/MeShopping/build-profile.json5 @@ -0,0 +1,27 @@ +{ + "app": { + "signingConfigs": [], + "compileSdkVersion": 9, + "compatibleSdkVersion": 9, + "products": [ + { + "name": "default", + "signingConfig": "default", + } + ] + }, + "modules": [ + { + "name": "entry", + "srcPath": "./entry", + "targets": [ + { + "name": "default", + "applyToProducts": [ + "default" + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/MeShopping/entry/.gitignore b/MeShopping/entry/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..5a6ba80fa3d9498a23ae8ae7d9518f8743fa8a96 --- /dev/null +++ b/MeShopping/entry/.gitignore @@ -0,0 +1,4 @@ +/node_modules +/.preview +/build +/.cxx \ No newline at end of file diff --git a/MeShopping/entry/build-profile.json5 b/MeShopping/entry/build-profile.json5 new file mode 100644 index 0000000000000000000000000000000000000000..a88e2bebb7dc9f9e2d324e443338bd490749e167 --- /dev/null +++ b/MeShopping/entry/build-profile.json5 @@ -0,0 +1,14 @@ +{ + "apiType": 'stageMode', + "buildOption": { + }, + "targets": [ + { + "name": "default", + "runtimeOS": "HarmonyOS" + }, + { + "name": "ohosTest", + } + ] +} \ No newline at end of file diff --git a/MeShopping/entry/hvigorfile.ts b/MeShopping/entry/hvigorfile.ts new file mode 100644 index 0000000000000000000000000000000000000000..80e4ec5b81689f238c34614b167a0b9e9c83e8d9 --- /dev/null +++ b/MeShopping/entry/hvigorfile.ts @@ -0,0 +1,2 @@ +// Script for compiling build behavior. It is built in the build plug-in and cannot be modified currently. +export { hapTasks } from '@ohos/hvigor-ohos-plugin'; diff --git a/MeShopping/entry/package-lock.json b/MeShopping/entry/package-lock.json new file mode 100644 index 0000000000000000000000000000000000000000..6b5c677321c8c4acabe0282ef103e8ad3e03aab7 --- /dev/null +++ b/MeShopping/entry/package-lock.json @@ -0,0 +1,5 @@ +{ + "name": "entry", + "version": "1.0.0", + "lockfileVersion": 1 +} diff --git a/MeShopping/entry/package.json b/MeShopping/entry/package.json new file mode 100644 index 0000000000000000000000000000000000000000..c4c0623e693b7e1052d960105df2ddcfcf363f06 --- /dev/null +++ b/MeShopping/entry/package.json @@ -0,0 +1,13 @@ +{ + "name": "entry", + "version": "1.0.0", + "ohos": { + "org": "huawei", + "buildTool": "hvigor", + "directoryLevel": "module" + }, + "description": "example description", + "repository": {}, + "license": "ISC", + "dependencies": {} +} diff --git a/MeShopping/entry/src/main/ets/component/goodsCart.ets b/MeShopping/entry/src/main/ets/component/goodsCart.ets new file mode 100644 index 0000000000000000000000000000000000000000..3eddf0cef6352e45bc159b9041d007eb33a244c2 --- /dev/null +++ b/MeShopping/entry/src/main/ets/component/goodsCart.ets @@ -0,0 +1,40 @@ +import GoodsInfo from './goodsInfo'; +import { myShoppingCartData } from '../model/dataContent'; +import { listDataContructor } from '../model/dataConstructor'; + +@Component +struct MyGoodsCart{ + @State myShoppingCartData:Array=myShoppingCartData + + build() { + Column({space:10}){ + Column(){ + Text('我的购物车') + .fontSize(20) + .fontWeight(FontWeight.Bold) + .margin({top:50}) + } + + Divider().height(1).color(Color.Blue).border({width:1,color:Color.Blue,radius:10}) + + GoodsInfo({listData:$myShoppingCartData,titleName:'',flag:true}) + + Blank() + Column(){ + Row(){ + Button('去结算') + .fontSize(20) + .type(ButtonType.Normal) + .borderRadius(10) + .backgroundColor(Color.Orange) + .padding({left:15,right:15,top:10,bottom:10}) + }.width('100%') + .justifyContent(FlexAlign.End) + } + }.width('100%') + .height('100%') + .padding({left:10,right:10}) + } +} + +export default MyGoodsCart \ No newline at end of file diff --git a/MeShopping/entry/src/main/ets/component/goodsInfo.ets b/MeShopping/entry/src/main/ets/component/goodsInfo.ets new file mode 100644 index 0000000000000000000000000000000000000000..7ac76e7c34fa414663a0fe595b6d7630a61ec8a9 --- /dev/null +++ b/MeShopping/entry/src/main/ets/component/goodsInfo.ets @@ -0,0 +1,98 @@ +import { listDataContructor,SwiperConstructor } from '../model/dataConstructor'; +import router from '@ohos.router'; +//自定义组件GoodsInfo +/*参数 + listData:商品数据 + flag:true推荐,false其他 + titleName:分类名称 +* */ +@Component +struct GoodsInfo{ + @Link listData:Array + @Prop flag:boolean + @Prop titleName:string + + @Builder MyListItemRow(item:listDataContructor){ + Row(){ + Image(item.img) + .height(120) + .width('40%') + .objectFit(ImageFit.Contain) + + Column(){ + Text(item.content) + .fontSize(14) + .fontWeight(FontWeight.Bold) + .textAlign(TextAlign.Start) + .maxLines(2) + .textOverflow({ overflow:TextOverflow.Ellipsis }) + + Text(item.detail) + .fontSize(10) + .textAlign(TextAlign.Start) + .maxLines(1) + .textOverflow({overflow:TextOverflow.Ellipsis}) + .margin({top:10}) + + Blank() + + Row(){ + Text(item.goodClass) + .fontSize(14) + .textAlign(TextAlign.Start) + .fontColor(Color.White) + .backgroundColor(Color.Red) + .fontWeight(FontWeight.Bolder) + .padding(5) + .border({radius:5}) + + Blank() + + Row(){ + Text('¥'+item.price) + .fontSize(14) + .fontColor(Color.Red) + .textAlign(TextAlign.End) + Text('.00') + .fontSize(12) + .fontColor(Color.Red) + .textAlign(TextAlign.End) + .padding({right:10}) + }.alignItems(VerticalAlign.Bottom) + }.width('100%') + }.width('60%') + .height(120) + .alignItems(HorizontalAlign.Start) + } + } + + build(){ + Column(){ + List({space:10}){ + ForEach(this.listData,(item:listDataContructor,index:number)=>{ + ListItem(){ + if (this.flag){ + this.MyListItemRow(item) + } + else{ + if (item.goodClass==this.titleName){ + this.MyListItemRow(item) + } + } + } + .onClick(()=>{ + router.push({ + url:'pages/GoodDetails', + params:{ + uniqueSign:this.listData[index].uniqueSign + } + }) + }) + }) + } + } + .padding({left:5,right:5}) + } +} + +export default GoodsInfo \ No newline at end of file diff --git a/MeShopping/entry/src/main/ets/component/me.ets b/MeShopping/entry/src/main/ets/component/me.ets new file mode 100644 index 0000000000000000000000000000000000000000..0c1e316fbd5f049898b42469c92157d8c18e5447 --- /dev/null +++ b/MeShopping/entry/src/main/ets/component/me.ets @@ -0,0 +1,20 @@ +@Component +struct Me{ + build(){ + Column(){ + Text('我的') + .fontSize(32) + .fontWeight(FontWeight.Bolder) + .fontColor(Color.Black) + + Text('敬请期待...') + .fontSize(24) + .fontColor(Color.Black) + .fontWeight(FontWeight.Bold) + .margin({top:50}) + }.width('100%').height('100%') + .justifyContent(FlexAlign.Center) + } +} + +export default Me \ No newline at end of file diff --git a/MeShopping/entry/src/main/ets/component/newGood.ets b/MeShopping/entry/src/main/ets/component/newGood.ets new file mode 100644 index 0000000000000000000000000000000000000000..0e7ee8d49bf6ee009880650791946ca186ba4ba1 --- /dev/null +++ b/MeShopping/entry/src/main/ets/component/newGood.ets @@ -0,0 +1,21 @@ +@Component +struct NewGood{ + build(){ + Column(){ + Text('新品发布会') + .fontSize(32) + .fontWeight(FontWeight.Bolder) + .fontColor(Color.White) + + Text('敬请期待...') + .fontSize(24) + .fontColor(Color.White) + .fontWeight(FontWeight.Bold) + .margin({top:50}) + }.width('100%').height('100%') + .backgroundColor(Color.Red) + .justifyContent(FlexAlign.Center) + } +} + +export default NewGood \ No newline at end of file diff --git a/MeShopping/entry/src/main/ets/component/searchRow.ets b/MeShopping/entry/src/main/ets/component/searchRow.ets new file mode 100644 index 0000000000000000000000000000000000000000..a8a922d7b5fc9f10c8365527c650b11a7f3c7da3 --- /dev/null +++ b/MeShopping/entry/src/main/ets/component/searchRow.ets @@ -0,0 +1,49 @@ +@Preview +@Component +struct MySearchRow{ + @State isStart:boolean=false + + aboutToAppear(){ + this.isStart=true + } + + build(){ + Column(){ + Row(){ + Marquee({ + src:'用心购物,尽在MeShopping...', + start:this.isStart, + loop:-1 + }).layoutWeight(7) + .fontSize(24) + .fontColor('#ffd9061f') + .fontWeight(FontWeight.Bold) + + Row(){ + Image('/image/voice.png') + .size({width:30,height:30}) + .objectFit(ImageFit.Contain) + .margin({right:10}) + Divider().vertical(true).strokeWidth(1) + .color(Color.Black) + .margin({right:10,top:5,bottom:5}) + .height(30) + Image('/image/camera.png') + .size({width:30,height:30}) + .objectFit(ImageFit.Contain) + .margin({right:10}) + }.layoutWeight(3) + }.width('100%') + .justifyContent(FlexAlign.End) + + Search({value:'',placeholder:'请输入商品名称'}) + .searchButton('搜索') + .placeholderFont({size:14,style:FontStyle.Normal}) + .backgroundColor(Color.White) + } .padding({top:30,left:10,right:10,bottom:15}) + .backgroundColor('#ffedf399') + .borderRadius(10) + } +} + +export default MySearchRow \ No newline at end of file diff --git a/MeShopping/entry/src/main/ets/component/sendToContent.ets b/MeShopping/entry/src/main/ets/component/sendToContent.ets new file mode 100644 index 0000000000000000000000000000000000000000..982e68c61cbe2d89f469070f2f40f2a61b94bf51 --- /dev/null +++ b/MeShopping/entry/src/main/ets/component/sendToContent.ets @@ -0,0 +1,70 @@ +@Preview +@Component +struct SendToContent{ + //自定义组件MyImageTextRow + /* + * 参数 + * imgUrl:string--图片地址字符串 + * content:string--服务内容 + */ + @Builder MyImageTextRow(imgUrl:string,content:string){ + Row({space:10}){ + Image(imgUrl) + .size({width:20,height:20}) + .objectFit(ImageFit.Contain) + .align(Alignment.Start) + + Text(content) + .fontSize(14) + .textAlign(TextAlign.Start) + }.margin({right:10}) + } + + build(){ + Column(){ + Row({space:10}){ + Text('送至') + .fontSize(14) + .fontWeight(FontWeight.Bold) + .textAlign(TextAlign.Start) + .layoutWeight(1) + + TextInput({placeholder:' 请选择您的收货地址'}) + .backgroundImage('image/icon_gps .png') + .backgroundImagePosition({x:10,y:30}) + .placeholderColor(Color.Black) + .align(Alignment.Center) + .layoutWeight(8) + + Image('image/goods_more.png') + .width(2) + .height(20) + .objectFit(ImageFit.Contain) + .layoutWeight(1) + }.alignItems(VerticalAlign.Center) + .borderRadius(10) + .backgroundColor(Color.White) + .margin({bottom:5}) + + Row({space:10}){ + Text('服务') + .fontSize(14) + .fontWeight(FontWeight.Bold) + .textAlign(TextAlign.Start) + .layoutWeight(1) + + Column({space:5}){ + this.MyImageTextRow('image/icon_service.png','7天无理由退/换货') + this.MyImageTextRow('image/icon_service.png','国内免运费,可提供全球配送服务(具体费用请咨询客服)') + this.MyImageTextRow('image/icon_service.png','店铺专人对接提供远程指导,7x24小时全天候售后服务') + this.MyImageTextRow('image/icon_service.png','180天超长保价期') + }.layoutWeight(8) + .alignItems(HorizontalAlign.Start) + }.alignItems(VerticalAlign.Top) + .margin({right:10}) + .padding({right:10}) + } + } +} + +export default SendToContent \ No newline at end of file diff --git a/MeShopping/entry/src/main/ets/component/shopClassTitle.ets b/MeShopping/entry/src/main/ets/component/shopClassTitle.ets new file mode 100644 index 0000000000000000000000000000000000000000..55651eb1cdb6f3f72118ab7fff4cdfc4dee3b1a1 --- /dev/null +++ b/MeShopping/entry/src/main/ets/component/shopClassTitle.ets @@ -0,0 +1,52 @@ +import { listData } from '../model/dataContent'; +import GoodsInfo from './goodsInfo'; +import { listDataContructor,shopClassDataContructor,SwiperConstructor } from '../model/dataConstructor'; +import router from '@ohos.router'; + +@Component +struct ShopClassTitle{ + tabController:TabsController=new TabsController() + @State listData:Array=listData + @Link shopClassName:Array + //@Link swiperData:Array + + build(){ + Column(){ + Stack(){ + Row() { + Tabs({ controller: this.tabController, index: 0, barPosition: BarPosition.Start }) { + ForEach(this.shopClassName, item=> { + TabContent() { + //页面内容详情---Start + //listData:商品数据,flag:true推荐,false其他,titleName:分类名称 + if (item.titleName=='推荐'){ + GoodsInfo({listData:$listData,flag:true,titleName:'推荐'}) + }else if(item.titleName=='手机'){ + GoodsInfo({listData:$listData,flag:false,titleName:'手机'}) + }else if(item.titleName=='电脑'){ + GoodsInfo({listData:$listData,flag:false,titleName:'电脑'}) + }else if(item.titleName=='平板'){ + GoodsInfo({listData:$listData,flag:false,titleName:'平板'}) + }else if(item.titleName=='智慧屏'){ + GoodsInfo({listData:$listData,flag:false,titleName:'智慧屏'}) + }else if(item.titleName=='穿戴'){ + GoodsInfo({listData:$listData,flag:false,titleName:'穿戴'}) + }else if(item.titleName=='配件'){ + GoodsInfo({listData:$listData,flag:false,titleName:'配件'}) + } + ////页面内容详情---End + }.tabBar(item.titleName) + }) + }.width('100%') + .scrollable(true) + .barMode(BarMode.Scrollable) + .onChange((index:number)=>{ + console.info('MyTag 你选择了'+this.shopClassName[index].titleName) + }) + } + } + }.width('100%') + } +} + +export default ShopClassTitle \ No newline at end of file diff --git a/MeShopping/entry/src/main/ets/component/shouyeContent.ets b/MeShopping/entry/src/main/ets/component/shouyeContent.ets new file mode 100644 index 0000000000000000000000000000000000000000..df466715758a0b615f8b61d8f4f2f0825ea6dc1b --- /dev/null +++ b/MeShopping/entry/src/main/ets/component/shouyeContent.ets @@ -0,0 +1,37 @@ +import { shopClassDataContructor,SwiperConstructor } from '../model/dataConstructor'; +import { shopClassName, swiperData} from '../model/dataContent'; +import MySearchRow from './searchRow' +import ShopClassTitle from './shopClassTitle' +import SwiperBanner from './swiperBanner' + +@Preview +@Component +struct ShouyeContent{ + @State selectTitle:string='' + @State shopClassName:Array=shopClassName + @State swiperData:Array=swiperData + @State isShowIndicator:boolean=true + @State currentImageIndex:number=0 + + + aboutToAppear(){ + this.selectTitle=this.shopClassName[0].titleName + console.info('MyTag 默认选择'+this.selectTitle) + } + + build(){ + Column(){ + //搜索框组件MySearchRow + MySearchRow() + //广告栏Swiper + Column(){ + SwiperBanner({swiperData:$swiperData,isShowIndicator:$isShowIndicator,currentImageIndex:$currentImageIndex}) + }.width('100%').height(150) + + //栏目分类组件 ShopClassTitle + ShopClassTitle({shopClassName:$shopClassName}) + } + } +} + +export default ShouyeContent \ No newline at end of file diff --git a/MeShopping/entry/src/main/ets/component/specialGood.ets b/MeShopping/entry/src/main/ets/component/specialGood.ets new file mode 100644 index 0000000000000000000000000000000000000000..d6bd592bbae05b7e036eecc91da8767de1f6c90c --- /dev/null +++ b/MeShopping/entry/src/main/ets/component/specialGood.ets @@ -0,0 +1,21 @@ +@Component +struct SpecialGood{ + build(){ + Column(){ + Text('专场') + .fontSize(32) + .fontWeight(FontWeight.Bolder) + .fontColor(Color.Red) + + Text('敬请期待...') + .fontSize(24) + .fontColor(Color.Red) + .fontWeight(FontWeight.Bold) + .margin({top:50}) + }.width('100%').height('100%') + .backgroundColor(Color.Yellow) + .justifyContent(FlexAlign.Center) + } +} + +export default SpecialGood \ No newline at end of file diff --git a/MeShopping/entry/src/main/ets/component/swiperBanner.ets b/MeShopping/entry/src/main/ets/component/swiperBanner.ets new file mode 100644 index 0000000000000000000000000000000000000000..e84cac370411410cde6bc71eb33349e36e869152 --- /dev/null +++ b/MeShopping/entry/src/main/ets/component/swiperBanner.ets @@ -0,0 +1,35 @@ +import { SwiperConstructor } from '../model/dataConstructor'; + +@Component +struct SwiperBanner{ + @Link swiperData:Array + @Link isShowIndicator:boolean + @Link currentImageIndex:number + swiperController:SwiperController=new SwiperController() + + build(){ + Column(){ + Swiper(this.swiperController){ + ForEach(this.swiperData,(item:SwiperConstructor)=>{ + Navigator({target:'pages/GoodDetails',type:NavigationType.Push}){ + Image(item.image) + .size({width:'100%',height:'100%'}) + .objectFit(ImageFit.Fill) + } + .params({ + uniqueSign:item.uniqueSign + }) + }) + } + .indicator(this.isShowIndicator) + .autoPlay(this.isShowIndicator) + .loop(this.isShowIndicator) + .onChange((index)=>{ + this.currentImageIndex=index + }) + }.width('100%') + .padding(10) + } +} + +export default SwiperBanner \ No newline at end of file diff --git a/MeShopping/entry/src/main/ets/entryability/EntryAbility.ts b/MeShopping/entry/src/main/ets/entryability/EntryAbility.ts new file mode 100644 index 0000000000000000000000000000000000000000..28f240bc63480a58d707d5e0e1a7d459a83b9335 --- /dev/null +++ b/MeShopping/entry/src/main/ets/entryability/EntryAbility.ts @@ -0,0 +1,51 @@ +import hilog from '@ohos.hilog'; +import Ability from '@ohos.application.Ability' +import Window from '@ohos.window' + +export default class EntryAbility extends Ability { + onCreate(want, launchParam) { + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onCreate'); + hilog.info(0x0000, 'testTag', '%{public}s', 'want param:' + JSON.stringify(want) ?? ''); + hilog.info(0x0000, 'testTag', '%{public}s', 'launchParam:' + JSON.stringify(launchParam) ?? ''); + } + + onDestroy() { + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onDestroy'); + } + + onWindowStageCreate(windowStage: Window.WindowStage) { + // Main window is created, set main page for this ability + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onWindowStageCreate'); + + windowStage.loadContent('pages/Welcome', (err, data) => { + if (err.code) { + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.ERROR); + hilog.error(0x0000, 'testTag', 'Failed to load the content. Cause: %{public}s', JSON.stringify(err) ?? ''); + return; + } + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', 'Succeeded in loading the content. Data: %{public}s', JSON.stringify(data) ?? ''); + }); + } + + onWindowStageDestroy() { + // Main window is destroyed, release UI related resources + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onWindowStageDestroy'); + } + + onForeground() { + // Ability has brought to foreground + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onForeground'); + } + + onBackground() { + // Ability has back to background + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onBackground'); + } +} diff --git a/MeShopping/entry/src/main/ets/image/back.png b/MeShopping/entry/src/main/ets/image/back.png new file mode 100644 index 0000000000000000000000000000000000000000..24f45901597523977771cf04735392f2400d20b0 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/back.png differ diff --git a/MeShopping/entry/src/main/ets/image/background.png b/MeShopping/entry/src/main/ets/image/background.png new file mode 100644 index 0000000000000000000000000000000000000000..d03c059405861bca6230947b6c7c8d8d8be46d57 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/background.png differ diff --git a/MeShopping/entry/src/main/ets/image/banner1.png b/MeShopping/entry/src/main/ets/image/banner1.png new file mode 100644 index 0000000000000000000000000000000000000000..8a525a02f2490efa88364b7d4363ecfbd6428670 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/banner1.png differ diff --git a/MeShopping/entry/src/main/ets/image/banner2.png b/MeShopping/entry/src/main/ets/image/banner2.png new file mode 100644 index 0000000000000000000000000000000000000000..cd50aefc082fec5f72d32a7b882d9acbfce4056a Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/banner2.png differ diff --git a/MeShopping/entry/src/main/ets/image/banner3.png b/MeShopping/entry/src/main/ets/image/banner3.png new file mode 100644 index 0000000000000000000000000000000000000000..bd103c14eefcab2efb0e22af5458b4728eb63cea Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/banner3.png differ diff --git a/MeShopping/entry/src/main/ets/image/camera.png b/MeShopping/entry/src/main/ets/image/camera.png new file mode 100644 index 0000000000000000000000000000000000000000..fde5bbde73f2259c9fd5e2d4c6c5812427d4e604 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/camera.png differ diff --git a/MeShopping/entry/src/main/ets/image/customer.png b/MeShopping/entry/src/main/ets/image/customer.png new file mode 100644 index 0000000000000000000000000000000000000000..e8662669b9593333c82827323937a44b951b3976 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/customer.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/FreeBuds/FreeBuds.png b/MeShopping/entry/src/main/ets/image/goods/FreeBuds/FreeBuds.png new file mode 100644 index 0000000000000000000000000000000000000000..a664116068ae44e5eac9e2b4e9926642e62f69b9 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/FreeBuds/FreeBuds.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/FreeBuds/FreeBuds_1.png b/MeShopping/entry/src/main/ets/image/goods/FreeBuds/FreeBuds_1.png new file mode 100644 index 0000000000000000000000000000000000000000..720167078ca3d41a4b0f2b565e20ab4d40d2d3c8 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/FreeBuds/FreeBuds_1.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/FreeBuds/FreeBuds_2.png b/MeShopping/entry/src/main/ets/image/goods/FreeBuds/FreeBuds_2.png new file mode 100644 index 0000000000000000000000000000000000000000..ddc17eb7a9ad42aa10eac41bd99107c6e43b3bd3 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/FreeBuds/FreeBuds_2.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/FreeBuds/FreeBuds_3.png b/MeShopping/entry/src/main/ets/image/goods/FreeBuds/FreeBuds_3.png new file mode 100644 index 0000000000000000000000000000000000000000..f354a0f63bc744bb467b13c5b96e9575c60c7945 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/FreeBuds/FreeBuds_3.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/FreeBuds/FreeBuds_4.png b/MeShopping/entry/src/main/ets/image/goods/FreeBuds/FreeBuds_4.png new file mode 100644 index 0000000000000000000000000000000000000000..10fdec3f810c82132c2cc3f2b17507ccd1bed7d1 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/FreeBuds/FreeBuds_4.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/FreeBuds/FreeBuds_5.png b/MeShopping/entry/src/main/ets/image/goods/FreeBuds/FreeBuds_5.png new file mode 100644 index 0000000000000000000000000000000000000000..701d79aca8f394f9e85d8ed1f0df6839aeb6e3fc Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/FreeBuds/FreeBuds_5.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro.png b/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro.png new file mode 100644 index 0000000000000000000000000000000000000000..ef55d7acacf8e1b2928a3b65541bd17bed1198e9 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro_1.png b/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro_1.png new file mode 100644 index 0000000000000000000000000000000000000000..607b555f68f9e33175184b9cee74d44d315b406d Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro_1.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro_2.png b/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro_2.png new file mode 100644 index 0000000000000000000000000000000000000000..befc5ebc64d81396e4502186d41248ba852f5198 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro_2.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro_3.png b/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro_3.png new file mode 100644 index 0000000000000000000000000000000000000000..9bc2c927f2fa770a9b57d45403d0e63515625f86 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro_3.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro_4.png b/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro_4.png new file mode 100644 index 0000000000000000000000000000000000000000..47bf0497fdb344094730846954ff0fe9a889d903 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro_4.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro_5.png b/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro_5.png new file mode 100644 index 0000000000000000000000000000000000000000..d59c1dd453e1c796aa54b3c75fdf33d39bc577ae Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro_5.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro_6.png b/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro_6.png new file mode 100644 index 0000000000000000000000000000000000000000..28ba02af703f03d652ec04c23ca1622c80635f3a Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro_6.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro_7.png b/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro_7.png new file mode 100644 index 0000000000000000000000000000000000000000..cfd149751736468e1f8597960f5077907401e909 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/Mate50Pro/Mate50Pro_7.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/MateBookD16/MatebookD16.png b/MeShopping/entry/src/main/ets/image/goods/MateBookD16/MatebookD16.png new file mode 100644 index 0000000000000000000000000000000000000000..d2b083c70f47f2f57153d1e18018eddd8dde6f0e Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/MateBookD16/MatebookD16.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/MateBookD16/MatebookD16_1.png b/MeShopping/entry/src/main/ets/image/goods/MateBookD16/MatebookD16_1.png new file mode 100644 index 0000000000000000000000000000000000000000..bad670f755eb2b2b5a9aee2e2796e1a52240c83e Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/MateBookD16/MatebookD16_1.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/MateBookD16/MatebookD16_2.png b/MeShopping/entry/src/main/ets/image/goods/MateBookD16/MatebookD16_2.png new file mode 100644 index 0000000000000000000000000000000000000000..130a8ad0d9c939f57b5aab8976212a9e7e1d2d14 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/MateBookD16/MatebookD16_2.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/MateBookD16/MatebookD16_3.png b/MeShopping/entry/src/main/ets/image/goods/MateBookD16/MatebookD16_3.png new file mode 100644 index 0000000000000000000000000000000000000000..b1d6592954889218169e91e5015b28f303c8a3e5 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/MateBookD16/MatebookD16_3.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/MateBookD16/MatebookD16_4.png b/MeShopping/entry/src/main/ets/image/goods/MateBookD16/MatebookD16_4.png new file mode 100644 index 0000000000000000000000000000000000000000..aaa69f4ec0613837f9ed8f647636b202521aae55 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/MateBookD16/MatebookD16_4.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/MateBookD16/MatebookD16_5.png b/MeShopping/entry/src/main/ets/image/goods/MateBookD16/MatebookD16_5.png new file mode 100644 index 0000000000000000000000000000000000000000..13bd4c6ddbfb0cca2ef1ee061fd08b39b13f8a00 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/MateBookD16/MatebookD16_5.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/MatePadPro/MatePadPro.png b/MeShopping/entry/src/main/ets/image/goods/MatePadPro/MatePadPro.png new file mode 100644 index 0000000000000000000000000000000000000000..398ce0cfabd8ca8e6caea7cb97f655f6dea1e881 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/MatePadPro/MatePadPro.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/MatePadPro/MatePadPro_1.png b/MeShopping/entry/src/main/ets/image/goods/MatePadPro/MatePadPro_1.png new file mode 100644 index 0000000000000000000000000000000000000000..23c1b45dd0cd5e40113b442794862a87a0160875 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/MatePadPro/MatePadPro_1.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/MatePadPro/MatePadPro_2.png b/MeShopping/entry/src/main/ets/image/goods/MatePadPro/MatePadPro_2.png new file mode 100644 index 0000000000000000000000000000000000000000..43a29ad351de65e446a2cb99ba6ce47fc2eebb2d Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/MatePadPro/MatePadPro_2.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/MatePadPro/MatePadPro_3.png b/MeShopping/entry/src/main/ets/image/goods/MatePadPro/MatePadPro_3.png new file mode 100644 index 0000000000000000000000000000000000000000..bc3151a8d72ab3186679ca926d1aa0cdf88b0389 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/MatePadPro/MatePadPro_3.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/MatePadPro/MatePadPro_4.png b/MeShopping/entry/src/main/ets/image/goods/MatePadPro/MatePadPro_4.png new file mode 100644 index 0000000000000000000000000000000000000000..9ee4971baf5447c7afe95439dcc3780a8058b0b6 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/MatePadPro/MatePadPro_4.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods/MatePadPro/MatePadPro_5.png b/MeShopping/entry/src/main/ets/image/goods/MatePadPro/MatePadPro_5.png new file mode 100644 index 0000000000000000000000000000000000000000..7e2b1d0ecf8a875fb9497d03feb66aba0c8a9fe7 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods/MatePadPro/MatePadPro_5.png differ diff --git a/MeShopping/entry/src/main/ets/image/goods_more.png b/MeShopping/entry/src/main/ets/image/goods_more.png new file mode 100644 index 0000000000000000000000000000000000000000..911e21fe99bbe1ec2ce72b2ddb435e0fc1159003 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/goods_more.png differ diff --git a/MeShopping/entry/src/main/ets/image/ic_user_portrait.png b/MeShopping/entry/src/main/ets/image/ic_user_portrait.png new file mode 100644 index 0000000000000000000000000000000000000000..2d8db64ed255dce1955a16e8bc931c5dfee78afb Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/ic_user_portrait.png differ diff --git a/MeShopping/entry/src/main/ets/image/icon_cart.png b/MeShopping/entry/src/main/ets/image/icon_cart.png new file mode 100644 index 0000000000000000000000000000000000000000..1b79fc202fd6115e1bce70506afbfa4119dd0b71 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/icon_cart.png differ diff --git a/MeShopping/entry/src/main/ets/image/icon_cart_select.png b/MeShopping/entry/src/main/ets/image/icon_cart_select.png new file mode 100644 index 0000000000000000000000000000000000000000..f790a52b72eaa846c3f5daf8f15c6055edc36a5f Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/icon_cart_select.png differ diff --git a/MeShopping/entry/src/main/ets/image/icon_collect.png b/MeShopping/entry/src/main/ets/image/icon_collect.png new file mode 100644 index 0000000000000000000000000000000000000000..fa2bef97c5029850fb18bffbd1f5aab4ae03d906 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/icon_collect.png differ diff --git a/MeShopping/entry/src/main/ets/image/icon_gps .png b/MeShopping/entry/src/main/ets/image/icon_gps .png new file mode 100644 index 0000000000000000000000000000000000000000..cbef85f29867ae7eb68b7884c8efda78b73bd8b4 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/icon_gps .png differ diff --git a/MeShopping/entry/src/main/ets/image/icon_new.png b/MeShopping/entry/src/main/ets/image/icon_new.png new file mode 100644 index 0000000000000000000000000000000000000000..89c365d719fffa9be21233f6342707d249970304 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/icon_new.png differ diff --git a/MeShopping/entry/src/main/ets/image/icon_new_select.png b/MeShopping/entry/src/main/ets/image/icon_new_select.png new file mode 100644 index 0000000000000000000000000000000000000000..ca88254b52f6e4c35564ba5da0d6dcb08a33586e Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/icon_new_select.png differ diff --git a/MeShopping/entry/src/main/ets/image/icon_service.png b/MeShopping/entry/src/main/ets/image/icon_service.png new file mode 100644 index 0000000000000000000000000000000000000000..68c257b403560773d7dcf2a36d9f3987d35dbd1b Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/icon_service.png differ diff --git a/MeShopping/entry/src/main/ets/image/icon_share.png b/MeShopping/entry/src/main/ets/image/icon_share.png new file mode 100644 index 0000000000000000000000000000000000000000..fce7db6dfef360227ab90af5dd5fcf3c5c94f2ea Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/icon_share.png differ diff --git a/MeShopping/entry/src/main/ets/image/icon_shouye.png b/MeShopping/entry/src/main/ets/image/icon_shouye.png new file mode 100644 index 0000000000000000000000000000000000000000..f0d8fb8fd2b46166ce93b9ec0d6bcffd32750eb1 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/icon_shouye.png differ diff --git a/MeShopping/entry/src/main/ets/image/icon_shouye_select.png b/MeShopping/entry/src/main/ets/image/icon_shouye_select.png new file mode 100644 index 0000000000000000000000000000000000000000..915ac2e9591555211c8a4252fd07acb3867d0889 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/icon_shouye_select.png differ diff --git a/MeShopping/entry/src/main/ets/image/icon_star_gray.png b/MeShopping/entry/src/main/ets/image/icon_star_gray.png new file mode 100644 index 0000000000000000000000000000000000000000..b0c013d2f4625bd956b82aea39be8bf0fe339737 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/icon_star_gray.png differ diff --git a/MeShopping/entry/src/main/ets/image/icon_star_red.png b/MeShopping/entry/src/main/ets/image/icon_star_red.png new file mode 100644 index 0000000000000000000000000000000000000000..527ff0c562f1929dabb3f19c1824f04ba73581be Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/icon_star_red.png differ diff --git a/MeShopping/entry/src/main/ets/image/icon_sub_price.png b/MeShopping/entry/src/main/ets/image/icon_sub_price.png new file mode 100644 index 0000000000000000000000000000000000000000..08889e82cd80e16addfccbaf71e539cd53ca83d9 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/icon_sub_price.png differ diff --git a/MeShopping/entry/src/main/ets/image/icon_user.png b/MeShopping/entry/src/main/ets/image/icon_user.png new file mode 100644 index 0000000000000000000000000000000000000000..f89cb4cb22b07028fddc12763c34d8d16765d76e Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/icon_user.png differ diff --git a/MeShopping/entry/src/main/ets/image/icon_user_select.png b/MeShopping/entry/src/main/ets/image/icon_user_select.png new file mode 100644 index 0000000000000000000000000000000000000000..d3f32f0ededaaf6ce36ca2e0c09441d4b6779131 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/icon_user_select.png differ diff --git a/MeShopping/entry/src/main/ets/image/marque.png b/MeShopping/entry/src/main/ets/image/marque.png new file mode 100644 index 0000000000000000000000000000000000000000..eba6b2a57f49634117926d1e2e6fc3f3010d4262 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/marque.png differ diff --git a/MeShopping/entry/src/main/ets/image/search.png b/MeShopping/entry/src/main/ets/image/search.png new file mode 100644 index 0000000000000000000000000000000000000000..5a353e7ed973c3cf7b667c9749ce0ccadeec03cd Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/search.png differ diff --git a/MeShopping/entry/src/main/ets/image/voice.png b/MeShopping/entry/src/main/ets/image/voice.png new file mode 100644 index 0000000000000000000000000000000000000000..944d5f0c78a9564bc7ae644d97cd0483520f5605 Binary files /dev/null and b/MeShopping/entry/src/main/ets/image/voice.png differ diff --git a/MeShopping/entry/src/main/ets/model/dataConstructor.ets b/MeShopping/entry/src/main/ets/model/dataConstructor.ets new file mode 100644 index 0000000000000000000000000000000000000000..dca7acd85862a0d5c8ba1fcd04aaaca825b899b1 --- /dev/null +++ b/MeShopping/entry/src/main/ets/model/dataConstructor.ets @@ -0,0 +1,48 @@ +export class shopClassDataContructor{ + constructor(public titleName:string){ + this.titleName=titleName + } +} + +export class mainTabConstructor{ + constructor(public tabName:string,public tabIcon:string,public selectIcon:string){ + this.tabName=tabName + this.tabIcon=tabIcon + this.selectIcon=selectIcon + } +} +//商品数据结构 +export class listDataContructor{ + constructor(public img:string,public content:string, + public detail:string,public goodClass:string, + public price:number,public imageSet:Array, + public note:string,public evaluation:Array, + public uniqueSign:number){ + this.img=img + this.content=content + this.detail=detail + this.goodClass=goodClass + this.price=price + this.imageSet=imageSet + this.note=note + this.evaluation=evaluation + this.uniqueSign=uniqueSign + } +} + +export class SwiperConstructor{ + constructor(public image:string,public uniqueSign:number){ + this.image=image + this.uniqueSign=undefined + } +} +//用户评价数据结构 +export class UserEvaluationConstructor{ + constructor(public userIcon:string,public userTelephone:string, + public userRation:number,public userComment:string){ + this.userIcon=userIcon + this.userTelephone=userTelephone + this.userRation=userRation + this.userComment=userComment + } +} \ No newline at end of file diff --git a/MeShopping/entry/src/main/ets/model/dataContent.ets b/MeShopping/entry/src/main/ets/model/dataContent.ets new file mode 100644 index 0000000000000000000000000000000000000000..5700fe1d80b040e5b376b91bee092c2b263152a8 --- /dev/null +++ b/MeShopping/entry/src/main/ets/model/dataContent.ets @@ -0,0 +1,279 @@ +import { SwiperConstructor,UserEvaluationConstructor } from './dataConstructor'; +import { shopClassDataContructor , listDataContructor, mainTabConstructor} from './dataConstructor'; + +//商品类别 +export const shopClassName:Array=[ + {titleName:'推荐'}, + {titleName:'手机'}, + {titleName:'电脑'}, + {titleName:'平板'}, + {titleName:'智慧屏'}, + {titleName:'穿戴'}, + {titleName:'配件'} +] + +export const mainTabData:Array=[ + {tabName:'首页',tabIcon:'image/icon_shouye.png',selectIcon:'image/icon_shouye_select.png'}, + {tabName:'新品',tabIcon:'image/icon_new.png',selectIcon:'image/icon_new_select.png'}, + {tabName:'专场',tabIcon:'image/icon_new.png',selectIcon:'image/icon_new_select.png'}, + {tabName:'购物车',tabIcon:'image/icon_cart.png',selectIcon:'image/icon_cart_select.png'}, + {tabName:'我的',tabIcon:'image/icon_user.png',selectIcon:'image/icon_user_select.png'} +] + +export const listData:Array=[ + {img:'image/goods/Mate50Pro/Mate50Pro.png', + content:'HUAWEI Mate 50 Pro 256GB(冰霜银)', + detail:'【新一代曲屏旗舰 现货速发】鸿蒙操作系统3.0,5000万像素超光变摄像头', + goodClass:'手机', + price:6799.00, + imageSet:[ + {image:'image/goods/Mate50Pro/Mate50Pro.png',uniqueSign:0}, + {image:'image/goods/Mate50Pro/Mate50Pro_1.png',uniqueSign:0}, + {image:'image/goods/Mate50Pro/Mate50Pro_2.png',uniqueSign:0}, + {image:'image/goods/Mate50Pro/Mate50Pro_3.png',uniqueSign:0}, + {image:'image/goods/Mate50Pro/Mate50Pro_4.png',uniqueSign:0}, + {image:'image/goods/Mate50Pro/Mate50Pro_5.png',uniqueSign:0}, + {image:'image/goods/Mate50Pro/Mate50Pro_6.png',uniqueSign:0}, + {image:'image/goods/Mate50Pro/Mate50Pro_7.png',uniqueSign:0} + ], + note:'节庆活动,大降价', + evaluation:[ + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'199****3322', + userRation:5, + userComment:'包装保护:包装很严密,保护的很好,rog系列的外观也是一如既往的酷炫。评分检测:娱乐大师跑了五十多万分。游戏效果:下载了无主之地3,玩了一段时间,游戏体验感不错,配得上我rog全家桶' + }, + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'122****8866', + userRation:5, + userComment:'经历了漫长的三天终于到货了。包装非常严实,拿到手分量非常的重,用料相当扎实。有幸第一次用rog,无论从颜值外观还是性能方面都是杠杠的,2k144随便带,3A大作搞起来!!' + }, + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'188****1122', + userRation:5, + userComment:'超频性能散热模组确实yyds,泰坦陨落2渲染延迟压到了10ms以下,其他游戏效果还不错,尤其是奥创灯效给了我很大的惊喜,确实好用这奥创。(非刚需不建议入)' + }, + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'155****4433', + userRation:4, + userComment:'原来办公用的电脑太卡了,换台新的,机器很小巧,接口丰富,i5处理器办公足够,运行速度很快一点也不卡,客服帮忙分了区,好评' + }, + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'133****5566', + userRation:5, + userComment:'很快就收到了,新品12代处理器,性能杠杠的,比我之前的破电脑要好用多了,之前打开个文件转半天,新电脑基本都是秒开,666,值得推荐' + } + ], + uniqueSign:9999999 + }, + {img:'image/goods/MateBookD16/MatebookD16.png', + content:'HUAWEI MateBook D 16 12代酷睿标压 i5 16GB 512GB 皓月银', + detail:'12代酷睿标压处理器,16"护眼全面屏,超级终端', + goodClass:'电脑', + price:5699.00, + imageSet:[ + {image:'image/goods/MateBookD16/MatebookD16.png',uniqueSign:0}, + {image:'image/goods/MateBookD16/MatebookD16_1.png',uniqueSign:0}, + {image:'image/goods/MateBookD16/MatebookD16_2.png',uniqueSign:0}, + {image:'image/goods/MateBookD16/MatebookD16_3.png',uniqueSign:0}, + {image:'image/goods/MateBookD16/MatebookD16_4.png',uniqueSign:0}, + {image:'image/goods/MateBookD16/MatebookD16_5.png',uniqueSign:0}, + ], + note:'新品特推,爆款网红', + evaluation:[ + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'199****3322', + userRation:5, + userComment:'包装保护:包装很严密,保护的很好,rog系列的外观也是一如既往的酷炫。评分检测:娱乐大师跑了五十多万分。游戏效果:下载了无主之地3,玩了一段时间,游戏体验感不错,配得上我rog全家桶' + }, + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'122****8866', + userRation:5, + userComment:'经历了漫长的三天终于到货了。包装非常严实,拿到手分量非常的重,用料相当扎实。有幸第一次用rog,无论从颜值外观还是性能方面都是杠杠的,2k144随便带,3A大作搞起来!!' + }, + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'188****1122', + userRation:5, + userComment:'超频性能散热模组确实yyds,泰坦陨落2渲染延迟压到了10ms以下,其他游戏效果还不错,尤其是奥创灯效给了我很大的惊喜,确实好用这奥创。(非刚需不建议入)' + }, + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'155****4433', + userRation:4, + userComment:'原来办公用的电脑太卡了,换台新的,机器很小巧,接口丰富,i5处理器办公足够,运行速度很快一点也不卡,客服帮忙分了区,好评' + }, + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'133****5566', + userRation:5, + userComment:'很快就收到了,新品12代处理器,性能杠杠的,比我之前的破电脑要好用多了,之前打开个文件转半天,新电脑基本都是秒开,666,值得推荐' + } + ], + uniqueSign:8888888 + }, + { + img:'/image/goods/MatePadPro/MatePadPro.png', + content:'HUAWEI MatePad Pro 12.6英寸 2022 WIFI 8GB+256GB 曜金黑', + detail:'120Hz高刷原色全面屏 | 平板远程操控华为电脑', + goodClass:'平板', + price:4999.00, + imageSet:[ + {image:'image/goods/MatePadPro/MatePadPro.png',uniqueSign:0}, + {image:'image/goods/MatePadPro/MatePadPro_1.png',uniqueSign:0}, + {image:'image/goods/MatePadPro/MatePadPro_2.png',uniqueSign:0}, + {image:'image/goods/MatePadPro/MatePadPro_3.png',uniqueSign:0}, + {image:'image/goods/MatePadPro/MatePadPro_4.png',uniqueSign:0}, + {image:'image/goods/MatePadPro/MatePadPro_5.png',uniqueSign:0} + ], + note:'领券更多优惠,参加活动免费领取', + evaluation:[ + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'199****3322', + userRation:5, + userComment:'包装保护:包装很严密,保护的很好,rog系列的外观也是一如既往的酷炫。评分检测:娱乐大师跑了五十多万分。游戏效果:下载了无主之地3,玩了一段时间,游戏体验感不错,配得上我rog全家桶' + }, + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'122****8866', + userRation:5, + userComment:'经历了漫长的三天终于到货了。包装非常严实,拿到手分量非常的重,用料相当扎实。有幸第一次用rog,无论从颜值外观还是性能方面都是杠杠的,2k144随便带,3A大作搞起来!!' + }, + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'188****1122', + userRation:5, + userComment:'超频性能散热模组确实yyds,泰坦陨落2渲染延迟压到了10ms以下,其他游戏效果还不错,尤其是奥创灯效给了我很大的惊喜,确实好用这奥创。(非刚需不建议入)' + }, + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'155****4433', + userRation:4, + userComment:'原来办公用的电脑太卡了,换台新的,机器很小巧,接口丰富,i5处理器办公足够,运行速度很快一点也不卡,客服帮忙分了区,好评' + }, + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'133****5566', + userRation:5, + userComment:'很快就收到了,新品12代处理器,性能杠杠的,比我之前的破电脑要好用多了,之前打开个文件转半天,新电脑基本都是秒开,666,值得推荐' + } + ], + uniqueSign:7777777 + }, + { + img:'/image/goods/FreeBuds/FreeBuds.png', + content:'【拼团】HUAWEI FreeBuds Lipstick 有线充版(蜜语红)', + detail:'“口红”外观设计,舒适佩戴,高解析音质', + goodClass:'配件', + price:1699.00, + imageSet:[ + {image:'image/goods/FreeBuds/FreeBuds.png',uniqueSign:0}, + {image:'image/goods/FreeBuds/FreeBuds_1.png',uniqueSign:0}, + {image:'image/goods/FreeBuds/FreeBuds_2.png',uniqueSign:0}, + {image:'image/goods/FreeBuds/FreeBuds_3.png',uniqueSign:0}, + {image:'image/goods/FreeBuds/FreeBuds_4.png',uniqueSign:0}, + {image:'image/goods/FreeBuds/FreeBuds_5.png',uniqueSign:0} + ], + note:'量大从优,活动加推...', + evaluation:[ + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'199****3322', + userRation:5, + userComment:'包装保护:包装很严密,保护的很好,rog系列的外观也是一如既往的酷炫。评分检测:娱乐大师跑了五十多万分。游戏效果:下载了无主之地3,玩了一段时间,游戏体验感不错,配得上我rog全家桶' + }, + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'122****8866', + userRation:5, + userComment:'经历了漫长的三天终于到货了。包装非常严实,拿到手分量非常的重,用料相当扎实。有幸第一次用rog,无论从颜值外观还是性能方面都是杠杠的,2k144随便带,3A大作搞起来!!' + }, + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'188****1122', + userRation:5, + userComment:'超频性能散热模组确实yyds,泰坦陨落2渲染延迟压到了10ms以下,其他游戏效果还不错,尤其是奥创灯效给了我很大的惊喜,确实好用这奥创。(非刚需不建议入)' + }, + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'155****4433', + userRation:4, + userComment:'原来办公用的电脑太卡了,换台新的,机器很小巧,接口丰富,i5处理器办公足够,运行速度很快一点也不卡,客服帮忙分了区,好评' + }, + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'133****5566', + userRation:5, + userComment:'很快就收到了,新品12代处理器,性能杠杠的,比我之前的破电脑要好用多了,之前打开个文件转半天,新电脑基本都是秒开,666,值得推荐' + } + ], + uniqueSign:6666666 + } +] + +export const swiperData:Array=[ + {image:'image/goods/Mate50Pro/Mate50Pro.png',uniqueSign:9999999}, + {image:'image/goods/MateBookD16/MatebookD16.png',uniqueSign:8888888}, + {image:'image/goods/MatePadPro/MatePadPro.png',uniqueSign:7777777} +] + +export const myShoppingCartData:Array=[ + { + img:'/image/goods/FreeBuds/FreeBuds.png', + content:'【拼团】HUAWEI FreeBuds Lipstick 有线充版(蜜语红)', + detail:'“口红”外观设计,舒适佩戴,高解析音质', + goodClass:'配件', + price:1699.00, + imageSet:[ + {image:'image/goods/FreeBuds/FreeBuds.png',uniqueSign:0}, + {image:'image/goods/FreeBuds/FreeBuds_1.png',uniqueSign:0}, + {image:'image/goods/FreeBuds/FreeBuds_2.png',uniqueSign:0}, + {image:'image/goods/FreeBuds/FreeBuds_3.png',uniqueSign:0}, + {image:'image/goods/FreeBuds/FreeBuds_4.png',uniqueSign:0}, + {image:'image/goods/FreeBuds/FreeBuds_5.png',uniqueSign:0} + ], + note:'量大从优,活动加推...', + evaluation:[ + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'199****3322', + userRation:5, + userComment:'包装保护:包装很严密,保护的很好,rog系列的外观也是一如既往的酷炫。评分检测:娱乐大师跑了五十多万分。游戏效果:下载了无主之地3,玩了一段时间,游戏体验感不错,配得上我rog全家桶' + }, + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'122****8866', + userRation:5, + userComment:'经历了漫长的三天终于到货了。包装非常严实,拿到手分量非常的重,用料相当扎实。有幸第一次用rog,无论从颜值外观还是性能方面都是杠杠的,2k144随便带,3A大作搞起来!!' + }, + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'188****1122', + userRation:5, + userComment:'超频性能散热模组确实yyds,泰坦陨落2渲染延迟压到了10ms以下,其他游戏效果还不错,尤其是奥创灯效给了我很大的惊喜,确实好用这奥创。(非刚需不建议入)' + }, + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'155****4433', + userRation:4, + userComment:'原来办公用的电脑太卡了,换台新的,机器很小巧,接口丰富,i5处理器办公足够,运行速度很快一点也不卡,客服帮忙分了区,好评' + }, + { + userIcon:'image/ic_user_portrait.png', + userTelephone:'133****5566', + userRation:5, + userComment:'很快就收到了,新品12代处理器,性能杠杠的,比我之前的破电脑要好用多了,之前打开个文件转半天,新电脑基本都是秒开,666,值得推荐' + } + ], + uniqueSign:6666666 + } +] + diff --git a/MeShopping/entry/src/main/ets/pages/GoodDetails.ets b/MeShopping/entry/src/main/ets/pages/GoodDetails.ets new file mode 100644 index 0000000000000000000000000000000000000000..f91ca349c98e75475f961a206e70b253cc7544e7 --- /dev/null +++ b/MeShopping/entry/src/main/ets/pages/GoodDetails.ets @@ -0,0 +1,377 @@ +import { myShoppingCartData } from '../model/dataContent'; +import { listData} from '../model/dataContent'; +import { SwiperConstructor,listDataContructor,UserEvaluationConstructor} from '../model/dataConstructor'; +import SwiperBanner from '../component/swiperBanner'; +import SendToContent from '../component/sendToContent' +import router from '@ohos.router'; + +@Entry +@Component +struct GoodDetails { + @State index:number=0 + @State uniqueSign:number=router.getParams()['uniqueSign'] + @State isShowIndicator:boolean=false + @State listData:Array=listData + @State displayData:Array=[] //存放商品的图片集 + @State totalImage:number=0 + @State currentImageIndex:number=0 + @State timeString:string='23:59:59' + @State count:number=0 //购物车中的物品数量 + @State myShoppingCartData:Array=myShoppingCartData + scroller:Scroller=new Scroller() + + //自定义样式 + @Styles MyStyles(){ + .borderRadius(10) + .backgroundColor(Color.White) + .padding(10) + } + //自定义组件UserButton + /* + * 参数 + * content:string--文字 + * color:string--背景颜色 + * flag:boolean--true代表加入购物车,false代表立即购买 + */ + @Builder UserButton(btnContent:string,bgcolor:string,flag:boolean){ + Button(){ + Text(btnContent) + .fontSize(14) + .padding(10) + } + .type(ButtonType.Normal) + .borderRadius(20) + .backgroundColor(bgcolor) + .onClick(()=>{ + if (flag){ + this.count++ + myShoppingCartData.push(this.listData[this.index]) + console.info('MyTag '+myShoppingCartData.length) + } + else{ + console.info('立即购买') + } + }) + } + //自定义组件ImageButton + /* + * 参数 + * imgString:string--图片字符串 + * txtString:string--文字 + * flag:boolean--true客服,false购物车 + */ + @Builder ImageButton(imgString:string,txtString:string,flag:boolean){ + Button(){ + Column(){ + Image(imgString) + .size({width:30,height:30}) + .objectFit(ImageFit.Contain) + Text(txtString) + .fontSize(10) + } + }.backgroundColor(Color.White) + .onClick(()=>{ + if(flag){ + console.info('点击客服按钮') + }else{ + console.info('点击购物车按钮') + router.push({ + url:'pages/ShoppingCart' + }) + } + }) + } + + //自定义组件MyPriceRow + /* + * 参数 + * price:number--商品价格 + * note:string--说明信息 + */ + @Builder MyPriceRow(price:number,note:string){ + Column(){ + Row(){ + Row(){ + Text('¥') + .fontSize(14) + .fontColor(Color.White) + .textAlign(TextAlign.Start) + Text(price+'') + .fontSize(18) + .fontColor(Color.White) + .textAlign(TextAlign.Start) + .fontWeight(FontWeight.Bold) + Text('.00') + .fontSize(14) + .fontColor(Color.White) + .textAlign(TextAlign.Start) + }.alignItems(VerticalAlign.Bottom) + .margin({left:20}) + + Blank() + + Column({space:10}){ + Text(note) + .fontSize(14) + .fontColor(Color.White) + Text('还剩'+this.timeString) + .fontSize(12) + .fontColor(Color.White) + + } + .margin({right:10}) + }.width('100%') + }.width('100%') + .padding({top:20,bottom:20}) + .backgroundColor(Color.Red) + .alignItems(HorizontalAlign.Start) + .borderRadius(10) + } + //自定义组件MyShareRow + /* + * 参数 + * img:string--图片地址字符串 + * txt:string--文字信息 + */ + @Builder MyShareRow(img:string,txt:string){ + Row({space:5}){ + Image(img) + .size({width:20,height:20}) + .objectFit(ImageFit.Contain) + Text(txt) + .fontSize(12) + } + .onClick(()=>{ + if (txt=='分享'){ + this.shareFunction() + } + else if (txt=='收藏'){ + this.collectFunction() + } + else if (txt=='降价通知'){ + this.subPriceFuntion() + } + }) + } + + aboutToAppear(){ + //获取标志为uniqueSign的商品数据 + for (let j=0;j{ + router.back() + }) + }.width('100%') + .padding({left:10,top:10}) + .justifyContent(FlexAlign.Start) + .position({x:0,y:0}) + + //右下脚显示:当前第几张图片/总图片数 + Row(){ + Text((this.currentImageIndex+1)+'/'+this.totalImage) + .fontSize(12) + .fontColor(Color.Black) + .fontWeight(FontWeight.Bolder) + .textAlign(TextAlign.End) + }.width('100%') + .padding({right:10,bottom:10}) + .justifyContent(FlexAlign.End) + .alignItems(VerticalAlign.Bottom) + }.alignContent(Alignment.BottomEnd) + }.align(Alignment.Top) + .width('100%') + .height(250) + + Column(){ + //自定义组件---MyPriceRow + Row(){ + this.MyPriceRow(this.listData[this.index].price,this.listData[this.index].note) + }.width('100%') + .padding({left:10,right:10}) + + Column({space:10}){ + //商品信息,分享、收藏、降价通知 + Column({space:10}){ + Text(this.listData[this.index].content) + .fontSize(18) + .fontWeight(FontWeight.Bold) + .textAlign(TextAlign.Start) + + Text(this.listData[this.index].detail) + .fontSize(14) + .textAlign(TextAlign.Start) + + Row(){ + this.MyShareRow('image/icon_share.png','分享') + this.MyShareRow('image/icon_collect.png','收藏') + this.MyShareRow('image/icon_sub_price.png','降价通知') + }.width('100%') + .justifyContent(FlexAlign.SpaceEvenly) + }.border({radius:10}) + .padding(10) + .backgroundColor(Color.White) + .margin({top:10}) + + //选择行数据 + Row({space:10}){ + Text('选择') + .fontSize(14) + .fontWeight(FontWeight.Bold) + .textAlign(TextAlign.Start) + .layoutWeight(1) + + Text('已选:'+this.listData[this.index].content) + .fontSize(14) + .layoutWeight(8) + //更多选项 + Image('image/goods_more.png') + .width(2) + .height(20) + .objectFit(ImageFit.Contain) + .layoutWeight(1) + .onClick(()=>{ + console.info('MyTag 更多选择商品') + }) + }.alignItems(VerticalAlign.Center) + .MyStyles() //引用自定义样式 + + //送至行 + Column({space:10}){ + //引用组件SendToContent,显示送至、服务内容 + SendToContent() + } + .borderRadius(10) + .backgroundColor(Color.White) + .padding(10) + + //用户评论 + Column(){ + //用户评价行 + Row(){ + Text('用户评价 ') + .fontSize(14) + .fontWeight(FontWeight.Bold) + .textAlign(TextAlign.Start) + Text('(5000+)') + .fontSize(14) + .textAlign(TextAlign.Start) + Blank() + Text('好评率 ') + .fontSize(14) + .textAlign(TextAlign.Start) + Text('99%') + .fontSize(14) + .textAlign(TextAlign.Start) + .fontColor(Color.Red) + .fontWeight(FontWeight.Bold) + Text(' >') + .fontSize(18) + .textAlign(TextAlign.Start) + + }.width('100%') + //评价信息 + Column({space:10}){ + //循环渲染用户评价信息 + ForEach(this.listData[this.index].evaluation,(item:UserEvaluationConstructor)=>{ + Row({space:10}){ + Image(item.userIcon) + .size({width:30,height:30}) + .objectFit(ImageFit.Contain) + Column({space:5}){ + Text(item.userTelephone) + .fontSize(14) + Rating({rating:item.userRation}) + .stars(5) + .enabled(false) + .stepSize(1) + .starStyle({ + backgroundUri:'image/icon_star_gray.png', + foregroundUri:'image/icon_star_red.png', + secondaryUri:'image/icon_star_gray.png' + }) + }.alignItems(HorizontalAlign.Start) + } + Text(item.userComment) + .fontSize(14) + .textAlign(TextAlign.Start) + }) + }.width('100%') + .alignItems(HorizontalAlign.Start) + }.borderRadius(10) + .backgroundColor(Color.White) + .padding(10) + }.width('100%') + .padding({left:10,right:10}) + } + }.size({width:'100%'}) + .backgroundColor('#fff3f8f3') + .padding({bottom:50}) + }.scrollable(ScrollDirection.Vertical) + .scrollBarColor(Color.Gray) + .scrollBarWidth(5) + .scrollBar(BarState.On) + + Row(){ + //调用自定义组件ImageButton + this.ImageButton('image/customer.png','客服',true) + Badge({ + count:this.count, + maxCount:99, + position:BadgePosition.RightTop, + style:{color:Color.White,fontSize:10,badgeColor:Color.Red,badgeSize:15} + }){ + //调用自定义组件ImageButton + this.ImageButton('image/icon_cart.png','购物车',false) + }.width(40).height(40) + //调用自定义组件UserButton + this.UserButton('加入购物车', '#fffc5e13',true) + this.UserButton('立即购买','#ffff0000',false) + }.width('100%') + .alignItems(VerticalAlign.Bottom) + .justifyContent(FlexAlign.SpaceAround) + .backgroundColor(Color.White) + .padding({bottom:5,top:5}) + }.alignContent(Alignment.BottomEnd) + } +} \ No newline at end of file diff --git a/MeShopping/entry/src/main/ets/pages/Index.ets b/MeShopping/entry/src/main/ets/pages/Index.ets new file mode 100644 index 0000000000000000000000000000000000000000..616d888190bfa32ed00732c3fb569a5baf376a7c --- /dev/null +++ b/MeShopping/entry/src/main/ets/pages/Index.ets @@ -0,0 +1,67 @@ +import Me from '../component/me'; +import SpecialGood from '../component/specialGood'; +import NewGood from '../component/newGood'; +import MyGoodsCart from '../component/goodsCart'; +import { mainTabData } from '../model/dataContent'; +import { mainTabConstructor } from '../model/dataConstructor'; +import ShouyeContent from '../component/shouyeContent' + +@Entry +@Component +struct Index { + private tabController:TabsController=new TabsController() + @State selectIndex:number=0 + @State currentIndex:number=0 + @State mainTabData:Array=mainTabData + + @Builder MyTabBar(index:number){ + Column(){ + Image(index==this.selectIndex?this.mainTabData[index].selectIcon:this.mainTabData[index].tabIcon) + .size({width:30,height:30}) + .objectFit(ImageFit.Contain) + .margin({top:5}) + Text(this.mainTabData[index].tabName) + .fontSize(14) + .fontColor(index==this.selectIndex?'#ff0000':'#000000') + .textAlign(TextAlign.Center) + } + } + + build() { + Column(){ + + Column(){ + Tabs({ + controller:this.tabController, + index:0, + barPosition:BarPosition.End + }){ + ForEach(this.mainTabData,(item,index)=>{ + TabContent(){ + if (this.selectIndex==0){ + ShouyeContent() + } + else if (this.selectIndex==1){ + NewGood() + } + else if (this.selectIndex==2){ + SpecialGood() + } + else if (this.selectIndex==3){ + MyGoodsCart() + } + else if (this.selectIndex==4){ + Me() + } + }.tabBar(this.MyTabBar(index)) + }) + }.margin({bottom:10}) + .scrollable(false) + .onChange((index)=>{ + this.selectIndex=index + }) + }.width('100%') + } + .width('100%') + } +} \ No newline at end of file diff --git a/MeShopping/entry/src/main/ets/pages/ShoppingCart.ets b/MeShopping/entry/src/main/ets/pages/ShoppingCart.ets new file mode 100644 index 0000000000000000000000000000000000000000..a133fec94e7495a600596c5384a967dfc42baa38 --- /dev/null +++ b/MeShopping/entry/src/main/ets/pages/ShoppingCart.ets @@ -0,0 +1,40 @@ +import { myShoppingCartData } from '../model/dataContent'; +import { listDataContructor } from '../model/dataConstructor'; +import GoodsInfo from '../component/goodsInfo' +import router from '@ohos.router'; + +@Entry +@Component +struct ShoppingCart { + @State myShoppingCartData:Array=myShoppingCartData + + build() { + Column({space:10}){ + //返回上一页 + Row(){ + Image('/image/back.png') + .size({width:30,height:30}) + .objectFit(ImageFit.Contain) + .onClick(()=>{ + router.back() + }) + }.width('100%') + .padding({left:10,top:10}) + .justifyContent(FlexAlign.Start) + .position({x:0,y:0}) + + Column(){ + Text('我的购物车') + .fontSize(20) + .fontWeight(FontWeight.Bold) + .margin({top:50}) + } + + Divider().height(1).color(Color.Blue).border({width:1,color:Color.Blue,radius:10}) + GoodsInfo({listData:$myShoppingCartData,titleName:'',flag:true}) + }.width('100%') + .height('100%') + .backgroundColor('#ffe6eae6') + .padding({left:10,right:10}) + } +} \ No newline at end of file diff --git a/MeShopping/entry/src/main/ets/pages/Welcome.ets b/MeShopping/entry/src/main/ets/pages/Welcome.ets new file mode 100644 index 0000000000000000000000000000000000000000..fa6e320b46bcf4697215fa2370b438dcab3cb93f --- /dev/null +++ b/MeShopping/entry/src/main/ets/pages/Welcome.ets @@ -0,0 +1,44 @@ +import router from '@ohos.router'; + +@Entry +@Component +struct splashPage{ + @State isFirstValue:boolean=true + @State marqueUrl:string='image/marque.png' + @State imgUrl:string='image/background.png' + + aboutToAppear(){ + var timeoutId=setTimeout(function(){ + console.info('MyTag 延时5秒进入主界面...') + router.replace({ + url: 'pages/Index' + }) + },2000) + } + + build(){ + Flex({direction:FlexDirection.Column,justifyContent:FlexAlign.Center,alignItems:ItemAlign.Center}){ + Stack({alignContent:Alignment.Center}){ + Image(this.imgUrl) + + Image(this.marqueUrl) + .width('90%') + .height(45) + .objectFit(ImageFit.Contain) + .margin({top:400}) + } + .width('100%') + .height('100%') + .backgroundColor(Color.Pink) + .align(Alignment.Center) + } + .width('100%') + .height('100%') + } + pageTransition(){ + PageTransitionEnter({duration:1000,curve:Curve.Smooth}) + .slide(SlideEffect.Right) + PageTransitionExit({duration:1000,curve:Curve.Smooth}) + .slide(SlideEffect.Right) + } +} \ No newline at end of file diff --git a/MeShopping/entry/src/main/module.json5 b/MeShopping/entry/src/main/module.json5 new file mode 100644 index 0000000000000000000000000000000000000000..48e6aae22c8d7e93ea105c20dd4dc38e65ebd032 --- /dev/null +++ b/MeShopping/entry/src/main/module.json5 @@ -0,0 +1,36 @@ +{ + "module": { + "name": "entry", + "type": "entry", + "description": "$string:module_desc", + "mainElement": "EntryAbility", + "deviceTypes": [ + "phone" + ], + "deliveryWithInstall": true, + "installationFree": false, + "pages": "$profile:main_pages", + "abilities": [ + { + "name": "EntryAbility", + "srcEntrance": "./ets/entryability/EntryAbility.ts", + "description": "$string:EntryAbility_desc", + "icon": "$media:icon", + "label": "$string:EntryAbility_label", + "startWindowIcon": "$media:icon", + "startWindowBackground": "$color:start_window_background", + "visible": true, + "skills": [ + { + "entities": [ + "entity.system.home" + ], + "actions": [ + "action.system.home" + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/MeShopping/entry/src/main/resources/base/element/color.json b/MeShopping/entry/src/main/resources/base/element/color.json new file mode 100644 index 0000000000000000000000000000000000000000..d66f9a7d4ac61fb8d215239ab3620b7bcd77bf33 --- /dev/null +++ b/MeShopping/entry/src/main/resources/base/element/color.json @@ -0,0 +1,8 @@ +{ + "color": [ + { + "name": "start_window_background", + "value": "#FFFFFF" + } + ] +} \ No newline at end of file diff --git a/MeShopping/entry/src/main/resources/base/element/string.json b/MeShopping/entry/src/main/resources/base/element/string.json new file mode 100644 index 0000000000000000000000000000000000000000..f94595515a99e0c828807e243494f57f09251930 --- /dev/null +++ b/MeShopping/entry/src/main/resources/base/element/string.json @@ -0,0 +1,16 @@ +{ + "string": [ + { + "name": "module_desc", + "value": "module description" + }, + { + "name": "EntryAbility_desc", + "value": "description" + }, + { + "name": "EntryAbility_label", + "value": "label" + } + ] +} \ No newline at end of file diff --git a/MeShopping/entry/src/main/resources/base/media/icon.png b/MeShopping/entry/src/main/resources/base/media/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..ce307a8827bd75456441ceb57d530e4c8d45d36c Binary files /dev/null and b/MeShopping/entry/src/main/resources/base/media/icon.png differ diff --git a/MeShopping/entry/src/main/resources/base/profile/main_pages.json b/MeShopping/entry/src/main/resources/base/profile/main_pages.json new file mode 100644 index 0000000000000000000000000000000000000000..b18f54d097d6292cd168407d91a4d1392a7c39f2 --- /dev/null +++ b/MeShopping/entry/src/main/resources/base/profile/main_pages.json @@ -0,0 +1,8 @@ +{ + "src": [ + "pages/Welcome", + "pages/Index", + "pages/GoodDetails", + "pages/ShoppingCart" + ] +} \ No newline at end of file diff --git a/MeShopping/entry/src/main/resources/en_US/element/string.json b/MeShopping/entry/src/main/resources/en_US/element/string.json new file mode 100644 index 0000000000000000000000000000000000000000..f94595515a99e0c828807e243494f57f09251930 --- /dev/null +++ b/MeShopping/entry/src/main/resources/en_US/element/string.json @@ -0,0 +1,16 @@ +{ + "string": [ + { + "name": "module_desc", + "value": "module description" + }, + { + "name": "EntryAbility_desc", + "value": "description" + }, + { + "name": "EntryAbility_label", + "value": "label" + } + ] +} \ No newline at end of file diff --git a/MeShopping/entry/src/main/resources/zh_CN/element/string.json b/MeShopping/entry/src/main/resources/zh_CN/element/string.json new file mode 100644 index 0000000000000000000000000000000000000000..597ecf95e61d7e30367c22fe2f8638008361b044 --- /dev/null +++ b/MeShopping/entry/src/main/resources/zh_CN/element/string.json @@ -0,0 +1,16 @@ +{ + "string": [ + { + "name": "module_desc", + "value": "模块描述" + }, + { + "name": "EntryAbility_desc", + "value": "description" + }, + { + "name": "EntryAbility_label", + "value": "label" + } + ] +} \ No newline at end of file diff --git a/MeShopping/entry/src/ohosTest/ets/test/Ability.test.ets b/MeShopping/entry/src/ohosTest/ets/test/Ability.test.ets new file mode 100644 index 0000000000000000000000000000000000000000..460fe8c8c124c821c5451615acc8949f619dbc3f --- /dev/null +++ b/MeShopping/entry/src/ohosTest/ets/test/Ability.test.ets @@ -0,0 +1,36 @@ +import hilog from '@ohos.hilog'; +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' + +export default function abilityTest() { + describe('ActsAbilityTest', function () { + // Defines a test suite. Two parameters are supported: test suite name and test suite function. + beforeAll(function () { + // Presets an action, which is performed only once before all test cases of the test suite start. + // This API supports only one parameter: preset action function. + }) + beforeEach(function () { + // Presets an action, which is performed before each unit test case starts. + // The number of execution times is the same as the number of test cases defined by **it**. + // This API supports only one parameter: preset action function. + }) + afterEach(function () { + // Presets a clear action, which is performed after each unit test case ends. + // The number of execution times is the same as the number of test cases defined by **it**. + // This API supports only one parameter: clear action function. + }) + afterAll(function () { + // Presets a clear action, which is performed after all test cases of the test suite end. + // This API supports only one parameter: clear action function. + }) + it('assertContain',0, function () { + // Defines a test case. This API supports three parameters: test case name, filter parameter, and test case function. + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', '%{public}s', 'it begin'); + let a = 'abc' + let b = 'b' + // Defines a variety of assertion methods, which are used to declare expected boolean conditions. + expect(a).assertContain(b) + expect(a).assertEqual(a) + }) + }) +} \ No newline at end of file diff --git a/MeShopping/entry/src/ohosTest/ets/test/List.test.ets b/MeShopping/entry/src/ohosTest/ets/test/List.test.ets new file mode 100644 index 0000000000000000000000000000000000000000..d766fe249dfc3ada636f27e64d9b64451ce32c93 --- /dev/null +++ b/MeShopping/entry/src/ohosTest/ets/test/List.test.ets @@ -0,0 +1,5 @@ +import abilityTest from './Ability.test' + +export default function testsuite() { + abilityTest() +} \ No newline at end of file diff --git a/MeShopping/entry/src/ohosTest/ets/testability/TestAbility.ets b/MeShopping/entry/src/ohosTest/ets/testability/TestAbility.ets new file mode 100644 index 0000000000000000000000000000000000000000..84765c417cbff3b90c08d4c9accb2ea581ba2df1 --- /dev/null +++ b/MeShopping/entry/src/ohosTest/ets/testability/TestAbility.ets @@ -0,0 +1,57 @@ +import hilog from '@ohos.hilog'; +import Ability from '@ohos.application.Ability' +import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' +import { Hypium } from '@ohos/hypium' +import testsuite from '../test/List.test' +import Window from '@ohos.window' + +export default class TestAbility extends Ability { + onCreate(want, launchParam) { + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onCreate'); + hilog.info(0x0000, 'testTag', '%{public}s', 'want param:' + JSON.stringify(want) ?? ''); + hilog.info(0x0000, 'testTag', '%{public}s', 'launchParam:'+ JSON.stringify(launchParam) ?? ''); + var abilityDelegator: any + abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator() + var abilityDelegatorArguments: any + abilityDelegatorArguments = AbilityDelegatorRegistry.getArguments() + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', '%{public}s', 'start run testcase!!!'); + Hypium.hypiumTest(abilityDelegator, abilityDelegatorArguments, testsuite) + } + + onDestroy() { + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onDestroy'); + } + + onWindowStageCreate(windowStage: Window.WindowStage) { + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onWindowStageCreate'); + windowStage.loadContent('testability/pages/Index', (err, data) => { + if (err.code) { + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.ERROR); + hilog.error(0x0000, 'testTag', 'Failed to load the content. Cause: %{public}s', JSON.stringify(err) ?? ''); + return; + } + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', 'Succeeded in loading the content. Data: %{public}s', + JSON.stringify(data) ?? ''); + }); + } + + onWindowStageDestroy() { + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onWindowStageDestroy'); + } + + onForeground() { + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onForeground'); + } + + onBackground() { + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onBackground'); + } +} \ No newline at end of file diff --git a/MeShopping/entry/src/ohosTest/ets/testability/pages/Index.ets b/MeShopping/entry/src/ohosTest/ets/testability/pages/Index.ets new file mode 100644 index 0000000000000000000000000000000000000000..954dfe0e29874c9ef11a5ace1673f79e27999864 --- /dev/null +++ b/MeShopping/entry/src/ohosTest/ets/testability/pages/Index.ets @@ -0,0 +1,35 @@ +import hilog from '@ohos.hilog'; + +@Entry +@Component +struct Index { + aboutToAppear() { + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility index aboutToAppear'); + } + @State message: string = 'Hello World' + build() { + Row() { + Column() { + Text(this.message) + .fontSize(50) + .fontWeight(FontWeight.Bold) + Button() { + Text('next page') + .fontSize(20) + .fontWeight(FontWeight.Bold) + }.type(ButtonType.Capsule) + .margin({ + top: 20 + }) + .backgroundColor('#0D9FFB') + .width('35%') + .height('5%') + .onClick(()=>{ + }) + } + .width('100%') + } + .height('100%') + } + } \ No newline at end of file diff --git a/MeShopping/entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts b/MeShopping/entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts new file mode 100644 index 0000000000000000000000000000000000000000..94579b9c1535bc11ee56ee53b48fc90a9977e33a --- /dev/null +++ b/MeShopping/entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts @@ -0,0 +1,71 @@ +import hilog from '@ohos.hilog'; +import TestRunner from '@ohos.application.testRunner' +import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry' + +var abilityDelegator = undefined +var abilityDelegatorArguments = undefined + +function translateParamsToString(parameters) { + const keySet = new Set([ + '-s class', '-s notClass', '-s suite', '-s it', + '-s level', '-s testType', '-s size', '-s timeout', + '-s dryRun' + ]) + let targetParams = ''; + for (const key in parameters) { + if (keySet.has(key)) { + targetParams = `${targetParams} ${key} ${parameters[key]}` + } + } + return targetParams.trim() +} + +async function onAbilityCreateCallback() { + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', '%{public}s', 'onAbilityCreateCallback'); +} + +async function addAbilityMonitorCallback(err: any) { + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', 'addAbilityMonitorCallback : %{public}s', JSON.stringify(err) ?? ''); +} + +export default class OpenHarmonyTestRunner implements TestRunner { + constructor() { + } + + onPrepare() { + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', '%{public}s', 'OpenHarmonyTestRunner OnPrepare '); + } + + async onRun() { + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', '%{public}s', 'OpenHarmonyTestRunner onRun run'); + abilityDelegatorArguments = AbilityDelegatorRegistry.getArguments() + abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator() + var testAbilityName = abilityDelegatorArguments.bundleName + '.TestAbility' + let lMonitor = { + abilityName: testAbilityName, + onAbilityCreate: onAbilityCreateCallback, + }; + abilityDelegator.addAbilityMonitor(lMonitor, addAbilityMonitorCallback) + var cmd = 'aa start -d 0 -a TestAbility' + ' -b ' + abilityDelegatorArguments.bundleName + cmd += ' '+translateParamsToString(abilityDelegatorArguments.parameters) + var debug = abilityDelegatorArguments.parameters['-D'] + if (debug == 'true') + { + cmd += ' -D' + } + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', 'cmd : %{public}s', cmd); + abilityDelegator.executeShellCommand(cmd, + (err: any, d: any) => { + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', 'executeShellCommand : err : %{public}s', JSON.stringify(err) ?? ''); + hilog.info(0x0000, 'testTag', 'executeShellCommand : data : %{public}s', d.stdResult ?? ''); + hilog.info(0x0000, 'testTag', 'executeShellCommand : data : %{public}s', d.exitCode ?? ''); + }) + hilog.info(0x0000, 'testTag', '%{public}s', 'OpenHarmonyTestRunner onRun end'); + } +} \ No newline at end of file diff --git a/MeShopping/entry/src/ohosTest/module.json5 b/MeShopping/entry/src/ohosTest/module.json5 new file mode 100644 index 0000000000000000000000000000000000000000..6182b4c813ba38e1ae0ee25598489b65a13ef1dc --- /dev/null +++ b/MeShopping/entry/src/ohosTest/module.json5 @@ -0,0 +1,36 @@ +{ + "module": { + "name": "entry_test", + "type": "feature", + "description": "$string:module_test_desc", + "mainElement": "TestAbility", + "deviceTypes": [ + "phone" + ], + "deliveryWithInstall": true, + "installationFree": false, + "pages": "$profile:test_pages", + "abilities": [ + { + "name": "TestAbility", + "srcEntrance": "./ets/testability/TestAbility.ets", + "description": "$string:TestAbility_desc", + "icon": "$media:icon", + "label": "$string:TestAbility_label", + "visible": true, + "startWindowIcon": "$media:icon", + "startWindowBackground": "$color:start_window_background", + "skills": [ + { + "actions": [ + "action.system.home" + ], + "entities": [ + "entity.system.home" + ] + } + ] + } + ] + } +} diff --git a/MeShopping/entry/src/ohosTest/resources/base/element/color.json b/MeShopping/entry/src/ohosTest/resources/base/element/color.json new file mode 100644 index 0000000000000000000000000000000000000000..3c712962da3c2751c2b9ddb53559afcbd2b54a02 --- /dev/null +++ b/MeShopping/entry/src/ohosTest/resources/base/element/color.json @@ -0,0 +1,8 @@ +{ + "color": [ + { + "name": "start_window_background", + "value": "#FFFFFF" + } + ] +} \ No newline at end of file diff --git a/MeShopping/entry/src/ohosTest/resources/base/element/string.json b/MeShopping/entry/src/ohosTest/resources/base/element/string.json new file mode 100644 index 0000000000000000000000000000000000000000..65d8fa5a7cf54aa3943dcd0214f58d1771bc1f6c --- /dev/null +++ b/MeShopping/entry/src/ohosTest/resources/base/element/string.json @@ -0,0 +1,16 @@ +{ + "string": [ + { + "name": "module_test_desc", + "value": "test ability description" + }, + { + "name": "TestAbility_desc", + "value": "the test ability" + }, + { + "name": "TestAbility_label", + "value": "test label" + } + ] +} \ No newline at end of file diff --git a/MeShopping/entry/src/ohosTest/resources/base/media/icon.png b/MeShopping/entry/src/ohosTest/resources/base/media/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..ce307a8827bd75456441ceb57d530e4c8d45d36c Binary files /dev/null and b/MeShopping/entry/src/ohosTest/resources/base/media/icon.png differ diff --git a/MeShopping/entry/src/ohosTest/resources/base/profile/test_pages.json b/MeShopping/entry/src/ohosTest/resources/base/profile/test_pages.json new file mode 100644 index 0000000000000000000000000000000000000000..b7e7343cacb32ce982a45e76daad86e435e054fe --- /dev/null +++ b/MeShopping/entry/src/ohosTest/resources/base/profile/test_pages.json @@ -0,0 +1,5 @@ +{ + "src": [ + "testability/pages/Index" + ] +} diff --git a/MeShopping/hvigorfile.ts b/MeShopping/hvigorfile.ts new file mode 100644 index 0000000000000000000000000000000000000000..6478186902c0c1ad7c966a929c7d6b7d8ae7a9f3 --- /dev/null +++ b/MeShopping/hvigorfile.ts @@ -0,0 +1,2 @@ +// Script for compiling build behavior. It is built in the build plug-in and cannot be modified currently. +export { appTasks } from '@ohos/hvigor-ohos-plugin'; \ No newline at end of file diff --git a/MeShopping/package-lock.json b/MeShopping/package-lock.json new file mode 100644 index 0000000000000000000000000000000000000000..eb8e00a3d3576b5e3dd13164130155d17d8a5c57 --- /dev/null +++ b/MeShopping/package-lock.json @@ -0,0 +1,1098 @@ +{ + "name": "meshopping", + "version": "1.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@ohos/hos-sdkmanager-common": { + "version": "2.0.7", + "resolved": "https://repo.harmonyos.com/npm/@ohos/hos-sdkmanager-common/-/@ohos/hos-sdkmanager-common-2.0.7.tgz", + "integrity": "sha512-1dbZlFPImIatThlZWds8sCe6VMKMWCNqOGhoRoEa8FJACKwlUrTybOjCi+MgR5X+vahQDLtDTvMJoZnfMMig6Q==", + "requires": { + "@ohos/sdkmanager-common": "^2.1.5" + } + }, + "@ohos/hvigor": { + "version": "1.3.1", + "resolved": "https://repo.harmonyos.com/npm/@ohos/hvigor/-/@ohos/hvigor-1.3.1.tgz", + "integrity": "sha512-YxIrzzKOPUrXgAe8isUG5q8CTRsP4TIF4Y4KrCeF+uLhMT2FMsd6LYkVj2X9Ib3+siZA+klIUv1Y+kKXMQ55tg==", + "requires": { + "@ohos/hvigor-base": "1.3.1", + "fs-extra": "10.0.1", + "interpret": "1.4.0", + "liftoff": "4.0.0", + "mute-stdout": "1.0.0", + "pretty-hrtime": "1.0.0", + "typescript": "4.7.4", + "v8flags": "3.2.0", + "yargs": "17.5.1" + } + }, + "@ohos/hvigor-base": { + "version": "1.3.1", + "resolved": "https://repo.harmonyos.com/npm/@ohos/hvigor-base/-/@ohos/hvigor-base-1.3.1.tgz", + "integrity": "sha512-0NBF9DGtrdG5YmEXPOgXokgd/ukIF7EDUqYSwYY0utwUJ08A1ukR+V+dcywrczu2erb80NCWbMyCeZOtrGNPMQ==", + "requires": { + "fs-extra": "10.0.1", + "iconv-lite": "0.6.3", + "json5": "2.2.0", + "lodash": "4.17.21", + "log4js": "6.4.1", + "once": "1.4.0", + "pretty-hrtime": "1.0.0" + } + }, + "@ohos/hvigor-ohos-plugin": { + "version": "1.3.1", + "resolved": "https://repo.harmonyos.com/npm/@ohos/hvigor-ohos-plugin/-/@ohos/hvigor-ohos-plugin-1.3.1.tgz", + "integrity": "sha512-K6Nk2tXNMTJlNf1Ad6nV3+DIQ7iFhBibrelUfHHWqDVlfFUWMxUtpk1Nvs/5RgKIu6O+BJRWJURDgm7mUooAWA==", + "requires": { + "@ohos/hos-sdkmanager-common": "2.0.7", + "@ohos/hvigor-base": "1.3.1", + "@ohos/sdkmanager-common": "2.1.5", + "adm-zip": "0.5.9", + "ajv": "8.10.0", + "deasync": "0.1.28", + "execa": "5.1.1", + "fast-xml-parser": "4.0.3", + "fs-extra": "10.0.1", + "glob": "7.2.0", + "iconv-lite": "0.6.3", + "json5": "2.2.0", + "lodash": "4.17.21", + "pretty-hrtime": "1.0.3", + "resolve-package-path": "4.0.3" + }, + "dependencies": { + "pretty-hrtime": { + "version": "1.0.3", + "resolved": "https://repo.huaweicloud.com/repository/npm/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz", + "integrity": "sha512-66hKPCr+72mlfiSjlEB1+45IjXSqvVAIy6mocupoww4tBFE9R9IhwwUGoI4G++Tc9Aq+2rxOt0RFU6gPcrte0A==" + } + } + }, + "@ohos/hypium": { + "version": "1.0.3", + "resolved": "https://repo.harmonyos.com/npm/@ohos/hypium/-/@ohos/hypium-1.0.3.tgz", + "integrity": "sha512-QKh8ngJk1ySbAiKpSTLP5EJIbT8Oja1zV3zwgLD7U9+KX7w2gjNIk3qoP+d13CwpEfaSR3Lxt3exlQLwWSFx3g==" + }, + "@ohos/sdkmanager-common": { + "version": "2.1.5", + "resolved": "https://repo.harmonyos.com/npm/@ohos/sdkmanager-common/-/@ohos/sdkmanager-common-2.1.5.tgz", + "integrity": "sha512-Ka6DncGdEkZ5A9/8aR0oea/PL6yZtPudXTalAX+oXCLIGUxUu400TBcETFZ4fsIePbxmWyOSQW5T1VqUYYIdOg==", + "requires": { + "axios": "0.24.0", + "jszip": "^3.7.0" + } + }, + "adm-zip": { + "version": "0.5.9", + "resolved": "https://repo.huaweicloud.com/repository/npm/adm-zip/-/adm-zip-0.5.9.tgz", + "integrity": "sha512-s+3fXLkeeLjZ2kLjCBwQufpI5fuN+kIGBxu6530nVQZGVol0d7Y/M88/xw9HGGUcJjKf8LutN3VPRUBq6N7Ajg==" + }, + "ajv": { + "version": "8.10.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/ajv/-/ajv-8.10.0.tgz", + "integrity": "sha512-bzqAEZOjkrUMl2afH8dknrq5KEk2SrwdBROR+vH1EKVQTqaUbJVPdc/gEdggTMM0Se+s+Ja4ju4TlNcStKl2Hw==", + "requires": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + } + }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "array-each": { + "version": "1.0.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/array-each/-/array-each-1.0.1.tgz", + "integrity": "sha512-zHjL5SZa68hkKHBFBK6DJCTtr9sfTCPCaph/L7tMSLcTFgy+zX7E+6q5UArbtOtMBCtxdICpfTCspRse+ywyXA==" + }, + "array-slice": { + "version": "1.1.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/array-slice/-/array-slice-1.1.0.tgz", + "integrity": "sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w==" + }, + "axios": { + "version": "0.24.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/axios/-/axios-0.24.0.tgz", + "integrity": "sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==", + "requires": { + "follow-redirects": "^1.14.4" + } + }, + "balanced-match": { + "version": "1.0.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "bindings": { + "version": "1.5.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/bindings/-/bindings-1.5.0.tgz", + "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", + "requires": { + "file-uri-to-path": "1.0.0" + } + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://repo.huaweicloud.com/repository/npm/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "requires": { + "fill-range": "^7.0.1" + } + }, + "cliui": { + "version": "7.0.4", + "resolved": "https://repo.huaweicloud.com/repository/npm/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://repo.huaweicloud.com/repository/npm/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + }, + "core-util-is": { + "version": "1.0.3", + "resolved": "https://repo.huaweicloud.com/repository/npm/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" + }, + "cross-spawn": { + "version": "7.0.3", + "resolved": "https://repo.huaweicloud.com/repository/npm/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "requires": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "dependencies": { + "which": { + "version": "2.0.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "requires": { + "isexe": "^2.0.0" + } + } + } + }, + "date-format": { + "version": "4.0.14", + "resolved": "https://repo.huaweicloud.com/repository/npm/date-format/-/date-format-4.0.14.tgz", + "integrity": "sha512-39BOQLs9ZjKh0/patS9nrT8wc3ioX3/eA/zgbKNopnF2wCqJEoxywwwElATYvRsXdnOxA/OQeQoFZ3rFjVajhg==" + }, + "deasync": { + "version": "0.1.28", + "resolved": "https://repo.huaweicloud.com/repository/npm/deasync/-/deasync-0.1.28.tgz", + "integrity": "sha512-QqLF6inIDwiATrfROIyQtwOQxjZuek13WRYZ7donU5wJPLoP67MnYxA6QtqdvdBy2mMqv5m3UefBVdJjvevOYg==", + "requires": { + "bindings": "^1.5.0", + "node-addon-api": "^1.7.1" + } + }, + "debug": { + "version": "4.3.4", + "resolved": "https://repo.huaweicloud.com/repository/npm/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "requires": { + "ms": "2.1.2" + } + }, + "detect-file": { + "version": "1.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/detect-file/-/detect-file-1.0.0.tgz", + "integrity": "sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q==" + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "escalade": { + "version": "3.1.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + }, + "execa": { + "version": "5.1.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + } + }, + "expand-tilde": { + "version": "2.0.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/expand-tilde/-/expand-tilde-2.0.2.tgz", + "integrity": "sha512-A5EmesHW6rfnZ9ysHQjPdJRni0SRar0tjtG5MNtm9n5TUvsYU8oozprtRD4AqHxcZWWlVuAmQo2nWKfN9oyjTw==", + "requires": { + "homedir-polyfill": "^1.0.1" + } + }, + "extend": { + "version": "3.0.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://repo.huaweicloud.com/repository/npm/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "fast-xml-parser": { + "version": "4.0.3", + "resolved": "https://repo.huaweicloud.com/repository/npm/fast-xml-parser/-/fast-xml-parser-4.0.3.tgz", + "integrity": "sha512-xhQbg3a/EYNHwK0cxIG1nZmVkHX/0tWihamn5pU4Mhd9KEVE2ga8ZJiqEUgB2sApElvAATOdMTLjgqIpvYDUkQ==", + "requires": { + "strnum": "^1.0.5" + } + }, + "file-uri-to-path": { + "version": "1.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", + "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "findup-sync": { + "version": "5.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/findup-sync/-/findup-sync-5.0.0.tgz", + "integrity": "sha512-MzwXju70AuyflbgeOhzvQWAvvQdo1XL0A9bVvlXsYcFEBM87WR4OakL4OfZq+QRmr+duJubio+UtNQCPsVESzQ==", + "requires": { + "detect-file": "^1.0.0", + "is-glob": "^4.0.3", + "micromatch": "^4.0.4", + "resolve-dir": "^1.0.1" + } + }, + "fined": { + "version": "2.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/fined/-/fined-2.0.0.tgz", + "integrity": "sha512-OFRzsL6ZMHz5s0JrsEr+TpdGNCtrVtnuG3x1yzGNiQHT0yaDnXAj8V/lWcpJVrnoDpcwXcASxAZYbuXda2Y82A==", + "requires": { + "expand-tilde": "^2.0.2", + "is-plain-object": "^5.0.0", + "object.defaults": "^1.1.0", + "object.pick": "^1.3.0", + "parse-filepath": "^1.0.2" + } + }, + "flagged-respawn": { + "version": "2.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/flagged-respawn/-/flagged-respawn-2.0.0.tgz", + "integrity": "sha512-Gq/a6YCi8zexmGHMuJwahTGzXlAZAOsbCVKduWXC6TlLCjjFRlExMJc4GC2NYPYZ0r/brw9P7CpRgQmlPVeOoA==" + }, + "flatted": { + "version": "3.2.7", + "resolved": "https://repo.huaweicloud.com/repository/npm/flatted/-/flatted-3.2.7.tgz", + "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==" + }, + "follow-redirects": { + "version": "1.15.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/follow-redirects/-/follow-redirects-1.15.2.tgz", + "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==" + }, + "for-in": { + "version": "1.0.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ==" + }, + "for-own": { + "version": "1.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/for-own/-/for-own-1.0.0.tgz", + "integrity": "sha512-0OABksIGrxKK8K4kynWkQ7y1zounQxP+CWnyclVwj81KW3vlLlGUx57DKGcP/LH216GzqnstnPocF16Nxs0Ycg==", + "requires": { + "for-in": "^1.0.1" + } + }, + "fs-extra": { + "version": "10.0.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/fs-extra/-/fs-extra-10.0.1.tgz", + "integrity": "sha512-NbdoVMZso2Lsrn/QwLXOy6rm0ufY2zEOKCDzJR/0kBsb0E6qed0P3iYK+Ath3BfvXEeu4JhEtXLgILx5psUfag==", + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://repo.huaweicloud.com/repository/npm/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" + }, + "get-stream": { + "version": "6.0.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==" + }, + "glob": { + "version": "7.2.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "global-modules": { + "version": "1.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/global-modules/-/global-modules-1.0.0.tgz", + "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==", + "requires": { + "global-prefix": "^1.0.1", + "is-windows": "^1.0.1", + "resolve-dir": "^1.0.0" + } + }, + "global-prefix": { + "version": "1.0.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/global-prefix/-/global-prefix-1.0.2.tgz", + "integrity": "sha512-5lsx1NUDHtSjfg0eHlmYvZKv8/nVqX4ckFbM+FrGcQ+04KWcWFo9P5MxPZYSzUvyzmdTbI7Eix8Q4IbELDqzKg==", + "requires": { + "expand-tilde": "^2.0.2", + "homedir-polyfill": "^1.0.1", + "ini": "^1.3.4", + "is-windows": "^1.0.1", + "which": "^1.2.14" + } + }, + "graceful-fs": { + "version": "4.2.10", + "resolved": "https://repo.huaweicloud.com/repository/npm/graceful-fs/-/graceful-fs-4.2.10.tgz", + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" + }, + "has": { + "version": "1.0.3", + "resolved": "https://repo.huaweicloud.com/repository/npm/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "requires": { + "function-bind": "^1.1.1" + } + }, + "homedir-polyfill": { + "version": "1.0.3", + "resolved": "https://repo.huaweicloud.com/repository/npm/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", + "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==", + "requires": { + "parse-passwd": "^1.0.0" + } + }, + "human-signals": { + "version": "2.1.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==" + }, + "iconv-lite": { + "version": "0.6.3", + "resolved": "https://repo.huaweicloud.com/repository/npm/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + }, + "immediate": { + "version": "3.0.6", + "resolved": "https://repo.huaweicloud.com/repository/npm/immediate/-/immediate-3.0.6.tgz", + "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==" + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://repo.huaweicloud.com/repository/npm/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://repo.huaweicloud.com/repository/npm/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "ini": { + "version": "1.3.8", + "resolved": "https://repo.huaweicloud.com/repository/npm/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" + }, + "interpret": { + "version": "1.4.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/interpret/-/interpret-1.4.0.tgz", + "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==" + }, + "is-absolute": { + "version": "1.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/is-absolute/-/is-absolute-1.0.0.tgz", + "integrity": "sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==", + "requires": { + "is-relative": "^1.0.0", + "is-windows": "^1.0.1" + } + }, + "is-core-module": { + "version": "2.11.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/is-core-module/-/is-core-module-2.11.0.tgz", + "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", + "requires": { + "has": "^1.0.3" + } + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==" + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" + }, + "is-glob": { + "version": "4.0.3", + "resolved": "https://repo.huaweicloud.com/repository/npm/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" + }, + "is-plain-object": { + "version": "5.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==" + }, + "is-relative": { + "version": "1.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/is-relative/-/is-relative-1.0.0.tgz", + "integrity": "sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==", + "requires": { + "is-unc-path": "^1.0.0" + } + }, + "is-stream": { + "version": "2.0.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==" + }, + "is-unc-path": { + "version": "1.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/is-unc-path/-/is-unc-path-1.0.0.tgz", + "integrity": "sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==", + "requires": { + "unc-path-regex": "^0.1.2" + } + }, + "is-windows": { + "version": "1.0.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==" + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==" + }, + "json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, + "json5": { + "version": "2.2.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/json5/-/json5-2.2.0.tgz", + "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", + "requires": { + "minimist": "^1.2.5" + } + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "jszip": { + "version": "3.10.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/jszip/-/jszip-3.10.1.tgz", + "integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==", + "requires": { + "lie": "~3.3.0", + "pako": "~1.0.2", + "readable-stream": "~2.3.6", + "setimmediate": "^1.0.5" + } + }, + "kind-of": { + "version": "6.0.3", + "resolved": "https://repo.huaweicloud.com/repository/npm/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" + }, + "lie": { + "version": "3.3.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/lie/-/lie-3.3.0.tgz", + "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", + "requires": { + "immediate": "~3.0.5" + } + }, + "liftoff": { + "version": "4.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/liftoff/-/liftoff-4.0.0.tgz", + "integrity": "sha512-rMGwYF8q7g2XhG2ulBmmJgWv25qBsqRbDn5gH0+wnuyeFt7QBJlHJmtg5qEdn4pN6WVAUMgXnIxytMFRX9c1aA==", + "requires": { + "extend": "^3.0.2", + "findup-sync": "^5.0.0", + "fined": "^2.0.0", + "flagged-respawn": "^2.0.0", + "is-plain-object": "^5.0.0", + "object.map": "^1.0.1", + "rechoir": "^0.8.0", + "resolve": "^1.20.0" + } + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://repo.huaweicloud.com/repository/npm/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "log4js": { + "version": "6.4.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/log4js/-/log4js-6.4.1.tgz", + "integrity": "sha512-iUiYnXqAmNKiIZ1XSAitQ4TmNs8CdZYTAWINARF3LjnsLN8tY5m0vRwd6uuWj/yNY0YHxeZodnbmxKFUOM2rMg==", + "requires": { + "date-format": "^4.0.3", + "debug": "^4.3.3", + "flatted": "^3.2.4", + "rfdc": "^1.3.0", + "streamroller": "^3.0.2" + } + }, + "make-iterator": { + "version": "1.0.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/make-iterator/-/make-iterator-1.0.1.tgz", + "integrity": "sha512-pxiuXh0iVEq7VM7KMIhs5gxsfxCux2URptUQaXo4iZZJxBAzTPOLE2BumO5dbfVYq/hBJFBR/a1mFDmOx5AGmw==", + "requires": { + "kind-of": "^6.0.2" + } + }, + "map-cache": { + "version": "0.2.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/map-cache/-/map-cache-0.2.2.tgz", + "integrity": "sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==" + }, + "merge-stream": { + "version": "2.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==" + }, + "micromatch": { + "version": "4.0.5", + "resolved": "https://repo.huaweicloud.com/repository/npm/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "requires": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + } + }, + "mimic-fn": { + "version": "2.1.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "1.2.7", + "resolved": "https://repo.huaweicloud.com/repository/npm/minimist/-/minimist-1.2.7.tgz", + "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==" + }, + "ms": { + "version": "2.1.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "mute-stdout": { + "version": "1.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/mute-stdout/-/mute-stdout-1.0.0.tgz", + "integrity": "sha512-MaSQenn0f9oxIjtCufclpV00MuYTiHaXPbdcfPIM+quMqoa8cXywjHHx4LhhIAZlXqPWMdcUpYviajfmHtHRJw==" + }, + "node-addon-api": { + "version": "1.7.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/node-addon-api/-/node-addon-api-1.7.2.tgz", + "integrity": "sha512-ibPK3iA+vaY1eEjESkQkM0BbCqFOaZMiXRTtdB0u7b4djtY6JnsjvPdUHVMg6xQt3B8fpTTWHI9A+ADjM9frzg==" + }, + "npm-run-path": { + "version": "4.0.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "requires": { + "path-key": "^3.0.0" + } + }, + "object.defaults": { + "version": "1.1.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/object.defaults/-/object.defaults-1.1.0.tgz", + "integrity": "sha512-c/K0mw/F11k4dEUBMW8naXUuBuhxRCfG7W+yFy8EcijU/rSmazOUd1XAEEe6bC0OuXY4HUKjTJv7xbxIMqdxrA==", + "requires": { + "array-each": "^1.0.1", + "array-slice": "^1.0.0", + "for-own": "^1.0.0", + "isobject": "^3.0.0" + } + }, + "object.map": { + "version": "1.0.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/object.map/-/object.map-1.0.1.tgz", + "integrity": "sha512-3+mAJu2PLfnSVGHwIWubpOFLscJANBKuB/6A4CxBstc4aqwQY0FWcsppuy4jU5GSB95yES5JHSI+33AWuS4k6w==", + "requires": { + "for-own": "^1.0.0", + "make-iterator": "^1.0.0" + } + }, + "object.pick": { + "version": "1.3.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/object.pick/-/object.pick-1.3.0.tgz", + "integrity": "sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ==", + "requires": { + "isobject": "^3.0.1" + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "requires": { + "wrappy": "1" + } + }, + "onetime": { + "version": "5.1.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "requires": { + "mimic-fn": "^2.1.0" + } + }, + "pako": { + "version": "1.0.11", + "resolved": "https://repo.huaweicloud.com/repository/npm/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" + }, + "parse-filepath": { + "version": "1.0.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/parse-filepath/-/parse-filepath-1.0.2.tgz", + "integrity": "sha512-FwdRXKCohSVeXqwtYonZTXtbGJKrn+HNyWDYVcp5yuJlesTwNH4rsmRZ+GrKAPJ5bLpRxESMeS+Rl0VCHRvB2Q==", + "requires": { + "is-absolute": "^1.0.0", + "map-cache": "^0.2.0", + "path-root": "^0.1.1" + } + }, + "parse-passwd": { + "version": "1.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/parse-passwd/-/parse-passwd-1.0.0.tgz", + "integrity": "sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==" + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==" + }, + "path-key": { + "version": "3.1.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" + }, + "path-parse": { + "version": "1.0.7", + "resolved": "https://repo.huaweicloud.com/repository/npm/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "path-root": { + "version": "0.1.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/path-root/-/path-root-0.1.1.tgz", + "integrity": "sha512-QLcPegTHF11axjfojBIoDygmS2E3Lf+8+jI6wOVmNVenrKSo3mFdSGiIgdSHenczw3wPtlVMQaFVwGmM7BJdtg==", + "requires": { + "path-root-regex": "^0.1.0" + } + }, + "path-root-regex": { + "version": "0.1.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/path-root-regex/-/path-root-regex-0.1.2.tgz", + "integrity": "sha512-4GlJ6rZDhQZFE0DPVKh0e9jmZ5egZfxTkp7bcRDuPlJXbAwhxcl2dINPUAsjLdejqaLsCeg8axcLjIbvBjN4pQ==" + }, + "picomatch": { + "version": "2.3.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" + }, + "pretty-hrtime": { + "version": "1.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/pretty-hrtime/-/pretty-hrtime-1.0.0.tgz", + "integrity": "sha512-CU2l5CYUAptUYq/671ajexQfXuxJFwwg0n243Kdkx8bTjeenedsWgu8TGHPm03vLfNtk3aTXgySKPp3Usykudw==" + }, + "process-nextick-args": { + "version": "2.0.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + }, + "readable-stream": { + "version": "2.3.7", + "resolved": "https://repo.huaweicloud.com/repository/npm/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "rechoir": { + "version": "0.8.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/rechoir/-/rechoir-0.8.0.tgz", + "integrity": "sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ==", + "requires": { + "resolve": "^1.20.0" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==" + }, + "require-from-string": { + "version": "2.0.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==" + }, + "resolve": { + "version": "1.22.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/resolve/-/resolve-1.22.1.tgz", + "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", + "requires": { + "is-core-module": "^2.9.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + }, + "resolve-dir": { + "version": "1.0.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/resolve-dir/-/resolve-dir-1.0.1.tgz", + "integrity": "sha512-R7uiTjECzvOsWSfdM0QKFNBVFcK27aHOUwdvK53BcW8zqnGdYp0Fbj82cy54+2A4P2tFM22J5kRfe1R+lM/1yg==", + "requires": { + "expand-tilde": "^2.0.0", + "global-modules": "^1.0.0" + } + }, + "resolve-package-path": { + "version": "4.0.3", + "resolved": "https://repo.huaweicloud.com/repository/npm/resolve-package-path/-/resolve-package-path-4.0.3.tgz", + "integrity": "sha512-SRpNAPW4kewOaNUt8VPqhJ0UMxawMwzJD8V7m1cJfdSTK9ieZwS6K7Dabsm4bmLFM96Z5Y/UznrpG5kt1im8yA==", + "requires": { + "path-root": "^0.1.1" + } + }, + "rfdc": { + "version": "1.3.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/rfdc/-/rfdc-1.3.0.tgz", + "integrity": "sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==" + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "setimmediate": { + "version": "1.0.5", + "resolved": "https://repo.huaweicloud.com/repository/npm/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==" + }, + "shebang-command": { + "version": "2.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "requires": { + "shebang-regex": "^3.0.0" + } + }, + "shebang-regex": { + "version": "3.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" + }, + "signal-exit": { + "version": "3.0.7", + "resolved": "https://repo.huaweicloud.com/repository/npm/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" + }, + "streamroller": { + "version": "3.1.3", + "resolved": "https://repo.huaweicloud.com/repository/npm/streamroller/-/streamroller-3.1.3.tgz", + "integrity": "sha512-CphIJyFx2SALGHeINanjFRKQ4l7x2c+rXYJ4BMq0gd+ZK0gi4VT8b+eHe2wi58x4UayBAKx4xtHpXT/ea1cz8w==", + "requires": { + "date-format": "^4.0.14", + "debug": "^4.3.4", + "fs-extra": "^8.1.0" + }, + "dependencies": { + "fs-extra": { + "version": "8.1.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" + } + } + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://repo.huaweicloud.com/repository/npm/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "requires": { + "safe-buffer": "~5.1.0" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "strip-final-newline": { + "version": "2.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==" + }, + "strnum": { + "version": "1.0.5", + "resolved": "https://repo.huaweicloud.com/repository/npm/strnum/-/strnum-1.0.5.tgz", + "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==" + }, + "supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "requires": { + "is-number": "^7.0.0" + } + }, + "typescript": { + "version": "4.7.4", + "resolved": "https://repo.huaweicloud.com/repository/npm/typescript/-/typescript-4.7.4.tgz", + "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==" + }, + "unc-path-regex": { + "version": "0.1.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/unc-path-regex/-/unc-path-regex-0.1.2.tgz", + "integrity": "sha512-eXL4nmJT7oCpkZsHZUOJo8hcX3GbsiDOa0Qu9F646fi8dT3XuSVopVqAcEiVzSKKH7UoDti23wNX3qGFxcW5Qg==" + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" + }, + "uri-js": { + "version": "4.4.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "requires": { + "punycode": "^2.1.0" + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" + }, + "v8flags": { + "version": "3.2.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/v8flags/-/v8flags-3.2.0.tgz", + "integrity": "sha512-mH8etigqMfiGWdeXpaaqGfs6BndypxusHHcv2qSHyZkGEznCd/qAXCWWRzeowtL54147cktFOC4P5y+kl8d8Jg==", + "requires": { + "homedir-polyfill": "^1.0.1" + } + }, + "which": { + "version": "1.3.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "requires": { + "isexe": "^2.0.0" + } + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://repo.huaweicloud.com/repository/npm/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://repo.huaweicloud.com/repository/npm/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + }, + "y18n": { + "version": "5.0.8", + "resolved": "https://repo.huaweicloud.com/repository/npm/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" + }, + "yargs": { + "version": "17.5.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/yargs/-/yargs-17.5.1.tgz", + "integrity": "sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA==", + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.0.0" + } + }, + "yargs-parser": { + "version": "21.1.1", + "resolved": "https://repo.huaweicloud.com/repository/npm/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==" + } + } +} diff --git a/MeShopping/package.json b/MeShopping/package.json new file mode 100644 index 0000000000000000000000000000000000000000..376ce7bedf176bd17ef1e02eb233ade817112b47 --- /dev/null +++ b/MeShopping/package.json @@ -0,0 +1,17 @@ +{ + "name": "meshopping", + "version": "1.0.0", + "ohos": { + "org": "huawei", + "buildTool": "hvigor", + "directoryLevel": "project" + }, + "description": "example description", + "repository": {}, + "license": "ISC", + "dependencies": { + "@ohos/hypium": "1.0.3", + "@ohos/hvigor": "1.3.1", + "@ohos/hvigor-ohos-plugin": "1.3.1" + } +}