Commit d48597dc authored by Damon's avatar Damon

拍照全屏

parent 6a9bcfb2
<template> <template>
<view> <view class="camera">
<view class="camera-container" v-if="showType === 1"> <view class="camera-container" v-if="showType === 1">
<cover-view class="header-box" :style="{'height':navHeight/2 + 'px'}"> <cover-view class="header-box" :style="{'height':navHeight/2 + 'px'}">
<cover-view class="inner"> <cover-view class="inner">
...@@ -475,6 +475,16 @@ ...@@ -475,6 +475,16 @@
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.camera {
position:fixed;
padding:0;
margin:0;
top:0;
left:0;
width: 100%;
height: 100%;
z-index: 999999;
}
.camera-container { .camera-container {
// padding-top:var(--status-bar-height); // padding-top:var(--status-bar-height);
min-height: 100vh; min-height: 100vh;
......
<template> <template>
<view> <view class="order-wrap">
<view v-if="!takeStatus" class="order-wrap">
<u-navbar back-icon-color="#FFFFFF" :background="background" :border-bottom="false"></u-navbar> <u-navbar back-icon-color="#FFFFFF" :background="background" :border-bottom="false"></u-navbar>
<view class="header"> <view class="header">
<view class="title">订单信息</view> <view class="title">订单信息</view>
...@@ -146,9 +145,8 @@ ...@@ -146,9 +145,8 @@
</view> </view>
</view> </view>
</view> </view>
<PopView title="查看交互规范" message="为完善交付质量,请查看对应的交付规范" :visible.sync="visibale" @click="handleClick"/>
</view>
<take-photo type="test" v-if="takeStatus" @close="closeTake"></take-photo> <take-photo type="test" v-if="takeStatus" @close="closeTake"></take-photo>
<PopView title="查看交互规范" message="为完善交付质量,请查看对应的交付规范" :visible.sync="visibale" @click="handleClick"/>
</view> </view>
</template> </template>
......
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