<template>
	<view>
		<!-- 菜单功能 -->
		<view class="backcor6 all-container  pd-main" >
			<view class="funcss" v-for="(item,index) in funcList" :key="index" @click="jumpdesfun(item)">
				<image :src="item.img" mode="widthFix" class="funicon"></image>
				<view class="width100 font14 mart5">{{item.title}}</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return{
				funcList:[
					{
						title: '申请分期',
						url: './applyPeriod',
						img: '/static/img/home4.png'
					},
					{
						title: '贴息列表',
						url: './feePaidList',
						img: '/static/img/home4.png'
					}
					
				],
				merNo:''
			}
		},
		onLoad(option){
			this.merNo = option.merNo;
		},
		methods:{
			/**
			 * 跳转功能
			 */
			jumpdesfun(item) {
				uni.navigateTo({
					url: item.url+"?merNo="+this.merNo
				})
				
			},
		}
	}
</script>

<style lang="scss" scoped>
// 菜单
	.funcss {
		width: 33%;
		height: 100px;
		border-right: 1px solid #e8e8e8;
		border-bottom: 1px solid #e8e8e8;
		background-color: #FFFFFF;
		text-align: center;
		display: inline-block;

		.funicon {
			width: 35px;
			padding-top: 15px;
		}
	}
</style>