Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
雪碧有白泡泡
可视化 csdn 数据
提交
e6261d12
可
可视化 csdn 数据
项目概览
雪碧有白泡泡
/
可视化 csdn 数据
与 Fork 源项目一致
Fork自
yma16 / 可视化 csdn 数据
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
可
可视化 csdn 数据
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
e6261d12
编写于
7月 19, 2023
作者:
6
63f1bb74d2451104dc7d8b9f
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Auto Commit
上级
8fda6323
变更
5
展开全部
隐藏空白更改
内联
并排
Showing
5 changed file
with
281 addition
and
805 deletion
+281
-805
index.html
index.html
+16
-11
src/App.vue
src/App.vue
+0
-1
src/components/GameChart.vue
src/components/GameChart.vue
+5
-19
src/components/const.js
src/components/const.js
+5
-1
src/components/gameJson.js
src/components/gameJson.js
+255
-773
未找到文件。
index.html
浏览文件 @
e6261d12
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
/>
<head>
<link
rel=
"icon"
href=
"/logo-m.ico"
/>
<meta
charset=
"UTF-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<link
rel=
"icon"
href=
"/logo-m.ico"
/>
<title>
csdn 用户快捷查分改文
</title>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
</head>
<!-- 解决图片403防盗链问题 -->
<body>
<meta
name=
"referrer"
content=
"no-referrer"
/>
<div
id=
"app"
></div>
<title>
csdn 用户快捷查分改文
</title>
<script
type=
"module"
src=
"/src/main.js"
></script>
</head>
</body>
</html>
<body>
<div
id=
"app"
></div>
<script
type=
"module"
src=
"/src/main.js"
></script>
</body>
</html>
\ No newline at end of file
src/App.vue
浏览文件 @
e6261d12
...
@@ -6,7 +6,6 @@ const state = reactive({
...
@@ -6,7 +6,6 @@ const state = reactive({
current
:
'
grade查询分数
'
current
:
'
grade查询分数
'
})
})
onMounted
(()
=>
{
onMounted
(()
=>
{
const
href
=
window
.
location
.
href
const
href
=
window
.
location
.
href
const
data
=
{}
const
data
=
{}
const
urlArray
=
href
.
split
(
'
?
'
)
const
urlArray
=
href
.
split
(
'
?
'
)
...
...
src/components/GameChart.vue
浏览文件 @
e6261d12
...
@@ -20,24 +20,8 @@
...
@@ -20,24 +20,8 @@
<a-table
:scroll=
"
{ x: 600, y: 750 }" :columns="state.columns" :data-source="state.dataSource"
<a-table
:scroll=
"
{ x: 600, y: 750 }" :columns="state.columns" :data-source="state.dataSource"
:loading="state.loading" :pagination="state.pagination" bordered style="border-bottom:1px solid #f0f0f0;">
:loading="state.loading" :pagination="state.pagination" bordered style="border-bottom:1px solid #f0f0f0;">
<template
#bodyCell
="
{ column, record }">
<template
#bodyCell
="
{ column, record }">
<template
v-if=
"column.key === 'url'"
>
<template
v-if=
"column.key === 'imgSrc'"
>
<a
:href=
"record.url"
target=
"_blank"
>
<a-image
:src=
"record.imgSrc"
height=
"50"
:alt=
"record.imgSrc"
/>
{{
record
.
url
}}
</a>
</
template
>
<
template
v-else-if=
"column.key === 'score'"
>
<span>
<a-tag
:color=
"record.score
<
60
?
'
volcano
'
:
record.score
>
80 ? 'geekblue' : 'green'">
{{
record
.
score
}}
</a-tag>
</span>
</
template
>
<
template
v-else-if=
"column.key === 'option'"
>
<a-tooltip
placement=
"topLeft"
:title=
"record.editUrl"
>
<a
:href=
"record.editUrl"
target=
"_blank"
>
编辑文章
</a>
</a-tooltip>
</
template
>
</
template
>
</template>
</template>
</a-table>
</a-table>
...
@@ -56,7 +40,7 @@ const props = defineProps({
...
@@ -56,7 +40,7 @@ const props = defineProps({
})
})
const
state
=
reactive
({
const
state
=
reactive
({
title
:
'
python 爬虫赛道
参赛选手所在城市
'
,
title
:
'
vue3 ts antd
参赛选手所在城市
'
,
clickCity
:
'
全国
'
,
clickCity
:
'
全国
'
,
linesCoord
:
[],
linesCoord
:
[],
focusCity
:
'
广东省
'
,
focusCity
:
'
广东省
'
,
...
@@ -88,6 +72,7 @@ function initDataSource() {
...
@@ -88,6 +72,7 @@ function initDataSource() {
state
.
dataSource
.
push
({
state
.
dataSource
.
push
({
uid
:
gameJson
[
uid
].
uid
,
uid
:
gameJson
[
uid
].
uid
,
name
:
gameJson
[
uid
].
name
,
name
:
gameJson
[
uid
].
name
,
imgSrc
:
gameJson
[
uid
].
imgSrc
,
ip
:
gameJson
[
uid
].
ip
.
split
(
'
:
'
)[
1
]
ip
:
gameJson
[
uid
].
ip
.
split
(
'
:
'
)[
1
]
})
})
state
.
total
+=
1
state
.
total
+=
1
...
@@ -105,6 +90,7 @@ function filterName(name) {
...
@@ -105,6 +90,7 @@ function filterName(name) {
state
.
dataSource
.
push
({
state
.
dataSource
.
push
({
uid
:
gameJson
[
uid
].
uid
,
uid
:
gameJson
[
uid
].
uid
,
imgSrc
:
gameJson
[
uid
].
imgSrc
,
name
:
gameJson
[
uid
].
name
,
name
:
gameJson
[
uid
].
name
,
ip
:
locName
ip
:
locName
})
})
...
...
src/components/const.js
浏览文件 @
e6261d12
...
@@ -39,11 +39,15 @@ export const tableColumns= [
...
@@ -39,11 +39,15 @@ export const tableColumns= [
}]
}]
export
const
tableGameColumns
=
[
export
const
tableGameColumns
=
[
{
title
:
'
用户头像
'
,
key
:
'
imgSrc
'
,
fixed
:
true
},
{
{
title
:
'
用户id
'
,
title
:
'
用户id
'
,
dataIndex
:
'
uid
'
,
dataIndex
:
'
uid
'
,
sorter
:
(
a
,
b
)
=>
a
.
uid
[
0
].
charCodeAt
()
-
b
.
uid
[
0
].
charCodeAt
(),
sorter
:
(
a
,
b
)
=>
a
.
uid
[
0
].
charCodeAt
()
-
b
.
uid
[
0
].
charCodeAt
(),
fixed
:
true
},
{
},
{
title
:
'
用户昵称
'
,
title
:
'
用户昵称
'
,
sorter
:
true
,
sorter
:
true
,
...
...
src/components/gameJson.js
浏览文件 @
e6261d12
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录