| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219 |
- <div class="custom-modal" id="languageModal" aria-hidden="true">
- <div class="custom-modal-dialog custom-modal-dialog-language">
- <div class="custom-modal-box language-modal-box">
- <div class="custom-modal-head language-modal-head">
- <div>
- <h2 class="modal-title">
- {:cms_t('choose_language_region','请选择您的国家与地区')}
- </h2>
- </div>
- <button class="custom-modal-close" data-close-modal="languageModal" aria-label="{:cms_t('close','关闭')}">
- ×
- </button>
- </div>
- <div class="custom-modal-body">
- <div class="language-list premium-language-list">
- {if !empty($site_regions)}
- {volist name="site_regions" id="region"}
- <a class="language-option premium-language-option {if !empty($site_region) && strtoupper($site_region['code']) == strtoupper($region['code'])}active{/if}" href="{:cms_switch_region_url($region['code'])}">
- <span class="premium-language-option-country">{$region.name|default=$region.code}</span>
- <span class="premium-language-option-lang">{:cms_region_lang_label($region['lang'])}</span>
- </a>
- {/volist}
- {/if}
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="site-floating-tools" aria-label="{:cms_t('floating_tools','快捷操作')}">
- <button class="site-floating-tool site-floating-tool-top" type="button" id="backToTopBtn" aria-label="{:cms_t('back_to_top','返回顶部')}">
- <span class="site-floating-tool-btn"><i class="bi bi-chevron-up"></i></span>
- <span class="site-floating-tool-text">{:cms_t('back_to_top','返回顶部')}</span>
- </button>
- <div class="site-floating-tool site-floating-tool-service" tabindex="0" aria-label="{:getCategory(58,'catname')}">
- <div class="site-floating-tool-panel support-float-panel">
- <div class="support-float-card-list">
- {yzn module="cms" action="lists" catid="58" cache="3600" order="listorder DESC,id ASC" num="3" return="floatServices" moreinfo="1"}
- {volist name="floatServices" id="vo"}
- <section class="support-float-card-item">
- <div class="support-float-card-icon">
- {if !empty($vo.thumb)}
- <img src="{$vo.thumb}" alt="{$vo.title}">
- {else /}
- <i class="bi bi-headset"></i>
- {/if}
- </div>
- <div class="support-float-card-copy">
- <h3>{$vo.title}</h3>
- {if !empty($vo.title1)}<p>{$vo.title1}</p>{/if}
- {if !empty($vo.title2)}<p>{$vo.title2}</p>{/if}
- {if !empty($vo.tourl)}
- <a href="{$vo.tourl}" target="{$vo.target|default='_self'}">{$vo.title} <i class="bi bi-chevron-right"></i></a>
- {/if}
- </div>
- </section>
- {/volist}
- {/yzn}
- </div>
- </div>
- <span class="site-floating-tool-avatar">
- <img src="/uploads/20260409/15d257a4faf1bc9aadd0095112b6b7f7.png" alt="{:getCategory(58,'catname')}">
- </span>
- <button class="site-floating-tool-btn" type="button" aria-label="{:getCategory(58,'catname')}"><i class="bi bi-headset"></i></button>
- <span class="site-floating-tool-text">{:getCategory(58,'catname')}</span>
- </div>
- <div class="site-floating-tool site-floating-tool-feedback" tabindex="0" aria-label="{:cms_t('support_feedback','评价打分')}">
- <div class="site-floating-tool-panel feedback-float-panel">
- <form class="feedback-float-form" id="feedbackFloatForm" data-submit-url="{:url('index/feedback/submit')}">
- <div class="feedback-float-head">
- <h2 class="feedback-float-title">{:cms_t('feedback_title','您要评价哪个方面:')}</h2>
- </div>
- <div class="feedback-float-options" role="radiogroup" aria-label="{:cms_t('feedback_title','您要评价哪个方面:')}">
- <label class="feedback-float-option is-active">
- <input type="radio" name="feedback_type" value="website" checked>
- <span>{:cms_t('feedback_type_website','官网体验(页面浏览/设计)')}</span>
- </label>
- <label class="feedback-float-option">
- <input type="radio" name="feedback_type" value="service">
- <span>{:cms_t('feedback_type_service','服务体验(售后/客服)')}</span>
- </label>
- <label class="feedback-float-option">
- <input type="radio" name="feedback_type" value="product">
- <span>{:cms_t('feedback_type_product','产品体验(产品/配套软件)')}</span>
- </label>
- </div>
- <div class="feedback-float-divider"></div>
- <div class="feedback-float-rating-block">
- <h3>{:cms_t('feedback_rate_prompt','请对“官网体验”进行评价。')}</h3>
- <div class="feedback-float-stars" data-rating="0">
- <button type="button" class="feedback-star" data-value="1" aria-label="1 星">★</button>
- <button type="button" class="feedback-star" data-value="2" aria-label="2 星">★</button>
- <button type="button" class="feedback-star" data-value="3" aria-label="3 星">★</button>
- <button type="button" class="feedback-star" data-value="4" aria-label="4 星">★</button>
- <button type="button" class="feedback-star" data-value="5" aria-label="5 星">★</button>
- </div>
- <input type="hidden" name="rating" id="feedbackFloatRating" value="0">
- <input type="hidden" name="source_page" value="">
- </div>
- <button class="feedback-float-submit" id="feedbackFloatSubmit" type="submit" disabled>{:cms_t('submit','提交')}</button>
- <div class="feedback-float-message" id="feedbackFloatMessage"></div>
- </form>
- </div>
- <button class="site-floating-tool-btn" type="button" aria-label="{:cms_t('support_feedback','评价打分')}"><i class="bi bi-clipboard-check"></i></button>
- <span class="site-floating-tool-text">{:cms_t('support_feedback','评价打分')}</span>
- </div>
- </div>
- <footer class="site-footer">
- <div class="content-1300-wrap site-footer-inner">
- <div class="site-footer-top">
- <div class="site-footer-links">
- <a href="{:getCategory(42,'url')}">{:getCategory(42,'catname')}</a>
- <span class="footer-divider">|</span>
- <a href="{:getCategory(45,'url')}">{:getCategory(45,'catname')}</a>
- <span class="footer-divider">|</span>
- <a href="{:getCategory(44,'url')}">{:getCategory(44,'catname')}</a>
- <span class="footer-divider">|</span>
- <a href="/d/help/17.html">{:cms_t('cookie_policy','Cookie 政策')}</a>
- </div>
- <button class="site-footer-locale" type="button" id="openLanguageModalFooter" aria-label="{:cms_t('switch_language_region','切换国家与地区')}">
- <i class="bi bi-globe2"></i>
- <span>
- {if !empty($site_region)}
- {:cms_region_display_name($site_region)}
- {else /}
- {$site_lang|strtoupper}
- {/if}
- </span>
- </button>
- </div>
- <div class="site-footer-bottom">
- <div class="site-footer-meta">
- <span>Copyright © 2026 xtu All rights reserved.</span>
- <a href="https://beian.miit.gov.cn/">粤ICP备16082054号-6</a>
- </div>
- <div class="site-footer-note">
- {:cms_t('footer_compliance_note','本网站直接或间接向消费者推销商品或者服务的商业宣传均属于广告(包装及参数、售后保障等商品信息除外)')}
- </div>
- </div>
- </div>
- </footer>
- <script src="/assets/xtu/vendor/bootstrap.bundle.min.js"></script>
- <script src="/assets/xtu/vendor/swiper-bundle.min.js"></script>
- <script>
- (function () {
- const form = document.getElementById('footerSubscribeForm');
- const emailInput = document.getElementById('footerSubscribeEmail');
- const submitBtn = document.getElementById('footerSubscribeBtn');
- const messageBox = document.getElementById('footerSubscribeMessage');
- const consentInput = document.getElementById('footerSubscribeConsent');
- const sourcePageInput = document.getElementById('footerSubscribeSourcePage');
- if (!form || !emailInput) {
- return;
- }
- const texts = {
- invalid: "{:cms_t('footer_subscribe_invalid_email','请输入正确的邮箱地址')}",
- consent: "{:cms_t('footer_subscribe_privacy_required','请先勾选并同意隐私政策')}",
- success: "{:cms_t('footer_subscribe_success','订阅成功,请留意邮箱通知')}",
- failed: "{:cms_t('footer_subscribe_failed','订阅失败,请稍后再试')}",
- sending: "{:cms_t('footer_subscribe_sending','提交中...')}"
- };
- function setMessage(text, type) {
- if (!messageBox) return;
- messageBox.textContent = text || '';
- messageBox.className = 'footer-subscribe-message' + (type ? ' is-' + type : '');
- }
- form.addEventListener('submit', async function (e) {
- e.preventDefault();
- const email = (emailInput.value || '').trim();
- if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)) {
- emailInput.focus();
- setMessage(texts.invalid, 'error');
- return;
- }
- if (consentInput && !consentInput.checked) {
- consentInput.focus();
- setMessage(texts.consent, 'error');
- return;
- }
- if (sourcePageInput) sourcePageInput.value = window.location.href;
- if (submitBtn) submitBtn.disabled = true;
- setMessage(texts.sending, 'loading');
- try {
- const body = new URLSearchParams(new FormData(form));
- const res = await fetch("{:url('index/emailsubscribe/submit')}", {
- method: 'POST',
- headers: {
- 'X-Requested-With': 'XMLHttpRequest',
- 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
- },
- body: body.toString()
- });
- const data = await res.json();
- if (data.code === 1) {
- form.reset();
- setMessage(data.msg || texts.success, 'success');
- } else {
- setMessage(data.msg || texts.failed, 'error');
- }
- } catch (err) {
- setMessage(texts.failed, 'error');
- } finally {
- if (submitBtn) submitBtn.disabled = false;
- }
- });
- })();
- </script>
- <script src="/assets/xtu/script.js"></script>
- </body>
- </html>
|