|
@@ -2,7 +2,7 @@ const pages = require('../../mixin/pages')
|
|
|
const { getProductCategoryList } = require('../../api/common')
|
|
|
let leftHeight = 0
|
|
|
let rightHeight = 0
|
|
|
-let query = wx.createSelectorQuery()
|
|
|
+let query = null
|
|
|
|
|
|
Page({
|
|
|
|
|
@@ -127,7 +127,7 @@ Page({
|
|
|
leftList,
|
|
|
rightList
|
|
|
} = this.data
|
|
|
-
|
|
|
+ query = wx.createSelectorQuery().in(this)
|
|
|
for (const item of list) {
|
|
|
if (leftHeight < rightHeight) {
|
|
|
leftList.push(item)
|