MoreService.vue 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. <template>
  2. <!-- 首页更多服务 -->
  3. <!-- <div class="moreServices">
  4. <div class="inner">
  5. <div class="title">
  6. <h1>更多服务</h1>
  7. <p> More services</p>
  8. </div>
  9. <ul class="serviceList">
  10. <li v-for="(item, index) in arr" :key="index">
  11. <img class="left" :src="item.leftImg">
  12. <div class="left detail">
  13. <img :src="item.titleTopImg" alt="">
  14. <h3>{{ item.title }}</h3>
  15. <p>
  16. <NuxtLink :to="item.url" target="_blank">
  17. 查看详情
  18. <span class="iconfont icon-youjiantou"></span>
  19. </NuxtLink>
  20. </p>
  21. </div>
  22. </li>
  23. </ul>
  24. </div>
  25. </div>-->
  26. <div class="moreServiceBox">
  27. <div class="listBox">
  28. <NuxtLink to="http://dy.qgsnfzzx.org.cn/list-hyfw.html" title="人员查询">
  29. <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/index/icon1.png" alt="人员查询">
  30. <div class="line"></div>
  31. 人员查询
  32. </NuxtLink>
  33. </div>
  34. <div class="listBox">
  35. <NuxtLink to="http://dy.qgsnfzzx.org.cn/list-cheliangchaxun.html" title="车辆查询">
  36. <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/index/icon2.png" alt="车辆查询">
  37. <div class="line"></div>
  38. 车辆查询
  39. </NuxtLink>
  40. </div>
  41. <div class="listBox">
  42. <NuxtLink to="http://dy.qgsnfzzx.org.cn/list-diaoyanxuanti.html" title="调研选题">
  43. <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/index/icon3.png" alt="调研选题">
  44. <div class="line"></div>
  45. 调研选题
  46. </NuxtLink>
  47. </div>
  48. <div class="listBox">
  49. <NuxtLink to="http://dy.qgsnfzzx.org.cn/list-difangzhongxin.html" title="地市中心">
  50. <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/index/icon4.png" alt="地市中心">
  51. <div class="line"></div>
  52. 地市中心
  53. </NuxtLink>
  54. </div>
  55. <div class="listBox">
  56. <NuxtLink to="http://dy.qgsnfzzx.org.cn/list-jieshaoxinchaxun.html" title="介绍信查询">
  57. <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/index/icon5.png" alt="介绍信查询">
  58. <div class="line"></div>
  59. 介绍信查询
  60. </NuxtLink>
  61. </div>
  62. </div>
  63. </template>
  64. <script setup>
  65. let arr = [
  66. {
  67. id: 1,
  68. title: "会员服务",
  69. titleTopImg: "/images/Group 1560.png",
  70. leftImg: "/images/djdhdhsjk46448_Endless_rice_fields_565ffc17-1845-4d9d-be71-3c745b1ab6bb.png",
  71. url:"http://dy.qgsnfzzx.org.cn/list-hyfw.html",
  72. },
  73. {
  74. id: 2,
  75. title: "人员查询",
  76. titleTopImg: "/images/Group 1819.png",
  77. leftImg: "/images/sgbhsihfgisdfaasda45632113_A_Chinese_farmer_carrying_a_hoe_is_h_a23e4b96-a6d7-49e1-a283-68c395f277f9(3).png",
  78. url:"http://dy.qgsnfzzx.org.cn/list-renyuanchaxun.html",
  79. },
  80. {
  81. id: 3,
  82. title: "调研选题",
  83. titleTopImg: "/images/Group 1820.png",
  84. leftImg: "/images/sgbhsihfgisdfaasda45632113_A_Chinese_farmer_carrying_a_hoe_is_h_1ba32eee-c498-4dd7-9cd9-013568c09db7(2).png",
  85. url:"http://dy.qgsnfzzx.org.cn/list-diaoyanxuanti.html",
  86. },
  87. {
  88. id: 4,
  89. title: "车辆查询",
  90. titleTopImg: "/images/Group 1821.png",
  91. leftImg: "/images/rgmezdvz_19982_On_a_vast_and_boundless_wheat_field_many_harvest_5b5cfeda-ef17-4551-a935-5f8e3f799b69(2).png",
  92. url:"http://dy.qgsnfzzx.org.cn/list-cheliangchaxun.html",
  93. },
  94. {
  95. id: 5,
  96. title: "地市中心",
  97. titleTopImg: "/images/Group 1822.png",
  98. leftImg: "/images/htjskikess_Harvester_harvesting_in_wheat_fields_619469a3-bdc0-40ca-9ac8-e2f17a0ae33f.png",
  99. url:"http://dy.qgsnfzzx.org.cn/list-difangzhongxin.html",
  100. },
  101. {
  102. id: 6,
  103. title: "介绍信查询",
  104. titleTopImg: "/images/Group 1823.png",
  105. leftImg: "/images/rgmezdvz_19982_A_Chinese_farmer_carrying_a_hoe_is_hoeing_the_fi_75ccecda-5a25-4a4b-be60-d950bb8a2666(2).png",
  106. url:"http://dy.qgsnfzzx.org.cn/list-jieshaoxinchaxun.html",
  107. }
  108. ]
  109. </script>
  110. <style lang="less">
  111. //更多服务
  112. .moreServices {
  113. width: 100%;
  114. height: 646px;
  115. .inner {
  116. position: relative;
  117. // 标题
  118. .title {
  119. width: 300px;
  120. text-align: center;
  121. margin: 0 auto;
  122. font-family: PingFang SC, PingFang SC;
  123. >h1 {
  124. font-weight: 600;
  125. font-size: 36px;
  126. color: #000000;
  127. line-height: 42px;
  128. letter-spacing: 3px;
  129. font-style: normal;
  130. text-transform: none;
  131. }
  132. >p {
  133. height: 34px;
  134. font-weight: 600;
  135. font-size: 24px;
  136. color: #F4F4F4;
  137. line-height: 24px;
  138. letter-spacing: 2px;
  139. font-style: normal;
  140. text-transform: none;
  141. }
  142. }
  143. .title::before {
  144. content: " ";
  145. display: inline-block;
  146. position: absolute;
  147. top: 14px;
  148. left: 34px;
  149. width: 366px;
  150. height: 23px;
  151. background: url("http://img.bjzxtw.org.cn/master/bjzxtw/public/images/Frame 486.png") no-repeat;
  152. }
  153. .title::after {
  154. content: " ";
  155. display: inline-block;
  156. position: absolute;
  157. top: 14px;
  158. right: 34px;
  159. width: 366px;
  160. height: 23px;
  161. background: url("http://img.bjzxtw.org.cn/master/bjzxtw/public/images/Frame 485.png") no-repeat;
  162. }
  163. >.serviceList {
  164. >li {
  165. width: 380px;
  166. float: left;
  167. position: relative;
  168. margin: 17px 30px 40px 0;
  169. >img {
  170. width: 240px;
  171. height: 240px;
  172. }
  173. >.detail {
  174. width: 170px;
  175. height: 240px;
  176. position: absolute;
  177. background-color: #fff;
  178. top: -12px;
  179. right: 0;
  180. box-shadow: 0px 0px 16px 1px rgba(0, 0, 0, 0.1);
  181. border: 1px solid #F0F0F0;
  182. >img {
  183. width: 52px;
  184. height: 52px;
  185. margin: 54px 57px 14px 61px
  186. }
  187. >h3 {
  188. font-family: PingFang SC;
  189. font-weight: 600;
  190. font-size: 20px;
  191. color: #000000;
  192. line-height: 23px;
  193. letter-spacing: 2px;
  194. text-align: center;
  195. font-style: normal;
  196. text-transform: none;
  197. }
  198. >p {
  199. width: 116px;
  200. height: 32px;
  201. line-height: 30px;
  202. border: 1px solid #eee;
  203. margin: 26px 25px 34px 29px;
  204. border-radius: 18px;
  205. font-weight: 400;
  206. font-size: 12px;
  207. color: #139602;
  208. letter-spacing: 1px;
  209. text-align: center;
  210. font-style: normal;
  211. text-transform: none;
  212. a{
  213. color: #139602;
  214. }
  215. }
  216. >p:hover {
  217. background-color: #139602;
  218. }
  219. >p:hover a{
  220. color: #fff;
  221. }
  222. }
  223. >.detail::after {
  224. content: "";
  225. width: 0;
  226. height: 0;
  227. border-left: 31px solid transparent;
  228. border-top: 10px solid #e1e1e1;
  229. position: absolute;
  230. top: - 70px;
  231. left: - 40px;
  232. }
  233. }
  234. >li:nth-child(3),
  235. >li:nth-child(6) {
  236. margin-right: 0;
  237. }
  238. }
  239. }
  240. }
  241. .moreServiceBox {
  242. width: 1200px;
  243. margin: 0 auto;
  244. height: 208px;
  245. display: flex;
  246. justify-content: space-between;
  247. .listBox {
  248. border: 1px solid #E8E7E6;
  249. width: 210px;
  250. height: 191px;
  251. text-align: center;
  252. .line {
  253. width: 152px;
  254. background: #49A769;
  255. height: 1px;
  256. margin: 0 auto;
  257. margin-bottom: 20px;
  258. }
  259. img {
  260. margin-top: 30px;
  261. margin-bottom: 10px;
  262. }
  263. a {
  264. color: #333333;
  265. font-size: 16px;
  266. display: block;
  267. width: 210px;
  268. height: 191px;
  269. }
  270. }
  271. }
  272. </style>