| | |
| | | <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> |
| | |
| | | CustomTabbar |
| | | }, |
| | | computed: { |
| | | ...mapState(['navHeight', 'statusbarHeight']) |
| | | ...mapState(['navHeight', 'statusbarHeight', 'shopInfo']) |
| | | }, |
| | | onReachBottom() { |
| | | console.log('store-home onReachBottom') |
| | |
| | | uni.navigateTo({ |
| | | url: '/shop/pages/qualification/qualification' |
| | | }) |
| | | }, |
| | | goToStore() { |
| | | uni.switchTab({ |
| | | url: '/pages/index/index' |
| | | }) |
| | | } |
| | | }, |
| | | data() { |