提交
This commit is contained in:
10
app/home/view/public/footer.html
Normal file
10
app/home/view/public/footer.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<div class="footer">
|
||||
<?= html_entity_decode($footer) ?>
|
||||
<p><a href="#" class="termsCheckbox">{:lang('js.terms_conditions')}</a> | <a href="#" class="privacy_policy">{:lang('js.privacy_policy')}</a></p>
|
||||
|
||||
</div>
|
||||
<style>
|
||||
.footer a{
|
||||
color: #ffffff;
|
||||
}
|
||||
</style>
|
||||
98
app/home/view/public/head.html
Normal file
98
app/home/view/public/head.html
Normal file
@@ -0,0 +1,98 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="" style="height:100%;">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{:lang('head.title')}</title>
|
||||
<meta name="keywords" content="{:lang('head.keywords')}"/>
|
||||
<meta name="description" content="{:lang('head.description')}"/>
|
||||
<meta property="og:title" content="{:lang('head.og_title')}"/>
|
||||
<meta property="og:description" content="{:lang('head.og_description')}"/>
|
||||
<meta property="og:url" content="{$_SERVER['HTTP_HOST']}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<link rel="icon" type="image/png" href="/static/image/icon.png">
|
||||
<link rel="stylesheet" href="/static/layui/css/layui.css">
|
||||
<script src="/static/layui/layui.js"></script>
|
||||
<script src="/static/js/jquery.js"></script>
|
||||
<script>
|
||||
(function () {
|
||||
function detectBasePath() {
|
||||
var pathname = window.location.pathname || '';
|
||||
var match = pathname.match(/^\/[^\/]+(?=\/home\/|\/static\/|\/json\/|\/$)/);
|
||||
return match ? match[0] : '';
|
||||
}
|
||||
function normalizeBasePath(base) {
|
||||
base = (base || '').trim();
|
||||
|
||||
// 模板变量未渲染时,退回到 URL 推断
|
||||
if (!base || base === '/' || base.charAt(0) === '{') {
|
||||
base = detectBasePath();
|
||||
}
|
||||
|
||||
return base.replace(/\/+$/, '');
|
||||
}
|
||||
window.__BASE_PATH__ = normalizeBasePath('{$base_path}');
|
||||
window.withBase = function (url) {
|
||||
if (!url) {
|
||||
return url;
|
||||
}
|
||||
if (/^(?:[a-z][a-z0-9+\-.]*:)?\/\//i.test(url) || /^[a-z][a-z0-9+\-.]*:/i.test(url)) {
|
||||
return url;
|
||||
}
|
||||
if (url.charAt(0) !== '/') {
|
||||
return url;
|
||||
}
|
||||
var base = window.__BASE_PATH__ || '';
|
||||
if (!base) {
|
||||
return url;
|
||||
}
|
||||
if (url === base || url.indexOf(base + '/') === 0) {
|
||||
return url;
|
||||
}
|
||||
return base + url;
|
||||
};
|
||||
function attachAjaxPrefilter(jq) {
|
||||
if (!jq || !jq.ajaxPrefilter || jq.__with_base_prefilter_attached__) {
|
||||
return;
|
||||
}
|
||||
jq.__with_base_prefilter_attached__ = true;
|
||||
jq.ajaxPrefilter(function (options) {
|
||||
if (options && options.url) {
|
||||
options.url = window.withBase(options.url);
|
||||
}
|
||||
});
|
||||
}
|
||||
attachAjaxPrefilter(window.jQuery);
|
||||
attachAjaxPrefilter(window.$);
|
||||
// 兼容 layui 可能持有独立 jQuery 实例
|
||||
if (window.layui && window.layui.$) {
|
||||
attachAjaxPrefilter(window.layui.$);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
<script src="/static/js/pub.js"></script>
|
||||
<link rel="stylesheet" href="/static/css/tur_main.css?v={:time()}">
|
||||
<link href="/static/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Bootstrap Icons -->
|
||||
<link href="/static/bootstrap/css/bootstrap-icons.min.css" rel="stylesheet">
|
||||
<link href="/static/css/newin.css?v={:time()}" rel="stylesheet">
|
||||
<script type="text/javascript" async="" src="/static/js/footer.js"></script>
|
||||
<script type="text/javascript" async="" src="/static/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="/static/js/passport-ocr-sdk.min.js?v=1"></script>
|
||||
<script>
|
||||
$(function(){
|
||||
var footHight=$(".footer").height();
|
||||
var docHeight=document.documentElement.clientHeight;
|
||||
var bodyHeight=$("body").height();
|
||||
var subHeight=docHeight-bodyHeight-footHight;
|
||||
if(subHeight>30){
|
||||
$(".footer").css({"position":"fixed","bottom":"0","z-index":"1000"});
|
||||
$("body").css({"padding-bottom":"142px"});
|
||||
} else {
|
||||
$(".footer").css({"position": "static"});
|
||||
$("body").css({"padding-bottom": "0"});
|
||||
}
|
||||
$(".footer").show();
|
||||
})
|
||||
</script>
|
||||
</head>
|
||||
46
app/home/view/public/jump.html
Normal file
46
app/home/view/public/jump.html
Normal file
@@ -0,0 +1,46 @@
|
||||
{include file="public/head"}
|
||||
<link rel="stylesheet" href="/static/css/jump.css?v=1">
|
||||
<body class="jump-page">
|
||||
<div class="zh_content">
|
||||
{include file="public/newnav" }
|
||||
</div>
|
||||
|
||||
<main class="jump-shell">
|
||||
<section class="jump-panel jump-panel--{$type|default='success'}">
|
||||
<div class="jump-icon" aria-hidden="true"></div>
|
||||
<div class="jump-content">
|
||||
<h1 class="jump-message">{$msg}</h1>
|
||||
<p class="jump-countdown">
|
||||
<span id="countdown">{$wait|default=3}</span> {:lang('jump.auto_redirect')}...
|
||||
</p>
|
||||
</div>
|
||||
<div class="jump-actions">
|
||||
<a href="{$url ?: 'javascript:history.back();'}" class="jump-button">{:lang('jump.redirect_now')}</a>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
{include file="public/newfooter" }
|
||||
|
||||
<script>
|
||||
// 倒计时显示
|
||||
let time = {$wait|default=3};
|
||||
const countdownEl = document.getElementById('countdown');
|
||||
const targetUrl = "{$url|default=''}";
|
||||
|
||||
const timer = setInterval(() => {
|
||||
time--;
|
||||
countdownEl.textContent = time;
|
||||
|
||||
if (time <= 0) {
|
||||
clearInterval(timer);
|
||||
if (targetUrl) {
|
||||
location.href = targetUrl;
|
||||
} else {
|
||||
history.back();
|
||||
}
|
||||
}
|
||||
}, 1000);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
136
app/home/view/public/middle.html
Normal file
136
app/home/view/public/middle.html
Normal file
@@ -0,0 +1,136 @@
|
||||
<div class="process" style="background: none;margin-top: 0">
|
||||
<div class="ps-tit" style="color: #151423; font-weight: 600; font-size: 32px; letter-spacing: .2px;">
|
||||
{:lang('index.why_choose_us_title')}
|
||||
<p style="font-size: 15px; padding: 10px;">
|
||||
{:lang('index.why_choose_us_subtitle')}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<section class="middle-box2">
|
||||
<!-- <div class="">-->
|
||||
<!-- <div class="image-box">-->
|
||||
<!-- <img class="" src="__TMPL__/public/static/image/why-choose-us.webp">-->
|
||||
<!-- </div>-->
|
||||
<!-- <h2 class="">为什么选择我们?</h2>-->
|
||||
<!-- <p class="">了解为什么我们在旅行证件行业处于领先地位,使旅客能够轻松飞行。</p>-->
|
||||
<!-- <div class="mt30">-->
|
||||
<!-- <a href="{:url('visa/index')}" tabindex="-1">-->
|
||||
<!-- <button-->
|
||||
<!-- class="">-->
|
||||
<!-- 立即申请-->
|
||||
<!-- <svg class="wh16" fill="currentColor"-->
|
||||
<!-- xmlns="http://www.w3.org/2000/svg"-->
|
||||
<!-- viewBox="0 0 448 512">-->
|
||||
<!-- <path-->
|
||||
<!-- d="M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z">-->
|
||||
<!-- </path>-->
|
||||
<!-- </svg>-->
|
||||
<!-- </button>-->
|
||||
|
||||
<!-- </a>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<div class="right-box">
|
||||
<div
|
||||
class="item">
|
||||
<svg class=""
|
||||
xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20">
|
||||
<mask id="a" width="20" height="20" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha">
|
||||
<path fill="#D9D9D9" d="M0 0h20v20H0z"></path>
|
||||
</mask>
|
||||
<g>
|
||||
<path fill="currentColor"
|
||||
d="M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm-.75 3.75V10c0 .25.125.484.334.625l3 2a.748.748 0 0 0 1.041-.21.748.748 0 0 0-.21-1.04L10.75 9.6V5.75A.748.748 0 0 0 10 5a.748.748 0 0 0-.75.75Z">
|
||||
</path>
|
||||
</g>
|
||||
</svg>
|
||||
<div class="">
|
||||
<h6 class="">{:lang('index.convenient')}</h6>
|
||||
<p class="">{:lang('index.convenient_desc')}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="item">
|
||||
<svg class=""
|
||||
xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20">
|
||||
<path
|
||||
d="M7 10a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm-1.428 1.5A5.57 5.57 0 0 0 0 17.072c0 .512.416.928.928.928h12.144c.056 0 .11-.006.166-.016-2.385-1.722-3.12-4.406-3.222-6.256A5.533 5.533 0 0 0 8.43 11.5h-2.86Zm9.65-2.447-3.75 1.5a.754.754 0 0 0-.472.697c0 1.978.81 5.275 4.213 6.694a.742.742 0 0 0 .578 0C19.19 16.525 20 13.228 20 11.25a.754.754 0 0 0-.472-.697l-3.75-1.5a.744.744 0 0 0-.556 0Zm3.26 2.697c-.123 1.584-.85 3.647-2.982 4.678v-5.872l2.981 1.194Z">
|
||||
</path>
|
||||
</svg>
|
||||
<div class="">
|
||||
<h6 class="">{:lang('index.secure')}</h6>
|
||||
<p class="">{:lang('index.secure_desc')}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="item">
|
||||
<svg class=""
|
||||
xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24">
|
||||
<path
|
||||
d="M1.2 4.8c0-1.324 1.076-2.4 2.4-2.4h6v4.8c0 .664.536 1.2 1.2 1.2h4.8v1.448a6.602 6.602 0 0 0-4.8 6.352 6.6 6.6 0 0 0 2.764 5.374c-.12.018-.24.026-.364.026H3.6a2.402 2.402 0 0 1-2.4-2.4V4.8Zm14.4 2.4h-4.8V2.4l4.8 4.8Zm-3.6 9a5.4 5.4 0 1 1 10.8 0 5.4 5.4 0 0 1-10.8 0Zm7.924-1.624a.602.602 0 0 0-.848 0L16.8 16.852l-1.076-1.076a.602.602 0 0 0-.848 0 .602.602 0 0 0 0 .848l1.5 1.5a.602.602 0 0 0 .848 0l2.7-2.7a.602.602 0 0 0 0-.848Z">
|
||||
</path>
|
||||
</svg>
|
||||
<div class="">
|
||||
<h6 class="">{:lang('index.approval')}</h6>
|
||||
<p class="">{:lang('index.approval_desc')}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="item">
|
||||
<svg class="" width="20"
|
||||
height="20" viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
||||
<path id="Vector"
|
||||
d="M10 18C12.1217 18 14.1566 17.1571 15.6569 15.6569C17.1571 14.1566 18 12.1217 18 10C18 7.87827 17.1571 5.84344 15.6569 4.34315C14.1566 2.84285 12.1217 2 10 2C7.87827 2 5.84344 2.84285 4.34315 4.34315C2.84285 5.84344 2 7.87827 2 10C2 12.1217 2.84285 14.1566 4.34315 15.6569C5.84344 17.1571 7.87827 18 10 18ZM7.30625 7.16563C7.55312 6.46875 8.21563 6 8.95625 6H10.7781C11.8687 6 12.75 6.88438 12.75 7.97188C12.75 8.67813 12.3719 9.33125 11.7594 9.68437L10.75 10.2625C10.7437 10.6687 10.4094 11 10 11C9.58437 11 9.25 10.6656 9.25 10.25V9.82812C9.25 9.55937 9.39375 9.3125 9.62813 9.17812L11.0125 8.38438C11.1594 8.3 11.25 8.14375 11.25 7.975C11.25 7.7125 11.0375 7.50313 10.7781 7.50313H8.95625C8.85 7.50313 8.75625 7.56875 8.72188 7.66875L8.70937 7.70625C8.57188 8.09688 8.14062 8.3 7.75313 8.1625C7.36563 8.025 7.15938 7.59375 7.29688 7.20625L7.30937 7.16875L7.30625 7.16563ZM9 13C9 12.7348 9.10536 12.4804 9.29289 12.2929C9.48043 12.1054 9.73478 12 10 12C10.2652 12 10.5196 12.1054 10.7071 12.2929C10.8946 12.4804 11 12.7348 11 13C11 13.2652 10.8946 13.5196 10.7071 13.7071C10.5196 13.8946 10.2652 14 10 14C9.73478 14 9.48043 13.8946 9.29289 13.7071C9.10536 13.5196 9 13.2652 9 13Z">
|
||||
</path>
|
||||
</svg>
|
||||
|
||||
<div class="">
|
||||
<h6 class="">{:lang('index.support')}</h6>
|
||||
<p class="">{:lang('index.support_desc')}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="item">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="" viewBox="0 0 512 512" fill="currentColor">
|
||||
<path d="M258.9 48C141.92 46.42 46.42 141.92 48 258.9c1.56 112.19 92.91 203.54 205.1 205.1 117 1.6 212.48-93.9 210.88-210.88C462.44 140.91 371.09 49.56 258.9 48zm-3.68 152.11c.21-1.2.44-2.4.71-3.59a66.46 66.46 0 0116.29-31.21c12.89-13.73 31.16-21.31 51.45-21.31a74.05 74.05 0 0125.06 4.26 66.69 66.69 0 0126.27 17.2 68.15 68.15 0 0118 42.14 78.46 78.46 0 010 11.4 86.19 86.19 0 01-8.2 31q-.76 1.59-1.59 3.15c-1.11 2.07-2.3 4.1-3.58 6.06a79.47 79.47 0 01-8.63 11c-13.12 14-29.92 21.73-47.31 21.73a59.61 59.61 0 01-19.17-3.18 63.47 63.47 0 01-6.1-2.43 70.76 70.76 0 01-22.07-16.12 83.76 83.76 0 01-22-51.32q-.27-3.88-.18-7.68a75.62 75.62 0 011.05-11.08zm-149.73 24.34a59.87 59.87 0 015.2-20.64 56.76 56.76 0 012.78-5.3 54.49 54.49 0 017.19-9.56 55.62 55.62 0 0114-10.82 56.84 56.84 0 018.11-3.64 63.85 63.85 0 0133.35-2.39 57 57 0 0130.78 17 57.86 57.86 0 0115.41 38.62c.05 2.11 0 4.23-.15 6.38a71.58 71.58 0 01-6 23.84 69.49 69.49 0 01-5.73 10.42 65.39 65.39 0 01-15.76 16.57c-1.5 1.07-3.06 2.07-4.67 3.07a54.21 54.21 0 01-10 4.65 49.31 49.31 0 01-16.2 2.76c-.93 0-1.86 0-2.78-.08a47.6 47.6 0 01-5.48-.62 51.19 51.19 0 01-5.35-1.23 53.54 53.54 0 01-7.72-2.89c-.84-.39-1.66-.8-2.48-1.23-18-9.49-31.57-29.16-34.23-52.12-.12-1.05-.22-2.1-.29-3.16a66.59 66.59 0 01.02-9.63zm53.92 178.6a177.27 177.27 0 01-61.94-70.65 4 4 0 011.62-5.26C117.67 316.69 141.4 311 163.82 311c17 0 30.7 2 42.69 5.88a8 8 0 012.59 13.77c-23.35 19-38.4 42.54-45.47 70.75a2.77 2.77 0 01-4.22 1.65zM256 432a175.12 175.12 0 01-65.7-12.72 4 4 0 01-2.4-4.46c.4-2.05.84-3.92 1.23-5.48 7.12-28.43 24.76-52 51-68.18 23.29-14.35 53-22.25 83.52-22.25 31.16 0 60 7.58 83.48 21.91a2.72 2.72 0 01.91 3.67A176.1 176.1 0 01256 432z"/>
|
||||
<path d="M161 295.28a47.6 47.6 0 01-5.48-.62 47.6 47.6 0 005.48.62zM134.64 178.13a55.62 55.62 0 00-14 10.82 54.49 54.49 0 00-7.19 9.56 54.49 54.49 0 017.19-9.56 55.62 55.62 0 0114-10.82zM216.17 257.89a71.58 71.58 0 006-23.84c.15-2.15.2-4.27.15-6.38q.08 3.15-.15 6.38a71.58 71.58 0 01-6 23.84zM134.64 178.13a56.84 56.84 0 018.11-3.64 56.84 56.84 0 00-8.11 3.64zM150.21 293.43a53.54 53.54 0 01-7.72-2.89 53.54 53.54 0 007.72 2.89zM105.78 237.19c2.66 23 16.26 42.63 34.23 52.12-18.01-9.49-31.57-29.16-34.23-52.12zM254.34 219a83.76 83.76 0 0022 51.32 70.76 70.76 0 0022.07 16.12 70.76 70.76 0 01-22.07-16.12 83.76 83.76 0 01-22-51.32q-.27-3.88-.18-7.68-.09 3.75.18 7.68zM304.5 288.82a63.47 63.47 0 01-6.1-2.43 63.47 63.47 0 006.1 2.43zM255.93 196.54a66.46 66.46 0 0116.29-31.21 66.46 66.46 0 00-16.29 31.21zM375 165.46a68.15 68.15 0 0118 42.14 68.15 68.15 0 00-18-42.14 66.69 66.69 0 00-26.27-17.2 66.69 66.69 0 0126.27 17.2zM393 219a86.19 86.19 0 01-8.2 31 86.19 86.19 0 008.2-31zM254.16 211.27a75.62 75.62 0 011.06-11.14 75.62 75.62 0 00-1.06 11.14zM383.19 253.16zM206.88 189.05a57.86 57.86 0 0115.41 38.62 57.86 57.86 0 00-15.41-38.62 57 57 0 00-30.78-17 57 57 0 0130.78 17zM190 288a54.21 54.21 0 01-10 4.65 54.21 54.21 0 0010-4.65zM105.49 224.45a59.87 59.87 0 015.2-20.64 59.87 59.87 0 00-5.2 20.64zM194.68 284.88C193.17 286 191.61 287 190 288c1.61-1 3.17-2 4.68-3.12zM216.17 257.89a69.49 69.49 0 01-5.73 10.42 69.49 69.49 0 005.73-10.42zM110.69 203.81a56.76 56.76 0 012.78-5.3 56.76 56.76 0 00-2.78 5.3zM194.68 284.88a65.39 65.39 0 0015.76-16.57 65.39 65.39 0 01-15.76 16.57z"/>
|
||||
</svg>
|
||||
<div class="">
|
||||
<h6 class="">{:lang('index.clients')}</h6>
|
||||
<p class="">{:lang('index.clients_desc')}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="item">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="" viewBox="0 0 512 512" fill="currentColor">
|
||||
<path d="M479.07 111.36a16 16 0 00-13.15-14.74c-86.5-15.52-122.61-26.74-203.33-63.2a16 16 0 00-13.18 0C168.69 69.88 132.58 81.1 46.08 96.62a16 16 0 00-13.15 14.74c-3.85 61.11 4.36 118.05 24.43 169.24A349.47 349.47 0 00129 393.11c53.47 56.73 110.24 81.37 121.07 85.73a16 16 0 0012 0c10.83-4.36 67.6-29 121.07-85.73a349.47 349.47 0 0071.5-112.51c20.07-51.19 28.28-108.13 24.43-169.24zm-131 75.11l-110.8 128a16 16 0 01-11.41 5.53h-.66a16 16 0 01-11.2-4.57l-49.2-48.2a16 16 0 1122.4-22.86l37 36.29 99.7-115.13a16 16 0 0124.2 20.94z"/>
|
||||
</svg>
|
||||
<div class="">
|
||||
<h6 class="">{:lang('index.service')}</h6>
|
||||
<p class="">{:lang('index.service_desc')}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="item">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="" viewBox="0 0 512 512" fill="currentColor">
|
||||
<path d="M432.8 211.44c-15.52-8.82-34.91-2.28-43.31 13.68l-41.38 84.41a7 7 0 01-8.93 3.43 7 7 0 01-4.41-6.52V72c0-13.91-12.85-24-26.77-24s-26 10.09-26 24v156.64A11.24 11.24 0 01271.21 240 11 11 0 01260 229V24c0-13.91-10.94-24-24.86-24S210 10.09 210 24v204.64A11.24 11.24 0 01199.21 240 11 11 0 01188 229V56c0-13.91-12.08-24-26-24s-26 11.09-26 25v187.64A11.24 11.24 0 01125.21 256 11 11 0 01114 245V120c0-13.91-11.08-24-25-24s-25.12 10.22-25 24v216c0 117.41 72 176 160 176h16c88 0 115.71-39.6 136-88l68.71-169c6.62-18 3.6-34.75-11.91-43.56z"/>
|
||||
</svg>
|
||||
<div class="">
|
||||
<h6 class="">{:lang('index.experience')}</h6>
|
||||
<p class="">{:lang('index.experience_desc')}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="item">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="" viewBox="0 0 512 512" fill="currentColor">
|
||||
<path d="M256 448a32 32 0 01-18-5.57c-78.59-53.35-112.62-89.93-131.39-112.8-40-48.75-59.15-98.8-58.61-153C48.63 114.52 98.46 64 159.08 64c44.08 0 74.61 24.83 92.39 45.51a6 6 0 009.06 0C278.31 88.81 308.84 64 352.92 64c60.62 0 110.45 50.52 111.08 112.64.54 54.21-18.63 104.26-58.61 153-18.77 22.87-52.8 59.45-131.39 112.8a32 32 0 01-18 5.56z"/>
|
||||
</svg>
|
||||
<div class="">
|
||||
<h6 class="">{:lang('index.approval_rate')}</h6>
|
||||
<p class="">{:lang('index.approval_rate_desc')}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
284
app/home/view/public/nav.html
Normal file
284
app/home/view/public/nav.html
Normal file
@@ -0,0 +1,284 @@
|
||||
<style>
|
||||
.zh_top {
|
||||
display: flex;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
.zh_head {
|
||||
width: 40%;
|
||||
justify-content: right;
|
||||
}
|
||||
.zh_hcon {
|
||||
margin: unset;
|
||||
width: unset;
|
||||
}
|
||||
.zh_nav {
|
||||
width: 50%;
|
||||
height: 70px;
|
||||
position: relative;
|
||||
}
|
||||
@media (max-width: 1620px) and (min-width: 1201px){
|
||||
.zh_nav {
|
||||
width: 68%;
|
||||
height: 70px;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
@media (max-width: 1200px) {
|
||||
.language-switcher {
|
||||
top: 20%;
|
||||
}
|
||||
.zh_nav_btn {
|
||||
display: block;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 20px;
|
||||
cursor: pointer;
|
||||
z-index: 1001;
|
||||
}
|
||||
|
||||
.zh_nav {
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
background-color: var(--main-color);
|
||||
display: none;
|
||||
z-index: 1001;
|
||||
}
|
||||
|
||||
/* 点击展开时显示 */
|
||||
.zh_nav.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.nav_con {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.nav_con li {
|
||||
width: 100%;
|
||||
border-bottom: 1px solid #eee;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.nav_con li a {
|
||||
display: block;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
font-size: 15px;
|
||||
background-color: var(--main-color);
|
||||
}
|
||||
|
||||
.nav_con li a:hover {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
|
||||
/* 语言切换按钮放在导航底部 */
|
||||
.nav-language-switcher {
|
||||
position: unset !important;
|
||||
width: 100%;
|
||||
padding: 10px 15px;
|
||||
background-color: var(--main-color);
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.language-btn {
|
||||
font-size: 13px;
|
||||
padding: 5px 10px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.language-dropdown {
|
||||
position: relative;
|
||||
width: auto;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.language-dropdown a {
|
||||
padding: 8px 10px;
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
/* 语言切换按钮容器 */
|
||||
.language-switcher {
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
right: 20%;
|
||||
}
|
||||
/* 语言切换按钮样式 */
|
||||
.language-btn {
|
||||
background-color: #f8f8f8;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
padding: 5px 10px;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 40px;
|
||||
}
|
||||
.language-btn:hover {
|
||||
background-color: #e8e8e8;
|
||||
}
|
||||
/* 下拉菜单样式 */
|
||||
.language-dropdown {
|
||||
display: none;
|
||||
position: absolute;
|
||||
/*right: 0;*/
|
||||
top: 100%;
|
||||
background-color: white;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
/*width: 100%;*/
|
||||
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
||||
z-index: 1000;
|
||||
}
|
||||
.language-dropdown a {
|
||||
padding: 5px;
|
||||
width: 100%;
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
color: #333;
|
||||
font-size: 14px;
|
||||
float: unset;
|
||||
line-height: 40px;
|
||||
}
|
||||
.language-dropdown a:hover {
|
||||
background-color: #f5f5f5;
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
color: #333;
|
||||
font-size: 14px;
|
||||
width: 100%;
|
||||
float: unset;
|
||||
line-height: 40px;
|
||||
}
|
||||
/* 显示下拉菜单 */
|
||||
.show-dropdown {
|
||||
display: block;
|
||||
}
|
||||
ol, ul, dl {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.nav_con {
|
||||
padding: 0;
|
||||
}
|
||||
/* ===== 手机端语言切换显示控制 ===== */
|
||||
@media (max-width: 1200px) {
|
||||
/* 手机端显示 languageBtn1(顶部) */
|
||||
#language-switcher1 {
|
||||
display: inline-flex !important;
|
||||
}
|
||||
/* 隐藏导航栏中的 languageBtn */
|
||||
#languageBtn {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* ===== PC端反向控制 ===== */
|
||||
@media (min-width: 1201px) {
|
||||
/* PC端隐藏顶部语言切换,显示导航栏内的 */
|
||||
#language-switcher1 {
|
||||
display: none !important;
|
||||
}
|
||||
#languageBtn {
|
||||
display: inline-flex !important;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
<div class="zh_top">
|
||||
<div class="zh_head">
|
||||
<div class="zh_hcon">
|
||||
<div class="zh_logo"><a href="/"><img src="/static/image/logo.png" alt=""></a></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="language-switcher clearfix-language-switcher" id="language-switcher1" style="display:none;">
|
||||
<button class="language-btn" id="languageBtn1">
|
||||
<span>{if $think_lang == 'en-us'}English{else/}中文 {/if}</span>
|
||||
<span style="margin-left: 5px;">▼</span>
|
||||
</button>
|
||||
<div class="language-dropdown" id="languageDropdown1">
|
||||
<a class="language" href="#" data-id="zh-cn">中文</a>
|
||||
<a class="language" href="#" data-id="en-us">English</a>
|
||||
</div>
|
||||
</div>
|
||||
<img class="zh_nav_btn" src="/static/image/menu.png" alt="">
|
||||
<div class="zh_nav">
|
||||
<ul class="nav_con">
|
||||
<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>
|
||||
<div class="language-switcher nav-language-switcher">
|
||||
<button class="language-btn" id="languageBtn">
|
||||
<span>{if $think_lang == 'en-us'}English{else/}中文 {/if}</span>
|
||||
<span style="margin-left: 5px;">▼</span>
|
||||
</button>
|
||||
<div class="language-dropdown" id="languageDropdown">
|
||||
<a class="language" href="#" data-id="zh-cn">中文</a>
|
||||
<a class="language" href="#" data-id="en-us">English</a>
|
||||
</div>
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$('.zh_nav_btn').click(function () {
|
||||
$('.zh_nav').toggleClass('active');
|
||||
});
|
||||
</script>
|
||||
<div class="swiper" style="height: 100px;background: var(--main-color)">
|
||||
</div>
|
||||
<script>
|
||||
const languageBtn = document.getElementById('languageBtn');
|
||||
const languageDropdown = document.getElementById('languageDropdown');
|
||||
// 切换下拉菜单显示/隐藏
|
||||
languageBtn.addEventListener('click', function() {
|
||||
languageDropdown.classList.toggle('show-dropdown');
|
||||
});
|
||||
// 点击页面其他地方关闭下拉菜单
|
||||
document.addEventListener('click', function(e) {
|
||||
if (!languageBtn.contains(e.target) && !languageDropdown.contains(e.target)) {
|
||||
languageDropdown.classList.remove('show-dropdown');
|
||||
}
|
||||
});
|
||||
const languageBtn1 = document.getElementById('languageBtn1');
|
||||
const languageDropdown1 = document.getElementById('languageDropdown1');
|
||||
// 切换下拉菜单显示/隐藏
|
||||
languageBtn1.addEventListener('click', function() {
|
||||
languageDropdown1.classList.toggle('show-dropdown');
|
||||
});
|
||||
// 点击页面其他地方关闭下拉菜单
|
||||
document.addEventListener('click', function(e) {
|
||||
if (!languageBtn1.contains(e.target) && !languageDropdown1.contains(e.target)) {
|
||||
languageDropdown1.classList.remove('show-dropdown');
|
||||
}
|
||||
});
|
||||
$('.language').click(function () {
|
||||
const lang = $(this).attr('data-id');
|
||||
$.ajax({
|
||||
url: '/home/index/langset',
|
||||
type: 'post',
|
||||
data: {
|
||||
lang: lang
|
||||
},
|
||||
success: function (res) {
|
||||
if (res.code === 1) {
|
||||
window.location.reload();
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
</script>
|
||||
103
app/home/view/public/newfooter.html
Normal file
103
app/home/view/public/newfooter.html
Normal file
@@ -0,0 +1,103 @@
|
||||
<footer>
|
||||
<div class="container">
|
||||
<div class="text-center">
|
||||
<?= html_entity_decode($footer) ?>
|
||||
<div>{if $company_address}{:lang('foot.company_address')}:{$company_address}{/if}</div>
|
||||
</div>
|
||||
<div class="footer-divider"></div>
|
||||
<div class="d-flex flex-column flex-md-row justify-content-between align-items-center gap-2">
|
||||
<div></div>
|
||||
<!-- <div class="d-flex gap-3">-->
|
||||
<!-- <a href="/home/policy/user"><span>{:lang('foot.user_agreement')}</span></a>-->
|
||||
<!-- <a href="/home/policy/privacy"><span>{:lang('foot.privacy_policy')}</span></a>-->
|
||||
<!-- <a href="/home/policy/disclaimer"><span>{:lang('foot.disclaimer')}</span></a>-->
|
||||
<!-- <a href="/home/policy/refund"><span>{:lang('foot.refund_policy')}</span></a>-->
|
||||
<!-- <a href="/home/policy/cookie"><span>{:lang('foot.cookie_policy')}</span></a>-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- ===== 新增:悬浮客服/返回顶部(小模块很实用) ===== -->
|
||||
<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" href="#" title="{:lang('contact.back_to_top')}" onclick="window.scrollTo({top:0,behavior:'smooth'});return false;">
|
||||
<i class="bi bi-arrow-up"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// 监听复选框点击
|
||||
$('.termsCheckbox').click(function (e) {
|
||||
e.preventDefault();
|
||||
if (window.innerWidth <= 768) {
|
||||
area = ['90%', '90%']
|
||||
} else {
|
||||
area = ['50%', '60%']
|
||||
}
|
||||
// 弹出条款内容的弹窗
|
||||
layer.open({
|
||||
type: 1, // 弹窗类型:页面层
|
||||
title: '{:lang(\'js.terms_conditions\')}', content: `
|
||||
<div style="padding: 20px;">
|
||||
<h3>{:lang(\'js.terms_conditions\')}</h3>
|
||||
<p></p><p><span style="font-size: 12px;">{:str_replace(\'%country%\', $country ?? \'\', lang(\'js.terms_intro\'))}</span></p>
|
||||
<p><span style="font-size: 12px;">{:str_replace(\'%country%\', $country ?? \'\', lang(\'js.our_services\'))}</span></p>
|
||||
<p><span style="font-size: 12px;">{:str_replace(\'%country%\', $country ?? \'\', lang(\'js.application_process\'))}</span></p>
|
||||
<p><span style="font-size: 12px;">{:lang(\'js.read_confirmation\')}</span></p>
|
||||
<p><br></p><p></p>
|
||||
</div>
|
||||
`, area: area, // 弹窗大小
|
||||
btn: ['关闭'], // 按钮
|
||||
yes: function (index) {
|
||||
layer.close(index); // 关闭弹窗
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
$('.privacy_policy').click(function (e) {
|
||||
e.preventDefault();
|
||||
if (window.innerWidth <= 768) {
|
||||
area = ['90%', '90%']
|
||||
} else {
|
||||
area = ['50%', '60%']
|
||||
}
|
||||
// 弹出条款内容的弹窗
|
||||
layer.open({
|
||||
type: 1, // 弹窗类型:页面层
|
||||
title: '{:lang(\'js.privacy_policy\')}', content: `
|
||||
<div style="padding: 20px;">
|
||||
<h3>{:lang(\'js.privacy_policy\')}</h3>
|
||||
<p></p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif; font-size: 12px; color: rgb(51, 51, 51); white-space: normal; background-color: rgb(255, 255, 255);">{:lang(\'js.privacy_intro\')}</p>
|
||||
|
||||
<h3 style="box-sizing: border-box; margin: 2px 0px; padding: 10px 0px 0px; border: 0px; font-weight: 400; font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.1; color: rgb(0, 48, 73); white-space: normal; background-color: rgb(255, 255, 255);">1. {:lang(\'js.scope\')}</h3>
|
||||
<p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif; font-size: 12px; color: rgb(51, 51, 51); white-space: normal; background-color: rgb(255, 255, 255);">{:lang(\'js.scope_content\')}</p>
|
||||
|
||||
<h3 style="box-sizing: border-box; margin: 2px 0px; padding: 10px 0px 0px; border: 0px; font-weight: 400; font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.1; color: rgb(0, 48, 73); white-space: normal; background-color: rgb(255, 255, 255);">2. {:lang(\'js.information_use\')}</h3>
|
||||
<p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif; font-size: 12px; color: rgb(51, 51, 51); white-space: normal; background-color: rgb(255, 255, 255);">{:lang(\'js.information_use_content\')}</p>
|
||||
|
||||
<h3 style="box-sizing: border-box; margin: 2px 0px; padding: 10px 0px 0px; border: 0px; font-weight: 400; font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.1; color: rgb(0, 48, 73); white-space: normal; background-color: rgb(255, 255, 255);">3. {:lang(\'js.information_disclosure\')}</h3>
|
||||
<p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif; font-size: 12px; color: rgb(51, 51, 51); white-space: normal; background-color: rgb(255, 255, 255);">{:lang(\'js.information_disclosure_content\')}</p>
|
||||
|
||||
<h3 style="box-sizing: border-box; margin: 2px 0px; padding: 10px 0px 0px; border: 0px; font-weight: 400; font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.1; color: rgb(0, 48, 73); white-space: normal; background-color: rgb(255, 255, 255);">4. {:lang(\'js.information_storage\')}</h3>
|
||||
<p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif; font-size: 12px; color: rgb(51, 51, 51); white-space: normal; background-color: rgb(255, 255, 255);">{:lang(\'js.information_storage_content\')}</p>
|
||||
|
||||
<h3 style="box-sizing: border-box; margin: 2px 0px; padding: 10px 0px 0px; border: 0px; font-weight: 400; font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.1; color: rgb(0, 48, 73); white-space: normal; background-color: rgb(255, 255, 255);">5. {:lang(\'js.cookie_use\')}</h3>
|
||||
<p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif; font-size: 12px; color: rgb(51, 51, 51); white-space: normal; background-color: rgb(255, 255, 255);">{:lang(\'js.cookie_use_content\')}</p>
|
||||
|
||||
<h3 style="box-sizing: border-box; margin: 2px 0px; padding: 10px 0px 0px; border: 0px; font-weight: 400; font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.1; color: rgb(0, 48, 73); white-space: normal; background-color: rgb(255, 255, 255);">6. {:lang(\'js.information_security\')}</h3>
|
||||
<p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif; font-size: 12px; color: rgb(51, 51, 51); white-space: normal; background-color: rgb(255, 255, 255);">{:lang(\'js.information_security_content\')}</p>
|
||||
|
||||
<h3 style="box-sizing: border-box; margin: 2px 0px; padding: 10px 0px 0px; border: 0px; font-weight: 400; font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.1; color: rgb(0, 48, 73); white-space: normal; background-color: rgb(255, 255, 255);">7. {:lang(\'js.policy_changes\')}</h3>
|
||||
<p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif; font-size: 12px; color: rgb(51, 51, 51); white-space: normal; background-color: rgb(255, 255, 255);">{:lang(\'js.policy_changes_content\')}</p>
|
||||
<p><br></p><p></p>
|
||||
</div>
|
||||
`, area: area, // 弹窗大小
|
||||
btn: ['关闭'], // 按钮
|
||||
yes: function (index) {
|
||||
layer.close(index); // 关闭弹窗
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
73
app/home/view/public/newnav.html
Normal file
73
app/home/view/public/newnav.html
Normal file
@@ -0,0 +1,73 @@
|
||||
<!-- ===== Topbar / Navbar ===== -->
|
||||
<header class="topbar">
|
||||
<nav class="navbar navbar-expand-xl">
|
||||
<div class="container py-2 topbar-inner">
|
||||
|
||||
<!-- 顶栏:永远一行 -->
|
||||
<div class="topbar-head">
|
||||
<a class="brand-wrap" href="#">
|
||||
<span class="brand-badge brand-badge-logo"></span>
|
||||
<span>
|
||||
<div class="brand-title">{$country}TDAC</div>
|
||||
<div class="brand-sub">Online Application Service</div>
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<div class="topbar-right">
|
||||
<!-- 手机端语言:始终显示,不进折叠菜单 -->
|
||||
<div class="dropdown lang-mobile d-lg-none">
|
||||
<button class="btn btn-sm lang-btn dropdown-toggle" data-bs-toggle="dropdown">{if $think_lang == 'en-us'}English{else/}中文 {/if}</button>
|
||||
<ul class="dropdown-menu dropdown-menu-end">
|
||||
<li><a class="dropdown-item language" data-id="zh-cn" href="#">中文</a></li>
|
||||
<li><a class="dropdown-item language" data-id="en-us" href="#">English</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<button class="navbar-toggler d-xl-none text-white border-0" type="button"
|
||||
data-bs-toggle="collapse" data-bs-target="#nav">
|
||||
<span class="navbar-toggler-icon" style="filter: invert(1)"></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 折叠菜单:永远在下一行展开 -->
|
||||
<div class="collapse navbar-collapse" id="nav">
|
||||
<ul class="navbar-nav ms-auto align-items-lg-center gap-lg-2 mt-2 mt-lg-0">
|
||||
<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>
|
||||
|
||||
<!-- PC 端语言:仍放在菜单里(手机端隐藏避免重复) -->
|
||||
<li class="nav-item dropdown ms-lg-2 d-none d-lg-block">
|
||||
<button class="btn btn-sm lang-btn dropdown-toggle" data-bs-toggle="dropdown">{if $think_lang == 'en-us'}English{else/}中文 {/if}</button>
|
||||
<ul class="dropdown-menu dropdown-menu-end">
|
||||
<li><a class="dropdown-item language" data-id="zh-cn" href="#">中文</a></li>
|
||||
<li><a class="dropdown-item language" data-id="en-us" href="#">English</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
<script>
|
||||
$('.language').click(function () {
|
||||
const lang = $(this).attr('data-id');
|
||||
$.ajax({
|
||||
url: '/home/index/langset',
|
||||
type: 'post',
|
||||
data: {
|
||||
lang: lang
|
||||
},
|
||||
success: function (res) {
|
||||
if (res.code === 1) {
|
||||
window.location.reload();
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
</script>
|
||||
Reference in New Issue
Block a user