1.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641
  1. <template>
  2. <!--样式1-->
  3. <div class="headLineStyle" v-if="componentStyle == 1">
  4. <div class="headLineTitle" v-if="templateData.length > 0">
  5. <img src="http://192.168.1.234:19000/pre/image/jpeg/20251218/1766043865140375.jpg" />
  6. <NuxtLink :href="getLinkPathDetail(component_style1_News1)" :title="component_style1_News1.title"
  7. :target="component_style1_News1.islink == 1 ? '_blank' : '_self'">
  8. {{ component_style1_News1.title }}
  9. </NuxtLink>
  10. </div>
  11. <div class="headLineContent">
  12. <div v-for="item in component_style1_News2Array" :key="item.id">
  13. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  14. :target="item.islink == 1 ? '_blank' : '_self'">
  15. {{ item.title }}
  16. </NuxtLink>
  17. </div>
  18. </div>
  19. </div>
  20. <!--样式2-->
  21. <div class="headLineStyle" v-if="componentStyle == 2">
  22. <div class="headLineTitle" v-if="templateData.length > 0">
  23. <img src="http://192.168.1.234:19000/pre/image/jpeg/20251218/1766043865140375.jpg" />
  24. <NuxtLink :href="getLinkPathDetail(component_style1_News1)" :title="component_style1_News1.title"
  25. :target="component_style1_News1.islink == 1 ? '_blank' : '_self'">
  26. {{ component_style1_News1.title }}
  27. </NuxtLink>
  28. </div>
  29. <div class="headLineContent">
  30. <div v-for="item in component_style2_News2Array" :key="item.id">
  31. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  32. :target="item.islink == 1 ? '_blank' : '_self'">
  33. {{ item.title }}
  34. </NuxtLink>
  35. </div>
  36. </div>
  37. </div>
  38. <!--样式3-->
  39. <div class="headLineStyle" v-if="componentStyle == 3">
  40. <div class="headLineTitle" v-if="templateData.length > 0">
  41. <img src="http://192.168.1.234:19000/pre/image/jpeg/20251218/1766043865140375.jpg" />
  42. <NuxtLink :href="getLinkPathDetail(component_style1_News1)" :title="component_style1_News1.title"
  43. :target="component_style1_News1.islink == 1 ? '_blank' : '_self'">
  44. {{ component_style1_News1.title }}
  45. </NuxtLink>
  46. </div>
  47. <div class="headLineContent">
  48. <div v-for="item in component_style3_News2Array" :key="item.id">
  49. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  50. :target="item.islink == 1 ? '_blank' : '_self'">
  51. {{ item.title }}
  52. </NuxtLink>
  53. </div>
  54. </div>
  55. </div>
  56. <!--样式4-->
  57. <div class="headLineStyle headLineContent4" v-if="componentStyle == 4">
  58. <div class="headLineTitle" v-if="templateData.length > 0">
  59. <img src="http://192.168.1.234:19000/pre/image/jpeg/20251218/1766043865140375.jpg" />
  60. <NuxtLink :href="getLinkPathDetail(component_style1_News1)" :title="component_style1_News1.title"
  61. :target="component_style1_News1.islink == 1 ? '_blank' : '_self'">
  62. {{ component_style1_News1.title }}
  63. </NuxtLink>
  64. </div>
  65. </div>
  66. <!--样式5-->
  67. <div class="headLineStyle headLineContent5" v-if="componentStyle == 5">
  68. <div class="headLineTitle" v-for="(item, index) in component_style1_News1Array" :key="item.id"
  69. :class="{ 'active': activeTab == index }">
  70. <img src="http://192.168.1.234:19000/pre/image/jpeg/20251218/1766043865140375.jpg" v-if="activeTab == index" />
  71. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  72. :target="item.islink == 1 ? '_blank' : '_self'" v-if="activeTab == index">
  73. {{ item.title }}
  74. </NuxtLink>
  75. </div>
  76. <div class="headLineContent">
  77. <div @mouseenter="activeTab = 0" :class="{ 'active': activeTab == 0 }"></div>
  78. <div @mouseenter="activeTab = 1" :class="{ 'active': activeTab == 1 }"></div>
  79. <div @mouseenter="activeTab = 2" :class="{ 'active': activeTab == 2 }"></div>
  80. </div>
  81. </div>
  82. <!--样式6-->
  83. <div class="headLineStyle headLineContent5" v-if="componentStyle == 6">
  84. <div class="headLineTitle" v-for="(item, index) in component_style1_News1Array_1" :key="item.id"
  85. :class="{ 'active': activeTab == index }">
  86. <img src="http://192.168.1.234:19000/pre/image/jpeg/20251218/1766043865140375.jpg" v-if="activeTab == index" />
  87. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  88. :target="item.islink == 1 ? '_blank' : '_self'" v-if="activeTab == index">
  89. {{ item.title }}
  90. </NuxtLink>
  91. </div>
  92. <div class="headLineContent">
  93. <div @mouseenter="activeTab = 0" :class="{ 'active': activeTab == 0 }"></div>
  94. <div @mouseenter="activeTab = 1" :class="{ 'active': activeTab == 1 }"></div>
  95. </div>
  96. </div>
  97. <!--样式7-->
  98. <div class="headLineStyle headLineContent7" v-if="componentStyle == 7">
  99. <div class="headLineTitle" v-if="templateData.length > 0">
  100. <img src="http://192.168.1.234:19000/pre/image/jpeg/20251218/1766043990716302.jpg" />
  101. <NuxtLink :href="getLinkPathDetail(component_style1_News1)" :title="component_style1_News1.title"
  102. :target="component_style1_News1.islink == 1 ? '_blank' : '_self'">
  103. {{ component_style1_News1.title }}
  104. </NuxtLink>
  105. </div>
  106. <div class="headLineContent">
  107. <div v-for="item in component_style1_News2Array" :key="item.id">
  108. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  109. :target="item.islink == 1 ? '_blank' : '_self'">
  110. {{ item.title }}
  111. </NuxtLink>
  112. </div>
  113. </div>
  114. </div>
  115. <!--样式8-->
  116. <div class="headLineStyle headLineContent7" v-if="componentStyle == 8">
  117. <div class="headLineTitle" v-if="templateData.length > 0">
  118. <img src="http://192.168.1.234:19000/pre/image/jpeg/20251218/1766043990716302.jpg" />
  119. <NuxtLink :href="getLinkPathDetail(component_style1_News1)" :title="component_style1_News1.title"
  120. :target="component_style1_News1.islink == 1 ? '_blank' : '_self'">
  121. {{ component_style1_News1.title }}
  122. </NuxtLink>
  123. </div>
  124. <div class="headLineContent">
  125. <div v-for="item in component_style2_News2Array" :key="item.id">
  126. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  127. :target="item.islink == 1 ? '_blank' : '_self'">
  128. {{ item.title }}
  129. </NuxtLink>
  130. </div>
  131. </div>
  132. </div>
  133. <!--样式9-->
  134. <div class="headLineStyle headLineContent7" v-if="componentStyle == 9">
  135. <div class="headLineTitle" v-if="templateData.length > 0">
  136. <img src="http://192.168.1.234:19000/pre/image/jpeg/20251218/1766043990716302.jpg" />
  137. <NuxtLink :href="getLinkPathDetail(component_style1_News1)" :title="component_style1_News1.title"
  138. :target="component_style1_News1.islink == 1 ? '_blank' : '_self'">
  139. {{ component_style1_News1.title }}
  140. </NuxtLink>
  141. </div>
  142. <div class="headLineContent">
  143. <div v-for="item in component_style3_News2Array" :key="item.id">
  144. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  145. :target="item.islink == 1 ? '_blank' : '_self'">
  146. {{ item.title }}
  147. </NuxtLink>
  148. </div>
  149. </div>
  150. </div>
  151. <!--样式10-->
  152. <div class="headLineStyle headLineContent10" v-if="componentStyle == 10">
  153. <div class="headLineTitle" v-if="templateData.length > 0">
  154. <img src="http://192.168.1.234:19000/pre/image/jpeg/20251218/1766043990716302.jpg" />
  155. <NuxtLink :href="getLinkPathDetail(component_style1_News1)" :title="component_style1_News1.title"
  156. :target="component_style1_News1.islink == 1 ? '_blank' : '_self'">
  157. {{ component_style1_News1.title }}
  158. </NuxtLink>
  159. </div>
  160. </div>
  161. <!--样式11-->
  162. <div class="headLineStyle headLineContent11" v-if="componentStyle == 11">
  163. <div class="headLineTitle" v-for="(item, index) in component_style1_News1Array" :key="item.id"
  164. :class="{ 'active': activeTab == index }">
  165. <img src="http://192.168.1.234:19000/pre/image/jpeg/20251218/1766043990716302.jpg" v-if="activeTab == index" />
  166. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  167. :target="item.islink == 1 ? '_blank' : '_self'" v-if="activeTab == index">
  168. {{ item.title }}
  169. </NuxtLink>
  170. </div>
  171. <div class="headLineContent">
  172. <div @mouseenter="activeTab = 0" :class="{ 'active': activeTab == 0 }"></div>
  173. <div @mouseenter="activeTab = 1" :class="{ 'active': activeTab == 1 }"></div>
  174. <div @mouseenter="activeTab = 2" :class="{ 'active': activeTab == 2 }"></div>
  175. </div>
  176. </div>
  177. <!--样式12-->
  178. <div class="headLineStyle headLineContent11" v-if="componentStyle == 12">
  179. <div class="headLineTitle" v-for="(item, index) in component_style1_News1Array_1" :key="item.id"
  180. :class="{ 'active': activeTab == index }">
  181. <img src="http://192.168.1.234:19000/pre/image/jpeg/20251218/1766043990716302.jpg" v-if="activeTab == index" />
  182. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  183. :target="item.islink == 1 ? '_blank' : '_self'" v-if="activeTab == index">
  184. {{ item.title }}
  185. </NuxtLink>
  186. </div>
  187. <div class="headLineContent">
  188. <div @mouseenter="activeTab = 0" :class="{ 'active': activeTab == 0 }"></div>
  189. <div @mouseenter="activeTab = 1" :class="{ 'active': activeTab == 1 }"></div>
  190. </div>
  191. </div>
  192. <!--样式13-->
  193. <div class="headLineStyle headLineContent7" v-if="componentStyle == 13">
  194. <div class="headLineTitle" v-if="templateData.length > 0">
  195. <NuxtLink :href="getLinkPathDetail(component_style1_News1)" :title="component_style1_News1.title"
  196. :target="component_style1_News1.islink == 1 ? '_blank' : '_self'">
  197. {{ component_style1_News1.title }}
  198. </NuxtLink>
  199. </div>
  200. <div class="headLineContent">
  201. <div v-for="item in component_style1_News2Array" :key="item.id">
  202. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  203. :target="item.islink == 1 ? '_blank' : '_self'">
  204. {{ item.title }}
  205. </NuxtLink>
  206. </div>
  207. </div>
  208. </div>
  209. <!--样式14-->
  210. <div class="headLineStyle headLineContent7" v-if="componentStyle == 14">
  211. <div class="headLineTitle" v-if="templateData.length > 0">
  212. <NuxtLink :href="getLinkPathDetail(component_style1_News1)" :title="component_style1_News1.title"
  213. :target="component_style1_News1.islink == 1 ? '_blank' : '_self'">
  214. {{ component_style1_News1.title }}
  215. </NuxtLink>
  216. </div>
  217. <div class="headLineContent">
  218. <div v-for="item in component_style2_News2Array" :key="item.id">
  219. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  220. :target="item.islink == 1 ? '_blank' : '_self'">
  221. {{ item.title }}
  222. </NuxtLink>
  223. </div>
  224. </div>
  225. </div>
  226. <!--样式15-->
  227. <div class="headLineStyle headLineContent7" v-if="componentStyle == 15">
  228. <div class="headLineTitle" v-if="templateData.length > 0">
  229. <NuxtLink :href="getLinkPathDetail(component_style1_News1)" :title="component_style1_News1.title"
  230. :target="component_style1_News1.islink == 1 ? '_blank' : '_self'">
  231. {{ component_style1_News1.title }}
  232. </NuxtLink>
  233. </div>
  234. <div class="headLineContent">
  235. <div v-for="item in component_style3_News2Array" :key="item.id">
  236. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  237. :target="item.islink == 1 ? '_blank' : '_self'">
  238. {{ item.title }}
  239. </NuxtLink>
  240. </div>
  241. </div>
  242. </div>
  243. <!--样式16-->
  244. <div class="headLineStyle headLineContent10" v-if="componentStyle == 16">
  245. <div class="headLineTitle" v-if="templateData.length > 0">
  246. <NuxtLink :href="getLinkPathDetail(component_style1_News1)" :title="component_style1_News1.title"
  247. :target="component_style1_News1.islink == 1 ? '_blank' : '_self'">
  248. {{ component_style1_News1.title }}
  249. </NuxtLink>
  250. </div>
  251. </div>
  252. <!--样式17-->
  253. <div class="headLineStyle headLineContent11" v-if="componentStyle == 17">
  254. <div class="headLineTitle" v-for="(item, index) in component_style1_News1Array" :key="item.id"
  255. :class="{ 'active': activeTab == index }">
  256. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  257. :target="item.islink == 1 ? '_blank' : '_self'" v-if="activeTab == index">
  258. {{ item.title }}
  259. </NuxtLink>
  260. </div>
  261. <div class="headLineContent">
  262. <div @mouseenter="activeTab = 0" :class="{ 'active': activeTab == 0 }"></div>
  263. <div @mouseenter="activeTab = 1" :class="{ 'active': activeTab == 1 }"></div>
  264. <div @mouseenter="activeTab = 2" :class="{ 'active': activeTab == 2 }"></div>
  265. </div>
  266. </div>
  267. <!--样式18-->
  268. <div class="headLineStyle headLineContent11" v-if="componentStyle == 18">
  269. <div class="headLineTitle" v-for="(item, index) in component_style1_News1Array_1" :key="item.id"
  270. :class="{ 'active': activeTab == index }">
  271. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  272. :target="item.islink == 1 ? '_blank' : '_self'" v-if="activeTab == index">
  273. {{ item.title }}
  274. </NuxtLink>
  275. </div>
  276. <div class="headLineContent">
  277. <div @mouseenter="activeTab = 0" :class="{ 'active': activeTab == 0 }"></div>
  278. <div @mouseenter="activeTab = 1" :class="{ 'active': activeTab == 1 }"></div>
  279. </div>
  280. </div>
  281. <!--样式19-->
  282. <div class="headLineStyle headLineContent19" v-if="componentStyle == 19">
  283. <div class="headLineTitle" v-if="templateData.length > 0">
  284. <img src="http://192.168.1.234:19000/pre/image/png/20251218/1766044067976048.png" />
  285. <NuxtLink :href="getLinkPathDetail(component_style1_News1)" :title="component_style1_News1.title"
  286. :target="component_style1_News1.islink == 1 ? '_blank' : '_self'">
  287. {{ component_style1_News1.title }}
  288. </NuxtLink>
  289. </div>
  290. </div>
  291. <!-- 样式20 -->
  292. <div class="headLineStyle headLineContent20" v-if="componentStyle == 20">
  293. <img src="http://192.168.1.234:19000/pre/image/png/20251218/1766044091191368.png" />
  294. <div class="headLineTitle" v-if="templateData.length > 0">
  295. <NuxtLink :href="getLinkPathDetail(component_style1_News1)" :title="component_style1_News1.title"
  296. :target="component_style1_News1.islink == 1 ? '_blank' : '_self'">
  297. {{ component_style1_News1.title }}
  298. </NuxtLink>
  299. </div>
  300. <div class="headLineContent">
  301. <div v-for="item in component_style1_News2Array" :key="item.id">
  302. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  303. :target="item.islink == 1 ? '_blank' : '_self'">
  304. {{ item.title }}
  305. </NuxtLink>
  306. </div>
  307. </div>
  308. </div>
  309. <!-- 样式21 -->
  310. <div class="headLineStyle headLineContent20" v-if="componentStyle == 21">
  311. <img src="http://192.168.1.234:19000/pre/image/png/20251218/1766044091191368.png" />
  312. <div class="headLineTitle" v-if="templateData.length > 0">
  313. <NuxtLink :href="getLinkPathDetail(component_style1_News1)" :title="component_style1_News1.title"
  314. :target="component_style1_News1.islink == 1 ? '_blank' : '_self'">
  315. {{ component_style1_News1.title }}
  316. </NuxtLink>
  317. </div>
  318. <div class="headLineContent">
  319. <div v-for="item in component_style2_News2Array" :key="item.id">
  320. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  321. :target="item.islink == 1 ? '_blank' : '_self'">
  322. {{ item.title }}
  323. </NuxtLink>
  324. </div>
  325. </div>
  326. </div>
  327. <!-- 样式22 -->
  328. <div class="headLineStyle headLineContent20" v-if="componentStyle == 22">
  329. <img src="http://192.168.1.234:19000/pre/image/png/20251218/1766044091191368.png" />
  330. <div class="headLineTitle" v-if="templateData.length > 0">
  331. <NuxtLink :href="getLinkPathDetail(component_style1_News1)" :title="component_style1_News1.title"
  332. :target="component_style1_News1.islink == 1 ? '_blank' : '_self'">
  333. {{ component_style1_News1.title }}
  334. </NuxtLink>
  335. </div>
  336. <div class="headLineContent">
  337. <div v-for="item in component_style3_News2Array" :key="item.id">
  338. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  339. :target="item.islink == 1 ? '_blank' : '_self'">
  340. {{ item.title }}
  341. </NuxtLink>
  342. </div>
  343. </div>
  344. </div>
  345. <!-- 样式23 -->
  346. <div class="headLineStyle headLineContent23" v-if="componentStyle == 23">
  347. <img src="http://192.168.1.234:19000/pre/image/png/20251218/1766044091191368.png" />
  348. <div class="headLineTitle" v-if="templateData.length > 0">
  349. <NuxtLink :href="getLinkPathDetail(component_style1_News1)" :title="component_style1_News1.title"
  350. :target="component_style1_News1.islink == 1 ? '_blank' : '_self'">
  351. {{ component_style1_News1.title }}
  352. </NuxtLink>
  353. </div>
  354. </div>
  355. <!--样式24-->
  356. <div class="headLineStyle headLineContent24" v-if="componentStyle == 24">
  357. <img src="http://192.168.1.234:19000/pre/image/png/20251218/1766044091191368.png" />
  358. <div class="headLineTitle" v-for="(item, index) in component_style1_News1Array" :key="item.id"
  359. :class="{ 'active': activeTab == index }">
  360. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  361. :target="item.islink == 1 ? '_blank' : '_self'" v-if="activeTab == index">
  362. {{ item.title }}
  363. </NuxtLink>
  364. </div>
  365. <div class="headLineContent">
  366. <div @mouseenter="activeTab = 0" :class="{ 'active': activeTab == 0 }"></div>
  367. <div @mouseenter="activeTab = 1" :class="{ 'active': activeTab == 1 }"></div>
  368. <div @mouseenter="activeTab = 2" :class="{ 'active': activeTab == 2 }"></div>
  369. </div>
  370. </div>
  371. <!--样式25-->
  372. <div class="headLineStyle headLineContent24" v-if="componentStyle == 25">
  373. <img src="http://192.168.1.234:19000/pre/image/png/20251218/1766044091191368.png" />
  374. <div class="headLineTitle" v-for="(item, index) in component_style1_News1Array_1" :key="item.id"
  375. :class="{ 'active': activeTab == index }">
  376. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  377. :target="item.islink == 1 ? '_blank' : '_self'" v-if="activeTab == index">
  378. {{ item.title }}
  379. </NuxtLink>
  380. </div>
  381. <div class="headLineContent">
  382. <div @mouseenter="activeTab = 0" :class="{ 'active': activeTab == 0 }"></div>
  383. <div @mouseenter="activeTab = 1" :class="{ 'active': activeTab == 1 }"></div>
  384. </div>
  385. </div>
  386. </template>
  387. <script setup>
  388. //引入vue
  389. import { ref } from 'vue';
  390. //获得新闻数据
  391. const props = defineProps({
  392. componentStyle: Number,//样式编号
  393. templateData: Array,//新闻数据
  394. });
  395. //组件样式1 start ---------------------------------------->
  396. console.log(props.templateData)
  397. const activeTab = ref(0);
  398. const component_style1_News1 = ref({});
  399. const component_style1_News1Array = ref([]);
  400. const component_style1_News1Array_1 = ref([]);
  401. const component_style1_News2Array = ref([]);
  402. const component_style2_News2Array = ref([]);
  403. const component_style3_News2Array = ref([]);
  404. component_style1_News1.value = props.templateData[0];
  405. component_style1_News1Array.value = props.templateData.slice(0, 3);
  406. component_style1_News1Array_1.value = props.templateData.slice(0, 2);
  407. component_style1_News2Array.value = props.templateData.slice(1, 4);
  408. component_style2_News2Array.value = props.templateData.slice(1, 3);
  409. component_style3_News2Array.value = props.templateData.slice(1, 2);
  410. //组件样式1 end ---------------------------------------->
  411. </script>
  412. <style lang="less" scoped>
  413. //基础样式 start ---------------------------------------->
  414. .headLineStyle {
  415. width: 1200px;
  416. height: 110px;
  417. margin: 0 auto;
  418. box-sizing: border-box;
  419. padding: 0 100px 0 100px;
  420. .headLineTitle {
  421. display: flex;
  422. align-items: center;
  423. justify-content: center;
  424. margin-bottom: 20px;
  425. a {
  426. font-weight: bold;
  427. font-size: 30px;
  428. color: #004564;
  429. }
  430. img {
  431. margin-right: 20px;
  432. }
  433. }
  434. .headLineContent {
  435. display: flex;
  436. align-items: center;
  437. justify-content: center;
  438. div {
  439. margin-right: 40px;
  440. overflow: hidden;
  441. text-overflow: ellipsis;
  442. white-space: nowrap;
  443. a {
  444. font-size: 18px;
  445. color: #333333;
  446. }
  447. &:last-child {
  448. margin-right: 0;
  449. }
  450. }
  451. }
  452. }
  453. //样式4
  454. .headLineContent4 {
  455. line-height: 100px;
  456. .headLineTitle {
  457. margin-bottom: 0;
  458. }
  459. }
  460. //样式5
  461. .headLineContent5 {
  462. padding: 15px 100px 15px 100px;
  463. .headLineTitle {
  464. margin-bottom: 0;
  465. }
  466. .headLineContent {
  467. margin-top: 30px;
  468. display: flex;
  469. align-items: center;
  470. justify-content: center;
  471. div {
  472. width: 360px;
  473. height: 5px;
  474. background: #ccdae0;
  475. margin-right: 10px;
  476. }
  477. .active {
  478. background: #004564;
  479. }
  480. }
  481. }
  482. //样式7
  483. .headLineContent7 {
  484. .headLineTitle {
  485. img {
  486. margin-right: 30px;
  487. }
  488. }
  489. }
  490. //样式10
  491. .headLineContent10 {
  492. line-height: 100px;
  493. .headLineTitle {
  494. margin-bottom: 0;
  495. img {
  496. margin-right: 30px;
  497. }
  498. }
  499. }
  500. //样式11
  501. .headLineContent11 {
  502. padding: 15px 100px 15px 100px;
  503. .headLineTitle {
  504. margin-bottom: 0;
  505. img {
  506. margin-right: 30px;
  507. }
  508. a{
  509. white-space: nowrap;
  510. overflow: hidden;
  511. text-overflow: ellipsis;
  512. }
  513. }
  514. .headLineContent {
  515. margin-top: 30px;
  516. display: flex;
  517. align-items: center;
  518. justify-content: center;
  519. div {
  520. width: 360px;
  521. height: 5px;
  522. background: #ccdae0;
  523. margin-right: 10px;
  524. }
  525. .active {
  526. background: #004564;
  527. }
  528. }
  529. }
  530. //样式19
  531. .headLineContent19 {
  532. padding: 35px 50px 35px 50px;
  533. line-height: 140px;
  534. margin-bottom: 0;
  535. .headLineTitle {
  536. width: 1100px;
  537. height: 70px;
  538. line-height: 140px;
  539. background-color: #f6fcff;
  540. position: relative;
  541. img {
  542. width: 46px;
  543. height: 46px;
  544. position: absolute;
  545. top: 0px;
  546. left: 0px;
  547. }
  548. }
  549. }
  550. //样式20
  551. .headLineContent20 {
  552. width: 1196px;
  553. height: 110px;
  554. background-color: #fafafa;
  555. position: relative;
  556. padding-top: 5px;
  557. img {
  558. width: 63px;
  559. height: 32px;
  560. position: absolute;
  561. top: 15px;
  562. left: 30px;
  563. }
  564. }
  565. //样式23
  566. .headLineContent23 {
  567. width: 1196px;
  568. height: 110px;
  569. background-color: #fafafa;
  570. position: relative;
  571. padding: 32px 100px;
  572. img {
  573. width: 63px;
  574. height: 32px;
  575. position: absolute;
  576. top: 38px;
  577. left: 30px;
  578. }
  579. }
  580. //样式24
  581. .headLineContent24 {
  582. width: 1196px;
  583. height: 110px;
  584. background-color: #fafafa;
  585. position: relative;
  586. padding: 15px 100px;
  587. img {
  588. width: 63px;
  589. height: 32px;
  590. position: absolute;
  591. top: 25px;
  592. left: 30px;
  593. }
  594. .headLineTitle{
  595. margin-bottom: 0;
  596. }
  597. .headLineContent {
  598. margin-top: 30px;
  599. display: flex;
  600. align-items: center;
  601. justify-content: center;
  602. div {
  603. width: 360px;
  604. height: 5px;
  605. background: #ccdae0;
  606. margin-right: 10px;
  607. }
  608. .active {
  609. background: #004564;
  610. }
  611. }
  612. }
  613. //基础样式 end ----------------------------------------></style>