|
|
@ -183,11 +183,11 @@ |
|
|
}, 500) |
|
|
}, 500) |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
onHide() { |
|
|
onHide() { |
|
|
if(this.userType=='user' && this.isPlay){ |
|
|
if(this.userType=='user' && this.isPlay){ |
|
|
this.isPlay = false; |
|
|
this.isPlay = false; |
|
|
this.innerAudioContext.pause(); |
|
|
this.innerAudioContext.pause(); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
created() { |
|
|
created() { |
|
|
this.userType = uni.getStorageSync('userType'); |
|
|
this.userType = uni.getStorageSync('userType'); |
|
|
|