xuxueyang
2024-07-25 e998d551df1c96572838bbf661be938aa79d1be8
pages/home/components/home-zones.vue
@@ -1,7 +1,7 @@
<template>
  <view class="home-zones">
    <view class="c" v-for="(item,index) of list">
      <image class="p1 img100 m-t-12" :lazy-load="true" mode="aspectFit"
      <image class="p1 img100 m-t-12" :lazy-load="true" mode="aspectFill"
             :src="item.bgUrl">
      </image>
      <view class="c-txt-1">
@@ -79,11 +79,15 @@
      })
    },
  },
  onLoad() {
  mounted() {
    console.log('init hone zones')
    this.$http.request('get', '/api/flower/zone/list', {}).then(res => {
      this.list = res.data || []
    })
  },
  onLoad() {
  },
}
</script>