Commit 47da0da8 by 李伟康

Merge branch 'v1.0.6' into 'v1.0.7'

V1.0.6

See merge request !1
2 parents 1e08060a e60e1645
...@@ -27,6 +27,12 @@ export default { ...@@ -27,6 +27,12 @@ export default {
}; };
}, },
mounted() { mounted() {
// 获取当前页面栈数组
const pages = getCurrentPages();
const currentPage = pages[pages.length - 1];
const route = currentPage.route;
const url = ["pages/home/home", "pages/boutique/index"];
if (url.includes(route)) return;
this.initTime(); this.initTime();
// this.checkVoice(); // this.checkVoice();
}, },
...@@ -351,6 +357,7 @@ export default { ...@@ -351,6 +357,7 @@ export default {
initTime() { initTime() {
if (this.audioInfo.audioStatus != "start") return; if (this.audioInfo.audioStatus != "start") return;
this.timer = setInterval(() => { this.timer = setInterval(() => {
console.log(this.times);
this.times++; this.times++;
if (this.times >= this.timeout) { if (this.times >= this.timeout) {
this.$refs.tipBox?.open(); this.$refs.tipBox?.open();
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
class="content" class="content"
id="content" id="content"
> >
<template v-if=" <template v-if="views && views[firstIndex] && views[firstIndex].noGroupReceptionSourceDetailInfoList &&
views[firstIndex].noGroupReceptionSourceDetailInfoList.length > views[firstIndex].noGroupReceptionSourceDetailInfoList.length >
0 0
"> ">
...@@ -158,6 +158,7 @@ ...@@ -158,6 +158,7 @@
</view> </view>
</view> </view>
<image <image
v-if="views && views[firstIndex] && views[firstIndex].receptionSourceDetailInfoList"
:src="animationList[firstIndex]" :src="animationList[firstIndex]"
mode="scaleToFill" mode="scaleToFill"
class="img-animate" class="img-animate"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!