patentDetail.vue 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. <template>
  2. <div id="patentDetail">
  3. <el-row>
  4. <el-col :span="24" class="main">
  5. <el-col :span="24" class="top">
  6. <el-col :span="7" class="left">
  7. <el-image v-if="detailInfo.img_url" :src="detailInfo.img_url"></el-image>
  8. <el-col :span="24" class="noImage" v-else>
  9. <p>专利有效性</p>
  10. <p>{{ detailInfo.term }}</p>
  11. </el-col>
  12. </el-col>
  13. <el-col :span="17" class="right">
  14. <el-col :span="24" class="name textOver">
  15. {{ detailInfo.name }}
  16. </el-col>
  17. <el-col :span="12">
  18. <el-col :span="8" class="otherInfo textOver">
  19. 申请号
  20. </el-col>
  21. <el-col :span="16" class="otherInfo textOver">
  22. {{ detailInfo.create_number || '暂无' }}
  23. </el-col>
  24. </el-col>
  25. <el-col :span="12">
  26. <el-col :span="8" class="otherInfo textOver">
  27. 申请日
  28. </el-col>
  29. <el-col :span="16" class="otherInfo textOver">
  30. {{ detailInfo.create_date || '暂无' }}
  31. </el-col>
  32. </el-col>
  33. <el-col :span="12">
  34. <el-col :span="8" class="otherInfo textOver">
  35. 公开(公告)号
  36. </el-col>
  37. <el-col :span="16" class="otherInfo textOver">
  38. {{ detailInfo.success_number || '暂无' }}
  39. </el-col>
  40. </el-col>
  41. <el-col :span="12">
  42. <el-col :span="8" class="otherInfo textOver">
  43. 公开(公告)日
  44. </el-col>
  45. <el-col :span="16" class="otherInfo textOver">
  46. {{ detailInfo.success_date || '暂无' }}
  47. </el-col>
  48. </el-col>
  49. <el-col :span="12">
  50. <el-col :span="8" class="otherInfo textOver">
  51. 专利有效性
  52. </el-col>
  53. <el-col :span="16" class="otherInfo textOver" style="color:#ff0000;font-weight:bold;">
  54. {{ detailInfo.term || '暂无' }}
  55. </el-col>
  56. </el-col>
  57. <el-col :span="12">
  58. <el-col :span="8" class="otherInfo textOver">
  59. 专利类型
  60. </el-col>
  61. <el-col :span="16" class="otherInfo textOver">
  62. {{ detailInfo.type || '暂无' }}
  63. </el-col>
  64. </el-col>
  65. <el-col :span="24">
  66. <el-col :span="4" class="otherInfo textOver">
  67. 发明人
  68. </el-col>
  69. <el-col :span="20" class="otherInfo textOver">
  70. {{ detailInfo.inventor || '暂无' }}
  71. </el-col>
  72. </el-col>
  73. <el-col :span="24">
  74. <el-col :span="4" class="otherInfo textOver">
  75. 申请人
  76. </el-col>
  77. <el-col :span="20" class="otherInfo textOver">
  78. {{ detailInfo.apply_personal || '暂无' }}
  79. </el-col>
  80. </el-col>
  81. <el-col :span="24">
  82. <el-col :span="4" class="otherInfo textOver">
  83. 代理人
  84. </el-col>
  85. <el-col :span="20" class="otherInfo textOver">
  86. {{ detailInfo.agent_personal || '暂无' }}
  87. </el-col>
  88. </el-col>
  89. <el-col :span="24">
  90. <el-col :span="4" class="otherInfo textOver">
  91. 代理机构
  92. </el-col>
  93. <el-col :span="20" class="otherInfo textOver">
  94. {{ detailInfo.agent || '暂无' }}
  95. </el-col>
  96. </el-col>
  97. <el-col :span="24">
  98. <el-col :span="4" class="otherInfo textOver">
  99. 地址
  100. </el-col>
  101. <el-col :span="20" class="otherInfo textOver">
  102. {{ detailInfo.address || '暂无' }}
  103. </el-col>
  104. </el-col>
  105. </el-col>
  106. </el-col>
  107. <el-col :span="24" class="down">
  108. <h1>摘要</h1>
  109. <p>{{ detailInfo.abstract || '暂无' }}</p>
  110. </el-col>
  111. </el-col>
  112. </el-row>
  113. </div>
  114. </template>
  115. <script>
  116. import { mapState, createNamespacedHelpers } from 'vuex';
  117. export default {
  118. metaInfo() {
  119. return { title: this.$route.meta.title };
  120. },
  121. name: 'patentDetail',
  122. props: {
  123. detailInfo: { type: Object },
  124. },
  125. components: {},
  126. data: function() {
  127. return {
  128. url: require('@a/fmzl.jpg'),
  129. };
  130. },
  131. created() {},
  132. methods: {},
  133. computed: {
  134. ...mapState(['user']),
  135. },
  136. watch: {},
  137. };
  138. </script>
  139. <style lang="less" scoped>
  140. .main {
  141. margin: 15px 0 0 0;
  142. .top {
  143. margin: 0 0 10px 0;
  144. .left {
  145. margin: 0 10px 0 0;
  146. border: 1px solid #ccc;
  147. .el-image {
  148. width: 100%;
  149. height: 360px;
  150. }
  151. .noImage {
  152. height: 360px;
  153. p:nth-child(1) {
  154. font-size: 25px;
  155. text-align: left;
  156. padding: 10px;
  157. }
  158. p:nth-child(2) {
  159. text-align: center;
  160. padding: 30% 0;
  161. font-size: 35px;
  162. font-weight: bold;
  163. color: #ff0000;
  164. }
  165. }
  166. }
  167. .right {
  168. width: 638px;
  169. border: 1px solid #ccc;
  170. .name {
  171. height: 40px;
  172. line-height: 40px;
  173. padding: 0 10px;
  174. border-bottom: 1px solid #ccc;
  175. font-size: 18px;
  176. font-weight: bold;
  177. text-align: center;
  178. }
  179. .otherInfo {
  180. height: 40px;
  181. line-height: 40px;
  182. padding: 0 0 0 10px;
  183. border-right: 1px solid #ccc;
  184. border-bottom: 1px solid #ccc;
  185. font-size: 16px;
  186. .tooltip {
  187. float: left;
  188. width: 98%;
  189. }
  190. }
  191. }
  192. }
  193. .down {
  194. border: 1px solid #cccccc;
  195. padding: 10px;
  196. p {
  197. font-size: 18px;
  198. line-height: 38px;
  199. text-indent: 2rem;
  200. }
  201. }
  202. }
  203. </style>