1.vue 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. <template>
  2. <div :class="'footerStyle footerStyle' + skinId">
  3. <div class="index_1_top_box">
  4. <h4 class="index_1_top_h4">
  5. <span>友情链接 </span>
  6. </h4>
  7. </div>
  8. <div class="imgLinkBox">
  9. <a :href="item.url" v-for="(item, index) in bottomLink" target="_blank">
  10. <img :src="item.logo_url" alt="">
  11. </a>
  12. </div>
  13. <div class="textLinkBox">
  14. <div class="textLinkBoxLeft">
  15. <span>友情链接:</span>
  16. </div>
  17. <div class="textLinkBoxRight">
  18. <a :href="item.url" v-for="(item, index) in bottomText" :key="index" target="_blank">{{ item.title }}</a>
  19. </div>
  20. </div>
  21. <div class="footerMenuBox" v-if="bottomMenu.length < 7">
  22. <div class="footerMenu">
  23. <div v-for="(item, index) in bottomMenu" :key="index">
  24. <NuxtLink :to="{ path: `/about/${item.name_pinyin}/list-1.html` }" v-if="item.type == 1"
  25. :title="item.name">
  26. {{ item.name }}
  27. </NuxtLink>
  28. <NuxtLink :to="{ path: `/about/${item.name_pinyin}/index.html` }" v-if="item.type == 0"
  29. :title="item.name">
  30. {{ item.name }}
  31. </NuxtLink>
  32. </div>
  33. </div>
  34. </div>
  35. </div>
  36. <div class="index_foot_bg7">
  37. <footer class="index_foot">
  38. <div class="foot_text_box">
  39. <p v-html="bottomBase.statement" class="foot_text_html_css"></p>
  40. <p v-html="bottomBase.organizer" class="foot_text_html_css"></p>
  41. <p v-html="bottomBase.copyright_information" class="foot_text_html_css"></p>
  42. <p><span v-html="bottomBase.icp_number" class="foot_text_html_css"></span><span
  43. v-html="bottomBase.record_number" class="foot_text_html_css"></span></p>
  44. <p v-html="bottomBase.email" class="foot_text_html_css"></p>
  45. <p v-html="bottomBase.company_address" class="foot_text_html_css"></p>
  46. <p v-html="bottomBase.contact_number" class="foot_text_html_css"></p>
  47. </div>
  48. <div class="foot_logo_out" v-if="bottomBase">
  49. <a :href="'http://' + bottomBase.project_url" :title="bottomBase.project_name"
  50. v-if="bottomBase.project_logo != '' && bottomBase.project_url != ''">
  51. <img :src="bottomBase.project_logo" class="floatLogoRight" :alt="bottomBase.project_name">
  52. </a>
  53. <span v-else-if="bottomBase.project_logo != '' && bottomBase.project_url == ''">
  54. <img :src="bottomBase.project_logo" class="floatLogoRight" :alt="bottomBase.project_name">
  55. </span>
  56. <a :href="'http://' + bottomBase.company_url" :title="bottomBase.company_name"
  57. v-if="bottomBase.company_logo != '' && bottomBase.company_url != ''">
  58. <img :src="bottomBase.company_logo" class="floatLogoLeft" :alt="bottomBase.company_name">
  59. </a>
  60. <span v-else-if="bottomBase.company_logo != '' && bottomBase.company_url == ''">
  61. <img :src="bottomBase.company_logo" class="floatLogoLeft" :alt="bottomBase.company_name">
  62. </span>
  63. </div>
  64. <div class="foot_last_img_box">
  65. <a :href="item.url" v-for="(item, index) in bottomphoto" :title="item.title">
  66. <img :src="item.logo_url" :alt="item.title">
  67. </a>
  68. </div>
  69. <HomeKefu :bottomBase="bottomBase" />
  70. </footer>
  71. </div>
  72. </template>
  73. <script setup>
  74. //获得route
  75. const route = useRoute()
  76. const routeName = route.name;
  77. import { useTemplateBaseStore } from '@/stores/templateBase'
  78. const templateBaseStore = useTemplateBaseStore()
  79. //获得底部基本信息 start---------------------------------------->
  80. //1.获得全部友情链接与底部图片
  81. const bottomLink = ref([])
  82. const bottomText = ref([])
  83. const bottomphoto = ref([])
  84. const bottomMenu = ref([])
  85. const bottomBase = ref({})
  86. const skinId = ref("")//皮肤id
  87. if (templateBaseStore.webSiteInfo.website_foot) {
  88. bottomLink.value = templateBaseStore.webSiteInfo.website_foot.link_img;
  89. bottomText.value = templateBaseStore.webSiteInfo.website_foot.link_text;
  90. bottomphoto.value = templateBaseStore.webSiteInfo.website_foot.link_foot;
  91. bottomMenu.value = templateBaseStore.webSiteInfo.website_foot.foot_cate;
  92. bottomBase.value = templateBaseStore.webSiteInfo.website_foot.foot_info;
  93. //获得皮肤id
  94. skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
  95. }
  96. </script>
  97. <style lang="less" scoped>
  98. @import '@/assets/css/public/template/footer.less';
  99. @import '@/assets/css/public/template/kefu.less';
  100. //基本样式
  101. .componentBorder {
  102. border: 2px dashed #999;
  103. }
  104. .footerStyle {
  105. width: 100%;
  106. margin: 0 auto;
  107. .imgLinkBox {
  108. width: 1200px;
  109. height: 140px;
  110. display: flex;
  111. justify-content: flex-start;
  112. flex-wrap: wrap;
  113. overflow: hidden;
  114. margin: 0 auto;
  115. margin-bottom: 20px;
  116. box-sizing: content-box;
  117. a {
  118. img {
  119. width: 170px;
  120. height: 60px;
  121. margin-right: 36px;
  122. display: block;
  123. margin-bottom: 20px;
  124. }
  125. &:nth-child(6n) {
  126. img {
  127. margin-right: 0;
  128. }
  129. }
  130. }
  131. }
  132. .textLinkBox {
  133. width: 1200px;
  134. margin: 0 auto;
  135. display: flex;
  136. justify-content: space-between;
  137. align-items: flex-start;
  138. box-sizing: content-box;
  139. .textLinkBoxLeft {
  140. color: #333;
  141. font-weight: bold;
  142. font-size: 16px;
  143. span {
  144. display: block;
  145. margin-bottom: 20px;
  146. }
  147. }
  148. .textLinkBoxRight {
  149. width: 1083px;
  150. display: flex;
  151. align-items: flex-start;
  152. flex-wrap: wrap;
  153. a {
  154. color: #333;
  155. margin-right: 50px;
  156. display: block;
  157. margin-bottom: 20px;
  158. font-size: 16px;
  159. }
  160. }
  161. }
  162. .footerMenuBox {
  163. border-bottom: none;
  164. .footerMenu {
  165. width: 1200px;
  166. margin: 0 auto;
  167. display: flex;
  168. align-items: center;
  169. justify-content: center;
  170. height: 50px;
  171. div {
  172. width: 200px;
  173. text-align: center;
  174. &:last-child {
  175. border-right: none;
  176. }
  177. a {
  178. color: #333333;
  179. font-size: 14px;
  180. font-weight: bold;
  181. }
  182. }
  183. }
  184. }
  185. .footInfoBox {
  186. width: 100%;
  187. .footerInfoBox {
  188. width: 1200px;
  189. padding-bottom: 30px;
  190. margin: 0 auto;
  191. box-sizing: content-box;
  192. .footerInfoBoxContent {
  193. display: flex;
  194. justify-content: space-between;
  195. align-items: center;
  196. .footerInfoBoxContentLeft {
  197. width: 10%;
  198. box-sizing: border-box;
  199. padding-right: 10px;
  200. img {
  201. width: 100%;
  202. display: block;
  203. }
  204. }
  205. .footerInfoBoxContentMain {
  206. padding-top: 40px;
  207. font-size: 14px;
  208. text-align: center;
  209. color: #fff;
  210. div {
  211. text-align: center;
  212. padding-bottom: 10px;
  213. color: #333;
  214. }
  215. }
  216. .footerInfoBoxContentRight {
  217. width: 10%;
  218. box-sizing: border-box;
  219. padding-left: 10px;
  220. img {
  221. width: 100%;
  222. display: block;
  223. }
  224. }
  225. }
  226. .footerInfoBoxBottom {
  227. display: flex;
  228. justify-content: center;
  229. align-items: center;
  230. padding-top: 40px;
  231. img {
  232. width: 10%;
  233. display: block;
  234. margin-right: 10px;
  235. }
  236. }
  237. }
  238. }
  239. }
  240. //样式7
  241. .index_foot_bg7 {
  242. background: #A72213;
  243. padding-top: 30px;
  244. box-sizing: border-box;
  245. overflow: hidden;
  246. }
  247. .foot_text_box {
  248. margin-top: 0 !important;
  249. color:#fff !important;
  250. a {
  251. color:#fff !important;
  252. }
  253. }
  254. .foot_text_box :deep(a){color: #fff !important}
  255. @style7color: #A72213;
  256. @style7BorderRight: #D9D9D9 1px solid;
  257. .footerStyle7 {
  258. .index_1_top_box{
  259. height:42px;
  260. text-align:center;
  261. margin:0px auto 54px;
  262. }
  263. .index_1_top_h4{
  264. display:inline-block;
  265. text-align:center;
  266. position:relative;
  267. padding:0px 20px;margin:0px auto;
  268. }
  269. .index_1_top_h4::after{
  270. content:'';
  271. position:absolute;
  272. left:-440px;
  273. top:14px;
  274. height:20px;
  275. width:440px;
  276. background:url(http://192.168.1.234:19000/pre/image/png/20251223/1766471836846789.png) no-repeat right 0px ;
  277. background-size: auto 100%;
  278. }
  279. .index_1_top_h4::before{
  280. content:'';
  281. position:absolute;
  282. right:-440px;
  283. top:14px;
  284. height:20px;width:440px;
  285. background:url( http://192.168.1.234:19000/pre/image/png/20251223/1766471917895279.png) no-repeat left 0px ;
  286. background-size: auto 100%;
  287. }
  288. .index_1_top_box>*{
  289. text-align:center;
  290. height:42px;
  291. line-height:42px;
  292. color:#333;
  293. font-size:32px;
  294. font-weight:normal;
  295. }
  296. .footerMenuBox {
  297. background-color: #FAFAFA;
  298. }
  299. .footerMenu {
  300. div {
  301. border-right: @style7BorderRight;
  302. width: 260px!important;
  303. color: #333!important;
  304. }
  305. }
  306. .footInfoBox {
  307. background-color: @style7color;
  308. }
  309. }
  310. </style>