{
"@platforms": [
"android",
"iPhone",
"iPad"
],
"id": "com.hyzn.diandangjia",/应用的标识,创建应用时自动生成,勿手动修改/
"name": "xxxx",/应用名称,程序桌面图标名称/
"version": {
"name": "2.0.0517",/应用版本名称/
"code": "517"
},
"description": "",/应用描述信息/
"icons": {
"72": "icon.png"
},
"launch_path": "html/login.html",/应用的入口页面,默认为根目录下的index.html;支持网络地址,必须以http://或https://开头/
"developer": {
"name": "",/开发者名称/
"email": "",/开发者邮箱地址/
"url": "http://www.dcloud.io"
},
"permissions": {
"Accelerometer": {
"description": "访问加速度感应器"
},
"Cache": {
"description": "管理应用缓存"
},
"Console": {
"description": "跟踪调试输出日志"
},
"Downloader": {
"description": "文件下载管理"
},
"Events": {
"description": "应用扩展事件"
},
"File": {
"description": "访问本地文件系统"
},
"Gallery": {
"description": "访问系统相册"
},
"Invocation": {
"description": "使用Native.js能力"
},
"Orientation": {
"description": "访问方向感应器"
},
"Proximity": {
"description": "访问距离感应器"
},
"Storage": {
"description": "管理应用本地数据"
},
"UI": {},
"Uploader": {
"description": "管理文件上传任务"
},
"Runtime": {
"description": "访问运行期环境"
},
"XMLHttpRequest": {
"description": "跨域网络访问"
},
"Zip": {
"description": "文件压缩与解压缩"
},
"Webview": {},
"NativeUI": {},
"Navigator": {},
"NativeObj": {},
"Device": {},
"Camera": {},"Barcode":{},"Push":{}
},
"plus": {
"statusbar": {
"immersed": true
},
"splashscreen": {
"autoclose": true,/*是否自动关闭程序启动界面,true表示应用加载应用入口页面后自动关闭;false则需调plus.navigator.closeSplashscreen()关闭*/
"waiting": false,
"delay": "3000"
},
"runmode": "liberate",/*应用的首次启动运行模式,可取liberate或normal,liberate模式在第一次启动时将解压应用资源(Android平台File API才可正常访问_www目录)*/
"signature": "Sk9JTiBVUyBtYWlsdG86aHIyMDEzQGRjbG91ZC5pbw==",/*可选,保留给应用签名,暂不使用*/
"distribute": {"plugins":{"push":{"igexin":{"appid":"MxiYgDCTnw9JYuAOgbwb68","appkey":"nwOtLH2q5tAVcJmiC7ZN82","appsecret":"RIzl91Snbs6xj2MXr8DdwA"}}},
"apple": {
"appid": "",/*iOS应用标识,苹果开发网站申请的appid,如io.dcloud.HelloH5*/
"mobileprovision": "",/*iOS应用打包配置文件*/
"password": "",/*iOS应用打包个人证书导入密码*/
"p12": "",/*iOS应用打包个人证书,打包配置文件关联的个人证书*/
"devices": "universal",/*iOS应用支持的设备类型,可取值iphone/ipad/universal*/
"frameworks": []
},
"google": {
"packagename": "",/*Android应用包名,如io.dcloud.HelloH5*/
"keystore": "",/*Android应用打包使用的密钥库文件*/
"password": "",/*Android应用打包使用密钥库中证书的密码*/
"aliasname": "",/*Android应用打包使用密钥库中证书的别名*/
"permissions": ["<uses-permission android:name=\"com.android.launcher.permission.INSTALL_SHORTCUT\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.INTERNET\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<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_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.SYSTEM_ALERT_WINDOW\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>","<uses-permission android:name=\"android.permission.RECEIVE_BOOT_COMPLETED\"/>","<uses-permission android:name=\"com.android.launcher.permission.UNINSTALL_SHORTCUT\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>"]
},
"orientation": [
"portrait-primary"
],/*应用支持的方向,portrait-primary:竖屏正方向;portrait-secondary:竖屏反方向;landscape-primary:横屏正方向;landscape-secondary:横屏反方向*/
"icons": {
"ios": {
"prerendered": true, /*应用图标是否已经高亮处理,在iOS6及以下设备上有效*/
/*应用图标,分辨率:512x512,用于自动生成各种尺寸程序图标*/
"iphone": {
"normal": "unpackage/res/icons/57x57.png",/*iPhone普通屏幕程序图标,分辨率:57x57*/
"retina": "unpackage/res/icons/114x114.png",/*iPhone高分屏程序图标,分辨率:114x114*/
/*iPhone iOS7高分屏程序图标,分辨率:120x120*/
"spotlight-normal": "unpackage/res/icons/29x29.png", /*iPhone Spotlight搜索程序图标,分辨率:29x29*/
"spotlight-retina": "unpackage/res/icons/58x58.png", /*iPhone高分屏Spotlight搜索程序图标,分辨率:58x58*/
/*iPhone iOS7高分屏Spotlight搜索程序图标,分辨率:80x80*/
"settings-normal": "unpackage/res/icons/29x29.png", /*iPhone设置页面程序图标,分辨率:29x29*/
"spotlight@3x": "unpackage/res/icons/120x120.png",
"notification@3x": "unpackage/res/icons/60x60.png",
"notification@2x": "unpackage/res/icons/40x40.png",
"app@3x": "unpackage/res/icons/180x180.png",
"app@2x": "unpackage/res/icons/120x120.png",
"settings@2x": "unpackage/res/icons/58x58.png",
"settings@3x": "unpackage/res/icons/87x87.png",
"spotlight@2x": "unpackage/res/icons/80x80.png"
},
"ipad": {
"normal": "unpackage/res/icons/72x72.png", /*iPad普通屏幕程序图标,分辨率:72x72*/
"retina": "unpackage/res/icons/144x144.png", /*iPad高分屏程序图标,分辨率:144x144*/
/*iPad iOS7程序图标,分辨率:76x76*/
/*iPad iOS7高分屏程序图标,分辨率:152x152*/
"spotlight-normal": "unpackage/res/icons/50x50.png", /*iPad Spotlight搜索程序图标,分辨率:50x50*/
"spotlight-retina": "unpackage/res/icons/100x100.png", /*iPad高分屏Spotlight搜索程序图标,分辨率:100x100*/
/*iPad iOS7 Spotlight搜索程序图标,分辨率:40x40*/
/*iPad iOS7高分屏Spotlight搜索程序图标,分辨率:80x80*/
/*iPad设置页面程序图标,分辨率:29x29*/
"proapp@2x": "unpackage/res/icons/167x167.png",
"notification": "unpackage/res/icons/20x20.png",
"notification@2x": "unpackage/res/icons/40x40.png",
"app": "unpackage/res/icons/76x76.png",
"app@2x": "unpackage/res/icons/152x152.png",
"settings": "unpackage/res/icons/29x29.png",
"spotlight": "unpackage/res/icons/40x40.png",
"settings@2x": "unpackage/res/icons/58x58.png",
"spotlight@2x": "unpackage/res/icons/80x80.png"
},
"appstore": "unpackage/res/icons/1024x1024.png"
},
"android": {
"mdpi": "unpackage/res/icons/48x48.png", /*普通屏程序图标,分辨率:48x48*/
"ldpi": "unpackage/res/icons/48x48.png", /*大屏程序图标,分辨率:48x48*/
"hdpi": "unpackage/res/icons/72x72.png", /*高分屏程序图标,分辨率:72x72*/
"xhdpi": "unpackage/res/icons/96x96.png",/*720P高分屏程序图标,分辨率:96x96*/
"xxhdpi": "unpackage/res/icons/144x144.png",
"xxxhdpi": "unpackage/res/icons/192x192.png"
}
},
"splashscreen": {
"ios": {
"iphone": {
"default": "",
"retina55": "images/ios/loading_1242x2208.png",
"retina47": "images/ios/loading_750x1334.png",
"retina40": "images/ios/loading_640x1136.png",
"retina35": "images/ios/loading_640x960.png",
"iphonex": "images/ios/loading_1125x2436.png"
},
"ipad": {
"portrait": "images/ios/loading_760x1004.png", /*iPad竖屏启动图片,分辨率:768x1004*/
"portrait-retina": "images/ios/loading_1536x2008.png",/*iPad高分屏竖屏图片,分辨率:1536x2008*/
"landscape": "", /*iPad横屏启动图片,分辨率:1024x748*/
"landscape-retina": "", /*iPad高分屏横屏启动图片,分辨率:2048x1496*/
"portrait7": "images/ios/loading_760x1024.png", /*iPad iOS7竖屏启动图片,分辨率:768x1024*/
"portrait-retina7": "images/ios/loading_1536x2048.png",/*iPad iOS7高分屏竖屏图片,分辨率:1536x2048*/
"landscape7": "", /*iPad iOS7横屏启动图片,分辨率:1024x768*/
"landscape-retina7": ""
}
},
"android": {
"mdpi": "", /*普通屏启动图片,分辨率:240x282*/
"ldpi": "",
"hdpi": "images/loading2_480.png",
"xhdpi": "images/loading2_720.png",
"xxhdpi": "images/loading2_1080.png"
}
}
},"ads":{"rp":false,"splash":false,"push":false},"adid":""
},
"dependencies": {
"pages": {
"setting.html": {
"href": "setting.html",
"resources": [
"js/mui.min.js",
"js/mui.view.js",
"libs/easymob-webim-sdk/jquery-1.11.1.js",
"libs/easymob-webim-sdk/strophe-custom-2.0.0.js",
"libs/easymob-webim-sdk/json2.js",
"libs/easymob-webim-sdk/easemob.im-1.0.5.js",
"js/feedback.js",
"js/feedback-page.js",
"js/mui.locker.js",
"js/app.js",
"css/mui.min.css",
"fonts/mui.ttf",
"css/feedback-page.css",
"images/iconfont-tianjia.png"
],
"refer": [
"login.html"
],
"priority": 1
},
"main.html": {
"href": "main.html",
"resources": [
"css/mui.min.css",
"fonts/mui.ttf",
"js/mui.min.js",
"js/app.js"
],
"refer": [
"setting.html"
],
"priority": 1
},
"unlock.html": {
"href": "unlock.html",
"resources": [
"css/mui.min.css",
"fonts/mui.ttf",
"js/mui.min.js",
"js/mui.locker.js",
"js/app.js"
],
"refer": [
"login.html",
"main.html"
],
"priority": 0
},
"forget_password.html": {
"href": "forget_password.html",
"resources": [
"css/mui.min.css",
"fonts/mui.ttf",
"css/style.css",
"js/mui.min.js",
"js/app.js"
],
"priority": 1
},
"reg.html": {
"href": "reg.html",
"resources": [
"css/mui.min.css",
"fonts/mui.ttf",
"css/style.css",
"js/mui.min.js",
"js/app.js"
],
"refer": [
"login.html"
],
"priority": 3
},
"login.html": {
"href": "login.html",
"resources": [
"css/mui.min.css",
"fonts/mui.ttf",
"css/style.css",
"js/mui.min.js",
"js/mui.enterfocus.js",
"js/app.js",
"images/qihoo.png",
"images/qq.png",
"images/sinaweibo.png",
"images/weixin.png",
"images/banner.jpg"
],
"refer": [
"unlock.html",
"forget_password.html",
"main.html",
"reg.html"
],
"priority": 0
},
"html/login.html": {
"resources": [
"js/app.js",
"images/banner.jpg",
"js/mui.min.js",
"css/mui.min.css",
"css/style.css",
"js/mui.enterfocus.js",
"js/jquery-1.7.1.min.js",
"html/main.html",
"fonts/mui.ttf",
"js/ycyw.js",
"images/res_success.png",
"html/login.html",
"js/common.js",
"css/login.css",
"images/body_bg.jpg",
"images/usename.png",
"images/password.png",
"images/abc.ico",
"images/no_error.png",
"images/jian.png"
],
"refer": [
"html/unlock.html",
"html/setting.html",
"html/tab-main.html",
"html/zhyd_device_insert.html",
"html/tab-history.html",
"html/zhyd_history_info.html",
"html/tab-alert.html",
"html/tab-realtime.html",
"html/zhyd_alert_info.html",
"html/tab-person.html",
"html/after-login.html"
],
"priority": 0
},
"html/main.html": {
"resources": [
"js/util.js",
"fonts/mui.ttf",
"js/mui.min.js",
"css/mui.min.css",
"js/jquery-1.7.1.min.js",
"html/login.html",
"js/app.js",
"js/ycyw.js",
"images/红色—icon@3x.png",
"images/ico_advice.png",
"images/ico_video.png",
"images/ico_infrared.png",
"images/ico_sonic.png",
"images/ico_uhf.png",
"images/ico_operation.png",
"images/status_red.png",
"images/status_yellow.png",
"css/mui.css",
"fonts/mui-icons-extra.ttf",
"css/ycyw.css",
"css/icons-extra.css",
"css/iconfont.css",
"js/drawCharts.js",
"js/echarts.simple.min.js",
"js/common.js",
"images/qq.png",
"images/no_error.png",
"js/echarts.js",
"images/status_green.png"
],
"refer": [
"html/setting.html",
"html/data_manager.html",
"html/user_info_change.html",
"html/substation_info.html",
"html/emp_map.html",
"html/data_expert.html",
"html/data_sonic.html",
"html/data_uhf.html",
"html/data_infrared.html",
"html/data_video.html",
"html/choose_equ.html",
"html/zhyd_alert_info.html",
"html/main3.html"
],
"priority": 0
},
"html/setting.html": {
"resources": [
"libs/easymob-webim-sdk/easemob.im-1.0.5.js",
"fonts/mui.ttf",
"libs/easymob-webim-sdk/json2.js",
"libs/easymob-webim-sdk/jquery-1.11.1.js",
"js/mui.locker.js",
"js/feedback.js",
"css/feedback-page.css",
"js/feedback-page.js",
"libs/easymob-webim-sdk/strophe-custom-2.0.0.js",
"js/mui.view.js",
"images/iconfont-tianjia.png",
"js/app.js",
"js/mui.min.js",
"css/mui.min.css"
],
"refer": [],
"priority": 0
},
"html/unlock.html": {
"resources": [
"js/mui.locker.js"
],
"refer": [],
"priority": 0
},
"html/data_manager.html": {
"resources": [
"js/mui.min.js",
"fonts/mui.ttf",
"css/mui.min.css",
"js/jquery-1.7.1.min.js",
"css/mui.picker.min.css",
"js/mui.picker.min.js",
"js/ycyw.js",
"js/common.js"
],
"refer": [
"html/user_info_change.html",
"html/choose_equ.html"
],
"priority": 0
},
"html/user_info_change.html": {
"resources": [
"js/mui.picker.min.js",
"js/mui.min.js",
"fonts/mui.ttf",
"css/mui.min.css",
"css/mui.picker.min.css",
"js/jquery-1.7.1.min.js",
"js/ycyw.js",
"js/common.js",
"images/timeline/dot.png",
"images/timeline/blank.png",
"images/line_red.png",
"images/line_green.png",
"images/line_offline.png",
"images/nav_bg.png"
],
"refer": [
"html/tab-person.html"
],
"priority": 0
},
"html/substation_info.html": {
"resources": [
"js/mui.picker.min.js",
"js/mui.min.js",
"fonts/mui.ttf",
"css/ycyw.css",
"css/mui.css",
"js/jquery-1.7.1.min.js",
"js/ycyw.js",
"js/common.js",
"css/iconfont.css",
"fonts/mui-icons-extra.ttf"
],
"refer": [
"html/equipment_info.html",
"html/login.html"
],
"priority": 0
},
"html/equipment_info.html": {
"resources": [
"js/mui.picker.min.js",
"js/mui.min.js",
"fonts/mui.ttf",
"css/ycyw.css",
"css/mui.css",
"js/jquery-1.7.1.min.js",
"js/ycyw.js",
"js/echarts.js",
"js/echarts-liquidfill.js",
"js/drawCharts.js",
"js/common.js",
"fonts/mui-icons-extra.ttf"
],
"refer": [],
"priority": 0
},
"html/data_expert.html": {
"resources": [
"js/mui.picker.min.js",
"js/mui.min.js",
"fonts/mui.ttf",
"css/mui.min.css",
"css/mui.picker.min.css",
"js/jquery-1.7.1.min.js",
"js/ycyw.js",
"js/common.js",
"css/mui.css"
],
"refer": [
"html/choose_equ.html"
],
"priority": 0
},
"html/emp_map.html": {
"resources": [
"js/ycyw.js",
"js/jquery-1.7.1.min.js",
"js/common.js",
"fonts/mui.ttf",
"css/ycyw.css",
"css/mui.css",
"css/icons-extra.css",
"js/mui.min.js",
"js/MarkerManager.js",
"css/iconfont.css",
"images/logo.png",
"images/position.png",
"html/emp_map.html",
"images/trail.png",
"images/iw31.png",
"images/iw32.png",
"images/star.png",
"images/half-star.png",
"images/circle.png",
"images/run.png",
"js/CurveLine.min.js",
"js/MarkerClusterer.min.js",
"images/person.png",
"js/TextIconOverlay.min.js"
],
"refer": [],
"priority": 0
},
"html/data_uhf.html": {
"resources": [
"js/common.js",
"js/mui.picker.min.js",
"css/mui.min.css",
"css/mui.picker.min.css",
"js/mui.min.js",
"fonts/mui.ttf",
"js/jquery-1.7.1.min.js",
"js/ycyw.js",
"css/mui.css",
"html/data_uhf.html",
"css/iconfont.css"
],
"refer": [
"html/emp_map.html",
"html/pullrefresh.html",
"html/choose_equ.html"
],
"priority": 0
},
"html/data_sonic.html": {
"resources": [
"js/mui.picker.min.js",
"css/mui.picker.min.css",
"js/common.js",
"js/mui.min.js",
"fonts/mui.ttf",
"css/mui.css",
"js/jquery-1.7.1.min.js",
"js/ycyw.js"
],
"refer": [
"html/choose_equ.html"
],
"priority": 0
},
"html/data_infrared.html": {
"resources": [
"js/common.js",
"js/mui.picker.min.js",
"js/mui.min.js",
"fonts/mui.ttf",
"css/mui.picker.min.css",
"css/mui.css",
"js/jquery-1.7.1.min.js",
"js/ycyw.js"
],
"refer": [
"html/choose_equ.html"
],
"priority": 0
},
"html/data_video.html": {
"resources": [
"fonts/mui.ttf",
"js/common.js",
"js/mui.picker.min.js",
"js/mui.min.js",
"css/mui.picker.min.css",
"css/mui.css",
"js/jquery-1.7.1.min.js",
"js/ycyw.js"
],
"refer": [
"html/choose_equ.html"
],
"priority": 0
},
"html/pullrefresh.html": {
"resources": [
"css/mui.min.css",
"js/mui.min.js",
"fonts/mui.ttf"
],
"refer": [],
"priority": 0
},
"html/choose_equ.html": {
"resources": [
"js/common.js",
"js/mui.picker.min.js",
"js/mui.min.js",
"fonts/mui.ttf",
"css/mui.css",
"js/jquery-1.7.1.min.js",
"js/ycyw.js",
"css/iconfont.css"
],
"refer": [
"html/login.html"
],
"priority": 0
},
"html/tab-main.html": {
"resources": [
"html/tab-realtime.html",
"fonts/mui.ttf",
"css/mui.min.css",
"images/timeline/dot.png",
"images/timeline/blank.png",
"images/line_red.png",
"images/line_green.png",
"images/line_offline.png",
"js/mui.min.js",
"js/ycyw.js",
"images/tab/alert_hover.png",
"images/tab/history_hover.png",
"images/tab/setting.png",
"images/tab/history.png",
"images/tab/alert.png",
"images/tab/realtime.png",
"images/tab/setting_hover.png",
"images/tab/realtime_hover.png",
"html/tab-history.html"
],
"refer": [
"html/tab-alert.html",
"html/tab-person.html",
"html/zhyd_device_insert.html",
"html/zhyd_project_insert.html",
"html/zhyd_maintance_insert.html"
],
"priority": 0
},
"html/tab-alert.html": {
"resources": [
"images/line_red.png",
"js/jquery-1.7.1.min.js",
"js/mui.min.js",
"js/common.js",
"js/ejs.min.js",
"js/ycyw.js",
"images/alert.png",
"css/mui.min.css",
"images/timeline/dot.png",
"images/timeline/blank.png",
"images/line_green.png",
"images/line_offline.png",
"fonts/mui.ttf",
"css/icons-extra.css",
"fonts/mui-icons-extra.ttf",
"css/ycyw.css",
"css/iconfont.css"
],
"refer": [
"html/zhyd_alert_info.html",
"html/login.html"
],
"priority": 0
},
"html/tab-person.html": {
"resources": [
"js/jquery-1.7.1.min.js",
"js/mui.min.js",
"js/common.js",
"js/ycyw.js",
"css/mui.min.css",
"images/timeline/dot.png",
"images/timeline/blank.png",
"images/line_red.png",
"images/line_green.png",
"images/line_offline.png",
"fonts/mui.ttf",
"css/icons-extra.css",
"fonts/mui-icons-extra.ttf",
"css/ycyw.css",
"css/iconfont.css"
],
"refer": [
"html/user_info_change.html",
"html/login.html",
"html/iphonex.html",
"html/barcode_scan.html",
"html/zhyd_device_info.html"
],
"priority": 0
},
"html/tab-history.html": {
"resources": [
"images/line_green.png",
"images/line_red.png",
"js/jquery-1.7.1.min.js",
"js/mui.min.js",
"js/common.js",
"js/ejs.min.js",
"js/ycyw.js",
"images/region_alert.png",
"images/region_normal.png",
"images/project_alert.png",
"images/project_normal.png",
"images/device_alert.png",
"images/device_offline.png",
"images/device_normal.png",
"css/mui.min.css",
"images/timeline/dot.png",
"images/timeline/blank.png",
"images/line_offline.png",
"fonts/mui.ttf",
"css/icons-extra.css",
"fonts/mui-icons-extra.ttf",
"css/ycyw.css",
"css/iconfont.css"
],
"refer": [
"html/zhyd_history_info.html",
"html/login.html",
"html/zhyd_device_insert.html",
"html/tab-history.html",
"html/zhyd_history_info1.html"
],
"priority": 0
},
"html/zhyd_history_info.html": {
"resources": [
"js/jquery-1.7.1.min.js",
"js/mui.min.js",
"js/mui.picker.min.js",
"js/ejs.min.js",
"js/common.js",
"js/ycyw.js",
"css/mui.min.css",
"images/timeline/dot.png",
"images/timeline/blank.png",
"images/line_red.png",
"images/line_green.png",
"images/line_offline.png",
"fonts/mui.ttf",
"css/icons-extra.css",
"fonts/mui-icons-extra.ttf",
"css/ycyw.css",
"css/iconfont.css",
"css/mui.picker.min.css",
"images/nav_bg.png"
],
"refer": [
"html/login.html"
],
"priority": 0
},
"html/tab-realtime.html": {
"resources": [
"images/line_green.png",
"images/line_red.png",
"js/jquery-1.7.1.min.js",
"js/mui.min.js",
"js/common.js",
"js/ejs.min.js",
"js/ycyw.js",
"images/region_alert.png",
"images/region_normal.png",
"images/project_alert.png",
"images/project_normal.png",
"images/device_alert.png",
"images/device_normal.png",
"images/temper_normal.png",
"images/data_normal.png",
"images/temper_alert.png",
"images/data_alert.png",
"css/mui.min.css",
"images/timeline/dot.png",
"images/timeline/blank.png",
"images/line_offline.png",
"fonts/mui.ttf",
"css/icons-extra.css",
"fonts/mui-icons-extra.ttf",
"css/ycyw.css",
"css/iconfont.css"
],
"refer": [
"html/zhyd_device_insert.html",
"html/login.html",
"html/tab-realtime.html",
"html/zhyd_device_item_alert.html"
],
"priority": 0
},
"html/zhyd_device_insert.html": {
"resources": [
"css/mui.min.css",
"images/timeline/dot.png",
"images/timeline/blank.png",
"images/line_red.png",
"images/line_green.png",
"images/line_offline.png",
"fonts/mui.ttf",
"css/icons-extra.css",
"fonts/mui-icons-extra.ttf",
"css/ycyw.css",
"css/iconfont.css",
"css/mui.picker.min.css",
"css/mui.poppicker.css",
"images/nav_bg.png",
"js/jquery-1.7.1.min.js",
"js/mui.min.js",
"js/mui.picker.min.js",
"js/mui.poppicker.js",
"js/ejs.min.js",
"js/common.js",
"js/ycyw.js"
],
"refer": [
"html/login.html",
"html/barcode_scan.html"
],
"priority": 0
},
"html/zhyd_alert_info.html": {
"href": "html/zhyd_alert_info.html",
"resources": [
"css/mui.css",
"fonts/mui.ttf",
"css/mui.picker.min.css",
"images/nav_bg.png",
"js/jquery-1.7.1.min.js",
"js/mui.min.js",
"js/mui.picker.min.js",
"js/common.js",
"js/ycyw.js"
],
"refer": [
"html/tab-alert.html"
],
"priority": 6
},
"html/zhyd_history_info1.html": {
"resources": [
"html/zhyd_history_info_list.html",
"html/zhyd_history_info_chart.html"
],
"refer": [],
"priority": 0
},
"html/zhyd_history_info_list.html": {
"resources": [
"libs/echarts-all.js"
],
"refer": [
"html/zhyd_history_info_list.html"
],
"priority": 0
},
"html/zhyd_history_info_chart.html": {
"resources": [],
"refer": [
"html/zhyd_history_info_chart_circleitem_checkbox.html"
],
"priority": 0
},
"html/zhyd_device_item_alert.html": {
"resources": [],
"refer": [
"html/zhyd_alert_info.html"
],
"priority": 0
}
},
"idle": {
"resources": [
"html/zhyd_history_echarts.html",
"images/timeline/arrow.png",
"images/cloud.svg",
"images/Logo2.png",
"html/forget_password.html",
"images/ios/loading_1536x2048.png",
"js/ejs_production.js",
"images/Logo1.png",
"html/testpage.html",
"images/home.png",
"images/ios/loading_1536x2008.png",
"images/loading2_720.png",
"images/error.png",
"images/ios/loading_640x1136.png",
"images/data_upload.png",
"README.md",
"images/loading2_480.png",
"js/mui.pullToRefresh.js",
"js/CurveLine.js",
"images/home.svg",
"images/ios/loading_750x1334.png",
"images/res_fail.png",
"js/mui.pullToRefresh.material.js",
"images/ios/loading_760x1024.png",
"libs/easymob-webim-sdk/quickstart.md",
"images/ios/loading_1242x2208.png",
"images/banner.png",
"images/icons8-europe_filled.png",
"js/echarts-liquidfill.min.js",
"images/video2.png",
"images/ios/loading_640x960.png",
"js/MarkerClusterer.js",
"images/Login_banner.png",
"images/appStore_logo.png",
"images/Logo3.png",
"images/ios/loading_760x1004.png",
"images/timeline/down.png",
"images/loading2_1080.png",
"images/online_test.png",
"images/error3.png",
"images/user-photo.png",
"images/res_success2.png"
]
}
},
"unpackage": [
"README.md",
"images/ios/loading_1242x2208.png",
"images/ios/loading_1536x2008.png",
"images/ios/loading_1536x2048.png",
"images/ios/loading_640x1136.png",
"images/ios/loading_640x960.png",
"images/ios/loading_750x1334.png",
"images/ios/loading_760x1004.png",
"images/ios/loading_760x1024.png"
],
"fullscreen": false
}
4 个回复
PJC (作者) - ddsdd
这个东西,真是让人莫名其妙,确定现在的mui是个稳定版本么?
htmlplus可以,把代码抄过来,不行了,或者说是少点啥???
PJC (作者) - ddsdd
function plusReady() {
console.info("==plusReady");
if(ws || !window.plus || !domready) {
return;
}
// 获取窗口对象
ws = plus.webview.currentWebview();
console.info("==ws==", ws);
wo = ws.opener();
console.info("==wo==", wo);
// 开始扫描
ws.addEventListener('show', function() {
console.info("==3==");
console.info("==3==", JSON.stringify(plus.barcode.Barcode));
---------// 执行到这一句自动闪退--------------------
scan = new plus.barcode.Barcode('bcid');
console.info("==4==");
scan.onmarked = onmarked;
console.info("==5==");
scan.start({
conserve: true,
filename: '_doc/barcode/'
});
console.info("==6==");
}, false);
// 显示页面并关闭等待框
ws.show('pop-in');
console.info("==1==", wo);
wo.evalJS('closeWaiting()');
console.info("==2==", wo);
}
PJC (作者) - ddsdd
直接展示的页面能打开barcode,并能正常scan
如果是plus.webview.create的就不能进行二维码扫描是什么情况?
妈的,你们到底她妈测过没有,操!
fer2005
在scan = new plus.barcode.Barcode('bcid');之前加上这两句试试:
var e = document.getElementById("bcid");
e.removeAttribute("disabled");