update
This commit is contained in:
@ -11,6 +11,7 @@ import {
|
||||
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 Youxiang from '../../../../public/template_2/youxiang.svg'
|
||||
const config = getConfig(Astro);
|
||||
const extra = getExtra(config.app_extra_tag)
|
||||
const breadcrumb = [
|
||||
@ -51,14 +52,14 @@ const desc = extra.contact_us.telephone.map(item => item.number).join('; ');
|
||||
}
|
||||
</ul>
|
||||
|
||||
<h2 class="list-title">联系邮箱</h2>
|
||||
{extra.contact_us.email.length > 0 ? <h2 class="list-title">联系邮箱</h2> : ''}
|
||||
<ul>
|
||||
{
|
||||
extra.contact_us.email.map(e => {
|
||||
return <li class="list-item">
|
||||
<a href={`tel:${e.address}`}>
|
||||
<div class="item-content">
|
||||
<Image height={50} width={50} src="/template_2/contact-us/hotline.png" alt="联系邮箱"/>
|
||||
<Image height={50} width={50} src="/template_2/contact-us/youxiang.svg" alt="联系邮箱"/>
|
||||
<div class="txt">
|
||||
<h3 style="margin-left: 1rem;font-weight: bold;">{e.address}</h3>
|
||||
<h4 style="margin-left: 1rem;"></h4>
|
||||
|
Reference in New Issue
Block a user