├── hello-quickapp ├── dcloud_stat_conf.js ├── Common │ ├── logo.png │ ├── img │ │ ├── c1.png │ │ ├── c2.png │ │ ├── c3.png │ │ ├── c4.png │ │ ├── c5.png │ │ ├── c6.png │ │ ├── c7.png │ │ ├── c8.png │ │ ├── ag1-.png │ │ ├── ag1.png │ │ ├── ag2-.png │ │ ├── ag2.png │ │ ├── ag3-.png │ │ ├── ag3.png │ │ ├── ag4-.png │ │ ├── ag4.png │ │ ├── cbd.jpg │ │ ├── muwu.jpg │ │ ├── mi_logo.png │ │ ├── stack1.png │ │ ├── shuijiao.jpg │ │ ├── youjiantou.png │ │ ├── yuantiao.jpg │ │ └── arrow_right.png │ └── css │ │ └── common.css ├── unpackage │ └── io.dcloud.quickapp.sample.signed.rpk ├── app.ux ├── Component │ ├── A │ │ ├── Detail │ │ │ └── index.ux │ │ └── index.ux │ ├── Richtext │ │ └── index.ux │ ├── Textarea │ │ └── index.ux │ ├── Stack │ │ └── index.ux │ ├── Label │ │ └── index.ux │ ├── Div │ │ └── index.ux │ ├── Swiper │ │ ├── Default │ │ │ └── index.ux │ │ ├── index.ux │ │ └── Grid │ │ │ └── index.ux │ ├── Switch │ │ └── index.ux │ ├── Text │ │ ├── Default │ │ │ └── index.ux │ │ └── index.ux │ ├── Span │ │ └── index.ux │ ├── Video │ │ └── index.ux │ ├── Input │ │ ├── Default │ │ │ └── index.ux │ │ └── index.ux │ ├── Progress │ │ └── index.ux │ ├── Checkbox │ │ └── index.ux │ ├── Radio │ │ └── index.ux │ ├── Image │ │ └── index.ux │ ├── Tabs │ │ ├── Default │ │ │ └── index.ux │ │ └── index.ux │ ├── List │ │ ├── index.ux │ │ └── Default │ │ │ └── index.ux │ ├── Refresh │ │ └── index.ux │ └── Button │ │ └── index.ux ├── Interface │ ├── Router │ │ ├── Detail │ │ │ └── index.ux │ │ └── index.ux │ ├── Webview │ │ └── index.ux │ ├── Barcode │ │ └── index.ux │ ├── Share │ │ └── index.ux │ ├── Request │ │ └── index.ux │ ├── Shortcut │ │ └── index.ux │ ├── Network │ │ └── index.ux │ ├── Notification │ │ └── index.ux │ ├── Fetch │ │ └── index.ux │ ├── Device │ │ └── index.ux │ ├── Geolocation │ │ └── index.ux │ ├── Clipboard │ │ └── index.ux │ ├── Prompt │ │ └── index.ux │ ├── Sensor │ │ └── index.ux │ ├── Storage │ │ └── index.ux │ └── File │ │ └── index.ux ├── Templates │ ├── About │ │ └── index.ux │ ├── Login │ │ └── index.ux │ └── Setting │ │ └── index.ux ├── dcloud_stat.js ├── manifest.json └── Home │ └── index.ux └── README.md /hello-quickapp/dcloud_stat_conf.js: -------------------------------------------------------------------------------- 1 | exports.app_key = ""; //请在此行填写快应用包名 -------------------------------------------------------------------------------- /hello-quickapp/Common/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/logo.png -------------------------------------------------------------------------------- /hello-quickapp/Common/img/c1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/c1.png -------------------------------------------------------------------------------- /hello-quickapp/Common/img/c2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/c2.png -------------------------------------------------------------------------------- /hello-quickapp/Common/img/c3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/c3.png -------------------------------------------------------------------------------- /hello-quickapp/Common/img/c4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/c4.png -------------------------------------------------------------------------------- /hello-quickapp/Common/img/c5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/c5.png -------------------------------------------------------------------------------- /hello-quickapp/Common/img/c6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/c6.png -------------------------------------------------------------------------------- /hello-quickapp/Common/img/c7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/c7.png -------------------------------------------------------------------------------- /hello-quickapp/Common/img/c8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/c8.png -------------------------------------------------------------------------------- /hello-quickapp/Common/img/ag1-.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/ag1-.png -------------------------------------------------------------------------------- /hello-quickapp/Common/img/ag1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/ag1.png -------------------------------------------------------------------------------- /hello-quickapp/Common/img/ag2-.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/ag2-.png -------------------------------------------------------------------------------- /hello-quickapp/Common/img/ag2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/ag2.png -------------------------------------------------------------------------------- /hello-quickapp/Common/img/ag3-.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/ag3-.png -------------------------------------------------------------------------------- /hello-quickapp/Common/img/ag3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/ag3.png -------------------------------------------------------------------------------- /hello-quickapp/Common/img/ag4-.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/ag4-.png -------------------------------------------------------------------------------- /hello-quickapp/Common/img/ag4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/ag4.png -------------------------------------------------------------------------------- /hello-quickapp/Common/img/cbd.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/cbd.jpg -------------------------------------------------------------------------------- /hello-quickapp/Common/img/muwu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/muwu.jpg -------------------------------------------------------------------------------- /hello-quickapp/Common/img/mi_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/mi_logo.png -------------------------------------------------------------------------------- /hello-quickapp/Common/img/stack1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/stack1.png -------------------------------------------------------------------------------- /hello-quickapp/Common/img/shuijiao.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/shuijiao.jpg -------------------------------------------------------------------------------- /hello-quickapp/Common/img/youjiantou.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/youjiantou.png -------------------------------------------------------------------------------- /hello-quickapp/Common/img/yuantiao.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/yuantiao.jpg -------------------------------------------------------------------------------- /hello-quickapp/Common/img/arrow_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/Common/img/arrow_right.png -------------------------------------------------------------------------------- /hello-quickapp/unpackage/io.dcloud.quickapp.sample.signed.rpk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/quickapp/HEAD/hello-quickapp/unpackage/io.dcloud.quickapp.sample.signed.rpk -------------------------------------------------------------------------------- /hello-quickapp/app.ux: -------------------------------------------------------------------------------- 1 | 17 | -------------------------------------------------------------------------------- /hello-quickapp/Component/A/Detail/index.ux: -------------------------------------------------------------------------------- 1 | 8 | 9 | 15 | 16 | 26 | -------------------------------------------------------------------------------- /hello-quickapp/Interface/Router/Detail/index.ux: -------------------------------------------------------------------------------- 1 | 8 | 9 | 15 | 16 | 30 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Richtext/index.ux: -------------------------------------------------------------------------------- 1 | 11 | 12 | 15 | 16 | 28 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Textarea/index.ux: -------------------------------------------------------------------------------- 1 | 11 | 12 | 24 | 25 | 34 | -------------------------------------------------------------------------------- /hello-quickapp/Interface/Webview/index.ux: -------------------------------------------------------------------------------- 1 | 11 | 12 | 15 | 16 | 31 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Stack/index.ux: -------------------------------------------------------------------------------- 1 | 14 | 15 | 27 | 28 | 37 | -------------------------------------------------------------------------------- /hello-quickapp/Component/A/index.ux: -------------------------------------------------------------------------------- 1 | 12 | 13 | 27 | 28 | 37 | -------------------------------------------------------------------------------- /hello-quickapp/Common/css/common.css: -------------------------------------------------------------------------------- 1 | text { 2 | color: #888888; 3 | } 4 | 5 | .container { 6 | flex-direction: column; 7 | flex: 1; 8 | } 9 | 10 | .item-title { 11 | margin: 90px 0px; 12 | width: 750px; 13 | justify-content: center; 14 | } 15 | 16 | .item-title text { 17 | padding: 10px 30px; 18 | border-bottom-color: #D8D8D8; 19 | border-bottom-width: 1px; 20 | text-align: center; 21 | color: #BEBEBE; 22 | font-size: 32px; 23 | } 24 | 25 | .item-content { 26 | margin: 0px 40px; 27 | flex-direction: column; 28 | flex: 1; 29 | } 30 | 31 | .item-group { 32 | flex-direction: column; 33 | padding: 10px 20px; 34 | margin: 30px 0px; 35 | background-color: #ffffff; 36 | } 37 | 38 | .item-group-button { 39 | height: 80px; 40 | background-color: #dd524d; 41 | margin: 20px 0px; 42 | color: #ffffff; 43 | border-radius: 8px; 44 | } 45 | 46 | .item-group-text { 47 | padding: 20px; 48 | color: #888888; 49 | } 50 | -------------------------------------------------------------------------------- /hello-quickapp/Interface/Barcode/index.ux: -------------------------------------------------------------------------------- 1 | 11 | 12 | 15 | 16 | 36 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # quickapp 2 | 3 | 快应用是基于手机硬件平台的新型应用形态,标准是由主流手机厂商组成的快应用联盟联合制定。 4 | 5 | 这里是DCloud为快应用提供的工具服务集锦,包括开发IDE、源码示例、新手教程等。 6 | 7 | ## IDE 8 | 9 | DCloud的HBuilder,是拥有190万开发者的优秀国产开发工具。 10 | 下一代产品HBuilderX,完全重新开发,基于C++架构,性能体验秒杀基于java系或nodewebkit系的产品。 11 | 12 | HBuidlerX针对快应用提供了高效的语法提示、转到定义、格式化、真机同步、debug、打包等全流程服务,可以大幅提高开发者的开发效率。 13 | 14 | HBuilderX的字处理极其高效,具备众多以往顶尖编辑器都不具备的高效字处理能力。 15 | 16 | HBuiderX下载地址:[http://quickapp.dcloud.io](http://quickapp.dcloud.io) 17 | 18 | ## 转换器 19 | 20 | 如果你已经有了一款微信小程序,那就没必要从头重新开发快应用,可以利用DCloud提供的转换器,快速将微信小程序转换为快应用。 21 | 22 | 转换器源码已开源,地址:[https://github.com/dcloudio/uni-migration](https://github.com/dcloudio/uni-migration),欢迎大家一起参与完善小程序转换器,拒绝重复劳动,提高开发效率。 23 | 24 | 详细转换步骤参考:[小程序转快应用教程](http://ask.dcloud.net.cn/article/13175) 25 | 26 | ## 源码示例 27 | 28 | ### hello-quickapp 29 | 30 | hello-quickapp是DCloud发布的快应用Demo示例,提供快应用接口能力及组件进行展示。 31 | 32 | 33 | 34 | 开发者可以通过如下两种方式体验hello-quickapp: 35 | 36 | - 下载Hello QuickApp项目源码,拖拽到[HBuidlerX](http://quickapp.dcloud.io)中,通过数据线将Android手机连接到电脑,在手机上进行真机运行及调试; 37 | - 将hello-quickapp编译后的rpk文件,安装到快应用联盟的加载器中直接运行 38 | 39 | 40 | 更多源码示例,敬请期待。 41 | -------------------------------------------------------------------------------- /hello-quickapp/Interface/Share/index.ux: -------------------------------------------------------------------------------- 1 | 13 | 14 | 17 | 18 | 40 | -------------------------------------------------------------------------------- /hello-quickapp/Templates/About/index.ux: -------------------------------------------------------------------------------- 1 | 11 | 52 | 65 | -------------------------------------------------------------------------------- /hello-quickapp/Interface/Request/index.ux: -------------------------------------------------------------------------------- 1 | 14 | 15 | 18 | 19 | 54 | -------------------------------------------------------------------------------- /hello-quickapp/Interface/Router/index.ux: -------------------------------------------------------------------------------- 1 | 15 | 16 | 19 | 20 | 49 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Label/index.ux: -------------------------------------------------------------------------------- 1 | 27 | 28 | 50 | 51 | 60 | -------------------------------------------------------------------------------- /hello-quickapp/Interface/Shortcut/index.ux: -------------------------------------------------------------------------------- 1 | 13 | 14 | 17 | 18 | 54 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Div/index.ux: -------------------------------------------------------------------------------- 1 | 24 | 25 | 61 | 62 | 71 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Swiper/Default/index.ux: -------------------------------------------------------------------------------- 1 | 24 | 25 | 37 | 38 | 58 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Switch/index.ux: -------------------------------------------------------------------------------- 1 | 20 | 21 | 50 | 51 | 70 | -------------------------------------------------------------------------------- /hello-quickapp/dcloud_stat.js: -------------------------------------------------------------------------------- 1 | import app from '@system.app';import fetch from '@system.fetch';import device from '@system.device';import storage from '@system.storage';import dc_stat_conf from './dcloud_stat_conf.js';let dcloud_stat={stat_data:{p:"a"},retryTime:0,report:function(logType){this.stat_data.lt=logType||1;this.getAppInfo();let _self=this;this.getDeviceId(function(){if(dc_stat_conf.app_key){_self.stat_data.ak=dc_stat_conf.app_key;fetch.fetch({url:"https://stream.dcloud.net.cn/quickapp/stat",data:_self.stat_data,success:function(rsp){},fail:function(data,code){if(++_self.retryTime<3){setTimeout((logType)=>{_self.report(logType)},500)}}})}})},getAppInfo:function(){let appInfo=app.getInfo();if(appInfo){this.stat_data.vn=appInfo.versionName;this.stat_data.vc=appInfo.versionCode}},getDeviceId:function(callback){let _self=this;device.getId({type:["device","mac","user"],success:function(data){_self.stat_data.imei="|"+data.device+"|"+data.mac+"|"+data.user+"||";_self.getDeviceInfo(callback)},fail:function(data,code){let dt=new Date();storage.get({key:'__DC_STAT_DEVICE_R',success:function(data){let rid='';if(data){rid=data}else{rid="__DS_RID__"+dt.getFullYear()+(dt.getMonth()+1)+dt.getDate()+dt.getHours()+parseInt(Math.random()*100000);storage.set({key:'__DC_STAT_DEVICE_R',value:rid})}_self.stat_data.imei="||||"+rid+"|";_self.getDeviceInfo(callback)},fail:function(data,code){console.log("storage handling fail, code="+code)}})}})},getDeviceInfo:function(callback){let _self=this;device.getInfo({success:function(data){_self.stat_data.brand=data.brand;_self.stat_data.vd=data.manufacturer;_self.stat_data.md=data.model;_self.stat_data.os=data.osVersionCode;_self.stat_data.pvn=data.platformVersionName;_self.stat_data.vb=data.platformVersionCode;_self.stat_data.lang=data.language;_self.stat_data.region=data.region;_self.stat_data.sw=data.screenWidth;_self.stat_data.sh=data.screenHeight},fail:function(){},complete:function(){callback()}})}};(global.__proto__||global).dc_stat=dcloud_stat;export default dcloud_stat; -------------------------------------------------------------------------------- /hello-quickapp/Interface/Network/index.ux: -------------------------------------------------------------------------------- 1 | 19 | 20 | 23 | 24 | 57 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Text/Default/index.ux: -------------------------------------------------------------------------------- 1 | 26 | 27 | 62 | 63 | 72 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Span/index.ux: -------------------------------------------------------------------------------- 1 | 28 | 29 | 64 | 65 | 74 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Video/index.ux: -------------------------------------------------------------------------------- 1 | 16 | 17 | 42 | 43 | 64 | -------------------------------------------------------------------------------- /hello-quickapp/Interface/Notification/index.ux: -------------------------------------------------------------------------------- 1 | 21 | 22 | 32 | 33 | 63 | -------------------------------------------------------------------------------- /hello-quickapp/Interface/Fetch/index.ux: -------------------------------------------------------------------------------- 1 | 14 | 15 | 18 | 19 | 58 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Input/Default/index.ux: -------------------------------------------------------------------------------- 1 | 34 | 35 | 51 | 52 | 61 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Progress/index.ux: -------------------------------------------------------------------------------- 1 | 23 | 24 | 60 | 61 | 70 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Checkbox/index.ux: -------------------------------------------------------------------------------- 1 | 28 | 29 | 60 | 61 | 70 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Radio/index.ux: -------------------------------------------------------------------------------- 1 | 28 | 29 | 57 | 58 | 70 | -------------------------------------------------------------------------------- /hello-quickapp/Interface/Device/index.ux: -------------------------------------------------------------------------------- 1 | 18 | 19 | 22 | 23 | 64 | -------------------------------------------------------------------------------- /hello-quickapp/Interface/Geolocation/index.ux: -------------------------------------------------------------------------------- 1 | 21 | 22 | 25 | 26 | 64 | -------------------------------------------------------------------------------- /hello-quickapp/Interface/Clipboard/index.ux: -------------------------------------------------------------------------------- 1 | 18 | 19 | 36 | 37 | 75 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Image/index.ux: -------------------------------------------------------------------------------- 1 | 38 | 39 | 61 | 62 | 71 | -------------------------------------------------------------------------------- /hello-quickapp/Interface/Prompt/index.ux: -------------------------------------------------------------------------------- 1 | 13 | 14 | 17 | 18 | 76 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Tabs/Default/index.ux: -------------------------------------------------------------------------------- 1 | 36 | 37 | 78 | 79 | 94 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Text/index.ux: -------------------------------------------------------------------------------- 1 | 23 | 100 | 109 | -------------------------------------------------------------------------------- /hello-quickapp/Component/List/index.ux: -------------------------------------------------------------------------------- 1 | 20 | 106 | 126 | -------------------------------------------------------------------------------- /hello-quickapp/Component/List/Default/index.ux: -------------------------------------------------------------------------------- 1 | 23 | 24 | 68 | 69 | 107 | -------------------------------------------------------------------------------- /hello-quickapp/Templates/Login/index.ux: -------------------------------------------------------------------------------- 1 | 25 | 104 | 116 | -------------------------------------------------------------------------------- /hello-quickapp/Interface/Sensor/index.ux: -------------------------------------------------------------------------------- 1 | 25 | 26 | 29 | 30 | 83 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Refresh/index.ux: -------------------------------------------------------------------------------- 1 | 19 | 20 | 63 | 64 | 107 | -------------------------------------------------------------------------------- /hello-quickapp/Templates/Setting/index.ux: -------------------------------------------------------------------------------- 1 | 22 | 114 | 127 | -------------------------------------------------------------------------------- /hello-quickapp/Interface/Storage/index.ux: -------------------------------------------------------------------------------- 1 | 23 | 24 | 40 | 41 | 106 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Swiper/index.ux: -------------------------------------------------------------------------------- 1 | 36 | 114 | 148 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Button/index.ux: -------------------------------------------------------------------------------- 1 | 33 | 34 | 196 | 197 | 206 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Input/index.ux: -------------------------------------------------------------------------------- 1 | 48 | 88 | 145 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Swiper/Grid/index.ux: -------------------------------------------------------------------------------- 1 | 109 | 164 | 179 | -------------------------------------------------------------------------------- /hello-quickapp/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "package": "io.dcloud.quickapp.sample", 3 | "name": "快应用示例", 4 | "versionName": "1.0.0", 5 | "versionCode": 100, 6 | "icon": "/Common/logo.png", 7 | "features": [{ 8 | "name": "system.webview" 9 | }, 10 | { 11 | "name": "system.prompt" 12 | }, 13 | { 14 | "name": "system.fetch" 15 | }, 16 | { 17 | "name": "system.file" 18 | }, 19 | { 20 | "name": "system.clipboard" 21 | }, 22 | { 23 | "name": "system.geolocation" 24 | }, 25 | { 26 | "name": "system.request" 27 | }, 28 | { 29 | "name": "system.calendar" 30 | }, 31 | { 32 | "name": "system.device" 33 | }, 34 | { 35 | "name": "system.storage" 36 | }, 37 | { 38 | "name": "system.media" 39 | }, 40 | { 41 | "name": "system.share" 42 | }, 43 | { 44 | "name": "system.notification" 45 | }, 46 | { 47 | "name": "system.barcode" 48 | }, 49 | { 50 | "name": "system.sensor" 51 | }, 52 | { 53 | "name": "system.shortcut" 54 | }, 55 | { 56 | "name": "system.network" 57 | } 58 | ], 59 | "permissions": [{ 60 | "origin": "*" 61 | }], 62 | "config": { 63 | "logLevel": "debug" 64 | }, 65 | "router": { 66 | "entry": "Home", 67 | "pages": { 68 | "Home": { 69 | "component": "index" 70 | }, 71 | "Component/Div": { 72 | "component": "index" 73 | }, 74 | "Component/List/Default": { 75 | "component": "index" 76 | }, 77 | "Component/List": { 78 | "component": "index" 79 | }, 80 | "Component/Refresh": { 81 | "component": "index" 82 | }, 83 | "Component/Richtext": { 84 | "component": "index" 85 | }, 86 | "Component/Stack": { 87 | "component": "index" 88 | }, 89 | "Component/Swiper/Default": { 90 | "component": "index" 91 | }, 92 | "Component/Swiper/Grid": { 93 | "component": "index" 94 | }, 95 | "Component/Swiper": { 96 | "component": "index" 97 | }, 98 | "Component/Tabs/Default": { 99 | "component": "index" 100 | }, 101 | "Component/Tabs": { 102 | "component": "index" 103 | }, 104 | "Component/A": { 105 | "component": "index" 106 | }, 107 | "Component/A/Detail": { 108 | "component": "index" 109 | }, 110 | "Component/Image": { 111 | "component": "index" 112 | }, 113 | "Component/Progress": { 114 | "component": "index" 115 | }, 116 | "Component/Span": { 117 | "component": "index" 118 | }, 119 | "Component/Text/Default": { 120 | "component": "index" 121 | }, 122 | "Component/Text": { 123 | "component": "index" 124 | }, 125 | "Component/Switch": { 126 | "component": "index" 127 | }, 128 | "Component/Input/Default": { 129 | "component": "index" 130 | }, 131 | "Component/Input": { 132 | "component": "index" 133 | }, 134 | "Component/Button": { 135 | "component": "index" 136 | }, 137 | "Component/Radio": { 138 | "component": "index" 139 | }, 140 | "Component/Checkbox": { 141 | "component": "index" 142 | }, 143 | "Component/Label": { 144 | "component": "index" 145 | }, 146 | "Component/Textarea": { 147 | "component": "index" 148 | }, 149 | "Component/Video": { 150 | "component": "index" 151 | }, 152 | "Interface/Router": { 153 | "component": "index" 154 | }, 155 | "Interface/Router/Detail": { 156 | "component": "index" 157 | }, 158 | "Interface/Share": { 159 | "component": "index" 160 | }, 161 | "Interface/Prompt": { 162 | "component": "index" 163 | }, 164 | "Interface/Webview": { 165 | "component": "index" 166 | }, 167 | "Interface/Notification": { 168 | "component": "index" 169 | }, 170 | "Interface/Request": { 171 | "component": "index" 172 | }, 173 | "Interface/Fetch": { 174 | "component": "index" 175 | }, 176 | "Interface/Storage": { 177 | "component": "index" 178 | }, 179 | "Interface/File": { 180 | "component": "index" 181 | }, 182 | "Interface/Sensor": { 183 | "component": "index" 184 | }, 185 | "Interface/Geolocation": { 186 | "component": "index" 187 | }, 188 | "Interface/Barcode": { 189 | "component": "index" 190 | }, 191 | "Interface/Clipboard": { 192 | "component": "index" 193 | }, 194 | "Interface/Device": { 195 | "component": "index" 196 | }, 197 | "Interface/Network": { 198 | "component": "index" 199 | }, 200 | "Interface/Shortcut": { 201 | "component": "index" 202 | }, 203 | "Templates/Login": { 204 | "component": "index" 205 | }, 206 | "Templates/Setting": { 207 | "component": "index" 208 | }, 209 | "Templates/About": { 210 | "component": "index" 211 | } 212 | } 213 | }, 214 | "display": { 215 | "titleBarBackgroundColor": "#dd524d", 216 | "backgroundColor": "#f8f8f8", 217 | "titleBar": true, 218 | "titleBarTextColor": "#ffffff", 219 | "pages": { 220 | "Home": { 221 | "titleBarText": "快应用组件展示" 222 | } 223 | } 224 | } 225 | } 226 | -------------------------------------------------------------------------------- /hello-quickapp/Interface/File/index.ux: -------------------------------------------------------------------------------- 1 | 35 | 36 | 39 | 40 | 160 | -------------------------------------------------------------------------------- /hello-quickapp/Component/Tabs/index.ux: -------------------------------------------------------------------------------- 1 | 85 | 236 | 274 | -------------------------------------------------------------------------------- /hello-quickapp/Home/index.ux: -------------------------------------------------------------------------------- 1 | 304 | 305 | 521 | 522 | 585 | --------------------------------------------------------------------------------