Commit 0f1f93bf authored by youjie's avatar youjie

no message

parent 92b3f1bb
...@@ -17,10 +17,10 @@ ...@@ -17,10 +17,10 @@
<div class="content-title teacherName">老师名字</div> <div class="content-title teacherName">老师名字</div>
<div class="content-title traineesName activeOne">学员名字</div> <div class="content-title traineesName activeOne">学员名字</div>
<div class="right-content" v-for="item in 3"> <div class="right-content" v-for="item in 3">
<div class="content-single">语音1语音1语音1语音1</div> <!-- <div class="content-single activeOne">语音1语音1语音1语音1</div> -->
<div class="content-multiple"> <div class="content-multiple fit row">
<div class="content-tetx">理解1语音1语音1语音1</div> <div class="content-tetx activeOne">理解</div>
<div class="content-tetx">活动2</div> <div class="content-tetx activeTwo">活动2</div>
</div> </div>
<div class="content-show"> <div class="content-show">
<div></div> <div></div>
...@@ -162,9 +162,9 @@ ...@@ -162,9 +162,9 @@
border-right: 1px solid #DDDEE0; border-right: 1px solid #DDDEE0;
} }
.right-content{ .right-content{
display: flex; /* display: flex;
flex-direction: column; flex-direction: column; */
width: 80px; width: 90px;
height: 40px; height: 40px;
border-bottom: 1px solid #DDDEE0; border-bottom: 1px solid #DDDEE0;
border-right: 1px solid #DDDEE0; border-right: 1px solid #DDDEE0;
...@@ -177,19 +177,26 @@ ...@@ -177,19 +177,26 @@
.content-single,.content-tetx{ .content-single,.content-tetx{
flex: 1; flex: 1;
flex-shrink: 0; flex-shrink: 0;
line-height: 40px;
text-align: center; text-align: center;
overflow: hidden; word-break: break-all;
white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; /** 对象作为伸缩盒子模型显示 **/
-webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/
-webkit-line-clamp: 2; /** 显示的行数 **/
overflow: hidden;
padding: 0 5px; padding: 0 5px;
display: flex;
align-items: center;
justify-content: center;
} }
.right-content.activeOne{ .content-single.activeOne,.content-tetx.activeOne{
background: #6FE053; background: #6FE053;
} }
.right-content.activeTwo{ .content-tetx.activeTwo,.content-tetx.activeTwo{
background: #FA716A; background: #FA716A;
color: white; }
.content-tetx.activeThree,.content-tetx.activeThree{
background: #BDD7EE;
} }
.content-tetx{ .content-tetx{
border-right: 1px solid #DDDEE0; border-right: 1px solid #DDDEE0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment