SanHQin 1 سال پیش
والد
کامیت
80ab01b975
1فایلهای تغییر یافته به همراه19 افزوده شده و 5 حذف شده
  1. 19 5
      src/components/pages/testPerson/test/test.vue

+ 19 - 5
src/components/pages/testPerson/test/test.vue

@@ -35,16 +35,16 @@
                     </div>
                     <div class="time">
                         <span v-if="item.overtime" :class="{isDead: isDeadlinePassed(item.overtime)}">截止时间:{{ item.overtime }}</span>
-                        <span v-else>-</span>
+                        <span v-else></span>
                     </div>
-                    <div class="creator" :style="{paddingRight:(!item.carray.length > 0) ? '0' : '78px'}">
+                    <div class="creator" :style="{paddingRight:(!item.carray.length > 0) ? '0' : '0px'}">
                         <el-tooltip :content="item.username" placement="top" effect="dark">
                             <span>创建者:{{ item.username }}</span>
                         </el-tooltip>
                     </div>
-                    <div @click="doTest2(item.courseid)" class="editBtn" v-if="!item.carray.length > 0">
+                    <div @click="doTest2(item.courseid)" class="editBtn" :style="`${item.open?'display:flex':''}`" v-if="!item.carray.length > 0">
                         <span v-if="item.array.length === 0">去填写</span>
-                        <span v-else>再填</span>
+                        <span v-else>再填一份</span>
                     </div>
                 </div>
                 <div class="test_panel_box" v-if="item.open">
@@ -736,6 +736,19 @@ export default {
     box-shadow: 0 2px 5px 1px #0001;
 }
 
+.test_panel:hover{
+	box-shadow: 0 0 2px 1px #3681FC;
+}
+
+.test_panel:hover>.test_panel_title>.title{
+	color:#5996FD
+}
+
+.test_panel_title:hover>.editBtn{
+	display: flex;
+}
+
+
 .test_panel+.test_panel {
     margin-top: 15px;
 }
@@ -830,10 +843,11 @@ export default {
     color: #fff;
     background: #3681fc;
     height: 100%;
-    display: flex;
+    display: none;
     align-items: center;
     padding: 0 15px;
     cursor: pointer;
+		
 }
 
 .test_panel_title>.time>span+span {