谢杰标 2 éve
szülő
commit
4d87d8db2b
1 módosított fájl, 3 hozzáadás és 2 törlés
  1. 3 2
      pages3/polyv/detail.vue

+ 3 - 2
pages3/polyv/detail.vue

@@ -2952,7 +2952,7 @@ export default {
         // #ifdef H5
         this.playTime = polyvPlayerContext.j2s_getCurrentTime();
         // #endif
-        this.configPhoto();
+        !this.erJianErZao ? this.configPhoto() : this.randomConfig();
         console.info(this.photoList, "photoList");
         let photoTime = 0; //获取拍照秒数
         for (let i = 0; i < this.photoList.length; i++) {
@@ -3057,10 +3057,11 @@ export default {
       }
       if (newstate.detail.newstate == "pause") {
         this.pauseTime = Date.now();
-        console.log("小程序暂停",this.pauseTime);
+        console.log("小程序暂停", this.pauseTime);
         clearInterval(this.timer);
       }
       if (newstate.detail.newstate == "ended") {
+        this.pauseTime = 0;
         clearInterval(this.timer);
         uni.showToast({
           icon: "none",