diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/.gitignore" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/.gitignore" new file mode 100644 index 0000000000000000000000000000000000000000..dc4e6353bf3caf74c5953d0bec81c72a3635bf33 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/.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/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/AppScope/app.json5" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/AppScope/app.json5" new file mode 100644 index 0000000000000000000000000000000000000000..32819fd278a7919098f5649416677758fd63331c --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/AppScope/app.json5" @@ -0,0 +1,11 @@ +{ + "app": { + "bundleName": "com.example.audio_app", + "vendor": "example", + "versionCode": 1000000, + "versionName": "1.0.0", + "icon": "$media:app_icon", + "label": "$string:app_name", + "distributedNotificationEnabled": true + } +} diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/AppScope/resources/base/element/string.json" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/AppScope/resources/base/element/string.json" new file mode 100644 index 0000000000000000000000000000000000000000..20d8c52a86edbeaa81f37724f9fe47069601fdf6 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/AppScope/resources/base/element/string.json" @@ -0,0 +1,8 @@ +{ + "string": [ + { + "name": "app_name", + "value": "Audio_app" + } + ] +} diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/AppScope/resources/base/media/app_icon.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/AppScope/resources/base/media/app_icon.png" new file mode 100644 index 0000000000000000000000000000000000000000..ce307a8827bd75456441ceb57d530e4c8d45d36c Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/AppScope/resources/base/media/app_icon.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/README.md" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/README.md" new file mode 100644 index 0000000000000000000000000000000000000000..4f837b8267b0fd4f2be4c5711b3f9e4ec5271522 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/README.md" @@ -0,0 +1,33 @@ +# #HarmonyOS ArkUI入门训练营——华为产品百宝盒 +## 前言 +之前一直想试试UI开发但没有找到机会,恰好今年开发者大会看到华为发布了ARKUI而且说很好上手,看来一下配套的课程文档和官方群也有,作为北向开发的纯小白想来试试UI界面的开发,顺便参加一下活动 +## APP介绍 +进入正题,通过官方放出的食谱demo和音频开发demo,我做了一个类似酷安数码的软件————华为产品百宝盒,主要功能如下 +一:支持底部导航栏切换不同分区的界面,分区分为"优秀手机",“优秀配件”,“关于华为”,“关于鸿蒙” +二:第一页和第二页为产品列表页面,支持点击进入详情,进入详情后也支持点击返回按钮返回桌面 +![图片](https://gitee.com/DerryJun/contest/raw/master/2022_ArkUI_Bootcamp/13049722213+%E5%8D%8E%E4%B8%BA%E4%BA%A7%E5%93%81%E7%99%BE%E5%AE%9D%E7%9B%92/Huawei_Box/readme_resource/h1.png) +## APP详细功能 +### 一:APP名称界面 +在aboutToAppear()中使用setTimeout()函数进行延时,在build中容器放置文字即可 +![图片](https://gitee.com/DerryJun/contest/raw/master/2022_ArkUI_Bootcamp/13049722213+%E5%8D%8E%E4%B8%BA%E4%BA%A7%E5%93%81%E7%99%BE%E5%AE%9D%E7%9B%92/Huawei_Box/readme_resource/s1.png) +### 二:轮播页界面 +使用Swiper进行轮播,在Swiper最后可以设置轮播模式(比如循环,自动播放,从第几页开始播等等),设置了跳过键,可以进入主页,如果不跳过则会循环播放swiper页面,配合在build中使用容器装文字来配合显示,push到主页时进行了自定义动画,让动画更加灵动 +![图片](https://gitee.com/DerryJun/contest/raw/master/2022_ArkUI_Bootcamp/13049722213+%E5%8D%8E%E4%B8%BA%E4%BA%A7%E5%93%81%E7%99%BE%E5%AE%9D%E7%9B%92/Huawei_Box/readme_resource/w1.png) +### 三:主页 +#### 1:底部导航栏 +使用TabContent,点到哪个页面就调用哪个页面的文件,图标直接插入华为的logo进行圆形处理即可 +#### 2:优秀手机/优秀配件 +这两个界面是一样的原理,首先需要定义一个数据结构,在另一个文件引入数据结构并填充数据,最后页面将数据结构和数据一起拉进去,就可以非常高效地管理数据了,详情页和非详情页都是通过拉取对应数据结构的图片来的,数据结构做了两个,一个负责上面swiper界面的数据,另一个负责下面简要介绍的文字图片信息和点击进入后的文字,swiper的图片,tag标签的信息,配件和手机的数据结构是完全分开的,但结构类似 +![图片](https://gitee.com/DerryJun/contest/raw/master/2022_ArkUI_Bootcamp/13049722213+%E5%8D%8E%E4%B8%BA%E4%BA%A7%E5%93%81%E7%99%BE%E5%AE%9D%E7%9B%92/Huawei_Box/readme_resource/h1.png) +![图片](https://gitee.com/DerryJun/contest/raw/master/2022_ArkUI_Bootcamp/13049722213+%E5%8D%8E%E4%B8%BA%E4%BA%A7%E5%93%81%E7%99%BE%E5%AE%9D%E7%9B%92/Huawei_Box/readme_resource/h2.png) +由于没有北向开发经验,中间还碰到了一个问题,是如何把点击的特定界面和想要的数据做绑定,只显示特定的数据,其他的数据不显示,后面在数据结构中加入了标识符index,给详情页的数据结构也加入了标识符,通过简单的foreach和if语句遍历所有数据,只有标识符一样才能进行显示,比如我点击p50pro,详情页就只显示p50pro的图片和文字信息,就是使用的标识符辨别实现的 +![图片](https://gitee.com/DerryJun/contest/raw/master/2022_ArkUI_Bootcamp/13049722213+%E5%8D%8E%E4%B8%BA%E4%BA%A7%E5%93%81%E7%99%BE%E5%AE%9D%E7%9B%92/Huawei_Box/readme_resource/d1.png) +![图片](https://gitee.com/DerryJun/contest/raw/master/2022_ArkUI_Bootcamp/13049722213+%E5%8D%8E%E4%B8%BA%E4%BA%A7%E5%93%81%E7%99%BE%E5%AE%9D%E7%9B%92/Huawei_Box/readme_resource/d2.png) +#### 3:关于华为/关于鸿蒙 +两个简单的介绍页,在容器中加入文字即可 +![图片](https://gitee.com/DerryJun/contest/raw/master/2022_ArkUI_Bootcamp/13049722213+%E5%8D%8E%E4%B8%BA%E4%BA%A7%E5%93%81%E7%99%BE%E5%AE%9D%E7%9B%92/Huawei_Box/readme_resource/o1.png) +![图片](https://gitee.com/DerryJun/contest/raw/master/2022_ArkUI_Bootcamp/13049722213+%E5%8D%8E%E4%B8%BA%E4%BA%A7%E5%93%81%E7%99%BE%E5%AE%9D%E7%9B%92/Huawei_Box/readme_resource/o2.png) +#### 4:关于设计 +我本人蛮喜欢酷安数码的绿色的风格,所以在这次的UI界面上也加入了绿色元素,但实在是对美术设计不太懂,以后学习一下动画怎么弄提升一下美观性 +## 总结 +通过这次的活动真正开始接触UI,深刻体会到了ArkUI声明式UI的简洁高效的特点,DevEco Studio对ArkUI开发也十分友好,特别是预览器可以快速定位组件代码的位置要给好评(不知道其他IDE有没有类似的功能), 现在只学习了两周刚刚弄弄明白一点,以后还需要学习更多来更好的运用ARKUI来开发鸿蒙软件,实际程序显示UI界面已放入readme_resource文件夹,欢迎大家来看看 \ No newline at end of file diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/build-profile.json5" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/build-profile.json5" new file mode 100644 index 0000000000000000000000000000000000000000..c797057b3e6b19d87a149a04544791b014f0505a --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/build-profile.json5" @@ -0,0 +1,41 @@ +{ + "app": { + "signingConfigs": [ + { + "name": "default", + "type": "HarmonyOS", + "material": { + "certpath": "C:\\Users\\Derry\\.ohos\\config\\auto_debug_Audio_app_change_com.example.audio_app_420086000109944037.cer", + "storePassword": "0000001BA747BC41BFAFFE38E9889C8DB65C47CA4A1F722D830BFE43CF6FA46AEC2A3FFEC4391664D2267A", + "keyAlias": "debugKey", + "keyPassword": "0000001BAFBB55770EFBDEB68B2CF87C3739823F6D9F598ADCF94E249C1BDFDC568801C017F19859B732FD", + "profile": "C:\\Users\\Derry\\.ohos\\config\\auto_debug_Audio_app_change_com.example.audio_app_420086000109944037.p7b", + "signAlg": "SHA256withECDSA", + "storeFile": "C:\\Users\\Derry\\.ohos\\config\\auto_debug_Audio_app_change_com.example.audio_app_420086000109944037.p12" + } + } + ], + "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/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/.gitignore" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/.gitignore" new file mode 100644 index 0000000000000000000000000000000000000000..5a6ba80fa3d9498a23ae8ae7d9518f8743fa8a96 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/.gitignore" @@ -0,0 +1,4 @@ +/node_modules +/.preview +/build +/.cxx \ No newline at end of file diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/build-profile.json5" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/build-profile.json5" new file mode 100644 index 0000000000000000000000000000000000000000..20c75049f2d45e57d267899b6547c79fb6aa84c1 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/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/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/hvigorfile.ts" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/hvigorfile.ts" new file mode 100644 index 0000000000000000000000000000000000000000..80e4ec5b81689f238c34614b167a0b9e9c83e8d9 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/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/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/package-lock.json" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/package-lock.json" new file mode 100644 index 0000000000000000000000000000000000000000..15bc7145be1490029883067847743ea7134cf545 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/package-lock.json" @@ -0,0 +1,5 @@ +{ + "name": "entry", + "version": "1.0.0", + "lockfileVersion": 1 +} diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/package.json" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/package.json" new file mode 100644 index 0000000000000000000000000000000000000000..c7685ac4e7c0d79df04c96744f0d8f22cb4a9025 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/package.json" @@ -0,0 +1,14 @@ +{ + "license": "ISC", + "devDependencies": {}, + "name": "entry", + "ohos": { + "org": "huawei", + "directoryLevel": "module", + "buildTool": "hvigor" + }, + "description": "example description", + "repository": {}, + "version": "1.0.0", + "dependencies": {} +} diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/entryability/EntryAbility.ts" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/entryability/EntryAbility.ts" new file mode 100644 index 0000000000000000000000000000000000000000..a548a4a610b5dd2da5ff1fa5173e9d21ccb88d97 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/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/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() { + // 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/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/SplashPage.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/SplashPage.ets" new file mode 100644 index 0000000000000000000000000000000000000000..146efd22160ae17ff1c1f70f7f8b4e90683006f8 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/SplashPage.ets" @@ -0,0 +1,82 @@ +import featureAbility from '@ohos.ability.featureAbility'; +import dataStorage from '@ohos.data.storage' +import router from '@ohos.router'; + + + +@Entry +@Component +struct Index { + @State message: string = '华为产品百宝盒' + @State message1: string = '收藏各类华为经典机型' +// @State IsFirstValue:boolean = true + + + + public aboutToAppear(){ +// +// +// +// +// + var timeoutID = setTimeout(function(){ +// +// var context = featureAbility.getContext(); +// //获取1内部存储器上的当前app文件app的文件目录 +// context.getFilesDir((err,path)=> { +// if (err) { +// console.error("err" + JSON.stringify(err)) +// return +// } +// console.error("success" + JSON.stringify(path)) +// +// +// +// let storage = dataStorage.getStorageSync(path + "/store")//不给用,已经弃用了 +// let isFirst = storage.getSync("isFirst", this.IsFirstValue) +// // console.error("现在的状态是:"+ JSON.stringify(this.IsFirstValue)) + +// if (isFirst) { + router.push({ + url: "pages/WelcomePage" + }) +// } else { +// router.push({ +// url: "pages/index" +// +// }) +// } + +// }) + },3000) + } + + + + + + build() { + Row() { + Column({space:10}) { + Text(this.message) + .fontSize(40) + .fontWeight(FontWeight.Bold) + .margin({bottom:10,top:100,left:20}) + .fontColor(Color.White) + + Text(this.message1) + .fontSize(35) + .fontWeight(FontWeight.Bold) + //.margin({bottom:100,top:100,left:20}) + .fontColor(Color.White) + Image($r("app.media.head")) + .width('100%') + .height(400) + .objectFit(ImageFit.Auto) + } + .width('100%') + } + .height('100%') + .backgroundColor(Color.Green) + } +} \ No newline at end of file diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/WelcomePage.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/WelcomePage.ets" new file mode 100644 index 0000000000000000000000000000000000000000..113175b3d94c2e4a38a3eeee01d95724e91d2ea9 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/WelcomePage.ets" @@ -0,0 +1,164 @@ +import featureAbility from '@ohos.ability.featureAbility'; +import dataStorage from '@ohos.data.storage' +import router from '@ohos.router'; + + +@Preview +@Entry +@Component +struct WelcomePage { + @State message: string = '跳过' + @State message1:string = '引导页' +// @State flag:boolean = false; + + private swiperController:SwiperController = new SwiperController() + //swiper 控制器 + + build() { + Row() { + Column({space:5}) { + Stack({alignContent:Alignment.End}){ + Swiper(this.swiperController){ + Stack({alignContent:Alignment.Top}){ + Image($r("app.media.s4")) + .objectFit(ImageFit.Contain) + .height("80%") + Text('最新旗舰,应有尽有') + .fontSize(38) + .fontWeight(FontWeight.Bolder) + .fontColor(Color.White) + .margin({top:100}) + }.width('100%').height('100%').align(Alignment.Center).backgroundColor(Color.Green) + + + Stack({alignContent:Alignment.Top}){ + Image($r("app.media.s5")) + .margin({top:100}) + .objectFit(ImageFit.Contain) + Text('生态配件,一目了然') + .fontSize(38) + .fontWeight(FontWeight.Bolder) + .fontColor(Color.White) + .margin({top:100}) + }.width('100%').height('100%').align(Alignment.Center).backgroundColor(Color.Green) + + + Stack({alignContent:Alignment.Top}){ + Image($r("app.media.s6")) + .objectFit(ImageFit.Contain) + Text('特点标签,预览卖点') + .fontSize(38) + .fontWeight(FontWeight.Bolder) + .fontColor(Color.White) + .margin({top:100}) + }.width('100%').height('100%').align(Alignment.Center).backgroundColor(Color.Green) + + + + }.index(0)//从第0页开始播放 + .autoPlay(true)//自动播放 + .indicator(true)//小圆点下标 + .loop(true)//自动重拨 + .vertical(false)//垂直滑动 +// .onChange((index:number) =>{ +// if(index == 2) { +// this.flag = true +// }else{ +// this.flag = false +// } +// }) + + + +// if(this.flag) + + Text(this.message) + //.textAlign(TextAlign.End) + .margin({right:10,top:680}) + .fontSize(30) + .fontWeight(FontWeight.Bold) + .backgroundColor(Color.Transparent) + .width('30%') + .height('10%') + + .onClick(function(){ + var context = featureAbility.getContext() + //获取1内部存储器上的当前app文件app的文件目录 + context.getFilesDir((err,path)=> { + if(err){ + console.error("err"+JSON.stringify(err)) + return + } + console.error("success"+JSON.stringify(path)) + + + let storage = dataStorage.getStorageSync(path+"/store") + let isFirst = storage.putSync("isFirst",false) + storage.flushSync(); + router.push({ + url: "pages/index" + //url: "pages/index" + + }) + //这个到时候去查查是干嘛的,貌似是刷新用的 + }) + + + + + + })//.height('100%').width('100%') + + + + } + + + + + Text(this.message) + .fontSize(50) + .fontWeight(FontWeight.Bold) + .onClick(function(){ + var context = featureAbility.getContext() + //获取1内部存储器上的当前app文件app的文件目录 + context.getFilesDir((err,path)=> { + if(err){ + console.error("err"+JSON.stringify(err)) + return + } + console.error("success"+JSON.stringify(path)) + + + let storage = dataStorage.getStorageSync(path+"/store") + let isFirst = storage.putSync("isFirst",2222) + storage.flushSync(); + router.push({ + url: "pages/index" + + }) + //这个到时候去查查是干嘛的,貌似是刷新用的 + }) + + + + + + }) + } + .width('100%') + } + .height('100%') + + + + } + pageTransition(){//自定义动画,用push才可以 + PageTransitionEnter({duration:1000,curve:Curve.Smooth}).slide(SlideEffect.Bottom) + PageTransitionExit({duration:1000,curve:Curve.Smooth}).slide(SlideEffect.Bottom) + } + + + + +} \ No newline at end of file diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/home/bannerDetail.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/home/bannerDetail.ets" new file mode 100644 index 0000000000000000000000000000000000000000..1081385eed2267f75b98763fa068c6e0643a0129 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/home/bannerDetail.ets" @@ -0,0 +1,18 @@ +//这是详情页,点图片可以进来 +@Entry +@Component +struct BannerPage { + @State message: string = '你好,欢迎进入详情页' + + build() { + Row() { + Column() { + Text(this.message) + .fontSize(50) + .fontWeight(FontWeight.Bold) + } + .width('100%') + } + .height('100%') + } +} \ No newline at end of file diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/home/home.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/home/home.ets" new file mode 100644 index 0000000000000000000000000000000000000000..8d46a00d929f833b30c6366625d13c9a35db3bc1 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/home/home.ets" @@ -0,0 +1,117 @@ +import{SwiperEntity,ListEntity} from "./homeEntity" //这是数据结构 +import {swiperData,listData} from "./homeData" // 这是具体数据 +import router from '@ohos.router'; + + +@Entry +@Component +export struct Homepage{ + //单项传递,父组件得不到通知,父组件也必须定义@state来传递 + //只支持number,Boolean,string +// @Prop width_s:number +// @Prop radio:number +//最后定义一个swiper类,就可以拿来用了 + @State swiperData:Array = swiperData + @State listData:Array = listData +// private listData:string[]=["哼歌成谱1","哼歌成谱2","哼歌成谱3","哼歌成谱4","哼歌成谱5","哼歌成谱6","哼歌成谱7","哼歌成谱8","哼歌成谱9","哼歌成谱10",] + + //集合的概念 + + + build(){ + Flex({direction:FlexDirection.Column,justifyContent: FlexAlign.Start,alignItems: ItemAlign.Start}){ + //banner的使用 + Swiper(){ + + ForEach(this.swiperData,item =>{ + + + Navigator({target:'pages/home/bannerDetail'}){ + + Image(item.image) + .width('100%') + .height(400) + .objectFit(ImageFit.Auto) + } + + + }) + }.backgroundColor(Color.Transparent) + .autoPlay(true) + .loop(true) + .width('100%') + .height(300) + + + + Text('全部机型') + .fontSize(40) + .fontWeight(FontWeight.Bold).height(60) + .width("100%") + .borderRadius(6) + .backgroundColor(Color.Green) + + + List({space:20,initialIndex:0}){ + ForEach(this.listData,(item) => { + ListItem(){ + // Navigator({target:'pages/home/homeListDetail'}){ + + Row(){ + + Image(item.list_image) + .width('40%') + .height(80) + .objectFit(ImageFit.Contain) + + Text(''+item.list_name) + .fontWeight(FontWeight.Bold) + .width('30%') + .height(80) + .fontSize(20) + .textAlign(TextAlign.Center) + .borderRadius(10) + .backgroundColor(Color.Orange) + Text(''+item.list_detail) + .width('30%') + .height(80) + .fontSize(20) + .textAlign(TextAlign.Center) + .borderRadius(10) + .backgroundColor(Color.Gray) + + }.onClick(() => { + router.push({ + url: 'pages/home/homeListDetail', + params: { + src: item.list_index1, + } + }) + }) + // }.params({text:item.list_index1})//需要传递,index值进行匹配 + } + + }) + + + } + .height('90%') + .listDirection(Axis.Vertical) + .divider({strokeWidth:2,color:Color.Green,startMargin:20,endMargin:20})//分割线 + //边缘处理 + .edgeEffect(EdgeEffect.None) + //动画 + .chainAnimation(false) + + + + + + + + + }.width('100%') + .height('100%') + } +} + diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/home/homeData.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/home/homeData.ets" new file mode 100644 index 0000000000000000000000000000000000000000..d3f23951973caec0e827cb09a8c9e17b6eee135a --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/home/homeData.ets" @@ -0,0 +1,31 @@ +import{SwiperEntity,ListEntity} from "./homeEntity" +//集合 一些元素放在一起 +//泛型 规定集合元素内部是怎样的 + +//banner的数据源 +export const swiperData:Array=[ +//这是本地的数据,往定义好的数据结构中填本地数据(结构在homeEntity) + {image:"resources/rawfile/phone/s1.png"}, + {image:"resources/rawfile/phone/s2.png"}, + {image:"resources/rawfile/phone/s3.png"} + +] + + +//list的数据源 +export const listData:Array=[ +//这是本地的数据,往定义好的数据结构中填本地数据(结构在homeEntity) + { list_image:"resources/rawfile/phone/p50pro.jpg",list_name:'P50pro',list_index1:1,list_detail:"计算光学\n原色引擎" }, + {list_image:"resources/rawfile/phone/mate50pro.png",list_name:'mate50pro',list_index1:2,list_detail:"Xmage\n可变光圈"}, + {list_image:"resources/rawfile/phone/matex2s.png",list_name:'mateXS2',list_index1:3,list_detail:"超轻折叠\n北斗通信"}, + {list_image:"resources/rawfile/phone/p30pro.jpg",list_name:'p30pro',list_index1:4,list_detail:"潜望长焦,微光摄影"}, + {list_image:"resources/rawfile/phone/p40proplus.jpg",list_name:'p40proplus',list_index1:5,list_detail:"百倍变焦\n陶瓷机身"}, + {list_image:"resources/rawfile/phone/pocket.png",list_name:'p50pocket',list_index1:6,list_detail:"精巧设计,宝盒折叠"}, +// {list_image:"resources/rawfile/phone/p50pro.jpg",list_name:'7',list_index1:7,list_detail:"Xmage,可变光圈"}, +// {list_image:"resources/rawfile/phone/p50pro.jpg",list_name:'8',list_index1:8,list_detail:"Xmage,可变光圈"}, +// {list_image:"resources/rawfile/phone/p50pro.jpg",list_name:'9',list_index1:9,list_detail:"Xmage,可变光圈"}, +// {list_image:"resources/rawfile/phone/p50pro.jpg",list_name:'10',list_index1:10,list_detail:"Xmage,可变光圈"}, +// {list_image:"resources/rawfile/phone/p50pro.jpg",list_name:'11',list_index1:1,list_detail:"Xmage,可变光圈"} + +] + diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/home/homeData_detail.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/home/homeData_detail.ets" new file mode 100644 index 0000000000000000000000000000000000000000..a290cd21cf06ba455c312cc657f7701662342e6f --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/home/homeData_detail.ets" @@ -0,0 +1,114 @@ +import{SwiperEntity_detail,ListEntity_detail} from "./homeEntity_detail" +//集合 一些元素放在一起 +//泛型 规定集合元素内部是怎样的 + +//banner的数据源 +export const swiperData_detail:Array=[ +//这是本地的数据,往定义好的数据结构中填本地数据(结构在homeEntity) + { + index_detail:1, + image1_detail:"resources/rawfile/phone/p50pro1.jpg", + image2_detail:"resources/rawfile/phone/p50pro2.jpg", + image3_detail:"resources/rawfile/phone/p50pro3.jpg", + }, + { + index_detail:2, + image1_detail:"resources/rawfile/phone/m501.png", + image2_detail:"resources/rawfile/phone/m502.png", + image3_detail:"resources/rawfile/phone/m503.png", + + }, + { + index_detail:3, + image1_detail:"resources/rawfile/phone/ms1.png", + image2_detail:"resources/rawfile/phone/ms2.png", + image3_detail:"resources/rawfile/phone/ms3.png", + + }, + { + index_detail:4, + image1_detail:"resources/rawfile/phone/p301.png", + image2_detail:"resources/rawfile/phone/p302.png", + image3_detail:"resources/rawfile/phone/p303.png", + + }, + { + index_detail:5, + image1_detail:"resources/rawfile/phone/ppp1.png", + image2_detail:"resources/rawfile/phone/ppp2.png", + image3_detail:"resources/rawfile/phone/ppp3.png", + + }, + { + index_detail:6, + image1_detail:"resources/rawfile/phone/pk1.png", + image2_detail:"resources/rawfile/phone/pk2.png", + image3_detail:"resources/rawfile/phone/pk3.png", + + }, + + + +] + + +//list的数据源 +export const listData_detail:Array=[ +//这是本地的数据,往定义好的数据结构中填本地数据(结构在homeEntity) + {index_detail_s:1, + list_name_detail:'P50pro',list_index1_detail:1,list_detail_detail:"计算光学\n原色引擎", + tag1 : "64MP长焦", + tag2 : "鸿蒙2", + tag3 : "原色引擎", + tag4 : "120Hz", + context:"HUAWEI P50 Pro是华为公司于2021年7月29日发布的一款智能手机。 HUAWEI P50 Pro有云锦白,丹霞橙,星河蓝,可可茶金,雪域白,拂晓粉,曜金黑,涟漪云波,微澜浩海等9种颜色。云锦白、丹霞橙款采用素皮工艺机身,星河蓝款采用抗指纹凝霜工艺,不易沾染指纹。机身正面屏幕采用双曲面屏幕设计,前置摄像头采用了居中单挖孔设计。 HUAWEI P50 Pro搭载有XD Fusion Pro原色引擎、XD Optics计算光学技术、XD Fusion Pro超级滤光系统等华为影像技术,可以提升手机在拍摄时的成像质量。主摄采用了5000万像素原色镜头,可以记录拍摄场景的肉眼色彩观感" + }, + {index_detail_s:2, + list_name_detail:'Mate50pro',list_index1_detail:2,list_detail_detail:"Xmage\n可变光圈", + tag1 : "可变光圈", + tag2 : "鸿蒙3", + tag3 : "北斗卫星", + tag4 : "昆仑玻璃", + context:"HUAWEI Mate 50 Pro首次搭载华为影像XMAGE,在光、机、电、算等维度持续突破,打造自成一派的影像风格。相机模组内含5000万像素RYYB主摄,拥有业界最大F1.4光圈,支持OIS光学防抖,还有1300万像素超广角镜头、6400万像素RYYB潜望式长焦镜头,支持OIS防抖、3.5倍光学变焦,最高支持200倍变焦拍摄。此外还配备了10通道多光谱传感器,接近光传感器、激光对焦传感器。其中,主摄还引入了可变光圈设计,大幅度提升移动影像光学系统的能力,自动模式下拥有四档智慧光圈,可根据不同场景智能匹配光圈大小。专业模式下,通过十档可调物理光圈,可随心调整景深范围和虚化程度。" + }, + {index_detail_s:3, + list_name_detail:'Matex2s',list_index1_detail:3,list_detail_detail:"超轻折叠\n北斗通信", + tag1 : "外折叠", + tag2 : "超轻设计", + tag3 : "北斗通信", + tag4 : "三频WiFi" + , + context:"华为Mate Xs2采用经典外折形式,开合连贯流畅,呈现极简纯粹之美;侧面采用环绕线性设计,层次通透,呈现更加轻薄的精致美感。华为Mate Xs2通过创举双旋鹰翼铰链技术,打造自然一体、平整无痕的优雅体验;搭载7.8英寸超清原色折叠大屏、由计算光学加持的5000万像素原色影像系统等旗舰科技,打造杰出性能;通过全新折叠视觉动效、智慧多窗功能新升级、首创自适应UI引擎,赋予产品创新交互新体验。华为Mate Xs2致力于打造业界超轻的折叠屏手机,整机仅255g,做到了近乎直板手机的重量。机身采用超轻玻璃纤维,结构中采用航空级钛合金和超轻超强钢等创新材质,实现机身整体减重的同时,更具备高强高韧的特性。" + }, + {index_detail_s:4, + list_name_detail:'p30pro',list_index1_detail:4,list_detail_detail:"潜望长焦,微光摄影", + tag1 : "5倍长焦", + tag2 : "RYYB", + tag3 : "曲面屏", + tag4 : "夜景模式", + context:"HUAWEI P30 Pro是华为公司于北京时间2019年3月26日晚21点,在法国巴黎会展中心发布的智能手机。HUAWEI P30 Pro正面采用了6.47英寸水滴屏的设计,屏占比更高;后壳延续了P20系列渐变色的设计,颜色有墨玉蓝、嫣紫色、赤茶橘、天空之境、极光色、亮黑色、珠光贝母; [1] 该机宽度73.4毫米,长度158.0毫米,厚度8.41毫米,重量约192克。HUAWEI P30 Pro配备徕卡四摄以及50倍数字变焦能力,DXOMARK评分112分;搭载麒麟980处理器, 以及基于Android 9的EMUI 9.1操作系统,内置4200毫安不可拆卸式电池。 " + }, + {index_detail_s:5, + list_name_detail:'p40proplus',list_index1_detail:5,list_detail_detail:"百倍变焦\n陶瓷机身", + tag1 : "十倍长焦", + tag2 : "屏幕发声", + tag3 : "陶瓷机身", + tag4 : "90Hz", + context:"HUAWEI P40 Pro+是华为公司于2020年3月26日发布的手机,于2020年4月8日上市。 HUAWEI P40 Pro+采用6.58英寸曲面屏幕,采用直板设计,陶瓷机身;机身长度为158.2毫米,宽度为72.6毫米,厚度为9.0毫米,重量为226克;配有陶瓷黑,陶瓷白颜色。 HUAWEI P40 Pro+搭载麒麟990 5G处理器,基于Android 10的EMUI 10.1操作系统,可更新至华为鸿蒙系统(HarmonyOS 2),使用七摄像头(后五),4200毫安电池" + }, + {index_detail_s:6, + list_name_detail:'p50pocket',list_index1_detail:6,list_detail_detail:"精巧设计,宝盒折叠", + tag1 : "竖折", + tag2 : "超光谱摄影", + tag3 : "轻巧随行", + tag4 : "120hz", + context:"HUAWEI P50 Pocket是华为公司于2021年12月23日发布的手机。 HUAWEI P50 Pocket采用6.9英寸OLED屏幕;高度展开170毫米,高度折叠87.3毫米,宽度约75.5毫米,厚度展开7.2毫米,厚度折叠15.2毫米,重量190克;配有曜石黑、晶钻白、鎏光金三种颜色。 HUAWEI P50 Pocket搭载高通骁龙888八核处理器;后置4000万像素原色摄像头+1300万像素超广角摄像头+3200万像素超光谱摄像头,支持10倍数字变焦、自动对焦、荧光摄影、微电影等功能,前置1070万像素超广角摄像头;搭载4000毫安时容量电池(最大40瓦快充);出厂搭载HarmonyOS 2。" + }, +// {list_image:"resources/rawfile/phone/p50pro.jpg",list_name:'7',list_index1:7,list_detail:"Xmage,可变光圈"}, +// {list_image:"resources/rawfile/phone/p50pro.jpg",list_name:'8',list_index1:8,list_detail:"Xmage,可变光圈"}, +// {list_image:"resources/rawfile/phone/p50pro.jpg",list_name:'9',list_index1:9,list_detail:"Xmage,可变光圈"}, +// {list_image:"resources/rawfile/phone/p50pro.jpg",list_name:'10',list_index1:10,list_detail:"Xmage,可变光圈"}, +// {list_image:"resources/rawfile/phone/p50pro.jpg",list_name:'11',list_index1:1,list_detail:"Xmage,可变光圈"} + +] + diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/home/homeEntity.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/home/homeEntity.ets" new file mode 100644 index 0000000000000000000000000000000000000000..4f2785f9fa7814704f4b52347c25b4027e9add6f --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/home/homeEntity.ets" @@ -0,0 +1,15 @@ +//存放数据结构的类 +export class SwiperEntity{ + constructor(public image:string){ + this.image = image; + } +} + +export class ListEntity{ + constructor(public list_image:string,public list_name:string,public list_index1:number,public list_detail:string){ + this.list_image = list_image; + this.list_name = list_name; + this.list_index1 = list_index1; + this.list_detail = list_detail + } +} \ No newline at end of file diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/home/homeEntity_detail.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/home/homeEntity_detail.ets" new file mode 100644 index 0000000000000000000000000000000000000000..ad05339a703c2d2f218bd94604857ef0998db802 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/home/homeEntity_detail.ets" @@ -0,0 +1,32 @@ +//存放数据结构的类 + +//export class SwiperEntity_detail{ +// constructor(public image1:string,public image2:string,public image3:string){ +// this.image1 = image1; +// this.image2 = image2; +// this.image3 = image3; +// } +//} +export class SwiperEntity_detail{ + constructor(public index_detail:number,public image1_detail:string,public image2_detail:string,public image3_detail:string){ + this.index_detail = index_detail; + this.image1_detail = image1_detail; + this.image2_detail = image2_detail; + this.image3_detail = image3_detail; + } +} + + +export class ListEntity_detail{ + constructor(public context:string,public tag1:string,public tag2:string,public tag3:string,public tag4:string,public index_detail_s:number,public list_name_detail:string,public list_index1_detail:number,public list_detail_detail:string){ + this.list_name_detail = list_name_detail; + this.list_index1_detail = list_index1_detail; + this.list_detail_detail = list_detail_detail + this.index_detail_s = index_detail_s + this.tag1 = tag1 + this.tag2 = tag2 + this.tag3 = tag3 + this.tag4 = tag4 + this.context = context + } +} \ No newline at end of file diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/home/homeListDetail.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/home/homeListDetail.ets" new file mode 100644 index 0000000000000000000000000000000000000000..44853753fcaeb49247115520a55dfd3c3288eb87 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/home/homeListDetail.ets" @@ -0,0 +1,100 @@ +//这是详情页,点图片可以进来 +//import router from '@system.router' +import router from '@ohos.router'; +import{ListEntity_detail,SwiperEntity_detail} from "./homeEntity_detail" //这是数据结构 +import {listData_detail,swiperData_detail} from "./homeData_detail" // 这是具体数据 + +@Entry +@Component +struct HomeListPage { + @State message: string = '嗨,你咋来列表详情页了(大嘘)' + //@State text: any = router.getParams().text + @State src: number = router.getParams()?.['src']; + @State listData_detail:Array = listData_detail + @State swiperData_detail:Array = swiperData_detail + + + build() { + Flex({direction:FlexDirection.Column,justifyContent: FlexAlign.Start,alignItems: ItemAlign.Start}){ + //banner的使用 + Swiper(){ + + ForEach(this.swiperData_detail,item =>{ + if(this.src == item.index_detail) + { + + Image(item.image1_detail) + .width('100%') + .height(200) + .objectFit(ImageFit.Contain) + Image(item.image2_detail) + .width('100%') + .height(200) + .objectFit(ImageFit.Contain) + Image(item.image3_detail) + .width('100%') + .height(200) + .objectFit(ImageFit.Contain) + + } + + }) + }.backgroundColor(Color.Transparent)//记得把颜色改回来 + .autoPlay(true) + .loop(true) + .width('100%') + .height(200) + + + ForEach(this.listData_detail,item =>{ + if(this.src == item.index_detail_s) + { + Text(""+item.list_name_detail).fontSize(40).fontWeight(FontWeight.Bold).height(60) + Row({space:10}){ + Text("产品特色:") + .fontSize(20) + .fontWeight(FontWeight.Bolder) + .fontColor(Color.Black) + + Text(item.tag1) + .fontSize(15) + .fontWeight(FontWeight.Normal) + .fontColor(Color.Black) + .backgroundColor(Color.Gray) + Text(item.tag2) + .fontSize(15) + .fontWeight(FontWeight.Normal) + .fontColor(Color.Black) + .backgroundColor(Color.Gray) + Text(item.tag3) + .fontSize(15) + .fontWeight(FontWeight.Normal) + .fontColor(Color.Black) + .backgroundColor(Color.Gray) + Text(item.tag4) + .fontSize(15) + .fontWeight(FontWeight.Normal) + .fontColor(Color.Black) + .backgroundColor(Color.Gray) + + } + Column({space:40}){ + Text(item.context) + .fontSize(20) + Button("←返回") + .onClick(() => { + router.back() + }) + } + } + + }) + + + + + + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/index.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/index.ets" new file mode 100644 index 0000000000000000000000000000000000000000..beb52107fd448b57ff5e7772fa174fe4f9c7bcc9 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/index.ets" @@ -0,0 +1,132 @@ +import {Homepage} from './home/home' +import {MatchPage} from './match/match' +import {MePage} from './me/me' +import {SongPage} from './song/song' + +@Preview +@Entry +@Component +struct Index { + controller:TabsController = new TabsController() + + @State width_s:number = 100 + @State ratio:number = 100 + @State SelectPosition:number = 0 + + public HomeClick(){ + this.SelectPosition = 0//颜色 + this.controller.changeIndex(0)//触发第几个tab页面,比如这里是触发第一个Tabs,Tabs包含了跳转页面 +} + + public MatchClick(){ + this.SelectPosition = 1 + this.controller.changeIndex(1) + } + + public SongClick(){ + this.SelectPosition = 2 + this.controller.changeIndex(2) + } + + public MeClick(){ + this.SelectPosition = 3 + this.controller.changeIndex(3) + } + + + + build(){ + + + Flex({direction:FlexDirection.Column,alignItems:ItemAlign.Center,justifyContent:FlexAlign.End}){ + Tabs({controller:this.controller}){ + + TabContent(){ + //这里是单项的数据传递,给home里面的 + //其实这个里面只是页面跳转的话不用里面的参数,但是home里定义了prop,必须要传参数进去才行 + //Homepage({width_s:this.width_s,radio:this.ratio}) + Homepage() + }.tabBar('手机榜') + + TabContent(){ +// MatchPage() 下面三个参照第一个把参数给干掉 + MatchPage() + }.tabBar('排行榜') + + TabContent(){ + // SongPage({width_s:this.width_s,radio:this.ratio}) + SongPage() + }.tabBar('成谱') + + TabContent(){ + MePage() +// MePage({width_s:this.width_s,radio:this.ratio}) + }.tabBar('我的') + + + }.barHeight(0) + //关闭滑动切换 + .scrollable(false) + //关闭动画(时长) + .animationDuration(0) + + + + Row(){ + + Column(){ + Image($r('app.media.HW3')).width(40).height(40) + Text('优秀手机').fontSize(20).size({height:20,width:'100%'}).textAlign(TextAlign.Center) + .fontColor((this.SelectPosition == 0?Color.Red:Color.Black)) + }.layoutWeight(1) + .backgroundColor(Color.White) + .height('100%') + .onClick(this.HomeClick.bind(this)) + + Column(){ + Image($r('app.media.HW3')).width(40).height(40) + Text('优秀配件').fontSize(20).size({height:20,width:'100%'}).textAlign(TextAlign.Center) + .fontColor((this.SelectPosition == 1?Color.Red:Color.Black)) + }.layoutWeight(1) + .backgroundColor(Color.White) + .height('100%') + .onClick(this.MatchClick.bind(this)) + + Column(){ + Image($r('app.media.HW3')).width(40).height(40) + Text('关于华为').fontSize(20).size({height:20,width:'100%'}).textAlign(TextAlign.Center) + .fontColor((this.SelectPosition == 3?Color.Red:Color.Black)) + }.layoutWeight(1) + .backgroundColor(Color.White) + .height('100%') + .onClick(this.MeClick.bind(this)) + + Column(){ + Image($r('app.media.HW3')).width(40).height(40) + Text('关于鸿蒙').fontSize(20).size({height:20,width:'100%'}).textAlign(TextAlign.Center) + .fontColor((this.SelectPosition == 2?Color.Red:Color.Black)) + }.layoutWeight(1) + .backgroundColor(Color.White) + .height('100%') + .onClick(this.SongClick.bind(this)) + + }.alignItems(VerticalAlign.Bottom).width('100%').height(80) + + + + + + + }.width('100%') + .height('100%') + + + + + + + + + + } +} \ No newline at end of file diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/match/match.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/match/match.ets" new file mode 100644 index 0000000000000000000000000000000000000000..981360d0e27db9faab8068222d2182595dff39e3 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/match/match.ets" @@ -0,0 +1,108 @@ +import{ListEntity_detail,SwiperEntity_detail} from "./matchEntity_detail" //这是数据结构 +import {listData_detail,swiperData_detail} from "./matchData_detail" // 这是具体数据 +import router from '@ohos.router'; + + +@Entry +@Component +export struct MatchPage{ + //单项传递,父组件得不到通知,父组件也必须定义@state来传递 + //只支持number,Boolean,string + // @Prop width_s:number + // @Prop radio:number + //最后定义一个swiper类,就可以拿来用了 + @State swiperData:Array = swiperData_detail + @State listData:Array = listData_detail + // private listData:string[]=["哼歌成谱1","哼歌成谱2","哼歌成谱3","哼歌成谱4","哼歌成谱5","哼歌成谱6","哼歌成谱7","哼歌成谱8","哼歌成谱9","哼歌成谱10",] + + //集合的概念 + + + build(){ + Flex({direction:FlexDirection.Column,justifyContent: FlexAlign.Start,alignItems: ItemAlign.Start}){ + //banner的使用 + Swiper(){ + + ForEach(this.swiperData,item =>{ + Image(item.image1_detail) + .width('100%') + .height(400) + .objectFit(ImageFit.Contain) + }) + }.backgroundColor(Color.Transparent) + .autoPlay(true) + .loop(true) + .width('100%') + .height(300) + + + + Text('全部配件') + .fontSize(40) + .fontWeight(FontWeight.Bold) + .height(60).backgroundColor(Color.Green) + .width("100%") + + + List({space:20,initialIndex:0}){ + ForEach(this.swiperData,(item) => { + ListItem(){ + // Navigator({target:'pages/home/homeListDetail'}){ + + Row(){ + + Image(item.image3_detail) + .width('40%') + .height(80) + .objectFit(ImageFit.Contain) + + Text(''+item.list_name) + .fontWeight(FontWeight.Bold) + .width('30%') + .height(80) + .fontSize(20) + .textAlign(TextAlign.Center) + .borderRadius(10) + .backgroundColor(Color.Orange) + Text(''+item.list_detail) + .width('30%') + .height(80) + .fontSize(20) + .textAlign(TextAlign.Center) + .borderRadius(10) + .backgroundColor(Color.Grey) + + }.onClick(() => { + router.push({ + url: 'pages/match/matchListDetail', + params: { + src: item.index_detail, + } + }) + }) + // }.params({text:item.list_index1})//需要传递,index值进行匹配 + } + + }) + + + } + .height('90%') + .listDirection(Axis.Vertical) + .divider({strokeWidth:2,color:Color.Green,startMargin:20,endMargin:20})//分割线 + //边缘处理 + .edgeEffect(EdgeEffect.None) + //动画 + .chainAnimation(false) + + + + + + + + + }.width('100%') + .height('100%') + } +} diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/match/matchData_detail.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/match/matchData_detail.ets" new file mode 100644 index 0000000000000000000000000000000000000000..b557332aa3c362ad29a4f1e6b860d4227e20fc6c --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/match/matchData_detail.ets" @@ -0,0 +1,72 @@ +import{SwiperEntity_detail,ListEntity_detail} from "./matchEntity_detail" +//集合 一些元素放在一起 +//泛型 规定集合元素内部是怎样的 + +//banner的数据源 +export const swiperData_detail:Array=[ +//这是本地的数据,往定义好的数据结构中填本地数据(结构在homeEntity) + { + index_detail:1, + image1_detail:"resources/rawfile/phone/fb1.png", + image2_detail:"resources/rawfile/phone/fb2.png", + image3_detail:"resources/rawfile/phone/fb3.png", + list_name:"FreeBudsPro2", + list_detail:"空间音频\n超清音质" + }, + { + index_detail:2, + image1_detail:"resources/rawfile/phone/gt1.png", + image2_detail:"resources/rawfile/phone/gt2.png", + image3_detail:"resources/rawfile/phone/gt3.png", + list_name:"GT3", + list_detail:"鸿蒙2\n高原血氧检测" + + }, + { + index_detail:3, + image1_detail:"resources/rawfile/phone/m51.png", + image2_detail:"resources/rawfile/phone/m52.png", + image3_detail:"resources/rawfile/phone/m53.png", + list_name:"问界M5", + list_detail:"鸿蒙车机\n可油可电" + + }, +] + + +//list的数据源 +export const listData_detail:Array=[ +//这是本地的数据,往定义好的数据结构中填本地数据(结构在homeEntity) + {index_detail_s:1, + list_name_detail:'FreeBudsPro2',list_index1_detail:1,list_detail_detail:"空间音频\n超清音质", + tag1 : "双单元", + tag2 : "动态降噪", + tag3 : "空间音频", + tag4 : "LDAC", + context:"华为FreeBuds Pro 2耳机集成了超感知原声双单元系统,包括双引擎独立声学系统、三重实时听感优化,该耳机为TWS全球首发四磁体动圈/微平板单元,还是全球首款双高清音频认证的TWS耳机,支持蓝牙5.2、L2HC 2.0、LDAC、AAC、SBC。降噪方面,华为FreeBuds Pro 2耳机支持高达47dB的降噪深度,支持3种模式 —— 普通模式、舒适模式和超级模式,搭配三麦克风主动降噪系统,智慧动态降噪2.0再升级,支持双透传模式、空间音频。" + }, + {index_detail_s:2, + list_name_detail:'GT3',list_index1_detail:2,list_detail_detail:"鸿蒙2\n高原血氧检测", + tag1 : "鸿蒙2", + tag2 : "60hz", + tag3 : "应用商店", + tag4 : "心脏健康", + context:"HUAWEI WATCH GT 3是华为于2021年11月17日发布的智能手表。HUAWEI WATCH GT 3系列中共有两款尺寸可选,分别为42mm和46mm的表径,HUAWEI WATCH GT 3 46mm款搭载1.43英寸AMOLED屏幕,HUAWEI WATCH GT 3 42mm款搭载1.32英寸AMOLED屏幕,两个版本屏幕分辨率同样为466×466。 HUAWEI WATCH GT 3搭载HarmonyOS操作系统,支持高原血氧管理,能够连续监测血氧饱和度,提供高原反应预警。" + }, + {index_detail_s:3, + list_name_detail:'问界M5',list_index1_detail:3,list_detail_detail:"鸿蒙车机\n可油可电", + tag1 : "增程式", + tag2 : "四驱", + tag3 : "鸿蒙座舱", + tag4 : "辅助驾驶" + , + context:"问界M5是赛力斯与华为合力打造的高端品牌AITO的首款车 ,问界M5共推出两款车型,后驱标准版预售价格25万元,四驱性能版28万元。 作为华为、赛力斯联合研发的车型,AITO问界M5也是首款搭载华为鸿蒙座舱的车型,核心动力来自于华为Drive ONE纯电驱增程平台,全车也是华为深度参与研发制造。2021年12月23日,华为冬季旗舰新品发布会召开,发布会上,“问界M5”正式发布。 2022年3月,据赛力斯微信公众号发布的消息,问界 M5 用户交付启动仪式 3月5日在上海开启。 3月5日,AITO汽车在全国多城举办交付发布会,正式向车主交付问界M5" + } +// {list_image:"resources/rawfile/phone/p50pro.jpg",list_name:'7',list_index1:7,list_detail:"Xmage,可变光圈"}, +// {list_image:"resources/rawfile/phone/p50pro.jpg",list_name:'8',list_index1:8,list_detail:"Xmage,可变光圈"}, +// {list_image:"resources/rawfile/phone/p50pro.jpg",list_name:'9',list_index1:9,list_detail:"Xmage,可变光圈"}, +// {list_image:"resources/rawfile/phone/p50pro.jpg",list_name:'10',list_index1:10,list_detail:"Xmage,可变光圈"}, +// {list_image:"resources/rawfile/phone/p50pro.jpg",list_name:'11',list_index1:1,list_detail:"Xmage,可变光圈"} + +] + diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/match/matchEntity_detail.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/match/matchEntity_detail.ets" new file mode 100644 index 0000000000000000000000000000000000000000..a25032719f410f411585eaf38f058b043cc706fa --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/match/matchEntity_detail.ets" @@ -0,0 +1,34 @@ +//存放数据结构的类 + +//export class SwiperEntity_detail{ +// constructor(public image1:string,public image2:string,public image3:string){ +// this.image1 = image1; +// this.image2 = image2; +// this.image3 = image3; +// } +//} +export class SwiperEntity_detail{ + constructor(public list_name:string,public list_detail:string,public index_detail:number,public image1_detail:string,public image2_detail:string,public image3_detail:string){ + this.index_detail = index_detail; + this.image1_detail = image1_detail; + this.image2_detail = image2_detail; + this.image3_detail = image3_detail; + this.list_name = list_name + this.list_detail = list_detail + } +} + + +export class ListEntity_detail{ + constructor(public context:string,public tag1:string,public tag2:string,public tag3:string,public tag4:string,public index_detail_s:number,public list_name_detail:string,public list_index1_detail:number,public list_detail_detail:string){ + this.list_name_detail = list_name_detail; + this.list_index1_detail = list_index1_detail; + this.list_detail_detail = list_detail_detail + this.index_detail_s = index_detail_s + this.tag1 = tag1 + this.tag2 = tag2 + this.tag3 = tag3 + this.tag4 = tag4 + this.context = context + } +} \ No newline at end of file diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/match/matchListDetail.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/match/matchListDetail.ets" new file mode 100644 index 0000000000000000000000000000000000000000..d90d30386034834c82e7a47a0d2cf2f6e406e994 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/match/matchListDetail.ets" @@ -0,0 +1,100 @@ +//这是详情页,点图片可以进来 +//import router from '@system.router' +import router from '@ohos.router'; +import{ListEntity_detail,SwiperEntity_detail} from "./matchEntity_detail" //这是数据结构 +import {listData_detail,swiperData_detail} from "./matchData_detail" // 这是具体数据 + +@Entry +@Component +struct HomeListPage { + @State message: string = '嗨,你咋来列表详情页了(大嘘)' + //@State text: any = router.getParams().text + @State src: number = router.getParams()?.['src']; + @State listData_detail:Array = listData_detail + @State swiperData_detail:Array = swiperData_detail + + + build() { + Flex({direction:FlexDirection.Column,justifyContent: FlexAlign.Start,alignItems: ItemAlign.Start}){ + //banner的使用 + Swiper(){ + + ForEach(this.swiperData_detail,item =>{ + if(this.src == item.index_detail) + { + + Image(item.image1_detail) + .width('100%') + .height(200) + .objectFit(ImageFit.Contain) + Image(item.image2_detail) + .width('100%') + .height(200) + .objectFit(ImageFit.Contain) + Image(item.image3_detail) + .width('100%') + .height(200) + .objectFit(ImageFit.Contain) + + } + + }) + }.backgroundColor(Color.Transparent)//记得把颜色改回来 + .autoPlay(true) + .loop(true) + .width('100%') + .height(200) + + + ForEach(this.listData_detail,item =>{ + if(this.src == item.index_detail_s) + { + Text(""+item.list_name_detail).fontSize(40).fontWeight(FontWeight.Bold).height(60) + Row({space:10}){ + Text("产品特色:") + .fontSize(20) + .fontWeight(FontWeight.Bolder) + .fontColor(Color.Black) + + Text(item.tag1) + .fontSize(15) + .fontWeight(FontWeight.Normal) + .fontColor(Color.Black) + .backgroundColor(Color.Gray) + Text(item.tag2) + .fontSize(15) + .fontWeight(FontWeight.Normal) + .fontColor(Color.Black) + .backgroundColor(Color.Gray) + Text(item.tag3) + .fontSize(15) + .fontWeight(FontWeight.Normal) + .fontColor(Color.Black) + .backgroundColor(Color.Gray) + Text(item.tag4) + .fontSize(15) + .fontWeight(FontWeight.Normal) + .fontColor(Color.Black) + .backgroundColor(Color.Gray) + + } + Column({space:40}){ + Text(item.context) + .fontSize(20) + Button("←返回") + .onClick(() => { + router.back() + }) + } + } + + }) + + + + + + }.width('100%') + .height('100%') + } +} \ No newline at end of file diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/me/me.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/me/me.ets" new file mode 100644 index 0000000000000000000000000000000000000000..b37f5f3ef1dae0d31ade5c64306835a1e8781597 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/me/me.ets" @@ -0,0 +1,21 @@ +@Entry +@Component +export struct MePage{ +// @Prop width_s:number +// @Prop radio:number + build(){ + Column({space:20}){ + Text("华为公司介绍") + .fontSize(35) + .fontWeight(FontWeight.Bold) + .margin({left:10,top:20}) + .width("100%") + .backgroundColor(Color.Red) + .fontColor(Color.White) + Text("华为创立于1987年,是全球领先的ICT(信息与通信)基础设施和智能终端提供商。目前华为约有19.5万员工,业务遍及170多个国家和地区,服务全球30多亿人口。华为致力于把数字世界带入每个人、每个家庭、每个组织,构建万物互联的智能世界:让无处不在的联接,成为人人平等的权利,成为智能世界的前提和基础;为世界提供多样性算力,让云无处不在,让智能无所不及;所有的行业和组织,因强大的数字平台而变得敏捷、高效、生机勃勃;通过AI重新定义体验,让消费者在家居、出行、办公、影音娱乐、运动健康等全场景获得极致的个性化智慧体验。") + .fontSize(25) + Image($r("app.media.HW2")) + .objectFit(ImageFit.Contain) + } + } +} diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/song/song.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/song/song.ets" new file mode 100644 index 0000000000000000000000000000000000000000..032706f21e83c182f2cbfd5527609c87148a2c1a --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/song/song.ets" @@ -0,0 +1,20 @@ +@Entry +@Component +export struct SongPage{ +// @Prop width_s:number +// @Prop radio:number + build(){ + Column({space:20}){ + Text("鸿蒙(HarmonyOS)") + .fontSize(35) + .fontWeight(FontWeight.Bold) + .margin({left:10,top:10}) + .width("100%") + .backgroundColor(Color.Blue) + .fontColor(Color.White) + Text("华为鸿蒙系统(HUAWEI Harmony OS),是华为公司在2019年8月9日于东莞举行华为开发者大会(HDC.2019)上正式发布的操作系统。华为鸿蒙系统是一款全新的面向全场景的分布式操作系统,创造一个超级虚拟终端互联的世界,将人、设备、场景有机地联系在一起,将消费者在全场景生活中接触的多种智能终端,实现极速发现、极速连接、硬件互助、资源共享,用合适的设备提供场景体验。") + .fontSize(28) + + } + } +} \ No newline at end of file diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/user/login.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/user/login.ets" new file mode 100644 index 0000000000000000000000000000000000000000..4cf3e8542d3c9760901894a3762b5034819bffb6 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/user/login.ets" @@ -0,0 +1,41 @@ +import router from '@ohos.router'; + +@Entry +@Component +struct login{ + + build() { + Column({space:5}) { + + //头像 + Image($r("app.media.people")) + .width(70) + .height(70) + .margin(50) + .clip(new Circle({height:70,width:70}))//把头像切成圆的 + + + Column({space:5}){ + //用户名 + TextInput({placeholder:'请输入用户名'}).width('80%') + //密码框 + TextInput({placeholder:'请密码'}).width('80%').type(InputType.Password) + + }.backgroundColor(Color.Gray) + .borderRadius(12) + + Button("注册").width("50%").onClick(()=>{ + router.push( {url: 'pages/user/register'}) + + }) + + + + } .height('100%') + .width('100%') + .justifyContent(FlexAlign.Center) + .backgroundImage($r('app.media.Login2')) + .backgroundImageSize({height:'100%',width:'100%'}) + + } +} \ No newline at end of file diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/user/register.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/user/register.ets" new file mode 100644 index 0000000000000000000000000000000000000000..3e4a62198679c9510b1f6c7a42c6fe09718da098 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/ets/pages/user/register.ets" @@ -0,0 +1,42 @@ +import router from '@ohos.router'; + +@Entry +@Component +struct register{ + + build() { + Column({space:5}) { + + //头像 + Image($r("app.media.people")) + .width(70) + .height(70) + .margin(50) + .clip(new Circle({height:70,width:70}))//把头像切成圆的 + + + Column({space:5}){ + //用户名 + TextInput({placeholder:'请输入用户名'}).width('80%') + //密码框 + TextInput({placeholder:'请密码'}).width('80%').type(InputType.Password) + //再次确认密码框 + TextInput({placeholder:'请再次输入密码'}).width('80%').type(InputType.Password) + + }.backgroundColor(Color.Gray) + .borderRadius(12) + + Button("确认注册").width("50%").onClick(()=>{ + + }) + + + + } .height('100%') + .width('100%') + .justifyContent(FlexAlign.Center) + .backgroundImage($r('app.media.Login2')) + .backgroundImageSize({height:'100%',width:'100%'}) + + } +} \ No newline at end of file diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/module.json5" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/module.json5" new file mode 100644 index 0000000000000000000000000000000000000000..e4e8a81b24f3e1beea6abf6dbf97bc56bc7a6080 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/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/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/element/color.json" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/element/color.json" new file mode 100644 index 0000000000000000000000000000000000000000..3c712962da3c2751c2b9ddb53559afcbd2b54a02 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/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/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/element/string.json" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/element/string.json" new file mode 100644 index 0000000000000000000000000000000000000000..f94595515a99e0c828807e243494f57f09251930 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/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/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/AI.jpg" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/AI.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..3f61a63427e12102b2e210b7f29b3fc0cee437c0 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/AI.jpg" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/HW.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/HW.png" new file mode 100644 index 0000000000000000000000000000000000000000..e9bc831e5dd62b98042b85c0c22e1b0a9ba8768d Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/HW.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/HW1.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/HW1.png" new file mode 100644 index 0000000000000000000000000000000000000000..ae4bfc2b47eb168910409d64a6ea09a1fac9f634 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/HW1.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/HW2.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/HW2.png" new file mode 100644 index 0000000000000000000000000000000000000000..4045caa969a79d290ca7deb5fd8157d7b8932c8d Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/HW2.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/HW3.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/HW3.png" new file mode 100644 index 0000000000000000000000000000000000000000..450880aa46460c6dcd091f5149fb06e23b4aa28d Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/HW3.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/Login.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/Login.png" new file mode 100644 index 0000000000000000000000000000000000000000..a4580405b47f054001699f86bbb0d5e0550c0b59 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/Login.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/Login2.jpg" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/Login2.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..2fc57aee19cce01b07d1479edd8bbcfa67f6a894 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/Login2.jpg" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/cartoon.jpg" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/cartoon.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..94cc2a4e387c370598c74e9161e0ec79b8214143 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/cartoon.jpg" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/head.jpg" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/head.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..eb816263e58e66a1cebf823e3a1e4e565f9e1c9c Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/head.jpg" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/icon.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/icon.png" new file mode 100644 index 0000000000000000000000000000000000000000..ce307a8827bd75456441ceb57d530e4c8d45d36c Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/icon.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/image1.jpg" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/image1.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..5200d59bb50bcbc70b04792c62d2b71e6584afbf Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/image1.jpg" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/image2.jpg" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/image2.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..d4c89cc0dac0a8a1106b746d40cf0ba11f701b68 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/image2.jpg" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/image3.jpg" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/image3.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..439a392f7ad1a583f629f16fe95caebe7f5ec0b5 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/image3.jpg" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/people.jpg" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/people.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..de8451c19c16b8d7ee4bc3688e8e7eb79f5f6f9e Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/people.jpg" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/s1.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/s1.png" new file mode 100644 index 0000000000000000000000000000000000000000..78404f8cdf80941306f161c7432702420812da0c Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/s1.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/s2.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/s2.png" new file mode 100644 index 0000000000000000000000000000000000000000..9105774cde1dd7089887715010dacef4f5aa5b15 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/s2.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/s3.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/s3.png" new file mode 100644 index 0000000000000000000000000000000000000000..250e40ae4bacb551cb501dbfc656c4745af7d6e0 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/s3.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/s4.jpg" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/s4.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..d60ce759342e82ba9905792ffa7d7a35deefc85b Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/s4.jpg" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/s5.jpg" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/s5.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..0b81874971d53f595d4315e35f29e82a25d99c34 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/s5.jpg" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/s6.jpg" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/s6.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..ee53df539b27a6e9a3e0c1361ffdbae948bb00f6 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/media/s6.jpg" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/profile/main_pages.json" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/profile/main_pages.json" new file mode 100644 index 0000000000000000000000000000000000000000..cbba2f6d7a2fa05f942dcf9b42be3b0c40b3f5fb --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/base/profile/main_pages.json" @@ -0,0 +1,16 @@ +{ + "src": [ + "pages/SplashPage", + "pages/WelcomePage", + "pages/index", + "pages/home/bannerDetail", + "pages/home/homeListDetail", + "pages/user/register", + "pages/user/login", + "pages/user/register", + "pages/home/home", + "pages/match/matchListDetail", + "pages/me/me", + "pages/song/song" + ] +} \ No newline at end of file diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/en_US/element/string.json" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/en_US/element/string.json" new file mode 100644 index 0000000000000000000000000000000000000000..f94595515a99e0c828807e243494f57f09251930 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/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/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/fb1.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/fb1.png" new file mode 100644 index 0000000000000000000000000000000000000000..00facbed5ea6af3021481ed40220e8fb35ce401b Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/fb1.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/fb2.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/fb2.png" new file mode 100644 index 0000000000000000000000000000000000000000..21dbcb5cb1db728c516f951af42e4196fd5ba3d0 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/fb2.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/fb3.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/fb3.png" new file mode 100644 index 0000000000000000000000000000000000000000..6fb4647b8aab180015fc91894c5a0a60cde26452 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/fb3.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/gt1.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/gt1.png" new file mode 100644 index 0000000000000000000000000000000000000000..e8c93dc49580a8fe7da4b71efd7f5c49811fa9ad Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/gt1.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/gt2.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/gt2.png" new file mode 100644 index 0000000000000000000000000000000000000000..c33ad20dfa993f058cf0077211746583204904b5 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/gt2.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/gt3.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/gt3.png" new file mode 100644 index 0000000000000000000000000000000000000000..baf3ee16348211add31b7bea94b16cf0b3f0b43a Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/gt3.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/m501.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/m501.png" new file mode 100644 index 0000000000000000000000000000000000000000..c16631176a729796421e9cc0ebd13f80a5e5c355 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/m501.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/m502.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/m502.png" new file mode 100644 index 0000000000000000000000000000000000000000..7f5fbd03131ff9f0e19d4e28e25671c6d547dee1 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/m502.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/m503.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/m503.png" new file mode 100644 index 0000000000000000000000000000000000000000..069b575e3b2094c56cf6ae3e1af67ada678814ff Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/m503.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/m51.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/m51.png" new file mode 100644 index 0000000000000000000000000000000000000000..efa958e9283c96955c6dd88f5ebea787b818eeb7 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/m51.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/m52.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/m52.png" new file mode 100644 index 0000000000000000000000000000000000000000..f4efc6206b91d8427864e5e7576dd3bf145f9dae Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/m52.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/m53.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/m53.png" new file mode 100644 index 0000000000000000000000000000000000000000..c486d40c35e3419e316966253e53f9a9737ab1d7 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/m53.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/mate40pro.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/mate40pro.png" new file mode 100644 index 0000000000000000000000000000000000000000..ad4dd3b16973bfa451d4ef75e61a1f2ebb9bcf7e Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/mate40pro.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/mate50pro.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/mate50pro.png" new file mode 100644 index 0000000000000000000000000000000000000000..9544aaccd57fe8b992d0e54f8b3cfd7f93d10037 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/mate50pro.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/matex2s.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/matex2s.png" new file mode 100644 index 0000000000000000000000000000000000000000..98b646d559602f99a8edaf43cb0cf40e5dc293d0 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/matex2s.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/ms1.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/ms1.png" new file mode 100644 index 0000000000000000000000000000000000000000..3d003ea31bbd67e8ac1f7414f7e67efb9ed5ec39 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/ms1.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/ms2.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/ms2.png" new file mode 100644 index 0000000000000000000000000000000000000000..0dc900947d3a72703013d0a9fb61dfcb75af7e47 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/ms2.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/ms3.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/ms3.png" new file mode 100644 index 0000000000000000000000000000000000000000..6606a5d7cc33a7d957b7030a88c4a747906dad97 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/ms3.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p301.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p301.png" new file mode 100644 index 0000000000000000000000000000000000000000..d8b008b1afbcb5eacc6da407ca4e40d5e01e7e98 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p301.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p302.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p302.png" new file mode 100644 index 0000000000000000000000000000000000000000..df397f213b12b81dac544446a5d35a4372a2ed8e Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p302.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p303.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p303.png" new file mode 100644 index 0000000000000000000000000000000000000000..fae358936a9be6f28dbb9358cea1e4916c6a6c4d Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p303.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p30pro.jpg" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p30pro.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..4da6f37b653a74897ff6c202b7f197106c6d105d Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p30pro.jpg" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p40proplus.jpg" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p40proplus.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..80ca1a61bb7d649dfda5d5cf2f63275b54fc0e02 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p40proplus.jpg" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p50pro.jpg" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p50pro.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..440fd9d74524505395316c2f93b4a206cfcc45d7 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p50pro.jpg" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p50pro1.jpg" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p50pro1.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..c91f836f619041e371cd3c1053f19eb7c6439f66 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p50pro1.jpg" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p50pro2.jpg" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p50pro2.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..d4f4c28d951fd508a794b8fad97f5eadc25568c1 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p50pro2.jpg" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p50pro3.jpg" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p50pro3.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..9a716add6227e865cfbba4aa8351e1f3cef74855 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/p50pro3.jpg" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/pk1.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/pk1.png" new file mode 100644 index 0000000000000000000000000000000000000000..90da6083d0a778b0a59483a75e204c14410574a8 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/pk1.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/pk2.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/pk2.png" new file mode 100644 index 0000000000000000000000000000000000000000..6521e879847b5619569fb3e7dd98868b3c700133 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/pk2.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/pk3.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/pk3.png" new file mode 100644 index 0000000000000000000000000000000000000000..10dbd7b60872358815858b7a0cc450d26560ae3b Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/pk3.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/pocket.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/pocket.png" new file mode 100644 index 0000000000000000000000000000000000000000..1024c74762a9a4521252a5c5424a09ddd0477adb Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/pocket.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/ppp1.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/ppp1.png" new file mode 100644 index 0000000000000000000000000000000000000000..6fa5e13f9de6ce837a4e05c10ad24c286510b266 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/ppp1.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/ppp2.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/ppp2.png" new file mode 100644 index 0000000000000000000000000000000000000000..899d292b73694e22377e61a5d99b68a6a4d924d2 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/ppp2.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/ppp3.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/ppp3.png" new file mode 100644 index 0000000000000000000000000000000000000000..8dc21bedc51c399f8de2c12a0a70750821e97f02 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/ppp3.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/s1.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/s1.png" new file mode 100644 index 0000000000000000000000000000000000000000..e9b4a0751244a85167be47b06e95f7600b4e48a8 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/s1.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/s2.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/s2.png" new file mode 100644 index 0000000000000000000000000000000000000000..20755be7be3c2bbe1a2499a09cdfbae44742a5a0 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/s2.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/s3.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/s3.png" new file mode 100644 index 0000000000000000000000000000000000000000..6d8fff85fbbc1454f46dd702903b7a31d274e1a8 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/phone/s3.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/swiper/AI.jpg" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/swiper/AI.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..3f61a63427e12102b2e210b7f29b3fc0cee437c0 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/swiper/AI.jpg" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/swiper/people.jpg" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/swiper/people.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..de8451c19c16b8d7ee4bc3688e8e7eb79f5f6f9e Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/rawfile/swiper/people.jpg" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/zh_CN/element/string.json" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/main/resources/zh_CN/element/string.json" new file mode 100644 index 0000000000000000000000000000000000000000..597ecf95e61d7e30367c22fe2f8638008361b044 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/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/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/ets/test/Ability.test.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/ets/test/Ability.test.ets" new file mode 100644 index 0000000000000000000000000000000000000000..460fe8c8c124c821c5451615acc8949f619dbc3f --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/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/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/ets/test/List.test.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/ets/test/List.test.ets" new file mode 100644 index 0000000000000000000000000000000000000000..d766fe249dfc3ada636f27e64d9b64451ce32c93 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/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/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/ets/testability/TestAbility.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/ets/testability/TestAbility.ets" new file mode 100644 index 0000000000000000000000000000000000000000..84765c417cbff3b90c08d4c9accb2ea581ba2df1 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/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/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/ets/testability/pages/Index.ets" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/ets/testability/pages/Index.ets" new file mode 100644 index 0000000000000000000000000000000000000000..954dfe0e29874c9ef11a5ace1673f79e27999864 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/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/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/ets/testrunner/OpenHarmonyTestRunner.ts" new file mode 100644 index 0000000000000000000000000000000000000000..94579b9c1535bc11ee56ee53b48fc90a9977e33a --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/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/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/module.json5" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/module.json5" new file mode 100644 index 0000000000000000000000000000000000000000..46d95d62f1d98834e61853653bc2369cbe5907de --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/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/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/resources/base/element/color.json" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/resources/base/element/color.json" new file mode 100644 index 0000000000000000000000000000000000000000..3c712962da3c2751c2b9ddb53559afcbd2b54a02 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/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/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/resources/base/element/string.json" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/resources/base/element/string.json" new file mode 100644 index 0000000000000000000000000000000000000000..65d8fa5a7cf54aa3943dcd0214f58d1771bc1f6c --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/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/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/resources/base/media/icon.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/resources/base/media/icon.png" new file mode 100644 index 0000000000000000000000000000000000000000..ce307a8827bd75456441ceb57d530e4c8d45d36c Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/resources/base/media/icon.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/resources/base/profile/test_pages.json" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/resources/base/profile/test_pages.json" new file mode 100644 index 0000000000000000000000000000000000000000..b7e7343cacb32ce982a45e76daad86e435e054fe --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/entry/src/ohosTest/resources/base/profile/test_pages.json" @@ -0,0 +1,5 @@ +{ + "src": [ + "testability/pages/Index" + ] +} diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/hvigorfile.ts" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/hvigorfile.ts" new file mode 100644 index 0000000000000000000000000000000000000000..6478186902c0c1ad7c966a929c7d6b7d8ae7a9f3 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/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/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/package-lock.json" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/package-lock.json" new file mode 100644 index 0000000000000000000000000000000000000000..5bd1dc8c2820bcad7de676e23c23fa2f22a91cd0 --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/package-lock.json" @@ -0,0 +1,1098 @@ +{ + "name": "audio_app", + "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/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/package.json" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/package.json" new file mode 100644 index 0000000000000000000000000000000000000000..603d33708f3c6a855c7e4a1a012dfb851dbfd8eb --- /dev/null +++ "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/package.json" @@ -0,0 +1,18 @@ +{ + "license":"ISC", + "devDependencies":{}, + "name":"audio_app", + "ohos":{ + "org":"huawei", + "directoryLevel":"project", + "buildTool":"hvigor" + }, + "description":"example description", + "repository":{}, + "version":"1.0.0", + "dependencies":{ + "@ohos/hypium":"1.0.3", + "@ohos/hvigor-ohos-plugin":"1.3.1", + "@ohos/hvigor":"1.3.1" + } +} \ No newline at end of file diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/d1.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/d1.png" new file mode 100644 index 0000000000000000000000000000000000000000..0f4f110d7be1b1211cfdbdc234ad49ed28f43aee Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/d1.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/d2.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/d2.png" new file mode 100644 index 0000000000000000000000000000000000000000..9877feea5158da2fa4d71dee3007f728d2e895ca Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/d2.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/h1.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/h1.png" new file mode 100644 index 0000000000000000000000000000000000000000..1b0d2476db95199769d2fa00f6a69ec11ce6c450 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/h1.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/h2.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/h2.png" new file mode 100644 index 0000000000000000000000000000000000000000..71a5da6e9f92d4fbd2ef0a9ce7492d179299a220 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/h2.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/o1.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/o1.png" new file mode 100644 index 0000000000000000000000000000000000000000..d4f7725e31a0882e9a3f9c6b7d45f7c0b09780dc Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/o1.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/o2.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/o2.png" new file mode 100644 index 0000000000000000000000000000000000000000..4160391eb3a8d34c143ca484162c0d32525002c1 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/o2.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/s1.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/s1.png" new file mode 100644 index 0000000000000000000000000000000000000000..39d6ff2a84b33d2b0183f4ae69035a12b39b20dc Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/s1.png" differ diff --git "a/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/w1.png" "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/w1.png" new file mode 100644 index 0000000000000000000000000000000000000000..ea3a0666bddb5fe610f1d96da88c931636a6a758 Binary files /dev/null and "b/2022_ArkUI_Bootcamp/13049722213+\345\215\216\344\270\272\344\272\247\345\223\201\347\231\276\345\256\235\347\233\222/Huawei_Box/readme_resource/w1.png" differ