|
@@ -193,7 +193,9 @@ Page({ |
|
|
let that = this; |
|
|
let that = this; |
|
|
if (that.data.creditAmount !== 0){ |
|
|
if (that.data.creditAmount !== 0){ |
|
|
that.setData({ |
|
|
that.setData({ |
|
|
|
|
|
allow_load:true, |
|
|
userCredit: that.data.creditAmount, |
|
|
userCredit: that.data.creditAmount, |
|
|
|
|
|
page:1 |
|
|
}) |
|
|
}) |
|
|
that.getList(1) |
|
|
that.getList(1) |
|
|
} |
|
|
} |
|
@@ -213,9 +215,11 @@ Page({ |
|
|
if (hid == true) { |
|
|
if (hid == true) { |
|
|
hid = false; |
|
|
hid = false; |
|
|
that.setData({ |
|
|
that.setData({ |
|
|
|
|
|
allow_load:true, |
|
|
sort :imgurl.up.url, |
|
|
sort :imgurl.up.url, |
|
|
sortOrder: 'desc', |
|
|
sortOrder: 'desc', |
|
|
sortColumn: 'creditPrice' |
|
|
|
|
|
|
|
|
sortColumn: 'creditPrice', |
|
|
|
|
|
page: 1 |
|
|
}) |
|
|
}) |
|
|
that.getList(1) |
|
|
that.getList(1) |
|
|
} |
|
|
} |
|
@@ -224,7 +228,9 @@ Page({ |
|
|
that.setData({ |
|
|
that.setData({ |
|
|
sort: imgurl.down.url, |
|
|
sort: imgurl.down.url, |
|
|
sortOrder: 'asc', |
|
|
sortOrder: 'asc', |
|
|
sortColumn: 'creditPrice' |
|
|
|
|
|
|
|
|
sortColumn: 'creditPrice', |
|
|
|
|
|
allow_load: true, |
|
|
|
|
|
page:1 |
|
|
}) |
|
|
}) |
|
|
that.getList(1) |
|
|
that.getList(1) |
|
|
} |
|
|
} |
|
@@ -342,10 +348,11 @@ Page({ |
|
|
sort: '', |
|
|
sort: '', |
|
|
sortColumn: '', |
|
|
sortColumn: '', |
|
|
sortOrder: '', |
|
|
sortOrder: '', |
|
|
userCredit: '' |
|
|
|
|
|
|
|
|
userCredit: '', |
|
|
|
|
|
page:1 |
|
|
}) |
|
|
}) |
|
|
|
|
|
console.log() |
|
|
that.getList(1); |
|
|
that.getList(1); |
|
|
that.getPoints(); |
|
|
that.getPoints(); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |