@@ -277,7 +277,8 @@ Page({
*/
onPullDownRefresh: function () {
this.setData({
- 'fetcherData.page': 1
+ 'fetcherData.page': 1,
+ "roomList":[],
}, () => {
this.getRoomList()
})
@@ -1,6 +1,6 @@
{
"navigationBarTitleText": "我的房间",
- "enablePullDownRefresh": false,
+ "enablePullDownRefresh": true,
"usingComponents": {
"partyItem": "../../component/partyItem/partyItem",
"swider-left": "../../component/slider-left/index"
@@ -23,8 +23,9 @@
</view>
<view class="addRoom" wx:if="{{canShow}}" bindtap="addRoom">
- <image class="addImg" src="../../static/images/add.png"></image>
+ <image class="addImg" src="../../static/images/add@2x.png"></image>
+
<view class="result" wx:if="{{roomList.length > 0}}">
<view>