manifest.json 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  1. {
  2. "@platforms": ["android", "iPhone", "iPad"],
  3. "id": "H554E4B16",/*应用的标识,创建应用时自动生成,勿手动修改*/
  4. "name": "新农宝盒v2",/*应用名称,程序桌面图标名称*/
  5. "version": {
  6. "name": "2.0.0",/*应用版本名称*/
  7. "code": ""
  8. },
  9. "description": "",/*应用描述信息*/
  10. "icons": {
  11. "72": "icon.png"
  12. },
  13. "launch_path": "main.html",/*应用的入口页面,默认为根目录下的index.html;支持网络地址,必须以http://或https://开头*/
  14. "developer": {
  15. "name": "",/*开发者名称*/
  16. "email": "",/*开发者邮箱地址*/
  17. "url": ""/*开发者个人主页地址*/
  18. },
  19. "permissions": {
  20. "Accelerometer": {
  21. "description": "访问加速度感应器"
  22. },
  23. "Audio": {
  24. "description": "访问麦克风"
  25. },
  26. "Messaging":{
  27. "description": "短彩邮件插件"
  28. },
  29. "Cache": {
  30. "description": "管理应用缓存"
  31. },
  32. "Camera": {
  33. "description": "访问摄像头"
  34. },
  35. "Console": {
  36. "description": "跟踪调试输出日志"
  37. },
  38. "Contacts": {
  39. "description": "访问系统联系人信息"
  40. },
  41. "Device": {
  42. "description": "访问设备信息"
  43. },
  44. "Downloader": {
  45. "description": "文件下载管理"
  46. },
  47. "Events": {
  48. "description": "应用扩展事件"
  49. },
  50. "File": {
  51. "description": "访问本地文件系统"
  52. },
  53. "Gallery": {
  54. "description": "访问系统相册"
  55. },
  56. "Geolocation": {
  57. "description": "访问位置信息"
  58. },
  59. "Invocation": {
  60. "description": "使用Native.js能力"
  61. },
  62. "Orientation": {
  63. "description": "访问方向感应器"
  64. },
  65. "Proximity": {
  66. "description": "访问距离感应器"
  67. },
  68. "Storage": {
  69. "description": "管理应用本地数据"
  70. },
  71. "Uploader": {
  72. "description": "管理文件上传任务"
  73. },
  74. "Runtime": {
  75. "description": "访问运行期环境"
  76. },
  77. "XMLHttpRequest": {
  78. "description": "跨域网络访问"
  79. },
  80. "Zip": {
  81. "description": "文件压缩与解压缩"
  82. },
  83. "Barcode": {
  84. "description": "管理二维码扫描插件"
  85. },
  86. "Maps": {
  87. "description": "管理地图插件"
  88. },
  89. "Speech": {
  90. "description": "管理语音识别插件"
  91. },
  92. "Webview":{
  93. "description": "窗口管理"
  94. },
  95. "NativeUI":{
  96. "description": "原生UI控件"
  97. },
  98. "Navigator":{
  99. "description": "浏览器信息"
  100. },
  101. "NativeObj":{
  102. "description": "原生对象"
  103. }
  104. },
  105. "plus": {
  106. "splashscreen": {
  107. "autoclose": true,/*是否自动关闭程序启动界面,true表示应用加载应用入口页面后自动关闭;false则需调plus.navigator.closeSplashscreen()关闭*/
  108. "waiting": true/*是否在程序启动界面显示等待雪花,true表示显示,false表示不显示。*/
  109. },
  110. "popGesture": "close",/*设置应用默认侧滑返回关闭Webview窗口,"none"为无侧滑返回功能,"hide"为侧滑隐藏Webview窗口。参考http://ask.dcloud.net.cn/article/102*/
  111. "runmode": "normal",/*应用的首次启动运行模式,可取liberate或normal,liberate模式在第一次启动时将解压应用资源(Android平台File API才可正常访问_www目录)*/
  112. "signature": "Sk9JTiBVUyBtYWlsdG86aHIyMDEzQGRjbG91ZC5pbw==",/*可选,保留给应用签名,暂不使用*/
  113. "distribute": {
  114. "apple": {
  115. "appid": "",/*iOS应用标识,苹果开发网站申请的appid,如io.dcloud.HelloH5*/
  116. "mobileprovision": "",/*iOS应用打包配置文件*/
  117. "password": "",/*iOS应用打包个人证书导入密码*/
  118. "p12": "",/*iOS应用打包个人证书,打包配置文件关联的个人证书*/
  119. "devices": "universal",/*iOS应用支持的设备类型,可取值iphone/ipad/universal*/
  120. "frameworks":[
  121. ]/*调用Native.js调用原生Objective-c API需要引用的FrameWork,如需调用GameCenter,则添加"GameKit.framework"*/
  122. },
  123. "google": {
  124. "packagename": "",/*Android应用包名,如io.dcloud.HelloH5*/
  125. "keystore": "",/*Android应用打包使用的密钥库文件*/
  126. "password": "",/*Android应用打包使用密钥库中证书的密码*/
  127. "aliasname": "",/*Android应用打包使用密钥库中证书的别名*/
  128. "permissions": ["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.CALL_PHONE\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]
  129. /*使用Native.js调用原生安卓API需要使用到的系统权限*/
  130. },
  131. "orientation": [
  132. "portrait-primary"
  133. ],/*应用支持的方向,portrait-primary:竖屏正方向;portrait-secondary:竖屏反方向;landscape-primary:横屏正方向;landscape-secondary:横屏反方向*/
  134. "icons": {
  135. "ios": {
  136. "prerendered": true, /*应用图标是否已经高亮处理,在iOS6及以下设备上有效*/
  137. "auto": "", /*应用图标,分辨率:512x512,用于自动生成各种尺寸程序图标*/
  138. "iphone": {
  139. "normal": "unpackage/res/icons/57x57.png", /*iPhone3/3GS程序图标,分辨率:57x57*/
  140. "retina": "unpackage/res/icons/114x114.png", /*iPhone4程序图标,分辨率:114x114*/
  141. "retina7": "unpackage/res/icons/120x120.png", /*iPhone4S/5/6程序图标,分辨率:120x120*/
  142. "retina8": "unpackage/res/icons/180x180.png", /*iPhone6 Plus程序图标,分辨率:180x180*/
  143. "spotlight-normal": "unpackage/res/icons/29x29.png", /*iPhone3/3GS Spotlight搜索程序图标,分辨率:29x29*/
  144. "spotlight-retina": "unpackage/res/icons/58x58.png", /*iPhone4 Spotlight搜索程序图标,分辨率:58x58*/
  145. "spotlight-retina7": "unpackage/res/icons/80x80.png", /*iPhone4S/5/6 Spotlight搜索程序图标,分辨率:80x80*/
  146. "settings-normal": "unpackage/res/icons/29x29.png", /*iPhone4设置页面程序图标,分辨率:29x29*/
  147. "settings-retina": "unpackage/res/icons/58x58.png", /*iPhone4S/5/6设置页面程序图标,分辨率:58x58*/
  148. "settings-retina8": "unpackage/res/icons/87x87.png" /*iPhone6Plus设置页面程序图标,分辨率:87x87*/
  149. },
  150. "ipad": {
  151. "normal": "unpackage/res/icons/72x72.png", /*iPad普通屏幕程序图标,分辨率:72x72*/
  152. "retina": "unpackage/res/icons/144x144.png", /*iPad高分屏程序图标,分辨率:144x144*/
  153. "normal7": "unpackage/res/icons/76x76.png", /*iPad iOS7程序图标,分辨率:76x76*/
  154. "retina7": "unpackage/res/icons/152x152.png", /*iPad iOS7高分屏程序图标,分辨率:152x152*/
  155. "spotlight-normal": "unpackage/res/icons/50x50.png", /*iPad Spotlight搜索程序图标,分辨率:50x50*/
  156. "spotlight-retina": "unpackage/res/icons/100x100.png", /*iPad高分屏Spotlight搜索程序图标,分辨率:100x100*/
  157. "spotlight-normal7": "unpackage/res/icons/40x40.png",/*iPad iOS7 Spotlight搜索程序图标,分辨率:40x40*/
  158. "spotlight-retina7": "unpackage/res/icons/80x80.png",/*iPad iOS7高分屏Spotlight搜索程序图标,分辨率:80x80*/
  159. "settings-normal": "unpackage/res/icons/29x29.png",/*iPad设置页面程序图标,分辨率:29x29*/
  160. "settings-retina": "unpackage/res/icons/58x58.png" /*iPad高分屏设置页面程序图标,分辨率:58x58*/
  161. }
  162. },
  163. "android": {
  164. "mdpi": "unpackage/res/icons/48x48.png", /*普通屏程序图标,分辨率:48x48*/
  165. "ldpi": "unpackage/res/icons/48x48.png", /*大屏程序图标,分辨率:48x48*/
  166. "hdpi": "unpackage/res/icons/72x72.png", /*高分屏程序图标,分辨率:72x72*/
  167. "xhdpi": "unpackage/res/icons/96x96.png",/*720P高分屏程序图标,分辨率:96x96*/
  168. "xxhdpi": "unpackage/res/icons/144x144.png"/*1080P 高分屏程序图标,分辨率:144x144*/
  169. }
  170. },
  171. "splashscreen": {
  172. "ios": {
  173. "iphone": {
  174. "default": "", /*iPhone3启动图片选,分辨率:320x480*/
  175. "retina35": "",/*3.5英寸设备(iPhone4)启动图片,分辨率:640x960*/
  176. "retina40": "",/*4.0 英寸设备(iPhone5/iPhone5s)启动图片,分辨率:640x1136*/
  177. "retina47": "",/*4.7 英寸设备(iPhone6)启动图片,分辨率:750x1334*/
  178. "retina55": "",/*5.5 英寸设备(iPhone6 Plus)启动图片,分辨率:1242x2208*/
  179. "retina55l": ""/*5.5 英寸设备(iPhone6 Plus)横屏启动图片,分辨率:2208x1242*/
  180. },
  181. "ipad": {
  182. "portrait": "", /*iPad竖屏启动图片,分辨率:768x1004*/
  183. "portrait-retina": "",/*iPad高分屏竖屏图片,分辨率:1536x2008*/
  184. "landscape": "", /*iPad横屏启动图片,分辨率:1024x748*/
  185. "landscape-retina": "", /*iPad高分屏横屏启动图片,分辨率:2048x1496*/
  186. "portrait7": "", /*iPad iOS7竖屏启动图片,分辨率:768x1024*/
  187. "portrait-retina7": "",/*iPad iOS7高分屏竖屏图片,分辨率:1536x2048*/
  188. "landscape7": "", /*iPad iOS7横屏启动图片,分辨率:1024x768*/
  189. "landscape-retina7": ""/*iPad iOS7高分屏横屏启动图片,分辨率:2048x1536*/
  190. }
  191. },
  192. "android": {
  193. "hdpi": "/Users/bluce/Desktop/480x800.png", /*高分屏启动图片,分辨率:480x762*/
  194. "xhdpi": "/Users/bluce/Desktop/720x1280.png", /*720P高分屏启动图片,分辨率:720x1242*/
  195. "xxhdpi": "/Users/bluce/Desktop/1080x1920.png"/*1080P高分屏启动图片,分辨率:1080x1882*/
  196. }
  197. },"debug":true
  198. }
  199. },
  200. "dependencies":{
  201. "pages": {
  202. "message.html": {
  203. "href": "message.html",
  204. "resources": [
  205. "css/mui.min.css",
  206. "fonts/mui.ttf",
  207. "css/main.css",
  208. "img/index-two.png",
  209. "img/index-three.png",
  210. "img/index-news-icon.png",
  211. "img/index-question-icon.png",
  212. "js/mui.min.js",
  213. "js/main.js"
  214. ],
  215. "priority": 0
  216. },
  217. "set.html": {
  218. "href": "set.html",
  219. "resources": [
  220. "css/mui.min.css",
  221. "fonts/mui.ttf",
  222. "css/main.css",
  223. "img/index-two.png",
  224. "img/index-three.png",
  225. "img/index-news-icon.png",
  226. "img/index-question-icon.png",
  227. "js/mui.min.js",
  228. "js/main.js"
  229. ],
  230. "priority": 1
  231. },
  232. "product.html": {
  233. "href": "product.html",
  234. "resources": [
  235. "css/mui.min.css",
  236. "fonts/mui.ttf",
  237. "css/main.css",
  238. "img/index-two.png",
  239. "img/index-three.png",
  240. "img/index-news-icon.png",
  241. "img/index-question-icon.png",
  242. "js/mui.min.js",
  243. "js/main.js"
  244. ],
  245. "priority": 2
  246. },
  247. "main.html": {
  248. "href": "main.html",
  249. "resources": [
  250. "css/mui.min.css",
  251. "fonts/mui.ttf",
  252. "css/main.css",
  253. "img/index-two.png",
  254. "img/index-three.png",
  255. "img/index-news-icon.png",
  256. "img/index-question-icon.png",
  257. "css/index.css",
  258. "images/ico-msg.png",
  259. "images/ico-back.png",
  260. "images/icons/icons_01.png",
  261. "images/icons/icons_02.png",
  262. "images/icons/icons_03.png",
  263. "images/icons/icons_04.png",
  264. "images/icons/icons_05.png",
  265. "images/icons/icons_06.png",
  266. "images/icons/icons_07.png",
  267. "images/icons/icons_08.png",
  268. "images/icons/icons_09.png",
  269. "images/icons/icons_10.png",
  270. "images/icons/icons_11.png",
  271. "images/icons/icons_12.png",
  272. "images/icons/icons_13.png",
  273. "images/icons/icons_20.png",
  274. "images/icons/icons_15.png",
  275. "images/icons/icons_16.png",
  276. "images/icons/icons_17.png",
  277. "images/icons/icons_18.png",
  278. "images/ico-wenshi.png",
  279. "images/ico-qixiang.png",
  280. "images/ico-guangai.png",
  281. "images/ico-shangqing.png",
  282. "images/ico-seting.png",
  283. "images/ico-wechat.png",
  284. "images/ico-play.png",
  285. "css/reset-mobile.css",
  286. "js/mui.min.js",
  287. "js/main.js"
  288. ],
  289. "refer": [
  290. "message.html",
  291. "set.html",
  292. "product.html",
  293. "login.html"
  294. ],
  295. "priority": 0
  296. },
  297. "login.html": {
  298. "href": "login.html",
  299. "resources": [
  300. "css/mui.min.css",
  301. "fonts/mui.ttf",
  302. "css/main.css",
  303. "img/index-two.png",
  304. "img/index-three.png",
  305. "img/index-news-icon.png",
  306. "img/index-question-icon.png",
  307. "css/index.css",
  308. "images/ico-msg.png",
  309. "images/ico-back.png",
  310. "images/icons/icons_01.png",
  311. "images/icons/icons_02.png",
  312. "images/icons/icons_03.png",
  313. "images/icons/icons_04.png",
  314. "images/icons/icons_05.png",
  315. "images/icons/icons_06.png",
  316. "images/icons/icons_07.png",
  317. "images/icons/icons_08.png",
  318. "images/icons/icons_09.png",
  319. "images/icons/icons_10.png",
  320. "images/icons/icons_11.png",
  321. "images/icons/icons_12.png",
  322. "images/icons/icons_13.png",
  323. "images/icons/icons_20.png",
  324. "images/icons/icons_15.png",
  325. "images/icons/icons_16.png",
  326. "images/icons/icons_17.png",
  327. "images/icons/icons_18.png",
  328. "images/ico-wenshi.png",
  329. "images/ico-qixiang.png",
  330. "images/ico-guangai.png",
  331. "images/ico-shangqing.png",
  332. "images/ico-seting.png",
  333. "images/ico-wechat.png",
  334. "images/ico-play.png",
  335. "css/reset-mobile.css",
  336. "js/mui.min.js",
  337. "js/mui.enterfocus.js",
  338. "js/login.js",
  339. "images/logo.png"
  340. ],
  341. "refer": [
  342. "main.html"
  343. ],
  344. "priority": 0
  345. },
  346. "index.html": {
  347. "href": "index.html",
  348. "resources": [
  349. "css/mui.min.css",
  350. "fonts/mui.ttf",
  351. "css/main.css",
  352. "img/index-two.png",
  353. "img/index-three.png",
  354. "img/index-news-icon.png",
  355. "img/index-question-icon.png",
  356. "js/mui.min.js",
  357. "js/main.js",
  358. "js/login.js",
  359. "img/focus/1.jpg",
  360. "img/focus/2.jpg",
  361. "img/focus/3.jpg"
  362. ],
  363. "refer": [
  364. "login.html",
  365. "main.html"
  366. ],
  367. "priority": 0
  368. }
  369. },
  370. "idle": {
  371. "resources": [
  372. "js/echarts/echarts.common.min.js",
  373. "images/ercode.jpg",
  374. "js/device.js",
  375. "img/ionic.png",
  376. "images/video.jpg",
  377. "css/mui.css",
  378. "product_old.html",
  379. "main_old.html",
  380. "js/common.js",
  381. "js/zepto.min.js",
  382. "images/icons.png",
  383. "js/mui.js",
  384. "js/config.js"
  385. ]
  386. }
  387. },"fullscreen":true
  388. }