地图禁止拖动
This commit is contained in:
@@ -75,7 +75,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>
|
||||
@@ -234,8 +236,8 @@ export default {
|
||||
params: {
|
||||
current: this.current,
|
||||
size: 10,
|
||||
msgType: this.tabList[this.currentTabs].value,
|
||||
// msgType: 'location',
|
||||
// msgType: this.tabList[this.currentTabs].value,
|
||||
msgType: 'location',
|
||||
toUserId: this.toUserId,
|
||||
roomId: this.roomId,
|
||||
type: this.type,
|
||||
|
||||
Reference in New Issue
Block a user