This commit is contained in:
toom1996
2025-07-04 18:08:59 +08:00
parent 00a754d8f6
commit bfbf940322
3 changed files with 28 additions and 12 deletions

View File

@ -126,13 +126,17 @@ const { path = [] } = Astro.props
<p class="contact__text"> <p class="contact__text">
<span>7*24小时服务热线</span> <span>7*24小时服务热线</span>
<div style="font-size: 1.5rem;font-weight: bold"> {
<a title="24小时服务热线" href="tel:8988888">888888</a> extra?.contact_us?.telephone.map(item => {
</div> return <div style="font-size: 1.5rem;font-weight: bold">
<a title="24小时服务热线" href={`tel:${item.number}`}>{item.number}</a>
</div>
})
}
</p> </p>
</div> </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 class="heading contact__title heading-06">
关注我们 关注我们
</div> </div>
@ -148,8 +152,6 @@ const { path = [] } = Astro.props
{ {
extra.gongzhonghao_offical.address ? extra.gongzhonghao_offical.address ?
<li class="contact__social-item"> <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"> <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="icon-lazy font-ico-weixin" data-name="font-ico-weixin"></span>
<span class="contact__social-qrcode"></span> <span class="contact__social-qrcode"></span>

View File

@ -10,9 +10,9 @@ import {
} from "../../../../utils/const"; } from "../../../../utils/const";
import BaijiahaoLogo from '../../../../public/template_2/baijiahao.svg' import BaijiahaoLogo from '../../../../public/template_2/baijiahao.svg'
import Toutiaohao from '../../../../public/template_2/toutiaohao.svg' import Toutiaohao from '../../../../public/template_2/toutiaohao.svg'
// import Youxiang from "../../../../public/template_2/contact-us/youxiang.svg"; import Douyin from '../../../../public/template_2/douyin.svg'
const extra = getExtra('')
const config = getConfig(Astro); const config = getConfig(Astro);
const extra = getExtra(config.app_extra_tag)
const breadcrumb = [ const breadcrumb = [
{ title: TP2_COLUMN_INDEX, url: TP2_COLUMN_INDEX_URL }, { title: TP2_COLUMN_INDEX, url: TP2_COLUMN_INDEX_URL },
{ title: TP2_COLUMN_CONTACT_US, url: TP2_COLUMN_CONTACT_US_URL } { title: TP2_COLUMN_CONTACT_US, url: TP2_COLUMN_CONTACT_US_URL }
@ -127,6 +127,20 @@ const breadcrumb = [
</a> </a>
</li> : '' </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> </ul>
</section> </section>
</div> </div>

View File

@ -110,7 +110,7 @@ export const EXTRA_DEFAULT = {
{number: 666666, desc: '7*24小时 | 普通话全国热线'}, {number: 666666, desc: '7*24小时 | 普通话全国热线'},
], ],
email: [ email: [
{address: 'admin@gmail.com'}, {address: 'wuhanzhizhen01@163.com'},
{address: 'admin@outlook.com'} {address: 'admin@outlook.com'}
], ],
content: `<p style="text-indent: 21pt; text-align: start;"><br></p><p style="text-align: start; line-height: 2;"><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"><strong> &nbsp;【官方客服电话】</strong></span></p><p style="text-align: start; line-height: 2;"><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"> &nbsp; &nbsp; 24小时服务热线400-116-0580<br><br> &nbsp; </span><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"><strong>【电子邮箱】</strong></span></p><p style="text-align: start; line-height: 2;"><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"> &nbsp; &nbsp; E-mailtianjinchangdu@126.com</span></p><p style="text-align: start; line-height: 2;"><br></p><p style="text-align: start; line-height: 2;"><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"><strong> &nbsp; 【官方媒体平台】</strong></span></p><p style="text-align: start; line-height: 2;"><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"> &nbsp; &nbsp; 微信公众号:葫芦时刻<br> &nbsp; &nbsp; 官方微博:葫芦时刻</span></p><p><br></p>` content: `<p style="text-indent: 21pt; text-align: start;"><br></p><p style="text-align: start; line-height: 2;"><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"><strong> &nbsp;【官方客服电话】</strong></span></p><p style="text-align: start; line-height: 2;"><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"> &nbsp; &nbsp; 24小时服务热线400-116-0580<br><br> &nbsp; </span><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"><strong>【电子邮箱】</strong></span></p><p style="text-align: start; line-height: 2;"><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"> &nbsp; &nbsp; E-mailtianjinchangdu@126.com</span></p><p style="text-align: start; line-height: 2;"><br></p><p style="text-align: start; line-height: 2;"><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"><strong> &nbsp; 【官方媒体平台】</strong></span></p><p style="text-align: start; line-height: 2;"><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"> &nbsp; &nbsp; 微信公众号:葫芦时刻<br> &nbsp; &nbsp; 官方微博:葫芦时刻</span></p><p><br></p>`
@ -349,11 +349,11 @@ export const EXTRA_ZHISHIHUISHENG = {
contact_us: { contact_us: {
title: '联系我们', title: '联系我们',
telephone: [ telephone: [
{number: 400-136-3116, desc: '7*24小时 | 普通话全国热线'}, {number: '400-136-3116', desc: '7*24小时 | 普通话全国热线'},
], ],
email: [ email: [
{address: 'admin@gmail.com'}, {address: 'wuhanzhizhen01@163.com'},
{address: 'admin@outlook.com'} // {address: 'admin@outlook.com'}
], ],
content: `<p style="text-indent: 21pt; text-align: start;"><br></p><p style="text-align: start; line-height: 2;"><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"><strong> &nbsp;【官方客服电话】</strong></span></p><p style="text-align: start; line-height: 2;"><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"> &nbsp; &nbsp; 24小时服务热线400-116-0580<br><br> &nbsp; </span><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"><strong>【电子邮箱】</strong></span></p><p style="text-align: start; line-height: 2;"><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"> &nbsp; &nbsp; E-mailtianjinchangdu@126.com</span></p><p style="text-align: start; line-height: 2;"><br></p><p style="text-align: start; line-height: 2;"><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"><strong> &nbsp; 【官方媒体平台】</strong></span></p><p style="text-align: start; line-height: 2;"><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"> &nbsp; &nbsp; 微信公众号:葫芦时刻<br> &nbsp; &nbsp; 官方微博:葫芦时刻</span></p><p><br></p>` content: `<p style="text-indent: 21pt; text-align: start;"><br></p><p style="text-align: start; line-height: 2;"><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"><strong> &nbsp;【官方客服电话】</strong></span></p><p style="text-align: start; line-height: 2;"><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"> &nbsp; &nbsp; 24小时服务热线400-116-0580<br><br> &nbsp; </span><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"><strong>【电子邮箱】</strong></span></p><p style="text-align: start; line-height: 2;"><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"> &nbsp; &nbsp; E-mailtianjinchangdu@126.com</span></p><p style="text-align: start; line-height: 2;"><br></p><p style="text-align: start; line-height: 2;"><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"><strong> &nbsp; 【官方媒体平台】</strong></span></p><p style="text-align: start; line-height: 2;"><span style="color: rgb(68, 68, 68); font-size: 19px; font-family: 微软雅黑;"> &nbsp; &nbsp; 微信公众号:葫芦时刻<br> &nbsp; &nbsp; 官方微博:葫芦时刻</span></p><p><br></p>`
}, },