xuxy
2024-08-11 1e12164c39bad3891f2dc08729c4079fd56507d6
update 公告
已修改2个文件
14 ■■■■■ 文件已修改
pages/home/components/home-category.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/notice/list.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/home/components/home-category.vue
@@ -3,6 +3,7 @@
        <view class="flex">
            <view class="t1">{{today}}(今日)第一场交易中</view>
            <view class="t2">当前在售</view>
            <!-- 加了/api/customer/flower/up/stock -->
        </view>
        <view class="m-t-12 flex">
            <view class="item" v-for="(item,index) of list" :key="index" @click.stop="toList(item)">
pages/notice/list.vue
@@ -29,7 +29,18 @@
        },
        onLoad() {
            // this.list = [{},{}]
            this.listApi = '/api/pub/announcement/list'
            var type = ''
            // #ifdef PUB_CUSTOMER
            type = 'customer'
            // #endif
            // #ifdef PUB_SUPPLIER
            type = 'supplier'
            // #endif
            // #ifdef PUB_PARTNER
            type = 'partner'
            // #endif
            this.listApi = '/api/pub/announcement/list/'+type
            this.getList()
        },