MrShi
2026-04-22 0ed26f3348a13f87f7863fb36f302678e85c3d6e
small-program/shop/pages/store-home/store-home.vue
@@ -6,8 +6,8 @@
      <view class="custom-nav">
        <view :style="{ height: statusbarHeight + 'px' }"></view>
        <view class="nav-content" :style="{ height: navHeight + 'px' }">
          <image class="nav-icon" src="/static/icon/ic_home@2x.png"></image>
          <text class="nav-title">中铁快运南站旗舰店</text>
          <image class="nav-icon" src="/static/icon/ic_home@2x.png" @click="goToStore"></image>
          <text class="nav-title">{{ shopInfo.shopName || '' }}</text>
        </view>
      </view>
      <view :style="{ height: (statusbarHeight + navHeight) + 'px' }"></view>
@@ -127,7 +127,7 @@
    CustomTabbar
  },
  computed: {
    ...mapState(['navHeight', 'statusbarHeight'])
    ...mapState(['navHeight', 'statusbarHeight', 'shopInfo'])
  },
  onReachBottom() {
    console.log('store-home onReachBottom')
@@ -142,6 +142,11 @@
      uni.navigateTo({
        url: '/shop/pages/qualification/qualification'
      })
    },
    goToStore() {
      uni.switchTab({
        url: '/pages/index/index'
      })
    }
  },
  data() {