提交
This commit is contained in:
@@ -219,7 +219,6 @@
|
||||
<li class=""><a href="/">{:lang('index.home')}</a></li>
|
||||
<li class=""><a href="{:url('visa/index')}">{:lang('index.online_application')}</a></li>
|
||||
<li class=""><a href="{:url('lookup/index')}">{:lang('index.entry_card_query')}</a></li>
|
||||
<li class=""><a href="{:url('contact/index')}">{:lang('contact.menu_contact')}</a></li>
|
||||
<li class=""><a href="{:url('news/index')}">{:lang('index.usage_help')}</a></li>
|
||||
<li class=""><a href="{:url('user/index')}">个人中心</a></li>
|
||||
{if session('user.id')}
|
||||
|
||||
@@ -20,7 +20,10 @@
|
||||
|
||||
<!-- ===== 新增:悬浮客服/返回顶部(小模块很实用) ===== -->
|
||||
<div class="float-help">
|
||||
<a class="float-btn" href="/home/contact" title="{:lang('contact.menu_contact')}"><i class="bi bi-chat-dots"></i></a>
|
||||
<a class="float-btn float-phone" href="tel:{$company_phone}" title="{$company_phone}">
|
||||
<i class="bi bi-telephone"></i>
|
||||
<span class="float-phone-text">{$company_phone}</span>
|
||||
</a>
|
||||
<a class="float-btn" href="#" title="{:lang('contact.back_to_top')}" onclick="window.scrollTo({top:0,behavior:'smooth'});return false;">
|
||||
<i class="bi bi-arrow-up"></i>
|
||||
</a>
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
<li class="nav-item"><a class="nav-link" href="{$base_path}/">{:lang('index.home')}</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="{:url('visa/index')}">{:lang('index.online_application')}</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="{:url('lookup/index')}">{:lang('index.entry_card_query')}</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="{:url('contact/index')}">{:lang('contact.menu_contact')}</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="{:url('news/index')}">{:lang('index.usage_help')}</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
@@ -380,6 +380,7 @@ footer a:hover{ color:#fff; text-decoration:underline; }
|
||||
bottom: 18px;
|
||||
z-index: 2000;
|
||||
display:flex;
|
||||
align-items: flex-end;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
@@ -393,6 +394,27 @@ footer a:hover{ color:#fff; text-decoration:underline; }
|
||||
color: rgba(15,23,42,.75);
|
||||
}
|
||||
.float-btn:hover{ color: var(--brand); border-color: rgba(11,95,168,.25); }
|
||||
.float-phone{
|
||||
gap: 8px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
transition: width .2s ease, padding .2s ease;
|
||||
}
|
||||
.float-phone .float-phone-text{
|
||||
max-width: 0;
|
||||
opacity: 0;
|
||||
overflow: hidden;
|
||||
transition: max-width .2s ease, opacity .2s ease;
|
||||
}
|
||||
.float-phone:hover{
|
||||
width: auto;
|
||||
min-width: 46px;
|
||||
padding: 0 14px;
|
||||
}
|
||||
.float-phone:hover .float-phone-text{
|
||||
max-width: 180px;
|
||||
opacity: 1;
|
||||
}
|
||||
/* ===== Flow Stepper v2 ===== */
|
||||
.flow2{
|
||||
border: 1px solid var(--line);
|
||||
|
||||
Reference in New Issue
Block a user