界面更新

This commit is contained in:
jia 2023-09-05 19:25:28 +08:00
parent 049b63eade
commit d14dc3063f
5 changed files with 10 additions and 14 deletions

View File

@ -101,7 +101,7 @@ export default {
if(this.mark < this.allList.length){ if(this.mark < this.allList.length){
this.waterFall() this.waterFall()
} }
console.log(this.rightList,this.leftList)
} }
}, },
immediate: true, immediate: true,

View File

@ -108,7 +108,6 @@ export default {
deep:true deep:true
}, },
mounted(){ mounted(){
this.getUserInfo() this.getUserInfo()
}, },

View File

@ -1,16 +1,14 @@
<template> <template>
<view class="wf-item-page" @click="gogogo(item)"> <view class="wf-item-page" @click="gogogo(item)">
<image :src="item.image[0]" mode="widthFix" class="item-img" /> <image :src="item.image[0]" mode="widthFix" class="item-img" />
<view class="goods_item_img" v-if="item.video_link.length>0"> <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>
<view class="title">{{item.title}}</view> <view class="title">{{item.title}}</view>
<view class="item-info"> <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" /> class="info-avatar" />
<view class="info-nickname">{{ item.author.nickname }}</view> <view class="info-nickname">{{ item.author.nickname }}</view>
</view> </view>
@ -41,7 +39,6 @@
this.getUserInfo() this.getUserInfo()
}, },
methods: { methods: {
/** /**
* 获取个人用户信息 * 获取个人用户信息
@ -62,7 +59,6 @@
url: `/pages/short_video/appSwiper/index?id=${item.community_id}&uid=${this.user_id}&user=1` url: `/pages/short_video/appSwiper/index?id=${item.community_id}&uid=${this.user_id}&user=1`
// #endif // #endif
}) })
} else { } else {
uni.navigateTo({ uni.navigateTo({
url: `/pages/plantGrass/plant_detail/index?id=${item.community_id}` url: `/pages/plantGrass/plant_detail/index?id=${item.community_id}`

View File

@ -77,7 +77,6 @@
<view v-else class='list'> <view v-else class='list'>
<WaterfallsFlow :wfList='productList' @itemTap="godDetail" :type="1" @goShop="goShop"/> <WaterfallsFlow :wfList='productList' @itemTap="godDetail" :type="1" @goShop="goShop"/>
</view> </view>
<view class='noCommodity' v-if="productList.length==0 && where.page > 1"> <view class='noCommodity' v-if="productList.length==0 && where.page > 1">
<view class='pictrue' style="margin: 60rpx auto;"> <view class='pictrue' style="margin: 60rpx auto;">
<image src='/static/images/noCart.png'></image> <image src='/static/images/noCart.png'></image>

View File

@ -74,8 +74,7 @@
</view> </view>
<view class="list-con"> <view class="list-con">
<view class="list-con-left" <view class="list-con-left" @tap="navgo('/pages/nongKe/specialty/index')">
@tap="navgo('/pages/nongKe/specialty/index?type_code=TypeFamousSpecialties')">
<!-- <view class="list-con-title"> <!-- <view class="list-con-title">
<view class="con-titlea"> <view class="con-titlea">
名优特产 名优特产
@ -87,8 +86,7 @@
<image src="@/static/images/f5.png" mode="aspectFit"></image> <image src="@/static/images/f5.png" mode="aspectFit"></image>
</view> </view>
<view class="list-con-right"> <view class="list-con-right">
<view class="con-right" style="margin-bottom: 20rpx" <view class="con-right" style="margin-bottom: 20rpx" @click="navaction(1)">
@tap="navgo('/pages/nongKe/food/index?type_code=TypeLocalCuisine')">
<!-- <view class="list-con-title"> <!-- <view class="list-con-title">
<view class="con-titlea"> <view class="con-titlea">
当地美食 当地美食
@ -99,7 +97,7 @@
</view> --> </view> -->
<image src="@/static/images/f7.png" mode="aspectFit"></image> <image src="@/static/images/f7.png" mode="aspectFit"></image>
</view> </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="list-con-title">
<view class="con-titlea"> <view class="con-titlea">
特色文旅 特色文旅
@ -255,6 +253,10 @@
this.list() this.list()
}, },
beforeDestroy () {
//
this.$bus.$off('value-updated')
},
mounted() { mounted() {
// #ifdef H5 // #ifdef H5