Commit 0551117ba8b60ead8d36e0150a69a7a8fc836b12

Authored by F5VT98DI7XY4X12\Administrator
1 parent 268c1b00

首页秒杀,拼团,商品排序

Showing 1 changed file with 2 additions and 2 deletions
pages/index/index/index.js
... ... @@ -194,7 +194,7 @@ Page({
194 194 //------新品-------
195 195 await getApp().request.promiseGet("/api/weshop/goods/page?page=1", {
196 196 data: {
197   - is_mainshow: 1, isonsale: 1, is_on_sale: 1, store_id: o.stoid, pageSize: 9,is_new:1
  197 + is_mainshow: 1, isonsale: 1, is_on_sale: 1, store_id: o.stoid, pageSize: 9,is_new:1,orderField:"sort"
198 198 }
199 199 }).then(res => {
200 200 var e = res;
... ... @@ -214,7 +214,7 @@ Page({
214 214 //------热卖-------
215 215 await getApp().request.promiseGet("/api/weshop/goods/page?page=1", {
216 216 data: {
217   - is_mainshow: 1, isonsale: 1, is_on_sale: 1, store_id: o.stoid, pageSize: 9,is_hot:1
  217 + is_mainshow: 1, isonsale: 1, is_on_sale: 1, store_id: o.stoid, pageSize: 9,is_hot:1,orderField:"sort"
218 218 }
219 219 }).then(res => {
220 220 var e = res;
... ...