flx:优化
This commit is contained in:
parent
301e34f34c
commit
c242cce098
@ -1,38 +1,38 @@
|
|||||||
{
|
{
|
||||||
"version": "1",
|
"version" : "1",
|
||||||
"prompt": "template",
|
"prompt" : "template",
|
||||||
"title": "服务协议和隐私政策",
|
"title" : "服务协议和隐私政策",
|
||||||
"message": " 感谢您信任并使用智慧安全!<br/> 我们根据我们根据最新法律要求,更新了隐私政策,特地向您推送本提示。我们一直采取行业领先的安全防护措施来保护您的信息安全,我们会根据您使用服务的具体功能需要收集使用信息(可能涉及账户、交易、设备等相关信息)。我们不会向任何第三方提供您的信息,除非得到您的授权。若我们将信息用于您未授权用途或目的,我们会事先再次征求您的同意。<br/> 您可以阅读完整版<a href=\"http://gszhdz.crpower.com.cn:9809/image/6.16%E4%BD%B3%E4%BF%A1%E6%8D%B7%E6%99%BA%E6%85%A7%E7%89%A9%E8%81%94%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8%E7%94%A8%E6%88%B7%E5%8D%8F%E8%AE%AE.html\">用户服务协议</a>与<a href=\"http://gszhdz.crpower.com.cn:9809/image/6.16%E4%BD%B3%E4%BF%A1%E6%8D%B7%E6%99%BA%E6%85%A7%E7%89%A9%E8%81%94%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8%E9%9A%90%E7%A7%81%E6%94%BF%E7%AD%96.html\">隐私政策</a>",
|
"message" : " 感谢您信任并使用智慧安全!<br/> 我们根据我们根据最新法律要求,更新了隐私政策,特地向您推送本提示。我们一直采取行业领先的安全防护措施来保护您的信息安全,我们会根据您使用服务的具体功能需要收集使用信息(可能涉及账户、交易、设备等相关信息)。我们不会向任何第三方提供您的信息,除非得到您的授权。若我们将信息用于您未授权用途或目的,我们会事先再次征求您的同意。<br/> 您可以阅读完整版<a href=\"http://gszhdz.crpower.com.cn:9809/image/6.16%E4%BD%B3%E4%BF%A1%E6%8D%B7%E6%99%BA%E6%85%A7%E7%89%A9%E8%81%94%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8%E7%94%A8%E6%88%B7%E5%8D%8F%E8%AE%AE.html\">用户服务协议</a>与<a href=\"http://gszhdz.crpower.com.cn:9809/image/6.16%E4%BD%B3%E4%BF%A1%E6%8D%B7%E6%99%BA%E6%85%A7%E7%89%A9%E8%81%94%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8%E9%9A%90%E7%A7%81%E6%94%BF%E7%AD%96.html\">隐私政策</a>",
|
||||||
"buttonAccept": "同意",
|
"buttonAccept" : "同意",
|
||||||
"buttonRefuse": "暂不同意",
|
"buttonRefuse" : "暂不同意",
|
||||||
"hrefLoader": "system",
|
"hrefLoader" : "system",
|
||||||
"backToExit": "false",
|
"backToExit" : "false",
|
||||||
"second": {
|
"second" : {
|
||||||
"title": "确认提示",
|
"title" : "确认提示",
|
||||||
"message": " 进入应用前,您需先同意<a href=\"http://gszhdz.crpower.com.cn:9809/image/6.16%E4%BD%B3%E4%BF%A1%E6%8D%B7%E6%99%BA%E6%85%A7%E7%89%A9%E8%81%94%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8%E7%94%A8%E6%88%B7%E5%8D%8F%E8%AE%AE.html\">用户服务协议</a>与<a href=\"http://gszhdz.crpower.com.cn:9809/image/6.16%E4%BD%B3%E4%BF%A1%E6%8D%B7%E6%99%BA%E6%85%A7%E7%89%A9%E8%81%94%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8%E9%9A%90%E7%A7%81%E6%94%BF%E7%AD%96.html\">隐私政策</a>,否则将退出应用。",
|
"message" : " 进入应用前,您需先同意<a href=\"http://gszhdz.crpower.com.cn:9809/image/6.16%E4%BD%B3%E4%BF%A1%E6%8D%B7%E6%99%BA%E6%85%A7%E7%89%A9%E8%81%94%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8%E7%94%A8%E6%88%B7%E5%8D%8F%E8%AE%AE.html\">用户服务协议</a>与<a href=\"http://gszhdz.crpower.com.cn:9809/image/6.16%E4%BD%B3%E4%BF%A1%E6%8D%B7%E6%99%BA%E6%85%A7%E7%89%A9%E8%81%94%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8%E9%9A%90%E7%A7%81%E6%94%BF%E7%AD%96.html\">隐私政策</a>,否则将退出应用。",
|
||||||
"buttonAccept": "同意并继续",
|
"buttonAccept" : "同意并继续",
|
||||||
"buttonRefuse": "退出应用"
|
"buttonRefuse" : "退出应用"
|
||||||
},
|
},
|
||||||
"disagreeMode": {
|
"disagreeMode" : {
|
||||||
"support": false,
|
"support" : false,
|
||||||
"loadNativePlugins": false,
|
"loadNativePlugins" : false,
|
||||||
"visitorEntry": false,
|
"visitorEntry" : false,
|
||||||
"showAlways": false
|
"showAlways" : false
|
||||||
},
|
},
|
||||||
"styles": {
|
"styles" : {
|
||||||
"backgroundColor": "#ffffff",
|
"backgroundColor" : "#ffffff",
|
||||||
"borderRadius": "5px",
|
"borderRadius" : "5px",
|
||||||
"title": {
|
"title" : {
|
||||||
"color": "#000000"
|
"color" : "#000000"
|
||||||
},
|
},
|
||||||
"buttonAccept": {
|
"buttonAccept" : {
|
||||||
"color": "#42b983"
|
"color" : "#42b983"
|
||||||
},
|
},
|
||||||
"buttonRefuse": {
|
"buttonRefuse" : {
|
||||||
"color": "#f65352"
|
"color" : "#f65352"
|
||||||
},
|
},
|
||||||
"buttonVisitor": {
|
"buttonVisitor" : {
|
||||||
"color": "#f65352"
|
"color" : "#f65352"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
384
manifest.json
384
manifest.json
@ -1,58 +1,58 @@
|
|||||||
{
|
{
|
||||||
"name" : "智慧安全", //中建四局
|
"name": "智慧安全", //中建四局
|
||||||
"appid" : "__UNI__4AA4101",
|
"appid": "__UNI__4AA4101",
|
||||||
"description" : "",
|
"description": "",
|
||||||
"versionName" : "1.8.1",
|
"versionName": "1.8.1",
|
||||||
"versionCode" : 181,
|
"versionCode": 181,
|
||||||
"transformPx" : false,
|
"transformPx": false,
|
||||||
"sassImplementationName" : "node-sass",
|
"sassImplementationName": "node-sass",
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus": {
|
||||||
"plugins" : {
|
"plugins": {
|
||||||
"Webview" : {
|
"Webview": {
|
||||||
"allowFileAccess" : true,
|
"allowFileAccess": true,
|
||||||
"allowUniversalAccessFromFileURLs" : true,
|
"allowUniversalAccessFromFileURLs": true,
|
||||||
"allowFileAccessFromFileURLs" : true // 新增此配置
|
"allowFileAccessFromFileURLs": true // 新增此配置
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"usingComponents" : true,
|
"usingComponents": true,
|
||||||
"nvueCompiler" : "uni-app",
|
"nvueCompiler": "uni-app",
|
||||||
"compilerVersion" : 3,
|
"compilerVersion": 3,
|
||||||
"compression" : {
|
"compression": {
|
||||||
"enable" : true,
|
"enable": true,
|
||||||
"type" : "br" // 使用 Brotli 压缩
|
"type": "br" // 使用 Brotli 压缩
|
||||||
},
|
},
|
||||||
"compatible" : {
|
"compatible": {
|
||||||
"ignoreVersion" : true
|
"ignoreVersion": true
|
||||||
},
|
},
|
||||||
"splashscreen" : {
|
"splashscreen": {
|
||||||
"alwaysShowBeforeRender" : true,
|
"alwaysShowBeforeRender": true,
|
||||||
"waiting" : true,
|
"waiting": true,
|
||||||
"autoclose" : true,
|
"autoclose": true,
|
||||||
"delay" : 0
|
"delay": 0
|
||||||
},
|
},
|
||||||
"nvue" : {
|
"nvue": {
|
||||||
//可选,JSON对象,nvue页面相关配置
|
//可选,JSON对象,nvue页面相关配置
|
||||||
"flex-direction" : "row" //可选,字符串类型,nvue页面的flex-direction默认值,可取值row、row-reverse、column、column-reverse
|
"flex-direction": "row" //可选,字符串类型,nvue页面的flex-direction默认值,可取值row、row-reverse、column、column-reverse
|
||||||
},
|
},
|
||||||
/* 模块配置 */
|
/* 模块配置 */
|
||||||
"modules" : {
|
"modules": {
|
||||||
"Maps" : {},
|
"Maps": {},
|
||||||
"VideoPlayer" : {},
|
"VideoPlayer": {},
|
||||||
"Bluetooth" : {},
|
"Bluetooth": {},
|
||||||
"SQLite" : {},
|
"SQLite": {},
|
||||||
"Fingerprint" : {},
|
"Fingerprint": {},
|
||||||
"Speech" : {},
|
"Speech": {},
|
||||||
"Record" : {},
|
"Record": {},
|
||||||
"Camera" : {},
|
"Camera": {},
|
||||||
"Geolocation" : {},
|
"Geolocation": {},
|
||||||
"LivePusher" : {}
|
"LivePusher": {}
|
||||||
},
|
},
|
||||||
/* 应用发布信息 */
|
/* 应用发布信息 */
|
||||||
"distribute" : {
|
"distribute": {
|
||||||
/* android打包配置 */
|
/* android打包配置 */
|
||||||
"android" : {
|
"android": {
|
||||||
"permissions" : [
|
"permissions": [
|
||||||
"<uses-feature android:name=\"android.hardware.camera\"/>",
|
"<uses-feature android:name=\"android.hardware.camera\"/>",
|
||||||
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
|
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.ACCESS_CHECKIN_PROPERTIES\"/>",
|
"<uses-permission android:name=\"android.permission.ACCESS_CHECKIN_PROPERTIES\"/>",
|
||||||
@ -82,214 +82,214 @@
|
|||||||
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
|
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
||||||
],
|
],
|
||||||
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
|
"abiFilters": ["armeabi-v7a", "arm64-v8a", "x86"],
|
||||||
"targetSdkVersion" : 30,
|
"targetSdkVersion": 30,
|
||||||
"permissionExternalStorage" : {
|
"permissionExternalStorage": {
|
||||||
"request" : "none",
|
"request": "none",
|
||||||
"prompt" : "应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。"
|
"prompt": "应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。"
|
||||||
},
|
},
|
||||||
"permissionPhoneState" : {
|
"permissionPhoneState": {
|
||||||
"request" : "none"
|
"request": "none"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/* ios打包配置 */
|
/* ios打包配置 */
|
||||||
"ios" : {
|
"ios": {
|
||||||
"idfa" : false,
|
"idfa": false,
|
||||||
"dSYMs" : false,
|
"dSYMs": false,
|
||||||
"privacyDescription" : {
|
"privacyDescription": {
|
||||||
"NSPhotoLibraryUsageDescription" : "允许照片访问以修改您的头像;在您使用智慧安全进行办公时添加照片到您所提交的表单。",
|
"NSPhotoLibraryUsageDescription": "允许照片访问以修改您的头像;在您使用智慧安全进行办公时添加照片到您所提交的表单。",
|
||||||
"NSCameraUsageDescription" : "允许相机访问用于您在使用智慧安全工作期间拍摄照片、拍摄视频、扫描二维码。",
|
"NSCameraUsageDescription": "允许相机访问用于您在使用智慧安全工作期间拍摄照片、拍摄视频、扫描二维码。",
|
||||||
"NSLocationWhenInUseUsageDescription" : "您的位置信息将用于您在使用智慧安全期间显示当地天气;新增巡检点、一键报警功能中获取您当前位置信息。",
|
"NSLocationWhenInUseUsageDescription": "您的位置信息将用于您在使用智慧安全期间显示当地天气;新增巡检点、一键报警功能中获取您当前位置信息。",
|
||||||
"NSMicrophoneUsageDescription" : "允许麦克风访问用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能。",
|
"NSMicrophoneUsageDescription": "允许麦克风访问用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能。",
|
||||||
// 添加文件访问权限描述
|
// 添加文件访问权限描述
|
||||||
"NSDocumentsFolderUsageDescription" : "需要访问应用文档目录以加载资源文件",
|
"NSDocumentsFolderUsageDescription": "需要访问应用文档目录以加载资源文件",
|
||||||
"NSDownloadsFolderUsageDescription" : "需要访问下载目录",
|
"NSDownloadsFolderUsageDescription": "需要访问下载目录",
|
||||||
// 新增以下权限描述
|
// 新增以下权限描述
|
||||||
"NSFileProviderDomainUsageDescription" : "需要访问文件系统以加载解码器资源",
|
"NSFileProviderDomainUsageDescription": "需要访问文件系统以加载解码器资源",
|
||||||
"NSFileProviderPresentedItemUbiquityAttributesDescription" : "需要访问文件系统资源"
|
"NSFileProviderPresentedItemUbiquityAttributesDescription": "需要访问文件系统资源"
|
||||||
},
|
},
|
||||||
// 启用文件共享
|
// 启用文件共享
|
||||||
"UIFileSharingEnabled" : true,
|
"UIFileSharingEnabled": true,
|
||||||
"LSSupportsOpeningDocumentsInPlace" : true,
|
"LSSupportsOpeningDocumentsInPlace": true,
|
||||||
// 新增以下配置
|
// 新增以下配置
|
||||||
"WKPreferences" : {
|
"WKPreferences": {
|
||||||
"allowFileAccessFromFileURLs" : true,
|
"allowFileAccessFromFileURLs": true,
|
||||||
"allowUniversalAccessFromFileURLs" : true
|
"allowUniversalAccessFromFileURLs": true
|
||||||
},
|
},
|
||||||
// 新增沙盒扩展权限
|
// 新增沙盒扩展权限
|
||||||
"com.apple.security.app-sandbox" : true,
|
"com.apple.security.app-sandbox": true,
|
||||||
"com.apple.security.files.user-selected.read-write" : true,
|
"com.apple.security.files.user-selected.read-write": true,
|
||||||
"com.apple.security.files.downloads.read-write" : true
|
"com.apple.security.files.downloads.read-write": true
|
||||||
},
|
},
|
||||||
/* SDK配置 */
|
/* SDK配置 */
|
||||||
"sdkConfigs" : {
|
"sdkConfigs": {
|
||||||
"maps" : {
|
"maps": {
|
||||||
"amap" : {
|
"amap": {
|
||||||
"appkey_ios" : "9510eb01b56e6428646b256cc379f695",
|
"appkey_ios": "9510eb01b56e6428646b256cc379f695",
|
||||||
"appkey_android" : "3b060f3a0ce4bafebeba1621dcd99c31"
|
"appkey_android": "3b060f3a0ce4bafebeba1621dcd99c31"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ad" : {},
|
"ad": {},
|
||||||
"geolocation" : {
|
"geolocation": {
|
||||||
"amap" : {
|
"amap": {
|
||||||
"__platform__" : [ "ios", "android" ],
|
"__platform__": ["ios", "android"],
|
||||||
"appkey_ios" : "9510eb01b56e6428646b256cc379f695",
|
"appkey_ios": "9510eb01b56e6428646b256cc379f695",
|
||||||
"appkey_android" : "3b060f3a0ce4bafebeba1621dcd99c31"
|
"appkey_android": "3b060f3a0ce4bafebeba1621dcd99c31"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"icons" : {
|
"icons": {
|
||||||
"android" : {
|
"android": {
|
||||||
"hdpi" : "unpackage/res/icons/72x72.png",
|
"hdpi": "unpackage/res/icons/72x72.png",
|
||||||
"xhdpi" : "unpackage/res/icons/96x96.png",
|
"xhdpi": "unpackage/res/icons/96x96.png",
|
||||||
"xxhdpi" : "unpackage/res/icons/144x144.png",
|
"xxhdpi": "unpackage/res/icons/144x144.png",
|
||||||
"xxxhdpi" : "unpackage/res/icons/192x192.png"
|
"xxxhdpi": "unpackage/res/icons/192x192.png"
|
||||||
},
|
},
|
||||||
"ios" : {
|
"ios": {
|
||||||
"appstore" : "unpackage/res/icons/1024x1024.png",
|
"appstore": "unpackage/res/icons/1024x1024.png",
|
||||||
"ipad" : {
|
"ipad": {
|
||||||
"app" : "unpackage/res/icons/76x76.png",
|
"app": "unpackage/res/icons/76x76.png",
|
||||||
"app@2x" : "unpackage/res/icons/152x152.png",
|
"app@2x": "unpackage/res/icons/152x152.png",
|
||||||
"notification" : "unpackage/res/icons/20x20.png",
|
"notification": "unpackage/res/icons/20x20.png",
|
||||||
"notification@2x" : "unpackage/res/icons/40x40.png",
|
"notification@2x": "unpackage/res/icons/40x40.png",
|
||||||
"proapp@2x" : "unpackage/res/icons/167x167.png",
|
"proapp@2x": "unpackage/res/icons/167x167.png",
|
||||||
"settings" : "unpackage/res/icons/29x29.png",
|
"settings": "unpackage/res/icons/29x29.png",
|
||||||
"settings@2x" : "unpackage/res/icons/58x58.png",
|
"settings@2x": "unpackage/res/icons/58x58.png",
|
||||||
"spotlight" : "unpackage/res/icons/40x40.png",
|
"spotlight": "unpackage/res/icons/40x40.png",
|
||||||
"spotlight@2x" : "unpackage/res/icons/80x80.png"
|
"spotlight@2x": "unpackage/res/icons/80x80.png"
|
||||||
},
|
},
|
||||||
"iphone" : {
|
"iphone": {
|
||||||
"app@2x" : "unpackage/res/icons/120x120.png",
|
"app@2x": "unpackage/res/icons/120x120.png",
|
||||||
"app@3x" : "unpackage/res/icons/180x180.png",
|
"app@3x": "unpackage/res/icons/180x180.png",
|
||||||
"notification@2x" : "unpackage/res/icons/40x40.png",
|
"notification@2x": "unpackage/res/icons/40x40.png",
|
||||||
"notification@3x" : "unpackage/res/icons/60x60.png",
|
"notification@3x": "unpackage/res/icons/60x60.png",
|
||||||
"settings@2x" : "unpackage/res/icons/58x58.png",
|
"settings@2x": "unpackage/res/icons/58x58.png",
|
||||||
"settings@3x" : "unpackage/res/icons/87x87.png",
|
"settings@3x": "unpackage/res/icons/87x87.png",
|
||||||
"spotlight@2x" : "unpackage/res/icons/80x80.png",
|
"spotlight@2x": "unpackage/res/icons/80x80.png",
|
||||||
"spotlight@3x" : "unpackage/res/icons/120x120.png"
|
"spotlight@3x": "unpackage/res/icons/120x120.png"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"splashscreen" : {
|
"splashscreen": {
|
||||||
"android" : {
|
"android": {
|
||||||
"hdpi" : "C:/Users/86173/Desktop/6d9e3eaea01d7138ad9cffaf4739cf0.png",
|
"hdpi": "C:/Users/86173/Desktop/6d9e3eaea01d7138ad9cffaf4739cf0.png",
|
||||||
"xhdpi" : "C:/Users/86173/Desktop/6d9e3eaea01d7138ad9cffaf4739cf0.png",
|
"xhdpi": "C:/Users/86173/Desktop/6d9e3eaea01d7138ad9cffaf4739cf0.png",
|
||||||
"xxhdpi" : "C:/Users/86173/Desktop/6d9e3eaea01d7138ad9cffaf4739cf0.png"
|
"xxhdpi": "C:/Users/86173/Desktop/6d9e3eaea01d7138ad9cffaf4739cf0.png"
|
||||||
},
|
},
|
||||||
"iosStyle" : "common",
|
"iosStyle": "common",
|
||||||
"ios" : {
|
"ios": {
|
||||||
"storyboard" : "D:/work/JXJ2/unpackage/CustomStoryboard.zip",
|
"storyboard": "D:/work/JXJ2/unpackage/CustomStoryboard.zip",
|
||||||
"iphone" : {
|
"iphone": {
|
||||||
"portrait-896h@3x" : "C:/Users/86173/Desktop/6d9e3eaea01d7138ad9cffaf4739cf0.png"
|
"portrait-896h@3x": "C:/Users/86173/Desktop/6d9e3eaea01d7138ad9cffaf4739cf0.png"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"useOriginalMsgbox" : true,
|
"useOriginalMsgbox": true,
|
||||||
"androidStyle" : "common"
|
"androidStyle": "common"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nativePlugins" : {
|
"nativePlugins": {
|
||||||
"DCTestUniPlugin" : {
|
"DCTestUniPlugin": {
|
||||||
"__plugin_info__" : {
|
"__plugin_info__": {
|
||||||
"name" : "DCTestUniPlugin",
|
"name": "DCTestUniPlugin",
|
||||||
"description" : "uni海康对讲插件",
|
"description": "uni海康对讲插件",
|
||||||
"platforms" : "iOS",
|
"platforms": "iOS",
|
||||||
"url" : "",
|
"url": "",
|
||||||
"android_package_name" : "",
|
"android_package_name": "",
|
||||||
"ios_bundle_id" : "",
|
"ios_bundle_id": "",
|
||||||
"isCloud" : false,
|
"isCloud": false,
|
||||||
"bought" : -1,
|
"bought": -1,
|
||||||
"pid" : "",
|
"pid": "",
|
||||||
"parameters" : {}
|
"parameters": {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/* 快应用特有相关 */
|
/* 快应用特有相关 */
|
||||||
"quickapp" : {},
|
"quickapp": {},
|
||||||
/* 小程序特有相关 */
|
/* 小程序特有相关 */
|
||||||
"mp-weixin" : {
|
"mp-weixin": {
|
||||||
"appid" : "wx130c0959e6234df0",
|
"appid": "wx130c0959e6234df0",
|
||||||
"setting" : {
|
"setting": {
|
||||||
"urlCheck" : false,
|
"urlCheck": false,
|
||||||
"es6" : true,
|
"es6": true,
|
||||||
"postcss" : true,
|
"postcss": true,
|
||||||
"minified" : true
|
"minified": true
|
||||||
},
|
},
|
||||||
"usingComponents" : true,
|
"usingComponents": true,
|
||||||
"permission" : {
|
"permission": {
|
||||||
"scope.record" : {
|
"scope.record": {
|
||||||
"desc" : "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
|
"desc": "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"requiredPrivateInfos" : [ "getRecorderManager" ]
|
"requiredPrivateInfos": ["getRecorderManager"]
|
||||||
},
|
},
|
||||||
"mp-alipay" : {
|
"mp-alipay": {
|
||||||
"usingComponents" : true,
|
"usingComponents": true,
|
||||||
"permission" : {
|
"permission": {
|
||||||
"scope.record" : {
|
"scope.record": {
|
||||||
"desc" : "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
|
"desc": "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"mp-baidu" : {
|
"mp-baidu": {
|
||||||
"usingComponents" : true,
|
"usingComponents": true,
|
||||||
"permission" : {
|
"permission": {
|
||||||
"scope.record" : {
|
"scope.record": {
|
||||||
"desc" : "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
|
"desc": "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"mp-toutiao" : {
|
"mp-toutiao": {
|
||||||
"usingComponents" : true,
|
"usingComponents": true,
|
||||||
"permission" : {
|
"permission": {
|
||||||
"scope.record" : {
|
"scope.record": {
|
||||||
"desc" : "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
|
"desc": "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"uniStatistics" : {
|
"uniStatistics": {
|
||||||
"enable" : false
|
"enable": false
|
||||||
},
|
},
|
||||||
"h5" : {
|
"h5": {
|
||||||
"permissions" : {
|
"permissions": {
|
||||||
"scope.record" : {
|
"scope.record": {
|
||||||
"desc" : "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
|
"desc": "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"devServer" : {
|
"devServer": {
|
||||||
"port" : 8088,
|
"port": 8088,
|
||||||
"disableHostCheck" : true,
|
"disableHostCheck": true,
|
||||||
"proxy" : {
|
"proxy": {
|
||||||
"/" : {
|
"/": {
|
||||||
"target" : "http://192.168.0.129",
|
"target": "http://192.168.0.129",
|
||||||
"changeOrigin" : true,
|
"changeOrigin": true,
|
||||||
"secure" : false,
|
"secure": false,
|
||||||
"pathRewrite" : {
|
"pathRewrite": {
|
||||||
"^/" : ""
|
"^/": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sdkConfigs" : {
|
"sdkConfigs": {
|
||||||
"maps" : {
|
"maps": {
|
||||||
"amap" : {
|
"amap": {
|
||||||
"key" : "",
|
"key": "",
|
||||||
"securityJsCode" : "",
|
"securityJsCode": "",
|
||||||
"serviceHost" : ""
|
"serviceHost": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"router" : {
|
"router": {
|
||||||
"mode" : "hash",
|
"mode": "hash",
|
||||||
"base" : "/app/"
|
"base": "/app/"
|
||||||
},
|
},
|
||||||
"optimization" : {
|
"optimization": {
|
||||||
"treeShaking" : {
|
"treeShaking": {
|
||||||
"enable" : false
|
"enable": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"title" : "智慧工地云",
|
"title": "智慧工地云",
|
||||||
"template" : ""
|
"template": ""
|
||||||
},
|
},
|
||||||
"vueVersion" : "2"
|
"vueVersion": "2"
|
||||||
}
|
}
|
||||||
@ -158,7 +158,6 @@
|
|||||||
import playbackIcon from '@/static/videoControlIcon/playbackIcon.png'
|
import playbackIcon from '@/static/videoControlIcon/playbackIcon.png'
|
||||||
import playbackActiveIcon from '@/static/videoControlIcon/playbackIcon-active.png';
|
import playbackActiveIcon from '@/static/videoControlIcon/playbackIcon-active.png';
|
||||||
import permission from "@/common/permission";
|
import permission from "@/common/permission";
|
||||||
const testModule = uni.requireNativePlugin("DCTestUniPlugin-TestModule")
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
headers,
|
headers,
|
||||||
@ -222,6 +221,7 @@
|
|||||||
H5Player: null,
|
H5Player: null,
|
||||||
seconds: 0,
|
seconds: 0,
|
||||||
secondsTime: null,
|
secondsTime: null,
|
||||||
|
testModule: null,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
@ -229,6 +229,7 @@
|
|||||||
this.H5Player = require('@/static/monitor/h5player.min.js');
|
this.H5Player = require('@/static/monitor/h5player.min.js');
|
||||||
// console.log(888888, this.H5Player)
|
// console.log(888888, this.H5Player)
|
||||||
// #endif
|
// #endif
|
||||||
|
this.testModule = uni.requireNativePlugin("DCTestUniPlugin-TestModule");
|
||||||
|
|
||||||
//videoType 1萤石云,2乐橙,3ISC,4大华,5宇视,6国标
|
//videoType 1萤石云,2乐橙,3ISC,4大华,5宇视,6国标
|
||||||
// this.url = options.url
|
// this.url = options.url
|
||||||
@ -392,7 +393,7 @@
|
|||||||
},
|
},
|
||||||
method: "POST",
|
method: "POST",
|
||||||
success(res) {
|
success(res) {
|
||||||
console.log("我进来了", testModule)
|
console.log("我进来了", that.testModule)
|
||||||
const res2 = JSON.parse(res.result);
|
const res2 = JSON.parse(res.result);
|
||||||
if (!res2.data) {
|
if (!res2.data) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
@ -402,7 +403,7 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
const url = res2.data.url;
|
const url = res2.data.url;
|
||||||
testModule.startTalk({
|
that.testModule.startTalk({
|
||||||
talkUrl: url
|
talkUrl: url
|
||||||
},
|
},
|
||||||
(res) => {
|
(res) => {
|
||||||
@ -493,7 +494,7 @@
|
|||||||
const that = this;
|
const that = this;
|
||||||
const systemInfo = uni.getSystemInfoSync();
|
const systemInfo = uni.getSystemInfoSync();
|
||||||
if (systemInfo.platform === 'ios') {
|
if (systemInfo.platform === 'ios') {
|
||||||
testModule.stopTalk();
|
this.testModule.stopTalk();
|
||||||
clearInterval(this.secondsTime);
|
clearInterval(this.secondsTime);
|
||||||
this.voiceShow = false;
|
this.voiceShow = false;
|
||||||
return
|
return
|
||||||
|
|||||||
@ -63,7 +63,7 @@
|
|||||||
url: "xmgl/videoGroup/tree/list",
|
url: "xmgl/videoGroup/tree/list",
|
||||||
data: requestData,
|
data: requestData,
|
||||||
success(res) {
|
success(res) {
|
||||||
console.log('视频分组列表', res)
|
// console.log('视频分组列表', res)
|
||||||
that.treeData = res.result;
|
that.treeData = res.result;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user