mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 11:26:43 +08:00
Compare commits
9 Commits
master-062
...
20250918-c
| Author | SHA1 | Date | |
|---|---|---|---|
| 0b0789feda | |||
| 70bb87a17a | |||
| 4e60811542 | |||
|
|
075fdb1913 | ||
|
|
8c7569ae4e | ||
|
|
56f565cbf3 | ||
|
|
c15f52e325 | ||
|
|
98c10e703e | ||
|
|
2078c128c9 |
@@ -5,8 +5,8 @@
|
|||||||
<!-- 当轮播图等于一张时 -->
|
<!-- 当轮播图等于一张时 -->
|
||||||
<swiper :options="swiperOptiontwo">
|
<swiper :options="swiperOptiontwo">
|
||||||
<swiper-slide style="margin: 0 auto" v-for="(item, idx) in resonimg" :key="'a' + idx"
|
<swiper-slide style="margin: 0 auto" v-for="(item, idx) in resonimg" :key="'a' + idx"
|
||||||
class="swiper-slide games pointer">
|
class="swiper-slide games pointer" >
|
||||||
<div class="bannbox" :style="{
|
<div class="bannbox" @click="handleCarouselClick(item)" :style="{
|
||||||
background: `url(${fileBaseUrl + item.image
|
background: `url(${fileBaseUrl + item.image
|
||||||
}) center center no-repeat`,
|
}) center center no-repeat`,
|
||||||
}"></div>
|
}"></div>
|
||||||
@@ -17,8 +17,8 @@
|
|||||||
<div id="container" style="z-index: 99" v-else>
|
<div id="container" style="z-index: 99" v-else>
|
||||||
<swiper :options="swiperOption" ref="mySwiper" v-if="resonimg.length > 1">
|
<swiper :options="swiperOption" ref="mySwiper" v-if="resonimg.length > 1">
|
||||||
<swiper-slide style="margin: 0 auto" v-for="(item, idx) in resonimg" :key="'b' + idx"
|
<swiper-slide style="margin: 0 auto" v-for="(item, idx) in resonimg" :key="'b' + idx"
|
||||||
class="swiper-slide games pointer">
|
class="swiper-slide games pointer" >
|
||||||
<div class="bannbox" :style="{
|
<div class="bannbox" @click="handleCarouselClick(item)" :style="{
|
||||||
background: `url(${fileBaseUrl + item.image
|
background: `url(${fileBaseUrl + item.image
|
||||||
}) center center no-repeat`,
|
}) center center no-repeat`,
|
||||||
}"></div>
|
}"></div>
|
||||||
@@ -220,7 +220,7 @@ export default {
|
|||||||
autoplay: false,
|
autoplay: false,
|
||||||
// noSwiping: true,
|
// noSwiping: true,
|
||||||
},
|
},
|
||||||
resonimg: [],
|
// resonimg: [],
|
||||||
swiperOption: {
|
swiperOption: {
|
||||||
autoplay: {
|
autoplay: {
|
||||||
delay: 2000,
|
delay: 2000,
|
||||||
@@ -249,6 +249,13 @@ export default {
|
|||||||
this.getToolData()
|
this.getToolData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 添加点击轮播图跳转的方法
|
||||||
|
handleCarouselClick(item) {
|
||||||
|
if (item.url) {
|
||||||
|
window.open(item.url, '_blank');
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
downTool(toolInfo) {
|
downTool(toolInfo) {
|
||||||
console.log(toolInfo);
|
console.log(toolInfo);
|
||||||
window.open(`/activityApi/xboe/m/boe/tools/url/download?urlStr=${process.env.VUE_APP_BOE_WEB_URL}/upload${toolInfo.filePath}&fileName=${toolInfo.name}`)
|
window.open(`/activityApi/xboe/m/boe/tools/url/download?urlStr=${process.env.VUE_APP_BOE_WEB_URL}/upload${toolInfo.filePath}&fileName=${toolInfo.name}`)
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<div class="navTop">
|
<div class="navTop">
|
||||||
<div>
|
<div>
|
||||||
<router-link to="/grateful" class="nav">首页</router-link> >
|
<router-link to="/grateful" class="nav">首页</router-link> >
|
||||||
<span style="cursor: pointer;" class="nav">认证讲师库(2023)</span>
|
<span style="cursor: pointer;" class="nav">认证讲师库</span>
|
||||||
</div>
|
</div>
|
||||||
<div style="position: relative;">
|
<div style="position: relative;">
|
||||||
<el-input class="portal-input" placeholder="请输入课程名称" style="border-radius: 20px !important; "
|
<el-input class="portal-input" placeholder="请输入课程名称" style="border-radius: 20px !important; "
|
||||||
|
|||||||
@@ -177,7 +177,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 课程单元 -->
|
<!-- 课程单元 -->
|
||||||
<div class="course-units" v-if="tab == 1">
|
<div class="course-units" v-if="tab == 1">
|
||||||
<div :style="`height: ${controlHeight}px;overflow-y: auto;`">
|
<div style="min-height: 350px;max-height: 650px ;overflow-y: auto;">
|
||||||
<div class="catalog" v-if="courseInfo.type == 20">
|
<div class="catalog" v-if="courseInfo.type == 20">
|
||||||
<div v-for="(item, index) in catalogTree" :key="index" :name="index">
|
<div v-for="(item, index) in catalogTree" :key="index" :name="index">
|
||||||
<el-menu
|
<el-menu
|
||||||
@@ -816,7 +816,8 @@
|
|||||||
}else if(h>500){
|
}else if(h>500){
|
||||||
h=h+60;
|
h=h+60;
|
||||||
}
|
}
|
||||||
$this.controlHeight=h-95;
|
// 移除高度控制 防止内容塌陷
|
||||||
|
// $this.controlHeight=h-95;
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
@@ -1800,7 +1801,7 @@
|
|||||||
margin: 20px auto;
|
margin: 20px auto;
|
||||||
.course-playbox {
|
.course-playbox {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
min-height: 400px;
|
//min-height: 400px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
.course-player-container {
|
.course-player-container {
|
||||||
|
|||||||
Reference in New Issue
Block a user