storage.vue 811 字节
Newer Older
study夏羽's avatar
study夏羽 已提交
1 2 3
<template>
	<view class="content">
		<view class="btn-list">
4 5 6 7
			<button type="primary" plain @click="pageTo('/pages/storage/space-storage')">空间内置云存储</button>
			<text class="tips">演示空间自带的云储存</text>
			<button type="primary" plain @click="pageTo('/pages/storage/ext-storage-qiniu')">扩展存储-七牛云</button>
			<text class="tips">演示扩展存储-七牛云</text>
study夏羽's avatar
study夏羽 已提交
8 9 10 11 12 13 14 15 16 17 18
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		mounted() {},
		methods: {
19 20 21 22
			pageTo(url){
				uni.navigateTo({
					url
				});
study夏羽's avatar
study夏羽 已提交
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
			}
		}
	}
</script>

<style>
	.content {
		padding-bottom: 30px;
	}

	.tips {
		color: #999999;
		font-size: 14px;
		padding: 20px 30px;
	}

	.btn-list {
		padding: 0px 30px;
	}

	.btn-list button {
		margin-top: 20px;
	}

</style>