|
@@ -15,7 +15,7 @@ Page({
|
|
|
submitlock:false,
|
|
submitlock:false,
|
|
|
x:0,
|
|
x:0,
|
|
|
currentX: 0,
|
|
currentX: 0,
|
|
|
- perpage:5,
|
|
|
|
|
|
|
+ perpage:10,
|
|
|
nowpage:1,
|
|
nowpage:1,
|
|
|
cartMore:true
|
|
cartMore:true
|
|
|
},
|
|
},
|
|
@@ -54,7 +54,7 @@ Page({
|
|
|
getCartList:function(){
|
|
getCartList:function(){
|
|
|
console.log('getCartList')
|
|
console.log('getCartList')
|
|
|
var that = this
|
|
var that = this
|
|
|
- var url = 'v1/products?ptype=&&page='+that.data.nowpage+'&&per_page='+that.data.perpage
|
|
|
|
|
|
|
+ var url = 'v1/products?ptype=shop_sale&&page='+that.data.nowpage+'&&per_page='+that.data.perpage
|
|
|
var params = {}
|
|
var params = {}
|
|
|
var success = function (res) {
|
|
var success = function (res) {
|
|
|
console.log(res)
|
|
console.log(res)
|