diff --git a/ant-design-vue-jeecg/src/views/cms/pages/professionalSummary/professionalSummary.vue b/ant-design-vue-jeecg/src/views/cms/pages/professionalSummary/professionalSummary.vue index 78de12c..7c86050 100644 --- a/ant-design-vue-jeecg/src/views/cms/pages/professionalSummary/professionalSummary.vue +++ b/ant-design-vue-jeecg/src/views/cms/pages/professionalSummary/professionalSummary.vue @@ -45,6 +45,30 @@ + + + + +
+ 张三老师 +
+ + 查看详情 +
+
+
+
查看更多
+
+
+ + + + + + + + @@ -68,7 +92,13 @@ export default { url:{ detail:"/cms/front/getArticleListByColumn" }, - originalList:[] + originalList:[], + carouselItems: [ + { content: 'Item 1' }, + { content: 'Item 2' }, + { content: 'Item 3' }, + // Add more items as needed + ] } }, @@ -90,6 +120,7 @@ export default { return '/cms/TeacherDemeanor' } }, + getList(){ getAction(this.url.detail,{columnId:"1640260238858096641"}).then((res) => { console.log("res.result.records") @@ -115,6 +146,22 @@ export default { } } ) + }, + goToTeacherDetail(){ + this.$router.push({ + path:"/cms/teacherDetails", + query:{ + teacherInfo:{}, + } + }) + }, + goToTeacherList(){ + this.$router.push({ + path:"/cms/teacherDemeanor", + query:{ + + } + }) } }, components: { @@ -216,4 +263,49 @@ export default { .bigbox:nth-child(even) .image { order: 2; } +.custom-carousel { + width: 100%; + overflow: hidden; +} + +.carousel-slide { + display: inline-block; + width: 25%; /* Adjust the width based on the number of items you want to display */ + padding: 10px; + box-sizing: border-box; + text-align: center; +} + .jsfc{ + height: 380px;display:flex;justify-content: space-between;align-items: center; + .zzc{ + opacity: 0; + } + } +.jsfc .jsfc-item:last-child{ + position: relative; + .zzc{ + position: absolute; + width: 100%; + height: 388px; + background: linear-gradient(to right,transparent,#000); + opacity: 0.4; + top: 0; + display: flex; + align-items: flex-end; + justify-content: center; + flex-direction: column; + padding-right: 20px; + span{ + width: 1em; + color: #fff; + margin-bottom: 10px; + cursor: pointer; + transition: all 0.3s; + font-size: 14px; + &:hover{ + color: #409EFF; + } + } + } +} \ No newline at end of file