|
|
|
@ -34,15 +34,15 @@ |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view v-if="pageType == 2" class="home-menu"> |
|
|
|
|
<view class="item" @click="openPage(1)"> |
|
|
|
|
<view class="item" @click="openPage(11)"> |
|
|
|
|
<image src="@/static/1.png"></image> |
|
|
|
|
<view class="txt">周边旅游</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="item" @click="openPage(2)"> |
|
|
|
|
<view class="item" @click="openPage(11)"> |
|
|
|
|
<image src="@/static/2.png"></image> |
|
|
|
|
<view class="txt">语音分享</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="item" @click="openPage(3)"> |
|
|
|
|
<view class="item" @click="openPage(11)"> |
|
|
|
|
<image src="@/static/3.png"></image> |
|
|
|
|
<view class="txt">视频分享</view> |
|
|
|
|
</view> |
|
|
|
@ -96,8 +96,8 @@ |
|
|
|
|
<view class="home-dongtai"> |
|
|
|
|
<u-waterfall ref="uWaterfall1" v-model="dongtaiList"> |
|
|
|
|
<template v-slot:left="{leftList}"> |
|
|
|
|
<view class="item" v-for="(item, index) in leftList" :key="index" @click="toDetails(item.id)"> |
|
|
|
|
<image class="img" v-if="item.imgurl[0]" :src="item.imgurl[0]"></image> |
|
|
|
|
<view class="item item1" v-for="(item, index) in leftList" :key="index" @click="toDetails(item.id)"> |
|
|
|
|
<image class="img" mode="widthFix" v-if="item.imgurl[0]" :src="item.imgurl[0]"></image> |
|
|
|
|
<view class="title">{{item.content}}</view> |
|
|
|
|
<view class="user"> |
|
|
|
|
<image class="avatar" :src="item.faceImage"></image> |
|
|
|
@ -106,9 +106,9 @@ |
|
|
|
|
</view> |
|
|
|
|
</template> |
|
|
|
|
<template v-slot:right="{rightList}"> |
|
|
|
|
<view class="item" v-for="(item, index) in rightList" :key="index" @click="toDetails(item.id)"> |
|
|
|
|
<view class="item item2" v-for="(item, index) in rightList" :key="index" @click="toDetails(item.id)"> |
|
|
|
|
<!-- 这里编写您的内容,item为您传递给v-model的数组元素 --> |
|
|
|
|
<image class="img" v-if="item.imgurl[0]" :src="item.imgurl[0]"></image> |
|
|
|
|
<image class="img" mode="widthFix" v-if="item.imgurl[0]" :src="item.imgurl[0]"></image> |
|
|
|
|
<view class="title">{{item.content}}</view> |
|
|
|
|
<view class="user"> |
|
|
|
|
<image class="avatar" :src="item.faceImage"></image> |
|
|
|
@ -385,7 +385,7 @@ |
|
|
|
|
}, |
|
|
|
|
//检查次数 |
|
|
|
|
async userBalanceasd() { |
|
|
|
|
const { code, data } = await this.$api.userBalanceasd({ |
|
|
|
|
const { code, data } = await this.$api.userBalance({ |
|
|
|
|
userId: uni.getStorageSync("userInfo").id |
|
|
|
|
}) |
|
|
|
|
if(code == 200){ |
|
|
|
@ -679,6 +679,14 @@ |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: "/pages/peiwan/detail?id="+id |
|
|
|
|
}) |
|
|
|
|
}else if(index == 11){ |
|
|
|
|
if(this.userInfo.realnameFlag == 0 || this.userInfo.faceFlag == 0 || this.userInfo.phoneFlag == 0){ |
|
|
|
|
this.isPopup = true |
|
|
|
|
return ; |
|
|
|
|
} |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: "/pages/dongtai/add" |
|
|
|
|
}) |
|
|
|
|
}else if(index == 7){ |
|
|
|
|
if(this.userInfo.realnameFlag == 0 || this.userInfo.faceFlag == 0 || this.userInfo.phoneFlag == 0){ |
|
|
|
|
this.isPopup = true |
|
|
|
@ -901,6 +909,13 @@ |
|
|
|
|
width: 340rpx; |
|
|
|
|
margin: 0 auto; |
|
|
|
|
margin-top: 20rpx; |
|
|
|
|
background-color: #FFFFFF; |
|
|
|
|
&1{ |
|
|
|
|
margin-left: 25rpx; |
|
|
|
|
} |
|
|
|
|
&2{ |
|
|
|
|
margin-right: 25rpx; |
|
|
|
|
} |
|
|
|
|
.img{ |
|
|
|
|
width: 100%; |
|
|
|
|
border-radius: 20rpx; |
|
|
|
@ -909,9 +924,18 @@ |
|
|
|
|
font-weight: 500; |
|
|
|
|
font-size: 28rpx; |
|
|
|
|
color: #333333; |
|
|
|
|
max-height: 90rpx; |
|
|
|
|
line-height: 45rpx; |
|
|
|
|
text-align: left; |
|
|
|
|
display: -webkit-box; |
|
|
|
|
-webkit-box-orient: vertical; |
|
|
|
|
-webkit-line-clamp: 2; /* 定义文本的行数 */ |
|
|
|
|
overflow: hidden; |
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
padding: 10rpx; |
|
|
|
|
} |
|
|
|
|
.user{ |
|
|
|
|
padding: 10rpx; |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
font-weight: 500; |
|
|
|
|