| | |
| | | <span v-if="!currentNotice||!currentNotice.id"> </span>
|
| | | </view>
|
| | | <!-- 当前分类 -->
|
| | | <home-category></home-category>
|
| | | <home-category ref="home_category"></home-category>
|
| | | <!-- 特别的几个公告图片 -->
|
| | | <home-banner-imgs></home-banner-imgs>
|
| | | <home-banner-imgs ref="home_banner"></home-banner-imgs>
|
| | | <!-- 均价情况 -->
|
| | | <!-- <home-price></home-price> -->
|
| | | <!-- 几个专区 -->
|
| | | <home-zones></home-zones>
|
| | | <home-zones ref="home_zeros"></home-zones>
|
| | | <!-- 置顶的花列表 -->
|
| | | <home-top-flow ref="home_top_flow"></home-top-flow>
|
| | |
|
| | |
| | | <common-footer flg="0"></common-footer>
|
| | |
|
| | | <uni-popup ref="coupon_home" type="bottom" border-radius="10px 10px 0 0">底部弹出 Popup 自定义圆角</uni-popup>
|
| | |
|
| | |
|
| | | </view>
|
| | | </template>
|
| | |
| | | homeZones,
|
| | | homeTopFlow
|
| | | },
|
| | |
|
| | | onPullDownRefresh() {
|
| | | // 下拉刷新方法
|
| | | this.init() |
| | | this.$message.showLoading()
|
| | | this.init_children()
|
| | | setTimeout(() => { |
| | | this.$message.hideLoading()
|
| | | uni.stopPullDownRefresh()
|
| | | }, 2000)
|
| | | },
|
| | | data() {
|
| | | return {
|
| | | search_flow: '',
|
| | |
| | | }
|
| | | },
|
| | | onLoad(options) {
|
| | | this.init()
|
| | | },
|
| | | methods: {
|
| | | init_children() {
|
| | | this.$refs.home_top_flow && this.$refs.home_top_flow.init && this.$refs.home_top_flow.init()
|
| | | this.$refs.home_category && this.$refs.home_category.init && this.$refs.home_category.init()
|
| | | this.$refs.home_banner && this.$refs.home_banner.init && this.$refs.home_banner.init()
|
| | | this.$refs.home_zeros && this.$refs.home_zeros.init && this.$refs.home_zeros.init()
|
| | | },
|
| | | init() {
|
| | | // if(options.partnerUserId){
|
| | | // //需要前往注册了
|
| | | // uni.navigateTo({
|
| | |
| | | // }
|
| | | // })
|
| | | },
|
| | | methods: {
|
| | |
|
| | | clickBanner(item) {
|
| | | if (item.id) {
|
| | | uni.navigateTo({
|