junyuanz пре 5 година
родитељ
комит
ed5e817f04
2 измењених фајлова са 10 додато и 2 уклоњено
  1. 9 2
      pages/livelist/livelist.js
  2. 1 0
      pages/livelist/livelist.wxss

+ 9 - 2
pages/livelist/livelist.js

@@ -17,7 +17,13 @@ Page({
       // this.getLive()
   },
   onShow: function () {
-      this.getLive()
+	  this.setData({
+	    projects_more: true,
+	    projects_page: 1,
+	    projects_change: true,
+		projects:[]
+	  })
+	  this.getLive()
   },
   onUnload: function () {
   },
@@ -27,7 +33,8 @@ Page({
     this.setData({
       projects_more: true,
       projects_page: 1,
-      projects_change: true
+      projects_change: true,
+	  projects:[]
     })
     this.getLive('refresh')
     wx.stopPullDownRefresh()

+ 1 - 0
pages/livelist/livelist.wxss

@@ -27,6 +27,7 @@
 .livelist .startt{
 	font-size: 24rpx;
 	color: #eab86a;
+	white-space: nowrap;
 }
 .livelist .status{
 	    position: absolute;