This commit is contained in:
yanran200730
2023-06-09 16:07:06 +08:00

View File

@@ -106,7 +106,7 @@
<!-- <div class="bottom">个人名片</div> --> <!-- <div class="bottom">个人名片</div> -->
</div> </div>
<img :src="item.sdkFileUrl" alt="" v-if="item.msgType == 'emotion'" :style="[{width: item.width+'px'}, {height: item.height+'px'}]"> <img :src="item.sdkFileUrl" alt="" v-if="item.msgType == 'emotion'" :style="[{width: item.width/2+'px'}, {height: item.height/2+'px'}]">
<div class="map-info" v-if="item.msgType == 'location'"> <div class="map-info" v-if="item.msgType == 'location'">
<div :id="`map${index}`" class="map-content"></div> <div :id="`map${index}`" class="map-content"></div>
@@ -115,6 +115,31 @@
<p>{{item.address}}</p> <p>{{item.address}}</p>
</div> </div>
</div> </div>
<div class="card-info" v-if="item.msgType == 'weapp'">
<div class="top">
<div class="card-left">
<h3>{{item.description}}</h3>
<p>{{item.title}}</p>
<div>{{item.username}}{{item.displayname}}</div>
</div>
</div>
<div class="bottom">小程序</div>
</div>
<div class="card-info" v-if="item.msgType == 'link'">
<div class="top">
<div class="card-left">
<p>{{item.title}}</p>
<div>{{item.username}}</div>
</div>
<div class="card-right" v-if="item.imageUrl">
<img :src="item.imageUrl" alt="" >
</div>
</div>
<div class="bottom">分享链接</div>
</div>
@@ -186,7 +211,7 @@
this.id = this.params.id this.id = this.params.id
this.getList() this.getList()
} }
this.getList() // this.getList()
}, },
methods: { methods: {
@@ -519,8 +544,7 @@
} }
.img-list { .img-list {
img { img {
width: 400px; max-width: 400px;
height: 400px;
} }
} }
.voice-info { .voice-info {