1
xuxueyang
2024-08-03 52b7688811aff148c5fcd61925c71f9220b33fcb
pages/home/home.vue
@@ -19,11 +19,12 @@
            </view>
         </view>
      </view>
      <view class="search-container m-t-12 flex">
      <view class="search-container m-t-12 flex" @click="goto('/pages/home/components/home-search',false)">
         <view class="flex1 input">
            <u-input placeholder="请输入花名" v-model="search_flow">
               <template slot="suffix">
                  <uni-icons color="#20613D" type="search" size="24" @click="buttonSearchFlow"></uni-icons>
            <u-input placeholder="请输入花名" disabled v-model="search_flow">
               <template slot="suffix">
                  <!-- @click="buttonSearchFlow" -->
                  <uni-icons color="#20613D" type="search" size="24" ></uni-icons>
               </template>
            </u-input>
         </view>
@@ -63,7 +64,7 @@
      <!-- 特别的几个公告图片 -->
      <home-banner-imgs></home-banner-imgs>
      <!-- 均价情况 -->
      <home-price></home-price>
      <!-- <home-price></home-price> -->
      <!-- 几个专区 -->
      <home-zones></home-zones>
      <!-- 置顶的花列表 -->
@@ -184,7 +185,13 @@
      //    };
      // },
      onLoad() {
      onLoad(options) {
         // if(options.partnerUserId){
         //    //需要前往注册了
         //    uni.navigateTo({
         //       url: '/pages/login/supplier-login'
         //    })
         // }
         // console.log('home created')
         //这里进行一次初始化即可
         // this.$http.request('get', '/api/school/area/list', {