小程序农机手端

123456789101112131415161718192021
  1. import { View } from "@tarojs/components"
  2. import withLayout from '@/layouts'
  3. import CustomNav from "@/components/CustomNav"
  4. import BankCard from './Card'
  5. import './style.less'
  6. export default withLayout((props) => {
  7. const unBind=(val)=>{
  8. console.log(val)
  9. }
  10. return (
  11. <View className='page-index'>
  12. <View className='index-navbar'>
  13. <CustomNav title='我的银行卡' />
  14. </View>
  15. <View className='index-container bankCardBox'>
  16. <BankCard type='abc' value='6217001700003637161' onChange={()=>unBind(6)} />
  17. </View>
  18. </View>
  19. )
  20. })