Commit 6c8aa5b9 authored by 李超鹏's avatar 李超鹏

拍照页面

parent 8d762988
......@@ -7,21 +7,20 @@
<cover-image @click="changeLight" class="nav-lightIcon" mode="aspectFit" :src="icon_location"></cover-image>
</cover-view-->
<camera device-position="back" flash="off" style='width:100%; height:100vh;'>
<cover-view class="locationView">
<cover-view class="locationText u-m-l-20 u-m-t-30">{{longitude}}</cover-view>
<cover-view class="locationText u-m-l-20 u-m-t-10">{{latitude}}</cover-view>
<cover-view class="locationText u-m-l-20 u-m-t-10">{{address}}</cover-view>
<cover-view class="locationText u-m-l-20 u-m-t-10">{{date}}</cover-view>
</cover-view>
<cover-image class="liveWatermarkNormal" mode="aspectFit" src="@/static/live_mark.png"></cover-image>
</camera>
<cover-view class="bottomView">
<cover-image class='switchIcon' :src='icon_switch_white' @click="switchClick()"> </cover-image>
<cover-image class='takeIcon' :src='icon_take' @click="takePhoto()"> </cover-image>
<cover-image class='flashIcon' :src='icon_light_on_white' @click="flashClick()"> </cover-image>
</cover-view>
<cover-view class="locationView">
<text class="locationText u-m-l-20 u-m-t-30">{{longitude}}</text>
<text class="locationText u-m-l-20 u-m-t-10">{{latitude}}</text>
<text class="locationText u-m-l-20 u-m-t-10">{{address}}</text>
<text class="locationText u-m-l-20 u-m-t-10">{{date}}</text>
</cover-view>
<canvas v-show='showImage' canvas-id="canvas" style='width:1000px; height:1500px;'></canvas>
</view>
......@@ -263,22 +262,41 @@
}
.locationView{
z-index: 5;
/* z-index: 5;
width: 300rpx;
position: absolute;
left: 0;
bottom: 200rpx;
display: flex;
flex-direction: column;
padding-bottom: 20rpx;
padding-right: 20rpx; */
bottom: 200rpx;
padding-bottom: 20rpx;
padding-right: 20rpx;
z-index: 4;
position: absolute;
font-size: 14px;
line-height: 18px;
color: #fff;
}
.locationText{
font-size: 24rpx;
/* font-size: 24rpx;
color: #999999;
width: 260rpx;
width: 260rpx; */
margin: 2px 0;
}
.liveWatermarkNormal {
z-index: 3;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
width: 360rpx;
height: 90rpx;
z-index: 6;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment