Commit 8938ec36 authored by 李俊赕's avatar 李俊赕

视图-拍照规范页面

parent d12246c4
<template>
<view class="standard-box" v-if="currentItem">
<view class="standard-box">
简单了解的了解到了家里的经历的阶段了
<swiper class="swiper-box" :current="swiperCurrent" @transition="transition" @animationfinish="animationfinish">
<swiper-item class="swiper-item" key="swiper1">
<view class="title">
......@@ -151,6 +152,7 @@
flex-direction: column;
justify-content: center;
align-items: center;
color:#fff;
}
.swiper-box{
width: 690rpx;
......
......@@ -279,7 +279,7 @@
"query": "" //启动参数,在页面的onLoad函数里面得到
},{
"name": "拍照-规范", //模式名称
"path": "pages/photo/product", //启动页面,必选
"path": "pages/photo/take", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
},{
"name": "基本信息", //模式名称
......
......@@ -8,7 +8,7 @@
<cover-image @click="goPage('/pages/photo/markSetting')" class="icon" mode="aspectFit" src="/static/photo/icon-setting.png"></cover-image>
</cover-view>
</cover-view>
<camera class="camera-box" v-if="cameraChange" :device-position="cameraInfo.devicePosition" :flash="cameraInfo.flash" :style="{'height':cameraHeight + 'rpx'}"
<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 u-m-l-20 u-m-t-30">经度:{{waterInfo.longitude || '正在获取中...'}}</cover-view>
......@@ -18,18 +18,18 @@
</cover-view>
<cover-image class="mark-water" mode="aspectFit" :src="waterInfo.markImage"></cover-image>
</camera>
<cover-view class="bottom-box" v-show="!standardShow">
<cover-view class="bottom-box" v-if="!standardShow">
<cover-image class="icon" src='/static/photo/icon-back.png' mode="" @click="goBack"></cover-image>
<cover-image class='icon-take icon' src='/static/photo/icon-take.png' @click="takePhoto"> </cover-image>
<cover-image class='icon' src='/static/photo/icon-standard.png' @click="standardShow = true"> </cover-image>
</cover-view>
<canvas canvas-id="canvas" id="photoCanvas" class="canvas" :style="{'width':750 + 'rpx','height': cameraHeight + 'rpx'}"></canvas>
<cover-view class="page-mask" v-if="standardShow">
<view v-show="standardShow" class="page-mask" :z-index="10000">
<photo-standard :currentItem="currentItem" />
<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-view>
</cover-view>
<view class="btn-close" @click="standardShow = false">
<image class="icon icon-close" mode="aspectFit" src="/static/photo/icon-close.png"></cover-image>
</view>
</view>
</view>
</template>
......@@ -50,10 +50,10 @@
name:'111',
images:['https://qn-static.banshouhui.com/live_mark.png','https://qn-static.banshouhui.com/live_mark.png','https://qn-static.banshouhui.com/live_mark.png'],
},
standardShow:false,
standardShow:true,
cameraInfo:{
devicePosition:'front',
flash:'off'
flash:'auto'
},
waterInfo: {
longitude: '', // 经度
......@@ -494,7 +494,7 @@
.page-mask{
position: fixed;
bottom:0;
z-index: 100;
z-index: 1000;
width:750rpx;
height:100vh;
padding:0 30rpx;
......
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