Compare commits

..
22 changed files with 368 additions and 145 deletions

No files matched your search

+16
View File
@@ -1,5 +1,17 @@
# Fuc:新版 FUC 用户主题适配
2026-11-08 Fuc 0.12.25 修复前台的五项问题。登录和用户页按需取模板,故障后可重试。公告请求失败时保留用户中心其余内容及已加载公告。系统深浅色切换保留弹窗和滚动锁。流量重置遵循 XB 原有资格。订单详情随链接保留来源页码。发布基线为 `b88b88dd8450b467469db9e3c4d820750f9932ab`,回退以本次服务器回执为准。
2026-11-08 Fuc 0.12.24:公开首页的客服窗口层级高于固定导航,覆盖手机全屏和短横屏两种会与导航重叠的布局。业务弹窗优先级仍更高,用户区侧栏与弹窗打开期间隐藏客服控件。验收须在首页和用户中心分别点开、关闭和重新打开,并检查 667/668px 断点及短横屏。
2026-11-08 Fuc 0.12.22 客服外层样式修复:稳定面板与启动/关闭按钮层级,隐藏后立即释放点击,菜单和业务弹窗遮挡实际控件;统一 667px 手机断点和短横屏高度。仅修改 Fuc 主题 CSS、缓存引用与版本,不改共享客服或业务。上一轮本地 57 项回归、连续开关及多尺寸/菜单/弹窗/回顶组合检查通过;本发布候选现有 55 项主题测试通过。
用户同时要求移除客服“常见问题”卡片和置顶公告中“注册免费试用3天,签到可获得1天试用时间,一直签到可以一直试用。”段落。卡片通过 FUC 独立收件箱取消 portal_id 关联处理,保留文章和会话;公告只删除匹配的旧段落。生产变更须先保存各自字段备份并逐项回读,不恢复整库。此提交记录方案,最终发布与配置回执在 `codex/output/fuc-theme/support-release-20261108/` 及服务器私有同任务目录,不能仅凭提交推定已部署。
2026-11-07 Fuc 0.12.21:按用户要求移除用户中心置顶公告旁的每日签到按钮,同时删除旧模板按钮与禁用适配。置顶公告内容、XB 业务和其他页面保持;更新主题及首页模板缓存引用。基于正式 `9971b6fab5197e64c31316dcfae86aaa5ce34d6a` 独立发布,保留已上线客服集成,验收与实际切换状态以任务回执为准。
2026-11-07 原生标志发布候选 Fuc 0.12.20:用户选择 Cool 主题原生折叠标志,登录/注册/找回密码、侧栏、首页和浏览器图标统一使用旧 FUC `cool1.png` 原始图案。原 PNG 字节嵌入 SVG,首页保留正式「福云」字标。资源引用更新缓存版本。发布范围仅品牌素材及其缓存引用;不包含本地折福试稿或其他未发布 UI/客服修改。回退基线为 `2c92a857e8da54c16c4861b25ea420f560ccc032`;发布验收以任务回执为准。
## Fuc 0.12.19 compatibility release — 2026-11-07
Based on production d552b8a592314d3e28ed261f213a49e272346f57, preserving the node ordering change. Mobile sidebar uses native vertical scrolling, desktop keeps PerfectScrollbar and the original hover indentation. Mobile dashboard tutorial buttons, subscription controls and chart stay inside their cards. Touch/narrow form controls have at least 16px fonts, touch login does not autofocus, and menu logic follows CSS matchMedia breakpoints.
@@ -233,3 +245,7 @@ Fuc在XB中已是系统主题,不能声称通过后台“上传同名主题”
侧栏菜单项在鼠标离开时清除悬停状态,避免收起后保留原版悬停缩进。侧栏和账号菜单的「使用教程」使用福云文档中心。用户中心各平台的「安装教程」直达对应文档,macOS Clash Verge Rev 使用原文档已发布的 `/macos/clash-verge-reg/` 路径。
「立即下载」沿用 DPL 的 Resource 固定安装包地址,覆盖 Clash Verge Rev、Hiddify 和 Android Clash Meta。iOS 使用各自的 App Store 页面,旧 sing-box VT 已下架,入口改为官方 sing-box MT。Resource 未提供 Clash Nyanpasu,本主题的 Windows x64、macOS Apple Silicon 和 Intel 入口使用其官方对应版本安装包。改动限 Fuc 主题,客户端选择和 XB 接口保持原样。
### 窄屏客服层级(0.12.23)
667px 及以下的全屏客服层盖过首页固定导航,使客服标题和内嵌关闭按钮可见且可点。桌面客服保持浮窗层级,用户中心的菜单和弹窗仍可暂时隐藏客服。
+78 -11
View File
@@ -7,26 +7,37 @@ import {JSDOM,VirtualConsole} from '../../codex/output/fuc-theme/test-tools/node
const jsErrors=[],consoleCapture=new VirtualConsole();consoleCapture.on('jsdomError',error=>jsErrors.push(error));
const dom=new JSDOM('<html><head><style>.modal.fade .modal-dialog{transition:transform .3s ease-out}.modal-backdrop.fade{transition:opacity .15s linear}</style></head><body><div id="app"></div></body></html>',{url:'http://xb.loc/#/login',runScripts:'outside-only',pretendToBeVisual:true,virtualConsole:consoleCapture});
for(const key of ['window','document','DOMParser','localStorage','sessionStorage','location','history','FormData'])globalThis[key]=dom.window[key];
globalThis.innerWidth=1280;globalThis.matchMedia=()=>({matches:false,addEventListener(){}});
globalThis.innerWidth=1280;
let changeSystemColor;
globalThis.matchMedia=()=>({matches:false,addEventListener(_,listener){changeSystemColor=listener;}});
globalThis.requestAnimationFrame=window.requestAnimationFrame.bind(window);globalThis.cancelAnimationFrame=window.cancelAnimationFrame.bind(window);
window.scrollTo=()=>{};window.ApexCharts=class{render(){return Promise.resolve()}destroy(){}};
const plans=[{id:1,name:'Paid',month_price:1200,transfer_enable:100},{id:2,name:'Free',month_price:0,transfer_enable:10}];
const calls=[];let delayedLogin,delayedCoupon,checkoutAmount=0,checkoutStatus=0,failOrderCheck=false,orders=[];
const calls=[],templateRequests=[];
let failWalletTemplate=true, failNoticePage=0, subscriptionExpired=false;
let delayedLogin,delayedCoupon,checkoutAmount=0,checkoutStatus=0,failOrderCheck=false,orders=[];
const payload=(data,status=200)=>({ok:status<400,status,json:async()=>({data})});
globalThis.fetch=async(url,options={})=>{
if(String(url).startsWith('file:'))return {ok:true,text:()=>fs.readFile(new URL(url),'utf8'),json:async()=>JSON.parse(await fs.readFile(new URL(url),'utf8'))};
if(String(url).startsWith('file:')){
const name=new URL(url).pathname.split('/').at(-1);
if(name.endsWith('.html'))templateRequests.push(name);
if(name==='wallet.html'&&failWalletTemplate)return {ok:false,status:503};
return {ok:true,text:()=>fs.readFile(new URL(url),'utf8'),json:async()=>JSON.parse(await fs.readFile(new URL(url),'utf8'))};
}
const path=String(url).replace('/api/v1/','');calls.push({path,body:options.body?JSON.parse(options.body):null});
if(path==='guest/comm/config')return payload({is_captcha:0});
if(path==='passport/auth/login')return new Promise(resolve=>delayedLogin=()=>resolve(payload({auth_data:'Bearer synthetic'})));
if(path==='user/info')return payload({email:'[email protected]',plan_id:2});
if(path==='user/info')return payload({email:'[email protected]',plan_id:2,expired_at:subscriptionExpired?1:null,transfer_enable:1000});
if(path==='user/getSubscribe')return payload({plan_id:2,plan:plans[1],transfer_enable:1000,u:0,d:0,subscribe_url:'http://xb.loc/s/synthetic'});
if(path==='user/comm/config')return payload({withdraw_methods:[]});
if(path.startsWith('user/notice/fetch?current=')){
const offset=(Number(new URLSearchParams(path.split('?')[1]).get('current'))-1)*5;
const notices=Array.from({length:18},(_,i)=>({id:i+1,title:'归档公告 '+(i+1),content:'归档正文',created_at:1793836800}));
const current=Number(new URLSearchParams(path.split('?')[1]).get('current'));
if(current===failNoticePage)return payload(null,503);
const offset=(current-1)*5;
const notices=Array.from({length:18},(_,i)=>({id:i+1,title:'归档公告 '+(i+1),content:'归档正文 '+(i+1),created_at:1793836800}));
return {ok:true,status:200,json:async()=>({data:notices.slice(offset,offset+5),total:notices.length})};
}
if(path==='user/plan/fetch')return payload([plans[0]]);
if(path==='user/plan/fetch')return payload(subscriptionExpired?[{...plans[1],reset_price:400}]:[plans[0]]);
if(path==='user/plan/fetch?id=2')return payload({...plans[1],show:false,sell:false,renew:true,capacity_limit:'Sold out'});
if(path==='user/coupon/check')return new Promise(resolve=>delayedCoupon=()=>resolve(payload({name:'QA'})));
if(path==='user/order/save')return payload('synthetic-order');
@@ -52,7 +63,7 @@ const until=async predicate=>{for(let n=0;n<200;n++){if(predicate())return;await
const go=async route=>{location.hash='/'+route;await until(()=>document.body.dataset.nativePage===route);};
await import('../../theme/Fuc/assets/app.mjs');
test('login uses original pending text and waits for success confirmation before routing',async()=>{
await until(()=>document.querySelector('[data-form=login]'));const form=document.querySelector('[data-form=login]'),button=form.querySelector('[type=submit]');
await until(()=>document.querySelector('[data-form=login]'));assert.deepEqual(templateRequests,['login.html']);const form=document.querySelector('[data-form=login]'),button=form.querySelector('[type=submit]');
form.querySelector('[name=email]').value='[email protected]';form.querySelector('[name=password]').value='synthetic-password';
form.dispatchEvent(new window.Event('submit',{bubbles:true,cancelable:true}));
assert.equal(button.textContent,'正在登录');assert.equal(button.disabled,true);await until(()=>delayedLogin);delayedLogin();
@@ -114,15 +125,18 @@ test('the old plan URL opens the order list, with an unpaid order accessible on
assert.equal(document.querySelector('[data-pending-order]'),null);
assert.doesNotMatch(document.querySelector('tbody').textContent,/synthetic-order/);
document.querySelector('[data-action=next]').click();
const unpaidLink=()=>document.querySelector('tbody a[href="#/checkout/synthetic-order?from=orders"]');
const unpaidLink=()=>document.querySelector('tbody a[href="#/checkout/synthetic-order?from=orders&page=2"]');
await until(unpaidLink);
assert.equal(unpaidLink().textContent,'继续支付');
unpaidLink().click();
await until(()=>document.querySelector('#fuc-checkout-modal.show'));
assert.equal(location.hash,'#/checkout/synthetic-order?from=orders');
assert.equal(location.hash,'#/checkout/synthetic-order?from=orders&page=2');
assert.match(document.querySelector('.fuc-pagination').textContent,/第 2 \/ 2 页/);
assert.ok(unpaidLink());
document.querySelector('#fuc-checkout-modal [data-action=native-dismiss]').click();
await until(()=>document.body.dataset.nativePage==='orders');
assert.equal(location.hash,'#/orders');
assert.equal(location.hash,'#/orders?page=2');
assert.ok(unpaidLink());
orders.pop();
location.hash='/subscribe';
await until(()=>location.hash==='#/orders'&&document.querySelector('tbody tr'));
@@ -231,4 +245,57 @@ test('the announcement page shows all four native XB pages in order',async()=>{
const headings=[...document.querySelectorAll('h5')].map(node=>node.textContent.trim()).filter(title=>title.startsWith('归档公告 '));
assert.deepEqual(headings,Array.from({length:18},(_,i)=>'归档公告 '+(i+1)));
});
test('a failed wallet template stays isolated and can be retried',async()=>{
location.hash='/wallet';
await until(()=>document.querySelector('#app [data-action=retry]'));
assert.match(document.querySelector('#app [role=alert]').textContent,/模板加载失败/);
failWalletTemplate=false;
document.querySelector('#app [data-action=retry]').click();
await until(()=>document.querySelector('[data-form=gift]'));
assert.equal(templateRequests.filter(name=>name==='wallet.html').length,2);
});
test('the dashboard preserves account details and loaded notices after a notice-page failure',async()=>{
try {
for(const failedPage of [1,2]){
await go('profile');
failNoticePage=failedPage;
await go('dashboard');
const dashboard=document.querySelector('#dashboard-analytics');
assert.ok(dashboard);
assert.match(dashboard.textContent,/公告暂时无法加载/);
assert.equal(dashboard.textContent.includes('归档正文 1'),failedPage===2);
assert.equal(document.querySelector('#app [data-action=retry]'),null);
}
}finally{failNoticePage=0;}
});
test('system color changes preserve the checkout modal and scroll lock',async()=>{
localStorage.setItem('fuc_themeMod','system');
try {
location.hash='/checkout/synthetic-order?from=orders';
await until(()=>document.querySelector('#fuc-checkout-modal.show'));
const modal=document.querySelector('#fuc-checkout-modal');
for(const matches of [true,false]){
changeSystemColor({matches});
assert.equal(document.body.classList.contains('dark-layout'),matches);
assert.ok(document.body.classList.contains('modal-open'));
assert.equal(document.querySelector('#fuc-checkout-modal.show'),modal);
assert.equal(document.querySelectorAll('.modal-backdrop').length,1);
}
modal.querySelector('[data-action=native-dismiss]').click();
await until(()=>document.body.dataset.nativePage==='orders');
assert.equal(document.body.classList.contains('modal-open'),false);
}finally{localStorage.removeItem('fuc_themeMod');}
});
test('an expired owner can buy a regular period but cannot enter traffic reset',async()=>{
subscriptionExpired=true;
try {
await go('plans');
assert.ok(document.querySelector('[data-action=buy][data-period=month_price]:enabled'));
assert.equal(document.querySelector('[data-period=reset_price]'),null);
location.hash='/purchase/2?period=reset_price';
await until(()=>document.querySelector('#app [role=alert]'));
assert.match(document.querySelector('#app [role=alert]').textContent,/此套餐或计费周期不可购买/);
assert.equal(document.querySelector('[data-form=purchase]'),null);
}finally{subscriptionExpired=false;}
});
test.after(()=>{window.Pace.stop();dom.window.close();});
+7 -3
View File
@@ -3,13 +3,17 @@ import assert from 'node:assert/strict';
import {createApi, soldOut, safeUrl, bytes, money, paymentResult, routeFromHash,trafficSummary,canPurchase} from '../../theme/Fuc/assets/core.mjs';
import {subscriptionUrl,importUrl} from '../../theme/Fuc/assets/subscription.mjs';
const response = (body,status=200) => ({ok:status<400,status,json:async()=>body});
test('owned renewal is not blocked by new-sale capacity, and reset requires ownership',()=>{
test('owned renewal bypasses new-sale capacity and traffic reset requires an active subscription',()=>{
const plan={id:7,show:false,sell:false,renew:true,capacity_limit:'Sold out',month_price:1200,reset_price:100};
assert.equal(canPurchase(plan,{plan_id:7},'month_price'),true);
assert.equal(canPurchase(plan,{plan_id:8},'month_price'),false);
assert.equal(canPurchase({...plan,renew:false},{plan_id:7},'month_price'),false);
assert.equal(canPurchase(plan,{plan_id:7},'reset_price'),true);
assert.equal(canPurchase(plan,{plan_id:8},'reset_price'),false);
const active={plan_id:7,expired_at:null,transfer_enable:100,u:100,d:0};
assert.equal(canPurchase(plan,active,'reset_price'),true);
assert.equal(canPurchase(plan,{...active,plan_id:8},'reset_price'),false);
assert.equal(canPurchase(plan,{...active,expired_at:1},'reset_price'),false);
assert.equal(canPurchase(plan,{...active,banned:true},'reset_price'),false);
assert.equal(canPurchase(plan,{...active,transfer_enable:0},'reset_price'),false);
});
test('an expired response from a previous token cannot discard a newer login',async()=>{
let token='Bearer old',resolve,cleared=false;
+3 -2
View File
@@ -9,7 +9,8 @@ globalThis.fetch=async url=>({ok:true,text:()=>fs.readFile(new URL(url),'utf8'),
const {paymentForm,showPayment}=await import('../../theme/Fuc/assets/payments.mjs');
const {richText}=await import('../../theme/Fuc/assets/content.mjs');
const {copyText}=await import('../../theme/Fuc/assets/clipboard.mjs');
const native=await import('../../theme/Fuc/assets/native.mjs');await native.nativeReady;
const native=await import('../../theme/Fuc/assets/native.mjs');
await native.prepareNativeTemplates('header','index','home','login','register','plans','profile','article','orders','purchase','checkout');
test('touch login waits for a tap while desktop keeps keyboard autofocus',()=>{
const original=window.matchMedia;
try {
@@ -172,7 +173,7 @@ test('dashboard retains source empty-subscription state and profile does not inv
const view=new DOMParser().parseFromString(native.nativeDashboard({},{},[],'QA',richText,[]),'text/html');
assert.equal(view.querySelector('#donut-chart').hidden,true);assert.match(view.body.textContent,/无可用流量/);
assert.ok(view.querySelector('[data-action=subscription-unavailable]'));
const checkin=view.querySelector('button[title="本站未开放签到"]');assert.equal(checkin.disabled,true);assert.doesNotMatch(checkin.textContent,/已签到/);
assert.equal(view.querySelector('#checkin,.fa-calendar-check'),null);assert.doesNotMatch(view.body.textContent,/每日签到|已签到/);
const profile=new DOMParser().parseFromString(native.nativeSecondary('profile',{sub:{plan:{name:'Long plan is not an account level'}},richText}),'text/html');
assert.equal(profile.querySelector('.card-profile-stats .heading').textContent,'—');
});
+67 -20
View File
@@ -7,8 +7,8 @@ import {copyText} from './clipboard.mjs?v=0.12.6';
import {createCaptcha} from './captcha.mjs?v=0.12.6';
import {showPayment,mountCard} from './payments.mjs?v=0.12.14';
import {beginPageProgress,finishPageProgress} from './progress.mjs?v=0.12.6';
import {nativeReady,prepareNativeMode,nativeMode,fillPurchaseModal,nativeHeader,nativeFooter,nativeDashboard,nativeHome,nativeAuth,nativeSecondary,paintNativeChart,paintNativeHome} from './native.mjs?v=0.12.19';
import {escape as e, money, bytes, date, list, groupedList, periods, orderStates, soldOut, safeUrl, createApi, fetchNotices, routeFromHash,canPurchase} from './core.mjs?v=0.12.13';
import {prepareNativeTemplates,prepareNativeMode,nativeMode,syncNativeColor,fillPurchaseModal,nativeHeader,nativeFooter,nativeDashboard,nativeHome,nativeAuth,nativeSecondary,paintNativeChart,paintNativeHome} from './native.mjs?v=ui-flow-1';
import {escape as e, money, bytes, date, list, groupedList, periods, orderStates, soldOut, safeUrl, createApi, fetchNotices, routeFromHash,canPurchase,hasActiveSubscription} from './core.mjs?v=ui-flow-1';
const settings = window.fucSettings || {};
const root = document.querySelector('#app');
const preview = settings.preview === true;
@@ -24,6 +24,7 @@ const link = (text, href, klass = '') => `<a class="${klass}" href="${e(href)}">
const empty=(text='暂无记录',action='')=>`<div class="native-empty">${e(text)}${action?`<p>${action}</p>`:''}</div>`;
const card = (title, body, klass = '') => `<section class="card ${klass}"><div class="card-body">${title ? `<h3 class="card-title">${title}</h3>` : ''}${body}</div></section>`;
const getRoute = () => routeFromHash(location.hash);
const orderListRoute = page => page>1 ? `orders?page=${page}` : 'orders';
const go = route => { if (location.hash === `#/${route}`) renderRoute(); else location.hash = `/${route}`; };
const toast = (message,type='success') => notify(message,type);
const waitFeedback = ms => new Promise(resolve=>setTimeout(resolve,ms));
@@ -55,20 +56,23 @@ function shell(name,content,activePage=name){
document.title=`${titles[name]?.[0]||(name==='faq'?'常见问题':name)} — ${settings.title||'福云'}`;if(name==='dashboard')void paintNativeChart().catch(()=>{});
}
const secondary=(name,data,extra={})=>nativeSecondary(name,{user,sub,data,period:cycle,page,config,richText,...extra});
async function planPage(name){
async function planPage(name,query){
await prepareNativeTemplates(name);
if(name==='orders'){
const orders=list(await api('user/order/fetch'));
const pageSize=20,orderTotalPages=Math.max(1,Math.ceil(orders.length/pageSize));
const orderPage=Math.min(page,orderTotalPages);
const requestedPage=Number(query?.get('page'));
const orderPage=Number.isSafeInteger(requestedPage)&&requestedPage>0
? Math.min(requestedPage,orderTotalPages) : 1;
const data=orders.slice((orderPage-1)*pageSize,orderPage*pageSize);
return {data,html:secondary(name,data,{page:orderPage,orderTotalPages})};
return {data,page:orderPage,html:secondary(name,data,{page:orderPage,orderTotalPages})};
}
if(name==='plans'){
const [plans,invite]=await Promise.all([api('user/plan/fetch'),api('user/invite/fetch').catch(()=>null)]);
const data=[...list(plans)];
if(sub.plan_id!=null&&!data.some(plan=>String(plan.id)===String(sub.plan_id))){
const own=await api('user/plan/fetch?id='+encodeURIComponent(sub.plan_id)).catch(()=>null);
const active=(sub.expired_at==null||Number(sub.expired_at)>Date.now()/1000)&&Number(sub.transfer_enable)>0&&!user.banned;
const active=hasActiveSubscription(user);
if(own&&(active||(own.show!==false&&own.show!==0))){
const plan=active?own:{...own,reset_price:null};
if(Object.keys(periods).some(period=>canPurchase(plan,user,period)))data.push(plan);
@@ -80,17 +84,35 @@ async function planPage(name){
}
async function renderRoute() {
const ticket=beginPageProgress();
try {await renderPage();} finally {finishPageProgress(ticket);}
const seq=routeSequence+1;
try {
await renderPage();
} catch (error) {
if(seq!==routeSequence)return;
disposeInteractions(root);
root.innerHTML=card('',`<div class="alert" role="alert">${e(error.message)}</div>${btn('重新加载','retry')}`);
} finally {
finishPageProgress(ticket);
}
}
async function renderPage() {
clearTimeout(paymentTimer);paymentTimer=null;captcha?.dispose();captcha=null;cardPayment?.dispose();cardPayment=null;
const seq = ++routeSequence, {name,id,query} = getRoute(); selectedTicket = null; selectedOrder = null; selectedPlan = null;
if(name==='orders'&&/^#\/?(?:myplan|subscribe)(?:\?|$)/.test(location.hash))history.replaceState(null,'','#/orders');
if (name === 'demo') {if (preview) {sessionStorage.setItem(storageKey,'Bearer local-preview-only');go(['invite','knowledge','tickets'].includes(getRoute().query.get('next')) ? getRoute().query.get('next') : 'dashboard');} else go('login');return;}
if (name === 'home') {try {const plans = list(await api('guest/plan/fetch'));if(seq===routeSequence){await prepareNativeMode('home');if(seq===routeSequence)homepage(plans,plans.length?'':'暂无公开展示的套餐');}} catch(error) {if(seq===routeSequence){await prepareNativeMode('home');if(seq===routeSequence)homepage([],error.message);}}return;}
if (name === 'home') {
const [result]=await Promise.all([
api('guest/plan/fetch').then(list).then(plans=>({plans})).catch(error=>({plans:[],error:error.message})),
prepareNativeTemplates('home'),prepareNativeMode('home')
]);
if(seq===routeSequence)homepage(result.plans,result.error||(result.plans.length?'':'暂无公开展示的套餐'));
return;
}
const auth = ['login','register','forget','reset'].includes(name);
if(auth){await prepareNativeMode('auth',name);if(seq!==routeSequence)return;}
if (!token() && !auth) {go('login'); return;}
if(auth){
await Promise.all([prepareNativeTemplates(name),prepareNativeMode('auth',name)]);
if(seq!==routeSequence)return;
}
if (name==='login'&&getRoute().query.has('verify')) {
const verify=getRoute().query.get('verify'),redirect=getRoute().query.get('redirect');
history.replaceState(null,'',location.pathname+location.search+'#/login');
@@ -98,15 +120,27 @@ async function renderPage() {
catch(error){if(seq===routeSequence)authPage('login',error.message);}return;
}
if (auth) {authPage(name); return;}
const pageTemplate = name==='dashboard'?'index':name==='knowledge'&&id?'article':name;
const requiredTemplates = ['header','footer'];
if(Object.hasOwn(titles,name)||name==='faq')requiredTemplates.push(pageTemplate);
if(name==='invite')requiredTemplates.push('afflog');
await prepareNativeTemplates(...requiredTemplates);
if(seq!==routeSequence)return;
try {
const info = await Promise.all([api('user/info'),api('user/getSubscribe'),api('user/comm/config'),api('user/vip').catch(()=>null)]);
if (seq !== routeSequence) return; [user,sub] = info;config={...config,...info[2]};
if(info[3]?.enabled===true){user.vip=info[3];user.discount=info[3].discount_percent;}
let content, nextData=[], nextTicket=null, nextOrder=null, nextPlan=null, nextMethods=[], checkoutBackground=null;
if(name==='dashboard'){const [notices,traffic]=await Promise.all([fetchNotices(api,{dashboard:true}),api('user/stat/getTrafficLog').then(list).catch(()=>null)]);content=nativeDashboard(user,sub,list(notices),settings.title||'福云',richText,traffic,settings.nyanpasuDownloadOrigin);}
else if(name==='notices')content=secondary('notices',await fetchNotices(api));
let content, nextData=[], nextTicket=null, nextOrder=null, nextPlan=null, nextMethods=[], checkoutBackground=null, returnTo=null, orderPage=null;
if(name==='dashboard'){
const [news,traffic]=await Promise.all([
fetchNotices(api,{dashboard:true}),api('user/stat/getTrafficLog').then(list).catch(()=>null)
]);
content=nativeDashboard(user,sub,news.notices,settings.title||'福云',richText,traffic,settings.nyanpasuDownloadOrigin,news.unavailable);
}
else if(name==='notices')content=secondary('notices',(await fetchNotices(api)).notices);
else if(name==='plans'||name==='orders'){
const result=await planPage(name);nextData=result.data;content=result.html;
const result=await planPage(name,query);nextData=result.data;content=result.html;
orderPage=result.page;
}
else if(name==='purchase'&&id){
const period=query.get('period'),from='plans';
@@ -122,7 +156,7 @@ async function renderPage() {
const origin=query.get('from'),from=origin==='myplan'?'orders':origin;
const [order,background]=await Promise.all([
api(`user/order/detail?trade_no=${encodeURIComponent(id)}`),
['plans','orders'].includes(from)?planPage(from).catch(()=>null):null
['plans','orders'].includes(from)?planPage(from,query).catch(()=>null):null
]);
nextOrder=order;
const [methods,discountBreakdown]=await Promise.all([
@@ -133,6 +167,7 @@ async function renderPage() {
]);
nextMethods=list(methods);
checkoutBackground=background?from:null;
if(checkoutBackground==='orders')returnTo=orderListRoute(background.page);
content=(background?.html||'')+secondary('checkout',order,{methods:nextMethods,discountBreakdown,asModal:!!checkoutBackground});
}
else if(name==='profile'){content=secondary(name,null,{sessions:list(await api('user/getActiveSession'))});}
@@ -148,11 +183,12 @@ async function renderPage() {
await prepareNativeMode('user',activePage);
if(seq!==routeSequence)return;
pageData=nextData;selectedTicket=nextTicket;selectedOrder=nextOrder;selectedPlan=nextPlan;paymentMethods=nextMethods;
if(orderPage!=null)history.replaceState(null,'','#/'+orderListRoute(orderPage));
shell(name,content,activePage);
if(checkoutBackground){
const modal=root.querySelector(name==='purchase'?'#fuc-purchase-modal':'#fuc-checkout-modal');
window.jQuery(modal).one('hidden.bs.modal',()=>{
if(seq===routeSequence)location.replace('#/'+checkoutBackground);
if(seq===routeSequence)location.replace('#/'+(returnTo||checkoutBackground));
});
openModal('#'+modal.id);
}
@@ -187,7 +223,12 @@ root.addEventListener('click',async event => {
if (action === 'menu') {if(button.classList.contains('sidenav-overlay')&&!document.body.classList.contains('menu-open'))return;toggleMenu(root);return;}
if (action === 'mode') {const mode=document.documentElement.dataset.color==='dark'?'light':'dark';localStorage.setItem('fuc_color',mode);localStorage.setItem('fuc_themeMod',mode);location.reload();return;}
if (action === 'logout') {clearAuth();user={};sub={};go('login');return;}
if (action === 'prev' || action === 'next') {page = Math.max(1,page + (action === 'next' ? 1 : -1)); renderRoute(); return;}
if (action === 'prev' || action === 'next') {
if(button.dataset.orderPage){go(orderListRoute(Number(button.dataset.orderPage)));return;}
page = Math.max(1,page + (action === 'next' ? 1 : -1));
renderRoute();
return;
}
if (action === 'retry') {renderRoute(); return;}
if (action === 'refresh-payment') {
const order=selectedOrder;
@@ -258,13 +299,19 @@ root.addEventListener('submit',async event => {
} catch (error) {if(seq===routeSequence){if(['login','register','forget','reset-code'].includes(type))void authFeedback(error.message||'操作失败','','error');else toast(error.message || '操作失败','error');}}
finally {loading=false;if(button.isConnected){button.disabled=false;button.textContent=oldLabel;}}
});
window.addEventListener('hashchange',()=>{page=1;cycle='';const hash=location.hash;renderRoute().then(()=>{if(location.hash===hash)window.scrollTo(0,0);});});
window.addEventListener('hashchange',()=>{
page=1;
cycle='';
const rendered=renderRoute();
const seq=routeSequence;
void rendered.then(()=>{if(seq===routeSequence)window.scrollTo(0,0);});
});
document.documentElement.dataset.color = localStorage.getItem('fuc_themeMod')==='system'?(matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light'):localStorage.getItem('fuc_color') || 'light';
applyPalette();
async function start() {
const ticket=beginPageProgress();
try {
try {await Promise.all([nativeReady,interactionsReady]);}
try {await interactionsReady;}
catch {
root.innerHTML='<div class="alert" role="alert">原版主题资源加载失败,请刷新或核对主题包是否完整。</div>';
return;
@@ -285,7 +332,7 @@ root.addEventListener('input',event=>{if(event.target.id!=='searchbar')return;co
function subscriptionUrl(client){return makeSubscriptionUrl(sub.subscribe_url||'',client||'general');}
matchMedia('(prefers-color-scheme: dark)').addEventListener('change',event=>{if(localStorage.getItem('fuc_themeMod')==='system'){document.documentElement.dataset.color=event.matches?'dark':'light';localStorage.setItem('fuc_color',document.documentElement.dataset.color);if(document.body.dataset.nativeMode==='user')nativeMode('user');}});
matchMedia('(prefers-color-scheme: dark)').addEventListener('change',event=>{if(localStorage.getItem('fuc_themeMod')==='system'){document.documentElement.dataset.color=event.matches?'dark':'light';localStorage.setItem('fuc_color',document.documentElement.dataset.color);syncNativeColor();}});
window.addEventListener('scroll',()=>{document.getElementById('navbar')?.classList.toggle('nav-sticky',window.scrollY>=50);},{passive:true});
+30 -27
View File
@@ -19,10 +19,15 @@ export function trafficSummary(sub,logs=null,now=new Date()) {
return {remaining:Math.max(0,total-used),today,history:today===null?used:Math.max(0,used-countedToday),series:[pct(Math.max(0,total-used)),pct(Math.max(0,countedUsed-Math.min(countedUsed,countedToday))),pct(Math.min(countedUsed,countedToday))]};
}
export function soldOut(plan) { const stock = plan.capacity_remaining ?? plan.capacity_limit; return stock === 0 || stock === '0' || (typeof stock === 'string' && !/^\d+$/.test(stock)); }
export function hasActiveSubscription(user) {
return user.plan_id!=null && !user.banned && Number(user.transfer_enable)>0
&& (user.expired_at===null || Number(user.expired_at)>Date.now()/1000);
}
export function canPurchase(plan,user,period) {
if(!plan||!Object.hasOwn(periods,period)||plan[period]==null)return false;
const owner=user.plan_id!=null&&String(user.plan_id)===String(plan.id);
if(period==='reset_price')return owner;
if(period==='reset_price')return owner&&hasActiveSubscription(user);
if(owner)return plan.renew!==false&&plan.renew!==0;
return plan.show!==false&&plan.show!==0&&plan.sell!==false&&plan.sell!==0&&!soldOut(plan);
}
@@ -53,34 +58,32 @@ const isDashboardOnlyNotice = notice =>
Array.isArray(notice.tags) && notice.tags.includes('dashboard-only');
export async function fetchNotices(api, {dashboard = false} = {}) {
const fetchPage = current => api(`user/notice/fetch?current=${current}`, undefined, 'GET', {keepEnvelope:true});
const first = await fetchPage(1);
const notices = list(first);
const pages = Number.isSafeInteger(first?.total) && notices.length
? Math.ceil(first.total / notices.length)
: 1;
const byId = new Map(notices.map(notice => [notice.id, notice]));
const dashboardNotices = () => {
const pinned = [...byId.values()].find(isDashboardOnlyNotice);
const latest = [...byId.values()].find(notice => !isDashboardOnlyNotice(notice));
return {pinned, latest};
};
for (let current = 2; current <= pages; current++) {
if (dashboard) {
const {pinned, latest} = dashboardNotices();
if (pinned && latest) return [pinned, latest];
const byId = new Map();
let pages = 1;
let unavailable = false;
for (let current = 1; current <= pages; current++) {
try {
const result = await api(`user/notice/fetch?current=${current}`, undefined, 'GET', {keepEnvelope:true});
const notices = list(result);
if (current===1 && Number.isSafeInteger(result?.total) && notices.length) {
pages = Math.ceil(result.total / notices.length);
}
for (const notice of notices) byId.set(notice.id, notice);
if (dashboard) {
const collected = [...byId.values()];
if (collected.some(isDashboardOnlyNotice) && collected.some(notice=>!isDashboardOnlyNotice(notice)))break;
}
} catch(error) {
if(!dashboard)throw error;
unavailable = true;
break;
}
for (const notice of list(await fetchPage(current))) byId.set(notice.id, notice);
}
if (dashboard) {
const {pinned, latest} = dashboardNotices();
if (pinned) return [pinned, latest ?? null];
return [...byId.values()].slice(0, 2);
}
return [...byId.values()].filter(notice => !isDashboardOnlyNotice(notice));
const notices = [...byId.values()];
if (!dashboard) return {notices:notices.filter(notice=>!isDashboardOnlyNotice(notice)), unavailable};
const pinned = notices.find(isDashboardOnlyNotice);
const latest = notices.find(notice=>!isDashboardOnlyNotice(notice));
return {notices:pinned || unavailable ? [pinned,latest] : notices.slice(0,2), unavailable};
}
export function paymentResult(result) {
+80 -7
View File
@@ -43,15 +43,88 @@
padding-inline-end: min(160px, 44vw);
}
:root[data-fuc-support-palette] body[data-native-mode='user'].modal-open > .woot-widget-holder {
visibility: hidden;
/* Keep SDK controls in stable layers. Its .woot--hide otherwise sends them
behind the page and below the viewport before the exit animation finishes.
Keep support above content and below business modals. */
:root[data-fuc-support-palette] body > .woot-widget-holder {
z-index: 1000 !important;
transition: opacity .2s ease, transform .2s ease !important;
}
/* The SDK's launcher z-index otherwise covers the mobile navigation drawer. */
:root[data-fuc-support-palette] body[data-native-mode='user'].menu-open > :is(#cw-bubble-holder, .woot-widget-holder) {
visibility: hidden;
:root[data-fuc-support-palette] #cw-bubble-holder > button.woot-widget-bubble {
z-index: 1001 !important;
top: auto !important;
bottom: calc(var(--xb-support-bottom-gap, 24px) + env(safe-area-inset-bottom, 0px)) !important;
transition: opacity .15s ease, transform .2s ease, background-color .15s ease !important;
}
:root[data-fuc-support-palette] body[data-native-mode='user']:not(.modal-open):has(> .woot-widget-holder:not(.woot--hide)) #app .scroll-top {
visibility: hidden;
:root[data-fuc-support-palette] #cw-bubble-holder > .woot-elements--right {
right: calc(20px + env(safe-area-inset-right, 0px));
}
/* Hidden controls must never catch clicks during rapid open/close reversals. */
:root[data-fuc-support-palette] body > .woot-widget-holder.woot--hide,
:root[data-fuc-support-palette] #cw-bubble-holder > button.woot--hide {
visibility: hidden !important;
pointer-events: none !important;
}
/* On short screens the public widget can reach the fixed navigation (1030). */
:root[data-fuc-support-palette] body[data-native-mode='home'] > .woot-widget-holder:not(.has-unread-view) {
z-index: 1035 !important;
}
@media (min-width: 668px) {
:root[data-fuc-support-palette] body > .woot-widget-holder {
top: auto !important;
bottom: calc(var(--xb-support-bottom-gap, 24px) + var(--xb-support-button-height, 48px) + var(--xb-support-panel-gap, 12px) + env(safe-area-inset-bottom, 0px)) !important;
min-height: 0 !important;
max-height: min(640px, calc(100vh - 100px - env(safe-area-inset-bottom, 0px))) !important;
max-height: min(640px, calc(100dvh - 100px - env(safe-area-inset-bottom, 0px))) !important;
max-width: calc(100vw - 40px);
}
:root[data-fuc-support-palette] body > .woot-widget-holder.woot-elements--right {
right: calc(20px + env(safe-area-inset-right, 0px));
}
}
/* The SDK includes 667px in both mobile and desktop rules. Choose one layout. */
@media (max-width: 667px) {
:root[data-fuc-support-palette] body > .woot-widget-holder:not(.has-unread-view) {
z-index: 1035 !important;
inset: 0 !important;
width: 100% !important;
height: 100vh !important;
height: 100dvh !important;
min-height: 0 !important;
max-height: 100vh !important;
max-height: 100dvh !important;
border-radius: 0;
}
:root[data-fuc-support-palette] body > .woot-widget-holder.has-unread-view {
top: auto !important;
bottom: 84px !important;
}
:root[data-fuc-support-palette] #cw-bubble-holder > button.woot--close {
visibility: hidden !important;
pointer-events: none !important;
}
}
/* Target the actual controls, not only their parent: SDK visibility rules on
children can override inherited visibility while a menu/modal is open. */
:root[data-fuc-support-palette] body[data-native-mode='user']:is(.modal-open, .menu-open) > .woot-widget-holder,
:root[data-fuc-support-palette] body[data-native-mode='user']:is(.modal-open, .menu-open) > #cw-bubble-holder > button {
visibility: hidden !important;
pointer-events: none !important;
}
@media (prefers-reduced-motion: reduce) {
:root[data-fuc-support-palette] body > .woot-widget-holder,
:root[data-fuc-support-palette] #cw-bubble-holder > button.woot-widget-bubble {
transition: none !important;
}
}
+52 -18
View File
@@ -1,12 +1,40 @@
import {isDesktopLayout} from './layout.mjs?v=0.12.19';
import {getPalette,applyPalette} from './palettes.mjs?v=0.12.6';
import {catalogGroups} from './catalog.mjs?v=0.12.6';
import {escape as e,money,bytes,date,safeUrl,soldOut,trafficSummary,canPurchase,orderAmount} from './core.mjs?v=0.12.13';
import {escape as e,money,bytes,date,safeUrl,soldOut,trafficSummary,canPurchase,hasActiveSubscription,orderAmount} from './core.mjs?v=ui-flow-1';
const base = new URL('./native/',import.meta.url).href;
const bridgeStyle = 'bridge.css?v=0.12.19';
let templates = {},sourceStyles={};
const styleReady=fetch(base+'styles.json?v=0.12.13').then(r=>r.json()).then(v=>sourceStyles=v);
export const nativeReady = Promise.all(['footer','header','index','home','login','register','forget','reset','plans','wallet','invite','profile','tickets','ticket','servers','notices','knowledge','article','faq','orders','purchase','checkout','walletlog','afflog'].map(async name=>{const version={footer:'0.12.17',header:'0.12.13',index:'0.12.13',plans:'0.12.13',checkout:'0.12.13',purchase:'0.12.13'}[name]||'ui-unify-1';const r=await fetch(`${base}${name}.html?v=${version}`);if(!r.ok)throw Error('原版模板加载失败');templates[name]=await r.text();})).then(()=>styleReady);
const templates = {};
const templateRequests = new Map();
const templateVersions = {footer:'0.12.17',header:'0.12.20',home:'0.12.20',login:'0.12.20',register:'0.12.20',forget:'0.12.20',reset:'0.12.20',index:'0.12.21',plans:'0.12.13',checkout:'0.12.13',purchase:'0.12.13'};
let styleRequest;
function loadStyles() {
if(!styleRequest){
styleRequest=fetch(base+'styles.json?v=0.12.13').then(response=>{
if(!response.ok)throw Error('原版样式配置加载失败');
return response.json();
}).catch(error=>{styleRequest=null;throw error;});
}
return styleRequest;
}
export function prepareNativeTemplates(...names) {
return Promise.all(names.map(name=>{
if(!templateRequests.has(name)){
const version=templateVersions[name]||'ui-unify-1';
const request=fetch(`${base}${name}.html?v=${version}`).then(response=>{
if(!response.ok)throw Error('原版模板加载失败');
return response.text();
}).then(html=>{templates[name]=html;}).catch(error=>{
templateRequests.delete(name);
throw error;
});
templateRequests.set(name,request);
}
return templateRequests.get(name);
}));
}
let nativeSwiper=null,swiperLibrary=null;
export async function paintNativeHome(){if(!document.querySelector('.native-public .swiper-container'))return;if(!window.Swiper){if(!swiperLibrary)swiperLibrary=new Promise((resolve,reject)=>{const s=document.createElement('script');s.src=base+'assets/cool/swiper.min.js';s.onload=resolve;s.onerror=reject;document.head.append(s);});await swiperLibrary;}const el=document.querySelector('.native-public .swiper-container');if(!el)return;if(nativeSwiper){try{nativeSwiper.destroy(true,true);}catch{}}el.querySelectorAll('.swiper-slide').forEach(n=>{n.style.removeProperty('display');n.style.removeProperty('width');});el.querySelector('.swiper-wrapper')?.removeAttribute('style');nativeSwiper=new window.Swiper(el,{direction:'horizontal',loop:true,autoplay:{delay:5000,disableOnInteraction:true},navigation:{nextEl:'.swiper-button-next',prevEl:'.swiper-button-prev'}});}
let currentMode='',currentStyleMode='',styleSequence=0,chartData=null,chartInstance=null,chartLibrary=null;
@@ -17,6 +45,8 @@ export async function prepareNativeMode(mode,page='') {
const palette=getPalette(),signature=key+':'+palette;
if(currentMode===signature)return;
const seq=++styleSequence;
const sourceStyles=await loadStyles();
if(seq!==styleSequence)return;
const overrides=[['native-dark','theme/cool/assets/css/theme/dark-layout.css'],['native-bridge',bridgeStyle]].map(([id,path])=>{
let n=document.getElementById(id);if(n)return n;
n=document.createElement('link');n.id=id;n.rel='stylesheet';n.href=base+path;n.media='not all';
@@ -42,17 +72,22 @@ function syncNativeMenu(root){
root.querySelectorAll('.main-menu').forEach(n=>{n.classList.toggle('menu-light',!dark);n.classList.toggle('menu-dark',dark);});
root.querySelectorAll('.header-navbar').forEach(n=>{n.classList.toggle('navbar-light',!dark);n.classList.toggle('navbar-dark',dark);});
}
export function syncNativeColor() {
const dark=document.body.dataset.nativeMode==='user'&&document.documentElement.dataset.color==='dark';
document.body.classList.toggle('dark-layout',dark);
const stylesheet=document.getElementById('native-dark');
if(stylesheet)stylesheet.disabled=!dark;
syncNativeMenu(document);
}
export function nativeMode(mode, page='') {
applyPalette();
let icon=document.getElementById('native-icon');if(!icon){icon=document.createElement('link');icon.id='native-icon';icon.rel='icon';icon.type='image/svg+xml';icon.href=base+'images/brand/fuc-mark.svg';document.head.append(icon);}
let icon=document.getElementById('native-icon');if(!icon){icon=document.createElement('link');icon.id='native-icon';icon.rel='icon';icon.type='image/svg+xml';icon.href=base+'images/brand/fuc-mark.svg?v=0.12.20';document.head.append(icon);}
const key=mode==='home'?'home':mode==='auth'?(page||'login'):(page||document.body.dataset.nativePage||'dashboard');
if(mode!=='home'&&nativeSwiper){try{nativeSwiper.destroy(true,true);}catch{}nativeSwiper=null;}
if((mode!=='user'||key!=='dashboard')&&chartInstance){try{chartInstance.destroy();}catch{}chartInstance=null;}
if(currentMode!==key+':'+getPalette())void prepareNativeMode(mode,page);
let dark=document.getElementById('native-dark');if(!dark){dark=document.createElement('link');dark.id='native-dark';dark.rel='stylesheet';dark.href=base+'theme/cool/assets/css/theme/dark-layout.css';document.head.append(dark);}dark.disabled=mode!=='user'||document.documentElement.dataset.color!=='dark';
let bridge=document.getElementById('native-bridge');if(!bridge){bridge=document.createElement('link');bridge.id='native-bridge';bridge.rel='stylesheet';bridge.href=base+bridgeStyle;document.head.append(bridge);}
document.body.className=mode==='home'?'native-public':mode==='auth'?'vertical-layout vertical-menu-modern 1-column navbar-floating footer-static bg-full-screen-image blank-page':`vertical-layout ${isDesktopLayout()?'vertical-menu-modern menu-expanded':'vertical-overlay-menu'} navbar-floating footer-static ${document.documentElement.dataset.color==='dark'?'dark-layout':''}`;
if(mode==='user'&&isDesktopLayout()&&localStorage.getItem('fuc_menuToggle')==='close'){document.body.classList.remove('menu-expanded');document.body.classList.add('menu-collapsed');}document.body.dataset.nativeMode=mode;document.body.dataset.menu=isDesktopLayout()?'vertical-menu-modern':'vertical-overlay-menu';document.body.classList.add(window.Pace?.running?'pace-running':'pace-done');syncNativeMenu(document);
if(mode==='user'&&isDesktopLayout()&&localStorage.getItem('fuc_menuToggle')==='close'){document.body.classList.remove('menu-expanded');document.body.classList.add('menu-collapsed');}document.body.dataset.nativeMode=mode;document.body.dataset.menu=isDesktopLayout()?'vertical-menu-modern':'vertical-overlay-menu';document.body.classList.add(window.Pace?.running?'pace-running':'pace-done');syncNativeColor();
}
const routes={'/':'#/home','/user':'#/dashboard','/user/':'#/dashboard','/user/shop':'#/plans','/user/announcement':'#/notices','/user/code':'#/wallet','/user/plan':'#/orders','/user/invite':'#/invite','/user/profile':'#/profile','/user/ticket':'#/tickets','/user/node':'#/servers','/user/faq/1':'#/faq','/auth/login':'#/login','/auth/register':'#/register','/password/reset':'#/forget'};
@@ -72,7 +107,6 @@ function sanitize(raw) {
doc.querySelectorAll('[href="/user/logout"]').forEach(n=>{n.removeAttribute('href');n.dataset.action='logout';});
doc.querySelectorAll('[data-clipboard-text]').forEach(n=>{n.dataset.client=clientName(n.textContent);n.removeAttribute('data-clipboard-text');n.dataset.action='copy-sub';});
doc.querySelectorAll('.dropdown-item').forEach(n=>{if(n.textContent.includes('一键导入')){n.dataset.action='import';n.dataset.client=clientName(n.textContent);}});
doc.querySelectorAll('#checkin').forEach(n=>{n.disabled=true;n.title='本站未开放签到';});
return [...doc.head.querySelectorAll('style')].map(n=>n.outerHTML).join('')+doc.body.innerHTML;
}
function fill(raw,data) {return raw.replace(/__([A-Z_0-9]+)__/g,(_,key)=>data[key] ?? '—');}
@@ -110,9 +144,9 @@ function dashboardPlanName(plan) {
? `${legacyName}(旧)` : name;
}
export function nativeDashboard(user,sub,notices,brand,richText,traffic=null,nyanpasuDownloadOrigin='') {
export function nativeDashboard(user,sub,notices,brand,richText,traffic=null,nyanpasuDownloadOrigin='',noticesUnavailable=false) {
const usage=trafficSummary(sub,traffic),[remain,pct,today]=usage.series;
const data={NAME:e((user.email||'').split('@')[0]),BRAND:e(brand),PLAN:e(sub.plan?.name||'未订阅'),CLASS:e(dashboardPlanName(sub.plan)),BALANCE:e((Number(user.balance||0)/100).toFixed(2)),DAYS:sub.expired_at?Math.max(0,Math.ceil((sub.expired_at*1000-Date.now())/86400000)):'—',TOTAL_PAY:'—',PINNED:notices[0]?richText(notices[0].content):'暂无公告',PIN_DATE:date(notices[0]?.created_at),LATEST:notices[1]?richText(notices[1].content):'暂无公告',LATEST_DATE:date(notices[1]?.created_at),SUB_URL:e(safeUrl(sub.subscribe_url||'')),RESET_DATE:sub.reset_day!=null?`${sub.reset_day} 天后`:'—',REMAIN_PERCENT:remain.toFixed(1),REMAIN_BYTES:bytes(usage.remaining),TODAY_PERCENT:usage.today===null?'—':today.toFixed(1),TODAY_BYTES:usage.today===null?'—':bytes(usage.today),PAST_PERCENT:pct.toFixed(1),PAST_BYTES:bytes(usage.history)};
const data={NAME:e((user.email||'').split('@')[0]),BRAND:e(brand),PLAN:e(sub.plan?.name||'未订阅'),CLASS:e(dashboardPlanName(sub.plan)),BALANCE:e((Number(user.balance||0)/100).toFixed(2)),DAYS:sub.expired_at?Math.max(0,Math.ceil((sub.expired_at*1000-Date.now())/86400000)):'—',TOTAL_PAY:'—',PINNED:notices[0]?richText(notices[0].content):noticesUnavailable?'公告暂时无法加载':'暂无公告',PIN_DATE:notices[0]?date(notices[0].created_at):'',LATEST:notices[1]?richText(notices[1].content):noticesUnavailable?'公告暂时无法加载':'暂无公告',LATEST_DATE:notices[1]?date(notices[1].created_at):'',SUB_URL:e(safeUrl(sub.subscribe_url||'')),RESET_DATE:sub.reset_day!=null?`${sub.reset_day} 天后`:'—',REMAIN_PERCENT:remain.toFixed(1),REMAIN_BYTES:bytes(usage.remaining),TODAY_PERCENT:usage.today===null?'—':today.toFixed(1),TODAY_BYTES:usage.today===null?'—':bytes(usage.today),PAST_PERCENT:pct.toFixed(1),PAST_BYTES:bytes(usage.history)};
const host=document.createElement('div');host.innerHTML=sanitize(fill(templates.index,data));
const downloadOrigin=safeUrl(nyanpasuDownloadOrigin);
if(downloadOrigin){
@@ -125,7 +159,6 @@ export function nativeDashboard(user,sub,notices,brand,richText,traffic=null,nya
}
if(user.vip?.enabled===true){const vip=user.vip,card=host.querySelector('.card-stats .col');if(card){card.querySelector('span.h3').textContent=vip.name||'普通用户';card.querySelector('h5').textContent=`累计支付:¥ ${(Number(vip.cumulative_cents)/100).toFixed(2)}`;}}
host.querySelectorAll('h5').forEach(n=>{if(n.textContent.includes('套餐自动续订'))n.remove();if(n.textContent.trim()==='在线设备'){const value=n.parentElement.querySelector('span.h3');if(value)value.textContent='—';}});
const checkin=host.querySelector('#checkin,.float-right > button.btn.disabled');if(checkin){checkin.classList.remove('disabled');checkin.disabled=true;checkin.title='本站未开放签到';for(const n of checkin.childNodes)if(n.nodeType===3&&n.textContent.trim())n.textContent=' 每日签到';}
const available=!!sub.plan_id&&(sub.expired_at==null||Number(sub.expired_at)>Date.now()/1000);
host.querySelectorAll('.btn-sub,.btn-shadowrocket').forEach(n=>{if(!available){n.classList.add('disabled');n.dataset.action='subscription-unavailable';}});
const seriesMarker=host.querySelector('.traffic-info .series-info i');if(seriesMarker)seriesMarker.style.color='#7D72F1';
@@ -166,7 +199,7 @@ const termLabel=period=>months[period]?months[period]+' 个月':periodLabels[per
function pData(p,period){return {P_ID:e(p.id),P_NAME:e(p.name),P_PRICE:(Number(p[period]||0)/100).toFixed(2),P_GB:e(p.transfer_enable??'—'),P_IP:e(p.display_device_limit??p.device_limit??'—'),P_SPEED:e(p.speed_limit??'—'),P_PERIOD:e(termLabel(period)),PERIOD:period};}
const detailRow=(label,value,dividerAfter=false)=>`<div class="d-flex align-items-baseline justify-content-between mb-1"${dividerAfter?' data-settlement-divider':''}><dt class="mr-1">${e(label)}</dt><dd class="mb-0 text-right text-break">${e(value)}</dd></div>`;
const planSpecs=plan=>[['套餐流量',`${plan.transfer_enable??'—'} GB`],['速率限制',plan.speed_limit?`${plan.speed_limit} Mbps`:'不限制'],['设备限制',(plan.display_device_limit??plan.device_limit)||'不限制']];
const orderUrl=order=>`#/checkout/${encodeURIComponent(order.trade_no)}?from=orders`;
const orderUrl=(order,page)=>`#/checkout/${encodeURIComponent(order.trade_no)}?from=orders${page>1?'&page='+page:''}`;
function cancelOrderButton(order, compact=false) {
if(String(order.status)!=='0'||!order.trade_no)return '';
return `<button type="button" class="btn btn-outline-danger${compact?' btn-sm':''}" data-action="cancel-order" data-trade-no="${e(order.trade_no)}">取消订单</button>`;
@@ -268,7 +301,7 @@ export function nativeSecondary(name,ctx){
const common={NAME:e((user.email||'').split('@')[0]),EMAIL:e(user.email),BALANCE:(Number(user.balance||0)/100).toFixed(2),COMMISSION:(Number(user.commission_balance||0)/100).toFixed(2),GB:(Number(sub.transfer_enable||0)/1073741824).toFixed(0),PLAN:e(sub.plan?.name||'未订阅'),RATE:e(ctx.inviteRate??'—'),WITHDRAW_MIN:'—',REWARD_GB:'—',FEE:'—'};
let repeats={},values={},template=name;
if(name==='plans'){
const groups=catalogGroups(data,Object.keys(periodLabels),user.plan_id);
const groups=catalogGroups(data,Object.keys(periodLabels),hasActiveSubscription(user)?user.plan_id:null);
const cardNames={month_price:'月套餐',quarter_price:'季套餐',half_year_price:'半年套餐',year_price:'年套餐',two_year_price:'两年套餐',three_year_price:'三年套餐',onetime_price:'一次性套餐',reset_price:'流量重置'};
const group=g=>({CYCLE:g.key,repeats:{row:g.rows.map(({plan:p,period:k})=>({...pData(p,k),P_ID:e(p.id+'_'+k),P_NAME:e(cardNames[k])}))}});
repeats={v:groups.map(group),productGroupValue:groups.map(group)};
@@ -293,7 +326,7 @@ export function nativeSecondary(name,ctx){
host.querySelectorAll('[data-toggle="collapse"]').forEach(n=>{n.dataset.action='native-accordion';n.dataset.target=n.getAttribute('data-target')||n.getAttribute('href');});
host.querySelectorAll('a[href^="/"]').forEach(n=>unavailable(n));
if(name==='plans'){
const groups=catalogGroups(data,Object.keys(periodLabels),user.plan_id);
const groups=catalogGroups(data,Object.keys(periodLabels),hasActiveSubscription(user)?user.plan_id:null);
const activeGroup=groups.some(g=>g.key===period)?period:groups[0]?.key;
const tabs=[...host.querySelectorAll('.shop_tab a')];tabs.forEach((a,i)=>{const k=a.dataset.target?.replace('top-home-',''),group=groups.find(g=>g.key===k);a.querySelector('i')?.classList.remove('fa');a.querySelector('i')?.classList.add('fab');a.dataset.cycle=k;a.dataset.action='native-cycle';a.classList.toggle('active',k===activeGroup);a.setAttribute('aria-selected',String(k===activeGroup));a.querySelector('span').textContent=group?.name||'';a.id=`cycle-tab-${i}`;});
host.querySelectorAll('.tab-pane').forEach(n=>{const active=n.id===`top-home-${activeGroup}`;n.classList.toggle('active',active);n.classList.toggle('show',active);});
@@ -345,7 +378,7 @@ export function nativeSecondary(name,ctx){
<td>${e(order.trade_no)}</td><td>${e(order.plan?.name||'—')}</td><td>${money(orderAmount(order))}</td>
<td>${orderStatus(order.status)}</td><td>${date(order.created_at)}</td>
<td><div class="plan-action-links d-flex align-items-center">
${cancelOrderButton(order,true)}<a class="btn btn-primary btn-sm" href="${orderUrl(order)}">${String(order.status)==='0'?'继续支付':'查看'}</a>
${cancelOrderButton(order,true)}<a class="btn btn-primary btn-sm" href="${orderUrl(order,page)}">${String(order.status)==='0'?'继续支付':'查看'}</a>
</div></td>
</tr>`).join('');
table.append(body);
@@ -464,7 +497,8 @@ function unifyUserLayout(host) {
function inviteUrl(code){return code?`${location.origin}${location.pathname}#/register?code=${encodeURIComponent(code)}`:'';}
function pagination(page,length,totalPages=null){
const orderList=totalPages!==null,atEnd=orderList?page>=totalPages:length<20;
return `<div class="fuc-pagination d-flex justify-content-end align-items-center${orderList?'':' my-2'}"><button type="button" class="btn btn-outline-primary btn-sm" data-action="prev" ${page<=1?'disabled':''}>上一页</button><span${orderList?'':' class="mx-1"'}>第 ${page}${orderList?' / '+totalPages:''} 页</span><button type="button" class="btn btn-outline-primary btn-sm" data-action="next" ${atEnd?'disabled':''}>下一页</button></div>`;
const pageTarget=target=>orderList?` data-order-page="${Math.max(1,target)}"`:'';
return `<div class="fuc-pagination d-flex justify-content-end align-items-center${orderList?'':' my-2'}"><button type="button" class="btn btn-outline-primary btn-sm" data-action="prev"${pageTarget(page-1)} ${page<=1?'disabled':''}>上一页</button><span${orderList?'':' class="mx-1"'}>第 ${page}${orderList?' / '+totalPages:''} 页</span><button type="button" class="btn btn-outline-primary btn-sm" data-action="next"${pageTarget(page+1)} ${atEnd?'disabled':''}>下一页</button></div>`;
}
function country(name){return /日本|Japan|JP/i.test(name)?'jp':/新加坡|Singapore|SG/i.test(name)?'sg':/香港|Hong.?Kong|HK/i.test(name)?'hk':/美国|United.?States|US/i.test(name)?'us':'';}
+4 -4
View File
@@ -5,9 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no">
<title>找回密码 — 福云</title>
<link rel="icon" type="image/png" sizes="32x32" href="/images/brand/favicon-32.png?v=20261030">
<link rel="icon" type="image/svg+xml" sizes="any" href="/images/brand/fuc-mark.svg?v=20261030">
<link rel="apple-touch-icon" sizes="180x180" href="/images/brand/apple-touch-icon.png?v=20261030">
<link rel="icon" type="image/png" sizes="32x32" href="/images/brand/favicon-32.png?v=0.12.20">
<link rel="icon" type="image/svg+xml" sizes="any" href="/images/brand/fuc-mark.svg?v=0.12.20">
<link rel="apple-touch-icon" sizes="180x180" href="/images/brand/apple-touch-icon.png?v=0.12.20">
<link rel="stylesheet" href="/assets/css/fuc-brand.css?v=20261030-2">
@@ -38,7 +38,7 @@
<div class="card mb-0">
<div class="card-body">
<a href="/" class="brand-logo" aria-label="福云首页">
<img src="/images/brand/fuc-mark.svg?v=20261030" class="fuc-auth-mark" width="64" height="64" alt="福云" data-fuc-brand>
<img src="/images/brand/fuc-mark.svg?v=0.12.20" class="fuc-auth-mark" width="64" height="64" alt="福云" data-fuc-brand>
</a>
<h4 class="card-title mb-1">重置密码 🔒</h4>
+1 -1
View File
@@ -124,7 +124,7 @@
<ul class="nav navbar-nav flex-row">
<li class="nav-item mr-auto"><a class="navbar-brand" href="/user">
<img src="/images/brand/fuc-mark.svg?v=20261030" class="fuc-sidebar-mark" width="36" height="36" alt="福云" data-fuc-brand>
<img src="/images/brand/fuc-mark.svg?v=0.12.20" class="fuc-sidebar-mark" width="36" height="36" alt="福云" data-fuc-brand>
<span class="fuc-brand-wordmark" aria-hidden="true"></span>
</a></li>
+5 -5
View File
@@ -5,9 +5,9 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" type="image/png" sizes="32x32" href="/images/brand/favicon-32.png?v=20261030">
<link rel="icon" type="image/svg+xml" sizes="any" href="/images/brand/fuc-mark.svg?v=20261030">
<link rel="apple-touch-icon" sizes="180x180" href="/images/brand/apple-touch-icon.png?v=20261030">
<link rel="icon" type="image/png" sizes="32x32" href="/images/brand/favicon-32.png?v=0.12.20">
<link rel="icon" type="image/svg+xml" sizes="any" href="/images/brand/fuc-mark.svg?v=0.12.20">
<link rel="apple-touch-icon" sizes="180x180" href="/images/brand/apple-touch-icon.png?v=0.12.20">
<link rel="stylesheet" href="/assets/css/fuc-brand.css?v=20261030-2">
@@ -26,8 +26,8 @@
<div class="container">
<a class="navbar-brand logo" href="/">
<img src="/images/brand/fuc-logo.svg?v=20261030" class="logo-dark" width="132" height="48" alt="福云" data-fuc-brand>
<img src="/images/brand/fuc-logo-inverse.svg?v=20261030" class="logo-light" width="132" height="48" alt="福云" data-fuc-brand>
<img src="/images/brand/fuc-logo.svg?v=0.12.20" class="logo-dark" width="132" height="48" alt="福云" data-fuc-brand>
<img src="/images/brand/fuc-logo-inverse.svg?v=0.12.20" class="logo-light" width="132" height="48" alt="福云" data-fuc-brand>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu">
Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 942 B

After

Width:  |  Height:  |  Size: 879 B

@@ -1 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="176" height="64" viewBox="0 0 176 64" fill="none"><title>福云</title><defs><linearGradient id="fuc-violet" x1="8" y1="12" x2="57" y2="53" gradientUnits="userSpaceOnUse"><stop stop-color="#A18BFF"/><stop offset=".52" stop-color="#8070F3"/><stop offset="1" stop-color="#6555D9"/></linearGradient></defs><path fill="url(#fuc-violet)" d="M18 51C9.7 51 3 44.3 3 36c0-7.2 5-13.2 11.7-14.7C17.1 12.1 25.8 6 35.2 7.1 45.4 8.2 53 16.7 53 27v.2c6.3 1.2 11 6.7 11 13.1C64 46.8 58.7 52 52.2 52H37c-2.2 0-4-1.8-4-4s1.8-4 4-4h14.9c2.1 0 3.9-1.7 3.9-3.9S54.1 36 51.9 36H27a4 4 0 0 1 0-8h17.7v-1c0-6-4.4-11.1-10.4-11.8-6-.7-11.5 3.3-12.7 9.2l-.8 4H18a7.5 7.5 0 0 0 0 15h4a4 4 0 0 1 0 8h-4Z"/><g fill="#ECE8FF"><path transform="translate(78.000 47) scale(1 -1)" d="M39.825 33.349Q39.825 33.349 39.825 29.252Q34.021 29.252 28.218 29.252Q22.414 29.252 16.611 29.252Q16.611 29.252 16.611 33.349Q22.414 33.349 28.217 33.349Q34.021 33.349 39.825 33.349ZM35.475 20.869Q35.475 20.869 35.475 17.355Q35.475 17.355 20.919 17.355Q20.919 17.355 20.919 20.869Q20.919 20.869 35.475 20.869ZM18.771 27.338Q18.771 27.338 19.281 27.338Q19.281 27.338 23.068 27.338Q23.068 24.842 23.068 22.349Q23.068 19.850 23.068 17.355Q23.068 17.355 18.771 17.355Q18.771 19.850 18.771 22.348Q18.771 24.842 18.771 27.338ZM33.326 27.338Q33.326 27.338 36.927 27.338Q36.927 27.338 37.624 27.338Q37.624 24.842 37.624 22.344Q37.624 19.851 37.624 17.355Q37.624 17.355 33.326 17.355Q33.326 19.850 33.326 22.344Q33.326 24.842 33.326 27.338ZM35.475 27.338Q35.475 27.338 35.475 23.825Q35.475 23.825 20.919 23.825Q20.919 23.825 20.919 27.338Q20.919 27.338 35.475 27.338ZM37.326 8.093Q37.326 8.093 37.326 4.401Q37.326 4.401 19.196 4.401Q19.196 4.401 19.196 8.093Q19.196 8.093 37.326 8.093ZM26.070 13.574Q26.070 13.574 26.556 13.574Q26.556 13.574 30.260 13.574Q30.260 9.923 30.260 6.259Q30.260 2.620 30.260 -1.032Q30.260 -1.032 26.070 -1.032Q26.070 2.619 26.070 6.258Q26.070 9.923 26.070 13.574ZM17.002 15.164Q17.002 15.164 17.517 15.164Q17.517 15.164 21.391 15.164Q21.391 10.276 21.391 5.393Q21.391 0.502 21.391 -4.385Q21.391 -4.385 17.002 -4.385Q17.002 0.502 17.002 5.391Q17.002 10.277 17.002 15.164ZM35.131 15.164Q35.131 15.164 38.817 15.164Q38.817 15.164 39.521 15.164Q39.521 10.276 39.521 5.386Q39.521 0.502 39.521 -4.385Q39.521 -4.385 35.131 -4.385Q35.131 0.502 35.131 5.385Q35.131 10.277 35.131 15.164ZM37.326 15.164Q37.326 15.164 37.326 11.288Q37.326 11.288 19.196 11.288Q19.196 11.288 19.196 15.164Q19.196 15.164 37.326 15.164ZM37.326 0.944Q37.326 0.944 37.326 -3.009Q37.326 -3.009 19.196 -3.009Q19.196 -3.009 19.196 0.944Q19.196 0.944 37.326 0.944ZM5.553 33.673Q5.553 33.673 10.074 34.866Q10.470 33.795 11.065 31.897Q11.615 30.141 12.211 27.878Q12.211 27.878 7.927 26.847Q7.447 28.752 6.866 30.376Q6.213 32.204 5.553 33.673ZM6.762 15.067Q6.762 15.067 7.286 15.557Q7.286 15.557 11.307 19.277Q11.307 12.145 11.307 5.881Q11.307 0.477 11.307 -4.386Q11.307 -4.386 6.762 -4.386Q6.762 0.477 6.762 5.339Q6.762 10.204 6.762 15.067ZM13.630 29.191Q13.630 29.191 13.630 24.705Q13.630 24.705 2.366 24.705Q2.366 24.705 2.366 29.191Q2.366 29.191 13.630 29.191ZM2.829 7.293Q2.829 7.293 1.437 12.151Q5.266 15.523 7.904 19.396Q10.449 23.135 11.571 26.869Q11.571 26.869 11.571 29.191Q11.571 29.191 15.671 29.191Q15.671 29.191 15.670 25.200Q14.338 21.021 11.616 16.917Q8.420 12.099 2.829 7.293ZM7.415 15.441Q7.415 15.441 10.035 18.198Q12.044 17.111 13.714 15.850Q15.262 14.680 16.839 13.066Q16.839 13.066 14.229 9.060Q12.719 10.928 11.062 12.404Q9.209 14.057 7.415 15.441Z"/><path transform="translate(124.000 47) scale(1 -1)" d="M26.523 10.494Q26.523 10.494 30.350 12.689Q32.330 9.744 34.560 5.984Q36.607 2.532 38.892 -2.018Q38.892 -2.018 34.808 -4.677Q32.704 -0.166 30.764 3.343Q28.602 7.255 26.523 10.494ZM12.192 10.633Q14.492 14.666 16.375 18.713Q16.375 18.713 21.638 18.713Q19.509 14.261 16.803 9.501Q14.387 5.252 11.453 1.673Q16.785 2.051 22.176 2.621Q27.759 3.212 32.837 3.983Q32.837 3.983 35.094 -0.244Q27.788 -1.297 20.496 -2.027Q13.046 -2.772 5.617 -3.280Q5.617 -3.280 4.444 1.302Q5.457 1.589 6.250 2.313Q6.971 2.971 7.920 4.152Q9.904 6.623 12.192 10.633ZM36.382 32.430Q36.382 32.430 36.382 28.002Q28.796 28.002 21.211 28.002Q13.626 28.001 6.041 28.002Q6.041 28.002 6.041 32.430Q13.626 32.430 21.211 32.430Q28.796 32.430 36.382 32.430ZM40.120 20.999Q40.120 20.999 40.120 16.427Q30.592 16.427 21.064 16.427Q11.536 16.427 2.009 16.427Q2.009 16.427 2.009 20.999Q11.536 20.999 21.064 20.999Q30.592 20.999 40.120 20.999Z"/></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="176" height="64" viewBox="0 0 176 64">
<title>福云</title>
<image x="4" y="12.465116" width="56" height="39.069768" href="data:image/png;base64,iVBORw0KGgoAAAANSUh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9cWW8L3FMn5mkuv+QL0IJkqBa+YIOAByi2fQqqVgivTS3hxvVyS+GePnmF8vklaygHQkOgOs33EQBYgCwotr3R0PoaYWpiCXduV1oC98yPr1J+thCoUgM0GEKoktmv9QIutC+3Kyrw2opFFZOvFHD/fpUyGblp3+zE6XdoZqZQ1w4a8ahxQCAdD4khfuC9RJpQCeStWN6h8H15WcXk6QKWl2pNUe7ZM/+h/OySpUaXsgLUCe9oACHMgNGGS7GMo2PbwkIJp0/e2fTnTE68S7PTBU11zB2RaMoylEZgjAkqdenYdcq41u9e8diWeXVqU9UKbt9ew0s/vLVh1U6dvUb5mSWbwoICfbdKHdFBiPDLda+nKeCdglqFkbFfv17C8RfebRjuucn3KD+7XN/xIAQsPwfndF6eX5ZXHMs6B1ZUbj6/gBPHr4aGe37qugYVYWJOJyyEV6fDzrq+JEdc0GGwBJUssOVyEQAw/e/7mJyor9zXX7tBMzPLnsMfbOPqZC51BpkDy8E9MFFBrVYVjstQ1bL5+u9/W8DF8zd84V44/z7NTi/X7bDvUA6IDpxRgPmlMQSbA6/MC6wzTsvYKpLine truncated
<g fill="#ECE8FF"><path transform="translate(78.000 47) scale(1 -1)" d="M39.825 33.349Q39.825 33.349 39.825 29.252Q34.021 29.252 28.218 29.252Q22.414 29.252 16.611 29.252Q16.611 29.252 16.611 33.349Q22.414 33.349 28.217 33.349Q34.021 33.349 39.825 33.349ZM35.475 20.869Q35.475 20.869 35.475 17.355Q35.475 17.355 20.919 17.355Q20.919 17.355 20.919 20.869Q20.919 20.869 35.475 20.869ZM18.771 27.338Q18.771 27.338 19.281 27.338Q19.281 27.338 23.068 27.338Q23.068 24.842 23.068 22.349Q23.068 19.850 23.068 17.355Q23.068 17.355 18.771 17.355Q18.771 19.850 18.771 22.348Q18.771 24.842 18.771 27.338ZM33.326 27.338Q33.326 27.338 36.927 27.338Q36.927 27.338 37.624 27.338Q37.624 24.842 37.624 22.344Q37.624 19.851 37.624 17.355Q37.624 17.355 33.326 17.355Q33.326 19.850 33.326 22.344Q33.326 24.842 33.326 27.338ZM35.475 27.338Q35.475 27.338 35.475 23.825Q35.475 23.825 20.919 23.825Q20.919 23.825 20.919 27.338Q20.919 27.338 35.475 27.338ZM37.326 8.093Q37.326 8.093 37.326 4.401Q37.326 4.401 19.196 4.401Q19.196 4.401 19.196 8.093Q19.196 8.093 37.326 8.093ZM26.070 13.574Q26.070 13.574 26.556 13.574Q26.556 13.574 30.260 13.574Q30.260 9.923 30.260 6.259Q30.260 2.620 30.260 -1.032Q30.260 -1.032 26.070 -1.032Q26.070 2.619 26.070 6.258Q26.070 9.923 26.070 13.574ZM17.002 15.164Q17.002 15.164 17.517 15.164Q17.517 15.164 21.391 15.164Q21.391 10.276 21.391 5.393Q21.391 0.502 21.391 -4.385Q21.391 -4.385 17.002 -4.385Q17.002 0.502 17.002 5.391Q17.002 10.277 17.002 15.164ZM35.131 15.164Q35.131 15.164 38.817 15.164Q38.817 15.164 39.521 15.164Q39.521 10.276 39.521 5.386Q39.521 0.502 39.521 -4.385Q39.521 -4.385 35.131 -4.385Q35.131 0.502 35.131 5.385Q35.131 10.277 35.131 15.164ZM37.326 15.164Q37.326 15.164 37.326 11.288Q37.326 11.288 19.196 11.288Q19.196 11.288 19.196 15.164Q19.196 15.164 37.326 15.164ZM37.326 0.944Q37.326 0.944 37.326 -3.009Q37.326 -3.009 19.196 -3.009Q19.196 -3.009 19.196 0.944Q19.196 0.944 37.326 0.944ZM5.553 33.673Q5.553 33.673 10.074 34.866Q10.470 33.795 11.065 31.897Q11.615 30.141 12.211 27.878Q12.211 27.878 7.927 26.847Q7.447 28.752 6.866 30.376Q6.213 32.204 5.553 33.673ZM6.762 15.067Q6.762 15.067 7.286 15.557Q7.286 15.557 11.307 19.277Q11.307 12.145 11.307 5.881Q11.307 0.477 11.307 -4.386Q11.307 -4.386 6.762 -4.386Q6.762 0.477 6.762 5.339Q6.762 10.204 6.762 15.067ZM13.630 29.191Q13.630 29.191 13.630 24.705Q13.630 24.705 2.366 24.705Q2.366 24.705 2.366 29.191Q2.366 29.191 13.630 29.191ZM2.829 7.293Q2.829 7.293 1.437 12.151Q5.266 15.523 7.904 19.396Q10.449 23.135 11.571 26.869Q11.571 26.869 11.571 29.191Q11.571 29.191 15.671 29.191Q15.671 29.191 15.670 25.200Q14.338 21.021 11.616 16.917Q8.420 12.099 2.829 7.293ZM7.415 15.441Q7.415 15.441 10.035 18.198Q12.044 17.111 13.714 15.850Q15.262 14.680 16.839 13.066Q16.839 13.066 14.229 9.060Q12.719 10.928 11.062 12.404Q9.209 14.057 7.415 15.441Z"/><path transform="translate(124.000 47) scale(1 -1)" d="M26.523 10.494Q26.523 10.494 30.350 12.689Q32.330 9.744 34.560 5.984Q36.607 2.532 38.892 -2.018Q38.892 -2.018 34.808 -4.677Q32.704 -0.166 30.764 3.343Q28.602 7.255 26.523 10.494ZM12.192 10.633Q14.492 14.666 16.375 18.713Q16.375 18.713 21.638 18.713Q19.509 14.261 16.803 9.501Q14.387 5.252 11.453 1.673Q16.785 2.051 22.176 2.621Q27.759 3.212 32.837 3.983Q32.837 3.983 35.094 -0.244Q27.788 -1.297 20.496 -2.027Q13.046 -2.772 5.617 -3.280Q5.617 -3.280 4.444 1.302Q5.457 1.589 6.250 2.313Q6.971 2.971 7.920 4.152Q9.904 6.623 12.192 10.633ZM36.382 32.430Q36.382 32.430 36.382 28.002Q28.796 28.002 21.211 28.002Q13.626 28.001 6.041 28.002Q6.041 28.002 6.041 32.430Q13.626 32.430 21.211 32.430Q28.796 32.430 36.382 32.430ZM40.120 20.999Q40.120 20.999 40.120 16.427Q30.592 16.427 21.064 16.427Q11.536 16.427 2.009 16.427Q2.009 16.427 2.009 20.999Q11.536 20.999 21.064 20.999Q30.592 20.999 40.120 20.999Z"/></g>
</svg>

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 11 KiB

@@ -1,16 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="176" height="64" viewBox="0 0 176 64">
<title>福云</title>
<defs>
<mask id="fuc-cloud-gap" maskUnits="userSpaceOnUse" x="0" y="0" width="64" height="64">
<rect width="64" height="64" fill="white"/>
<path fill="black" stroke="black" stroke-width="5" d="M26 52.5c-6.6 0-11.3-4.4-11.3-10.4 0-5.5 4.2-9.9 9.7-10.4 2.1-6 7.1-9.8 13.3-9.8 6.8 0 12.2 4.7 13.6 10.8 4.4.9 7.7 4.9 7.7 9.5 0 5.8-4.5 10.3-10.8 10.3H26Z"/>
</mask>
<linearGradient id="fuc-cloud-front" x1="24" y1="22" x2="52" y2="53" gradientUnits="userSpaceOnUse">
<stop stop-color="#8479F5"/>
<stop offset="1" stop-color="#7367F0"/>
</linearGradient>
</defs>
<path fill="#C3BDF5" mask="url(#fuc-cloud-gap)" d="M16 43.2C10.3 43.2 6 39.4 6 34.3c0-5 3.8-8.9 8.6-9.4a13 13 0 0 1 25.5.7 8.9 8.9 0 0 1-2 17.6H16Z"/>
<path fill="url(#fuc-cloud-front)" d="M26 52.5c-6.6 0-11.3-4.4-11.3-10.4 0-5.5 4.2-9.9 9.7-10.4 2.1-6 7.1-9.8 13.3-9.8 6.8 0 12.2 4.7 13.6 10.8 4.4.9 7.7 4.9 7.7 9.5 0 5.8-4.5 10.3-10.8 10.3H26Z"/>
<g fill="#7367F0"><path transform="translate(78.000 47) scale(1 -1)" d="M39.825 33.349Q39.825 33.349 39.825 29.252Q34.021 29.252 28.218 29.252Q22.414 29.252 16.611 29.252Q16.611 29.252 16.611 33.349Q22.414 33.349 28.217 33.349Q34.021 33.349 39.825 33.349ZM35.475 20.869Q35.475 20.869 35.475 17.355Q35.475 17.355 20.919 17.355Q20.919 17.355 20.919 20.869Q20.919 20.869 35.475 20.869ZM18.771 27.338Q18.771 27.338 19.281 27.338Q19.281 27.338 23.068 27.338Q23.068 24.842 23.068 22.349Q23.068 19.850 23.068 17.355Q23.068 17.355 18.771 17.355Q18.771 19.850 18.771 22.348Q18.771 24.842 18.771 27.338ZM33.326 27.338Q33.326 27.338 36.927 27.338Q36.927 27.338 37.624 27.338Q37.624 24.842 37.624 22.344Q37.624 19.851 37.624 17.355Q37.624 17.355 33.326 17.355Q33.326 19.850 33.326 22.344Q33.326 24.842 33.326 27.338ZM35.475 27.338Q35.475 27.338 35.475 23.825Q35.475 23.825 20.919 23.825Q20.919 23.825 20.919 27.338Q20.919 27.338 35.475 27.338ZM37.326 8.093Q37.326 8.093 37.326 4.401Q37.326 4.401 19.196 4.401Q19.196 4.401 19.196 8.093Q19.196 8.093 37.326 8.093ZM26.070 13.574Q26.070 13.574 26.556 13.574Q26.556 13.574 30.260 13.574Q30.260 9.923 30.260 6.259Q30.260 2.620 30.260 -1.032Q30.260 -1.032 26.070 -1.032Q26.070 2.619 26.070 6.258Q26.070 9.923 26.070 13.574ZM17.002 15.164Q17.002 15.164 17.517 15.164Q17.517 15.164 21.391 15.164Q21.391 10.276 21.391 5.393Q21.391 0.502 21.391 -4.385Q21.391 -4.385 17.002 -4.385Q17.002 0.502 17.002 5.391Q17.002 10.277 17.002 15.164ZM35.131 15.164Q35.131 15.164 38.817 15.164Q38.817 15.164 39.521 15.164Q39.521 10.276 39.521 5.386Q39.521 0.502 39.521 -4.385Q39.521 -4.385 35.131 -4.385Q35.131 0.502 35.131 5.385Q35.131 10.277 35.131 15.164ZM37.326 15.164Q37.326 15.164 37.326 11.288Q37.326 11.288 19.196 11.288Q19.196 11.288 19.196 15.164Q19.196 15.164 37.326 15.164ZM37.326 0.944Q37.326 0.944 37.326 -3.009Q37.326 -3.009 19.196 -3.009Q19.196 -3.009 19.196 0.944Q19.196 0.944 37.326 0.944ZM5.553 33.673Q5.553 33.673 10.074 34.866Q10.470 33.795 11.065 31.897Q11.615 30.141 12.211 27.878Q12.211 27.878 7.927 26.847Q7.447 28.752 6.866 30.376Q6.213 32.204 5.553 33.673ZM6.762 15.067Q6.762 15.067 7.286 15.557Q7.286 15.557 11.307 19.277Q11.307 12.145 11.307 5.881Q11.307 0.477 11.307 -4.386Q11.307 -4.386 6.762 -4.386Q6.762 0.477 6.762 5.339Q6.762 10.204 6.762 15.067ZM13.630 29.191Q13.630 29.191 13.630 24.705Q13.630 24.705 2.366 24.705Q2.366 24.705 2.366 29.191Q2.366 29.191 13.630 29.191ZM2.829 7.293Q2.829 7.293 1.437 12.151Q5.266 15.523 7.904 19.396Q10.449 23.135 11.571 26.869Q11.571 26.869 11.571 29.191Q11.571 29.191 15.671 29.191Q15.671 29.191 15.670 25.200Q14.338 21.021 11.616 16.917Q8.420 12.099 2.829 7.293ZM7.415 15.441Q7.415 15.441 10.035 18.198Q12.044 17.111 13.714 15.850Q15.262 14.680 16.839 13.066Q16.839 13.066 14.229 9.060Q12.719 10.928 11.062 12.404Q9.209 14.057 7.415 15.441Z"/><path transform="translate(124.000 47) scale(1 -1)" d="M26.523 10.494Q26.523 10.494 30.350 12.689Q32.330 9.744 34.560 5.984Q36.607 2.532 38.892 -2.018Q38.892 -2.018 34.808 -4.677Q32.704 -0.166 30.764 3.343Q28.602 7.255 26.523 10.494ZM12.192 10.633Q14.492 14.666 16.375 18.713Q16.375 18.713 21.638 18.713Q19.509 14.261 16.803 9.501Q14.387 5.252 11.453 1.673Q16.785 2.051 22.176 2.621Q27.759 3.212 32.837 3.983Q32.837 3.983 35.094 -0.244Q27.788 -1.297 20.496 -2.027Q13.046 -2.772 5.617 -3.280Q5.617 -3.280 4.444 1.302Q5.457 1.589 6.250 2.313Q6.971 2.971 7.920 4.152Q9.904 6.623 12.192 10.633ZM36.382 32.430Q36.382 32.430 36.382 28.002Q28.796 28.002 21.211 28.002Q13.626 28.001 6.041 28.002Q6.041 28.002 6.041 32.430Q13.626 32.430 21.211 32.430Q28.796 32.430 36.382 32.430ZM40.120 20.999Q40.120 20.999 40.120 16.427Q30.592 16.427 21.064 16.427Q11.536 16.427 2.009 16.427Q2.009 16.427 2.009 20.999Q11.536 20.999 21.064 20.999Q30.592 20.999 40.120 20.999Z"/></g>
<title>福云</title>
<image x="4" y="12.465116" width="56" height="39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CrkHLF/gDmWL+7pgGW9PJ1UVuHh+Ge9cWW8L3FMn5mkuv+QL0IJkqBa+YIOAByi2fQqqVgivTS3hxvVyS+GePnmF8vklaygHQkOgOs33EQBYgCwotr3R0PoaYWpiCXduV1oC98yPr1J+thCoUgM0GEKoktmv9QIutC+3Kyrw2opFFZOvFHD/fpUyGblp3+zE6XdoZqZQ1w4a8ahxQCAdD4khfuC9RJpQCeStWN6h8H15WcXk6QKWl2pNUe7ZM/+h/OySpUaXsgLUCe9oACHMgNGGS7GMo2PbwkIJp0/e2fTnTE68S7PTBU11zB2RaMoylEZgjAkqdenYdcq41u9e8diWeXVqU9UKbt9ew0s/vLVh1U6dvUb5mSWbwoICfbdKHdFBiPDLda+nKeCdglqFkbFfv17C8RfebRjuucn3KD+7XN/xIAQsPwfndF6eX5ZXHMs6B1ZUbj6/gBPHr4aGe37qugYVYWJOJyyEV6fDzrq+JEdc0GGwBJUssOVyEQAw/e/7mJyor9zXX7tBMzPLnsMfbOPqZC51BpkDy8E9MFFBrVYVjstQ1bL5+u9/W8DF8zd84V44/z7NTi/X7bDvUA6IDpxRgPmlMQSbA6/MC6wzTsvYKpLine truncated
<g fill="#7367F0"><path transform="translate(78.000 47) scale(1 -1)" d="M39.825 33.349Q39.825 33.349 39.825 29.252Q34.021 29.252 28.218 29.252Q22.414 29.252 16.611 29.252Q16.611 29.252 16.611 33.349Q22.414 33.349 28.217 33.349Q34.021 33.349 39.825 33.349ZM35.475 20.869Q35.475 20.869 35.475 17.355Q35.475 17.355 20.919 17.355Q20.919 17.355 20.919 20.869Q20.919 20.869 35.475 20.869ZM18.771 27.338Q18.771 27.338 19.281 27.338Q19.281 27.338 23.068 27.338Q23.068 24.842 23.068 22.349Q23.068 19.850 23.068 17.355Q23.068 17.355 18.771 17.355Q18.771 19.850 18.771 22.348Q18.771 24.842 18.771 27.338ZM33.326 27.338Q33.326 27.338 36.927 27.338Q36.927 27.338 37.624 27.338Q37.624 24.842 37.624 22.344Q37.624 19.851 37.624 17.355Q37.624 17.355 33.326 17.355Q33.326 19.850 33.326 22.344Q33.326 24.842 33.326 27.338ZM35.475 27.338Q35.475 27.338 35.475 23.825Q35.475 23.825 20.919 23.825Q20.919 23.825 20.919 27.338Q20.919 27.338 35.475 27.338ZM37.326 8.093Q37.326 8.093 37.326 4.401Q37.326 4.401 19.196 4.401Q19.196 4.401 19.196 8.093Q19.196 8.093 37.326 8.093ZM26.070 13.574Q26.070 13.574 26.556 13.574Q26.556 13.574 30.260 13.574Q30.260 9.923 30.260 6.259Q30.260 2.620 30.260 -1.032Q30.260 -1.032 26.070 -1.032Q26.070 2.619 26.070 6.258Q26.070 9.923 26.070 13.574ZM17.002 15.164Q17.002 15.164 17.517 15.164Q17.517 15.164 21.391 15.164Q21.391 10.276 21.391 5.393Q21.391 0.502 21.391 -4.385Q21.391 -4.385 17.002 -4.385Q17.002 0.502 17.002 5.391Q17.002 10.277 17.002 15.164ZM35.131 15.164Q35.131 15.164 38.817 15.164Q38.817 15.164 39.521 15.164Q39.521 10.276 39.521 5.386Q39.521 0.502 39.521 -4.385Q39.521 -4.385 35.131 -4.385Q35.131 0.502 35.131 5.385Q35.131 10.277 35.131 15.164ZM37.326 15.164Q37.326 15.164 37.326 11.288Q37.326 11.288 19.196 11.288Q19.196 11.288 19.196 15.164Q19.196 15.164 37.326 15.164ZM37.326 0.944Q37.326 0.944 37.326 -3.009Q37.326 -3.009 19.196 -3.009Q19.196 -3.009 19.196 0.944Q19.196 0.944 37.326 0.944ZM5.553 33.673Q5.553 33.673 10.074 34.866Q10.470 33.795 11.065 31.897Q11.615 30.141 12.211 27.878Q12.211 27.878 7.927 26.847Q7.447 28.752 6.866 30.376Q6.213 32.204 5.553 33.673ZM6.762 15.067Q6.762 15.067 7.286 15.557Q7.286 15.557 11.307 19.277Q11.307 12.145 11.307 5.881Q11.307 0.477 11.307 -4.386Q11.307 -4.386 6.762 -4.386Q6.762 0.477 6.762 5.339Q6.762 10.204 6.762 15.067ZM13.630 29.191Q13.630 29.191 13.630 24.705Q13.630 24.705 2.366 24.705Q2.366 24.705 2.366 29.191Q2.366 29.191 13.630 29.191ZM2.829 7.293Q2.829 7.293 1.437 12.151Q5.266 15.523 7.904 19.396Q10.449 23.135 11.571 26.869Q11.571 26.869 11.571 29.191Q11.571 29.191 15.671 29.191Q15.671 29.191 15.670 25.200Q14.338 21.021 11.616 16.917Q8.420 12.099 2.829 7.293ZM7.415 15.441Q7.415 15.441 10.035 18.198Q12.044 17.111 13.714 15.850Q15.262 14.680 16.839 13.066Q16.839 13.066 14.229 9.060Q12.719 10.928 11.062 12.404Q9.209 14.057 7.415 15.441Z"/><path transform="translate(124.000 47) scale(1 -1)" d="M26.523 10.494Q26.523 10.494 30.350 12.689Q32.330 9.744 34.560 5.984Q36.607 2.532 38.892 -2.018Q38.892 -2.018 34.808 -4.677Q32.704 -0.166 30.764 3.343Q28.602 7.255 26.523 10.494ZM12.192 10.633Q14.492 14.666 16.375 18.713Q16.375 18.713 21.638 18.713Q19.509 14.261 16.803 9.501Q14.387 5.252 11.453 1.673Q16.785 2.051 22.176 2.621Q27.759 3.212 32.837 3.983Q32.837 3.983 35.094 -0.244Q27.788 -1.297 20.496 -2.027Q13.046 -2.772 5.617 -3.280Q5.617 -3.280 4.444 1.302Q5.457 1.589 6.250 2.313Q6.971 2.971 7.920 4.152Q9.904 6.623 12.192 10.633ZM36.382 32.430Q36.382 32.430 36.382 28.002Q28.796 28.002 21.211 28.002Q13.626 28.001 6.041 28.002Q6.041 28.002 6.041 32.430Q13.626 32.430 21.211 32.430Q28.796 32.430 36.382 32.430ZM40.120 20.999Q40.120 20.999 40.120 16.427Q30.592 16.427 21.064 16.427Q11.536 16.427 2.009 16.427Q2.009 16.427 2.009 20.999Q11.536 20.999 21.064 20.999Q30.592 20.999 40.120 20.999Z"/></g>
</svg>

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 11 KiB

@@ -1,15 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
<title>福云</title>
<defs>
<mask id="fuc-cloud-gap" maskUnits="userSpaceOnUse" x="0" y="0" width="64" height="64">
<rect width="64" height="64" fill="white"/>
<path fill="black" stroke="black" stroke-width="5" d="M26 52.5c-6.6 0-11.3-4.4-11.3-10.4 0-5.5 4.2-9.9 9.7-10.4 2.1-6 7.1-9.8 13.3-9.8 6.8 0 12.2 4.7 13.6 10.8 4.4.9 7.7 4.9 7.7 9.5 0 5.8-4.5 10.3-10.8 10.3H26Z"/>
</mask>
<linearGradient id="fuc-cloud-front" x1="24" y1="22" x2="52" y2="53" gradientUnits="userSpaceOnUse">
<stop stop-color="#8479F5"/>
<stop offset="1" stop-color="#7367F0"/>
</linearGradient>
</defs>
<path fill="#C3BDF5" mask="url(#fuc-cloud-gap)" d="M16 43.2C10.3 43.2 6 39.4 6 34.3c0-5 3.8-8.9 8.6-9.4a13 13 0 0 1 25.5.7 8.9 8.9 0 0 1-2 17.6H16Z"/>
<path fill="url(#fuc-cloud-front)" d="M26 52.5c-6.6 0-11.3-4.4-11.3-10.4 0-5.5 4.2-9.9 9.7-10.4 2.1-6 7.1-9.8 13.3-9.8 6.8 0 12.2 4.7 13.6 10.8 4.4.9 7.7 4.9 7.7 9.5 0 5.8-4.5 10.3-10.8 10.3H26Z"/>
<!-- Original Cool theme logo, embedded unchanged for the local brand preview. -->
<image x="4" y="12.465116" width="56" height="39.069768" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFYAAAA8CAYAAAD8OU3LAAAKsGlDQ1BJQ0MgcHJvZmlsZQAASImVlwdUk9kSgO//pzdaIAJSQg1dOgGkhNBCkV5thCRAIIQYCCqiorK4gmtBRQQsoKsiCq5KkcWGBduioNh1g4iKui4WbKi8P3AIu/vOe++8OWcyXyZz587c89+c+QGg6HElEhGsBkC2OE8aHeRHT0xKpuOGAAx0AAGQAJ7Ly5WwIiPDACKT9u/y4RaAFPaGrSLXv//+X0WdL8jlAQB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nTE68S7PTBU11zB2RaMoylEZgjAkqdenYdcq41u9e8diWeXVqU9UKbt9ew0s/vLVh1U6dvUb5mSWbwoICfbdKHdFBiPDLda+nKeCdglqFkbFfv17C8RfebRjuucn3KD+7XN/xIAQsPwfndF6eX5ZXHMs6B1ZUbj6/gBPHr4aGe37qugYVYWJOJyyEV6fDzrq+JEdc0GGwBJUssOVyEQAw/e/7mJyor9zXX7tBMzPLnsMfbOPqZC51BpkDy8E9MFFBrVYVjstQ1bL5+u9/W8DF8zd84V44/z7NTi/X7bDvUA6IDpxRgPmlMQSbA6/MC6wzTsvYLine truncated
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

-5
View File
@@ -104,11 +104,6 @@
<div class="card-header">
<h4 class="text-bold-500">置顶公告</h4>
<span class="float-right">
<button type="button" class="btn btn-primary disabled btn-sm waves-effect waves-light float-right">
<i class="far fa-calendar-check fa-lg icon-ver"></i> 已签到
</button>
</span>
</div>
<hr>
<div class="card-content">
+4 -4
View File
@@ -5,9 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no">
<title>登录 — 福云</title>
<link rel="icon" type="image/png" sizes="32x32" href="/images/brand/favicon-32.png?v=20261030">
<link rel="icon" type="image/svg+xml" sizes="any" href="/images/brand/fuc-mark.svg?v=20261030">
<link rel="apple-touch-icon" sizes="180x180" href="/images/brand/apple-touch-icon.png?v=20261030">
<link rel="icon" type="image/png" sizes="32x32" href="/images/brand/favicon-32.png?v=0.12.20">
<link rel="icon" type="image/svg+xml" sizes="any" href="/images/brand/fuc-mark.svg?v=0.12.20">
<link rel="apple-touch-icon" sizes="180x180" href="/images/brand/apple-touch-icon.png?v=0.12.20">
<link rel="stylesheet" href="/assets/css/fuc-brand.css?v=20261030-2">
<link rel="stylesheet" type="text/css" href="/theme/cool/assets/css/cool.css">
@@ -35,7 +35,7 @@
<div class="card mt-5">
<div class="card-body">
<a href="/" class="brand-logo" aria-label="福云首页">
<img src="/images/brand/fuc-mark.svg?v=20261030" class="fuc-auth-mark" width="64" height="64" alt="福云" data-fuc-brand>
<img src="/images/brand/fuc-mark.svg?v=0.12.20" class="fuc-auth-mark" width="64" height="64" alt="福云" data-fuc-brand>
</a>
<h4 class="card-title mb-1">👋 欢迎来到福云</h4>
+4 -4
View File
@@ -5,9 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no">
<title>注册 — 福云</title>
<link rel="icon" type="image/png" sizes="32x32" href="/images/brand/favicon-32.png?v=20261030">
<link rel="icon" type="image/svg+xml" sizes="any" href="/images/brand/fuc-mark.svg?v=20261030">
<link rel="apple-touch-icon" sizes="180x180" href="/images/brand/apple-touch-icon.png?v=20261030">
<link rel="icon" type="image/png" sizes="32x32" href="/images/brand/favicon-32.png?v=0.12.20">
<link rel="icon" type="image/svg+xml" sizes="any" href="/images/brand/fuc-mark.svg?v=0.12.20">
<link rel="apple-touch-icon" sizes="180x180" href="/images/brand/apple-touch-icon.png?v=0.12.20">
<link rel="stylesheet" href="/assets/css/fuc-brand.css?v=20261030-2">
@@ -38,7 +38,7 @@
<div class="card mt-5">
<div class="card-body">
<a href="/" class="brand-logo" aria-label="福云首页">
<img src="/images/brand/fuc-mark.svg?v=20261030" class="fuc-auth-mark" width="64" height="64" alt="福云" data-fuc-brand>
<img src="/images/brand/fuc-mark.svg?v=0.12.20" class="fuc-auth-mark" width="64" height="64" alt="福云" data-fuc-brand>
</a>
<h4 class="card-title mb-1">Start here 福云! 🚀</h4>
+4 -4
View File
@@ -5,9 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no">
<title>重置密码 — 福云</title>
<link rel="icon" type="image/png" sizes="32x32" href="/images/brand/favicon-32.png?v=20261030">
<link rel="icon" type="image/svg+xml" sizes="any" href="/images/brand/fuc-mark.svg?v=20261030">
<link rel="apple-touch-icon" sizes="180x180" href="/images/brand/apple-touch-icon.png?v=20261030">
<link rel="icon" type="image/png" sizes="32x32" href="/images/brand/favicon-32.png?v=0.12.20">
<link rel="icon" type="image/svg+xml" sizes="any" href="/images/brand/fuc-mark.svg?v=0.12.20">
<link rel="apple-touch-icon" sizes="180x180" href="/images/brand/apple-touch-icon.png?v=0.12.20">
<link rel="stylesheet" href="/assets/css/fuc-brand.css?v=20261030-2">
@@ -40,7 +40,7 @@
<div class="card mb-0">
<div class="card-body">
<a href="/" class="brand-logo" aria-label="福云首页">
<img src="/images/brand/fuc-mark.svg?v=20261030" class="fuc-auth-mark" width="64" height="64" alt="福云" data-fuc-brand>
<img src="/images/brand/fuc-mark.svg?v=0.12.20" class="fuc-auth-mark" width="64" height="64" alt="福云" data-fuc-brand>
</a>
<h4 class="card-title mb-1">重置密码 🔒</h4>
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "Fuc",
"description": "直接复用新版FUC原始用户模板、样式、图标及素材,接入XB接口;XB管理员后台保持原样。",
"version": "0.12.19",
"version": "0.12.25",
"images": "",
"configs": [
{
+2 -2
View File
@@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
<meta name="referrer" content="same-origin">
<title>{{ $title }}</title>
<link rel="stylesheet" href="/theme/{{ $theme }}/assets/customer-service.css?v=29">
<link rel="stylesheet" href="/theme/{{ $theme }}/assets/customer-service.css?v=ui-support-stacking-2">
<script>
try {
const route = location.hash.match(/^#\/?([^/?]+)/)?.[1];
@@ -58,7 +58,7 @@
];
@endphp
<script>window.fucSettings = @json($fucSettings);</script>
<script type="module" src="/theme/{{ $theme }}/assets/app.mjs?v=0.12.19"></script>
<script type="module" src="/theme/{{ $theme }}/assets/app.mjs?v=ui-flow-1"></script>
<script type="module" src="/theme/{{ $theme }}/assets/chatwoot.mjs?v=6"></script>
</body>