更新
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
<template>
|
||||
<view class="mapIcon">
|
||||
<view class="Position">
|
||||
<image @click="$emit('reset')" v-if="polyline.length==0" src="https://xoi-support.oss-cn-hangzhou.aliyuncs.com/星油运营小程序/myPosition.png" ></image>
|
||||
<image @click="$emit('swich',true);isShow.strategy=!isShow.strategy" v-else src="../../../static/img/trajectory.png" ></image>
|
||||
<view class="Position">
|
||||
<image @click="$emit('reset')" v-if="polyline.length==0"
|
||||
src="https://xoi-support.oss-cn-hangzhou.aliyuncs.com/星油运营小程序/myPosition.png"></image>
|
||||
<image @click="$emit('swich',true);isShow.strategy=!isShow.strategy" v-else
|
||||
src="../../../static/img/trajectory.png"></image>
|
||||
</view>
|
||||
<!-- <uni-icons v-if="polyline.length!==0" @click=" isShow.strategy=!isShow.strategy" type="map-pin-ellipse" size='25'></uni-icons> -->
|
||||
<view @click="strategy('LEAST_TIME')"
|
||||
@@ -111,18 +113,21 @@
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.Position image{
|
||||
width: 45rpx;height: 45rpx;
|
||||
.Position image {
|
||||
width: 45rpx;
|
||||
height: 45rpx;
|
||||
}
|
||||
.Position{
|
||||
|
||||
.Position {
|
||||
border-radius: 10px;
|
||||
border-radius: 10px;
|
||||
background-color: #FFFFFF;
|
||||
padding: 10rpx;
|
||||
width: min-content;
|
||||
float: right;
|
||||
|
||||
border-radius: 10px;
|
||||
background-color: #FFFFFF;
|
||||
padding: 10rpx;
|
||||
width: min-content;
|
||||
float: right;
|
||||
|
||||
}
|
||||
|
||||
.seleStrategy {
|
||||
height: 80rpx;
|
||||
width: 180rpx;
|
||||
@@ -132,7 +137,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: top .3s, right 0.3s, opacity 0s,display 0s;
|
||||
transition: top .3s, right 0.3s, opacity 0s, display 0s;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user