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
0f1c6b5c
Commit
0f1c6b5c
authored
Jun 23, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
1d91b0e5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
27 additions
and
14 deletions
+27
-14
commentCmpt.vue
src/components/mobile/commentCmpt.vue
+4
-1
api.js
src/views/mobile/personaluser/api/api.js
+6
-0
commentlist.vue
src/views/mobile/personaluser/commentlist.vue
+0
-0
personaldata.vue
src/views/mobile/personaluser/personaldata.vue
+2
-4
commentMore.vue
src/views/mobile/topic/commentMore.vue
+3
-1
detail.vue
src/views/mobile/topic/detail.vue
+3
-1
discussdetail.vue
src/views/mobile/topic/discussdetail.vue
+9
-7
No files found.
src/components/mobile/commentCmpt.vue
View file @
0f1c6b5c
...
...
@@ -137,7 +137,10 @@
type
:
Boolean
,
default
:
false
},
type
:
0
type
:{
type
:
Number
,
default
:
0
}
},
methods
:{
handleClose
(
data
){
...
...
src/views/mobile/personaluser/api/api.js
View file @
0f1c6b5c
...
...
@@ -15,4 +15,9 @@ export default {
logoutAxios
(
params
){
return
api
.
fetchPost
(
"/base/login/out"
);
},
//我评论的文章
myCommentArticle
(
params
){
return
api
.
fetchLoadingPost
(
"/business/my/selectMyCommentsContentList"
,
params
);
}
}
\ No newline at end of file
src/views/mobile/personaluser/commentlist.vue
View file @
0f1c6b5c
This diff is collapsed.
Click to expand it.
src/views/mobile/personaluser/personaldata.vue
View file @
0f1c6b5c
...
...
@@ -15,9 +15,6 @@
</div>
<div
style=
"padding-top: 1rem;"
>
<commentList
:commentType=
"addprojecttype"
></commentList>
<!--
<router-view
v-if=
"addprojecttype==1"
></router-view>
-->
<!--
<router-view
name=
"second"
v-if=
"addprojecttype==2"
></router-view>
-->
<!--
<router-view
name=
"other"
v-if=
"addprojecttype==3"
></router-view>
-->
</div>
</div>
</
template
>
...
...
@@ -32,12 +29,13 @@
},
data
()
{
return
{
addprojecttype
:
this
.
$route
.
query
.
selectedTab
?
this
.
$route
.
query
.
selectedTab
:
1
,
addprojecttype
:
window
.
sessionStorage
.
getItem
(
"myComment"
)?
Number
(
window
.
sessionStorage
.
getItem
(
"myComment"
))
:
1
,
isVisible
:
false
,
}
},
methods
:{
addtype
(
val
)
{
window
.
sessionStorage
.
setItem
(
"myComment"
,
val
);
if
(
val
==
1
)
{
this
.
addprojecttype
=
1
;
}
else
if
(
val
==
2
)
{
...
...
src/views/mobile/topic/commentMore.vue
View file @
0f1c6b5c
...
...
@@ -307,7 +307,9 @@
//去专家的个人中心
handleToMasterDetail
(
data
){
this
.
$router
.
push
({
path
:
"/masterDetail"
,
query
:{
id
:
data
.
createdBy
,
isTopic
:
true
}});
if
(
data
.
isProfessor
>
0
){
this
.
$router
.
push
({
path
:
"/masterDetail"
,
query
:{
id
:
data
.
createdBy
,
isTopic
:
true
}});
}
},
},
...
...
src/views/mobile/topic/detail.vue
View file @
0f1c6b5c
...
...
@@ -1112,7 +1112,9 @@
//去专家的个人中心
handleToMasterDetail
(
data
){
this
.
$router
.
push
({
path
:
"/masterDetail"
,
query
:{
id
:
data
.
userInfo
.
empId
,
isTopic
:
true
}});
if
(
data
.
userInfo
.
isProfessor
){
this
.
$router
.
push
({
path
:
"/masterDetail"
,
query
:{
id
:
data
.
userInfo
.
empId
,
isTopic
:
true
}});
}
},
//去勋章
...
...
src/views/mobile/topic/discussdetail.vue
View file @
0f1c6b5c
...
...
@@ -5,17 +5,17 @@
<div
class=
"topicContent"
v-if=
"detailInfo"
>
<div
class=
"discussInfo"
>
<div
class=
"leftInfo"
:style=
"
{backgroundImage:detailInfo.
empLogo==null?'url('+require('../../../assets/img/defaultlogo.png')+')':'url('+detail
Info.empLogo+')'}"
:style=
"
{backgroundImage:detailInfo.
userInfo.empLogo==null?'url('+require('../../../assets/img/defaultlogo.png')+')':'url('+detailInfo.user
Info.empLogo+')'}"
@click="handleToMasterDetail(detailInfo)">
<img
src=
"../../../assets/img/proFeedBack/vip.png"
alt=
""
class=
"masterVipImg"
v-if=
"detailInfo.
isProfessor>0
"
>
v-if=
"detailInfo.
userInfo.isProfessor
"
>
</div>
<div
class=
"rightInfo"
>
<div>
<span>
{{
detailInfo
.
isProfessor
>
0
?
detailInfo
.
empName
:
detail
Info
.
nickName
}}
</span>
<span
class=
"medal"
:class=
"'medal'+detailInfoMedal.id"
@
click=
"handleToMedal(
item
)"
v-if=
"detailInfo.empMedalList.length>0"
v-for=
"detailInfoMedal in detailInfo.empMedalList"
></span>
<span>
{{
detailInfo
.
userInfo
.
isProfessor
>
0
?
detailInfo
.
userInfo
.
empName
:
detailInfo
.
user
Info
.
nickName
}}
</span>
<span
class=
"medal"
:class=
"'medal'+detailInfoMedal.id"
@
click=
"handleToMedal(
detailInfo
)"
v-if=
"detailInfo.
userInfo.
empMedalList.length>0"
v-for=
"detailInfoMedal in detailInfo.
userInfo.
empMedalList"
></span>
<span
class=
"rightPoint"
@
click=
"handleOperate(detailInfo)"
></span>
<div
class=
"operateWrap"
:class=
"operateVisible?'showOpearte':'hideOperate'"
>
...
...
@@ -299,7 +299,9 @@
//去专家的个人中心
handleToMasterDetail
(
data
)
{
this
.
$router
.
push
({
path
:
"/masterDetail"
,
query
:
{
id
:
data
.
userInfo
.
empId
,
isTopic
:
true
}});
if
(
data
.
userInfo
.
isProfessor
){
this
.
$router
.
push
({
path
:
"/masterDetail"
,
query
:
{
id
:
data
.
userInfo
.
empId
,
isTopic
:
true
}});
}
},
...
...
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