5.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904
  1. <template>
  2. <div>
  3. <div class="channelMenuTitle_skin5" v-if="componentStyle == 1 || componentStyle == 2 || componentStyle == 3">
  4. {{ title }}
  5. </div>
  6. <!--样式1-->
  7. <div class="channelMenuList" v-if="componentStyle == 1">
  8. <div v-for="item in navigateData">
  9. <NuxtLink :to="{ path: `/${targetSegment}/${item.aLIas_pinyin}/list-1.html` }"
  10. :class="{ active: targetSegment2 == item.aLIas_pinyin }">{{ item.alias }}</NuxtLink>
  11. </div>
  12. </div>
  13. <!--样式2-->
  14. <div class="channelMenuList menuListStyle2" v-if="componentStyle == 2">
  15. <div v-for="item in navigateData">
  16. <NuxtLink :to="{ path: `/${targetSegment}/${item.aLIas_pinyin}/list-1.html` }"
  17. :class="{ active: targetSegment2 == item.aLIas_pinyin }">{{ item.alias }}</NuxtLink>
  18. </div>
  19. </div>
  20. <!-- 样式3 -->
  21. <div class="channelMenuList menuListStyle3" v-if="componentStyle == 3">
  22. <div v-for="item in navigateData">
  23. <NuxtLink :to="{ path: `/${targetSegment}/${item.aLIas_pinyin}/list-1.html` }"
  24. :class="{ active: targetSegment2 == item.aLIas_pinyin }">{{ item.alias }}</NuxtLink>
  25. </div>
  26. </div>
  27. <!-- 样式4 -->
  28. <div class="channelMenuList menuListStyle4" v-if="componentStyle == 4">
  29. <div class="menuTitle">{{ title }}</div>
  30. <div class="menulist" v-for="item in navigateData">
  31. <NuxtLink :to="{ path: `/${targetSegment}/${item.aLIas_pinyin}/list-1.html` }"
  32. :class="{ active: targetSegment2 == item.aLIas_pinyin }">
  33. <span class="title">{{ item.alias }}</span>
  34. <span class="line" v-if="item.alias != navigateData[navigateData.length - 1].alias">/</span>
  35. </NuxtLink>
  36. </div>
  37. </div>
  38. <!-- 样式5 -->
  39. <div class="channelMenuList menuListStyle4 menuListStyle5" v-if="componentStyle == 5">
  40. <div class="menuTitle">{{ title }}</div>
  41. <div class="menulist" v-for="item in navigateData">
  42. <NuxtLink :to="{ path: `/${targetSegment}/${item.aLIas_pinyin}/list-1.html` }"
  43. :class="{ active: targetSegment2 == item.aLIas_pinyin }">
  44. <span class="title">{{ item.alias }}</span>
  45. <span class="line" v-if="item.alias != navigateData[navigateData.length - 1].alias">/</span>
  46. </NuxtLink>
  47. </div>
  48. </div>
  49. <!-- 样式6 -->
  50. <div class="channelMenuList menuListStyle4 menuListStyle6" v-if="componentStyle == 6">
  51. <div class="menuTitle">{{ title }}</div>
  52. <div class="menulist" v-for="item in navigateData">
  53. <NuxtLink :to="{ path: `/${targetSegment}/${item.aLIas_pinyin}/list-1.html` }"
  54. :class="{ active: targetSegment2 == item.aLIas_pinyin }">
  55. <span class="title">{{ item.alias }}</span>
  56. <span class="line" v-if="item.alias != navigateData[navigateData.length - 1].alias">/</span>
  57. </NuxtLink>
  58. </div>
  59. </div>
  60. <!--样式7-->
  61. <div class="menuListStyle7" v-if="componentStyle == 7">
  62. <div class="channelMenuListTitle">{{ title }}</div>
  63. <div class="hannelMenuListFloatMenu">
  64. <div v-for="item in navigateData">
  65. <NuxtLink :to="{ path: `/${targetSegment}/${item.aLIas_pinyin}/list-1.html` }"
  66. :class="{ active: targetSegment2 == item.aLIas_pinyin }">
  67. <span class="title">{{ item.alias }}</span>
  68. </NuxtLink>
  69. </div>
  70. </div>
  71. </div>
  72. <!--样式8-->
  73. <div class="menuListStyle7 menuListStyle8" v-if="componentStyle == 8">
  74. <div class="channelMenuListTitle">{{ title }}</div>
  75. <div class="hannelMenuListFloatMenu">
  76. <div v-for="item in navigateData">
  77. <NuxtLink :to="{ path: `/${targetSegment}/${item.aLIas_pinyin}/list-1.html` }"
  78. :class="{ active: targetSegment2 == item.aLIas_pinyin }">
  79. <span class="title">{{ item.alias }}</span>
  80. </NuxtLink>
  81. </div>
  82. </div>
  83. </div>
  84. <!--样式9-->
  85. <div class="menuListStyle7 menuListStyle9" v-if="componentStyle == 9">
  86. <div class="channelMenuListTitle">{{ title }}</div>
  87. <div class="hannelMenuListFloatMenu">
  88. <div v-for="item in navigateData">
  89. <NuxtLink :to="{ path: `/${targetSegment}/${item.aLIas_pinyin}/list-1.html` }"
  90. :class="{ active: targetSegment2 == item.aLIas_pinyin }">
  91. <span class="title">{{ item.alias }}</span>
  92. </NuxtLink>
  93. </div>
  94. </div>
  95. </div>
  96. <!--样式10-->
  97. <div class="menuListStyle7 menuListStyle9 menuListStyle8" v-if="componentStyle == 10">
  98. <div class="channelMenuListTitle">{{ title }}</div>
  99. <div class="hannelMenuListFloatMenu">
  100. <div v-for="item in navigateData">
  101. <NuxtLink :to="{ path: `/${targetSegment}/${item.aLIas_pinyin}/list-1.html` }"
  102. :class="{ active: targetSegment2 == item.aLIas_pinyin }">
  103. <span class="title">{{ item.alias }}</span>
  104. </NuxtLink>
  105. </div>
  106. </div>
  107. </div>
  108. <!--样式11-->
  109. <div class="menuListStyle11" v-if="componentStyle == 11">
  110. <div class="style11">
  111. <div class="channelMenuListTitle">
  112. <span>{{ title }}</span>
  113. </div>
  114. <div class="hannelMenuListFloatMenu">
  115. <div v-for="item in navigateData">
  116. <NuxtLink :to="{ path: `/${targetSegment}/${item.aLIas_pinyin}/list-1.html` }"
  117. :class="{ active: targetSegment2 == item.aLIas_pinyin }">
  118. <span class="title">{{ item.alias }}</span>
  119. </NuxtLink>
  120. </div>
  121. </div>
  122. </div>
  123. </div>
  124. <!--样式12-->
  125. <div class="menuListStyle12" v-if="componentStyle == 12">
  126. <div class="channelMenuListTitle">
  127. <span>{{ title }}</span>
  128. </div>
  129. <div class="hannelMenuListFloatMenu">
  130. <div v-for="item in navigateData">
  131. <NuxtLink :to="{ path: `/${targetSegment}/${item.aLIas_pinyin}/list-1.html` }"
  132. :class="{ active: targetSegment2 == item.aLIas_pinyin }">
  133. <span class="title">{{ item.alias }}</span>
  134. </NuxtLink>
  135. </div>
  136. </div>
  137. </div>
  138. <!--样式13-->
  139. <div class="menuListStyle13" v-if="componentStyle == 13">
  140. <div class="channelMenuListTitle">
  141. <span>{{ title }}</span>
  142. </div>
  143. <div class="hannelMenuListFloatMenu">
  144. <div v-for="item in navigateData">
  145. <NuxtLink :to="{ path: `/${targetSegment}/${item.aLIas_pinyin}/list-1.html` }"
  146. :class="{ active: targetSegment2 == item.aLIas_pinyin }">
  147. <span class="title">{{ item.alias }}</span>
  148. </NuxtLink>
  149. </div>
  150. </div>
  151. </div>
  152. <!--样式14-->
  153. <div class="menuListStyle14" v-if="componentStyle == 14">
  154. <div class="channelMenuListTitle">
  155. <span>{{ title }}</span>
  156. </div>
  157. <div class="hannelMenuListFloatMenu">
  158. <div v-for="item in navigateData">
  159. <NuxtLink :to="{ path: `/${targetSegment}/${item.aLIas_pinyin}/list-1.html` }"
  160. :class="{ active: targetSegment2 == item.aLIas_pinyin }">
  161. <span class="title">{{ item.alias }}</span>
  162. </NuxtLink>
  163. </div>
  164. </div>
  165. </div>
  166. <!--样式15-->
  167. <div class="menuListStyle15" v-if="componentStyle == 15">
  168. <div class="channelMenuListTitle">
  169. <span>{{ title }}</span>
  170. </div>
  171. <div class="hannelMenuListFloatMenu">
  172. <div v-for="item in navigateData">
  173. <NuxtLink :to="{ path: `/${targetSegment}/${item.aLIas_pinyin}/list-1.html` }"
  174. :class="{ active: targetSegment2 == item.aLIas_pinyin }">
  175. <span class="title">{{ item.alias }}</span>
  176. </NuxtLink>
  177. </div>
  178. </div>
  179. </div>
  180. <!--样式16-->
  181. <div class="menuListStyle16" v-if="componentStyle == 16">
  182. <div class="channelMenuListTitle">
  183. <span>{{ title }}</span>
  184. </div>
  185. <div class="hannelMenuListFloatMenu">
  186. <div v-for="item in navigateData">
  187. <NuxtLink :to="{ path: `/${targetSegment}/${item.aLIas_pinyin}/list-1.html` }"
  188. :class="{ active: targetSegment2 == item.aLIas_pinyin }">
  189. <span class="title">{{ item.alias }}</span>
  190. </NuxtLink>
  191. </div>
  192. </div>
  193. </div>
  194. <!--样式17-->
  195. <div class="menuListStyle17" v-if="componentStyle == 17">
  196. <div class="channelMenuListTitle">
  197. <span>{{ title }}</span>
  198. </div>
  199. <div class="hannelMenuListFloatMenu">
  200. <div v-for="item in navigateData">
  201. <NuxtLink :to="{ path: `/${targetSegment}/${item.aLIas_pinyin}/list-1.html` }"
  202. :class="{ active: targetSegment2 == item.aLIas_pinyin }">
  203. <span class="title">{{ item.alias }}</span>
  204. </NuxtLink>
  205. </div>
  206. </div>
  207. </div>
  208. </div>
  209. </template>
  210. <script setup>
  211. //引入vue
  212. import { ref } from 'vue';
  213. //获得新闻数据
  214. const props = defineProps({
  215. componentStyle: Number,//样式编号
  216. navigateData: Array,//子导航数据
  217. routeId: Number//导航对应的cid
  218. });
  219. //获得导航名称
  220. const title = ref("")
  221. const mkdata = await requestDataPromise('/web/getOneWebsiteCategory', {
  222. method: 'GET',
  223. query: {
  224. 'catid': props.routeId,
  225. },
  226. });
  227. if (mkdata.code == 200) {
  228. if(mkdata.data.parent_name){
  229. title.value = mkdata.data.parent_name;
  230. }else{
  231. title.value = mkdata.data.alias;
  232. }
  233. }
  234. //获取当前url路径
  235. const route = useRoute();
  236. //获得当前的完整路径
  237. const fullPath = route.path;
  238. const segments = fullPath.split('/');
  239. const targetSegment = segments[1];
  240. const targetSegment2 = segments[2];
  241. //判断当前为第几层的列表页
  242. // const routeLevel = ref(0);
  243. // if(route.name == "dir-list-id"){
  244. // routeLevel.value = 1;
  245. // console.log("当前的路由层级为:" + routeLevel.value);
  246. // }
  247. // if(route.name == "dir-dir-list-id"){
  248. // routeLevel.value = 2;
  249. // console.log("当前的路由层级为:" + routeLevel.value);
  250. // }
  251. </script>
  252. <style lang="less" scoped>
  253. //基本样式 start ---------------------------------------->
  254. .channelMenuTitle_skin5 {
  255. width: 1200px;
  256. height: 32px;
  257. line-height: 32px;
  258. font-size: 24px;
  259. color: #3848a0;
  260. font-weight: bold;
  261. text-align: center;
  262. background: url('https://img.bjzxtw.org.cn/pre/image/png/20251111/1762826865714668.png') no-repeat center center;
  263. margin-bottom: 25px;
  264. }
  265. .channelMenuList {
  266. display: flex;
  267. justify-content: flex-start;
  268. align-items: center;
  269. color: #333;
  270. border-bottom: 2px solid #3848a0;
  271. padding-bottom: 15px;
  272. div {
  273. font-size: 16px;
  274. font-weight: bold;
  275. width: 150px;
  276. height: 22px;
  277. line-height: 22px;
  278. a {
  279. color: #333;
  280. display: block;
  281. text-align: center;
  282. &:hover {
  283. color: #3848a0;
  284. }
  285. }
  286. a.active {
  287. color: #3848a0;
  288. }
  289. &:first-child {
  290. color: #3848a0;
  291. }
  292. }
  293. }
  294. //基本样式 end ---------------------------------------->
  295. //样式2 start ---------------------------------------->
  296. .menuListStyle2 {
  297. border-bottom: 0;
  298. }
  299. //样式2 end ---------------------------------------->
  300. //样式3
  301. .menuListStyle3 {
  302. border-bottom: 0;
  303. div {
  304. text-align: center;
  305. height: 36px;
  306. &:hover {
  307. color: #3848a0;
  308. padding-bottom: 15px;
  309. border-bottom: 2px solid #3848a0;
  310. box-sizing: border-box;
  311. }
  312. }
  313. }
  314. //样式4
  315. .menuListStyle4 {
  316. height: 54px;
  317. padding-top: 23px;
  318. padding-bottom: 0px;
  319. .menuTitle {
  320. width: 140px;
  321. font-size: 26px;
  322. font-weight: bold;
  323. color: #3848a0;
  324. margin-right: 80px;
  325. }
  326. .menulist {
  327. display: flex;
  328. justify-content: flex-start;
  329. align-items: center;
  330. font-size: 16px;
  331. font-weight: bold;
  332. color: #333;
  333. padding: 15px 0;
  334. a {
  335. display: flex;
  336. justify-content: flex-start;
  337. align-items: center;
  338. .title {
  339. width: 120px;
  340. height: 16px;
  341. text-align: center;
  342. &:hover {
  343. color: #3848a0;
  344. }
  345. }
  346. .line {
  347. color: #3848a0;
  348. padding-top: 5px;
  349. }
  350. }
  351. }
  352. }
  353. //样式5
  354. .menuListStyle5 {
  355. border-bottom: none;
  356. }
  357. //样式6
  358. .menuListStyle6 {
  359. border-bottom: none;
  360. position: relative;
  361. }
  362. .menuListStyle6::after {
  363. content: '';
  364. position: absolute;
  365. bottom: -2px;
  366. left: 0;
  367. width: 8%;
  368. height: 2px;
  369. background-color: #3848a0;
  370. }
  371. //样式7
  372. .menuListStyle7 {
  373. margin-top: 30px;
  374. position: relative;
  375. padding-top: 25px;
  376. padding-bottom: 15px;
  377. border-bottom: 2px solid #E4E4E4;
  378. .channelMenuListTitle {
  379. background: url(https://img.bjzxtw.org.cn/pre/image/png/20251111/1762827425535634.png) no-repeat center center;
  380. width: 200px;
  381. height: 40px;
  382. line-height: 40px;
  383. color: #ffffff;
  384. font-size: 24px;
  385. padding-left: 30px;
  386. box-sizing: border-box;
  387. }
  388. .hannelMenuListFloatMenu {
  389. position: absolute;
  390. display: flex;
  391. flex-wrap: wrap;
  392. font-size: 12px;
  393. color: #333333;
  394. font-weight: bold;
  395. top: 33px;
  396. left: 210px;
  397. div {
  398. width: 123px;
  399. font-size: 16px;
  400. text-align: center;
  401. font-weight: bold;
  402. &:last-child {
  403. background: none;
  404. }
  405. &.active {
  406. color: #3848a0
  407. }
  408. a {
  409. color: #333333;
  410. }
  411. a:hover {
  412. color: #3848a0;
  413. }
  414. }
  415. }
  416. }
  417. //样式8
  418. .menuListStyle8 {
  419. border-bottom: none;
  420. }
  421. //样式9
  422. .menuListStyle9 {
  423. .hannelMenuListFloatMenu {
  424. div {
  425. width: 123px;
  426. font-size: 16px;
  427. text-align: center;
  428. font-weight: bold;
  429. height: 43px;
  430. &:last-child {
  431. background: none;
  432. }
  433. &.active {
  434. color: #3848a0;
  435. border-bottom: 2px solid #3848a0;
  436. }
  437. &:hover {
  438. color: #3848a0;
  439. border-bottom: 2px solid #3848a0;
  440. }
  441. }
  442. }
  443. }
  444. //样式11
  445. .menuListStyle11 {
  446. padding-top: 1px;
  447. .style11 {
  448. width: 1200px;
  449. height: 61px;
  450. display: flex;
  451. background-color: #3848a0;
  452. color: #fff;
  453. margin-top: 20px;
  454. .channelMenuListTitle {
  455. width: 144px;
  456. height: 51px;
  457. text-align: center;
  458. background-color: #fff;
  459. color: #3848a0;
  460. margin-top: 10px;
  461. margin-left: 35px;
  462. border-top-left-radius: 4px;
  463. border-top-right-radius: 4px;
  464. span {
  465. display: inline-block;
  466. font-size: 16px;
  467. font-weight: bold;
  468. padding: 10px 0;
  469. box-sizing: border-box;
  470. border-bottom: 2px solid #3848a0;
  471. }
  472. }
  473. .hannelMenuListFloatMenu {
  474. width: 925px;
  475. height: 21px;
  476. margin-top: 23px;
  477. padding: 0 50px 0 45px;
  478. display: flex;
  479. justify-content: flex-start;
  480. font-size: 16px;
  481. font-weight: bold;
  482. div {
  483. width: 122px;
  484. height: 20px;
  485. line-height: 16px;
  486. text-align: center;
  487. background: url(https://img.bjzxtw.org.cn/pre/image/png/20251111/1762839905257434.png) no-repeat right 2px;
  488. &:last-child {
  489. background: none;
  490. }
  491. &.active {
  492. color: #3848a0
  493. }
  494. a {
  495. color: #fff;
  496. }
  497. }
  498. }
  499. }
  500. }
  501. //样式12
  502. .menuListStyle12 {
  503. margin-top: 12px;
  504. position: relative;
  505. padding-bottom: 20px;
  506. border-bottom: 1px solid #d9d9d9;
  507. display: flex;
  508. .channelMenuListTitle {
  509. width: 153px;
  510. height: 52px;
  511. line-height: 52px;
  512. text-align: center;
  513. font-size: 18px;
  514. font-weight: bold;
  515. color: #fff;
  516. background: url(https://img.bjzxtw.org.cn/pre/image/png/20251111/1762828352859091.png) no-repeat left -4px;
  517. }
  518. .hannelMenuListFloatMenu {
  519. margin-left: 15px;
  520. width: 1030px;
  521. display: flex;
  522. justify-content: flex-start;
  523. flex-wrap: wrap;
  524. font-size: 16px;
  525. color: #333333;
  526. font-weight: bold;
  527. height: 52px;
  528. line-height: 60px;
  529. div {
  530. width: 96px;
  531. padding: 0 15px;
  532. padding-bottom: 9px;
  533. text-align: center;
  534. background: url(https://img.bjzxtw.org.cn/pre/image/png/20251111/1762839905257434.png) no-repeat right 22px;
  535. &:last-child {
  536. background: none;
  537. }
  538. &.active {
  539. color: #3848a0;
  540. border-bottom: 2px solid #3848a0;
  541. }
  542. a {
  543. color: #333333;
  544. span {
  545. display: inline-block;
  546. height: 70px;
  547. &:hover {
  548. color: #3848a0;
  549. border-bottom: 2px solid #3848a0;
  550. }
  551. }
  552. }
  553. }
  554. }
  555. }
  556. //样式13
  557. .menuListStyle13 {
  558. margin-top: 12px;
  559. position: relative;
  560. padding-bottom: 20px;
  561. display: flex;
  562. .channelMenuListTitle {
  563. width: 160px;
  564. height: 50px;
  565. line-height: 50px;
  566. text-align: center;
  567. font-size: 18px;
  568. font-weight: bold;
  569. color: #fff;
  570. background: url(https://img.bjzxtw.org.cn/pre/image/png/20251111/176282941298854.png) no-repeat left 5px;
  571. }
  572. .hannelMenuListFloatMenu {
  573. margin-left: 30px;
  574. width: 1030px;
  575. display: flex;
  576. justify-content: flex-start;
  577. flex-wrap: wrap;
  578. font-size: 16px;
  579. color: #333333;
  580. font-weight: bold;
  581. height: 52px;
  582. line-height: 60px;
  583. div {
  584. width: 96px;
  585. padding: 0 15px;
  586. padding-bottom: 9px;
  587. text-align: center;
  588. box-sizing: border-box;
  589. &:last-child {
  590. background: none;
  591. }
  592. a {
  593. color: #333333;
  594. span {
  595. display: inline-block;
  596. &:hover {
  597. color: #3848a0;
  598. }
  599. }
  600. }
  601. }
  602. }
  603. }
  604. //样式14
  605. .menuListStyle14 {
  606. margin-top: 12px;
  607. position: relative;
  608. padding-bottom: 20px;
  609. display: flex;
  610. .channelMenuListTitle {
  611. position: absolute;
  612. top: 0;
  613. left: 0;
  614. width: 182px;
  615. height: 67px;
  616. line-height: 67px;
  617. text-align: center;
  618. font-size: 22px;
  619. font-weight: bold;
  620. color: #fff;
  621. background: url(https://img.bjzxtw.org.cn/pre/image/png/20251111/1762829430424708.png) no-repeat left 5px;
  622. }
  623. .hannelMenuListFloatMenu {
  624. margin-top: 15px;
  625. width: 1200px;
  626. height: 52px;
  627. line-height: 52px;
  628. padding-left: 180px;
  629. box-sizing: border-box;
  630. display: flex;
  631. justify-content: flex-start;
  632. flex-wrap: wrap;
  633. font-size: 16px;
  634. color: #333333;
  635. background-color: #fafafa;
  636. div {
  637. width: 96px;
  638. padding: 0 15px;
  639. text-align: center;
  640. background: url(https://img.bjzxtw.org.cn/pre/image/png/20251111/1762837676175916.png) no-repeat right 22px;
  641. &:last-child {
  642. background: none;
  643. }
  644. a {
  645. color: #333333;
  646. span {
  647. display: inline-block;
  648. &:hover {
  649. color: #3848a0;
  650. }
  651. }
  652. }
  653. }
  654. }
  655. }
  656. //样式15
  657. .menuListStyle15 {
  658. width: 1200px;
  659. height: 60px;
  660. margin-top: 12px;
  661. position: relative;
  662. padding-bottom: 20px;
  663. display: flex;
  664. background: url(https://img.bjzxtw.org.cn/pre/image/png/20251111/1762829458643041.png) no-repeat left 5px;
  665. .channelMenuListTitle {
  666. width: 210px;
  667. height: 67px;
  668. line-height: 67px;
  669. text-align: center;
  670. font-size: 22px;
  671. font-weight: bold;
  672. color: #fff;
  673. }
  674. .hannelMenuListFloatMenu {
  675. width: 1200px;
  676. height: 60px;
  677. line-height: 70px;
  678. padding-left: 15px;
  679. display: flex;
  680. justify-content: flex-start;
  681. flex-wrap: wrap;
  682. font-size: 16px;
  683. color: #3848a0;
  684. font-weight: bold;
  685. div {
  686. width: 96px;
  687. padding: 0 15px;
  688. text-align: center;
  689. &:last-child {
  690. background: none;
  691. }
  692. a {
  693. color: #3848a0;
  694. span {
  695. display: inline-block;
  696. &:hover {
  697. color: #3848a0;
  698. }
  699. }
  700. }
  701. }
  702. }
  703. }
  704. //样式16
  705. .menuListStyle16 {
  706. width: 1200px;
  707. height: 44px;
  708. padding-top: 20px;
  709. position: relative;
  710. display: flex;
  711. border-bottom: 2px solid #3848a0;
  712. .channelMenuListTitle {
  713. width: 220px;
  714. height: 44px;
  715. line-height: 44px;
  716. text-align: center;
  717. font-size: 22px;
  718. font-weight: bold;
  719. color: #fff;
  720. background: url(https://img.bjzxtw.org.cn/pre/image/png/20251111/1762829473365366.png) no-repeat left 5px;
  721. }
  722. .hannelMenuListFloatMenu {
  723. width: 1200px;
  724. height: 45px;
  725. line-height: 47px;
  726. padding-left: 7px;
  727. display: flex;
  728. justify-content: flex-start;
  729. flex-wrap: wrap;
  730. font-size: 16px;
  731. color: #333333;
  732. font-weight: bold;
  733. div {
  734. width: 96px;
  735. padding: 0 15px;
  736. text-align: center;
  737. &:last-child {
  738. background: none;
  739. }
  740. a {
  741. color: #333333;
  742. span {
  743. display: inline-block;
  744. &:hover {
  745. color: #3848a0;
  746. }
  747. }
  748. }
  749. }
  750. }
  751. }
  752. //样式17
  753. .menuListStyle17 {
  754. width: 1200px;
  755. height: 44px;
  756. padding-top: 20px;
  757. position: relative;
  758. display: flex;
  759. border-bottom: 2px solid #3848a0;
  760. .channelMenuListTitle {
  761. width: 120px;
  762. height: 46px;
  763. line-height: 46px;
  764. text-align: center;
  765. font-size: 18px;
  766. font-weight: bold;
  767. color: #fff;
  768. background-color: #3848a0;
  769. border-top-left-radius: 4px;
  770. border-top-right-radius: 4px;
  771. }
  772. .hannelMenuListFloatMenu {
  773. width: 1080px;
  774. height: 46px;
  775. line-height: 46px;
  776. padding-left: 7px;
  777. display: flex;
  778. justify-content: space-between;
  779. flex-wrap: wrap;
  780. font-size: 16px;
  781. color: #333333;
  782. border-top: 1px solid #d9d9d9;
  783. border-right: 1px solid #d9d9d9;
  784. div {
  785. width: 96px;
  786. padding: 0 15px;
  787. text-align: center;
  788. background: url(https://img.bjzxtw.org.cn/pre/image/png/20251111/1762839905257434.png) no-repeat right 17px;
  789. &:last-child {
  790. background: none;
  791. }
  792. a {
  793. color: #333333;
  794. span {
  795. display: inline-block;
  796. &:hover {
  797. color: #3848a0;
  798. }
  799. }
  800. }
  801. }
  802. }
  803. }
  804. </style>