人生啊人生 1 сар өмнө
parent
commit
4e75762b79

+ 25 - 2
src/view/student/trainMain/assessmentSelect.vue

@@ -4,11 +4,15 @@
         <div class="content" >
         <div class="content" >
             
             
             <div class="card liLunKaoHe" >
             <div class="card liLunKaoHe" >
-
+                <div class="txt" >
+                    理论考核
+                </div>
             </div>
             </div>
 
 
             <div class="card shiJiKaoHe" >
             <div class="card shiJiKaoHe" >
-
+                <div class="txt" >
+                    实训考核
+                </div>
             </div>
             </div>
 
 
         </div>
         </div>
@@ -47,6 +51,7 @@ onMounted(() => {
     .content {
     .content {
 
 
         .card {
         .card {
+            position: relative;
             width: 31.85rem;
             width: 31.85rem;
             height: 42.71rem;
             height: 42.71rem;
             display: inline-block;
             display: inline-block;
@@ -57,6 +62,17 @@ onMounted(() => {
             background-size: 100% auto;
             background-size: 100% auto;
             background-repeat: no-repeat;
             background-repeat: no-repeat;
             background-position: center center;
             background-position: center center;
+
+            .txt {
+                position: absolute;
+                width: 100%;
+                font-weight: 500;
+                font-size: 2.5rem;
+                color: #BBD3CF;
+                text-align: center;
+                bottom: 9.64rem;
+            }
+
         }
         }
 
 
         .liLunKaoHe {
         .liLunKaoHe {
@@ -65,6 +81,10 @@ onMounted(() => {
 
 
         .liLunKaoHe:hover {
         .liLunKaoHe:hover {
             background-image: url(/src/assets/student/step/new/LiLunKaoHe_Yes.webp);
             background-image: url(/src/assets/student/step/new/LiLunKaoHe_Yes.webp);
+
+            .txt {
+                color: #9DFFD7;
+            }
         }
         }
 
 
         .shiJiKaoHe {
         .shiJiKaoHe {
@@ -73,6 +93,9 @@ onMounted(() => {
 
 
         .shiJiKaoHe:hover {
         .shiJiKaoHe:hover {
             background-image: url(/src/assets/student/step/new/ShiJiKaoHe_Yes.webp);
             background-image: url(/src/assets/student/step/new/ShiJiKaoHe_Yes.webp);
+            .txt {
+                color: #9DFFD7;
+            }
         }
         }
 
 
     }
     }