update
This commit is contained in:
@ -126,13 +126,17 @@ const { path = [] } = Astro.props
|
||||
|
||||
<p class="contact__text">
|
||||
<span>7*24小时服务热线</span>
|
||||
<div style="font-size: 1.5rem;font-weight: bold">
|
||||
<a title="24小时服务热线" href="tel:8988888">888888</a>
|
||||
</div>
|
||||
{
|
||||
extra?.contact_us?.telephone.map(item => {
|
||||
return <div style="font-size: 1.5rem;font-weight: bold">
|
||||
<a title="24小时服务热线" href={`tel:${item.number}`}>{item.number}</a>
|
||||
</div>
|
||||
})
|
||||
}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="contact__block col-xl-4 col-md-6">
|
||||
<div class="contact__block col-xl-6 col-md-6">
|
||||
<div class="heading contact__title heading-06">
|
||||
关注我们
|
||||
</div>
|
||||
@ -148,8 +152,6 @@ 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>
|
||||
|
@ -10,9 +10,9 @@ import {
|
||||
} from "../../../../utils/const";
|
||||
import BaijiahaoLogo from '../../../../public/template_2/baijiahao.svg'
|
||||
import Toutiaohao from '../../../../public/template_2/toutiaohao.svg'
|
||||
// import Youxiang from "../../../../public/template_2/contact-us/youxiang.svg";
|
||||
const extra = getExtra('')
|
||||
import Douyin from '../../../../public/template_2/douyin.svg'
|
||||
const config = getConfig(Astro);
|
||||
const extra = getExtra(config.app_extra_tag)
|
||||
const breadcrumb = [
|
||||
{ title: TP2_COLUMN_INDEX, url: TP2_COLUMN_INDEX_URL },
|
||||
{ title: TP2_COLUMN_CONTACT_US, url: TP2_COLUMN_CONTACT_US_URL }
|
||||
@ -127,6 +127,20 @@ const breadcrumb = [
|
||||
</a>
|
||||
</li> : ''
|
||||
}
|
||||
{
|
||||
extra.douyin_offical.address ?
|
||||
<li class="list-item">
|
||||
<a href={extra.douyin_offical.address} target="blank">
|
||||
<div class="item-content">
|
||||
<Douyin class="icon-lazy"/>
|
||||
<div class="txt">
|
||||
<h3>{extra.douyin_offical.name}</h3>
|
||||
</div>
|
||||
</div>
|
||||
<i class="fas fa-chevron-right"></i>
|
||||
</a>
|
||||
</li> : ''
|
||||
}
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user