This commit is contained in:
2024-07-17 14:06:06 +08:00
parent 5c589a22fa
commit 11e9354b54
278 changed files with 331052 additions and 3935 deletions

View File

@@ -12,7 +12,17 @@
}`"
>
<view :style="`background:#000`">
<common-video-ios
v-if="$platform == 'ios'"
@changeScreen="changeScreen"
@changeScreenLoading="changeScreenLoading"
ref="commonVideo"
:currentVideo="currentVideo"
:currentVideoList="videoArray"
>
</common-video-ios>
<common-video
v-else
@changeScreen="changeScreen"
@changeScreenLoading="changeScreenLoading"
ref="commonVideo"
@@ -20,6 +30,7 @@
:currentVideoList="videoArray"
>
</common-video>
<!-- <view style="height: 200px" v-else></view> -->
</view>
@@ -238,8 +249,6 @@
@confirm="hancleModalConfirm"
@cancel="hancleModalCancel"
></u-modal> -->
</view>
</template>
@@ -327,7 +336,7 @@ export default {
};
},
onLoad(options) {
this.options = options;
this.options = options;
this.getCourseDescriptionData();
// plus.screen.lockOrientation("default");
this.screenLoading = false;
@@ -336,7 +345,6 @@ export default {
// plus.screen.unlockOrientation(); //解除锁定屏幕方向
// plus.screen.lockOrientation("portrait-primary");
// this.getUserInfo()
// this.getCateList()
},
@@ -476,12 +484,11 @@ export default {
// id: "16457",
};
var that = this;
$http
.request({
// url: "book/buyOrder/buySave",
url:'sociology/course/getCourseCatalogueChapterDetail',
url: "sociology/course/getCourseCatalogueChapterDetail",
method: "POST", // POST、GET、PUT、DELETE具体说明查看官方文档
data,
header: {
@@ -489,9 +496,9 @@ export default {
"Content-Type": "application/json",
},
})
.then(async (res) => {
.then(async (res) => {
console.log(this.$store.state, "11111111111");
console.log('res at line 491:', res)
console.log("res at line 491:", res);
that.curriculumData = res.data.detail;
that.videoArray = res.data.videos;
if (that.videoArray.length > 0) {