Diese Webseite funktioniert besser mit JavaScript.
Startseite
Erkunden
Hilfe
Registrieren
Anmelden
weapp
/
C
Beobachten
8
Favorisieren
0
Fork
0
Code
Issues
0
Pull-Requests
0
Releases
66
Wiki
Aktivität
Quellcode durchsuchen
[成长值][修改]:[成长值加下拉刷新]
tags/湖南版5.1.4
meo
vor 6 Jahren
Ursprung
15efa3a3c3
Commit
afce46c088
4 geänderte Dateien
mit
18 neuen
und
3 gelöschten
Zeilen
Geteilte Ansicht
Diff-Optionen
Statistiken anzeigen
Patch-Datei herunterladen
Vergleichs-Datei herunterladen
+1
-1
ext.json
+13
-0
pages/czdetail/czdetail.js
+2
-1
pages/czdetail/czdetail.json
+2
-1
pages/integralmall/integraHistory/index.js
+ 1
- 1
ext.json
Datei anzeigen
@@ -4,7 +4,7 @@
"ext": {
"weappId": "wxea71200db93d756b",
"name": "富茂客官开发",
"appVersion": "C.4.2.10
7
",
"appVersion": "C.4.2.10
8
",
"attr": {
"configUrl": "https://ciformall.youlane.cn/C/api",
"socketUrl": "wss://mp.youlane.cn/W/ws",
+ 13
- 0
pages/czdetail/czdetail.js
Datei anzeigen
@@ -47,6 +47,7 @@ Page({
pageSize: 20,
}
}).then(res => {
wx.stopPullDownRefresh();
res.data.list.map(file => {
file.createDate = util.formatTime(
file.createDate,
@@ -73,6 +74,18 @@ Page({
})
}
},
/**
* 刷新
*/
onPullDownRefresh: function (e) {
let that = this;
that.setData({
pageNum: 1,
list: [],
allow_load: true
});
that.record(1);
},
getScore: function() {
let that = this;
Http.get({
+ 2
- 1
pages/czdetail/czdetail.json
Datei anzeigen
@@ -1,3 +1,4 @@
{
"navigationBarTitleText": "成长值"
"navigationBarTitleText": "成长值",
"enablePullDownRefresh": true
}
+ 2
- 1
pages/integralmall/integraHistory/index.js
Datei anzeigen
@@ -89,7 +89,8 @@ Page({
let that = this;
that.setData({
pageNum: 1,
list:[]
list:[],
allow_load:true
});
that.record(1);
},
Verfassen
Vorschau
Laden…
Abbrechen
Speichern