This commit is contained in:
lmj
2022-10-10 15:14:53 +08:00
parent dc003873dd
commit e87fc494d1
2 changed files with 7 additions and 6 deletions

View File

@@ -1,8 +1,8 @@
<template> <template>
<!--用于显示课程的图片--> <!--用于显示课程的图片-->
<div class="img-box" id="img-box"> <div style="border-radius: 5px;" class="img-box" id="img-box">
<el-image <el-image
style="background-color: #eeeeee" style="background-color: #eeeeee;border-radius: 5px;"
:style="`width:${width};height:${height};`" :style="`width:${width};height:${height};`"
fit="fill " fit="fill "
:src="imageUrl" :src="imageUrl"

View File

@@ -923,15 +923,16 @@ export default {
} }
.course-type{ .course-type{
position: absolute; position: absolute;
left: 0; right: 23.5%;
bottom: 26%; // bottom: 26%;
top:0;
height: 20; height: 20;
line-height: 20px; line-height: 20px;
font-size: 12px; font-size: 12px;
color: #FFFFFF; color: #FFFFFF;
padding: 0px 8px; padding: 0px 8px;
background: #387DF7 ; background: #f99000 ;
border-radius: 0px 12px 0px 0px; border-radius: 0px 0px 0px 10px;
} }
} }
.list-text{ .list-text{