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">
...@@ -474,7 +474,17 @@ ...@@ -474,7 +474,17 @@
} }
} }
</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;
......
This diff is collapsed.
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