Commit 5cfa8f92 authored by Damon's avatar Damon

相机组件保存图片调整

parent 847d71fb
......@@ -7,7 +7,7 @@
src="/static/photo/icon-switch.png"></cover-image>
<cover-image @click="setCameraInfo('flash')" class="icon" mode="aspectFit"
:src="'/static/photo/icon-light-' + cameraInfo.flash +'.png'"></cover-image>
<cover-image @click="changeType(3)" class="icon" mode="aspectFit"
<cover-image v-if="currentItem.system_id" @click="changeType(3)" class="icon" mode="aspectFit"
src="/static/photo/icon-setting.png"></cover-image>
</cover-view>
</cover-view>
......@@ -64,11 +64,7 @@
system_id: '', // 系统ID
brand_id: '', // 品牌ID
classify_id: '', // 分类ID
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'
],
images: [], // 拍照要求示意图
main_point: [] // 要点
}
}
......@@ -114,7 +110,8 @@
},
created(e) {
const photo = getApp().globalData.photo
getApp().trackPage('拍照页')
getApp().trackPage('拍照页')
photo.allImages = []
// this.ctx = uni.createCameraContext();
this.updateTime()
this.getLocation()
......
......@@ -23,8 +23,8 @@ uni.hideTabBar()
```json
{
_id: '', // 保存图片时需要,必传
system_id: '', // 获取水印列表需要,必传
_id: '', // 保存图片时需要
system_id: '', // 获取水印列表需要
images: [ // 拍照示意图
'https://qn-static.banshouhui.com/live_mark.png',
'https://qn-static.banshouhui.com/live_mark.png',
......
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