|
@@ -4,7 +4,7 @@
|
|
|
<view class='acea-row row-between-wrapper input'>
|
|
<view class='acea-row row-between-wrapper input'>
|
|
|
<text class='iconfont icon-sousuo'></text>
|
|
<text class='iconfont icon-sousuo'></text>
|
|
|
<input type='text' placeholder='点击搜索商品信息' @confirm="searchSubmitValue" confirm-type='search' name="search"
|
|
<input type='text' placeholder='点击搜索商品信息' @confirm="searchSubmitValue" confirm-type='search' name="search"
|
|
|
- placeholder-class='placeholder' @focus="searchSubmitValue"></input>
|
|
|
|
|
|
|
+ placeholder-class='placeholder' @focus="searchSubmitValue"/>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class='aside' :style="{bottom: tabbarH + 'px',height: height + 'rpx'}">
|
|
<view class='aside' :style="{bottom: tabbarH + 'px',height: height + 'rpx'}">
|
|
@@ -77,6 +77,7 @@ const getAllCategory = async () => {
|
|
|
const { data }= await productCategory(obj);
|
|
const { data }= await productCategory(obj);
|
|
|
const newArr = []
|
|
const newArr = []
|
|
|
data.forEach((value, index) => {
|
|
data.forEach((value, index) => {
|
|
|
|
|
+ if(value.name === '折扣券') return
|
|
|
newArr[index] = value
|
|
newArr[index] = value
|
|
|
if (value.child) newArr[index].child = value.child.filter(item => item.status === true)
|
|
if (value.child) newArr[index].child = value.child.filter(item => item.status === true)
|
|
|
})
|
|
})
|