界面更新
This commit is contained in:
parent
049b63eade
commit
d14dc3063f
@ -101,7 +101,7 @@ export default {
|
||||
if(this.mark < this.allList.length){
|
||||
this.waterFall()
|
||||
}
|
||||
|
||||
console.log(this.rightList,this.leftList)
|
||||
}
|
||||
},
|
||||
immediate: true,
|
||||
|
@ -108,7 +108,6 @@ export default {
|
||||
deep:true
|
||||
},
|
||||
mounted(){
|
||||
|
||||
this.getUserInfo()
|
||||
},
|
||||
|
||||
|
@ -1,16 +1,14 @@
|
||||
<template>
|
||||
<view class="wf-item-page" @click="gogogo(item)">
|
||||
|
||||
|
||||
|
||||
<image :src="item.image[0]" mode="widthFix" class="item-img" />
|
||||
|
||||
<view class="goods_item_img" v-if="item.video_link.length>0">
|
||||
<image src="@/static/images/sp.png" mode="aspectFill"></image>
|
||||
<image src="@/static/images/sp.png" mode="aspectFit"></image>
|
||||
</view>
|
||||
<view class="title">{{item.title}}</view>
|
||||
<view class="item-info">
|
||||
<image :src="(item.author && item.author.avatar) || '/static/images/f.png'" mode="aspectFill"
|
||||
<image :src="(item.author && item.author.avatar) || '/static/images/f.png'" mode="aspectFit"
|
||||
class="info-avatar" />
|
||||
<view class="info-nickname">{{ item.author.nickname }}</view>
|
||||
</view>
|
||||
@ -41,7 +39,6 @@
|
||||
this.getUserInfo()
|
||||
},
|
||||
|
||||
|
||||
methods: {
|
||||
/**
|
||||
* 获取个人用户信息
|
||||
@ -62,7 +59,6 @@
|
||||
url: `/pages/short_video/appSwiper/index?id=${item.community_id}&uid=${this.user_id}&user=1`
|
||||
// #endif
|
||||
})
|
||||
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: `/pages/plantGrass/plant_detail/index?id=${item.community_id}`
|
||||
|
@ -77,7 +77,6 @@
|
||||
<view v-else class='list'>
|
||||
<WaterfallsFlow :wfList='productList' @itemTap="godDetail" :type="1" @goShop="goShop"/>
|
||||
</view>
|
||||
|
||||
<view class='noCommodity' v-if="productList.length==0 && where.page > 1">
|
||||
<view class='pictrue' style="margin: 60rpx auto;">
|
||||
<image src='/static/images/noCart.png'></image>
|
||||
|
@ -74,8 +74,7 @@
|
||||
</view>
|
||||
|
||||
<view class="list-con">
|
||||
<view class="list-con-left"
|
||||
@tap="navgo('/pages/nongKe/specialty/index?type_code=TypeFamousSpecialties')">
|
||||
<view class="list-con-left" @tap="navgo('/pages/nongKe/specialty/index')">
|
||||
<!-- <view class="list-con-title">
|
||||
<view class="con-titlea">
|
||||
名优特产
|
||||
@ -87,8 +86,7 @@
|
||||
<image src="@/static/images/f5.png" mode="aspectFit"></image>
|
||||
</view>
|
||||
<view class="list-con-right">
|
||||
<view class="con-right" style="margin-bottom: 20rpx"
|
||||
@tap="navgo('/pages/nongKe/food/index?type_code=TypeLocalCuisine')">
|
||||
<view class="con-right" style="margin-bottom: 20rpx" @click="navaction(1)">
|
||||
<!-- <view class="list-con-title">
|
||||
<view class="con-titlea">
|
||||
当地美食
|
||||
@ -99,7 +97,7 @@
|
||||
</view> -->
|
||||
<image src="@/static/images/f7.png" mode="aspectFit"></image>
|
||||
</view>
|
||||
<view class="con-right" @tap="navgo('/pages/nongKe/tourism/index?type_code=TypeFeaturedCultural')">
|
||||
<view class="con-right" @click="navaction(2)">
|
||||
<!-- <view class="list-con-title">
|
||||
<view class="con-titlea">
|
||||
特色文旅
|
||||
@ -255,6 +253,10 @@
|
||||
|
||||
this.list()
|
||||
},
|
||||
beforeDestroy () {
|
||||
// 销毁监听事件
|
||||
this.$bus.$off('value-updated')
|
||||
},
|
||||
mounted() {
|
||||
|
||||
// #ifdef H5
|
||||
|
Loading…
x
Reference in New Issue
Block a user