Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
front-end-dev
techbook
Commits
0a30320f
Commit
0a30320f
authored
Jan 15, 2021
by
anxixi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pc搜索等新功能及优化
parent
5e3e10b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
6 deletions
+23
-6
index.vue
src/views/index/pages/index.vue
+3
-3
guessranking.vue
src/views/integralpage/guessranking.vue
+20
-3
No files found.
src/views/index/pages/index.vue
View file @
0a30320f
...
...
@@ -372,7 +372,7 @@
<img
v-if=
"index == 2"
style=
"width: 24px;height: 22px;margin-top: 5px;"
src=
"../../../assets/img/rankingindex3.png"
alt=
""
>
<p
style=
"line-height: 34px;width: 24px;text-align: center;"
v-if=
"index>2"
>
{{
index
+
1
}}
</p>
<img
@
click=
"tohome(item.empId)"
style=
"height: 34px;width: 34px;border-radius: 50%;margin: 0 20px;cursor: pointer;"
:src=
"item.empLogo&&item.empLogo.length>1?item.empLogo:require('../../../assets/img/defaultlogo.png')"
alt=
""
>
<p
class=
"ellipsisFont1"
style=
"width: 90px;height: 34px;overflow: hidden;line-height: 34px
;"
>
{{
item
.
nickName
}}
</p>
<p
class=
"ellipsisFont1"
@
click=
"tohome(item.empId)"
style=
"width: 90px;height: 34px;overflow: hidden;line-height: 34px;cursor: pointer
;"
>
{{
item
.
nickName
}}
</p>
</div>
<div
class=
"gendisplay"
style=
"width: calc(100% - 210px);text-align: right;line-height: 34px;font-weight: normal;"
>
<p
style=
"width: calc(100% - 80px);text-align: left;"
>
胜率:
<i
style=
"font-weight: bold;"
>
{{
item
.
winRate
}}
%
</i></p>
...
...
@@ -393,7 +393,7 @@
<ul>
<li
v-for=
"(item,index) in reportList"
:key=
"item.contentId"
style=
"cursor: pointer;"
>
<div
class=
"gendisplay"
style=
"margin-top: 20px;"
>
<p
style=
"margin-right: 15px;"
>
<p
style=
"margin-right: 15px;"
@
click=
"downloaddetail(item)"
>
<img
style=
"width: 35px;"
src=
"../../../assets/img/industryreport/pdf@2x.png"
alt=
""
>
</p>
<div>
...
...
@@ -520,7 +520,7 @@
<ul>
<li
v-for=
"(item,index) in reportList"
:key=
"item.contentId"
style=
"cursor: pointer;"
>
<div
class=
"gendisplay"
style=
"margin-top: 20px;"
>
<p
style=
"margin-right: 15px;"
>
<p
style=
"margin-right: 15px;"
@
click=
"downloaddetail(item)"
>
<img
style=
"width: 35px;"
src=
"../../../assets/img/industryreport/pdf@2x.png"
alt=
""
>
</p>
<div>
...
...
src/views/integralpage/guessranking.vue
View file @
0a30320f
...
...
@@ -44,8 +44,8 @@
<ul
class=
"l_n10"
>
<li
v-for=
"(item,index) in guessdata.guessLeaderboardList"
:key=
"index"
v-if=
"index>2"
>
<span
class=
"n_no"
>
{{
index
+
1
}}
</span>
<span
class=
"n10_img"
><img
:src=
"item.empLogo&&item.empLogo.length>1?item.empLogo:require('../../assets/img/defaultlogo.png')"
alt=
""
></span>
<span
class=
"n10_name"
>
{{
item
.
nickName
}}
</span>
<span
class=
"n10_img"
@
click=
"tohome(item.empId)"
><img
:src=
"item.empLogo&&item.empLogo.length>1?item.empLogo:require('../../assets/img/defaultlogo.png')"
alt=
""
></span>
<span
class=
"n10_name"
@
click=
"tohome(item.empId)"
>
{{
item
.
nickName
}}
</span>
<span
:class=
"guesstypes==2?'hoveHighlight':''"
class=
"no10_no"
><b>
{{
item
.
winRate
}}
%
</b>
胜率
</span>
<span
:class=
"guesstypes==3?'hoveHighlight':''"
class=
"no10_sl"
><b>
{{
item
.
winIntegral
}}
</b>
赢取积分
</span>
<span
:class=
"guesstypes==1?'hoveHighlight':''"
class=
"no10_cs"
><b>
{{
item
.
guessNum
}}
</b>
参与次数
</span>
...
...
@@ -58,12 +58,14 @@
</div>
</div>
</div>
<expertVisible
ref=
"login"
@
dataEvent=
"successlogin"
:registerType=
"64"
></expertVisible>
</div>
</
template
>
<
script
>
import
api
from
"./api/api"
;
import
popularguessbar
from
"./popularguessbar"
;
import
expertVisible
from
"../../components/login/quicklogin"
;
export
default
{
name
:
"guessranking"
,
...
...
@@ -80,9 +82,22 @@
}
},
components
:{
popularguessbar
popularguessbar
,
expertVisible
},
methods
:{
//完善信息成功
successlogin
(){
this
.
userInfo
=
this
.
publicFun
.
getUserInfoCookieType
()
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getUserInfoCookieType
()))
:
null
;
},
//去主页
tohome
(
id
){
if
(
!
this
.
publicFun
.
getUserInfoCookieType
()){
this
.
$refs
.
login
.
isexpertVisible
();
return
}
else
{
window
.
open
(
this
.
publicFun
.
getCurrentHrefEnv
()
+
"#/peoplehome?id="
+
id
);
}
},
datetype
(
val
){
this
.
datetypes
=
val
;
this
.
guesstypes
=
1
;
...
...
@@ -325,10 +340,12 @@
border-radius
:
50%
;
width
:
40px
;
height
:
40px
;
cursor
:
pointer
;
}
}
.n10_name
{
color
:
#1A1A1E
;
cursor
:
pointer
;
}
}
}
...
...
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