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.

50 lines
710 B

<template>
<view class="map-btn">
<text class="btn-text-map" @click="clickNav()">地图导航</text>
</view>
</template>
<script>
export default {
data() {
return {
}
},
onLoad() {
},
methods: {
clickNav() {
uni.$emit('navtionClcik', {
msg: '单击导航按钮了'
})
},
}
}
</script>
<style>
.map-btn {
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.btn-text-map {
width: 180rpx;
height: 68rpx;
text-align: center;
line-height: 68rpx;
background: #3976F1;
border-radius: 90rpx;
box-shadow: 0px 3rpx 6rpx 0px rgba(0, 0, 0, 0.102);
color: #fff;
font-size: 28rpx;
font-weight: 400;
}
</style>