提交 ded1987d 作者: chenkunfeng

自定义返回

上级 1520b3d9
<template> <template>
<view class="network-map-warp"> <view class="network-map-warp">
<view id="map-content" :class="[isclick ? 'map-content-click' : 'map-content']"></view> <view id="map-content" :class="[isclick ? 'map-content-click' : 'map-content']"></view>
<view class="network-return"> <view class="network-return" @click="returns">
<image src="../../static/img/return.png" mode="widthFix" /> <image src="../../static/img/return.png" mode="widthFix" />
</view> </view>
<!-- 位置图标 --> <!-- 位置图标 -->
...@@ -130,6 +130,10 @@ export default { ...@@ -130,6 +130,10 @@ export default {
handleSelect(e) { handleSelect(e) {
this.setCenterPoint(e) this.setCenterPoint(e)
// console.log('网点点击事件 --->', e) // console.log('网点点击事件 --->', e)
},
// 返回上一页
returns() {
uni.navigateBack()
} }
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论