guhongwei 4 years ago
parent
commit
089acef2e8
1 changed files with 23 additions and 21 deletions
  1. 23 21
      src/views/market/detail/patentDetail.vue

+ 23 - 21
src/views/market/detail/patentDetail.vue

@@ -4,8 +4,7 @@
       <el-col :span="24" class="main">
         <el-col :span="24" class="top">
           <el-col :span="7" class="left">
-            <el-image v-if="detailInfo.img_url" :src="detailInfo.img_url"></el-image>
-            <el-col :span="24" class="noImage" v-else>
+            <el-col :span="24" class="noImage">
               <p>专利有效性</p>
               <p>{{ detailInfo.term }}</p>
             </el-col>
@@ -48,10 +47,10 @@
             </el-col>
             <el-col :span="12">
               <el-col :span="8" class="otherInfo textOver">
-                专利有效性
+                申请人
               </el-col>
-              <el-col :span="16" class="otherInfo textOver" style="color:#ff0000;font-weight:bold;">
-                {{ detailInfo.term || '暂无' }}
+              <el-col :span="16" class="otherInfo textOver">
+                {{ detailInfo.apply_personal || '暂无' }}
               </el-col>
             </el-col>
             <el-col :span="12">
@@ -70,14 +69,7 @@
                 {{ detailInfo.inventor || '暂无' }}
               </el-col>
             </el-col>
-            <el-col :span="24">
-              <el-col :span="4" class="otherInfo textOver">
-                申请人
-              </el-col>
-              <el-col :span="20" class="otherInfo textOver">
-                {{ detailInfo.apply_personal || '暂无' }}
-              </el-col>
-            </el-col>
+
             <el-col :span="24">
               <el-col :span="4" class="otherInfo textOver">
                 代理人
@@ -105,8 +97,14 @@
           </el-col>
         </el-col>
         <el-col :span="24" class="down">
-          <h1>摘要</h1>
-          <p>{{ detailInfo.abstract || '暂无' }}</p>
+          <el-col :span="24" class="downInfo">
+            <h1>摘要</h1>
+            <p>{{ detailInfo.abstract || '暂无' }}</p>
+          </el-col>
+          <el-col :span="24" class="downInfo" v-if="detailInfo.img_url">
+            <h1>专利图鉴</h1>
+            <el-image :src="detailInfo.img_url"></el-image>
+          </el-col>
         </el-col>
       </el-col>
     </el-row>
@@ -148,10 +146,10 @@ export default {
       border: 1px solid #ccc;
       .el-image {
         width: 100%;
-        height: 360px;
+        height: 320px;
       }
       .noImage {
-        height: 360px;
+        height: 320px;
         p:nth-child(1) {
           font-size: 25px;
           text-align: left;
@@ -195,10 +193,14 @@ export default {
   .down {
     border: 1px solid #cccccc;
     padding: 10px;
-    p {
-      font-size: 18px;
-      line-height: 38px;
-      text-indent: 2rem;
+    .downInfo {
+      margin: 0 0 15px 0;
+      border-bottom: 1px dashed #ccc;
+      p {
+        font-size: 18px;
+        line-height: 38px;
+        text-indent: 2rem;
+      }
     }
   }
 }