From 19cd11b0dce7c856b91163df0718c507b0f745b9 Mon Sep 17 00:00:00 2001 From: asd <374367073@qq.com> Date: Thu, 15 Oct 2020 15:44:50 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=92=B1=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.ts | 44 ++++++++++++ src/components/ReviewItemtwo.vue | 106 +++++++++++++++++++++++++++ src/components/VideoReview.vue | 17 +++-- src/views/mine/Addaccount.vue | 90 +++++++++++++---------- src/views/mine/Cashout.vue | 120 ++++++++++++++++++++----------- src/views/mine/Wallet.vue | 111 ++++++++++++++++++++++++---- 6 files changed, 390 insertions(+), 98 deletions(-) create mode 100644 src/components/ReviewItemtwo.vue diff --git a/src/api/index.ts b/src/api/index.ts index 7cbc3f9..8325016 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -253,7 +253,51 @@ export async function videodel(data:any) { console.log(res) } +/** + * 新增账户 + */ +export async function accountadd(data?:any) { + const res = await post('wallect',data); + if(res.code==0){ + message.success("新增成功") + } + + console.log(res) +} +interface SaleInfo{ + total:number, + accountid:number, + memberid:number, + sn:string, + type:number, + typename:string, + money:string, + source:number, + remark:string, + deleted_at:string, + created_at:string, + updated_at:string, + basemoney:string +} +/** + * 交易明细 + * @param data + */ +export async function saleinfo(data?:any){ + const res= await get('account',data) + console.log(res) +} + +/** + * 申请提现 + */ +export async function cashout(data?:any){ + const res = await post('withdrawal',data); + if(res.code==0){ + message.success("新增成功") + } +} /** * 发送验证码 * @param phone 手机号 diff --git a/src/components/ReviewItemtwo.vue b/src/components/ReviewItemtwo.vue new file mode 100644 index 0000000..f0c654a --- /dev/null +++ b/src/components/ReviewItemtwo.vue @@ -0,0 +1,106 @@ + + + diff --git a/src/components/VideoReview.vue b/src/components/VideoReview.vue index b2c70e0..f14db80 100644 --- a/src/components/VideoReview.vue +++ b/src/components/VideoReview.vue @@ -11,11 +11,14 @@
- - +
+ + +
+
-
+
发表留言
@@ -75,16 +78,20 @@ } } + .huifu{ + margin-left: 56px; + } }