Przeglądaj źródła

大屏证件号展示问题修改

zhangjie 2 lat temu
rodzic
commit
061bf4fb08

+ 5 - 5
src/features/invigilation/ExamInvigilation/datas.js

@@ -7,7 +7,7 @@ export const studentVideoList = [
     examActivityId: "255274329125171200",
     examStudentId: "1522766012435914753",
     examRecordId: "259318134736424960",
-    identity: "42011406159",
+    identity: "42011406159-12345678901234",
     roomCode: "001",
     roomName: "测试001",
     name: "李萌",
@@ -40,7 +40,7 @@ export const studentVideoList = [
     examActivityId: "255274329125171200",
     examStudentId: "1522766012473663489",
     examRecordId: "259318142240034817",
-    identity: "42011406194",
+    identity: "42011406194-12345678901234",
     roomCode: "001",
     roomName: "测试001",
     name: "徐晓",
@@ -73,7 +73,7 @@ export const studentVideoList = [
     examActivityId: "255274329125171200",
     examStudentId: "1522766012318474241",
     examRecordId: "259318111927799808",
-    identity: "42011406050",
+    identity: "42011406050-12345678901234",
     roomCode: "001",
     roomName: "测试001",
     name: "张国",
@@ -106,7 +106,7 @@ export const studentVideoList = [
     examActivityId: "255274329125171200",
     examStudentId: "1522766012553355267",
     examRecordId: "259318157805096960",
-    identity: "42011406269",
+    identity: "42011406269-12345678901234",
     roomCode: "001",
     roomName: "测试001",
     name: "严惩",
@@ -139,7 +139,7 @@ export const studentVideoList = [
     examActivityId: "255274329125171201",
     examStudentId: "1522766012553355270",
     examRecordId: "259318157805096961",
-    identity: "42011406269",
+    identity: "42011406269-12345678901234",
     roomCode: "001",
     roomName: "测试001",
     name: "周旋",

+ 1 - 1
src/features/invigilation/common/InvigilationStudent.vue

@@ -25,7 +25,7 @@
       </div>
       <div class="student-info-body">
         <div class="student-info-content">
-          <p>证件号:{{ data.identity }}</p>
+          <p>{{ data.identity }}</p>
           <p>答题进度:{{ data.progress || 0 }}%</p>
         </div>
         <div class="student-info-detail">

+ 8 - 0
src/styles/base.scss

@@ -1128,6 +1128,10 @@ body {
     }
     .student-info-header {
       margin-bottom: 0;
+      margin-right: 55px;
+      overflow: hidden;
+      text-overflow: ellipsis;
+      white-space: nowrap;
     }
     .student-info-content {
       > p {
@@ -1135,6 +1139,10 @@ body {
         line-height: 1;
         font-weight: 600;
         color: rgba(255, 255, 255, 0.5);
+        margin-right: 55px;
+        overflow: hidden;
+        text-overflow: ellipsis;
+        white-space: nowrap;
       }
       > p:nth-of-type(2) {
         display: none;