zhaozhipeng 3 rokov pred
rodič
commit
724d5da1e8
3 zmenil súbory, kde vykonal 7 pridanie a 6 odobranie
  1. 2 2
      src/api/request.js
  2. 2 1
      src/views/index.vue
  3. 3 3
      src/views/info.vue

+ 2 - 2
src/api/request.js

@@ -9,8 +9,8 @@ import Router from '../router'
  */
 const request = axios.create({
   // baseURL: process.env.BASE_API,
-  baseURL: 'http://81.70.84.72:30047/',
-  // baseURL: 'http://blue.cn1.utools.club/api3/',
+  // baseURL: 'http://81.70.84.72:30047/',
+  baseURL: 'http://39.100.230.190:30047/',
   timeout: process.env.TIME_OUT,
   method: "post",
   type: "JSON"

+ 2 - 1
src/views/index.vue

@@ -43,7 +43,8 @@
         <div class="main_content_right_info">
           <!-- <div class="item"> -->
             <div class="main_content_right_info_item" v-for="(item,index) in rightList" :key="index" @click="jump_info(item.id,item.name,index)">
-              <img :src="rightIndex === index ? item.selectedIcon : item.defaultIcon" alt="" style="width:29%;height:40%;margin-left: 10%;">
+              <!-- <img :src="rightIndex === index ? item.selectedIcon : item.defaultIcon" alt="" style="width:29%;height:40%;margin-left: 10%;"> -->
+              <img :src="item.defaultIcon" alt="" style="width:29%;height:40%;margin-left: 10%;">
               <div style="margin-left:5.7%;font-size: 1rem;margin-right: 20%;">{{ item.name }}</div>
             </div>
           <!-- </div> -->

+ 3 - 3
src/views/info.vue

@@ -47,9 +47,9 @@
                  <th>{{ iten.method}} </th>
                  <th style="width:16.125rem">{{ iten.standard }}</th>
                  <th style="width:16.125rem;">
-                   <div style="display: inline-block;width:30%;" v-for="(iteo,indez) in iten.projectSubList" :key="indez">
-                     <div>{{ iteo.name }}</div>
-                     <div>{{ iteo.value }}</div>
+                   <div style="display: inline-block;width:100%;margin: 5px 0;" v-for="(iteo,indez) in iten.projectSubList" :key="indez">
+                     <span>{{ iteo.name }}: </span>
+                     <span>{{ iteo.value ? iteo.value : '无' }}</span>
                    </div>
                  </th>
                  <th>