import { ComponentClass } from 'react'
import Taro, { Component } from '@tarojs/taro'
import { View } from '@tarojs/components'
import './index.scss'
type PageOwnProps = {
className?: string
account: any
yingxiao?: any
keyong?: any
onDetailClick?: any
type: 'user' | 'shop'
}
type IProps = PageOwnProps
interface Index {
props: IProps;
}
class Index extends Component {
static options = {
addGlobalClass: true
}
handleClick = () => {
this.props.onDetailClick()
}
render() {
const { account, yingxiao, keyong, type, className } = this.props
return (
账户总额(元)
{account}
{
type === 'shop' ?
收支明细
:
收支明细 >
}
{
type === 'shop' &&
营销费用(元)
{yingxiao}
可用金额(元)
{keyong}
}
温馨提示
1. 提现申请会在1-3个工作日处理。
2. 请在提现微信账号查询到账情况,微信:我-->钱包-->零钱-->零钱明细。
3. 提现金额不能少于1元,提现成功会收取1%的手续费。
)
}
}
export default Index as ComponentClass