update
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
import { getConfig, getExtra } from "../../../utils/config";
|
||||
import BaijiahaoLogo from '../../../public/template_2/baijiahao.svg'
|
||||
import Toutiaohao from '../../../public/template_2/toutiaohao.svg'
|
||||
import Douyin from '../../../public/template_2/douyin.svg'
|
||||
import {
|
||||
TP2_COLUMN_NEWS,
|
||||
TP2_COLUMN_NEWS_URL,
|
||||
@ -15,7 +16,7 @@ import {
|
||||
TP2_COLUMN_REFUND_URL
|
||||
} from "../../../utils/const";
|
||||
const config = getConfig(Astro)
|
||||
const extra = getExtra('')
|
||||
const extra = getExtra(config.app_extra_tag)
|
||||
const { path = [] } = Astro.props
|
||||
---
|
||||
<footer class="v4 n09-footer footer" data-component="n09-footer">
|
||||
@ -125,7 +126,7 @@ const { path = [] } = Astro.props
|
||||
|
||||
<p class="contact__text">
|
||||
<span>7*24小时服务热线</span>
|
||||
<div style="font-size: 1.5rem;font-weight: bold;">
|
||||
<div style="font-size: 1.5rem;font-weight: bold">
|
||||
<a title="24小时服务热线" href="tel:8988888">888888</a>
|
||||
</div>
|
||||
</p>
|
||||
@ -147,6 +148,8 @@ const { path = [] } = Astro.props
|
||||
{
|
||||
extra.gongzhonghao_offical.address ?
|
||||
<li class="contact__social-item">
|
||||
{extra.gongzhonghao_offical.name}
|
||||
{extra.gongzhonghao_offical.address}
|
||||
<a title={extra.gongzhonghao_offical.name} class="contact__social-link" href={extra.gongzhonghao_offical.address} target="_blank" rel="noreferrer">
|
||||
<span class="icon-lazy font-ico-weixin" data-name="font-ico-weixin"></span>
|
||||
<span class="contact__social-qrcode"></span>
|
||||
@ -154,7 +157,7 @@ const { path = [] } = Astro.props
|
||||
</li> : ''
|
||||
}
|
||||
{
|
||||
extra.baijiahao_offical.address ?
|
||||
extra.baijiahao_offical.address.trim() ?
|
||||
<li class="contact__social-item">
|
||||
<a title={extra.baijiahao_offical.name} class="contact__social-link" href={extra.baijiahao_offical.address} target="_blank" rel="noreferrer">
|
||||
<BaijiahaoLogo class="icon-lazy" />
|
||||
@ -172,8 +175,8 @@ const { path = [] } = Astro.props
|
||||
{
|
||||
extra.douyin_offical.address ?
|
||||
<li class="contact__social-item">
|
||||
<a title={extra.toutiaohao_offical.name} class="contact__social-link" href={extra.toutiaohao_offical.address} target="_blank" rel="noreferrer">
|
||||
<Toutiaohao class="icon-lazy" />
|
||||
<a title={extra.douyin_offical.name} class="contact__social-link" href={extra.douyin_offical.address} target="_blank" rel="noreferrer">
|
||||
<Douyin class="icon-lazy" />
|
||||
</a>
|
||||
</li> : ''
|
||||
}
|
||||
@ -185,7 +188,7 @@ const { path = [] } = Astro.props
|
||||
<div class="row">
|
||||
<div class="copyright col-xl-4 col-md-8">
|
||||
<small class="copyright__text">版权所有 © {config.app_company}
|
||||
。保留一切权利。{config.app_biling}</small>
|
||||
。保留一切权利。<a href={config.app_filing_url}>{config.app_filing}</a></small>
|
||||
</div>
|
||||
<!-- <div class="bottom-links col-xl-5">
|
||||
<ul class="bottom-links__list">
|
||||
@ -220,6 +223,11 @@ const { path = [] } = Astro.props
|
||||
</div>
|
||||
</footer>
|
||||
<style>
|
||||
|
||||
a {
|
||||
color: #7f7f7f !important;
|
||||
}
|
||||
|
||||
.footer-legals .row {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
Reference in New Issue
Block a user