Commit 278dfa23 authored by 和慭琛's avatar 和慭琛

第二轮提测版本

parent d56ffa8c
...@@ -28,7 +28,10 @@ ...@@ -28,7 +28,10 @@
"style": { "style": {
"navigationBarTitleText": "拍照", "navigationBarTitleText": "拍照",
"navigationBarBackgroundColor":"#333333", "navigationBarBackgroundColor":"#333333",
"navigationBarTextStyle":"#FFFFFF" "navigationBarTextStyle":"#FFFFFF",
"app-plus": {//app平台
"bounce": "none"//禁止滚动
}
} }
}, },
......
<template> <template>
<view class="blackBackColor"> <view class="blackBackColor">
<camera device-position="back" flash="off" style='width:100%; height:100vh;' @error="cameraRefuse"> <camera device-position="back" flash="off" style='width:100%; height:100vh; overflow: hidden;' @error="cameraRefuse">
<cover-view class="locationView"> <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-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">维度:{{latitude}}</cover-view>
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<cover-image class="liveWatermarkNormal" mode="aspectFit" :src="liveWaterMarkImage"></cover-image> <cover-image class="liveWatermarkNormal" mode="aspectFit" :src="liveWaterMarkImage"></cover-image>
</camera> </camera>
<cover-view class="bottomView"> <cover-view class="bottomView">
<cover-image class="backIcon" :src="icon_arrow_down" mode="" @click="goBack"></cover-image> <cover-image class="backIcon" :src="icon_arrow_down" mode="" @click="simpleBack"></cover-image>
<!--cover-image class='switchIcon' :src='icon_switch_white' @click="switchClick()"> </cover-image--> <!--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='takeIcon' :src='icon_take' @click="takePhoto()"> </cover-image>
...@@ -117,6 +117,13 @@ ...@@ -117,6 +117,13 @@
goPage() { goPage() {
// 进入图片预览页 // 进入图片预览页
}, },
simpleBack(){
uni.navigateBack({
//delta: 2
});
},
goBack() { goBack() {
let pages = getCurrentPages(); let pages = getCurrentPages();
...@@ -582,10 +589,11 @@ ...@@ -582,10 +589,11 @@
<style> <style>
.blackBackColor { .blackBackColor {
background-color: #000000; background-color: #000000;
overflow: hidden;
} }
.bottomView { .bottomView {
background-color: #000000; background-color: #333333;
z-index: 5; z-index: 5;
width: 100%; width: 100%;
height: 200rpx; height: 200rpx;
...@@ -605,7 +613,7 @@ ...@@ -605,7 +613,7 @@
} }
.takeIcon { .takeIcon {
background-color: #000000; background-color: #333333;
width: 150rpx; width: 150rpx;
height: 150rpx; height: 150rpx;
} }
......
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