Commit 1011f881 authored by 李俊赕's avatar 李俊赕

拍照头部问题

parent 0b0ad5c8
......@@ -10,7 +10,7 @@
src="/static/photo/icon-setting.png"></cover-image>
</cover-view>
</cover-view>
<camera class="camera-box" v-if="cameraChange" v-show="!standardShow" :device-position="cameraInfo.devicePosition"
<camera class="camera-box" v-if="cameraChange&&!standardShow" :device-position="cameraInfo.devicePosition"
:flash="cameraInfo.flash" :style="{'height':cameraHeight + 'rpx'}" @error="cameraError">
<cover-view class="mark-box">
<cover-view class="txt big" >{{titleTxt}}</cover-view>
......@@ -79,7 +79,7 @@
camera: false, // 相机授权
location: false, // 位置授权
},
navHeight: 0,
navHeight: 130,
cameraWidth: 750,
cameraHeight: 1000, // (4 / 3 * 750) 图片比例4:3
ratio: 0,
......@@ -202,6 +202,7 @@
initData() {
const globalData = getApp().globalData
this.navHeight = globalData.navHeight
console.log(globalData.navHeight,'globalData.navHeight')
this.ratio = globalData.screenHeight / globalData.rpxScreenHeight
this.waterSetting = globalData.photo.waterSetting
if(this.shadowInitShow){
......
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