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
bc29fe04
Commit
bc29fe04
authored
Jul 15, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
话题
parent
843b83d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
detail.vue
src/views/mobile/topic/detail.vue
+2
-2
No files found.
src/views/mobile/topic/detail.vue
View file @
bc29fe04
...
@@ -222,7 +222,7 @@
...
@@ -222,7 +222,7 @@
<!--置顶&&热门-->
<!--置顶&&热门-->
<!--相关话题-->
<!--相关话题-->
<div
class=
"topicListWrap"
v-if=
"
topCommentData.length>0||hotCommentData
.length>0"
<div
class=
"topicListWrap"
v-if=
"
(topCommentData.length>0||hotCommentData.length>0)&&sameTopicList
.length>0"
:style=
"
{paddingBottom:tableData.length==0?'1rem':''}">
:style=
"
{paddingBottom:tableData.length==0?'1rem':''}">
<div
class=
"topicItem"
>
<div
class=
"topicItem"
>
<div
class=
"isSameTopic"
@
click=
"$router.push('/topicList')"
>
<div
class=
"isSameTopic"
@
click=
"$router.push('/topicList')"
>
...
@@ -797,7 +797,7 @@
...
@@ -797,7 +797,7 @@
var
arr
=
res
.
result
.
records
;
var
arr
=
res
.
result
.
records
;
arr
.
forEach
((
item
,
index
)
=>
{
arr
.
forEach
((
item
,
index
)
=>
{
if
(
this
.
hotCommentData
.
length
==
0
&&
this
.
topCommentData
.
length
==
0
)
{
if
(
this
.
hotCommentData
.
length
==
0
&&
this
.
topCommentData
.
length
==
0
)
{
if
((
this
.
page
==
1
&&
index
==
2
)
||
this
.
page
==
1
&&
res
.
result
.
records
.
length
<=
2
)
{
if
((
(
this
.
page
==
1
&&
index
==
2
)
||
this
.
page
==
1
&&
res
.
result
.
records
.
length
<=
2
)
&&
this
.
sameTopicList
.
length
>
0
)
{
let
objVal
=
{
let
objVal
=
{
id
:
0
,
id
:
0
,
isShowAll
:
false
,
isShowAll
:
false
,
...
...
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