页面修改
This commit is contained in:
parent
3088532b46
commit
2c2364849c
@ -5,14 +5,17 @@
|
||||
</view>
|
||||
<view v-else>
|
||||
<view class="content">
|
||||
<u-toast ref="uToast"></u-toast>
|
||||
<!-- <u-toast ref="uToast"></u-toast> -->
|
||||
<view class="map">
|
||||
<map :class="mapClass" id="map" @markertap='mapFun' :enable-zoom="true" :polyline="polyline"
|
||||
:markers='markers' :scale="scale" style="width:100%;height: 70%;"
|
||||
:markers='markers' :scale="scale" style="width:100%;height: 70%;background-color: red;"
|
||||
:latitude="markers[0].latitude" :enable-scroll="true" :longitude="markers[0].longitude">
|
||||
<cover-image class="map_btn" @tap="test" src="../../static/img/logistics/DH.png">
|
||||
</cover-image>
|
||||
<cover-view class="cover" v-if="showToast">
|
||||
</cover-view>
|
||||
</map>
|
||||
|
||||
<view class="map_address">
|
||||
<view style="display: flex;">
|
||||
<view style="flex-shrink: 0;margin-right: 16rpx;"><text class="cir"
|
||||
@ -105,6 +108,7 @@
|
||||
|
||||
<!-- 组件 -->
|
||||
<u-overlay :show="showToast" @click="showToast = false">
|
||||
<!-- <u-overlay :show="false" @click="showToast = false"> -->
|
||||
<view class="warp">
|
||||
<view class="rect">
|
||||
<view class="cont">
|
||||
@ -327,6 +331,11 @@
|
||||
});
|
||||
},
|
||||
qrqodeFn() {
|
||||
|
||||
|
||||
this.showToast = true
|
||||
return
|
||||
|
||||
let that = this
|
||||
uni.scanCode({
|
||||
onlyFromCamera: true,
|
||||
@ -493,4 +502,14 @@
|
||||
font-size: 35.05rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.cover {
|
||||
/* width: 100rpx;
|
||||
height: 100rpx;
|
||||
background-color: red; */
|
||||
z-index: 999999;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
</style>
|
Loading…
x
Reference in New Issue
Block a user