本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
註冊
登入
weapp
/
C
關注
8
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
66
Wiki
活動
瀏覽代碼
[根据状态过滤]
tags/广东版3.2.1
meo
6 年之前
父節點
4b159fc441
當前提交
1f9a613218
共有
1 個檔案被更改
,包括
7 行新增
和
6 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-6
pages/cardorder/index/index.js
+ 7
- 6
pages/cardorder/index/index.js
查看文件
@@ -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 => {
Write
Preview
Loading…
取消
儲存