加入line連結

This commit is contained in:
Wayne Hsu 2023-01-18 19:51:42 +08:00
commit aa5cc62885
3 changed files with 60 additions and 49 deletions

View File

@ -45,9 +45,12 @@
<a href="mailto:{$web.email}" class="contactLink" data-mail="{$web.email}"><i class="fa fa-envelope"></i></a>
<a href="tel:{$web.tel}"><i class="fa fa-phone"></i></a>
{if $web.facebook}
<a class="fb" href="javascript: void(window.open('{$web.facebook}');"><i class="fa fa-facebook"></i></a>
{/if}
{if $web.line}
<a class="fb" href="javascript: void(window.open('{$web.line}');"><i class="fa fa-comment"></i></a>
{/if}
</div>
<div class="endArea">{$web.ename} © ALL RIGHTS RESERVED.</div>

View File

@ -1,48 +1,53 @@
<!DOCTYPE html>
<html lang="zh-Hant">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{$title}</title>
<meta name="description" content="{$web.mdesc}">
<meta name="keywords" content="{$web.mkeyword}">
<link rel="stylesheet" type="text/css" href="{$tpl}css/layout.css">
<script src="{$tpl}js/include.js"></script>
</head>
<body>
<div class="outerWrap ins b-box">
<div class="bannerArea b-box">
<div class="wrap b-box">
<div class="bannerBox">
<ul id="banner">
<li><img src="{$web.inbanner}" alt="baner3"></li>
</ul>
<div class="bannerTopLogo"></div>
</div>
</div>
</div>
<header>
<div class="wrap b-box clearfix">
<div class="leftBox clearfix">
<div class="logo"><a href="/" title="{$web.cname}" style="background: url({$web.logo}) no-repeat;">{$web.cname}</a></div>
</div>
<nav class="menuBox">
<ul class="menu cleafix">
<li id="menu01"><a href="/#about">關於我們</a></li>
<li id="menu02"><a href="/#news">最新消息</a></li>
<li id="menu03"><a href="/room.php?act=list">服務項目</a></li>
<li id="menu04"><a href="/#fac">工程案例</a></li>
<li id="menu05"><a href="/#location">交通位置</a></li>
<li id="menu06"><a href="{$site.facebook}" target="_blank">FB粉絲團</a></li>
</ul>
</nav>
<div class="social">
<a href="#" class="contactLink" data-mail="{$web.email}"><i class="fa fa-envelope"></i></a>
<a href="tel:{$web.tel}"><i class="fa fa-phone"></i></a>
<a class="fb" href="{$web.facebook}" target="_blank"><i class="fa fa-facebook"></i></a>
</div>
<div class="rightBox">
<a href="tel:{$web.tel}" target="_blank">來電諮詢 / CONTACT</a>
</div>
</div>
<!DOCTYPE html>
<html lang="zh-Hant">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{$title}</title>
<meta name="description" content="{$web.mdesc}">
<meta name="keywords" content="{$web.mkeyword}">
<link rel="stylesheet" type="text/css" href="{$tpl}css/layout.css">
<script src="{$tpl}js/include.js"></script>
</head>
<body>
<div class="outerWrap ins b-box">
<div class="bannerArea b-box">
<div class="wrap b-box">
<div class="bannerBox">
<ul id="banner">
<li><img src="{$web.inbanner}" alt="baner3"></li>
</ul>
<div class="bannerTopLogo"></div>
</div>
</div>
</div>
<header>
<div class="wrap b-box clearfix">
<div class="leftBox clearfix">
<div class="logo"><a href="/" title="{$web.cname}" style="background: url({$web.logo}) no-repeat;">{$web.cname}</a></div>
</div>
<nav class="menuBox">
<ul class="menu cleafix">
<li id="menu01"><a href="/#about">關於我們</a></li>
<li id="menu02"><a href="/#news">最新消息</a></li>
<li id="menu03"><a href="/room.php?act=list">服務項目</a></li>
<li id="menu04"><a href="/#fac">工程案例</a></li>
<li id="menu05"><a href="/#location">交通位置</a></li>
<li id="menu06"><a href="{$site.facebook}" target="_blank">FB粉絲團</a></li>
</ul>
</nav>
<div class="social">
{if $web.line}
<a class="fb" href="{$web.line}" target="_blank"><i class="fa fa-comment"></i></a>
{/if}
<a href="#" class="contactLink" data-mail="{$web.email}"><i class="fa fa-envelope"></i></a>
<a href="tel:{$web.tel}"><i class="fa fa-phone"></i></a>
{if $web.facebook}
<a class="fb" href="{$web.facebook}" target="_blank"><i class="fa fa-facebook"></i></a>
{/if}
</div>
<div class="rightBox">
<a href="tel:{$web.tel}" target="_blank">來電諮詢 / CONTACT</a>
</div>
</div>
</header>

View File

@ -148,6 +148,9 @@
<div class="social">
{if $site.line}
<a class="fb" href="{$site.line}" target="_blank"><i class="fa fa-comment"></i></a>
{/if}
<a href="mailto:{$site.email}" class="contactLink" data-mail="{$site.email}"><i class="fa fa-envelope"></i></a>
<a href="tel:{$site.tel}"><i class="fa fa-phone"></i></a>