提交 c270ab20 编写于 作者: guangjun.yang's avatar guangjun.yang

更换视频组件

上级 6fff05bb
...@@ -220,7 +220,6 @@ export default { ...@@ -220,7 +220,6 @@ export default {
data() { data() {
return { return {
coverType: 0, coverType: 0,
// token: "9B62E5874DA94979A54DB3E9DFC1443F",
downloadTips: "打开云鹊医APP", downloadTips: "打开云鹊医APP",
isWeb: window.__isWeb, isWeb: window.__isWeb,
isAndroid: __isAndroid, isAndroid: __isAndroid,
...@@ -480,8 +479,6 @@ export default { ...@@ -480,8 +479,6 @@ export default {
}); });
}, },
// 跳转到原生的购买页面
// TODO 没有购买逻辑了
confirm() { confirm() {
// this.$sendBuriedData({ // this.$sendBuriedData({
// component_tag: `882#88203` // component_tag: `882#88203`
...@@ -659,11 +656,14 @@ export default { ...@@ -659,11 +656,14 @@ export default {
// 判断是否是mp4 // 判断是否是mp4
if (mp4Url.lastIndexOf(".mp4") > 0) { if (mp4Url.lastIndexOf(".mp4") > 0) {
_this.bannerType = 2; _this.bannerType = 2;
_this.$refs.picaVideo.switchUrl({ this.$nextTick( () => {
url: mp4Url, console.log('_this.$refs.picaVideo', _this.$refs.picaVideo);
proved: _this.videoOptions.trySeeTime, _this.$refs.picaVideo.switchUrl({
enable: true, url: mp4Url,
}); proved: _this.videoOptions.trySeeTime,
enable: true,
});
})
// // TODO test // // TODO test
// _this.videoOptions.mp4 += 2; // _this.videoOptions.mp4 += 2;
} else { } else {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册