Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
W
wenyuanwall
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
3rdeye
wenyuanwall
Commits
7b2ee7cc
Commit
7b2ee7cc
authored
May 19, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upates
parent
2252cc1f
Pipeline
#36492
failed with stages
in 1 minute and 23 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
8 deletions
+25
-8
src/app/app.component.html
src/app/app.component.html
+11
-5
src/app/app.component.ts
src/app/app.component.ts
+13
-2
src/index.html
src/index.html
+1
-1
No files found.
src/app/app.component.html
View file @
7b2ee7cc
...
@@ -10,8 +10,8 @@
...
@@ -10,8 +10,8 @@
</div>
</div>
<br
*ngIf=
"ad"
>
<br
*ngIf=
"ad"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-lg-3"
></div>
<div
class=
"col-lg-3
col-md-2 col-sm-1
"
></div>
<div
class=
"col-lg-6"
>
<div
class=
"col-lg-6
col-md-8 col-sm-10
"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-lg-12"
>
<div
class=
"col-lg-12"
>
...
@@ -22,18 +22,24 @@
...
@@ -22,18 +22,24 @@
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-
lg-
6"
>
<div
class=
"col-6"
>
<br>
<br>
<button
class=
"btn btn-danger"
style=
"width: 100%"
(click)=
"onBlacklistSearch()"
>
黑名单查询
</button>
<button
class=
"btn btn-danger"
style=
"width: 100%"
(click)=
"onBlacklistSearch()"
>
黑名单查询
</button>
</div>
</div>
<div
class=
"col-
lg-
6"
>
<div
class=
"col-6"
>
<br>
<br>
<button
class=
"btn btn-success"
style=
"width: 100%"
(click)=
"onWhitelistSearch()"
>
白名单查询
</button>
<button
class=
"btn btn-success"
style=
"width: 100%"
(click)=
"onWhitelistSearch()"
>
白名单查询
</button>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-lg-12"
>
<br>
<button
class=
"btn btn-primary"
style=
"width: 100%"
(click)=
"onRandomSearch()"
>
赛博皇帝选妃按钮
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"col-lg-3"
></div>
<div
class=
"col-lg-3
col-md-2 col-sm-1
"
></div>
</div>
</div>
</div>
</div>
...
...
src/app/app.component.ts
View file @
7b2ee7cc
...
@@ -17,7 +17,7 @@ import {
...
@@ -17,7 +17,7 @@ import {
export
class
AppComponent
implements
AfterViewInit
{
export
class
AppComponent
implements
AfterViewInit
{
search
=
''
;
search
=
''
;
displayingAccount
=
''
;
displayingAccount
=
''
;
title
=
'
蔷蔷
挂人
查询
'
;
title
=
'
蔷蔷查询
'
;
ad
:
Ad
|
null
=
null
;
ad
:
Ad
|
null
=
null
;
blacklistResult
?:
BlacklistAccountResultDto
[];
blacklistResult
?:
BlacklistAccountResultDto
[];
whitelistResult
?:
WhitelistAccountResultDto
[];
whitelistResult
?:
WhitelistAccountResultDto
[];
...
@@ -127,7 +127,7 @@ export class AppComponent implements AfterViewInit {
...
@@ -127,7 +127,7 @@ export class AppComponent implements AfterViewInit {
this
.
blacklistResult
=
undefined
;
this
.
blacklistResult
=
undefined
;
this
.
whitelistResult
=
undefined
;
this
.
whitelistResult
=
undefined
;
const
search
=
this
.
search
.
trim
();
const
search
=
this
.
search
.
trim
();
if
(
!
(
await
this
.
checkSearch
(
true
)))
{
if
(
!
(
await
this
.
checkSearch
()))
{
return
;
return
;
}
}
...
@@ -138,6 +138,17 @@ export class AppComponent implements AfterViewInit {
...
@@ -138,6 +138,17 @@ export class AppComponent implements AfterViewInit {
this
.
toast
.
error
(
`查询失败:
${(
e
as
Error
).
toString
()}
`
);
this
.
toast
.
error
(
`查询失败:
${(
e
as
Error
).
toString
()}
`
);
}
}
}
}
async
onRandomSearch
()
{
this
.
blacklistResult
=
undefined
;
this
.
whitelistResult
=
undefined
;
try
{
await
this
.
searchWhitelist
();
this
.
displayingAccount
=
''
;
}
catch
(
e
)
{
this
.
toast
.
error
(
`查询失败:
${(
e
as
Error
).
toString
()}
`
);
}
}
truncateMiddle
(
text
:
string
,
maxLength
:
number
):
string
{
truncateMiddle
(
text
:
string
,
maxLength
:
number
):
string
{
if
(
!
text
||
text
.
length
<=
maxLength
)
{
if
(
!
text
||
text
.
length
<=
maxLength
)
{
...
...
src/index.html
View file @
7b2ee7cc
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<title>
蔷蔷
挂人
查询
</title>
<title>
蔷蔷查询
</title>
<base
href=
"/"
>
<base
href=
"/"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"icon"
type=
"image/x-icon"
href=
"favicon.ico"
>
<link
rel=
"icon"
type=
"image/x-icon"
href=
"favicon.ico"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment