<template>
	<view style="position: relative;">
		<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="top: -30rpx;"></text>
		<menu-list v-if="menuList != 'undefined '" :menuList="minorMenuLists"></menu-list>
	</view>
</template>

<script>
import  MenuList from "@/components/menuList/menuList.vue"
	
	export default {
		components:{ MenuList },
		data() {
			return {
				minorMenuLists: [{
						title: '房贷推销计算器',
						icon: 'shareEcode',
						link: '/sfp/housePurchase/housePurchase',
						isOpen: true,
						isShow: true,
						isTips: false,
					},
					{
						title: '子女教育计算器',
						icon: 'card',
						link: '/sfp/childEdu/childEdu',
						isOpen: true,
						isShow: true,
						isTips: false,
					},
					// {
					// 	title: '货币时间价值计算器',
					// 	icon: 'myCertify',
					// 	link: '',
					// 	isOpen: true,
					// 	isShow: true,
					// 	isTips: false,
					// },
					{
						title: '保单利率计算器',
						icon: 'myCertify',
						link: '/sfp/index/index',
						isOpen: true,
						isShow: true,
						isTips: false,
					},
				]
			}
		},
		methods:{
			goBack(){
				uni.switchTab({
					url: '/pages/product/product'
				});
			}
		}
	}
</script>

<style>
</style>
