pageNavigation.vue 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367
  1. <template>
  2. <div class="navigate">
  3. <!-- 导航 -->
  4. <div class="partOne">
  5. <div class="inner">
  6. <!-- 导航一 -->
  7. <ul class="navigationOne">
  8. <li>贴身宝贝</li>
  9. <li>新农村</li>
  10. <li>政策法规</li>
  11. <li>三农之窗</li>
  12. <li>区域经济</li>
  13. <li>三农投资</li>
  14. <li>农贸资讯</li>
  15. <li>三农科教</li>
  16. <li>文化生活</li>
  17. <li>三农探索</li>
  18. <li>三农人物</li>
  19. <li>三农专题</li>
  20. </ul>
  21. </div>
  22. </div>
  23. <div class="partTwo">
  24. <div class="inner">
  25. <ul class="navigationTwo">
  26. <li>写作大全</li>
  27. <li>招工招聘</li>
  28. <li>农资购销</li>
  29. <li>农产购销</li>
  30. <li>致富信息</li>
  31. <li>书刊信息</li>
  32. <li>农业导航</li>
  33. <li>打假维权</li>
  34. <li>三农服务</li>
  35. <li>三农调差</li>
  36. <li>三农内参</li>
  37. <li>贴身宝贝</li>
  38. </ul>
  39. </div>
  40. </div>
  41. <div class="partThree">
  42. <!-- 地方频道 -->
  43. <div class="inner">
  44. <!-- channel 频道 -->
  45. <h5 class="channel">地方频道</h5>
  46. <p class="areaChannel">
  47. <span v-for="(item, index) in areaList" :key="index">
  48. <a href="#">{{ item }}</a>
  49. </span>
  50. </p>
  51. </div>
  52. </div>
  53. <!-- 导航栏下的大图 -->
  54. <div class="logo">
  55. <div class="inner">
  56. <img src="../static/images/banner 1.png" alt="">
  57. </div>
  58. </div>
  59. <!-- 行政查询 (未完成) -->
  60. <div class="select">
  61. <div class="inner">
  62. <ul class="role left">
  63. <li class="title">行政职能查询</li>
  64. <li class="searchRole">
  65. <em></em>
  66. <input type="text" placeholder="输入关键词">
  67. <i></i>
  68. <span>职能部门</span>
  69. <!-- <select>
  70. <option value="1">北京</option>
  71. <option value="1">天津</option>
  72. <option value="1">上海</option>
  73. <option value="1">广州</option>
  74. </select> -->
  75. </li>
  76. </ul>
  77. <ul class="region left">
  78. <li class="title">行政区划查询</li>
  79. <li class="searchRole">
  80. <em></em>
  81. <i></i>
  82. <span>请选择省</span>
  83. <i></i>
  84. <span>请选择市</span>
  85. <i></i>
  86. <span>请选择区/县</span>
  87. </li>
  88. </ul>
  89. </div>
  90. </div>
  91. </div>
  92. </template>
  93. <script setup>
  94. let areaList = ['北京', '天津', '河北', '山西', '内蒙古', '辽宁', '吉林', '黑龙江', '江苏', '浙江', '安徽', '福建', '江西', '山东', '河南', '湖北', '湖南', '广东', '广西', '贵州', '云南', '西藏', '陕西', '甘肃', '青海', '宁夏', '新疆', '香港', '澳门', '台湾']
  95. </script>
  96. <style lang="less" scoped>
  97. // 导航部分
  98. .partOne .navigationOne,
  99. .partOne .navigationOne>li,
  100. .partTwo .navigationTwo,
  101. .partTwo .navigationTwo>li {
  102. float: left;
  103. }
  104. .partOne {
  105. width: 100%;
  106. height: 66px;
  107. line-height: 66px;
  108. background-color: #fff;
  109. font-size: 20px;
  110. font-family: PingFang SC-Semibold;
  111. .navigationOne {
  112. color: #333;
  113. li {
  114. font-family: PingFang SC;
  115. font-weight: 600;
  116. font-size: 20px;
  117. text-align: left;
  118. font-style: normal;
  119. text-transform: none;
  120. margin-right: 23px;
  121. &:nth-last-child(1) {
  122. margin-right: 0px;
  123. }
  124. }
  125. }
  126. }
  127. .partTwo {
  128. width: 100%;
  129. height: 57px;
  130. line-height: 57px;
  131. border-bottom: 1px solid #e3e3e3;
  132. .navigationTwo {
  133. width: 1207px;
  134. height: 57px;
  135. color: #333333;
  136. border-bottom: 1px solid #e3e3e3;
  137. li {
  138. font-weight: 600;
  139. font-size: 20px;
  140. height: 56px;
  141. margin-right: 21px;
  142. &:nth-last-child(1) {
  143. margin-right: 0px;
  144. }
  145. }
  146. li:hover {
  147. color: #139602;
  148. border-bottom: 2px solid #139602;
  149. }
  150. }
  151. }
  152. .partThree {
  153. width: 100%;
  154. height: 75px;
  155. .inner {
  156. margin-bottom: 5px;
  157. }
  158. .channel,
  159. .areaChannel {
  160. float: left;
  161. margin-top: 17px;
  162. }
  163. .channel {
  164. width: 56px;
  165. height: 20px;
  166. font-family: PingFang SC, PingFang SC;
  167. font-weight: 600;
  168. font-size: 14px;
  169. color: #666666;
  170. line-height: 16px;
  171. text-align: left;
  172. font-style: normal;
  173. text-transform: none;
  174. }
  175. .areaChannel {
  176. width: 1122px;
  177. margin-left: 14px
  178. }
  179. .areaChannel {
  180. >span {
  181. display: inline-block;
  182. width: 49px;
  183. height: 16px;
  184. line-height: 16px;
  185. margin-bottom: 10px;
  186. text-align: center;
  187. font-family: PingFang SC, PingFang SC;
  188. font-weight: 400;
  189. font-size: 14px;
  190. text-align: center;
  191. font-style: normal;
  192. text-transform: none;
  193. margin-right: 5px;
  194. border-right: 1px solid #e6e6e6;
  195. a {
  196. display: inline-block;
  197. width: 49px;
  198. height: 16px;
  199. color: #868686;
  200. }
  201. a:hover {
  202. color: #868686;
  203. }
  204. }
  205. >span:last-child,
  206. >span:nth-child(20) {
  207. border-right: none;
  208. }
  209. }
  210. }
  211. .logo {
  212. margin-top: 5px;
  213. height: 130px;
  214. }
  215. // 行政查询(未完成)
  216. .select {
  217. width: 100%;
  218. height: 62px;
  219. line-height: 62px;
  220. .inner {
  221. // width: 1200px;
  222. height: 62px;
  223. margin-top: 10px;
  224. background-color: #fafafa;
  225. }
  226. .role,
  227. .region {
  228. float: left;
  229. height: 62px;
  230. >.title {
  231. width: 120px;
  232. font-family: PingFang SC, PingFang SC;
  233. font-weight: 600;
  234. font-size: 20px;
  235. color: #666666;
  236. text-align: left;
  237. font-style: normal;
  238. text-transform: none;
  239. }
  240. li {
  241. float: left;
  242. }
  243. }
  244. .role {
  245. padding-left: 16px;
  246. .searchRole {
  247. width: 440px;
  248. height: 40px;
  249. line-height: 40px;
  250. background-color: #fff;
  251. border: 1px solid #ededed;
  252. margin: 10px 20px 12px 22px;
  253. border-radius: 25px;
  254. em {
  255. display: inline-block;
  256. width: 29px;
  257. height: 29px;
  258. margin: 4px 21px 4px 22px;
  259. vertical-align: middle;
  260. background: url('../static/images/Iconly/Broken/Search.png');
  261. }
  262. input {
  263. width: 243px;
  264. font-family: PingFang SC, PingFang SC;
  265. font-weight: 600;
  266. font-size: 14px;
  267. color: #999999;
  268. line-height: 16px;
  269. text-align: left;
  270. font-style: normal;
  271. text-transform: none;
  272. border: none;
  273. outline: none;
  274. }
  275. i {
  276. display: inline-block;
  277. width: 24px;
  278. height: 24px;
  279. margin-right: 19px;
  280. vertical-align: middle;
  281. background: url("../static/images/Iconly/Two-tone/Arrow - Down 3.png");
  282. }
  283. span {
  284. color: #999999;
  285. }
  286. }
  287. }
  288. .region {
  289. .searchRole {
  290. width: 440px;
  291. height: 40px;
  292. line-height: 40px;
  293. background-color: #fff;
  294. border: 1px solid #ededed;
  295. margin: 10px 0px 12px 16px;
  296. border-radius: 25px;
  297. }
  298. em {
  299. display: inline-block;
  300. width: 29px;
  301. height: 29px;
  302. margin: 4px 21px 4px 22px;
  303. vertical-align: middle;
  304. background: url('../static/images/Iconly/Broken/Search.png');
  305. }
  306. i {
  307. display: inline-block;
  308. width: 24px;
  309. height: 24px;
  310. margin-right: 11px;
  311. vertical-align: middle;
  312. background: url("../static/images/Iconly/Two-tone/Arrow - Down 3.png");
  313. }
  314. span {
  315. color: #999999;
  316. margin-right: 22px;
  317. }
  318. }
  319. }
  320. </style>