1.vue 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. <template>
  2. <div>
  3. <!--样式1-->
  4. <div class="tabsNewsBox">
  5. <div class="tabsNewsTitle">
  6. <div class="activeTab" v-if="activeTab == 0">查询服务</div>
  7. </div>
  8. <div class="tabsNewsContent">
  9. <div class="linkSectorItem bg1">
  10. <NuxtLink href="http://dy.qgsnfzzx.org.cn/list-renyuanchaxun.html" target="_blank">
  11. <div class="linkSectorItemImg">
  12. <img src="http://192.168.1.234:19000/pre/image/png/20251218/1766037376173658.png" />
  13. </div>
  14. <div class="linkSectorItemTitle">人员查询</div>
  15. </NuxtLink>
  16. </div>
  17. <div class="linkSectorItem bg2">
  18. <NuxtLink href="http://dy.qgsnfzzx.org.cn/list-cheliangchaxun.html" target="_blank">
  19. <div class="linkSectorItemImg">
  20. <img src="http://192.168.1.234:19000/pre/image/png/20251218/176603756265799.png" />
  21. </div>
  22. <div class="linkSectorItemTitle">车辆查询</div>
  23. </NuxtLink>
  24. </div>
  25. <div class="linkSectorItem bg3">
  26. <NuxtLink href="http://dy.qgsnfzzx.org.cn/list-diaoyanxuanti.html" target="_blank">
  27. <div class="linkSectorItemImg">
  28. <img src="http://192.168.1.234:19000/pre/image/png/20251218/1766037584477856.png" />
  29. </div>
  30. <div class="linkSectorItemTitle">调研选题</div>
  31. </NuxtLink>
  32. </div>
  33. <div class="linkSectorItem bg4">
  34. <NuxtLink href="http://dy.qgsnfzzx.org.cn/list-difangzhongxin.html" target="_blank">
  35. <div class="linkSectorItemImg">
  36. <img src="http://192.168.1.234:19000/pre/image/png/20251218/1766037605561701.png" />
  37. </div>
  38. <div class="linkSectorItemTitle">地市中心</div>
  39. </NuxtLink>
  40. </div>
  41. <div class="linkSectorItem bg5">
  42. <NuxtLink href="http://dy.qgsnfzzx.org.cn/list-jieshaoxinchaxun.html" target="_blank">
  43. <div class="linkSectorItemImg">
  44. <img src="http://192.168.1.234:19000/pre/image/png/20251218/176603759448937.png" />
  45. </div>
  46. <div class="linkSectorItemTitle">介绍信查询</div>
  47. </NuxtLink>
  48. </div>
  49. </div>
  50. </div>
  51. </div>
  52. </template>
  53. <script>
  54. export default {
  55. props: {
  56. name: {
  57. type: String,
  58. default: ""
  59. },
  60. componentStyle: {
  61. type: Number,
  62. default: 0
  63. }
  64. },
  65. data() {
  66. return {
  67. activeTab: 0
  68. };
  69. },
  70. methods: {
  71. },
  72. mounted() {
  73. },
  74. };
  75. </script>
  76. <style scoped lang="less">
  77. //基本样式
  78. .tabsNewsBox {
  79. height: 460px;
  80. .tabsNewsTitle {
  81. display: flex;
  82. align-items: flex-start;
  83. justify-content: flex-start;
  84. height: 40px;
  85. margin-bottom: 15px;
  86. div {
  87. height: 35px;
  88. width: 138px;
  89. line-height: 32px;
  90. font-size: 22px;
  91. font-weight: bold;
  92. color: #333333;
  93. cursor: pointer;
  94. overflow: hidden;
  95. text-overflow: ellipsis;
  96. white-space: nowrap;
  97. padding-bottom: 5px;
  98. &.activeTab {
  99. color: #154079;
  100. background: url("http://192.168.1.234:19000/pre/image/png/20251218/1766042138413493.png") bottom left no-repeat;
  101. }
  102. }
  103. }
  104. .tabsNewsContent {
  105. width: 380px;
  106. height: 150px;
  107. margin: 0 auto;
  108. display: flex;
  109. flex-wrap: wrap;
  110. align-items: center;
  111. justify-content: space-between;
  112. .linkSectorItem {
  113. width: 185px;
  114. height: 120px;
  115. box-sizing: border-box;
  116. cursor: pointer;
  117. text-align: center;
  118. margin-bottom: 22px;
  119. a{
  120. color: #333333;
  121. }
  122. &:last-child {
  123. margin-bottom: 0;
  124. }
  125. .linkSectorItemImg {
  126. width: 100%;
  127. height: 54px;
  128. line-height: 54px;
  129. margin-top: 21px;
  130. margin-bottom: 10px;
  131. }
  132. .linkSectorItemTitle {
  133. font-size: 16px;
  134. }
  135. &:nth-child(1) {
  136. .linkSectorItemImg {
  137. margin-top: 24px;
  138. margin-bottom: 7px;
  139. }
  140. }
  141. }
  142. .bg1 {
  143. background: url(http://192.168.1.234:19000/pre/image/png/20251218/176603744164435.png) no-repeat center center;
  144. }
  145. .bg2 {
  146. background: url(http://192.168.1.234:19000/pre/image/png/20251218/1766037457950506.png) no-repeat center center;
  147. }
  148. .bg3 {
  149. background: url(http://192.168.1.234:19000/pre/image/png/20251218/1766037475861824.png) no-repeat center center;
  150. }
  151. .bg4 {
  152. background: url(http://192.168.1.234:19000/pre/image/png/20251218/1766037490721060.png) no-repeat center center;
  153. }
  154. .bg5 {
  155. background: url(http://192.168.1.234:19000/pre/image/png/20251218/1766037543240632.png) no-repeat center center;
  156. }
  157. }
  158. }
  159. </style>