WINDOWS-7IFQK7E\EDY 1 year ago
parent
commit
317231b581
1 changed files with 6 additions and 4 deletions
  1. 6 4
      src/views/xsczda/xslb/bjlb/xslbxq/czda/index.vue

+ 6 - 4
src/views/xsczda/xslb/bjlb/xslbxq/czda/index.vue

@@ -22,9 +22,8 @@
               top: 50%;
               left: 50%;
               margin-left: -52px;
-              margin-top: 10px;
             "
-            src="@/assets/avatar.png"
+            :src="jcxxInfo.xdx_sczp"
             alt=""
           />
         </div>
@@ -44,6 +43,7 @@
               font-family: PingFang, PingFang-Bold;
               font-weight: 700;
               color: #8083a3;
+              margin-bottom: 10px;
             "
           >
             学籍号:{{ jcxxInfo.xdx_xsxh }}
@@ -633,6 +633,8 @@ export default {
         if (res.code == 1) {
           if (Object.keys(res.data.one_info).length != 0) {
             this.jcxxInfo = res.data.one_info;
+            let a = this.jcxxInfo.xdx_sczp.indexOf("|");
+            this.jcxxInfo.xdx_sczp = this.jcxxInfo.xdx_sczp.substring(0, a);
             if (Object.keys(res.data.one_info.tzxx_info).length != 0) {
               this.tzjkInfo = res.data.one_info.tzxx_info;
             } else {
@@ -688,7 +690,7 @@ export default {
     border-radius: 12px;
     margin-left: 20px;
     margin-bottom: 20px;
-    padding: 15px 0 0 15px;
+    padding: 0px 0 0 15px;
     & :nth-child(1) {
       font-size: 12px;
       font-family: PingFangSC, PingFangSC-Semibold;
@@ -713,7 +715,7 @@ export default {
     border-radius: 12px;
     margin-left: 20px;
     margin-bottom: 20px;
-    padding: 15px 0 0 15px;
+    padding: 0px 0 0 15px;
     & :nth-child(1) {
       font-size: 12px;
       font-family: PingFangSC, PingFangSC-Semibold;