<template>
	<!-- 拍照页面 -->
	<!--
	照相机
	<view>
	    <camera ref="camera" device-position="back" flash="off" @error="error" style="width: 100%; height: 300px;"></camera>
	    <button type="primary" @click="takePhoto">拍照</button>
	    <view>预览</view>
	    <image mode="widthFix" :src="src"></image>
	</view>
	-->
	<!--
	上传文件
		<view class="container">
				<view class="example-body">
					<uni-file-picker limit="9" title="最多选择9张图片"></uni-file-picker>
				</view>
				<view class="example-body">
					<uni-file-picker limit="9" file-mediatype="video" title="最多选择9个视频"></uni-file-picker>
				</view>
		</view>
-->

</template>

<script>
	/*
	照相机
	export default {
		data() {
			return {
				src: ""
			};
		},
		methods: {
			takePhoto() {
				this.$nextTick(() => {
					const ctx = this.$refs.camera;
					ctx.takePhoto({
						quality: 'high',
						success: (res) => {
							this.src = res.tempImagePath;
						}
					});
				});
			},
			error(e) {
				console.log(e.detail);
			}
		}
	};
	*/
   /*
   上传文件
	export default {
		data() {
			return {
				imageStyles: {
					width: 64,
					height: 64,
					border: {
						radius: '50%'
					}
				},
				listStyles: {
					// 是否显示边框
					border: true,
					// 是否显示分隔线
					dividline: true,
					// 线条样式
					borderStyle: {
						width: 1,
						color: 'blue',
						style: 'dashed',
						radius: 2
					}
				},
				fileLists: [{
					url: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/shuijiao-small.jpg',
					extname: 'png',
					name: 'shuijiao.png'
				}, {
					url: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/shuijiao-small.jpg',
					extname: 'png',
					name: 'uniapp-logo.png'
				}, {
					url: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/shuijiao-small.jpg',
					extname: 'png',
					name: 'shuijiao.png'
				}]
			}
		},
		methods: {

		}
	}
*/

	



</script>
<style lang="scss">
	/*
	上传文件
	.example-body {
		padding: 10px;
		padding-top: 0;
	}

	.custom-image-box {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}

	.text {
		font-size: 14px;
		color: #333;
	}
	*/
	
</style>



