Commit 6e441664 by 段启岩

添加消息颜色

parent a8f37a4a
......@@ -214,13 +214,13 @@
}
.info2{
a {
color: #00AAE6 !important;
}
margin-top: 18*$length;
@include fontStyle(12,20,500,#333,left);
height:auto;
word-break: break-word;
a {
color: #00AAE6;
}
}
}
......
......@@ -19,7 +19,8 @@
data(){
return{
message:[],
pages:1
pages:1,
currentPage: 1
}
},
components:{
......@@ -27,7 +28,7 @@
},
sockets: {
push_event(data) {
if (this.pages === 1) {
if (this.currentPage === 1) {
this.dataGetMessages(1)
}
}
......@@ -67,6 +68,7 @@
changePage(currentPage){
//返回页数 请求新的数据
this.dataGetMessages(currentPage)
this.currentPage = currentPage
}
},
}
......
......@@ -19,7 +19,8 @@
data(){
return{
message:[],
pages:1
pages:1,
currentPage: 1
}
},
components:{
......@@ -27,7 +28,7 @@
},
sockets: {
push_event(data) {
if (this.pages === 1) {
if (this.currentPage === 1) {
this.dataGetMessages(1)
}
}
......@@ -67,6 +68,7 @@
changePage(currentPage){
//返回页数 请求新的数据
this.dataGetMessages(currentPage)
this.currentPage = currentPage
}
},
}
......
......@@ -19,7 +19,8 @@
data(){
return{
message:[],
pages:1
pages:1,
currentPage: 1
}
},
components:{
......@@ -27,7 +28,7 @@
},
sockets: {
push_event(data) {
if (this.pages === 1) {
if (this.currentPage === 1) {
this.dataGetMessages(1)
}
}
......@@ -67,6 +68,7 @@
changePage(currentPage){
//返回页数 请求新的数据
this.dataGetMessages(currentPage)
this.currentPage = currentPage
}
},
}
......
......@@ -19,7 +19,8 @@
data(){
return{
message:[],
pages:1
pages:1,
currentPage: 1
}
},
components:{
......@@ -27,7 +28,7 @@
},
sockets: {
push_event(data) {
if (this.pages === 1) {
if (this.currentPage === 1) {
this.dataGetMessages(1)
}
}
......@@ -67,6 +68,7 @@
changePage(currentPage){
//返回页数 请求新的数据
this.dataGetMessages(currentPage)
this.currentPage = currentPage
}
},
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment