Browse Source

Merge branch 'develop/3.1.5' into test

DESKTOP-SVI9JE1\muzen 1 năm trước cách đây
mục cha
commit
9bde86b6c6
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/pages/content/index.vue

+ 2 - 1
src/pages/content/index.vue

@@ -105,7 +105,8 @@ export default {
     // 单个音频
     getPlay(item) {
       if (this.inside) {
-        openPage.postMessage(`?page=/mobile/audioPage&audioId=${item.contentInfo.audioId}&audioType=${item.contentInfo.audioType}&platformId=${item.platformId}&playStatus=1&openAudioPage=0&cmd=openPage`)
+        let e = item.playStatus !== 1 ? 1 : 2 
+        openPage.postMessage(`?page=/mobile/audioPage&audioId=${item.contentInfo.audioId}&audioType=${item.contentInfo.audioType}&platformId=${item.platformId}&playStatus=${e}&openAudioPage=0&cmd=openPage`)
         window['setOpenPage'] = res => {
           this.form.contentShareLayoutList.map(i => i.playStatus = 2)
           item.playStatus = JSON.parse(res).status