Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ujia
/
uj-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit db5061f6
authored
Nov 13, 2026
by
liimin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
调整登录页
1 parent
7bc5d9cf
Pipeline
#428
for
db5061f6
failed
in 0 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
apps/web/shell/package.json
apps/web/shell/src/pages/Login/components/LoginCoverage.tsx
apps/web/shell/src/theme/design.css
apps/web/shell/package.json
View file @
db5061f
{
"name"
:
"@uj/web-shell"
,
"version"
:
"1.0.
1
"
,
"version"
:
"1.0.
2
"
,
"private"
:
true
,
"type"
:
"module"
,
"scripts"
:
{
...
...
apps/web/shell/src/pages/Login/components/LoginCoverage.tsx
View file @
db5061f
...
...
@@ -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%">
...
...
apps/web/shell/src/theme/design.css
View file @
db5061f
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment