Commit 131a7f15 authored by 李俊赕's avatar 李俊赕

edit-standard

parent b89fd0e9
<template>
<view class="standard-box" :style="{'height':height + 'rpx'}">
<view class="standard-box">
<swiper class="swiper-box" :current="swiperCurrent" @transition="transition" @animationfinish="animationfinish">
<swiper-item class="swiper-item">
<!-- <swiper-item class="swiper-item" key="swiper1">
<view class="title">
拍照要求
</view>
......@@ -13,8 +13,8 @@
注意:人桩合影必须上传至少两张相片,一张
</view>
</view>
</swiper-item>
<swiper-item class="swiper-item" v-for="(src, index) in item.images" :key="index">
</swiper-item> -->
<swiper-item class="swiper-item" v-for="(src, index) in tabs" :key="index">
<cover-image bindtap="previewImage(item,index)" class="icon" mode="aspectFit" :src="src"></cover-image>
</swiper-item>
</swiper>
......@@ -26,13 +26,11 @@
<script>
export default {
prop:{
props:{
item:{
type:'Object',
detault:()=>{
return {
images:['https://qn-static.banshouhui.com/live_mark.png','https://qn-static.banshouhui.com/live_mark.png']
}
return {}
}
}
},
......@@ -44,6 +42,8 @@
name: '青春'
}, {
name: '之约'
}, {
name: '之约1'
}],
tabs:[{
title:'记录的距离大家零点九零杰拉德杰拉德建立的连接就111111111111',
......@@ -123,6 +123,7 @@
.swiper-box{
width: 690rpx;
min-height: 690rpx;
margin-bottom: 150rpx;
border-radius: 12rpx;
background-color: #fff;
}
......
......@@ -24,8 +24,8 @@
<cover-image class='icon' src='/static/photo/icon-standard.png' @click="showStandard"> </cover-image>
</cover-view>
<canvas canvas-id="canvas" class="canvas" :style="{'width':750 + 'rpx','height': cameraHeight + 'rpx'}"></canvas>
<page-container class="page-mask" position="top" :overlay-style="{'background':'rgba(0,0,0,0.2)'}">
<standard></standard>
<page-container class="page-mask" v-show="standardShow">
<standard :item="currentItem"></standard>
<cover-view class="btn-close">
<cover-image class="icon icon-close" mode="aspectFit" src="/static/photo/icon-close.png"></cover-image>
</cover-view>
......@@ -63,7 +63,10 @@
// canvasWidth: 0,
// canvasHeight: 0,
// restuleImage: '',
currentItem:{
images:['https://qn-static.banshouhui.com/live_mark.png','https://qn-static.banshouhui.com/live_mark.png']
},
standardShow:true,
waterInfo: {
longitude: '', // 经度
latitude: '', // 维度
......
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