增加群相册功能,长按朋友圈文字可以复制
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
<view class="content">
|
||||
<view class="content-name" @tap="linkToBusinessCard(item.user_id)">{{ item.user.nickname || item.user.remark }}</view>
|
||||
<view class="content-desc">
|
||||
<u--text :lines="5" :text="item.body" />
|
||||
<text class="u-line-5" selectable user-select>{{item.body}}</text>
|
||||
<!-- <u-text :lines="5" :text="item.body" selectable /> -->
|
||||
</view>
|
||||
<!-- 图片,视频 -->
|
||||
<view class="content-img" v-if="item.files!=null&&item.files.length>0">
|
||||
@@ -19,7 +20,7 @@
|
||||
<view slot="error"
|
||||
class="u-flex u-row-left u-col-center"
|
||||
style="font-size: 24rpx;width: 200rpx;height: 100rpx;margin-top: -50rpx;">
|
||||
<u-icon name="photo" size="100" label="加载失败" label-pos="bottom"></u-icon>
|
||||
<u-icon name="photo" size="100" label="加载失败" label-pos="bottom"></u-icon>
|
||||
</view>
|
||||
</u-image>
|
||||
</view>
|
||||
@@ -223,6 +224,9 @@
|
||||
padding-top: 4rpx;
|
||||
//line-height: 36rpx;
|
||||
font-size: 32rpx;
|
||||
uni-text{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
&-img {
|
||||
@@ -298,8 +302,8 @@
|
||||
|
||||
&-content {
|
||||
word-break: break-all;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,18 +42,18 @@
|
||||
|
||||
<!-- 朋友圈列表 -->
|
||||
<view class="content-circle">
|
||||
<!-- storeCircleData是vuex变量,不在本页面定义 -->
|
||||
<template v-if="storeCircleData!=null&&storeCircleData.length>0">
|
||||
<template v-for="(item, index) in storeCircleData" >
|
||||
<CircleItem :key="index" :index="index" :item="item" @userEvent="onUserEvent"></CircleItem>
|
||||
</template>
|
||||
<!-- storeCircleData是vuex变量,不在本页面定义 -->
|
||||
<template v-if="storeCircleData!=null&&storeCircleData.length>0">
|
||||
<template v-for="(item, index) in storeCircleData" >
|
||||
<CircleItem :key="index" :index="index" :item="item" @userEvent="onUserEvent"></CircleItem>
|
||||
</template>
|
||||
<template v-else>
|
||||
<view style="margin-top: 30%;">
|
||||
<u-empty text="暂无动态,发一条试试吧~"></u-empty>
|
||||
</view>
|
||||
</template>
|
||||
</view>
|
||||
</template>
|
||||
<template v-else>
|
||||
<view style="margin-top: 30%;">
|
||||
<u-empty text="暂无动态,发一条试试吧~"></u-empty>
|
||||
</view>
|
||||
</template>
|
||||
</view>
|
||||
|
||||
<u-overlay :show="showInput" @click="showInput = false">
|
||||
<view class="input-box" :style="{
|
||||
|
||||
Reference in New Issue
Block a user