lin
2026-05-15 083fc3bf0f01788bc69b5072026a500ebc0dc086
pages/carts/carts.vue
@@ -1,6 +1,6 @@
<template>
   <view class="carts">
      <view class="c-title">
      <view class="c-title" :style="{top:statusBarHeight+ 'px'}">
         <text>共{{cartsTotal}}件商品</text>
         <view class="" @tap="delCarts">
            <text>删除</text>
@@ -78,6 +78,7 @@
            checkAll: false,
            checkIds: [],
            checkIdx: [1],
            statusBarHeight: 0,
         }
      },
      onShow() {
@@ -90,6 +91,9 @@
         setTimeout(() => {
            
         }, 2000)
         const windowInfo = uni.getWindowInfo();
         this.statusBarHeight = windowInfo.windowTop || windowInfo.safeAreaInsets.top;
      },
      methods: {
         getCarts () {