diff --git a/pages/upload/camera_capture.nvue b/pages/upload/camera_capture.nvue index ecc2701..cf324f3 100644 --- a/pages/upload/camera_capture.nvue +++ b/pages/upload/camera_capture.nvue @@ -10,25 +10,50 @@ @onCameraOpened="onCameraOpened" > - - - {{ capturedList.length > 0 ? '已拍 '+capturedList.length+'/9 张' : '拍照' }} - 确认 ({{ capturedList.length }}) - - - - - 取消 - - + + + + + + - - + + {{ capturedList.length > 0 ? '已拍 ' + capturedList.length + '/9' : '拍照' }} + + + + 完成 + - - + + + + + + + {{ capturedList.length }} + + + + + + + + + + + + + + + + + + + + @@ -94,12 +119,13 @@ }, deletePhoto(idx) { this.capturedList.splice(idx, 1) + // 删完如果为0,缩略图自动隐藏 }, goBack() { if (this.capturedList.length > 0) { uni.showModal({ title: '提示', - content: '确定取消拍照吗?已拍照片将丢失', + content: '确定退出拍照?已拍照片将丢失', success: function(res) { if (res.confirm) { uni.navigateBack() } } @@ -125,105 +151,189 @@