人生啊人生 1 місяць тому
батько
коміт
4e75762b79
1 змінених файлів з 25 додано та 2 видалено
  1. 25 2
      src/view/student/trainMain/assessmentSelect.vue

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

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