diff --git a/pages/application/safetymeeting/safetymeeting-detail.vue b/pages/application/safetymeeting/safetymeeting-detail.vue
index 93cbdbc..ef1b3f2 100644
--- a/pages/application/safetymeeting/safetymeeting-detail.vue
+++ b/pages/application/safetymeeting/safetymeeting-detail.vue
@@ -37,7 +37,8 @@
-
+
+
@@ -150,6 +151,8 @@
LIVEPHOTOS: '',
SIGNATUREPICTURE: '',
ATTENDANCE_STATUS: '',
+ videoContext:null,
+ isPlayVideo: false,
}
},
onLoad(e){
@@ -159,6 +162,13 @@
},
methods: {
+ playVideo(){
+ if (!this.videoContext) {
+ this.videoContext = uni.createVideoContext("video");
+ }
+ this.videoContext.play();
+ this.isPlayVideo = true;
+ },
//跳转事件
goToEdit(e) {
uni.navigateTo({
@@ -467,6 +477,8 @@
this.$refs['showHiddenWindow'].open()
this.showHiddenWindow = true
this.hiddenIsEdit = true
+ this.videoContext && this.videoContext.pause()
+ this.isPlayVideo = false
},
openAuth(permissionID){
diff --git a/pages/basics/basic-info/confirm.vue b/pages/basics/basic-info/confirm.vue
index 2013635..3d2a283 100644
--- a/pages/basics/basic-info/confirm.vue
+++ b/pages/basics/basic-info/confirm.vue
@@ -45,7 +45,15 @@