绿满眶商城微信小程序-uniapp
peng
2025-06-27 3f7acbae32700d7c3c2f883968ea33d436df5219
pages/commodity-square/commoditySquare.vue
@@ -2,7 +2,7 @@
   <view class="container">
      <top-bar selectedTitleIndex="shop" textColor="black" @changeTab="topBarChange" class="topBar"></top-bar>
      <input type="text" v-show="false" v-model="flushDom" />
      <view class="search" :style="{marginTop: buttonHeight+10+'px',}">
      <view class="search" :style="{marginTop: buttonHeight+'px',}">
         <u-search class="nav-search" @blur='searchGoods' placeholder="搜索商品" :show-action="false"></u-search>
      </view>
      <scroll-view class="scrollContainer"  :scroll-y="true" @scrolltolower="loadMoreData" >
@@ -254,7 +254,7 @@
      async onLoad() {
         // 获取状态栏高度
         const systemInfo = uni.getSystemInfoSync();
         this.buttonHeight = systemInfo.statusBarHeight +80;
         this.buttonHeight = systemInfo.statusBarHeight +40;
         console.log('-------------------------------->',this.buttonHeight)
         await this.loadCategoryList();
         this.getGoodsParam.pageNumber = 1