迁移图片
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
<div class="cardTop">
|
<div class="cardTop">
|
||||||
<span v-if="tabIndex0 != 3">
|
<span v-if="tabIndex0 != 3">
|
||||||
<img :src="item.avatarUrl" alt="" v-if="item.avatarUrl" class="img"/>
|
<img :src="item.avatarUrl" alt="" v-if="item.avatarUrl" class="img"/>
|
||||||
<img src="../../static/img/avatar.png" alt="" class="img" v-else/>
|
<img src="https://cdn.cunwuyun.cn/shandong10086/avatar.png" alt="" class="img" v-else/>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span v-if="tabIndex0 == 3">
|
<span v-if="tabIndex0 == 3">
|
||||||
|
|||||||
@@ -7,12 +7,12 @@
|
|||||||
<div class="middle" v-if="showPage">
|
<div class="middle" v-if="showPage">
|
||||||
<div class="cardTop">
|
<div class="cardTop">
|
||||||
<span v-if="tabIndex0 != 3">
|
<span v-if="tabIndex0 != 3">
|
||||||
<img :src="avatarUrl" alt="" v-if="avatarUrl" class="img" />
|
<img :src="avatarUrl" alt="" v-if="avatarUrl" class="img"/>
|
||||||
<img src="../../static/img/avatar.png" alt="" class="img" v-else />
|
<img src="https://cdn.cunwuyun.cn/shandong10086/avatar.png" alt="" class="img" v-else/>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span v-if="tabIndex0 == 3">
|
<span v-if="tabIndex0 == 3">
|
||||||
<img :src="user.avatarUrl" alt="" v-if="user.avatarUrl" class="img" />
|
<img :src="user.avatarUrl" alt="" v-if="user.avatarUrl" class="img"/>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<div class="rightTop">
|
<div class="rightTop">
|
||||||
@@ -38,11 +38,12 @@
|
|||||||
|
|
||||||
<!-- 图片 -->
|
<!-- 图片 -->
|
||||||
<div class="cardImg" v-if="tabCurrent1 == 0">
|
<div class="cardImg" v-if="tabCurrent1 == 0">
|
||||||
<img :src="items.url" alt="" v-for="(items, i) in detail.pictures" :key="i" @click.stop="previewImage(detail.pictures, items.url)" />
|
<img :src="items.url" alt="" v-for="(items, i) in detail.pictures" :key="i" @click.stop="previewImage(detail.pictures, items.url)"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="cardImg" v-if="tabCurrent1 == 1">
|
<div class="cardImg" v-if="tabCurrent1 == 1">
|
||||||
<img :src="items.url" alt="" v-for="(items, i) in detail.villagerCircleInfo.pictures" :key="i" @click.stop="previewImage(detail.villagerCircleInfo.pictures, items.url)" />
|
<img :src="items.url" alt="" v-for="(items, i) in detail.villagerCircleInfo.pictures" :key="i"
|
||||||
|
@click.stop="previewImage(detail.villagerCircleInfo.pictures, items.url)"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 分享 留言 点赞 -->
|
<!-- 分享 留言 点赞 -->
|
||||||
@@ -55,14 +56,14 @@
|
|||||||
<div class="icones" v-if="tabIndex0 != 3">
|
<div class="icones" v-if="tabIndex0 != 3">
|
||||||
<div class="img1">
|
<div class="img1">
|
||||||
<button class="buttons" open-type="share" :data-id="item.id">
|
<button class="buttons" open-type="share" :data-id="item.id">
|
||||||
<img src="https://cdn.cunwuyun.cn/dvcp/AppVillager/1.png" alt="" class="img11" />
|
<img src="https://cdn.cunwuyun.cn/dvcp/AppVillager/1.png" alt="" class="img11"/>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rightFlex">
|
<div class="rightFlex">
|
||||||
<img src="https://cdn.cunwuyun.cn/dvcp/AppVillager/2.png" alt="" class="img2" @click="poupShow = true" />
|
<img src="https://cdn.cunwuyun.cn/dvcp/AppVillager/2.png" alt="" class="img2" @click="poupShow = true"/>
|
||||||
<img src="https://cdn.cunwuyun.cn/dvcp/AppVillager/3.png" alt="" class="img3" @click="like" v-if="detail.upFlag == 0" />
|
<img src="https://cdn.cunwuyun.cn/dvcp/AppVillager/3.png" alt="" class="img3" @click="like" v-if="detail.upFlag == 0"/>
|
||||||
<img src="https://cdn.cunwuyun.cn/dvcp/AppVillager/33.png" alt="" class="img3" @click="like" v-if="detail.upFlag == 1" />
|
<img src="https://cdn.cunwuyun.cn/dvcp/AppVillager/33.png" alt="" class="img3" @click="like" v-if="detail.upFlag == 1"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -70,7 +71,7 @@
|
|||||||
<!-- 评论 -->
|
<!-- 评论 -->
|
||||||
<div class="reply" v-if="tabCurrent1 == 0 && (detail.upCount != 0 || commentsList.length)">
|
<div class="reply" v-if="tabCurrent1 == 0 && (detail.upCount != 0 || commentsList.length)">
|
||||||
<div class="replyTop" v-if="detail.upCount != 0">
|
<div class="replyTop" v-if="detail.upCount != 0">
|
||||||
<img src="https://cdn.cunwuyun.cn/dvcp/AppVillager/3.png" alt="" />
|
<img src="https://cdn.cunwuyun.cn/dvcp/AppVillager/3.png" alt=""/>
|
||||||
<span class="people" v-if="detail.upCount != 0 && detail.upUserNames">
|
<span class="people" v-if="detail.upCount != 0 && detail.upUserNames">
|
||||||
<span v-if="detail.upUserNames"> {{ detail.upUserNames }}</span>
|
<span v-if="detail.upUserNames"> {{ detail.upUserNames }}</span>
|
||||||
<span v-if="detail.upUserNames && detail.upCount * 1 > 3">等</span>
|
<span v-if="detail.upUserNames && detail.upCount * 1 > 3">等</span>
|
||||||
@@ -87,7 +88,7 @@
|
|||||||
|
|
||||||
<div class="reply" v-if="tabCurrent1 == 1 && (detail.villagerCircleInfo.upCount != 0 || commentsInfoList.length)">
|
<div class="reply" v-if="tabCurrent1 == 1 && (detail.villagerCircleInfo.upCount != 0 || commentsInfoList.length)">
|
||||||
<div class="replyTop">
|
<div class="replyTop">
|
||||||
<img src="https://cdn.cunwuyun.cn/dvcp/AppVillager/3.png" alt="" />
|
<img src="https://cdn.cunwuyun.cn/dvcp/AppVillager/3.png" alt=""/>
|
||||||
<span class="people" v-if="detail.villagerCircleInfo.upCount != 0 && upUserNamesList">
|
<span class="people" v-if="detail.villagerCircleInfo.upCount != 0 && upUserNamesList">
|
||||||
<span v-if="upUserNamesList"> {{ upUserNamesList }}</span>
|
<span v-if="upUserNamesList"> {{ upUserNamesList }}</span>
|
||||||
<span v-if="upUserNamesList && detail.villagerCircleInfo.upCount * 1 > 3">等</span>
|
<span v-if="upUserNamesList && detail.villagerCircleInfo.upCount * 1 > 3">等</span>
|
||||||
@@ -124,11 +125,11 @@
|
|||||||
</u-popup>
|
</u-popup>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<AiEmpty :description="`请往'我的-个人身份认证'<br/>进行身份认证`" v-else />
|
<AiEmpty :description="`请往'我的-个人身份认证'<br/>进行身份认证`" v-else/>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapState } from 'vuex'
|
import {mapState} from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'detail',
|
name: 'detail',
|
||||||
@@ -314,14 +315,14 @@ export default {
|
|||||||
},
|
},
|
||||||
onShareAppMessage() {
|
onShareAppMessage() {
|
||||||
let {
|
let {
|
||||||
detail: { id },
|
detail: {id},
|
||||||
tabCurrent1,
|
tabCurrent1,
|
||||||
} = this
|
} = this
|
||||||
return {
|
return {
|
||||||
title: this.detail.content,
|
title: this.detail.content,
|
||||||
path: this.$qs.stringifyUrl({
|
path: this.$qs.stringifyUrl({
|
||||||
url: '/pages/AppVillager/detail',
|
url: '/pages/AppVillager/detail',
|
||||||
query: { id, tabCurrent1 },
|
query: {id, tabCurrent1},
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user