import { View } from "@tarojs/components"
import withLayout from '@/layouts'
import CustomNav from "@/components/CustomNav"
import BankCard from './Card'
import './style.less'

export default withLayout((props) => {
  const unBind=(val)=>{
    console.log(val)
  }
  return (
    <View className='page-index'>
      <View className='index-navbar'>
        <CustomNav title='我的银行卡' />
      </View>
      <View className='index-container bankCardBox'>
        <BankCard type='abc' value='6217001700003637161' onChange={()=>unBind(6)} />
      </View>
    </View>
  )
})
