index.vue 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. <template>
  2. <div id="index">
  3. <div class="w_0100">
  4. <div class="w_1200">
  5. <div class="servicemain">
  6. <div class="serviceOne">
  7. <el-col :span="24">
  8. <el-col :span="12" class="infoleft">
  9. <el-col class="lefttop" :span="24"><span class="title"> |</span> 本地服务</el-col>
  10. <ul>
  11. <li class="zhengwuList" v-for="(item, index) in zhengwuList" :key="index">
  12. <a @click="$router.push({ path: '/live/service/list', query: { name: item.title } })">
  13. <el-image style="width:64px;height:64px;" :src="item.pic"></el-image>
  14. <p>{{ item.title }}</p>
  15. </a>
  16. </li>
  17. </ul>
  18. </el-col>
  19. <el-col :span="12" class="inforight">
  20. <div class="lefttop"><span class="title"> |</span> 合作服务</div>
  21. <ul>
  22. <li class="serviceList" v-for="(item, index) in serviceList" :key="index">
  23. <a>
  24. <el-image style="width:64px;height:64px;" :src="item.pic"></el-image>
  25. <p>{{ item.title }}</p>
  26. </a>
  27. </li>
  28. </ul>
  29. </el-col>
  30. </el-col>
  31. <div class="infocontext">
  32. <div class="contexttop"><span class="title"> |</span> 公众参与</div>
  33. <ul>
  34. <li v-for="(item, index) in gongzhongList" :key="index">
  35. <a href="">
  36. <el-image :src="item.pic"></el-image>
  37. </a>
  38. </li>
  39. </ul>
  40. </div>
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. </div>
  46. </template>
  47. <script>
  48. import { createNamespacedHelpers, mapGetters, mapState } from 'vuex';
  49. export default {
  50. name: 'index',
  51. props: {},
  52. components: {},
  53. data: () => {
  54. return {
  55. // 本地服务
  56. zhengwuList: [
  57. {
  58. pic: require('@/assets/live/bendi1.png'),
  59. title: '智慧推荐',
  60. },
  61. {
  62. pic: require('@/assets/live/bendi2.png'),
  63. title: '展会管理',
  64. },
  65. {
  66. pic: require('@/assets/live/bendi3.png'),
  67. title: '科技评估',
  68. },
  69. {
  70. pic: require('@/assets/live/bendi4.png'),
  71. title: '合同在线',
  72. },
  73. {
  74. pic: require('@/assets/live/bendi5.png'),
  75. title: '信誉认证',
  76. },
  77. {
  78. pic: require('@/assets/live/bendi6.png'),
  79. title: '绩效评价',
  80. },
  81. ],
  82. // 合作服务
  83. serviceList: [
  84. {
  85. pic: require('@/assets/live/hezuo1.png'),
  86. title: '知识产权',
  87. },
  88. {
  89. pic: require('@/assets/live/hezuo2.png'),
  90. title: '科技文献',
  91. },
  92. {
  93. pic: require('@/assets/live/hezuo3.png'),
  94. title: '项目申报',
  95. },
  96. {
  97. pic: require('@/assets/live/hezuo4.png'),
  98. title: '科技金融',
  99. },
  100. {
  101. pic: require('@/assets/live/hezuo5.png'),
  102. title: '科技孵化',
  103. },
  104. {
  105. pic: require('@/assets/live/hezuo6.png'),
  106. title: '成果登记',
  107. },
  108. {
  109. pic: require('@/assets/live/hezuo7.png'),
  110. title: '技术合同',
  111. },
  112. {
  113. pic: require('@/assets/live/hezuo8.png'),
  114. title: '高企认定',
  115. },
  116. ],
  117. // 公众参与
  118. gongzhongList: [
  119. {
  120. pic: require('@/assets/live/gongzhong1.jpg'),
  121. },
  122. {
  123. pic: require('@/assets/live/gongzhong2.jpg'),
  124. },
  125. {
  126. pic: require('@/assets/live/gongzhong3.jpg'),
  127. },
  128. {
  129. pic: require('@/assets/live/gongzhong4.jpg'),
  130. },
  131. {
  132. pic: require('@/assets/live/gongzhong5.jpg'),
  133. },
  134. {
  135. pic: require('@/assets/live/gongzhong6.jpg'),
  136. },
  137. ],
  138. };
  139. },
  140. created() {},
  141. methods: {
  142. bendiservice(item) {
  143. console.log(item);
  144. },
  145. },
  146. computed: {
  147. ...mapState(['user']),
  148. pageTitle() {
  149. return `${this.$route.meta.title}`;
  150. },
  151. },
  152. metaInfo() {
  153. return { title: this.$route.meta.title };
  154. },
  155. };
  156. </script>
  157. <style lang="less" scoped>
  158. .w_1200 {
  159. margin: 0 auto;
  160. width: 80%;
  161. min-height: 600px;
  162. }
  163. .serviceOne {
  164. margin: 20px 0 0 0;
  165. }
  166. .infoleft {
  167. height: 320px;
  168. box-shadow: 0 0 10px #2d64b3;
  169. width: 49%;
  170. }
  171. .infoleft ul .zhengwuList {
  172. float: left;
  173. width: 25%;
  174. height: 115px;
  175. margin: 0 5% 15px 3%;
  176. text-align: center;
  177. }
  178. .infoleft ul .zhengwuList p {
  179. font-size: 20px;
  180. color: #215199;
  181. float: left;
  182. width: 100%;
  183. }
  184. .inforight {
  185. height: 320px;
  186. box-shadow: 0 0 10px #2d64b3;
  187. width: 49.5%;
  188. margin: 0 0 0 15px;
  189. }
  190. .inforight ul .serviceList {
  191. float: left;
  192. width: 17%;
  193. height: 105px;
  194. margin: 0 5% 20px 3%;
  195. text-align: center;
  196. background: #f8f8f8;
  197. }
  198. .inforight ul .serviceList .el-image {
  199. padding: 5px 0 0 0;
  200. }
  201. .inforight ul .serviceList p {
  202. font-size: 20px;
  203. color: #215199;
  204. float: left;
  205. width: 100%;
  206. }
  207. .lefttop {
  208. width: 96%;
  209. height: 41px;
  210. line-height: 35px;
  211. border-bottom: 1px solid #e5e5e5;
  212. position: relative;
  213. bottom: 1px;
  214. margin: 10px 10px 20px 10px;
  215. font-size: 18px;
  216. }
  217. .title {
  218. padding: 0px 0 1px 1px;
  219. background: #005293;
  220. }
  221. .infoleft ul li {
  222. float: left;
  223. width: 20%;
  224. height: 115px;
  225. margin: 0 2% 10px 3%;
  226. }
  227. .infocontext {
  228. height: 237px;
  229. box-shadow: 0 0 10px #2d64b3;
  230. width: 100%;
  231. float: left;
  232. margin: 25px 0 0 0;
  233. }
  234. .contexttop {
  235. width: 98%;
  236. height: 41px;
  237. line-height: 35px;
  238. border-bottom: 1px solid #e5e5e5;
  239. position: relative;
  240. bottom: 1px;
  241. margin: 10px 10px 20px 10px;
  242. font-size: 18px;
  243. }
  244. .infocontext ul li {
  245. float: left;
  246. width: 15.66%;
  247. height: 146px;
  248. margin: 0px 0px 0 1%;
  249. }
  250. .newimg {
  251. width: 185px;
  252. }
  253. </style>