Commit 4b3f69b6 by 陈超

T

parent c58ce024
...@@ -167,13 +167,16 @@ ...@@ -167,13 +167,16 @@
finished: false, finished: false,
options: [{ options: [{
title: '视频', title: '视频',
items: [1,2] items: [1,2],
page: 1,
},{ },{
title: '真题', title: '真题',
items: [1,2] items: [1,2],
page: 1,
},{ },{
title: '实物', title: '实物',
items: [1,2] items: [1,2],
page: 1,
}] }]
} }
}, },
...@@ -188,7 +191,16 @@ ...@@ -188,7 +191,16 @@
this.tab = idx this.tab = idx
}, },
onLoad: function() { onLoad: function() {
$.ajax({
type: "GET",
url: "{:U('mall/Goods/index')}",
data: "p=" + 1 +
"&sort_type={$_GET['sort_type']}&cateId={$_GET['cateId']}",
dataType: "json",
success: function (data) {
console.log(data)
}
})
} }
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment