litian
10 小时以前 aff8d054df4a638f399dc8f15d98c19b9c9aa785
扫码视频播放
1个文件已修改
11 ■■■■■ 已修改文件
packageDomain/pages/resourceDetails/myVideo/index.js 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageDomain/pages/resourceDetails/myVideo/index.js
@@ -436,21 +436,18 @@
              }
              this.setData({
                showData: app.config.requestCtx + '/file/api/ApiDownloadForAuthorize?md5=' + file + '&token=' + wx.getStorageSync(app.config.tokenKey),
                titleName: items.name
                titleName: items.name,
                selectedId: index
              })
              this.aliVod(file, this.data.showData)
            } else {
              this.setData({
                showData: items.file ? app.config.requestCtx + '/file/api/ApiDownload?md5=' + items.file : app.config.requestCtx + '/file/api/ApiDownload?md5=' + items.freeFile,
                titleName: items.name
                titleName: items.name,
                selectedId: index
              })
              this.aliVod(items.file, this.data.showData)
            }
            let selectedIndex = index; // 存储选中项的索引
            console.log(selectedIndex, "selectedIndex")
            this.setData({
              selectedId: selectedIndex // 设置选中项的索引
            });
          }
        });
      } else {