Commit 4b78d519 authored by twj's avatar twj

twj

parent 6b99c5bc
...@@ -360,7 +360,7 @@ ...@@ -360,7 +360,7 @@
var data = {}; var data = {};
data.page = '0'; data.page = '0';
data.limit = '20'; data.limit = '200';
if (ajax_zt) { if (ajax_zt) {
ajax_zt = false; ajax_zt = false;
...@@ -389,11 +389,11 @@ ...@@ -389,11 +389,11 @@
} else { } else {
that.items = result['data']['order_list']; that.items = result['data']['order_list'];
} }
// if ($("#downpaly").find("li").length - max_id < 5) { if ($("#downpaly").find("li").length - max_id < 5) {
// if (result['data']['order_list'].length > 0) { if (result['data']['order_list'].length > 0) {
// that.items = that.items.concat(result['data']['order_list']); that.items = that.items.concat(result['data']['order_list']);
// } }
// } }
}, error: function () { }, error: function () {
ajax_zt = true; ajax_zt = true;
} }
...@@ -415,14 +415,14 @@ ...@@ -415,14 +415,14 @@
get_sou = false; get_sou = false;
} }
}, },
mounted() { // mounted() {
// for (var i = 0; i < 20; i++) { // // for (var i = 0; i < 20; i++) {
// $("#downpaly").find("li[a_id='" + i + "']").show(); // // $("#downpaly").find("li[a_id='" + i + "']").show();
// } // // }
}, // },
beforeDestroy() { // beforeDestroy() {
clearInterval(this.timer); // clearInterval(this.timer);
} // }
}) })
...@@ -439,7 +439,7 @@ ...@@ -439,7 +439,7 @@
function init(o) { function init(o) {
this.id = o.id; this.id = o.id;
this.at = o.auto ? o.auto : 1; this.at = o.auto ? o.auto : 10;
this.o = 0; this.o = 0;
this.pos(); this.pos();
...@@ -531,10 +531,10 @@ ...@@ -531,10 +531,10 @@
} }
return init; return init;
}(); }();
function range(min, max) { // function range(min, max) {
return 1 // return 1
//return parseInt(Math.random() * (max - min + 1) + min) // //return parseInt(Math.random() * (max - min + 1) + min)
} // }
new downpaly({ new downpaly({
id: 'downpaly' id: 'downpaly'
}); });
......
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