1.vue 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  1. <template>
  2. <div>
  3. <div :class="'footerStyle footerStyle' + this.$store.state.template.editWebsiteClass" v-if="this.$store.state.template.editWebsiteClass== 5 || this.$store.state.template.editWebsiteClass== 6">
  4. <div class="footerLogoBox">
  5. <img src="http://192.168.1.234:19000/pre/image/jpeg/20251224/1766538399880609.jpg" alt="" v-if="this.$store.state.template.editWebsiteClass==5">
  6. <img src=" http://192.168.1.234:19000/pre/image/png/20251218/1766050741394985.png" alt="" v-if="this.$store.state.template.editWebsiteClass==6">
  7. </div>
  8. <div :class="['imgLinkBox', { componentBorder: this.$store.state.template.previewStatus == false }]">
  9. <img :src="item.logo_url" v-for="item in this.$store.state.template.webSiteFooterInfo.link_img"
  10. :key="item.id">
  11. </div>
  12. <div class="textLinkBox">
  13. <div class="textLinkBoxLeft">
  14. <span>友情链接:</span>
  15. </div>
  16. <div class="textLinkBoxRight">
  17. <span v-for="item in this.$store.state.template.webSiteFooterInfo.link_text" :key="item.id">{{
  18. item.title }}</span>
  19. </div>
  20. </div>
  21. <div class="footerMenuBox">
  22. <div class="footerMenu">
  23. <div v-for="item in this.$store.state.template.webSiteFooterInfo.foot_cate" :key="item.id">
  24. {{ item.name }}</div>
  25. </div>
  26. </div>
  27. <div class="footInfoBox">
  28. <div :class="['footerInfoBox', { componentBorder: this.$store.state.template.previewStatus == false }]">
  29. <div class="footerInfoBoxContent" v-if="this.$store.state.template.webSiteFooterInfo">
  30. <div class="footerInfoBoxContentLeft">
  31. <img :src="this.$store.state.template.webSiteFooterInfo.foot_info.company_logo">
  32. </div>
  33. <div class="footerInfoBoxContentMain">
  34. <p v-html="this.$store.state.template.webSiteFooterInfo.foot_info.statement"
  35. class="foot_text_html_css"></p>
  36. <p v-html="this.$store.state.template.webSiteFooterInfo.foot_info.organizer"
  37. class="foot_text_html_css"></p>
  38. <p v-html="this.$store.state.template.webSiteFooterInfo.foot_info.copyright_information"
  39. class="foot_text_html_css"></p>
  40. <p>
  41. <span v-html="this.$store.state.template.webSiteFooterInfo.foot_info.icp_number"
  42. class="foot_text_html_css"></span>
  43. <span v-html="this.$store.state.template.webSiteFooterInfo.foot_info.record_number"
  44. class="foot_text_html_css"></span>
  45. </p>
  46. <p v-html="this.$store.state.template.webSiteFooterInfo.foot_info.email"
  47. class="foot_text_html_css"></p>
  48. <p v-html="this.$store.state.template.webSiteFooterInfo.foot_info.company_address"
  49. class="foot_text_html_css"></p>
  50. <p v-html="this.$store.state.template.webSiteFooterInfo.foot_info.contact_number"
  51. class="foot_text_html_css"></p>
  52. </div>
  53. <div class="footerInfoBoxContentRight">
  54. <img :src="this.$store.state.template.webSiteFooterInfo.foot_info.project_logo">
  55. </div>
  56. </div>
  57. <div class="footerInfoBoxBottom">
  58. <img :src="item.logo_url" v-for="item in this.$store.state.template.webSiteFooterInfo.link_foot"
  59. :key="item.id">
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. <!-- 皮肤7皮肤7 -->
  65. <div :class="'footerStyle footerStyle' + this.$store.state.template.editWebsiteClass" v-if="this.$store.state.template.editWebsiteClass == 7">
  66. <div class="index_1_top_box">
  67. <h4 class="index_1_top_h4">
  68. <span class=" ">友情链接 </span>
  69. </h4>
  70. </div>
  71. <div :class="['imgLinkBox', { componentBorder: this.$store.state.template.previewStatus == false }]">
  72. <img :src="item.logo_url" v-for="item in this.$store.state.template.webSiteFooterInfo.link_img"
  73. :key="item.id">
  74. </div>
  75. <div class="textLinkBox">
  76. <div class="textLinkBoxLeft">
  77. <span>友情链接:</span>
  78. </div>
  79. <div class="textLinkBoxRight">
  80. <span v-for="item in this.$store.state.template.webSiteFooterInfo.link_text" :key="item.id">{{
  81. item.title }}</span>
  82. </div>
  83. </div>
  84. <div class="footerMenuBox">
  85. <div class="footerMenu">
  86. <div v-for="item in this.$store.state.template.webSiteFooterInfo.foot_cate" :key="item.id">
  87. {{ item.name }}
  88. </div>
  89. </div>
  90. </div>
  91. <div class="footInfoBox">
  92. <div :class="['footerInfoBox', { componentBorder: this.$store.state.template.previewStatus == false }]">
  93. <div class="footerInfoBoxContent" v-if="this.$store.state.template.webSiteFooterInfo">
  94. <div class="footerInfoBoxContentLeft">
  95. <img :src="this.$store.state.template.webSiteFooterInfo.foot_info.company_logo">
  96. </div>
  97. <div class="footerInfoBoxContentMain">
  98. <p v-html="this.$store.state.template.webSiteFooterInfo.foot_info.statement"
  99. class="foot_text_html_css"></p>
  100. <p v-html="this.$store.state.template.webSiteFooterInfo.foot_info.organizer"
  101. class="foot_text_html_css"></p>
  102. <p v-html="this.$store.state.template.webSiteFooterInfo.foot_info.copyright_information"
  103. class="foot_text_html_css"></p>
  104. <p>
  105. <span v-html="this.$store.state.template.webSiteFooterInfo.foot_info.icp_number"
  106. class="foot_text_html_css"></span>
  107. <span v-html="this.$store.state.template.webSiteFooterInfo.foot_info.record_number"
  108. class="foot_text_html_css"></span>
  109. </p>
  110. <p v-html="this.$store.state.template.webSiteFooterInfo.foot_info.email"
  111. class="foot_text_html_css"></p>
  112. <p v-html="this.$store.state.template.webSiteFooterInfo.foot_info.company_address"
  113. class="foot_text_html_css"></p>
  114. <p v-html="this.$store.state.template.webSiteFooterInfo.foot_info.contact_number"
  115. class="foot_text_html_css"></p>
  116. </div>
  117. <div class="footerInfoBoxContentRight">
  118. <img :src="this.$store.state.template.webSiteFooterInfo.foot_info.project_logo">
  119. </div>
  120. </div>
  121. <div class="footerInfoBoxBottom">
  122. <img :src="item.logo_url"
  123. v-for="item in this.$store.state.template.webSiteFooterInfo.link_foot"
  124. :key="item.id">
  125. </div>
  126. </div>
  127. </div>
  128. </div>
  129. </div>
  130. </template>
  131. <script>
  132. // import '@/styles/theme/foot/style1.less';
  133. // import '@/styles/theme/foot/style2.less';
  134. export default {
  135. props: {},
  136. components: {},
  137. data() {
  138. return {};
  139. },
  140. methods: {},
  141. mounted() {
  142. }
  143. };
  144. </script>
  145. <style scoped lang="less">
  146. //基本样式
  147. .componentBorder {
  148. border: 2px dashed #999;
  149. }
  150. .footerStyle {
  151. width: 100%;
  152. margin: 0 auto;
  153. .imgLinkBox {
  154. width: 1200px;
  155. height: 140px;
  156. display: flex;
  157. justify-content: flex-start;
  158. flex-wrap: wrap;
  159. overflow: hidden;
  160. margin: 0 auto;
  161. margin-bottom: 20px;
  162. box-sizing: content-box;
  163. img {
  164. width: 170px;
  165. height: 60px;
  166. margin-right: 36px;
  167. display: block;
  168. margin-bottom: 20px;
  169. &:nth-child(6n) {
  170. margin-right: 0;
  171. }
  172. }
  173. }
  174. .textLinkBox {
  175. width: 1200px;
  176. margin: 0 auto;
  177. display: flex;
  178. justify-content: space-between;
  179. align-items: flex-start;
  180. box-sizing: content-box;
  181. .textLinkBoxLeft {
  182. color: #333;
  183. font-weight: bold;
  184. span {
  185. display: block;
  186. margin-bottom: 20px;
  187. }
  188. }
  189. .textLinkBoxRight {
  190. width: 1083px;
  191. color: #333;
  192. display: flex;
  193. align-items: flex-start;
  194. flex-wrap: wrap;
  195. span {
  196. margin-right: 50px;
  197. display: block;
  198. margin-bottom: 20px;
  199. }
  200. }
  201. }
  202. .footerMenuBox {
  203. border-bottom: none;
  204. .footerMenu {
  205. width: 1200px;
  206. margin: 0 auto;
  207. display: flex;
  208. align-items: center;
  209. justify-content: center;
  210. height: 50px;
  211. div {
  212. color: #fff;
  213. font-size: 14px;
  214. font-weight: bold;
  215. width: 200px;
  216. text-align: center;
  217. &:last-child {
  218. border-right: none;
  219. }
  220. }
  221. }
  222. }
  223. .footInfoBox {
  224. width: 100%;
  225. .footerInfoBox {
  226. width: 1200px;
  227. padding-bottom: 30px;
  228. margin: 0 auto;
  229. box-sizing: content-box;
  230. .footerInfoBoxContent {
  231. display: flex;
  232. justify-content: space-between;
  233. align-items: center;
  234. .footerInfoBoxContentLeft {
  235. width: 10%;
  236. box-sizing: border-box;
  237. padding-right: 10px;
  238. img {
  239. width: 100%;
  240. display: block;
  241. }
  242. }
  243. .footerInfoBoxContentMain {
  244. padding-top: 40px;
  245. font-size: 14px;
  246. text-align: center;
  247. color: #fff;
  248. div {
  249. text-align: center;
  250. padding-bottom: 10px;
  251. color: #333;
  252. }
  253. }
  254. .footerInfoBoxContentRight {
  255. width: 10%;
  256. box-sizing: border-box;
  257. padding-left: 10px;
  258. img {
  259. width: 100%;
  260. display: block;
  261. }
  262. }
  263. }
  264. .footerInfoBoxBottom {
  265. display: flex;
  266. justify-content: center;
  267. align-items: center;
  268. padding-top: 40px;
  269. img {
  270. width: 10%;
  271. display: block;
  272. margin-right: 10px;
  273. }
  274. }
  275. }
  276. }
  277. }
  278. //样式5
  279. @style5color: #3848a0;
  280. @style5BorderRight: #1f308c 1px solid;
  281. .footerStyle5 {
  282. .footerLogoBox {
  283. width: 1200px;
  284. margin: 0 auto;
  285. display: flex;
  286. justify-content: center;
  287. align-items: center;
  288. margin-bottom: 30px;
  289. img {
  290. width: 1200px;
  291. height: 70px;
  292. }
  293. }
  294. .footerMenuBox {
  295. background-color: @style5color;
  296. }
  297. .footerMenu {
  298. div {
  299. border-right: @style5BorderRight;
  300. }
  301. }
  302. .footInfoBox {
  303. background-color: @style5color;
  304. }
  305. }
  306. //样式6
  307. @style6color: #16407a;
  308. @style6BorderRight: #16407a 1px solid;
  309. .footerStyle6 {
  310. .footerLogoBox {
  311. width: 1200px;
  312. margin: 0 auto;
  313. display: flex;
  314. justify-content: center;
  315. align-items: center;
  316. margin-bottom: 30px;
  317. padding-top: 30px;
  318. img {
  319. width: 1200px;
  320. height: 32px;
  321. }
  322. }
  323. .footerMenuBox {
  324. background-color: @style6color;
  325. }
  326. .footerMenu {
  327. div {
  328. border-right: @style6BorderRight;
  329. }
  330. }
  331. .footInfoBox {
  332. background-color: @style6color;
  333. }
  334. }
  335. //样式7
  336. @style7color: #A72213;
  337. @style7BorderRight: #D9D9D9 1px solid;
  338. .footerStyle7 {
  339. .index_1_top_box{height:42px;text-align:center; margin:0px auto 54px;}
  340. .index_1_top_h4{display:inline-block;text-align:center;position:relative;
  341. padding:0px 20px;margin:0px auto;
  342. }
  343. .index_1_top_h4::after{content:'';position:absolute;
  344. left:-440px;top:14px;
  345. height:20px;width:440px;
  346. background:url(http://192.168.1.234:19000/pre/image/png/20251223/1766471836846789.png) no-repeat right 0px ;
  347. background-size: auto 100%;
  348. }
  349. .index_1_top_h4::before{content:'';position:absolute;
  350. right:-440px;top:14px;
  351. height:20px;width:440px;
  352. background:url( http://192.168.1.234:19000/pre/image/png/20251223/1766471917895279.png) no-repeat left 0px ;
  353. background-size: auto 100%;
  354. }
  355. .index_1_top_box>*{text-align:center;height:42px;line-height:42px;
  356. color:#333;font-size:32px;
  357. font-weight:normal;
  358. }
  359. .footerMenuBox {
  360. background-color: #FAFAFA;
  361. }
  362. .footerMenu {
  363. div {
  364. border-right: @style7BorderRight;
  365. width: 260px!important;
  366. color: #333!important;
  367. }
  368. }
  369. .footInfoBox {
  370. background-color: @style7color;
  371. }
  372. }
  373. </style>