Commit db5061f6 by liimin

调整登录页

1 parent 7bc5d9cf
Pipeline #428 for db5061f6 failed in 0 seconds
{
"name": "@uj/web-shell",
"version": "1.0.1",
"version": "1.0.2",
"private": true,
"type": "module",
"scripts": {
......
......@@ -10,7 +10,7 @@
*/
const W = 600;
const H = 400;
const PAD = 28;
const PAD = 44;
// 固定种子伪随机:装饰用,保证每次渲染网点位置一致(非真实门店数据)
function makeRand(seed: number) {
......@@ -52,7 +52,7 @@ const PULSES = [
export function LoginCoverage() {
return (
<div className="uj-login-coverage" aria-hidden="true">
<svg viewBox={`0 0 ${W} ${H}`} width="100%" height="100%" preserveAspectRatio="xMidYMax slice">
<svg viewBox={`0 0 ${W} ${H}`} width="100%" height="100%" preserveAspectRatio="xMidYMax meet">
<defs>
{/* 右侧聚焦光晕:原小方格处的「更深」基调,品牌蓝向心渐隐 */}
<radialGradient id="ujCovFocus" cx="50%" cy="50%" r="50%">
......
......@@ -114,16 +114,18 @@
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 60%;
bottom: 18px;
height: 52%;
z-index: 0;
pointer-events: none;
/* 顶部渐隐,使点阵带自然融入上方墙面,不出现硬边 */
-webkit-mask-image: linear-gradient(to top, #000 64%, transparent 100%);
mask-image: linear-gradient(to top, #000 64%, transparent 100%);
-webkit-mask-image: linear-gradient(to top, #000 58%, transparent 100%);
mask-image: linear-gradient(to top, #000 58%, transparent 100%);
}
.uj-login-coverage svg {
display: block;
/* 等比完整显示(meet),禁止任何拉伸,保证网点/连线清晰不发糊 */
shape-rendering: geometricPrecision;
}
/* 点阵中 1–2 个活跃节点的光晕扩散(雷达 ping),克制不抢戏;尊重 reduced-motion */
@keyframes cov-ping {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!