Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
拥抱太阳的月亮405
csdn-datav
提交
f114176a
C
csdn-datav
项目概览
拥抱太阳的月亮405
/
csdn-datav
与 Fork 源项目一致
Fork自
CSDN 技术社区 / csdn-datav
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
csdn-datav
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
f114176a
编写于
9月 23, 2022
作者:
!阳仔
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'yjlintp' into 'master'
resolve some problem See merge request
csdn/csdn-datav!16
上级
9e2b6ab2
7501c715
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
13 addition
and
4 deletion
+13
-4
src/view/pc/fans.vue
src/view/pc/fans.vue
+6
-1
src/view/pc/rankList.vue
src/view/pc/rankList.vue
+7
-3
未找到文件。
src/view/pc/fans.vue
浏览文件 @
f114176a
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<ForceMap
v-else
:mapStyle=
"mapStyle"
:optionList=
"optionList"
:cityObj=
"cityObj"
@
setrankList=
"setrankList"
title=
"铁粉数"
/>
<ForceMap
v-else
:mapStyle=
"mapStyle"
:optionList=
"optionList"
:cityObj=
"cityObj"
@
setrankList=
"setrankList"
title=
"铁粉数"
/>
</div>
</div>
<div
class=
"user-rank-list"
ref=
"user-rank-list"
>
<div
class=
"user-rank-list"
ref=
"user-rank-list"
>
<RankList
title=
"铁粉榜"
@
clear=
"clear"
:cityObj=
"cityObj"
:dropdownList=
"dropdownList"
@
dropdownFn=
"dropdownFn"
listTitle=
"铁粉数"
:city=
"city"
:rankData=
"rankData"
@
rankFans=
"rankFans"
/>
<RankList
title=
"铁粉榜"
@
clear=
"clear"
@
clearRank=
"clearRank"
:cityObj=
"cityObj"
:dropdownList=
"dropdownList"
@
dropdownFn=
"dropdownFn"
listTitle=
"铁粉数"
:city=
"city"
:rankData=
"rankData"
@
rankFans=
"rankFans"
/>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -63,6 +63,11 @@ export default {
...
@@ -63,6 +63,11 @@ export default {
this
.
rankData
=
this
.
rankList
this
.
rankData
=
this
.
rankList
this
.
city
=
'
全国
'
this
.
city
=
'
全国
'
},
},
clearRank
()
{
this
.
cityObj
=
null
this
.
optionList
=
this
.
dataList
console
.
log
(
'
fans clear
'
)
},
rankFans
(
item
)
{
rankFans
(
item
)
{
getFanDistribution
(
item
.
username
).
then
(
re
=>
{
getFanDistribution
(
item
.
username
).
then
(
re
=>
{
if
(
re
.
status
===
200
){
if
(
re
.
status
===
200
){
...
...
src/view/pc/rankList.vue
浏览文件 @
f114176a
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"rank-list-box"
>
<div
class=
"rank-list-box"
>
<div
class=
"force-slide"
:style=
"!slideopen?'right:-10px':''"
>
<div
class=
"force-slide"
:style=
"!slideopen?'right:-10px':''"
>
<!--
<div
class=
"force-slide"
v-if=
"userItem || ( title !== '铁粉榜' && city !=='全国')"
@
click=
"clear"
>
-->
<!--
<div
class=
"force-slide"
v-if=
"userItem || ( title !== '铁粉榜' && city !=='全国')"
@
click=
"clear"
>
-->
<img
src=
"@/assets/img/go-back.png"
style=
"margin-bottom:16px;"
v-if=
"
userItem || ( title !== '铁粉榜' && city !=='全国'
)"
@
click=
"clear"
alt=
""
>
<img
src=
"@/assets/img/go-back.png"
style=
"margin-bottom:16px;"
v-if=
"
slideopen &&(userItem || (city !=='全国')
)"
@
click=
"clear"
alt=
""
>
<div
class=
"force-slide-open"
@
click=
"slideopen = !slideopen"
>
<div
class=
"force-slide-open"
@
click=
"slideopen = !slideopen"
>
<img
src=
"@/assets/img/rank-open.png"
alt=
""
>
<img
src=
"@/assets/img/rank-open.png"
alt=
""
>
<span>
{{
slideopen
?
'
折叠榜单
'
:
'
展开榜单
'
}}
</span>
<span>
{{
slideopen
?
'
折叠榜单
'
:
'
展开榜单
'
}}
</span>
...
@@ -63,8 +63,12 @@ export default {
...
@@ -63,8 +63,12 @@ export default {
},
},
clear
()
{
clear
()
{
if
(
!
userItem
){
this
.
$emit
(
'
clear
'
)
this
.
$emit
(
'
clear
'
)
this
.
userItem
=
null
}
else
{
this
.
userItem
=
null
;
this
.
$emit
(
'
clearRank
'
);
}
},
},
rankAdd
(
item
){
rankAdd
(
item
){
if
(
this
.
title
==
'
用户原力月榜
'
)
{
if
(
this
.
title
==
'
用户原力月榜
'
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录