|
@@ -27,9 +27,7 @@
|
|
|
</view>
|
|
|
|
|
|
<view class="nav-right num">
|
|
|
- <view class="text-grey text-xs">
|
|
|
- <image @click="mapLocation(item)" src="../../static/nav-icon.png" style="width:25rpx;height:25rpx;margin-right:26rpx"></image>
|
|
|
- </view>
|
|
|
+
|
|
|
</view>
|
|
|
<view class="move">
|
|
|
<view class="bg-grey" @click.stop="editItem(item)">编辑</view>
|
|
@@ -102,17 +100,7 @@
|
|
|
}.bind(this)
|
|
|
});
|
|
|
},
|
|
|
-
|
|
|
- // 打开导航
|
|
|
- mapLocation(item) {
|
|
|
- uni.openLocation({
|
|
|
- latitude: parseInt(item.latitude),
|
|
|
- longitude: parseInt(item.longitude),
|
|
|
- success: function() {
|
|
|
- // console.log('success');
|
|
|
- }
|
|
|
- });
|
|
|
- },
|
|
|
+
|
|
|
|
|
|
async setDelSite(ming = {}) {
|
|
|
const res = await this.$myRequest({
|