<template>
	<view>
		<view class="card" v-for="(item,index) in menuList" :key="index" @click="jump(item.path)">
			<view style="display: flex;">
				<image style="width: 40rpx;height: 40rpx;margin-top: 4rpx;" :src="item.icon" ></image>
				<view class="center">
					<text class="padding-left-10">{{item.name}}</text>
				</view>
			</view>
			<view class="">
				<text class="cuIcon-right"></text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				menuList:[
					{
						icon:'/static/icon/shangjia.png',
						name:'商家认证',
						path:'/pages/mine/card/pay-setting'
					},
					{
						icon:'/static/icon/bank.png',
						name:'银行卡',
						path:'/pages/mine/card/pay-setting'
					},
					{
						icon:'/static/icon/xiazai.png',
						name:'物料下载',
						path:'/pages/mine/card/pay-setting'
					},
					{
						icon:'/static/icon/kefu.png',
						name:'客服',
						path:'/pages/mine/card/pay-setting'
					},
					{
						icon:'/static/icon/wendang.png',
						name:'开发文档',
						path:'/pages/mine/card/pay-setting'
					}
				]
			}
		},
		methods: {
			jump(url){
				uni.navigateTo({
					url
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.card{
		display: flex;
		justify-content: space-between;
		margin: 20rpx 0;
		padding: 30rpx;
		background-color: #FFFFFF;
	}
</style>
