diff --git a/common/config.js b/common/config.js
index 59feecd..191473b 100644
--- a/common/config.js
+++ b/common/config.js
@@ -1,6 +1,6 @@
-// const ROOTPATH1 = "https://dj-api.hnsiyao.cn/czg"; //
-// const ROOTPATH = "https://dj-api.hnsiyao.cn/czg"; //后台服务域名
-// const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名
+const ROOTPATH1 = "https://dj-api.hnsiyao.cn/czg"; //
+const ROOTPATH = "https://dj-api.hnsiyao.cn/czg"; //后台服务域名
+const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名
// const ROOTPATH1 = "https://video.hnsiyao.cn/sqx_fast/"; //
// const ROOTPATH = "https://video.hnsiyao.cn/sqx_fast/"; //后台服务域名
@@ -13,9 +13,9 @@
// const ROOTPATH1 = "http://192.168.1.41:8100/czg"; //
// const ROOTPATH = "http://192.168.1.41:8100/czg"; //后台服务域名
// 测试
-const ROOTPATH1 = "https://web-api.hnsiyao.cn/czg"; //
-const ROOTPATH = "https://web-api.hnsiyao.cn/czg"; //后台服务域名
-const ROOTPATH2 = "https://video-h5.hnsiyao.cn"; //后台服务域名
+// const ROOTPATH1 = "https://web-api.hnsiyao.cn/czg"; //
+// const ROOTPATH = "https://web-api.hnsiyao.cn/czg"; //后台服务域名
+// const ROOTPATH2 = "https://video-h5.hnsiyao.cn"; //后台服务域名
module.exports = {
diff --git a/me/detail/detail.vue b/me/detail/detail.vue
index f12a1d4..84beef4 100644
--- a/me/detail/detail.vue
+++ b/me/detail/detail.vue
@@ -400,6 +400,10 @@
+
+
+
@@ -472,6 +476,7 @@ export default {
payPrice: 0, //需要支付的价格
showMoney: false, //是否显示充值弹窗
dyCourseId: '',
+ show:false,
nowBs: 1, //当前倍速
subList: [
{
@@ -983,9 +988,10 @@ export default {
this.showPay = true;
this.noBuyVideoIndex = this.current;
}else{
- uni.navigateTo({
- url:'/pages/login/login'
- })
+ this.$refs.alertDialog.open()
+ // uni.navigateTo({
+ // url:'/pages/login/login'
+ // })
}
@@ -1628,6 +1634,7 @@ export default {
this.startPlay(this.current);
//更新视图
this.$forceUpdate();
+
//关闭选择弹窗
// #ifdef MP-KUAISHOU
this.$refs.popupBsss.close();
@@ -1994,13 +2001,15 @@ export default {
});
},
startPlay(current) {
- console.log(222222);
if (this.videoContext) {
//判断之前是否有视频的上下文
this.videoContext.stop();
this.videoContext = null;
}
- console.log(this.videoList[current]);
+ console.log(current,1111);
+ console.log(this.videoList,333);
+ console.log(this.videoList[current],2222);
+
let numIdCurr = this.videoList[current].courseDetailsId;
if (this.videoList[current].videoUrl) {
//已经购买可直接播放
@@ -2025,15 +2034,30 @@ export default {
this.showPay = true;
this.noBuyVideoIndex = this.current;
}else{
- uni.navigateTo({
- url:'/pages/login/login'
- })
+ this.$refs.alertDialog.open()
+ // this.show = true
}
}
},
+ dialogClose(){
+ // this.$nextTick(() => {
+ // //播放当前的
+ // this.videoContext.play();
+ // this.$forceUpdate();
+ // this.setWxUrl();
+ // });
+ this.$router.go(0)
+
+ },
+ dialogConfirm (){
+ // console.log('提交')
+ uni.navigateTo({
+ url:'/pages/login/login'
+ })
+ },
//播放时的回掉
videoPlay(videoId) {
this.$Request
diff --git a/me/detail/detailIOS.nvue b/me/detail/detailIOS.nvue
index a0c453f..4b1f770 100644
--- a/me/detail/detailIOS.nvue
+++ b/me/detail/detailIOS.nvue
@@ -295,6 +295,10 @@
+
+
+