<template>
    <view>
        <view class="claim-content">
            <uni-list>
                <uni-list-item title="充值发票" note="支持账户余额充值金额开具发票" clickable showArrow @click="payCell('3')"/>
                <uni-list-item title="开票历史" clickable showArrow @click="recordCell"/>
            </uni-list>
        </view>
    </view>
</template>

<script>
export default {
  data() {
    return {}
  },
  methods: {
    payCell(i) {
      // invoiceType	是	Integer	发票类型。1-停车记录，2-会员卡，3-余额充值
      uni.setStorageSync('type',i)  // 存储点击的是 什么类型。  1-停车记录，2-会员卡，3-余额充值
      uni.navigateTo({
        url: '../invoiceTitle/invoiceTitle'

      });
    },
    recordCell() {
      uni.navigateTo({
        url: '../invoiceRecord/invoiceRecord'
      });
    }
  }
}
</script>

<style>

</style>
