agree-list.nvue 587 字节
Newer Older
芊里 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
<template>
	<view class="content">
		<uni-list class="content">
			<uni-list-item v-for="(item , index) in agreeList" :key="index" :title="item.title" :to="item.to"></uni-list-item>
		</uni-list>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				agreeList:[
					{
						title:'隐私政策',
						to:'./privacy/privacy'
					},
					{
						title:'服务协议',
						to:'./service/service'
					}
				]
			}
		}
	}
</script>

<style>
	.content{
		width: 750rpx;
		display: flex;
		flex-direction: column;
		/* align-items: center; */
		flex: 1;
	}
</style>