xuxueyang
2024-09-08 f0ed0a02286246080fe92f6855bf2ee9b2dea2c6
update 销量问题
已修改6个文件
27 ■■■■■ 文件已修改
pages/home/components/home-top-flow.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub_pages/customer/self/collect.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub_pages/customer/self/history.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub_pages/customer/shop/shop.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub_pages/customer/trade/detail.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub_pages/customer/trade/list.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/home/components/home-top-flow.vue
@@ -30,7 +30,7 @@
                </view>
                <view class="other-info flex">
                    <view class="m-r-15">
                        已售:{{ item.sales || 0 }}
                        已售:{{ ((item.sales||0) +(item.realSales||0))  || 0 }}
                    </view>
                    <view class="m-r-15">
                        剩余:{{ item.stock || 0 }}
sub_pages/customer/self/collect.vue
@@ -24,6 +24,9 @@
                ]
            }
        },
        onShow() {
            this.refreshList()
        },
        onLoad() {
            this.listApi = '/api/collect/list'
            this.getList()
sub_pages/customer/self/history.vue
@@ -26,7 +26,7 @@
        },
        onLoad() {
            this.listApi = '/api/browse/history/list'
            this.page.size =30
            this.page.size = 30
            this.getList()
            this.$http.request('get', '/api/code/value', {
@@ -55,13 +55,13 @@
                })
            })
        },
          onShow() {
            // 页面显示时重新加载浏览记录数据
            this.listApi = '/api/browse/history/list'
            this.page.size =30
            this.getList()
          },
        onShow() {
            // 页面显示时重新加载浏览记录数据
            this.listApi = '/api/browse/history/list'
            this.page.size = 30
            this.refreshList()
        },
        methods: {
            async deleteExpired() {
sub_pages/customer/shop/shop.vue
@@ -123,7 +123,7 @@
                            </view> -->
                                <view class="other-info flex" @click.stop="toDetail(item)">
                                    <view class="m-r-15">
                                        已售:{{item.sales || 0}}
                                        已售:{{ ((item.sales||0) +(item.realSales||0)) || 0}}
                                    </view>
                                    <view class="m-r-15">
                                        剩余:{{item.stock || 0}}
sub_pages/customer/trade/detail.vue
@@ -67,7 +67,7 @@
                </view>
            </view>
            <view class="desc m-t-12">
                <view class="m-r-15">已售:{{ dto.sales || 0 }}</view>
                <view class="m-r-15">已售:{{ ((dto.sales||0) +(dto.realSales||0)) || 0 }}</view>
                <view class="m-r-15">剩余:{{ dto.stock || 0 }}</view>
                <view class=" ">{{ dto.unit || '-' }}</view>
            </view>
sub_pages/customer/trade/list.vue
@@ -91,7 +91,7 @@
                        </view>
                        <view class="other-info flex">
                            <view class="m-r-15">
                                已售:{{item.sales||0}}
                                已售:{{ ((item.sales||0) +(item.realSales||0))   ||0}}
                            </view>
                            <view class="m-r-15">
                                剩余:{{item.stock||0}}