Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
S'inscrire
Connexion
weapp
/
C
Suivre
8
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Demandes d'ajout
0
Versions
66
Wiki
Activité
Parcourir la source
[根据状态过滤]
tags/广东版3.2.1
meo
il y a 6 ans
Parent
4b159fc441
révision
1f9a613218
1 fichiers modifiés
avec
7 ajouts
et
6 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+7
-6
pages/cardorder/index/index.js
+ 7
- 6
pages/cardorder/index/index.js
Voir le fichier
@@ -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 => {
Écrire
Aperçu
Chargement…
Annuler
Enregistrer