MrShi
2026-04-28 f834c445112864d6bbbe6840990257bca170d1c9
small-program/shop/pages/store-home/store-home.vue
@@ -72,7 +72,7 @@
        <view class="order-header"  @click="jumpOrderDetails(item.id)">
          <view style="display: flex; align-items: center;">
            <view class="order-tag">{{item.type===1?'同城配送':'就地寄存'}}</view>
            <text class="order-user">{{item.takeUser || ''}} {{item.takePhone||''}}</text>
            <text class="order-user">{{formatName(item.takeUser)}} {{formatPhoneStar(item.takePhone)||''}}</text>
          </view>
        <view style="display: flex;flex-direction: column;">
           <text  v-if="item.status ===5 && item.overdueStatus ===1 "  class="order-status" style="color: red;">超时未取件</text>
@@ -120,6 +120,7 @@
<script>
import { mapState } from 'vuex'
import { formatPhoneStar } from '@/utils/utils.js'
import CustomTabbar from '@/components/custom-tabbar/custom-tabbar.vue'
export default {
  components: {
@@ -144,6 +145,13 @@
     this.getFirstPageData()
 },
  methods: {
    formatPhoneStar(phone){
      return formatPhoneStar(phone)
    },
    formatName(name) {
      if (!name) return ''
      return name.length > 7 ? name.substring(0, 7) + '...' : name
    },
     changeActive(index){
        this.getCountData(index)
     },
@@ -252,8 +260,9 @@
        })
      },
      goToStore() {
      this.$store.commit('setUserType', 0)
        uni.switchTab({
         url: '/pages/index/index'
           url: '/pages/index/index'
        })
      },
      jumpShopLogin() {