11111111111
This commit is contained in:
parent
919366efbf
commit
0fdd5dd230
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"version" : "1.0",
|
||||
"configurations" : [
|
||||
{
|
||||
"playground" : "custom",
|
||||
"type" : "uni-app:app-android"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -96,7 +96,22 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"nativePlugins" : {}
|
||||
"nativePlugins" : {
|
||||
"MonitorModule" : {
|
||||
"__plugin_info__" : {
|
||||
"name" : "MonitorModule",
|
||||
"description" : "bugly升级",
|
||||
"platforms" : "Android",
|
||||
"url" : "",
|
||||
"android_package_name" : "",
|
||||
"ios_bundle_id" : "",
|
||||
"isCloud" : false,
|
||||
"bought" : -1,
|
||||
"pid" : "",
|
||||
"parameters" : {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
/* 快应用特有相关 */
|
||||
"quickapp" : {},
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name":"TestModule",
|
||||
"id":"TestModule",
|
||||
"name":"MonitorModule",
|
||||
"id":"MonitorModule",
|
||||
"version":"2.0.1",
|
||||
"description":"bugly升级",
|
||||
"_dp_type":"nativeplugin",
|
||||
|
|
@ -8,19 +8,19 @@
|
|||
"android":{
|
||||
"plugins":[{
|
||||
"type":"module",
|
||||
"name":"TestModule",
|
||||
"class": "com.juai.plugin_module.TestModule"
|
||||
"name":"MonitorModule",
|
||||
"class": "com.cn.plugin_module.MonitorModule"
|
||||
},
|
||||
{
|
||||
"type":"component",
|
||||
"name":"TestModule-tp",
|
||||
"class": "com.juai.plugin_module.TpLinkClouldView"
|
||||
"type": "component",
|
||||
"name": "myText",
|
||||
"class": "com.cn.plugin_module.TestText"
|
||||
},
|
||||
{
|
||||
"type":"component",
|
||||
"name":"myText",
|
||||
"class": "com.juai.plugin_module.TestText"
|
||||
}],
|
||||
"type": "component",
|
||||
"name": "MonitorView",
|
||||
"class": "com.cn.plugin_module.MonitorView"
|
||||
}],
|
||||
"integrateType": "aar",
|
||||
"dependencies": [
|
||||
"androidx.constraintlayout:constraintlayout:2.1.4",
|
||||
20
pages.json
20
pages.json
|
|
@ -11,13 +11,21 @@
|
|||
|
||||
},
|
||||
// 测试
|
||||
// {
|
||||
// "path": "pages/ceshi",
|
||||
// "style": {
|
||||
// "navigationStyle": "custom"
|
||||
// }
|
||||
{
|
||||
"path": "pages/denglu",
|
||||
"style": {
|
||||
// "navigationStyle": "custom"
|
||||
}
|
||||
|
||||
// },
|
||||
},
|
||||
// 测试
|
||||
{
|
||||
"path": "pages/ceshianzhuo",
|
||||
"style": {
|
||||
// "navigationStyle": "custom"
|
||||
}
|
||||
|
||||
},
|
||||
{
|
||||
"path": "pages/index/index",
|
||||
"style": {
|
||||
|
|
|
|||
|
|
@ -933,7 +933,7 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 450rpx;
|
||||
height: 800rpx;
|
||||
/* height: 800rpx; */
|
||||
background-color: #fff;
|
||||
border: 2rpx solid #fff;
|
||||
border-radius: 30rpx;
|
||||
|
|
|
|||
|
|
@ -286,7 +286,7 @@
|
|||
<image class="title-time-button" v-show="item.cycleType ==='即时护理'"
|
||||
src="/static/index/newruler/jiao.png" />
|
||||
<image class="right-box-img" src="/static/index/tu.png" />
|
||||
<view class="right-box-font"
|
||||
<view class="right-box-font" style="font-size: 20rpx;margin-top: 2rpx;"
|
||||
:style="thirdmenuIndex==index?{color:`rgb(54, 159, 239)`}:{}">
|
||||
{{item.title}}
|
||||
</view>
|
||||
|
|
@ -410,7 +410,7 @@
|
|||
</view>
|
||||
<!-- 替换表格的的弹出层 -->
|
||||
<view v-show="sayisopen" class="popup-say" @click="sayisopen=false">
|
||||
<view class="popup-say-content" style="padding-top: 30rpx;" :style="{ opacity: sayisopacity ? 1 : 0 }"
|
||||
<view class="popup-say-content" style="padding: 30rpx 0;" :style="{ opacity: sayisopacity ? 1 : 0 }"
|
||||
@click.stop>
|
||||
<view style="margin-top: 20rpx;margin-bottom: 20rpx;;margin-left: 30rpx;font-size: 32rpx;">
|
||||
<view>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,125 @@
|
|||
<template>
|
||||
<div class="center-column">
|
||||
<!-- 视频播放组件 -->
|
||||
<MonitorView ref="monitor" init="5" style="width:300rpx;height:200rpx;margin-top: 20rpx;"
|
||||
@onTel="handleTelEvent" />
|
||||
|
||||
<!-- 云台控制组件 -->
|
||||
<!-- <MonitorControlView ref="control" init="5" style="width:300rpx;height:300rpx;margin-top: 20rpx;" /> -->
|
||||
|
||||
<!-- 功能按钮 -->
|
||||
<div class="button-group">
|
||||
<button @click="switchDisplay(0)">原图</button>
|
||||
<button @click="switchDisplay(1)">四分屏</button>
|
||||
<button @click="switchDisplay(2)">180°全景</button>
|
||||
<button @click="switchDisplay(3)">360°全景</button>
|
||||
<button @click="switchDisplay(4)">环状全景</button>
|
||||
|
||||
<button @click="startAlarm">开启手动报警</button>
|
||||
<button @click="stopAlarm">停止手动报警</button>
|
||||
|
||||
<button @click="flipImage(0)">左右翻转</button>
|
||||
<button @click="flipImage(1)">上下翻转</button>
|
||||
<button @click="flipImage(2)">中心翻转</button>
|
||||
<button @click="flipImage(3)">顺时针90°</button>
|
||||
<button @click="flipImage(4)">逆时针90°</button>
|
||||
<button @click="flipImage(5)">逆时针180°</button>
|
||||
<button @click="flipImage(6)">不翻转</button>
|
||||
|
||||
<button @click="resumeOrPause">暂停/继续</button>
|
||||
<button @click="changeQuality">切换清晰度</button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
phoneNumber: "1234567890",
|
||||
isAlarming: false,
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
// 全局事件监听
|
||||
const globalEvent = uni.requireNativePlugin("globalEvent");
|
||||
globalEvent.addEventListener("myEvent", (e) => {
|
||||
console.log("myEvent", e);
|
||||
uni.showToast({
|
||||
title: "myEvent: " + JSON.stringify(e),
|
||||
duration: 2000,
|
||||
});
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
handleTelEvent(event) {
|
||||
console.log("Tel event detail:", event.detail);
|
||||
|
||||
},
|
||||
|
||||
// 切换播放模式
|
||||
switchDisplay(mode) {
|
||||
// console.log("Tel event detail:", event.detail);
|
||||
this.$refs.monitor.switchDisplayModeFragment(mode);
|
||||
},
|
||||
|
||||
// 手动报警
|
||||
startAlarm() {
|
||||
this.isAlarming = true;
|
||||
this.$refs.monitor.startOrStopManualAlarm(this.isAlarming, (res) => {
|
||||
console.log("startAlarm callback:", res);
|
||||
});
|
||||
},
|
||||
stopAlarm() {
|
||||
this.isAlarming = false;
|
||||
this.$refs.monitor.startOrStopManualAlarm(this.isAlarming, (res) => {
|
||||
console.log("stopAlarm callback:", res);
|
||||
});
|
||||
},
|
||||
|
||||
// 翻转图像
|
||||
flipImage(type) {
|
||||
this.$refs.monitor.changeImageSwitch(type, (res) => {
|
||||
console.log("flipImage callback:", res);
|
||||
});
|
||||
},
|
||||
|
||||
// 暂停或继续
|
||||
resumeOrPause() {
|
||||
this.$refs.monitor.resumeOrPause();
|
||||
},
|
||||
|
||||
// 切换清晰度
|
||||
changeQuality() {
|
||||
this.$refs.monitor.changeQuality();
|
||||
},
|
||||
|
||||
// 测试按钮
|
||||
test() {
|
||||
this.$refs.monitor.test();
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.center-column {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
/* height: 100vh; */
|
||||
}
|
||||
|
||||
.button-group {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
|
||||
.button-group button {
|
||||
margin: 5rpx;
|
||||
padding: 10rpx 20rpx;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -0,0 +1,113 @@
|
|||
<template>
|
||||
<view class="content">
|
||||
<button class="typebutton" type="primary" @click="init">初始化sdk</button>
|
||||
<button class="typebutton" type="primary" @click="login">登陆</button>
|
||||
<button class="typebutton" type="primary" @click="logout">退出登陆</button>
|
||||
<button class="typebutton" type="primary" @click="jumptonve">跳到nvue</button>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
|
||||
data() {
|
||||
return {
|
||||
title: 'Hello'
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
var globalEvent = uni.requireNativePlugin('globalEvent');
|
||||
globalEvent.addEventListener('myEvent', function(e) {
|
||||
console.log('myEvent' + JSON.stringify(e));
|
||||
uni.showToast({
|
||||
title: 'myEvent' + JSON.stringify(e),
|
||||
duration: 2000
|
||||
});
|
||||
});
|
||||
|
||||
},
|
||||
methods: {
|
||||
testAsyncFunc() {
|
||||
// 获取 module
|
||||
var testModule = uni.requireNativePlugin("MonitorModule")
|
||||
// String deviceId =options.getString("deviceId");
|
||||
// String deviceName =options.getString("deviceName");
|
||||
var json = {
|
||||
deviceId: '4',
|
||||
deviceName: 'sdfsfsdf'
|
||||
}
|
||||
// 调用异步方法
|
||||
testModule.gotoNativePage(json)
|
||||
},
|
||||
jumptonve() {
|
||||
uni.navigateTo({
|
||||
url: '/pages/ceshianzhuo'
|
||||
})
|
||||
},
|
||||
init(event) {
|
||||
var monitorModule = uni.requireNativePlugin("MonitorModule")
|
||||
monitorModule.initSMBCloudSDK()
|
||||
},
|
||||
login(event) {
|
||||
var monitorModule = uni.requireNativePlugin("MonitorModule")
|
||||
var loginfo = {
|
||||
userName: "admin",
|
||||
password: "Bl20230518",
|
||||
serverAddress: "121.36.88.64",
|
||||
port: 8888,
|
||||
}
|
||||
monitorModule.cloudLoginIn(loginfo, (r) => {
|
||||
console.log("loginResult", r.code)
|
||||
uni.showToast({
|
||||
title: '操作成功',
|
||||
duration: 2000
|
||||
});
|
||||
})
|
||||
},
|
||||
logout(event) {
|
||||
var monitorModule = uni.requireNativePlugin("MonitorModule")
|
||||
monitorModule.cloudLoginOut((r) => {
|
||||
console.log("loginResult", r.code)
|
||||
})
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.logo {
|
||||
height: 200rpx;
|
||||
width: 200rpx;
|
||||
margin-top: 200rpx;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-bottom: 50rpx;
|
||||
}
|
||||
|
||||
.text-area {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 36rpx;
|
||||
color: #8f8f94;
|
||||
}
|
||||
.typebutton{
|
||||
width: 300rpx;
|
||||
height: 150rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-top: 30rpx;
|
||||
color: #fff;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -277,10 +277,11 @@
|
|||
position: relative;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
background: url("/static/index/lightbgcnew.png") center/cover, rgba(255, 255, 255, 0.6);
|
||||
background-blend-mode: screen;
|
||||
background-size: cover;
|
||||
background-position: center center;
|
||||
// background: url("/static/index/lightbgcnew.png") center/cover, rgba(255, 255, 255, 0.6);
|
||||
// background-blend-mode: screen;
|
||||
// background-size: cover;
|
||||
// background-position: center center;
|
||||
background-color: #eff0f4;
|
||||
overflow: hidden;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
|
|
|||
|
|
@ -103,9 +103,8 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<image style="width: 100%;height: 100%;position: absolute;top: 0;left: 0;"
|
||||
src="/static/index/watch/bgc.png" />
|
||||
<image style="width: 100rpx;height: 100rpx;" src="/static/index/watch/play.png" />
|
||||
<!-- <image style="width: 100%;height: 100%;" src="/static/index/watch/bgc.png" /> -->
|
||||
<image style="width: 100rpx;height: 100rpx;position: absolute;top: 50%;left: 50%;transform: translate(-50%,-50%);" src="/static/index/watch/play.png" @click="jumpToCeshi" />
|
||||
</view>
|
||||
<view style="display: flex;margin-top: 20rpx;">
|
||||
<view class="card-father">
|
||||
|
|
@ -295,6 +294,13 @@
|
|||
const topnum = ref(0); // scroll-top (px)
|
||||
const itemHeight = 100; // 每项高度 (px)
|
||||
const containerHeight = 400; // scroll-view 高度 (px)
|
||||
|
||||
|
||||
const jumpToCeshi = () => {
|
||||
uni.navigateTo({
|
||||
url:'/pages/denglu'
|
||||
})
|
||||
}
|
||||
|
||||
const opendrawer = () => {
|
||||
gobackdrawer.value.openDrawer();
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -0,0 +1,12 @@
|
|||
// vue.config.js(放到项目根)
|
||||
module.exports = {
|
||||
chainWebpack: config => {
|
||||
const rule = config.module.rule('vue')
|
||||
rule.use('vue-loader').tap(options => {
|
||||
options = options || {}
|
||||
options.compilerOptions = options.compilerOptions || {}
|
||||
options.compilerOptions.isCustomElement = tag => ['MonitorView', 'MonitorControlView'].includes(tag)
|
||||
return options
|
||||
})
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__FB2D473","name":"护理单元","version":{"name":"1.5.3","code":153},"description":"护理单元","developer":{"name":"","email":"","url":""},"permissions":{"Share":{},"Camera":{},"VideoPlayer":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"autoclose":true,"delay":0,"target":"id:1","waiting":true},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"icon-android-hdpi.png","xhdpi":"icon-android-xhdpi.png","xxhdpi":"icon-android-xxhdpi.png","xxxhdpi":"icon-android-xxxhdpi.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"},"prerendered":"false"}},"google":{"abiFilters":["armeabi-v7a","arm64-v8a","x86"],"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.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.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<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.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"packagename":"uni.UNIFB2D473","aliasname":"__uni__fb2d473","password":"Z4Urhm9jqwqMGoeQNpGzJA==","storepwd":"Z4Urhm9jqwqMGoeQNpGzJA==","keypwd":"Z4Urhm9jqwqMGoeQNpGzJA==","keystore":"google-keystore.keystore","custompermissions":true},"apple":{"dSYMs":false,"plistcmds":["Add :UIFileSharingEnabled bool true"],"devices":"universal"},"plugins":{"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}},"share":{"weixin":{"UniversalLinks":"","appid":"wxda748470da82886e"}}},"debug":true,"syncDebug":true,"orientation":"portrait-primary"},"nativePlugins":{"TestModule":{}},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"uni-app":{"control":"uni-v3","vueVersion":"3","compilerVersion":"4.75","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal","webView":{"minUserAgentVersion":"49.0"}},"adid":"122926210510"},"app-harmony":{"useragent":{"value":"uni-app","concatenate":true},"uniStatistics":{"enable":false}},"screenOrientation":["landscape-primary","landscape-secondary"],"launch_path":"__uniappview.html"}
|
||||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__FB2D473","name":"护理单元","version":{"name":"1.5.4","code":154},"description":"护理单元","developer":{"name":"","email":"","url":""},"permissions":{"Share":{},"Camera":{},"VideoPlayer":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"autoclose":true,"delay":0,"target":"id:1","waiting":true},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"icon-android-hdpi.png","xhdpi":"icon-android-xhdpi.png","xxhdpi":"icon-android-xxhdpi.png","xxxhdpi":"icon-android-xxxhdpi.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"},"prerendered":"false"}},"google":{"abiFilters":["armeabi-v7a","arm64-v8a","x86"],"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.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.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<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.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"packagename":"uni.UNIFB2D473","aliasname":"__uni__fb2d473","password":"Z4Urhm9jqwqMGoeQNpGzJA==","storepwd":"Z4Urhm9jqwqMGoeQNpGzJA==","keypwd":"Z4Urhm9jqwqMGoeQNpGzJA==","keystore":"google-keystore.keystore","custompermissions":true},"apple":{"dSYMs":false,"plistcmds":["Add :UIFileSharingEnabled bool true"],"devices":"universal"},"plugins":{"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}},"share":{"weixin":{"UniversalLinks":"","appid":"wxda748470da82886e"}}},"debug":true,"syncDebug":true,"orientation":"portrait-primary"},"nativePlugins":{"MonitorModule":{}},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"uni-app":{"control":"uni-v3","vueVersion":"3","compilerVersion":"4.76","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal","webView":{"minUserAgentVersion":"49.0"}},"adid":"122926210510"},"app-harmony":{"useragent":{"value":"uni-app","concatenate":true},"uniStatistics":{"enable":false}},"screenOrientation":["landscape-primary","landscape-secondary"],"launch_path":"__uniappview.html"}
|
||||
Binary file not shown.
BIN
unpackage/cache/wgt/__UNI__FB2D473/nativeplugins/MonitorModule/android/.DS_Store
vendored
Normal file
BIN
unpackage/cache/wgt/__UNI__FB2D473/nativeplugins/MonitorModule/android/.DS_Store
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
unpackage/cache/wgt/__UNI__FB2D473/nativeplugins/MonitorModule/android/mylibrary-release.aar
vendored
Normal file
BIN
unpackage/cache/wgt/__UNI__FB2D473/nativeplugins/MonitorModule/android/mylibrary-release.aar
vendored
Normal file
Binary file not shown.
|
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
"name":"MonitorModule",
|
||||
"id":"MonitorModule",
|
||||
"version":"2.0.1",
|
||||
"description":"bugly升级",
|
||||
"_dp_type":"nativeplugin",
|
||||
"_dp_nativeplugin":{
|
||||
"android":{
|
||||
"plugins":[{
|
||||
"type":"module",
|
||||
"name":"MonitorModule",
|
||||
"class": "com.cn.plugin_module.MonitorModule"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "myText",
|
||||
"class": "com.cn.plugin_module.TestText"
|
||||
},
|
||||
{
|
||||
"type": "component",
|
||||
"name": "MonitorView",
|
||||
"class": "com.cn.plugin_module.MonitorView"
|
||||
}],
|
||||
"integrateType": "aar",
|
||||
"dependencies": [
|
||||
"androidx.constraintlayout:constraintlayout:2.1.4",
|
||||
"androidx.core:core-ktx:1.3.2",
|
||||
"androidx.appcompat:appcompat:1.1.0",
|
||||
"com.google.android.material:material:1.6.1",
|
||||
"org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3",
|
||||
"org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3",
|
||||
"androidx.lifecycle:lifecycle-runtime-ktx:2.5.1",
|
||||
"com.google.code.gson:gson:2.10.1",
|
||||
"com.alibaba:fastjson:1.2.83"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
.content{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100vh}.logo{height:6.25rem;width:6.25rem;margin-top:6.25rem;margin-left:auto;margin-right:auto;margin-bottom:1.5625rem}.text-area{display:flex;justify-content:center}.title{font-size:1.125rem;color:#8f8f94}.typebutton{width:9.375rem;height:4.6875rem;display:flex;justify-content:center;align-items:center;margin-top:.9375rem;color:#fff}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1 +0,0 @@
|
|||
forceInstall
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
|
|
@ -1,2 +1,5 @@
|
|||
Promise.resolve("./pages/ceshianzhuo.js").then((res) => {
|
||||
res();
|
||||
});
|
||||
Promise.resolve("./app.css.js").then(() => {
|
||||
});
|
||||
|
|
|
|||
|
|
@ -0,0 +1,224 @@
|
|||
import { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, createTextVNode } from "vue";
|
||||
function requireNativePlugin(name) {
|
||||
return weex.requireModule(name);
|
||||
}
|
||||
function formatAppLog(type, filename, ...args) {
|
||||
if (uni.__log__) {
|
||||
uni.__log__(type, filename, ...args);
|
||||
} else {
|
||||
console[type].apply(console, [...args, filename]);
|
||||
}
|
||||
}
|
||||
const _style_0 = { "center-column": { "": { "display": "flex", "flexDirection": "column", "alignItems": "center" } }, "button-group": { "": { "display": "flex", "flexDirection": "row", "flexWrap": "wrap", "justifyContent": "center", "marginTop": "20rpx" } } };
|
||||
const _export_sfc = (sfc, props) => {
|
||||
const target = sfc.__vccOpts || sfc;
|
||||
for (const [key, val] of props) {
|
||||
target[key] = val;
|
||||
}
|
||||
return target;
|
||||
};
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
phoneNumber: "1234567890",
|
||||
isAlarming: false
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
const globalEvent = requireNativePlugin("globalEvent");
|
||||
globalEvent.addEventListener("myEvent", (e) => {
|
||||
formatAppLog("log", "at pages/ceshianzhuo.nvue:47", "myEvent", e);
|
||||
uni.showToast({
|
||||
title: "myEvent: " + JSON.stringify(e),
|
||||
duration: 2e3
|
||||
});
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
handleTelEvent(event2) {
|
||||
formatAppLog("log", "at pages/ceshianzhuo.nvue:56", "Tel event detail:", event2.detail);
|
||||
},
|
||||
// 切换播放模式
|
||||
switchDisplay(mode) {
|
||||
formatAppLog("log", "at pages/ceshianzhuo.nvue:62", "Tel event detail:", event.detail);
|
||||
this.$refs.monitor.switchDisplayModeFragment(mode);
|
||||
},
|
||||
// 手动报警
|
||||
startAlarm() {
|
||||
this.isAlarming = true;
|
||||
this.$refs.monitor.startOrStopManualAlarm(this.isAlarming, (res) => {
|
||||
formatAppLog("log", "at pages/ceshianzhuo.nvue:70", "startAlarm callback:", res);
|
||||
});
|
||||
},
|
||||
stopAlarm() {
|
||||
this.isAlarming = false;
|
||||
this.$refs.monitor.startOrStopManualAlarm(this.isAlarming, (res) => {
|
||||
formatAppLog("log", "at pages/ceshianzhuo.nvue:76", "stopAlarm callback:", res);
|
||||
});
|
||||
},
|
||||
// 翻转图像
|
||||
flipImage(type) {
|
||||
this.$refs.monitor.changeImageSwitch(type, (res) => {
|
||||
formatAppLog("log", "at pages/ceshianzhuo.nvue:83", "flipImage callback:", res);
|
||||
});
|
||||
},
|
||||
// 暂停或继续
|
||||
resumeOrPause() {
|
||||
this.$refs.monitor.resumeOrPause();
|
||||
},
|
||||
// 切换清晰度
|
||||
changeQuality() {
|
||||
this.$refs.monitor.changeQuality();
|
||||
},
|
||||
// 测试按钮
|
||||
test() {
|
||||
this.$refs.monitor.test();
|
||||
}
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
const _component_MonitorView = resolveComponent("MonitorView");
|
||||
const _component_button = resolveComponent("button");
|
||||
return openBlock(), createElementBlock("scroll-view", {
|
||||
scrollY: true,
|
||||
showScrollbar: true,
|
||||
enableBackToTop: true,
|
||||
bubble: "true",
|
||||
style: { flexDirection: "column" }
|
||||
}, [
|
||||
createElementVNode("div", { class: "center-column" }, [
|
||||
createVNode(_component_MonitorView, {
|
||||
ref: "monitor",
|
||||
init: "5",
|
||||
style: { "width": "300rpx", "height": "200rpx", "margin-top": "20rpx" },
|
||||
onOnTel: $options.handleTelEvent
|
||||
}, null, 8, ["onOnTel"]),
|
||||
createElementVNode("div", { class: "button-group" }, [
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[0] || (_cache[0] = ($event) => $options.switchDisplay(0))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("原图")
|
||||
]),
|
||||
_: 1
|
||||
}),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[1] || (_cache[1] = ($event) => $options.switchDisplay(1))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("四分屏")
|
||||
]),
|
||||
_: 1
|
||||
}),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[2] || (_cache[2] = ($event) => $options.switchDisplay(2))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("180°全景")
|
||||
]),
|
||||
_: 1
|
||||
}),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[3] || (_cache[3] = ($event) => $options.switchDisplay(3))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("360°全景")
|
||||
]),
|
||||
_: 1
|
||||
}),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[4] || (_cache[4] = ($event) => $options.switchDisplay(4))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("环状全景")
|
||||
]),
|
||||
_: 1
|
||||
}),
|
||||
createVNode(_component_button, { onClick: $options.startAlarm }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("开启手动报警")
|
||||
]),
|
||||
_: 1
|
||||
}, 8, ["onClick"]),
|
||||
createVNode(_component_button, { onClick: $options.stopAlarm }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("停止手动报警")
|
||||
]),
|
||||
_: 1
|
||||
}, 8, ["onClick"]),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[5] || (_cache[5] = ($event) => $options.flipImage(0))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("左右翻转")
|
||||
]),
|
||||
_: 1
|
||||
}),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[6] || (_cache[6] = ($event) => $options.flipImage(1))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("上下翻转")
|
||||
]),
|
||||
_: 1
|
||||
}),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[7] || (_cache[7] = ($event) => $options.flipImage(2))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("中心翻转")
|
||||
]),
|
||||
_: 1
|
||||
}),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[8] || (_cache[8] = ($event) => $options.flipImage(3))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("顺时针90°")
|
||||
]),
|
||||
_: 1
|
||||
}),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[9] || (_cache[9] = ($event) => $options.flipImage(4))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("逆时针90°")
|
||||
]),
|
||||
_: 1
|
||||
}),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[10] || (_cache[10] = ($event) => $options.flipImage(5))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("逆时针180°")
|
||||
]),
|
||||
_: 1
|
||||
}),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[11] || (_cache[11] = ($event) => $options.flipImage(6))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("不翻转")
|
||||
]),
|
||||
_: 1
|
||||
}),
|
||||
createVNode(_component_button, { onClick: $options.resumeOrPause }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("暂停/继续")
|
||||
]),
|
||||
_: 1
|
||||
}, 8, ["onClick"]),
|
||||
createVNode(_component_button, { onClick: $options.changeQuality }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("切换清晰度")
|
||||
]),
|
||||
_: 1
|
||||
}, 8, ["onClick"])
|
||||
])
|
||||
])
|
||||
]);
|
||||
}
|
||||
const ceshianzhuo = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]]]);
|
||||
export {
|
||||
ceshianzhuo as default
|
||||
};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -118,7 +118,22 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"nativePlugins": {},
|
||||
"nativePlugins": {
|
||||
"MonitorModule": {
|
||||
"__plugin_info__": {
|
||||
"name": "MonitorModule",
|
||||
"description": "bugly升级",
|
||||
"platforms": "Android",
|
||||
"url": "",
|
||||
"android_package_name": "",
|
||||
"ios_bundle_id": "",
|
||||
"isCloud": false,
|
||||
"bought": -1,
|
||||
"pid": "",
|
||||
"parameters": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"statusbar": {
|
||||
"immersed": "supportedDevice",
|
||||
"style": "dark",
|
||||
|
|
@ -131,7 +146,7 @@
|
|||
"uni-app": {
|
||||
"control": "uni-v3",
|
||||
"vueVersion": "3",
|
||||
"compilerVersion": "4.75",
|
||||
"compilerVersion": "4.76",
|
||||
"nvueCompiler": "uni-app",
|
||||
"renderer": "auto",
|
||||
"nvue": {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
.content{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100vh}.logo{height:6.25rem;width:6.25rem;margin-top:6.25rem;margin-left:auto;margin-right:auto;margin-bottom:1.5625rem}.text-area{display:flex;justify-content:center}.title{font-size:1.125rem;color:#8f8f94}.typebutton{width:9.375rem;height:4.6875rem;display:flex;justify-content:center;align-items:center;margin-top:.9375rem;color:#fff}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,2 +1,5 @@
|
|||
Promise.resolve("./pages/ceshianzhuo.js").then((res) => {
|
||||
res();
|
||||
});
|
||||
Promise.resolve("./app.css.js").then(() => {
|
||||
});
|
||||
|
|
|
|||
|
|
@ -0,0 +1,243 @@
|
|||
import { resolveComponent, openBlock, createElementBlock, createElementVNode, createCommentVNode, createVNode, withCtx, createTextVNode } from "vue";
|
||||
function requireNativePlugin(name) {
|
||||
return weex.requireModule(name);
|
||||
}
|
||||
function formatAppLog(type, filename, ...args) {
|
||||
if (uni.__log__) {
|
||||
uni.__log__(type, filename, ...args);
|
||||
} else {
|
||||
console[type].apply(console, [...args, filename]);
|
||||
}
|
||||
}
|
||||
const _style_0 = { "center-column": { "": { "display": "flex", "flexDirection": "column", "alignItems": "center" } }, "button-group": { "": { "display": "flex", "flexDirection": "row", "flexWrap": "wrap", "justifyContent": "center", "marginTop": "20rpx" } } };
|
||||
const _export_sfc = (sfc, props) => {
|
||||
const target = sfc.__vccOpts || sfc;
|
||||
for (const [key, val] of props) {
|
||||
target[key] = val;
|
||||
}
|
||||
return target;
|
||||
};
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
phoneNumber: "1234567890",
|
||||
isAlarming: false
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
const globalEvent = requireNativePlugin("globalEvent");
|
||||
globalEvent.addEventListener("myEvent", (e) => {
|
||||
formatAppLog("log", "at pages/ceshianzhuo.nvue:47", "myEvent", e);
|
||||
uni.showToast({
|
||||
title: "myEvent: " + JSON.stringify(e),
|
||||
duration: 2e3
|
||||
});
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
handleTelEvent(event) {
|
||||
formatAppLog("log", "at pages/ceshianzhuo.nvue:56", "Tel event detail:", event.detail);
|
||||
},
|
||||
// 切换播放模式
|
||||
switchDisplay(mode) {
|
||||
this.$refs.monitor.switchDisplayModeFragment(mode);
|
||||
},
|
||||
// 手动报警
|
||||
startAlarm() {
|
||||
this.isAlarming = true;
|
||||
this.$refs.monitor.startOrStopManualAlarm(this.isAlarming, (res) => {
|
||||
formatAppLog("log", "at pages/ceshianzhuo.nvue:70", "startAlarm callback:", res);
|
||||
});
|
||||
},
|
||||
stopAlarm() {
|
||||
this.isAlarming = false;
|
||||
this.$refs.monitor.startOrStopManualAlarm(this.isAlarming, (res) => {
|
||||
formatAppLog("log", "at pages/ceshianzhuo.nvue:76", "stopAlarm callback:", res);
|
||||
});
|
||||
},
|
||||
// 翻转图像
|
||||
flipImage(type) {
|
||||
this.$refs.monitor.changeImageSwitch(type, (res) => {
|
||||
formatAppLog("log", "at pages/ceshianzhuo.nvue:83", "flipImage callback:", res);
|
||||
});
|
||||
},
|
||||
// 暂停或继续
|
||||
resumeOrPause() {
|
||||
this.$refs.monitor.resumeOrPause();
|
||||
},
|
||||
// 切换清晰度
|
||||
changeQuality() {
|
||||
this.$refs.monitor.changeQuality();
|
||||
},
|
||||
// 测试按钮
|
||||
test() {
|
||||
this.$refs.monitor.test();
|
||||
}
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
const _component_MonitorView = resolveComponent("MonitorView");
|
||||
const _component_button = resolveComponent("button");
|
||||
return openBlock(), createElementBlock("scroll-view", {
|
||||
scrollY: true,
|
||||
showScrollbar: true,
|
||||
enableBackToTop: true,
|
||||
bubble: "true",
|
||||
style: { flexDirection: "column" }
|
||||
}, [
|
||||
createElementVNode("div", { class: "center-column" }, [
|
||||
createCommentVNode(" 视频播放组件 "),
|
||||
createVNode(_component_MonitorView, {
|
||||
ref: "monitor",
|
||||
init: "5",
|
||||
style: { "width": "300rpx", "height": "200rpx", "margin-top": "20rpx" },
|
||||
onOnTel: $options.handleTelEvent
|
||||
}, null, 8, ["onOnTel"]),
|
||||
createCommentVNode(" 云台控制组件 "),
|
||||
createCommentVNode(' <MonitorControlView ref="control" init="5" style="width:300rpx;height:300rpx;margin-top: 20rpx;" /> '),
|
||||
createCommentVNode(" 功能按钮 "),
|
||||
createElementVNode("div", { class: "button-group" }, [
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[0] || (_cache[0] = ($event) => $options.switchDisplay(0))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("原图")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[1] || (_cache[1] = ($event) => $options.switchDisplay(1))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("四分屏")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[2] || (_cache[2] = ($event) => $options.switchDisplay(2))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("180°全景")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[3] || (_cache[3] = ($event) => $options.switchDisplay(3))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("360°全景")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[4] || (_cache[4] = ($event) => $options.switchDisplay(4))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("环状全景")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
createVNode(_component_button, { onClick: $options.startAlarm }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("开启手动报警")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}, 8, ["onClick"]),
|
||||
createVNode(_component_button, { onClick: $options.stopAlarm }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("停止手动报警")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}, 8, ["onClick"]),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[5] || (_cache[5] = ($event) => $options.flipImage(0))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("左右翻转")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[6] || (_cache[6] = ($event) => $options.flipImage(1))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("上下翻转")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[7] || (_cache[7] = ($event) => $options.flipImage(2))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("中心翻转")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[8] || (_cache[8] = ($event) => $options.flipImage(3))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("顺时针90°")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[9] || (_cache[9] = ($event) => $options.flipImage(4))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("逆时针90°")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[10] || (_cache[10] = ($event) => $options.flipImage(5))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("逆时针180°")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
createVNode(_component_button, {
|
||||
onClick: _cache[11] || (_cache[11] = ($event) => $options.flipImage(6))
|
||||
}, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("不翻转")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
createVNode(_component_button, { onClick: $options.resumeOrPause }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("暂停/继续")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}, 8, ["onClick"]),
|
||||
createVNode(_component_button, { onClick: $options.changeQuality }, {
|
||||
default: withCtx(() => [
|
||||
createTextVNode("切换清晰度")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}, 8, ["onClick"])
|
||||
])
|
||||
])
|
||||
]);
|
||||
}
|
||||
const ceshianzhuo = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app/pages/ceshianzhuo.nvue"]]);
|
||||
export {
|
||||
ceshianzhuo as default
|
||||
};
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -74,7 +74,7 @@ if (uni.restoreGlobal) {
|
|||
}
|
||||
return target;
|
||||
};
|
||||
const _sfc_main$12 = {
|
||||
const _sfc_main$13 = {
|
||||
name: "ZyUpgrade",
|
||||
props: {
|
||||
theme: {
|
||||
|
|
@ -286,7 +286,7 @@ if (uni.restoreGlobal) {
|
|||
}
|
||||
}
|
||||
};
|
||||
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return vue.openBlock(), vue.createElementBlock(
|
||||
"view",
|
||||
{
|
||||
|
|
@ -414,9 +414,9 @@ if (uni.restoreGlobal) {
|
|||
/* CLASS */
|
||||
);
|
||||
}
|
||||
const ZyUpdate = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$11], ["__scopeId", "data-v-bf1d6c35"], ["__file", "D:/hldy_app/component/zy-upgrade/zy-upgrade.vue"]]);
|
||||
const _sfc_main$11 = {};
|
||||
function _sfc_render$10(_ctx, _cache) {
|
||||
const ZyUpdate = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$12], ["__scopeId", "data-v-bf1d6c35"], ["__file", "D:/hldy_app/component/zy-upgrade/zy-upgrade.vue"]]);
|
||||
const _sfc_main$12 = {};
|
||||
function _sfc_render$11(_ctx, _cache) {
|
||||
return vue.openBlock(), vue.createElementBlock("view", { class: "all" }, [
|
||||
vue.createElementVNode("scroll-view", {
|
||||
"scroll-y": "",
|
||||
|
|
@ -630,9 +630,9 @@ if (uni.restoreGlobal) {
|
|||
])
|
||||
]);
|
||||
}
|
||||
const oneseven = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$10], ["__scopeId", "data-v-e42fb5c8"], ["__file", "D:/hldy_app/pages/login/oneseven.vue"]]);
|
||||
const _sfc_main$10 = {};
|
||||
function _sfc_render$$(_ctx, _cache) {
|
||||
const oneseven = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$11], ["__scopeId", "data-v-e42fb5c8"], ["__file", "D:/hldy_app/pages/login/oneseven.vue"]]);
|
||||
const _sfc_main$11 = {};
|
||||
function _sfc_render$10(_ctx, _cache) {
|
||||
return vue.openBlock(), vue.createElementBlock("view", { class: "all" }, [
|
||||
vue.createElementVNode("scroll-view", {
|
||||
"scroll-y": "",
|
||||
|
|
@ -1097,7 +1097,7 @@ if (uni.restoreGlobal) {
|
|||
])
|
||||
]);
|
||||
}
|
||||
const twoseven = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$$], ["__scopeId", "data-v-1ebfd7ba"], ["__file", "D:/hldy_app/pages/login/twoseven.vue"]]);
|
||||
const twoseven = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$10], ["__scopeId", "data-v-1ebfd7ba"], ["__file", "D:/hldy_app/pages/login/twoseven.vue"]]);
|
||||
const base_url = "https://www.focusnu.com/opeapi";
|
||||
const timeout$1 = 5e3;
|
||||
const request = (params) => {
|
||||
|
|
@ -1200,7 +1200,7 @@ if (uni.restoreGlobal) {
|
|||
};
|
||||
const pieceSizePx = 50;
|
||||
const tolerance = 20;
|
||||
const _sfc_main$$ = {
|
||||
const _sfc_main$10 = {
|
||||
__name: "huakuai",
|
||||
emits: ["success"],
|
||||
setup(__props, { expose: __expose, emit: __emit }) {
|
||||
|
|
@ -1307,7 +1307,7 @@ if (uni.restoreGlobal) {
|
|||
return __returned__;
|
||||
}
|
||||
};
|
||||
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return vue.openBlock(), vue.createElementBlock("view", {
|
||||
class: "captcha-container",
|
||||
id: "container"
|
||||
|
|
@ -1398,8 +1398,8 @@ if (uni.restoreGlobal) {
|
|||
])
|
||||
]);
|
||||
}
|
||||
const huakuai = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$_], ["__scopeId", "data-v-4b687354"], ["__file", "D:/hldy_app/component/public/huakuai.vue"]]);
|
||||
const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
||||
const huakuai = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$$], ["__scopeId", "data-v-4b687354"], ["__file", "D:/hldy_app/component/public/huakuai.vue"]]);
|
||||
const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
||||
__name: "login",
|
||||
setup(__props, { expose: __expose }) {
|
||||
__expose();
|
||||
|
|
@ -1535,7 +1535,7 @@ if (uni.restoreGlobal) {
|
|||
});
|
||||
const _imports_0$m = "/static/index/superNu.png";
|
||||
const _imports_0$l = "/static/left.png";
|
||||
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return vue.openBlock(), vue.createElementBlock(
|
||||
vue.Fragment,
|
||||
null,
|
||||
|
|
@ -1838,7 +1838,90 @@ if (uni.restoreGlobal) {
|
|||
/* STABLE_FRAGMENT */
|
||||
);
|
||||
}
|
||||
const PagesLoginLogin = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$Z], ["__scopeId", "data-v-e4e4508d"], ["__file", "D:/hldy_app/pages/login/login.vue"]]);
|
||||
const PagesLoginLogin = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$_], ["__scopeId", "data-v-e4e4508d"], ["__file", "D:/hldy_app/pages/login/login.vue"]]);
|
||||
const _sfc_main$_ = {
|
||||
data() {
|
||||
return {
|
||||
title: "Hello"
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
var globalEvent = requireNativePlugin("globalEvent");
|
||||
globalEvent.addEventListener("myEvent", function(e) {
|
||||
formatAppLog("log", "at pages/denglu.vue:20", "myEvent" + JSON.stringify(e));
|
||||
uni.showToast({
|
||||
title: "myEvent" + JSON.stringify(e),
|
||||
duration: 2e3
|
||||
});
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
testAsyncFunc() {
|
||||
var testModule = requireNativePlugin("MonitorModule");
|
||||
var json = {
|
||||
deviceId: "4",
|
||||
deviceName: "sdfsfsdf"
|
||||
};
|
||||
testModule.gotoNativePage(json);
|
||||
},
|
||||
jumptonve() {
|
||||
uni.navigateTo({
|
||||
url: "/pages/ceshianzhuo"
|
||||
});
|
||||
},
|
||||
init(event) {
|
||||
var monitorModule = requireNativePlugin("MonitorModule");
|
||||
monitorModule.initSMBCloudSDK();
|
||||
},
|
||||
login(event) {
|
||||
var monitorModule = requireNativePlugin("MonitorModule");
|
||||
var loginfo = {
|
||||
userName: "admin",
|
||||
password: "Bl20230518",
|
||||
serverAddress: "121.36.88.64",
|
||||
port: 8888
|
||||
};
|
||||
monitorModule.cloudLoginIn(loginfo, (r) => {
|
||||
formatAppLog("log", "at pages/denglu.vue:59", "loginResult", r.code);
|
||||
uni.showToast({
|
||||
title: "操作成功",
|
||||
duration: 2e3
|
||||
});
|
||||
});
|
||||
},
|
||||
logout(event) {
|
||||
var monitorModule = requireNativePlugin("MonitorModule");
|
||||
monitorModule.cloudLoginOut((r) => {
|
||||
formatAppLog("log", "at pages/denglu.vue:69", "loginResult", r.code);
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return vue.openBlock(), vue.createElementBlock("view", { class: "content" }, [
|
||||
vue.createElementVNode("button", {
|
||||
class: "typebutton",
|
||||
type: "primary",
|
||||
onClick: _cache[0] || (_cache[0] = (...args) => $options.init && $options.init(...args))
|
||||
}, "初始化sdk"),
|
||||
vue.createElementVNode("button", {
|
||||
class: "typebutton",
|
||||
type: "primary",
|
||||
onClick: _cache[1] || (_cache[1] = (...args) => $options.login && $options.login(...args))
|
||||
}, "登陆"),
|
||||
vue.createElementVNode("button", {
|
||||
class: "typebutton",
|
||||
type: "primary",
|
||||
onClick: _cache[2] || (_cache[2] = (...args) => $options.logout && $options.logout(...args))
|
||||
}, "退出登陆"),
|
||||
vue.createElementVNode("button", {
|
||||
class: "typebutton",
|
||||
type: "primary",
|
||||
onClick: _cache[3] || (_cache[3] = (...args) => $options.jumptonve && $options.jumptonve(...args))
|
||||
}, "跳到nvue")
|
||||
]);
|
||||
}
|
||||
const PagesDenglu = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$Z], ["__file", "D:/hldy_app/pages/denglu.vue"]]);
|
||||
const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
||||
__name: "index",
|
||||
setup(__props, { expose: __expose }) {
|
||||
|
|
@ -12056,6 +12139,11 @@ if (uni.restoreGlobal) {
|
|||
const getblue = vue.ref(false);
|
||||
const gobackdrawer = vue.ref(null);
|
||||
const topnum = vue.ref(0);
|
||||
const jumpToCeshi = () => {
|
||||
uni.navigateTo({
|
||||
url: "/pages/denglu"
|
||||
});
|
||||
};
|
||||
const opendrawer = () => {
|
||||
gobackdrawer.value.openDrawer();
|
||||
};
|
||||
|
|
@ -12393,7 +12481,7 @@ if (uni.restoreGlobal) {
|
|||
var _a;
|
||||
(_a = zyupgrade.value) == null ? void 0 : _a.check_update();
|
||||
});
|
||||
const __returned__ = { zyupgrade, menuIndex, typeNow, photoplay, getblue, gobackdrawer, topnum, itemHeight, containerHeight, opendrawer, clamp, ensureVisible, genPaths: genPaths2, base, blueArray, basesmall, bluesmallArray, peopleArray, iconArray, typeArray, leftMenuArray, movecard, filteredMenu, goback, goToCeshi, ZyUpdate, specialDrawerVue: specialDrawerVue$1, bigroll };
|
||||
const __returned__ = { zyupgrade, menuIndex, typeNow, photoplay, getblue, gobackdrawer, topnum, itemHeight, containerHeight, jumpToCeshi, opendrawer, clamp, ensureVisible, genPaths: genPaths2, base, blueArray, basesmall, bluesmallArray, peopleArray, iconArray, typeArray, leftMenuArray, movecard, filteredMenu, goback, goToCeshi, ZyUpdate, specialDrawerVue: specialDrawerVue$1, bigroll };
|
||||
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
||||
return __returned__;
|
||||
}
|
||||
|
|
@ -12403,8 +12491,8 @@ if (uni.restoreGlobal) {
|
|||
const _imports_2$a = "/static/index/newindex/curve/shezhi.png";
|
||||
const _imports_0$c = "/static/index/newindex/wendu/0.png";
|
||||
const _imports_1$d = "/static/index/newindex/wendu/1.png";
|
||||
const _imports_5$4 = "/static/index/watch/bgc.png";
|
||||
const _imports_6$1 = "/static/index/watch/play.png";
|
||||
const _imports_5$4 = "/static/index/watch/play.png";
|
||||
const _imports_6$1 = "/static/index/watch/bgc.png";
|
||||
const _imports_7$1 = "/static/index/watch/laotai.png";
|
||||
const _imports_8$1 = "/static/index/watch/laotou.png";
|
||||
const _imports_9$1 = "/static/index/watch/phonebgc.png";
|
||||
|
|
@ -12565,13 +12653,11 @@ if (uni.restoreGlobal) {
|
|||
])
|
||||
])
|
||||
]),
|
||||
vue.createCommentVNode(' <image style="width: 100%;height: 100%;" src="/static/index/watch/bgc.png" /> '),
|
||||
vue.createElementVNode("image", {
|
||||
style: { "width": "100%", "height": "100%", "position": "absolute", "top": "0", "left": "0" },
|
||||
src: _imports_5$4
|
||||
}),
|
||||
vue.createElementVNode("image", {
|
||||
style: { "width": "100rpx", "height": "100rpx" },
|
||||
src: _imports_6$1
|
||||
style: { "width": "100rpx", "height": "100rpx", "position": "absolute", "top": "50%", "left": "50%", "transform": "translate(-50%,-50%)" },
|
||||
src: _imports_5$4,
|
||||
onClick: $setup.jumpToCeshi
|
||||
})
|
||||
]),
|
||||
vue.createElementVNode("view", { style: { "display": "flex", "margin-top": "20rpx" } }, [
|
||||
|
|
@ -12590,14 +12676,14 @@ if (uni.restoreGlobal) {
|
|||
}, [
|
||||
vue.createElementVNode("image", {
|
||||
style: { "width": "100%", "height": "100%", "position": "absolute", "top": "0", "left": "0" },
|
||||
src: _imports_5$4
|
||||
src: _imports_6$1
|
||||
}),
|
||||
vue.createCommentVNode(' <image style="width: 50rpx;height: 50rpx;" src="/static/index/watch/play.png" /> ')
|
||||
]),
|
||||
vue.createElementVNode("view", { class: "small-bgc" }, [
|
||||
vue.createElementVNode("image", {
|
||||
style: { "width": "100%", "height": "100%", "position": "absolute", "top": "0", "left": "0" },
|
||||
src: _imports_5$4
|
||||
src: _imports_6$1
|
||||
}),
|
||||
vue.createCommentVNode(' <image style="width: 50rpx;height: 50rpx;" src="/static/index/watch/play.png" /> ')
|
||||
])
|
||||
|
|
@ -12618,21 +12704,21 @@ if (uni.restoreGlobal) {
|
|||
}, [
|
||||
vue.createElementVNode("image", {
|
||||
style: { "width": "100%", "height": "100%", "position": "absolute", "top": "0", "left": "0" },
|
||||
src: _imports_5$4
|
||||
src: _imports_6$1
|
||||
}),
|
||||
vue.createElementVNode("image", {
|
||||
style: { "width": "50rpx", "height": "50rpx" },
|
||||
src: _imports_6$1
|
||||
src: _imports_5$4
|
||||
})
|
||||
]),
|
||||
vue.createElementVNode("view", { class: "small-bgc" }, [
|
||||
vue.createElementVNode("image", {
|
||||
style: { "width": "100%", "height": "100%", "position": "absolute", "top": "0", "left": "0" },
|
||||
src: _imports_5$4
|
||||
src: _imports_6$1
|
||||
}),
|
||||
vue.createElementVNode("image", {
|
||||
style: { "width": "50rpx", "height": "50rpx" },
|
||||
src: _imports_6$1
|
||||
src: _imports_5$4
|
||||
})
|
||||
])
|
||||
])
|
||||
|
|
@ -18963,7 +19049,7 @@ if (uni.restoreGlobal) {
|
|||
"view",
|
||||
{
|
||||
class: "right-box-font",
|
||||
style: vue.normalizeStyle($setup.thirdmenuIndex == index2 ? { color: `rgb(54, 159, 239)` } : {})
|
||||
style: vue.normalizeStyle([{ "font-size": "20rpx", "margin-top": "2rpx" }, $setup.thirdmenuIndex == index2 ? { color: `rgb(54, 159, 239)` } : {}])
|
||||
},
|
||||
vue.toDisplayString(item.title),
|
||||
5
|
||||
|
|
@ -19197,7 +19283,7 @@ if (uni.restoreGlobal) {
|
|||
"view",
|
||||
{
|
||||
class: "popup-say-content",
|
||||
style: vue.normalizeStyle([{ "padding-top": "30rpx" }, { opacity: $setup.sayisopacity ? 1 : 0 }]),
|
||||
style: vue.normalizeStyle([{ "padding": "30rpx 0" }, { opacity: $setup.sayisopacity ? 1 : 0 }]),
|
||||
onClick: _cache[11] || (_cache[11] = vue.withModifiers(() => {
|
||||
}, ["stop"]))
|
||||
},
|
||||
|
|
@ -30917,6 +31003,7 @@ if (uni.restoreGlobal) {
|
|||
}
|
||||
const PagesTimeMatrixIndexnew = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$2], ["__scopeId", "data-v-d5065f48"], ["__file", "D:/hldy_app/pages/timeMatrix/indexnew.vue"]]);
|
||||
__definePage("pages/login/login", PagesLoginLogin);
|
||||
__definePage("pages/denglu", PagesDenglu);
|
||||
__definePage("pages/index/index", PagesIndexIndex);
|
||||
__definePage("pages/Nursing/index", PagesNursingIndex);
|
||||
__definePage("pages/watch/index", PagesWatchIndex);
|
||||
|
|
|
|||
|
|
@ -118,7 +118,22 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"nativePlugins": {},
|
||||
"nativePlugins": {
|
||||
"MonitorModule": {
|
||||
"__plugin_info__": {
|
||||
"name": "MonitorModule",
|
||||
"description": "bugly升级",
|
||||
"platforms": "Android",
|
||||
"url": "",
|
||||
"android_package_name": "",
|
||||
"ios_bundle_id": "",
|
||||
"isCloud": false,
|
||||
"bought": -1,
|
||||
"pid": "",
|
||||
"parameters": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"statusbar": {
|
||||
"immersed": "supportedDevice",
|
||||
"style": "dark",
|
||||
|
|
@ -131,7 +146,7 @@
|
|||
"uni-app": {
|
||||
"control": "uni-v3",
|
||||
"vueVersion": "3",
|
||||
"compilerVersion": "4.75",
|
||||
"compilerVersion": "4.76",
|
||||
"nvueCompiler": "uni-app",
|
||||
"renderer": "auto",
|
||||
"nvue": {
|
||||
|
|
|
|||
|
|
@ -1174,7 +1174,7 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 14.0625rem;
|
||||
height: 25rem;
|
||||
/* height: 800rpx; */
|
||||
background-color: #fff;
|
||||
border: 0.0625rem solid #fff;
|
||||
border-radius: 0.9375rem;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,323 @@
|
|||
"use weex:vue";
|
||||
|
||||
if (typeof Promise !== 'undefined' && !Promise.prototype.finally) {
|
||||
Promise.prototype.finally = function(callback) {
|
||||
const promise = this.constructor
|
||||
return this.then(
|
||||
value => promise.resolve(callback()).then(() => value),
|
||||
reason => promise.resolve(callback()).then(() => {
|
||||
throw reason
|
||||
})
|
||||
)
|
||||
}
|
||||
};
|
||||
|
||||
if (typeof uni !== 'undefined' && uni && uni.requireGlobal) {
|
||||
const global = uni.requireGlobal()
|
||||
ArrayBuffer = global.ArrayBuffer
|
||||
Int8Array = global.Int8Array
|
||||
Uint8Array = global.Uint8Array
|
||||
Uint8ClampedArray = global.Uint8ClampedArray
|
||||
Int16Array = global.Int16Array
|
||||
Uint16Array = global.Uint16Array
|
||||
Int32Array = global.Int32Array
|
||||
Uint32Array = global.Uint32Array
|
||||
Float32Array = global.Float32Array
|
||||
Float64Array = global.Float64Array
|
||||
BigInt64Array = global.BigInt64Array
|
||||
BigUint64Array = global.BigUint64Array
|
||||
};
|
||||
|
||||
|
||||
(() => {
|
||||
var __create = Object.create;
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __getProtoOf = Object.getPrototypeOf;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __commonJS = (cb, mod) => function __require() {
|
||||
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
||||
};
|
||||
var __copyProps = (to, from, except, desc) => {
|
||||
if (from && typeof from === "object" || typeof from === "function") {
|
||||
for (let key of __getOwnPropNames(from))
|
||||
if (!__hasOwnProp.call(to, key) && key !== except)
|
||||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
||||
}
|
||||
return to;
|
||||
};
|
||||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
||||
// If the importer is in node compatibility mode or this is not an ESM
|
||||
// file that has been converted to a CommonJS file using a Babel-
|
||||
// compatible transform (i.e. "__esModule" has not been set), then set
|
||||
// "default" to the CommonJS "module.exports" for node compatibility.
|
||||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
||||
mod
|
||||
));
|
||||
|
||||
// vue-ns:vue
|
||||
var require_vue = __commonJS({
|
||||
"vue-ns:vue"(exports, module) {
|
||||
module.exports = Vue;
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../../hldy_app/unpackage/dist/dev/.nvue/pages/ceshianzhuo.js
|
||||
var import_vue = __toESM(require_vue());
|
||||
function requireNativePlugin(name) {
|
||||
return weex.requireModule(name);
|
||||
}
|
||||
function formatAppLog(type, filename, ...args) {
|
||||
if (uni.__log__) {
|
||||
uni.__log__(type, filename, ...args);
|
||||
} else {
|
||||
console[type].apply(console, [...args, filename]);
|
||||
}
|
||||
}
|
||||
var _style_0 = { "center-column": { "": { "display": "flex", "flexDirection": "column", "alignItems": "center" } }, "button-group": { "": { "display": "flex", "flexDirection": "row", "flexWrap": "wrap", "justifyContent": "center", "marginTop": "20rpx" } } };
|
||||
var _export_sfc = (sfc, props) => {
|
||||
const target = sfc.__vccOpts || sfc;
|
||||
for (const [key, val] of props) {
|
||||
target[key] = val;
|
||||
}
|
||||
return target;
|
||||
};
|
||||
var _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
phoneNumber: "1234567890",
|
||||
isAlarming: false
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
const globalEvent = requireNativePlugin("globalEvent");
|
||||
globalEvent.addEventListener("myEvent", (e) => {
|
||||
formatAppLog("log", "at pages/ceshianzhuo.nvue:47", "myEvent", e);
|
||||
uni.showToast({
|
||||
title: "myEvent: " + JSON.stringify(e),
|
||||
duration: 2e3
|
||||
});
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
handleTelEvent(event) {
|
||||
formatAppLog("log", "at pages/ceshianzhuo.nvue:56", "Tel event detail:", event.detail);
|
||||
},
|
||||
// 切换播放模式
|
||||
switchDisplay(mode) {
|
||||
this.$refs.monitor.switchDisplayModeFragment(mode);
|
||||
},
|
||||
// 手动报警
|
||||
startAlarm() {
|
||||
this.isAlarming = true;
|
||||
this.$refs.monitor.startOrStopManualAlarm(this.isAlarming, (res) => {
|
||||
formatAppLog("log", "at pages/ceshianzhuo.nvue:70", "startAlarm callback:", res);
|
||||
});
|
||||
},
|
||||
stopAlarm() {
|
||||
this.isAlarming = false;
|
||||
this.$refs.monitor.startOrStopManualAlarm(this.isAlarming, (res) => {
|
||||
formatAppLog("log", "at pages/ceshianzhuo.nvue:76", "stopAlarm callback:", res);
|
||||
});
|
||||
},
|
||||
// 翻转图像
|
||||
flipImage(type) {
|
||||
this.$refs.monitor.changeImageSwitch(type, (res) => {
|
||||
formatAppLog("log", "at pages/ceshianzhuo.nvue:83", "flipImage callback:", res);
|
||||
});
|
||||
},
|
||||
// 暂停或继续
|
||||
resumeOrPause() {
|
||||
this.$refs.monitor.resumeOrPause();
|
||||
},
|
||||
// 切换清晰度
|
||||
changeQuality() {
|
||||
this.$refs.monitor.changeQuality();
|
||||
},
|
||||
// 测试按钮
|
||||
test() {
|
||||
this.$refs.monitor.test();
|
||||
}
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
const _component_MonitorView = (0, import_vue.resolveComponent)("MonitorView");
|
||||
const _component_button = (0, import_vue.resolveComponent)("button");
|
||||
return (0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("scroll-view", {
|
||||
scrollY: true,
|
||||
showScrollbar: true,
|
||||
enableBackToTop: true,
|
||||
bubble: "true",
|
||||
style: { flexDirection: "column" }
|
||||
}, [
|
||||
(0, import_vue.createElementVNode)("div", { class: "center-column" }, [
|
||||
(0, import_vue.createCommentVNode)(" \u89C6\u9891\u64AD\u653E\u7EC4\u4EF6 "),
|
||||
(0, import_vue.createVNode)(_component_MonitorView, {
|
||||
ref: "monitor",
|
||||
init: "5",
|
||||
style: { "width": "300rpx", "height": "200rpx", "margin-top": "20rpx" },
|
||||
onOnTel: $options.handleTelEvent
|
||||
}, null, 8, ["onOnTel"]),
|
||||
(0, import_vue.createCommentVNode)(" \u4E91\u53F0\u63A7\u5236\u7EC4\u4EF6 "),
|
||||
(0, import_vue.createCommentVNode)(' <MonitorControlView ref="control" init="5" style="width:300rpx;height:300rpx;margin-top: 20rpx;" /> '),
|
||||
(0, import_vue.createCommentVNode)(" \u529F\u80FD\u6309\u94AE "),
|
||||
(0, import_vue.createElementVNode)("div", { class: "button-group" }, [
|
||||
(0, import_vue.createVNode)(_component_button, {
|
||||
onClick: _cache[0] || (_cache[0] = ($event) => $options.switchDisplay(0))
|
||||
}, {
|
||||
default: (0, import_vue.withCtx)(() => [
|
||||
(0, import_vue.createTextVNode)("\u539F\u56FE")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
(0, import_vue.createVNode)(_component_button, {
|
||||
onClick: _cache[1] || (_cache[1] = ($event) => $options.switchDisplay(1))
|
||||
}, {
|
||||
default: (0, import_vue.withCtx)(() => [
|
||||
(0, import_vue.createTextVNode)("\u56DB\u5206\u5C4F")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
(0, import_vue.createVNode)(_component_button, {
|
||||
onClick: _cache[2] || (_cache[2] = ($event) => $options.switchDisplay(2))
|
||||
}, {
|
||||
default: (0, import_vue.withCtx)(() => [
|
||||
(0, import_vue.createTextVNode)("180\xB0\u5168\u666F")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
(0, import_vue.createVNode)(_component_button, {
|
||||
onClick: _cache[3] || (_cache[3] = ($event) => $options.switchDisplay(3))
|
||||
}, {
|
||||
default: (0, import_vue.withCtx)(() => [
|
||||
(0, import_vue.createTextVNode)("360\xB0\u5168\u666F")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
(0, import_vue.createVNode)(_component_button, {
|
||||
onClick: _cache[4] || (_cache[4] = ($event) => $options.switchDisplay(4))
|
||||
}, {
|
||||
default: (0, import_vue.withCtx)(() => [
|
||||
(0, import_vue.createTextVNode)("\u73AF\u72B6\u5168\u666F")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
(0, import_vue.createVNode)(_component_button, { onClick: $options.startAlarm }, {
|
||||
default: (0, import_vue.withCtx)(() => [
|
||||
(0, import_vue.createTextVNode)("\u5F00\u542F\u624B\u52A8\u62A5\u8B66")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}, 8, ["onClick"]),
|
||||
(0, import_vue.createVNode)(_component_button, { onClick: $options.stopAlarm }, {
|
||||
default: (0, import_vue.withCtx)(() => [
|
||||
(0, import_vue.createTextVNode)("\u505C\u6B62\u624B\u52A8\u62A5\u8B66")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}, 8, ["onClick"]),
|
||||
(0, import_vue.createVNode)(_component_button, {
|
||||
onClick: _cache[5] || (_cache[5] = ($event) => $options.flipImage(0))
|
||||
}, {
|
||||
default: (0, import_vue.withCtx)(() => [
|
||||
(0, import_vue.createTextVNode)("\u5DE6\u53F3\u7FFB\u8F6C")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
(0, import_vue.createVNode)(_component_button, {
|
||||
onClick: _cache[6] || (_cache[6] = ($event) => $options.flipImage(1))
|
||||
}, {
|
||||
default: (0, import_vue.withCtx)(() => [
|
||||
(0, import_vue.createTextVNode)("\u4E0A\u4E0B\u7FFB\u8F6C")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
(0, import_vue.createVNode)(_component_button, {
|
||||
onClick: _cache[7] || (_cache[7] = ($event) => $options.flipImage(2))
|
||||
}, {
|
||||
default: (0, import_vue.withCtx)(() => [
|
||||
(0, import_vue.createTextVNode)("\u4E2D\u5FC3\u7FFB\u8F6C")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
(0, import_vue.createVNode)(_component_button, {
|
||||
onClick: _cache[8] || (_cache[8] = ($event) => $options.flipImage(3))
|
||||
}, {
|
||||
default: (0, import_vue.withCtx)(() => [
|
||||
(0, import_vue.createTextVNode)("\u987A\u65F6\u948890\xB0")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
(0, import_vue.createVNode)(_component_button, {
|
||||
onClick: _cache[9] || (_cache[9] = ($event) => $options.flipImage(4))
|
||||
}, {
|
||||
default: (0, import_vue.withCtx)(() => [
|
||||
(0, import_vue.createTextVNode)("\u9006\u65F6\u948890\xB0")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
(0, import_vue.createVNode)(_component_button, {
|
||||
onClick: _cache[10] || (_cache[10] = ($event) => $options.flipImage(5))
|
||||
}, {
|
||||
default: (0, import_vue.withCtx)(() => [
|
||||
(0, import_vue.createTextVNode)("\u9006\u65F6\u9488180\xB0")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
(0, import_vue.createVNode)(_component_button, {
|
||||
onClick: _cache[11] || (_cache[11] = ($event) => $options.flipImage(6))
|
||||
}, {
|
||||
default: (0, import_vue.withCtx)(() => [
|
||||
(0, import_vue.createTextVNode)("\u4E0D\u7FFB\u8F6C")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}),
|
||||
(0, import_vue.createVNode)(_component_button, { onClick: $options.resumeOrPause }, {
|
||||
default: (0, import_vue.withCtx)(() => [
|
||||
(0, import_vue.createTextVNode)("\u6682\u505C/\u7EE7\u7EED")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}, 8, ["onClick"]),
|
||||
(0, import_vue.createVNode)(_component_button, { onClick: $options.changeQuality }, {
|
||||
default: (0, import_vue.withCtx)(() => [
|
||||
(0, import_vue.createTextVNode)("\u5207\u6362\u6E05\u6670\u5EA6")
|
||||
]),
|
||||
_: 1
|
||||
/* STABLE */
|
||||
}, 8, ["onClick"])
|
||||
])
|
||||
])
|
||||
]);
|
||||
}
|
||||
var ceshianzhuo = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app/pages/ceshianzhuo.nvue"]]);
|
||||
|
||||
// <stdin>
|
||||
var webview = plus.webview.currentWebview();
|
||||
if (webview) {
|
||||
const __pageId = parseInt(webview.id);
|
||||
const __pagePath = "pages/ceshianzhuo";
|
||||
let __pageQuery = {};
|
||||
try {
|
||||
__pageQuery = JSON.parse(webview.__query__);
|
||||
} catch (e) {
|
||||
}
|
||||
ceshianzhuo.mpType = "page";
|
||||
const app = Vue.createPageApp(ceshianzhuo, { $store: getApp({ allowDefault: true }).$store, __pageId, __pagePath, __pageQuery });
|
||||
app.provide("__globalStyles", Vue.useCssStyles([...__uniConfig.styles, ...ceshianzhuo.styles || []]));
|
||||
app.mount("#root");
|
||||
}
|
||||
})();
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
}
|
||||
.logo {
|
||||
height: 6.25rem;
|
||||
width: 6.25rem;
|
||||
margin-top: 6.25rem;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-bottom: 1.5625rem;
|
||||
}
|
||||
.text-area {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.title {
|
||||
font-size: 1.125rem;
|
||||
color: #8f8f94;
|
||||
}
|
||||
.typebutton{
|
||||
width: 9.375rem;
|
||||
height: 4.6875rem;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-top: 0.9375rem;
|
||||
color: #fff;
|
||||
}
|
||||
|
|
@ -1595,10 +1595,7 @@ uni-button.cuIcon.lg[data-v-bf1d6c35] {
|
|||
position: relative;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
background: url("../../static/index/lightbgcnew.png") center / cover, rgba(255, 255, 255, 0.6);
|
||||
background-blend-mode: screen;
|
||||
background-size: cover;
|
||||
background-position: center center;
|
||||
background-color: #eff0f4;
|
||||
overflow: hidden;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
|
|
|||
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue