Commit 42e0ed77 authored by 李俊赕's avatar 李俊赕

拍照规范页面-提交

parent ccfdb906
<template> <template>
<view class="standard-box" > <cover-view class="standard-box" >
<swiper class="swiper-box" :current="swiperCurrent" @transition="transition" @animationfinish="animationfinish"> <swiper class="swiper-box" :current="swiperCurrent" @transition="transition" @animationfinish="animationfinish">
<swiper-item class="swiper-item" key="swiper1"> <swiper-item class="swiper-item" key="swiper1">
<view class="title"> <view class="title">
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
ref="uTabs" :list="tabList" :current="current" ref="uTabs" :list="tabList" :current="current"
@change="tabsChange" :is-scroll="false" swiperWidth="750"></u-tabs-swiper> @change="tabsChange" :is-scroll="false" swiperWidth="750"></u-tabs-swiper>
</view> </view>
</view> </cover-view>
</template> </template>
<script> <script>
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
position: absolute; position: absolute;
left:0;right:0; left:0;right:0;
/* height: calc(100vh - 240rpx); */ /* height: calc(100vh - 240rpx); */
z-index: 100;
bottom:240rpx; bottom:240rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
......
...@@ -24,12 +24,12 @@ ...@@ -24,12 +24,12 @@
<cover-image class='icon' src='/static/photo/icon-standard.png' @click="standardShow = true"> </cover-image> <cover-image class='icon' src='/static/photo/icon-standard.png' @click="standardShow = true"> </cover-image>
</cover-view> </cover-view>
<canvas canvas-id="canvas" class="canvas" :style="{'width':750 + 'rpx','height': cameraHeight + 'rpx'}"></canvas> <canvas canvas-id="canvas" class="canvas" :style="{'width':750 + 'rpx','height': cameraHeight + 'rpx'}"></canvas>
<view class="page-mask" v-if="standardShow"> <cover-view class="page-mask" v-if="standardShow">
<photo-standard :currentItem="currentItem" /> <photo-standard :currentItem="currentItem" />
<cover-view class="btn-close" @click="standardShow = false"> <cover-view class="btn-close" @click="standardShow = false">
<cover-image class="icon icon-close" mode="aspectFit" src="/static/photo/icon-close.png"></cover-image> <cover-image class="icon icon-close" mode="aspectFit" src="/static/photo/icon-close.png"></cover-image>
</cover-view> </cover-view>
</view> </cover-view>
</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