敏感词记录
This commit is contained in:
@@ -72,7 +72,9 @@
|
||||
<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'" @click="openMap(item)">
|
||||
<map style="width: 100%; height: 100%;" :latitude="item.lat" :longitude="item.lng" :scale="item.zoom"></map>
|
||||
<map style="width: 100%; height: 100%;" :latitude="item.lat" :longitude="item.lng" :scale="item.zoom" :enable-zoom="false" :enable-scroll="false">
|
||||
<cover-view style='width:100%;height:100%'></cover-view>
|
||||
</map>
|
||||
<div class="address-text">
|
||||
<p>{{item.title}}</p>
|
||||
<p>{{item.address}}</p>
|
||||
@@ -157,6 +159,7 @@ export default {
|
||||
}
|
||||
this.id = this.params.userId
|
||||
this.scrollHeight = uni.getSystemInfoSync().windowHeight - 56
|
||||
this.injectJWeixin('openLocation')
|
||||
this.getKeywordList()
|
||||
},
|
||||
onShow() {
|
||||
@@ -380,6 +383,9 @@ export default {
|
||||
name: row.title, // 位置名
|
||||
address: row.address, // 地址详情说明
|
||||
scale: row.zoom, // 地图缩放级别,整形值,范围从1~28。默认为16
|
||||
fail: () => {
|
||||
location.reload()
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user