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
bf6d933b
Commit
bf6d933b
authored
Feb 23, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'add-message-tip' into 'master'
添加消息颜色 See merge request pigbigbig/beyond-clouds-front!119
parents
695bb13b
a8f37a4a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
components/pc/noticeCard.vue
+3
-3
pages/personal-center/message/all.vue
+5
-2
No files found.
components/pc/noticeCard.vue
View file @
bf6d933b
...
...
@@ -218,6 +218,9 @@
@include
fontStyle(12,20,500,#333,left);
height
:
auto
;
word-break
:
break-word
;
a
{
color
:
#00AAE6
;
}
}
}
...
...
@@ -308,9 +311,6 @@
.info2
{
margin-top
:
10
*$
length
;
@include
fontStyle(12,16,500,#999,left)
a
{
color
:
#00AAE6
;
}
}
}
}
...
...
pages/personal-center/message/all.vue
View file @
bf6d933b
...
...
@@ -19,7 +19,8 @@
data
(){
return
{
message
:[],
pages
:
1
pages
:
1
,
currentPage
:
1
}
},
components
:{
...
...
@@ -28,7 +29,8 @@
sockets
:
{
push_event
(
data
)
{
console
.
log
(
data
)
if
(
this
.
pages
===
1
)
{
console
.
log
(
this
.
pages
)
if
(
this
.
currentPage
===
1
)
{
this
.
dataGetMessages
(
1
)
}
}
...
...
@@ -67,6 +69,7 @@
changePage
(
currentPage
){
//返回页数 请求新的数据
this
.
dataGetMessages
(
currentPage
)
this
.
currentPage
=
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