连云港陪玩陪聊
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chunwan/pages/dongtai/detail.vue

418 lines
8.8 KiB

<template>
<view class="dongtai">
<view class="dongtai-hd">
<view class="item">
<view class="a">
<view class="fl">
<image src="@/static/nv.png"></image>
<view class="info">
<view class="name">幽默的先生</view>
<view class="desc">2024-06-06 11:23</view>
</view>
</view>
<view class="fr">
<image src="@/static/shenglue.png"></image>
</view>
</view>
<view class="b">今天天气真好啊碧蓝的天空绿油油的油菜花空中飘香远远的山脉看着忽远忽近</view>
<view class="c">
<image mode="aspectFill" src="@/static/1.png"></image>
<image mode="aspectFill" src="@/static/2.png"></image>
<image mode="aspectFill" src="@/static/3.png"></image>
</view>
<view class="d">
<view class="fl">
<view class="li">
<image src="@/static/xiaoxi.png"></image>69
</view>
<view class="li">
<image src="@/static/dianzan.png"></image>896
</view>
<view class="li">
<image src="@/static/fenxiang.png"></image>分享
</view>
</view>
<view class="fr">搭讪</view>
</view>
</view>
</view>
<view class="dongtai-bd">
<view class="title">全部评价190</view>
<view class="list">
<view class="item" v-for="i in 3" :key="i">
<view class="a">
<view class="pic">
<image src="@/static/nan.png"></image>
</view>
<view class="info">
<view class="content">
<view class="fl">
<view class="name">可以叫我鱼大人<text>作者</text></view>
<view class="desc">我家猫咪最喜欢的就是晒太阳了~</view>
</view>
<view class="zan">
<view class="li">
<image src="@/static/dianzan.png"></image>896
</view>
</view>
</view>
<view class="hf">10-09<text>回复</text></view>
<view class="b">
<view class="li" v-for="idx in 2" :key="idx">
<view class="a">
<view class="pic">
<image src="@/static/nan.png"></image>
</view>
<view class="info">
<view class="content">
<view class="fl">
<view class="name">可以叫我鱼大人<text>作者</text></view>
<view class="desc">回复<text>可爱的小妹:</text>我家猫咪最喜欢的就是晒太阳了~</view>
</view>
<view class="zan">
<view class="li">
<image src="@/static/dianzan.png"></image>896
</view>
</view>
</view>
<view class="hf">10-09<text>回复</text></view>
</view>
</view>
</view>
<view class="more">展开18条回复</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view class="dongtai-fd">
<view class="a">
<image src="@/static/editor.png"></image>
<input type="text" placeholder="留下你精彩的回复" />
</view>
<view class="b">
<view class="li">
<image src="@/static/dianzan.png"></image>896
</view>
<view class="li">
<image src="@/static/xiaoxi.png"></image>69
</view>
</view>
</view>
<dashan :isDashan="isDashan"></dashan>
<share :isShare="isShare" />
</view>
</template>
<script>
export default {
data() {
return {
isDashan: false,
isShare: false
};
}
}
</script>
<style scoped lang="scss">
.dongtai{
padding-bottom: 120rpx;
overflow: hidden;
&-hd{
padding: 0 25rpx 25rpx;
overflow: hidden;
.item{
width: 100%;
background: #FFFFFF;
border-radius: 20rpx;
padding: 30rpx;
box-sizing: border-box;
margin-top: 20rpx;
.d{
font-weight: 400;
font-size: 24rpx;
color: #333333;
line-height: 42rpx;
margin-top: 20rpx;
text-align: left;
display: flex;
align-items: center;
justify-content: space-between;
.fl{
flex: 1;
display: flex;
align-items: center;
.li{
display: flex;
align-items: center;
width: 120rpx;
image{
width: 32rpx;
height: 32rpx;
margin-right: 10rpx;
}
}
}
.fr{
width: 90rpx;
line-height: 44rpx;
background: #000000;
border-radius: 44rpx;
text-align: center;
font-weight: 500;
font-size: 24rpx;
color: #FFFFFF;
}
}
.c{
width: 110%;
margin-top: 20rpx;
overflow: hidden;
image{
width: 210rpx;
height: 210rpx;
border-radius: 10rpx;
margin-right: 10rpx;
}
}
.b{
font-weight: 400;
font-size: 28rpx;
color: #222222;
line-height: 42rpx;
margin-top: 20rpx;
text-align: left;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2; /* 定义文本的行数 */
overflow: hidden;
text-overflow: ellipsis;
}
.a{
display: flex;
align-items: center;
justify-content: space-between;
.fl{
flex: 1;
display: flex;
align-items: center;
margin-right: 20rpx;
image{
width: 80rpx;
height: 80rpx;
background: #E6E9ED;
border-radius: 50%;
margin-right: 20rpx;
}
.info{
flex: 1;
}
.name{
font-weight: 400;
font-size: 30rpx;
color: #222222;
}
.desc{
font-weight: 400;
font-size: 22rpx;
color: #B6BCC2;
margin-top: 10rpx;
}
}
.fr{
width: 32rpx;
image{
width: 32rpx;
height: 32rpx;
}
}
}
}
}
&-bd{
padding: 0 25rpx;
overflow: hidden;
margin-top: 30rpx;
.title{
font-weight: 500;
font-size: 30rpx;
color: #222222;
}
.list{
margin-top: 20rpx;
background-color: #FFFFFF;
padding: 0 20rpx;
overflow: hidden;
border-radius: 20rpx;
.item{
padding: 30rpx 0;
overflow: hidden;
.more{
margin-top: 20rpx;
font-weight: 500;
font-size: 24rpx;
color: #3382EE;
margin-left: 50rpx;
}
.hf{
margin-top: 10rpx;
font-weight: 500;
font-size: 26rpx;
color: #999999;
text{
margin-left: 20rpx;
color: #000000;
}
}
.a{
width: 100%;
display: flex;
align-items: flex-start;
.pic{
width: 70rpx;
height: 70rpx;
margin-right: 20rpx;
image{
width: 100%;
height: 100%;
border-radius: 50%;
}
}
.info{
flex: 1;
.b .li{
margin-top: 20rpx;
.pic{
width: 40rpx;
height: 40rpx;
margin-right: 12rpx;
image{
width: 100%;
height: 100%;
border-radius: 50%;
}
}
}
.content{
width: 100%;
display: flex;
align-items: flex-start;
justify-content: space-between;
.fl{
flex: 1;
max-width: 500rpx;
.name{
font-weight: 500;
font-size: 28rpx;
color: #222222;
display: flex;
align-items: center;
text{
width: 58rpx;
height: 32rpx;
background: #000000;
border-radius: 5rpx;
text-align: center;
line-height: 32rpx;
font-size: 22rpx;
color: #FFFFFF;
display: block;
margin-left: 10rpx;
}
}
.desc{
text-align: left;
font-weight: 500;
font-size: 26rpx;
color: #999999;
line-height: 40rpx;
margin-top: 10rpx;
text{
color: #000000;
margin-left: 10rpx;
}
}
}
.zan{
width: 80rpx;
display: flex;
align-items: center;
justify-content: center;
.li{
width: 80rpx;
text-align: center;
font-weight: 500;
font-size: 24rpx;
color: #999999;
image{
width: 32rpx;
height: 32rpx;
display: block;
margin: 0 auto;
}
}
}
}
}
}
}
}
}
&-fd{
width: 100%;
height: 100rpx;
background: #FFFFFF;
padding: 0 25rpx;
display: flex;
align-items: center;
justify-content: space-between;
position: fixed;
left: 0;
bottom: 0;
z-index: 21;
.a{
width: 468rpx;
height: 60rpx;
background: #F3F4F5;
border-radius: 60rpx;
padding: 0 20rpx;
box-sizing: border-box;
display: flex;
align-items: center;
image{
width: 22rpx;
height: 22rpx;
margin-right: 10rpx;
}
input{
flex: 1;
height: 60rpx;
line-height: 60rpx;
font-weight: 500;
font-size: 24rpx;
color: #333333;
}
}
.b{
flex: 1;
display: flex;
align-items: center;
justify-content: center;
.li{
display: flex;
align-items: center;
width: 120rpx;
image{
width: 32rpx;
height: 32rpx;
margin-right: 10rpx;
}
}
}
}
}
</style>