xuxy
2024-07-27 dcc7b2d14fcbac97fb6d2c8975a3cd93dfbcc458
sub_pages/customer/trade/trade.vue
@@ -38,7 +38,7 @@
                  <view v-for="(item,index) of listFilter" :key="item.id" class="canteen-item list"
                     @click.stop="toDetailList(item)">
                     <view class="m-r-10">
                        <image :src="item.imageUrl" mode="scaleToFill" class="cover"
                        <image :src="item.imageUrl" mode="scaleToFill" class="cover" :lazy-load="true"
                           @click.stop="previewImg(item.imageUrl)">
                        </image>
                     </view>
@@ -130,8 +130,10 @@
      },
      async onLoad() {
         //加载分类
         this.$http.request('get', '/api/customer/flower/category/tree', {}).then(res => {
         //加载分类
         this.$message.showLoading()
         this.$http.request('get', '/api/customer/flower/category/tree', {}).then(res => {
            this.$message.hideLoading()
            var data = res.data
            this.list = data || []
            if (this.list.length > 0) {