坐标拾取器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
locationPick/pages/index/index.vue

42 lines
651 B

<template>
<view class="container">
<button @click="pick(1)">点位拾取</button>
<button @click="pick(2)">线路绘制</button>
<button @click="pick(3)">我的位置</button>
</view>
</template>
<script>
export default {
data() {
return {
}
},
computed: {},
onLoad() {},
onReady() {},
methods: {
pick(val){
if(val == 1){
uni.navigateTo({
url:'pointPick/pointPick'
})
}else if(val == 2){
uni.navigateTo({
url:'lineDraw/lineDraw'
})
}else{
uni.navigateTo({
url:'myLocation/myLocation'
})
}
}
}
};
</script>
<style lang="scss">
.container{
margin: 50rpx 40rpx;
}
</style>