Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beyond-clouds-front
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
beyond-clouds-front
Commits
8d4acfa6
Commit
8d4acfa6
authored
Feb 17, 2020
by
yanju
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改话题卡片
parent
af4a241d
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
6 deletions
+8
-6
components/pc/answerCard.vue
+1
-1
components/pc/hotSearchTopicCard.vue
+1
-1
components/pc/socialContactCard.vue
+1
-1
components/pc/topicCard.vue
+1
-1
pages/blog/release/index.vue
+1
-1
pages/topic/index.vue
+3
-1
No files found.
components/pc/answerCard.vue
View file @
8d4acfa6
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
<div
class=
"answer-card__abs"
v-if=
"isMy&&status!==-1"
>
<div
class=
"answer-card__abs"
v-if=
"isMy&&status!==-1"
>
<div
class=
"container__abs"
>
<div
class=
"container__abs"
>
<div
class=
"deleteButton"
@
click=
"
dataDeleteItem
(questionId)"
>
<div
class=
"deleteButton"
@
click=
"
showAlert
(questionId)"
>
<yun-icon
name=
"delete"
size=
"12px"
pb=
"3px"
></yun-icon>
<yun-icon
name=
"delete"
size=
"12px"
pb=
"3px"
></yun-icon>
</div>
</div>
<nuxt-link
:to=
"
{path:'/answer/release',query:{id:questionId}}" tag="div" class="editButton">
<nuxt-link
:to=
"
{path:'/answer/release',query:{id:questionId}}" tag="div" class="editButton">
...
...
components/pc/hotSearchTopicCard.vue
View file @
8d4acfa6
<
template
>
<
template
>
<card-container
title=
"话题热搜榜"
label=
"实时更新"
more=
"更多"
@
listenCardConMore=
"$router.push('/topic/rank')"
>
<card-container
width=
"302px"
title=
"话题热搜榜"
label=
"实时更新"
more=
"更多"
@
listenCardConMore=
"$router.push('/topic/rank')"
>
<nuxt-link
tag=
"div"
:to=
"'/topic/detail/'+val.topicName"
class=
"topic-content__c"
v-for=
"(val,index) in topicList"
:key=
"val.topicId"
>
<nuxt-link
tag=
"div"
:to=
"'/topic/detail/'+val.topicName"
class=
"topic-content__c"
v-for=
"(val,index) in topicList"
:key=
"val.topicId"
>
<p>
#
{{
val
.
topicName
}}
#
</p>
<p>
#
{{
val
.
topicName
}}
#
</p>
<h6>
{{
val
.
degree
}}
℉
</h6>
<h6>
{{
val
.
degree
}}
℉
</h6>
...
...
components/pc/socialContactCard.vue
View file @
8d4acfa6
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<yun-avatar
:userId=
"userId"
:src=
"userAvatar"
:name=
"userNick"
></yun-avatar>
<yun-avatar
:userId=
"userId"
:src=
"userAvatar"
:name=
"userNick"
></yun-avatar>
<div
class=
"header-l__info"
>
<div
class=
"header-l__info"
>
<div
class=
"header-l__info-top"
>
<div
class=
"header-l__info-top"
>
<p
class=
"name"
>
{{
userNick
}}
</p>
<p
class=
"name"
@
click=
"$router.push('/u/'+userId+'/project')"
>
{{
userNick
}}
</p>
<p
class=
"follow1"
v-if=
"followedAuthor&&$store.state.userProfile.userId!==userId"
>
<p
class=
"follow1"
v-if=
"followedAuthor&&$store.state.userProfile.userId!==userId"
>
<yun-icon
name=
"right"
></yun-icon>
已关注
<yun-icon
name=
"right"
></yun-icon>
已关注
</p>
</p>
...
...
components/pc/topicCard.vue
View file @
8d4acfa6
...
@@ -155,7 +155,7 @@
...
@@ -155,7 +155,7 @@
type
:
'success'
,
type
:
'success'
,
message
:
'取消关注成功'
message
:
'取消关注成功'
})
})
if
(
this
.
from
===
'
my
'
){
if
(
this
.
from
===
'
notice
'
){
this
.
cardId
=
''
this
.
cardId
=
''
}
}
...
...
pages/blog/release/index.vue
View file @
8d4acfa6
...
@@ -245,7 +245,7 @@ export default {
...
@@ -245,7 +245,7 @@ export default {
blogClass
:
''
,
blogClass
:
''
,
addFile
:
{},
addFile
:
{},
userCover
:
''
,
userCover
:
''
,
cover
:
'
无
'
,
cover
:
''
,
originLink
:
'www.blog.com'
,
originLink
:
'www.blog.com'
,
way
:
1
,
way
:
1
,
allowComment
:
true
,
allowComment
:
true
,
...
...
pages/topic/index.vue
View file @
8d4acfa6
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
>
>
<empty-card
v-if=
"topicList.length === 0"
height=
"556px"
></empty-card>
<empty-card
v-if=
"topicList.length === 0"
height=
"556px"
></empty-card>
<topic-card
v-for=
"(val,index) in topicList"
:key=
"val.topicId"
:info=
"val"
></topic-card>
<topic-card
:from=
"fromType"
v-for=
"(val,index) in topicList"
:key=
"val.topicId"
:info=
"val"
></topic-card>
</card-container>
</card-container>
<div
class=
"pagination"
>
<div
class=
"pagination"
>
<pagination
style=
"margin: 0 auto;"
ref=
"pagination"
:pages=
"pages"
v-on:listenPageChange=
"changePage"
></pagination>
<pagination
style=
"margin: 0 auto;"
ref=
"pagination"
:pages=
"pages"
v-on:listenPageChange=
"changePage"
></pagination>
...
@@ -61,6 +61,7 @@ export default {
...
@@ -61,6 +61,7 @@ export default {
topicList
:[],
topicList
:[],
pages
:
1
,
pages
:
1
,
hotTopicList
:[],
hotTopicList
:[],
fromType
:
''
,
}
}
},
},
created
()
{
created
()
{
...
@@ -117,6 +118,7 @@ export default {
...
@@ -117,6 +118,7 @@ export default {
// 关注的话题
// 关注的话题
dataGetFollowedTopicList
(
currentPage
)
{
dataGetFollowedTopicList
(
currentPage
)
{
this
.
fromType
=
'notice'
;
this
.
$axios
.
$get
(
config
.
api
.
get
.
Topic
.
myfollowedList
,{
this
.
$axios
.
$get
(
config
.
api
.
get
.
Topic
.
myfollowedList
,{
params
:{
params
:{
page
:
currentPage
,
page
:
currentPage
,
...
...
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