xuqiang 4 سال پیش
والد
کامیت
2b419bf0bc

+ 2 - 2
src/main/nine-space/src/plugins/http.js

@@ -5,9 +5,9 @@ import qs from 'qs';
 let baseUrl = 'http://localhost:8080';
 switch (process.env.NODE_ENV) {
     case 'development':
-        baseUrl = 'https://nfttest.9space.vip/';
+        // baseUrl = 'https://nfttest.9space.vip/';
         // baseUrl = 'http://192.168.50.190:8080';
-        // baseUrl = 'http://localhost:8080';
+        baseUrl = 'http://localhost:8080';
         // baseUrl = 'http://192.168.50.190:8080';
         break;
     case 'test':

+ 45 - 0
src/main/nine-space/src/styles/common/common.less

@@ -6,7 +6,52 @@
     display: flex;
     flex-direction: column;
 }
+.line(@bg: #1c1e26, @radius: 6px, @color1: @prim, @color2: @warn) {
+    background-image: linear-gradient(135deg, @color1, @color2);
+    position: relative;
+    padding: 1px;
+    border-radius: @radius;
+    overflow: hidden;
+    cursor: pointer;
+    box-sizing: border-box;
+
+    &::before {
+        position: absolute;
+        z-index: 1;
+        content: '';
+        left: 1px;
+        right: 1px;
+        bottom: 1px;
+        top: 1px;
+        background-color: @bg;
+        border-radius: @radius;
+    }
+
+    &::after {
+        position: absolute;
+        z-index: 0;
+        content: '';
+        left: 0;
+        right: 0;
+        bottom: 0;
+        top: 0;
+        background-image: linear-gradient(135deg, @color1, @color2);
+        transform-origin: center center;
+        animation: spin ease-in-out 3s;
+        animation-iteration-count: 0;
+    }
 
+    * {
+        z-index: 3;
+        position: relative;
+    }
+
+    &:hover {
+        &::after {
+            animation-iteration-count: infinite;
+        }
+    }
+}
 .setTopLine(@c: @divider) {
     content: ' ';
     position: absolute;

+ 1 - 3
src/main/nine-space/src/views/account/Authentication.vue

@@ -68,11 +68,9 @@ export default {
         display: flex;
         align-items: center;
         width: 303px;
+        .line();
         height: 88px;
         background: #1f2021;
-        border: 1px solid;
-        border-image: linear-gradient(135deg, rgba(253, 251, 96, 1), rgba(255, 143, 62, 1)) 1 1;
-        border-radius: 10px;
         .img {
             width: 38px;
             height: 38px;

+ 2 - 5
src/main/nine-space/src/views/account/EnterpriseAuthentication.vue

@@ -20,8 +20,7 @@
         </div>
         <div class="info">
             <div class="text1">身份证号</div>
-            <!-- <div class="text2">{{ aaa }}</div> -->
-            <div class="text2">{{ form.idNo }}</div>
+            <div class="text2" v-if="form.idNo">{{ idNo }}</div>
         </div>
         <div class="info">
             <div class="text1">身份证照片</div>
@@ -52,7 +51,7 @@ export default {
         };
     },
     computed: {
-        aaa() {
+        idNo() {
             // return this.form.idNo.slice(0, 4) + ' **** ' + this.form.idNo.slice(7, 18);
             return this.form.idNo.slice(0, 4) + ' ********** ' + this.form.idNo.slice(14, 18);
         }
@@ -71,8 +70,6 @@ export default {
             .then(res => {
                 if (!res.empty) {
                     this.form = res.content[0];
-                    console.log(this.form.idNo.slice(0, 4) + ' ********** ' + this.form.idNo.slice(14, 18));
-                    console.log(this.aaa);
                 }
             });
     }