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

edit-standard

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