Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Registrati
Accedi
weapp
/
C
Segui
8
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
66
Wiki
Attività
Sfoglia il codice sorgente
[根据状态过滤]
tags/广东版3.2.1
meo
6 anni fa
parent
4b159fc441
commit
1f9a613218
1 ha cambiato i file
con
7 aggiunte
e
6 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+7
-6
pages/cardorder/index/index.js
+ 7
- 6
pages/cardorder/index/index.js
Vedi File
@@ -5,17 +5,17 @@ let app = getApp();
Page({
data: {
tabs: [{
key:
0
,
key:
4
,
name: "使用中"
},
{
key:
1
,
key:
5
,
name: "已失效"
}
],
list: [],
current: "
0
",
current_scroll: "
0
",
current: "
4
",
current_scroll: "
4
",
page: 1,
allow_load: true,
loading: true, //"上拉加载"的变量,默认false,隐藏
@@ -24,7 +24,7 @@ Page({
showPage:false
},
onLoad() {
this.getList(
0
, 1);
this.getList(
4
, 1);
},
onShow: function () {
let that = this;
@@ -74,7 +74,8 @@ Page({
data: {
pageNum: pageNum,
pageSize: 6,
couponType:7
couponType:"7",
couponOrderStatus: key
}
})
.then(res => {
Scrivi
Anteprima
Caricamento…
Annulla
Salva