123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>详情-提现记录-创业帮</title>
- <meta name="keywords" content="详情-提现记录-创业帮">
- <meta name="description" content="详情-提现记录-创业帮">
- <meta content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,shrink-to-fit=no,user-scalable=no" name="viewport" viewport="cover">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
- <meta content="telephone=no" name="format-detection">
- <meta content="email=no" name="format-detection">
- <meta name="apple-mobile-web-app-title" content="详情-提现记录-创业帮">
- <meta http-equiv="Cache-Control" content="no-siteapp">
- <link rel="stylesheet" href="./static/css/main.css">
- </head>
- <body class="bgcfff pt0 pb0 ovh" style="padding-top:0;">
- <div id="app" v-cloak>
- <van-nav-bar class="user_rank_explan_title user_title_normal" title="提现详情" left-arrow v-if="toptitleisshow" @click-left="goback">
- <template #left> <img src="./static/images/left.png" alt=""></template>
- </van-nav-bar>
- <div class="bgcfff pt32 pb32 withdrawal">
- <div class="f24 c333 tc">¥{{withdrawalinfo.TradeAmount}}</div>
- <div class="f14 c333 pl16 pr16 more mt16">{{withdrawalinfo.Remark}}</div>
- </div>
- <van-cell-group class="withdrawal-detail" :border="false">
- <van-cell title="提现单号" :value="withdrawalinfo.CashOrderNo" :border="false"></van-cell>
- <van-cell title="提现金额" :value="'¥'+withdrawalinfo.TradeAmount" :border="false"></van-cell>
- <van-cell title="到账金额" :value="'¥'+withdrawalinfo.ActualTradeAmount" :border="false"></van-cell>
- <van-cell title="手续费" :value="'¥'+withdrawalinfo.TradeFee" :border="false"></van-cell>
- <van-cell title="税费" :value="'¥'+withdrawalinfo.ManageFee" :border="false"></van-cell>
- <van-cell class="withdrawal-success" title="当前状态" :border="false">
- <template #default><span class="pl6" :class="withdrawalinfo.Status === 1 ? 'green':'more'">{{withdrawalstatus(withdrawalinfo.Status)}}{{withdrawalinfo.Status === 2 ? '(已退回余额)':''}}</span></template>
- </van-cell>
- <van-cell title="申请时间" :value="withdrawalinfo.CreateDate" :border="false"></van-cell>
- <van-cell title="到账时间" :value="withdrawalinfo.PaymentDate" :border="false"></van-cell>
- </van-cell-group>
- </div>
- <script src="./static/js/klm-vv.min.js"></script>
- <script src="./static/js/appfunc.min.js"></script>
- <script src="./static/js/klm-axios-config.js"></script>
- <script src="./static/js/publicfn.js"></script>
- <script>
- // 通过 CDN 引入时不会自动注册 Lazyload 组件
- // 可以通过下面的方式手动注册
- Vue.use(vant.Lazyload);
-
- // 在 #app 标签下渲染一个按钮组件
- let app = new Vue({
- el: '#app',
- data() {
- return {
- toptitleisshow:false,
- withdrawalinfo:{
- Id:'',
- CreateDate:'',
- CashOrderNo:'',
- TradeAmount:'',
- ActualTradeAmount:'',
- TradeFee:'',
- PaymentDate:'',
- ManageFee:'',
- Status:'',
- Remark:'',
- }
- };
- },
- created() {
- this.toptitleisshow = toptitleisshow;
- this.getdetailinfo();
- },
- methods: {
- async getdetailinfo(){
- //- PublicLib.ShowLoading({Message:''});
- const id = PublicLib.getCookieInfo("withdrawalId");
- const res = await getRequest('api/v1/usercashrecord/detail?t='+Math.random(6),JSON.stringify({Id:id}));
- if(res.status !== '1') return tips('获取提现详情失败,请重试!');
- //- PublicLib.HideLoading();
- res.data.TradeAmount = res.data.TradeAmount.toFixed(2);
- res.data.ActualTradeAmount = res.data.ActualTradeAmount.toFixed(2);
- res.data.TradeFee = res.data.TradeFee.toFixed(2);
- res.data.ManageFee = res.data.ManageFee.toFixed(2);
- this.withdrawalinfo = res.data;
- },
- //- 获取状态
- withdrawalstatus(status){
- switch(status){
- case 0:
- return '处理中';
- break;
- case 1:
- return '交易成功';
- break;
- case 2:
- return '提现失败';
- break;
- case 3:
- return '挂账';
- break;
- default:
- return '状态异常';
- break;
- };
- },
- goback(){
- PublicLib.GoBack({Level:1});
- }
- }
- });
- </script>
- </body>
- </html>
|