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
18ee0cbc
Commit
18ee0cbc
authored
Jun 16, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
我的评论
parent
90f9a327
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
104 additions
and
36 deletions
+104
-36
topicEmpty.png
src/assets/img/mobile/topicEmpty.png
+0
-0
topicEmpty@2x.png
src/assets/img/mobile/topicEmpty@2x.png
+0
-0
mine.vue
src/views/mobile/mine.vue
+44
-36
commentlist.vue
src/views/mobile/personaluser/commentlist.vue
+0
-0
noDataComment.vue
src/views/mobile/personaluser/noDataComment.vue
+60
-0
No files found.
src/assets/img/mobile/topicEmpty.png
0 → 100755
View file @
18ee0cbc
6.18 KB
src/assets/img/mobile/topicEmpty@2x.png
0 → 100755
View file @
18ee0cbc
13 KB
src/views/mobile/mine.vue
View file @
18ee0cbc
...
...
@@ -172,24 +172,27 @@
routerLink
:
"/myjoin"
});
this
.
activeList
.
push
({
id
:
5
,
name
:
"myComment"
,
icon
:
"icon-wodepingjia"
,
routerLink
:
"/personaldata"
});
if
(
this
.
lang
==
1
)
{
this
.
activeList
.
push
({
id
:
5
,
name
:
"myComment"
,
icon
:
"icon-wodepingjia"
,
routerLink
:
"/personaldata"
});
this
.
activeList
.
push
({
id
:
7
,
name
:
"myCollection"
,
icon
:
"icon-star"
,
routerLink
:
"/collection"
});
}
this
.
activeList
.
push
({
id
:
6
,
name
:
"mymessage"
,
icon
:
"icon-wodexinxi"
,
routerLink
:
"/mobileAddAuth"
});
this
.
activeList
.
push
({
id
:
7
,
name
:
"myCollection"
,
icon
:
"icon-star"
,
routerLink
:
"/collection"
});
}
...
...
@@ -201,38 +204,43 @@
// routerLink:"/myjoin"
//
// });
this
.
activeList
.
push
({
id
:
2
,
name
:
"myComment"
,
icon
:
"icon-wodepingjia"
,
routerLink
:
"/personaldata"
});
if
(
this
.
lang
==
1
){
this
.
activeList
.
push
({
id
:
2
,
name
:
"myComment"
,
icon
:
"icon-wodepingjia"
,
routerLink
:
"/personaldata"
});
this
.
activeList
.
push
({
id
:
7
,
name
:
"myCollection"
,
icon
:
"icon-star"
,
routerLink
:
"/collection"
});
}
this
.
activeList
.
push
({
id
:
3
,
name
:
"serviceRecord"
,
icon
:
"icon-xiangqing"
,
routerLink
:
"/serviceenterprise"
});
this
.
activeList
.
push
({
id
:
7
,
name
:
"myCollection"
,
icon
:
"icon-star"
,
routerLink
:
"/collection"
});
}
if
(
this
.
publicFun
.
isgetUserRoleFunc
(
1
)
||
this
.
publicFun
.
isgetUserRoleFunc
(
2
)){
this
.
activeList
.
push
({
id
:
2
,
name
:
"myComment"
,
icon
:
"icon-wodepingjia"
,
routerLink
:
"/personaldata"
});
this
.
activeList
.
push
({
id
:
7
,
name
:
"myCollection"
,
icon
:
"icon-star"
,
routerLink
:
"/collection"
});
if
(
this
.
lang
==
1
){
this
.
activeList
.
push
({
id
:
2
,
name
:
"myComment"
,
icon
:
"icon-wodepingjia"
,
routerLink
:
"/personaldata"
});
this
.
activeList
.
push
({
id
:
7
,
name
:
"myCollection"
,
icon
:
"icon-star"
,
routerLink
:
"/collection"
});
}
}
}
}).
catch
((
err
)
=>
{
...
...
src/views/mobile/personaluser/commentlist.vue
View file @
18ee0cbc
This diff is collapsed.
Click to expand it.
src/views/mobile/personaluser/noDataComment.vue
0 → 100644
View file @
18ee0cbc
<
template
>
<div
class=
"noDataWrap"
>
<div>
<div
style=
"margin-bottom: 0.5rem;width: 100%;"
>
<p
style=
"text-align: center"
v-if=
"showTab==1"
>
<img
src=
"../../../assets/img/mobile/topicEmpty.png"
style=
"height: 1.79rem;width: 1.76rem;"
alt=
""
>
</p>
<!--
<p
style=
"text-align: center"
v-if=
"showTab==1"
><img
src=
"../../../assets/img/mobile/noBusiness.png"
--
>
<!--style="height: 1.6rem;width: 1.6rem;" alt="">
</p>
-->
<p
style=
"text-align: center"
v-if=
"showTab==2"
><img
src=
"../../../assets/img/mobile/noArticle.png"
style=
"height: 1.6rem;width: 2.5rem;"
alt=
""
></p>
<p
style=
"text-align: center"
v-if=
"showTab==3"
><img
src=
"../../../assets/img/mobile/noProject.png"
style=
"height: 1.6rem;width: 1.5rem;"
alt=
""
></p>
</div>
<p
style=
"font-size:0.28rem;color:#AAAAAA;padding: 0 0.4rem;line-height: 0.5rem;text-align: center;width: 100%;"
>
<span
v-if=
"showTab==1"
>
暂无话题的讨论,可去
<span
style=
"color: #5d78ff;"
@
click=
"$router.push('/topicList')"
>
精选话题
</span>
看看
</span>
<span
v-if=
"showTab==2"
>
暂无文章的评论,可去
<span
style=
"color: #5d78ff;"
@
click=
"$router.push('/articleList')"
>
热门文章
</span>
看看
</span>
<span
v-if=
"showTab==3"
>
暂无项目的点评,可去
<span
style=
"color: #5d78ff;"
@
click=
"$router.push('/subjectList')"
>
评选项目
</span>
看看
</span>
</p>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
"noDataComment"
,
props
:
{
nodata
:
false
,
showTab
:
0
,
},
data
()
{
return
{
lang
:
this
.
$i18n
.
locale
==
"zh-CN"
?
1
:
2
,
}
},
methods
:
{},
mounted
()
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.noDataWrap
{
width
:
100%
;
padding-bottom
:
.3rem
;
height
:
calc
(
100%
-
1rem
);
display
:
flex
;
flex-wrap
:
wrap
;
align-items
:
center
;
position
:
absolute
;
left
:
0
;
top
:
1rem
;
justify-content
:
center
;
}
</
style
>
\ No newline at end of file
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