使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
注册
登录
weapp
/
C
关注
8
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
66
百科
动态
浏览代码
[根据状态过滤]
tags/广东版3.2.1
meo
6 年前
父节点
4b159fc441
当前提交
1f9a613218
共有
1 个文件被更改
,包括
7 次插入
和
6 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+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 => {
撰写
预览
正在加载...
取消
保存