Merge branch 'master' of http://git.luyuan.tk/luyuan/beelink into xbx
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<div class="aboutus">
|
||||
<div class="tabs">
|
||||
<div :class="tabindex == 1 ? 'on' : ''" @click="tabchange(1)">服务条款</div>
|
||||
<div :class="tabindex == 2 ? 'on' : ''" @click="tabchange(2)">隐私政策</div>
|
||||
<div :class="tabindex == 3 ? 'on' : ''" @click="tabchange(3)">意见反馈</div>
|
||||
<div :class="tabindex == 1 ? 'on' : ''" @click="tabchange(1)">{{lan.$t('fuwutiaokuan')}}</div>
|
||||
<div :class="tabindex == 2 ? 'on' : ''" @click="tabchange(2)">{{lan.$t('yinsizhengce')}}</div>
|
||||
<div :class="tabindex == 3 ? 'on' : ''" @click="tabchange(3)">{{lan.$t('yijianfankui')}}</div>
|
||||
</div>
|
||||
<div class="line"></div>
|
||||
<div class="content" v-if="tabindex==1|| tabindex==2">
|
||||
@@ -31,13 +31,13 @@
|
||||
<div v-else>
|
||||
|
||||
<div class="fankui">
|
||||
<div class="label">意见反馈</div>
|
||||
<div class="label">{{lan.$t('yijianfankui')}}</div>
|
||||
<div>
|
||||
<a-textarea v-model:value="value" placeholder="请输入您的意见反馈" :rows="10" />
|
||||
<a-textarea v-model:value="value" :placeholder="lan.$t('shurufankui')" :rows="10" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="sub" @click="sub">提交反馈</div>
|
||||
<div class="sub" @click="sub">{{lan.$t('tijiaofankui')}}</div>
|
||||
</div>
|
||||
<NavBottom class="navbottom"></NavBottom>
|
||||
</div>
|
||||
@@ -48,12 +48,14 @@ import { defineComponent, ref } from "vue";
|
||||
import NavBottom from "@/components/NavBottom.vue";
|
||||
import { feedback } from '@/api';
|
||||
import { useRoute } from 'vue-router';
|
||||
import { useI18n } from '@/utils/i18n';
|
||||
export default defineComponent({
|
||||
name: "Aboutus",
|
||||
components: {
|
||||
NavBottom,
|
||||
},
|
||||
setup() {
|
||||
const lan: any = useI18n();
|
||||
const tabindex=ref(1)
|
||||
const value = ref("")
|
||||
console.log(useRoute().query)
|
||||
@@ -72,7 +74,8 @@ export default defineComponent({
|
||||
tabchange,
|
||||
tabindex,
|
||||
sub,
|
||||
value
|
||||
value,
|
||||
lan
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
<div class="mingxilist">
|
||||
<div class="tabs">
|
||||
<div class="beforetab">新增账户</div>
|
||||
<div class="beforetab">{{lan.$t('xinzengzhanghu')}}</div>
|
||||
</div>
|
||||
<div class="line"></div>
|
||||
<div class="choose">
|
||||
<div class="label">选择账户</div>
|
||||
<div class="label">{{lan.$t('xuanzezhanghu')}}</div>
|
||||
<!-- <a-radio></a-radio> -->
|
||||
<div v-if="ifchina">
|
||||
<a-radio-group
|
||||
@@ -19,15 +19,15 @@
|
||||
>
|
||||
<a-radio :value="4">
|
||||
<img src="@/static/images/bank.png" alt="" class="icon icon1" />
|
||||
<span>银行卡</span>
|
||||
<span>{{lan.$t('yinhangka')}}</span>
|
||||
</a-radio>
|
||||
<a-radio :value="2">
|
||||
<img src="@/static/images/walletzfb.png" alt="" class="icon" />
|
||||
<span>支付宝</span>
|
||||
<span>{{lan.$t('zhifubao')}}</span>
|
||||
</a-radio>
|
||||
<a-radio :value="1">
|
||||
<img src="@/static/images/walletweixin.png" alt="" class="icon" />
|
||||
<span>微信</span>
|
||||
<span>{{lan.$t('weixin')}}</span>
|
||||
</a-radio>
|
||||
</a-radio-group>
|
||||
</div>
|
||||
@@ -45,7 +45,7 @@
|
||||
alt=""
|
||||
class="icon icon1"
|
||||
/>
|
||||
<span>银行卡</span>
|
||||
<span>{{lan.$t('yinhangka')}}</span>
|
||||
</a-radio>
|
||||
<a-radio :value="2">
|
||||
<img src="@/static/images/paypi.png" alt="" class="icon" />
|
||||
@@ -58,23 +58,23 @@
|
||||
<a-form >
|
||||
<div>
|
||||
<div class="infoitem">
|
||||
<span class="label label1">姓名</span>
|
||||
<a-input v-model:value="accountinfo.mname" class="shuru" placeholder="请输入姓名" />
|
||||
<span class="label label1">{{lan.$t('xingming')}}</span>
|
||||
<a-input v-model:value="accountinfo.mname" class="shuru" :placeholder="lan.$t('shuruxingming')" />
|
||||
</div>
|
||||
<div class="infoitem">
|
||||
<span class="label label1">卡号</span>
|
||||
<span class="label label1">{{lan.$t('kahao')}}</span>
|
||||
<a-input
|
||||
v-model:value="accountinfo.bankcode"
|
||||
class="shuru"
|
||||
placeholder="请输入收款人储蓄卡号"
|
||||
:placeholder="lan.$t('shurukahao')"
|
||||
/>
|
||||
</div>
|
||||
<div class="infoitem">
|
||||
<span class="label label1">开户行</span>
|
||||
<span class="label label1">{{lan.$t('kaihuhang')}}</span>
|
||||
<a-input
|
||||
v-model:value="accountinfo.bankname"
|
||||
class="shuru shuru2"
|
||||
placeholder="请输入开户行"
|
||||
:placeholder="lan.$t('shurukaihuhang')"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -83,22 +83,22 @@
|
||||
<div class="cashoutmoney" v-if="accountinfo.type == 2 && ifchina">
|
||||
<div>
|
||||
<div class="infoitem">
|
||||
<span class="label label1">帐号</span>
|
||||
<span class="label label1">{{lan.$t('zhanghao')}}</span>
|
||||
<a-input
|
||||
v-model:value="accountinfo.account"
|
||||
class="shuru"
|
||||
placeholder="请输入支付宝账号/密码"
|
||||
:placeholder="lan.$t('shuruzhifubao')"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cashoutmoney" v-if="accountinfo.type == 1 && ifchina">
|
||||
<div class="label label1">扫码绑定</div>
|
||||
<div class="label label1">{{lan.$t('saomabangding')}}</div>
|
||||
<div class="ewmbox">
|
||||
<img src="@/static/images/erweima.png" alt="" class="ewmpic" />
|
||||
<div class="desc">注:</div>
|
||||
<div class="desc">{{lan.$t('zhu')}}:</div>
|
||||
<div class="desc desc1">
|
||||
打开手机微信扫描左侧二维码 进行微信账户绑定
|
||||
{{lan.$t('weixinbangding')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -106,23 +106,23 @@
|
||||
<div class="cashoutmoney" v-if="paytypeforign == 1 && !ifchina">
|
||||
<div>
|
||||
<div class="infoitem">
|
||||
<span class="label label1">账户名</span>
|
||||
<a-input v-model="accountinfo.mname" class="shuru" placeholder="请输入姓名" />
|
||||
<span class="label label1">{{lan.$t('zhanghuming')}}</span>
|
||||
<a-input v-model="accountinfo.mname" class="shuru" :placeholder="lan.$t('shuruxingming')" />
|
||||
</div>
|
||||
<div class="infoitem">
|
||||
<span class="label label1">银行账户</span>
|
||||
<span class="label label1">{{lan.$t('yinhangzhanghu')}}</span>
|
||||
<a-input
|
||||
v-model="accountinfo.bankcode"
|
||||
class="shuru shuru2"
|
||||
placeholder="请输入收款人储蓄卡号"
|
||||
:placeholder="shurukahao"
|
||||
/>
|
||||
</div>
|
||||
<div class="infoitem infoitem1">
|
||||
<div class="label label1 label2"> 银行BIC码 /swift code </div>
|
||||
<div class="label label1 label2"> {{lan.$t(yinhangbic)}} /swift code </div>
|
||||
<a-input
|
||||
v-model="accountinfo.bankname"
|
||||
class="shuru shuru1"
|
||||
placeholder="请输入开户行"
|
||||
:placeholder="lan.$t('shurukaihuhang')"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -131,16 +131,16 @@
|
||||
<div class="cashoutmoney" v-if="paytypeforign == 2 && !ifchina">
|
||||
<div>
|
||||
<div class="infoitem">
|
||||
<span class="label label1">帐号</span>
|
||||
<span class="label label1">{{lan.$t('zhanghao')}}</span>
|
||||
<a-input
|
||||
v-model:value="accountinfo.account"
|
||||
class="shuru"
|
||||
placeholder="请输入账号"
|
||||
:placeholder="lan.$t('shuruzhanghao')"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cashoutall submit" @click="sub">提交</div>
|
||||
<div class="cashoutall submit" @click="sub">{{lan.$t('tijiao')}}</div>
|
||||
<NavBottom class="navbottom"></NavBottom>
|
||||
</div>
|
||||
</div>
|
||||
@@ -151,12 +151,14 @@ import { defineComponent, onMounted, ref, toRaw } from "vue";
|
||||
import NavBottom from "@/components/NavBottom.vue";
|
||||
import { accountadd, editaccount, getaccountinfo } from '@/api';
|
||||
import { useRoute } from 'vue-router';
|
||||
import { useI18n } from '@/utils/i18n';
|
||||
export default defineComponent({
|
||||
name: "Cashout",
|
||||
components: {
|
||||
NavBottom,
|
||||
},
|
||||
setup() {
|
||||
const lan: any = useI18n();
|
||||
const money = ref(0);
|
||||
const paytype = ref(4);
|
||||
const paytypeforign = ref(1);
|
||||
@@ -211,7 +213,8 @@ export default defineComponent({
|
||||
paytypeforign,
|
||||
onChange1,
|
||||
sub,
|
||||
accountinfo
|
||||
accountinfo,
|
||||
lan
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -2,15 +2,15 @@
|
||||
<div class="cashout">
|
||||
<div class="mingxilist">
|
||||
<div class="tabs">
|
||||
<div class="beforetab">提现到指定账户</div>
|
||||
<span class="residue">余额:{{ yue }}</span>
|
||||
<div class="topbtn topbtn2" @click="navto('/mine/addaccount')">提现到指定账户</div>
|
||||
<div class="topbtn topbtn1" @click="navto('/mine/transaction')">提现记录</div>
|
||||
<div class="beforetab">{{lan.$t('tixianzhanghu')}}</div>
|
||||
<span class="residue">{{lan.$t('yue')}}:{{ yue }}</span>
|
||||
<div class="topbtn topbtn2" @click="navto('/mine/addaccount')">{{lan.$t('tixianzhanghu')}}</div>
|
||||
<div class="topbtn topbtn1" @click="navto('/mine/transaction')">{{lan.$t('tixianjilu')}}</div>
|
||||
</div>
|
||||
<div class="line"></div>
|
||||
<div class="choose">
|
||||
<div class="chooseitem">
|
||||
<div class="label">选择账户</div>
|
||||
<div class="label">{{lan.$t('xuanzezhanghu')}}</div>
|
||||
<!-- <a-radio></a-radio> -->
|
||||
<!-- {{payinfo.type}} -->
|
||||
<a-radio-group
|
||||
@@ -32,7 +32,7 @@
|
||||
class="icon"
|
||||
/>
|
||||
<span class="accounttype"
|
||||
>银行卡</span
|
||||
>{{lan.$t('yinhangka')}}</span
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
@@ -44,7 +44,7 @@
|
||||
class="icon icon1"
|
||||
/>
|
||||
<span class="accounttype"
|
||||
>支付宝</span
|
||||
>{{lan.$t('zhifubao')}}</span
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
@@ -56,12 +56,12 @@
|
||||
class="icon icon1"
|
||||
/>
|
||||
<span class="accounttype"
|
||||
>微信</span
|
||||
>{{lan.$t('weixin')}}</span
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
<div class="zhanghao">
|
||||
账号:6217 **** **** **** 175
|
||||
{{lan.$t('zhanghao')}}:6217 **** **** **** 175
|
||||
</div>
|
||||
</div>
|
||||
</a-radio>
|
||||
@@ -100,13 +100,13 @@
|
||||
</a-radio-group>
|
||||
</div>
|
||||
<div class="cashoutmoney">
|
||||
<div class="label">提现金额</div>
|
||||
<div class="label">{{lan.$t('tixianjine')}}</div>
|
||||
<div class="moneynum">
|
||||
<a-input v-model:value="payinfo.money" class="shuru" />
|
||||
<div>¥</div>
|
||||
<div class="cashoutall" @click="all">全部金额</div>
|
||||
<div class="cashoutall" @click="all">{{lan.$t('quanbujine')}}</div>
|
||||
<div class="desc">
|
||||
注:每笔提现收取0.1%服务费,最低¥0.1
|
||||
{{lan.$t('tixianzhu')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -116,10 +116,10 @@
|
||||
payinfo.money < 100 || payinfo.money > parseFloat(yue)
|
||||
"
|
||||
>
|
||||
*您的余额只有{{ parseFloat(yue) }},最低提现金额¥100
|
||||
*{{lan.$t('yueshu')}} {{ parseFloat(yue) }},{{lan.$t('zuiditixian')}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="cashoutall submit" @click="sub">立即提现</div>
|
||||
<div class="cashoutall submit" @click="sub">{{lan.$t('lijitixian')}}</div>
|
||||
<NavBottom class="navbottom"></NavBottom>
|
||||
</div>
|
||||
</div>
|
||||
@@ -132,12 +132,14 @@ import { cashout, getwallect } from "@/api";
|
||||
import store from "@/store";
|
||||
import { message } from "ant-design-vue";
|
||||
import router from '@/router';
|
||||
import { useI18n } from '@/utils/i18n';
|
||||
export default defineComponent({
|
||||
name: "Cashout",
|
||||
components: {
|
||||
NavBottom,
|
||||
},
|
||||
setup() {
|
||||
const lan: any = useI18n();
|
||||
const money = ref(0);
|
||||
const payinfo = ref<any>({
|
||||
type: 0,
|
||||
@@ -209,6 +211,7 @@ export default defineComponent({
|
||||
sub,
|
||||
accountlist,
|
||||
store,
|
||||
lan
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
@@ -61,15 +61,16 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent } from "vue";
|
||||
import NavBottom from "@/components/NavBottom.vue";
|
||||
import { useI18n } from '@/utils/i18n';
|
||||
export default defineComponent({
|
||||
name: "Cashoutdetail",
|
||||
components: {
|
||||
NavBottom
|
||||
},
|
||||
setup() {
|
||||
|
||||
const lan: any = useI18n();
|
||||
return {
|
||||
|
||||
lan
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
@@ -4,20 +4,20 @@
|
||||
<div class="listitem" @click="navto(1)">
|
||||
<div class="top">
|
||||
<img src="@/static/images/zhibotjicon.png" alt="" class="icon" />
|
||||
<span>直播列表</span>
|
||||
<span>{{lan.$t('zhiboliebiao')}}</span>
|
||||
</div>
|
||||
<div class="mid">
|
||||
<div>
|
||||
<div class="data">
|
||||
<div class="label">直播课程</div>
|
||||
<div class="label">{{lan.$t('zhibokecheng')}}</div>
|
||||
<div class="right">{{statistics.liveInfo?statistics.liveInfo.sum:0}}</div>
|
||||
</div>
|
||||
<div class="data">
|
||||
<div class="label">参与人数</div>
|
||||
<div class="label">{{lan.$t('canyurenshu')}}</div>
|
||||
<div class="right">{{statistics.liveInfo?statistics.liveInfo.student:0}}</div>
|
||||
</div>
|
||||
<div class="data">
|
||||
<div class="label">课程评分</div>
|
||||
<div class="label">{{lan.$t('kechengpingfen')}}</div>
|
||||
<div class="right">{{statistics.liveInfo?statistics.liveInfo.avg:0}}</div>
|
||||
</div>
|
||||
<img src="@/static/images/zhibotj.png" alt="" class="zhuzi" />
|
||||
@@ -27,20 +27,20 @@
|
||||
<div class="listitem" @click="navto(2)">
|
||||
<div class="top">
|
||||
<img src="@/static/images/shipintjicon.png" alt="" class="icon" />
|
||||
<span class="label1">视频列表</span>
|
||||
<span class="label1">{{lan.$t('shipinliebiao')}}</span>
|
||||
</div>
|
||||
<div class="mid">
|
||||
<div>
|
||||
<div class="data">
|
||||
<div class="label">发布视频</div>
|
||||
<div class="label">{{lan.$t('fabushipin')}}</div>
|
||||
<div class="right">{{statistics.videoInfo?statistics.videoInfo.sum:0}}</div>
|
||||
</div>
|
||||
<div class="data">
|
||||
<div class="label">总观看数</div>
|
||||
<div class="label">{{lan.$t('zongguankanshu')}}</div>
|
||||
<div class="right">{{statistics.videoInfo?statistics.videoInfo.sum:0}}</div>
|
||||
</div>
|
||||
<div class="data">
|
||||
<div class="label">平均得分</div>
|
||||
<div class="label">{{lan.$t('pingjundefen')}}</div>
|
||||
<div class="right">{{statistics.videoInfo?statistics.videoInfo.sum:0}}</div>
|
||||
</div>
|
||||
<img src="@/static/images/shipintj.png" alt="" class="zhuzi" />
|
||||
@@ -50,12 +50,12 @@
|
||||
<div class="listitem" @click="navto(3)">
|
||||
<div class="top">
|
||||
<img src="@/static/images/dingyuetjicon.png" alt="" class="icon" />
|
||||
<span class="label2">订阅列表</span>
|
||||
<span class="label2">{{lan.$t('dingyueliebiao')}}</span>
|
||||
</div>
|
||||
<div class="mid">
|
||||
<div>
|
||||
<div class="data">
|
||||
<div class="label">订阅人数</div>
|
||||
<div class="label">{{lan.$t('dingyuerenshu')}}</div>
|
||||
<div class="right">{{statistics.studentInfo?statistics.studentInfo.sum:0}}</div>
|
||||
</div>
|
||||
|
||||
@@ -75,12 +75,14 @@ import { defineComponent, onMounted, ref } from "vue";
|
||||
import NavBottom from "@/components/NavBottom.vue";
|
||||
import { getstatisticlist } from "@/api"
|
||||
import router from '@/router';
|
||||
import { useI18n } from '@/utils/i18n';
|
||||
export default defineComponent({
|
||||
name: "Liststatistic",
|
||||
components: {
|
||||
NavBottom
|
||||
},
|
||||
setup(){
|
||||
const lan: any = useI18n();
|
||||
const statistics = ref({})
|
||||
onMounted(async ()=>{
|
||||
statistics.value = await getstatisticlist()
|
||||
@@ -101,7 +103,8 @@ export default defineComponent({
|
||||
// console.log(statistics,111)
|
||||
return {
|
||||
statistics,
|
||||
navto
|
||||
navto,
|
||||
lan
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
<template>
|
||||
<div class="upload-video">
|
||||
<a-form :label-col="labelCol" :wrapper-col="wrapperCol">
|
||||
<div class="title">上传视频</div>
|
||||
<a-form-item label="视频标题">
|
||||
<div class="title">{{lan.$t("shangchuanshipin")}}</div>
|
||||
<a-form-item :label="lan.$t('shipinbiaoti')">
|
||||
<a-input
|
||||
size="small"
|
||||
v-model:value="form.title"
|
||||
placeholder="请输入您的视频标题"
|
||||
:placeholder="lan.$t('shurushipinbiaoti')"
|
||||
/>
|
||||
</a-form-item>
|
||||
<a-form-item label="视频封面" class="video-cover">
|
||||
<a-form-item :label="lan.$t('shipinfengmian')" class="video-cover">
|
||||
<a-upload list-type="picture" :customRequest="uploadspic" :before-upload="beforeUpload">
|
||||
<div class="upload-image" v-if="!viewCover && form.img.length == 0">
|
||||
<PlusOutlined
|
||||
@@ -28,7 +28,7 @@
|
||||
</div>
|
||||
</a-upload>
|
||||
</a-form-item>
|
||||
<a-form-item label="选择视频" class="video-introduction">
|
||||
<a-form-item :label="lan.$t('xuanzeshipin')" class="video-introduction">
|
||||
<div class="upload-container">
|
||||
<a-upload list-type="picture" :customRequest="uploads" :beforeUpload="beforeVideoUpload">
|
||||
<div class="upload-image">
|
||||
@@ -79,24 +79,24 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="demand">
|
||||
<p class="one-line-hide">视频要求:</p>
|
||||
<p class="one-line-hide">{{lan.$t('shipinyaoqiu')}}</p>
|
||||
<p class="one-line-hide">
|
||||
1.文件扩展名:fiv、mp4…文件扩展名:fiv、mp4…
|
||||
1. {{lan.$t('shipinyaoqiu3')}}
|
||||
</p>
|
||||
</div>
|
||||
</a-form-item>
|
||||
<a-form-item label="视频简介" class="brief">
|
||||
<a-form-item :label="lan.$t('shipinjianjie')" class="brief">
|
||||
<a-textarea
|
||||
v-model:value="form.desc"
|
||||
:autoSize="true"
|
||||
class="brief-textarea"
|
||||
:maxlength="200"
|
||||
placeholder="请输入您的视频简介"
|
||||
:placeholder="lan.$t('shurushipinjianjie')"
|
||||
/>
|
||||
<span class="words-number">{{ form.desc.length }}/200</span>
|
||||
</a-form-item>
|
||||
<a-form-item :wrapper-col="{ span: 4, offset: 0 }">
|
||||
<a-button @click="onSubmit">上传视频</a-button>
|
||||
<a-button @click="onSubmit">{{lan.$t('shangchuanshipin')}}</a-button>
|
||||
</a-form-item>
|
||||
</a-form>
|
||||
<nav-bottom></nav-bottom>
|
||||
@@ -112,6 +112,7 @@ import { uploadflie } from "@/utils/vod";
|
||||
import { setvideo, videoadd, videodetail } from "@/api";
|
||||
import { useRoute } from 'vue-router';
|
||||
import { message } from 'ant-design-vue';
|
||||
import { useI18n } from '@/utils/i18n';
|
||||
|
||||
export default defineComponent({
|
||||
name: "ReleaseWebcast",
|
||||
@@ -121,6 +122,7 @@ export default defineComponent({
|
||||
NavBottom,
|
||||
},
|
||||
setup() {
|
||||
const lan: any = useI18n();
|
||||
interface FileItem {
|
||||
video: Array<string>;
|
||||
}
|
||||
@@ -319,7 +321,8 @@ export default defineComponent({
|
||||
removeFile,
|
||||
beforeUpload,
|
||||
ifalowupload,
|
||||
beforeVideoUpload
|
||||
beforeVideoUpload,
|
||||
lan
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
@@ -1,16 +1,20 @@
|
||||
<template>
|
||||
<div class="webcast">
|
||||
<a-form :label-col="labelCol" :wrapper-col="wrapperCol">
|
||||
<div class="title">直播信息</div>
|
||||
<a-form-item label="直播标题">
|
||||
<div class="title">{{ lan.$t("zhiboxinxi") }}</div>
|
||||
<a-form-item :label="lan.$t('zhibobiaoti')">
|
||||
<a-input
|
||||
size="small"
|
||||
v-model:value="form.title"
|
||||
placeholder="请输入您的直播标题"
|
||||
:placeholder="lan.$t('shuruzhibobiaoti')"
|
||||
/>
|
||||
</a-form-item>
|
||||
<a-form-item label="直播封面" class="item-cover">
|
||||
<a-upload list-type="picture" :customRequest="uploadspic" :before-upload="beforeUploadpic">
|
||||
<a-form-item :label="lan.$t('zhibofengmian')" class="item-cover">
|
||||
<a-upload
|
||||
list-type="picture"
|
||||
:customRequest="uploadspic"
|
||||
:before-upload="beforeUploadpic"
|
||||
>
|
||||
<div
|
||||
class="upload-image"
|
||||
v-if="!viewCover && form.img.length == 0"
|
||||
@@ -34,8 +38,15 @@
|
||||
</div>
|
||||
</a-upload>
|
||||
</a-form-item>
|
||||
<a-form-item label="视频介绍" class="video-introduction">
|
||||
<a-upload list-type="picture" :customRequest="uploads" :before-upload="beforeUpload">
|
||||
<a-form-item
|
||||
:label="lan.$t('shipinjieshao')"
|
||||
class="video-introduction"
|
||||
>
|
||||
<a-upload
|
||||
list-type="picture"
|
||||
:customRequest="uploads"
|
||||
:before-upload="beforeUpload"
|
||||
>
|
||||
<div class="upload-image" v-if="form.fileurl.length == 0">
|
||||
<PlaySquareOutlined
|
||||
style="fontsize: 22px"
|
||||
@@ -67,15 +78,23 @@
|
||||
</div>
|
||||
</a-upload>
|
||||
<div class="demand">
|
||||
<p class="one-line-hide">
|
||||
{{ lan.$t("shipinyaoqiu") }}
|
||||
</p>
|
||||
<p class="one-line-hide">1.{{ lan.$t("shipinyaoqiu1") }}</p>
|
||||
<p class="one-line-hide">2.{{ lan.$t("shipinyaoqiu2") }}</p>
|
||||
<p class="one-line-hide">3.{{ lan.$t("shipinyaoqiu3") }}</p>
|
||||
</div>
|
||||
<!-- <div class="demand">
|
||||
<p class="one-line-hide">视频要求:</p>
|
||||
<p class="one-line-hide">1.上传视频时间要求为30s之内</p>
|
||||
<p class="one-line-hide">2.支持文件大小100M</p>
|
||||
<p class="one-line-hide">
|
||||
3.文件扩展名:fiv、mp4…文件扩展名:fiv、mp4…
|
||||
</p>
|
||||
</div>
|
||||
</div> -->
|
||||
</a-form-item>
|
||||
<a-form-item label="开始时间">
|
||||
<a-form-item :label="lan.$t('kaishishijian')">
|
||||
<!-- <a-input
|
||||
size="small"
|
||||
v-model:value="form.startTime"
|
||||
@@ -85,42 +104,45 @@
|
||||
show-time
|
||||
:value="form.dateline"
|
||||
@change="startchange"
|
||||
placeholder="请设置您的开始时间"
|
||||
:placeholder="lan.$t('shezhikaishishijian')"
|
||||
/>
|
||||
</a-form-item>
|
||||
<a-form-item
|
||||
label="直播时长"
|
||||
:label="lan.$t('zhiboshichang')"
|
||||
class="duration"
|
||||
v-bind="validateInfos.livetime"
|
||||
>
|
||||
<a-input
|
||||
size="small"
|
||||
v-model:value="form.livetime"
|
||||
placeholder="请输入直播时间"
|
||||
:placeholder="lan.$t('shuruzhiboshijian')"
|
||||
type="number"
|
||||
/>
|
||||
<span class="unit">分钟</span>
|
||||
<span class="unit">{{ lan.$t("fenzhong") }}</span>
|
||||
</a-form-item>
|
||||
<a-form-item label="直播人数" v-bind="validateInfos.livenumber">
|
||||
<a-form-item
|
||||
:label="lan.$t('zhiborenshu')"
|
||||
v-bind="validateInfos.livenumber"
|
||||
>
|
||||
<a-input
|
||||
size="small"
|
||||
v-model:value="form.livenumber"
|
||||
placeholder="请输入直播人数"
|
||||
:placeholder="lan.$t('shuruzhiborenshu')"
|
||||
type="number"
|
||||
/>
|
||||
</a-form-item>
|
||||
<a-form-item label="直播简介" class="brief">
|
||||
<a-form-item :label="lan.$t('zhibojianjie')" class="brief">
|
||||
<a-textarea
|
||||
v-model:value="form.desc"
|
||||
:autoSize="true"
|
||||
class="brief-textarea"
|
||||
:maxlength="200"
|
||||
placeholder="请输入您的直播简介"
|
||||
:placeholder="lan.$t('shuruzhibojianjie')"
|
||||
/>
|
||||
<span class="words-number">{{ form.desc.length }}/200</span>
|
||||
</a-form-item>
|
||||
<a-form-item :wrapper-col="{ span: 4, offset: 0 }">
|
||||
<a-button @click="onSubmit">发布直播</a-button>
|
||||
<a-button @click="onSubmit">{{ lan.$t("fabuzhibo") }}</a-button>
|
||||
</a-form-item>
|
||||
</a-form>
|
||||
<div class="modal-container">
|
||||
@@ -136,14 +158,16 @@
|
||||
<img src="@/static/images/delete.png" class="close" />
|
||||
</template>
|
||||
<div class="notice-container report" v-if="lives.status == 1">
|
||||
<div class="title">您尚未获得直播资格</div>
|
||||
<div class="title">{{ lan.$t("wuzhibozige") }}</div>
|
||||
<div class="title sub-title">
|
||||
{{ lives.data.msg }}
|
||||
</div>
|
||||
<div class="confirm-btn" @click="fankui">意见反馈</div>
|
||||
<div class="confirm-btn" @click="fankui">
|
||||
{{ lan.$t("yijianfankui") }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="notice-container" v-else>
|
||||
<div class="title">您尚未获得直播资格</div>
|
||||
<div class="title">{{ lan.$t("wuzhibozige") }}</div>
|
||||
<div class="title sub-title">
|
||||
<!-- 上一周/月您在平台视频点击量为
|
||||
<span class="red">第24名</span>,要在前
|
||||
@@ -178,7 +202,8 @@ import { getlivest, liveadd, liveinfo, setlive } from "@/api";
|
||||
import { useRoute } from "vue-router";
|
||||
import dayjs from "dayjs";
|
||||
import { message } from "ant-design-vue";
|
||||
import router from '@/router';
|
||||
import router from "@/router";
|
||||
import { useI18n } from "@/utils/i18n";
|
||||
|
||||
export default defineComponent({
|
||||
name: "ReleaseWebcast",
|
||||
@@ -189,6 +214,7 @@ export default defineComponent({
|
||||
RankList,
|
||||
},
|
||||
setup() {
|
||||
const lan: any = useI18n();
|
||||
// 表单数据
|
||||
const form = ref({
|
||||
title: "",
|
||||
@@ -266,8 +292,8 @@ export default defineComponent({
|
||||
viewCover.value = true;
|
||||
// form.cover = fileList;
|
||||
}
|
||||
function fankui(){
|
||||
router.push({path:"/mine/aboutus",query:{selected:3}})
|
||||
function fankui() {
|
||||
router.push({ path: "/mine/aboutus", query: { selected: 3 } });
|
||||
}
|
||||
const { resetFields, validate, validateInfos } = useForm(form, rules);
|
||||
|
||||
@@ -323,24 +349,22 @@ export default defineComponent({
|
||||
message.error("直播简介不能为空");
|
||||
return;
|
||||
} else {
|
||||
if(!lives.value.status){
|
||||
// subdata.fileid=picinfo.
|
||||
if (id != undefined && id) {
|
||||
/**
|
||||
* todo 提交会报错 编辑直播
|
||||
*/
|
||||
subdata.id = id;
|
||||
// setlive(subdata)
|
||||
} else {
|
||||
console.log(subdata);
|
||||
console.log(lives.value)
|
||||
// liveadd(subdata);
|
||||
}
|
||||
}else{
|
||||
message.error("您尚未获得直播资格")
|
||||
}
|
||||
|
||||
|
||||
if (!lives.value.status) {
|
||||
// subdata.fileid=picinfo.
|
||||
if (id != undefined && id) {
|
||||
/**
|
||||
* todo 提交会报错 编辑直播
|
||||
*/
|
||||
subdata.id = id;
|
||||
setlive(subdata)
|
||||
} else {
|
||||
console.log(subdata);
|
||||
console.log(lives.value);
|
||||
liveadd(subdata);
|
||||
}
|
||||
} else {
|
||||
message.error("您尚未获得直播资格");
|
||||
}
|
||||
}
|
||||
})
|
||||
.catch((err: unknown) => {
|
||||
@@ -394,51 +418,49 @@ export default defineComponent({
|
||||
action: string;
|
||||
data: unknown;
|
||||
file: File;
|
||||
}
|
||||
const ifallowupload=ref<boolean>(false)
|
||||
function beforeUpload(info?: any){
|
||||
console.log(info)
|
||||
if(info.type.split("/")[0]!="video"){
|
||||
ifallowupload.value=false
|
||||
message.error("视频介绍的文件格式错误")
|
||||
return
|
||||
}else{
|
||||
ifallowupload.value=true
|
||||
}
|
||||
}
|
||||
async function uploads(file: AntUpload) {
|
||||
if(ifallowupload.value){
|
||||
console.log(file);
|
||||
videofile.value = file.file;
|
||||
videos.value[0].addEventListener("durationchange", () => {
|
||||
console.log(videos.value[0].duration);
|
||||
form.value.fileduration = videos.value[0].duration;
|
||||
});
|
||||
const res = await uploadflie(file.file, (info: any) => {
|
||||
console.log(info);
|
||||
uploadprogress.value = info.percent.toFixed(2) * 100;
|
||||
});
|
||||
console.log(res);
|
||||
|
||||
form.value.fileid = res.fileId;
|
||||
form.value.fileurl = res.video.url;
|
||||
}
|
||||
|
||||
}
|
||||
const ifallowpic=ref<boolean>(false)
|
||||
async function uploadspic(file: AntUpload) {
|
||||
if(ifallowpic.value){
|
||||
const res = await uploadflie(file.file, (info: any) => {
|
||||
console.log(info);
|
||||
uploadpicprogress.value = info.percent.toFixed(2) * 100;
|
||||
});
|
||||
console.log(res);
|
||||
const ifallowupload = ref<boolean>(false);
|
||||
function beforeUpload(info?: any) {
|
||||
console.log(info);
|
||||
if (info.type.split("/")[0] != "video") {
|
||||
ifallowupload.value = false;
|
||||
message.error("视频介绍的文件格式错误");
|
||||
return;
|
||||
} else {
|
||||
ifallowupload.value = true;
|
||||
}
|
||||
}
|
||||
async function uploads(file: AntUpload) {
|
||||
if (ifallowupload.value) {
|
||||
console.log(file);
|
||||
videofile.value = file.file;
|
||||
videos.value[0].addEventListener("durationchange", () => {
|
||||
console.log(videos.value[0].duration);
|
||||
form.value.fileduration = videos.value[0].duration;
|
||||
});
|
||||
const res = await uploadflie(file.file, (info: any) => {
|
||||
console.log(info);
|
||||
uploadprogress.value = info.percent.toFixed(2) * 100;
|
||||
});
|
||||
console.log(res);
|
||||
|
||||
// picinfo.fileId=res.fileId
|
||||
// picinfo.url=res.video.url
|
||||
form.value.img = res.video.url;
|
||||
}
|
||||
|
||||
form.value.fileid = res.fileId;
|
||||
form.value.fileurl = res.video.url;
|
||||
}
|
||||
}
|
||||
const ifallowpic = ref<boolean>(false);
|
||||
async function uploadspic(file: AntUpload) {
|
||||
if (ifallowpic.value) {
|
||||
const res = await uploadflie(file.file, (info: any) => {
|
||||
console.log(info);
|
||||
uploadpicprogress.value = info.percent.toFixed(2) * 100;
|
||||
});
|
||||
console.log(res);
|
||||
|
||||
// picinfo.fileId=res.fileId
|
||||
// picinfo.url=res.video.url
|
||||
form.value.img = res.video.url;
|
||||
}
|
||||
}
|
||||
|
||||
getlivest().then((res) => {
|
||||
@@ -446,17 +468,17 @@ export default defineComponent({
|
||||
isEntitled.value = true;
|
||||
lives.value = res;
|
||||
}
|
||||
});
|
||||
function beforeUploadpic(info?: any){
|
||||
console.log(info)
|
||||
if(info.type.split("/")[0]!='image'){
|
||||
message.error("封面必须是图片文件")
|
||||
ifallowpic.value=false
|
||||
return
|
||||
}else{
|
||||
ifallowpic.value=true
|
||||
}
|
||||
}
|
||||
});
|
||||
function beforeUploadpic(info?: any) {
|
||||
console.log(info);
|
||||
if (info.type.split("/")[0] != "image") {
|
||||
message.error("封面必须是图片文件");
|
||||
ifallowpic.value = false;
|
||||
return;
|
||||
} else {
|
||||
ifallowpic.value = true;
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
labelCol: { span: 4 },
|
||||
@@ -481,12 +503,13 @@ export default defineComponent({
|
||||
startchange,
|
||||
videofile,
|
||||
videos,
|
||||
lives,
|
||||
beforeUploadpic,
|
||||
ifallowpic,
|
||||
beforeUpload,
|
||||
lives,
|
||||
beforeUploadpic,
|
||||
ifallowpic,
|
||||
beforeUpload,
|
||||
ifallowupload,
|
||||
fankui
|
||||
fankui,
|
||||
lan,
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
@@ -3,19 +3,19 @@
|
||||
|
||||
<div class="mingxilist">
|
||||
<div class="mingxitop">
|
||||
<div><span class="tabtitle">明细查询</span>
|
||||
<div><span class="tabtitle">{{lan.$t("mingxichaxun")}}</span>
|
||||
</div>
|
||||
<a-range-picker @change="onChange" class="choosedate" :placeholder="['请选择开始日期', '请选择结束日期']"/>
|
||||
<a-range-picker @change="onChange" class="choosedate" :placeholder="[lan.$t('kaishiriqi'), lan.$t('jieshuriqi')]"/>
|
||||
</div>
|
||||
<div>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr class="head">
|
||||
<th>账户</th>
|
||||
<th>提交日期</th>
|
||||
<th>状态</th>
|
||||
<th>金额</th>
|
||||
<th>操作</th>
|
||||
<th>{{lan.$t('zhanghu')}}</th>
|
||||
<th>{{lan.$t('tijiaoriqi')}}</th>
|
||||
<th>{{lan.$t('zhuangtai')}}</th>
|
||||
<th>{{lan.$t('jine')}}</th>
|
||||
<th>{{lan.$t('caozuo')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -28,7 +28,7 @@
|
||||
<span v-else>¥</span>
|
||||
{{i.money}}
|
||||
</td>
|
||||
<td @click="navto(3,i.withdrawalid)">查看详情</td>
|
||||
<td @click="navto(3,i.withdrawalid)">{{lan.$t('chakanxiangqing')}}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
@@ -49,12 +49,14 @@ import { defineComponent, onMounted, ref } from "vue";
|
||||
import NavBottom from "@/components/NavBottom.vue";
|
||||
import { withdrawal } from '@/api';
|
||||
import router from '@/router';
|
||||
import { useI18n } from '@/utils/i18n';
|
||||
export default defineComponent({
|
||||
name: "Transaction",
|
||||
components: {
|
||||
NavBottom
|
||||
},
|
||||
setup() {
|
||||
const lan: any = useI18n();
|
||||
const withdrawallist =ref<any>({})
|
||||
const dates=ref<Array<string>>(["",""])
|
||||
const page = ref(1);
|
||||
@@ -105,7 +107,8 @@ export default defineComponent({
|
||||
withdrawallist,
|
||||
onChange,
|
||||
navto,
|
||||
pagechange
|
||||
pagechange,
|
||||
lan
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
@@ -3,37 +3,37 @@
|
||||
|
||||
<div class="mingxilist" v-if="query.ifwithdrawal!=1">
|
||||
<div class="tabs">
|
||||
<div class="beforetab">交易明细详情</div>
|
||||
<div class="beforetab">{{lan.$t('jiaoyimingxixiangqing')}}</div>
|
||||
</div>
|
||||
<div class="detail">
|
||||
<div class="infoitem">
|
||||
<div class="left">金额</div>
|
||||
<div class="left">{{lan.$t('jine')}}</div>
|
||||
<div class="right">{{accountinfo.money}}</div>
|
||||
</div>
|
||||
|
||||
<div class="infoitem">
|
||||
<div class="left">类型</div>
|
||||
<div class="right" v-if="accountinfo.type==1">直播收入</div>
|
||||
<div class="right" v-if="accountinfo.type==2">提现</div>
|
||||
<div class="right" v-if="accountinfo.type==3">后台充值</div>
|
||||
<div class="left">{{lan.$t('leixing')}}</div>
|
||||
<div class="right" v-if="accountinfo.type==1">{{lan.$t('zhiboshouru')}}</div>
|
||||
<div class="right" v-if="accountinfo.type==2">{{lan.$t('tixian')}}</div>
|
||||
<div class="right" v-if="accountinfo.type==3">{{lan.$t('houtaichongzhi')}}</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="infoitem">
|
||||
<div class="left">流水号</div>
|
||||
<div class="left">{{lan.$t('liushuihao')}}</div>
|
||||
<div class="right">{{accountinfo.sn}}</div>
|
||||
</div>
|
||||
|
||||
<div class="infoitem">
|
||||
<div class="left">日期</div>
|
||||
<div class="left">{{lan.$t('riqi')}}</div>
|
||||
<div class="right">{{accountinfo.created_at}}</div>
|
||||
</div>
|
||||
|
||||
<div class="infoitem">
|
||||
<div class="left">来源</div>
|
||||
<div class="left">{{lan.$t('laiyuan')}}</div>
|
||||
<div class="right">{{accountinfo.remark}}</div>
|
||||
</div>
|
||||
<div class="back" @click="navto(1,2)">返回</div>
|
||||
<div class="back" @click="navto(1,2)">{{lan.$t('fanhui')}}</div>
|
||||
|
||||
</div>
|
||||
<NavBottom class="navbottom"></NavBottom>
|
||||
@@ -41,23 +41,23 @@
|
||||
|
||||
<div class="mingxilist" v-if="query.ifwithdrawal==1">
|
||||
<div class="tabs">
|
||||
<div class="beforetab">提现记录详情</div>
|
||||
<div class="beforetab">{{lan.$t('tixianjiluxiangqing')}}</div>
|
||||
</div>
|
||||
<div class="detail">
|
||||
<div class="infoitem">
|
||||
<div class="left">提现金额</div>
|
||||
<div class="left">{{lan.$t('tixianjine')}}</div>
|
||||
<div class="right">{{accountinfo.amount}}</div>
|
||||
</div>
|
||||
<div class="infoitem">
|
||||
<div class="left">到帐金额</div>
|
||||
<div class="left">{{lan.$t('daozhangjine')}}</div>
|
||||
<div class="right">{{accountinfo.money}}</div>
|
||||
</div>
|
||||
<div class="infoitem">
|
||||
<div class="left">手续费</div>
|
||||
<div class="left">{{lan.$t('shouxufei')}}</div>
|
||||
<div class="right">{{accountinfo.sxf}}</div>
|
||||
</div>
|
||||
<div class="infoitem">
|
||||
<div class="left">提现状态</div>
|
||||
<div class="left">{{lan.$t('tixianzhuangtai')}}</div>
|
||||
<div class="right" >{{accountinfo.statusname}}</div>
|
||||
<!-- <div class="right" v-if="accountinfo.status==1">直播收入</div>
|
||||
<div class="right" v-if="accountinfo.status==2">提现</div>
|
||||
@@ -65,28 +65,28 @@
|
||||
|
||||
</div>
|
||||
<div class="infoitem">
|
||||
<div class="left">原因描述</div>
|
||||
<div class="left">{{lan.$t('yuanyinmiaoshu')}}</div>
|
||||
<div class="right">{{accountinfo.remark}}</div>
|
||||
</div>
|
||||
<div class="infoitem">
|
||||
<div class="left">流水号</div>
|
||||
<div class="left">{{lan.$t('liushuihao')}}</div>
|
||||
<div class="right">{{accountinfo.sn}}</div>
|
||||
</div>
|
||||
<div class="infoitem">
|
||||
<div class="left">名称</div>
|
||||
<div class="left">{{lan.$t('mingcheng')}}</div>
|
||||
<div class="right">{{accountinfo.typename}}</div>
|
||||
</div>
|
||||
<div class="infoitem">
|
||||
<div class="left">日期</div>
|
||||
<div class="left">{{riqi}}</div>
|
||||
<div class="right">{{accountinfo.created_at}}</div>
|
||||
</div>
|
||||
|
||||
<div class="infoitem">
|
||||
<div class="left">收款账户</div>
|
||||
<div class="left">{{lan.$t('shoukuanzhanghu')}}</div>
|
||||
<div class="right">{{accountinfo.account}}</div>
|
||||
</div>
|
||||
|
||||
<div class="back" @click="navto(2)">返回</div>
|
||||
<div class="back" @click="navto(2)">{{lan.$t('fanhui')}}</div>
|
||||
</div>
|
||||
<NavBottom class="navbottom"></NavBottom>
|
||||
</div>
|
||||
@@ -99,12 +99,14 @@ import NavBottom from "@/components/NavBottom.vue";
|
||||
import { transactioninfo, withdrawlxq } from '@/api';
|
||||
import { useRoute } from 'vue-router';
|
||||
import router from '@/router';
|
||||
import { useI18n } from '@/utils/i18n';
|
||||
export default defineComponent({
|
||||
name: "Transactiondetail",
|
||||
components: {
|
||||
NavBottom
|
||||
},
|
||||
setup() {
|
||||
const lan: any = useI18n();
|
||||
const accountinfo=ref<any>({});
|
||||
const query=ref({})
|
||||
onMounted(async () => {
|
||||
@@ -143,7 +145,8 @@ export default defineComponent({
|
||||
return {
|
||||
accountinfo,
|
||||
query,
|
||||
navto
|
||||
navto,
|
||||
lan
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
@@ -3,17 +3,17 @@
|
||||
<div class="top">
|
||||
<div class="mywallet">
|
||||
<div class="topinfo">
|
||||
<div class="title">我的钱包</div>
|
||||
<div class="title">{{lan.$t('wodeqianbao')}}</div>
|
||||
|
||||
<div class="topbtn" @click="navto(2)">立即提现</div>
|
||||
<div class="topbtn topbtn1" @click="navto(3)">提现记录</div>
|
||||
<div class="topbtn" @click="navto(2)">{{lan.$t('lijitixian')}}</div>
|
||||
<div class="topbtn topbtn1" @click="navto(3)">{{lan.$t('tixianjilu')}}</div>
|
||||
</div>
|
||||
<div class="line"></div>
|
||||
<div class="accounts">
|
||||
<div class="left" @click="listchange(1)">
|
||||
<img src="@/static/images/account.png" alt="" class="pic" />
|
||||
<div class="texts">
|
||||
<div>绑定用户</div>
|
||||
<div>{{lan.$t('bangdingyonghu')}}</div>
|
||||
<div class="num">{{accountlist.length}}</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -21,7 +21,7 @@
|
||||
<div class="left" @click="listchange(2)">
|
||||
<img src="@/static/images/money.png" alt="" class="pic" />
|
||||
<div class="texts">
|
||||
<div>账户余额</div>
|
||||
<div>{{lan.$t('zhanghuyue')}}</div>
|
||||
<div class="num">
|
||||
<!-- <span class="moneyicon" v-if="ifchina">¥</span>
|
||||
<span class="moneyicon" v-else> $ </span> -->
|
||||
@@ -43,7 +43,7 @@
|
||||
</div>
|
||||
<div class="add" @click="navto(1)">
|
||||
<img src="@/static/images/walletadd.png" alt="" class="icon" />
|
||||
<div>添加新的账户</div>
|
||||
<div>{{lan.$t('tianjiazhanghu')}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
<div class="hostinfo">
|
||||
<div v-if="i.type==4">
|
||||
<img src="@/static/images/bank.png" alt="" class="icon" />
|
||||
<span class="accounttype">银行卡</span>
|
||||
<span class="accounttype">{{lan.$t('yinhangka')}}</span>
|
||||
</div>
|
||||
<div v-if="i.type==2">
|
||||
<img
|
||||
@@ -60,7 +60,7 @@
|
||||
alt=""
|
||||
class="icon icon1"
|
||||
/>
|
||||
<span class="accounttype">支付宝</span>
|
||||
<span class="accounttype">{{lan.$t('zhifubao')}}</span>
|
||||
</div>
|
||||
<div v-if="i.type==1">
|
||||
<img
|
||||
@@ -68,15 +68,15 @@
|
||||
alt=""
|
||||
class="icon icon1"
|
||||
/>
|
||||
<span class="accounttype">微信</span>
|
||||
<span class="accounttype">{{lan.$t('weixin')}}</span>
|
||||
</div>
|
||||
<div class="btns">
|
||||
<div class="btn" @click="navto(1,i.wallectid)">修改</div>
|
||||
<div class="btn1" @click="del(i.wallectid)">删除</div>
|
||||
<div class="btn" @click="navto(1,i.wallectid)">{{lan.$t('xiugai')}}</div>
|
||||
<div class="btn1" @click="del(i.wallectid)">{{lan.$t('shanchu')}}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="zhanghao" v-if="i.type==4">账号 <span>{{i.bankcode}}</span></div>
|
||||
<div class="zhanghao" v-else>账号 <span>{{i.account}}</span></div>
|
||||
<div class="zhanghao" v-if="i.type==4">{{lan.$t('zhanghao0')}} <span>{{i.bankcode}}</span></div>
|
||||
<div class="zhanghao" v-else>{{lan.$t('zhanghao0')}} <span>{{i.account}}</span></div>
|
||||
</div>
|
||||
|
||||
<!-- <div class="accountitem">
|
||||
@@ -137,7 +137,7 @@
|
||||
<div class="hostinfo">
|
||||
<div v-if="i.type==4">
|
||||
<img src="@/static/images/foreignbank.png" alt="" class="icon" />
|
||||
<span class="accounttype">银行卡</span>
|
||||
<span class="accounttype">{{lan.$t('yinhangka')}}</span>
|
||||
</div>
|
||||
|
||||
<div v-else>
|
||||
@@ -146,40 +146,40 @@
|
||||
</div>
|
||||
|
||||
<div class="btns">
|
||||
<div class="btn" @click="navto(1,i.wallectid)">修改</div>
|
||||
<div class="btn1" @click="del(i.wallectid)">删除</div>
|
||||
<div class="btn" @click="navto(1,i.wallectid)">{{lan.$t('xiugai')}}</div>
|
||||
<div class="btn1" @click="del(i.wallectid)">{{lan.$t('shanchu')}}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="zhanghao" v-if="i.type==4">账号 <span>{{i.bankcode}}</span></div>
|
||||
<div class="zhanghao" v-else>账号 <span>{{i.account}}</span></div>
|
||||
<div class="zhanghao" v-if="i.type==4">{{lan.$t('zhanghao')}} <span>{{i.bankcode}}</span></div>
|
||||
<div class="zhanghao" v-else>{{lan.$t('zhanghao')}} <span>{{i.account}}</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mingxilist" v-if="ifchina && listindex==2">
|
||||
<div class="mingxitop">
|
||||
<div class="tabs">
|
||||
<span class="tabtitle">明细查询</span>
|
||||
<span class="tabtitle">{{lan.$t('mingxichaxun')}}</span>
|
||||
|
||||
<div :class="tabindex == 0 ? 'on' : ''" @click="tabchange(0)">
|
||||
全部
|
||||
{{lan.$t('quanbu')}}
|
||||
</div>
|
||||
<div :class="tabindex == 1 ? 'on' : ''" @click="tabchange(1)">
|
||||
收入
|
||||
{{lan.$t('shouru')}}
|
||||
</div>
|
||||
<div :class="tabindex == 2 ? 'on' : ''" @click="tabchange(2)">
|
||||
支出
|
||||
{{lan.$t('zhichu')}}
|
||||
</div>
|
||||
</div>
|
||||
<a-range-picker @change="onChange" class="choosedate" :placeholder="['请选择开始日期', '请选择结束日期']"/>
|
||||
<a-range-picker @change="onChange" class="choosedate" :placeholder="[lan.$t('kaishiriqi'),lan.$t('jieshuriqi')]"/>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr class="head">
|
||||
<th>日期</th>
|
||||
<th>类型</th>
|
||||
<th>金额</th>
|
||||
<th>操作</th>
|
||||
<th>{{lan.$t('riqi')}}</th>
|
||||
<th>{{lan.$t('leixing')}}</th>
|
||||
<th>{{lan.$t('jine')}}</th>
|
||||
<th>{{lan.$t('caozuo')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -209,12 +209,14 @@ import router from "@/router";
|
||||
import store from '@/store';
|
||||
import { deleteaccount, getwallect, saleinfo } from "@/api";
|
||||
import { useRoute } from 'vue-router';
|
||||
import { useI18n } from '@/utils/i18n';
|
||||
export default defineComponent({
|
||||
name: "Wallet",
|
||||
components: {
|
||||
NavBottom,
|
||||
},
|
||||
setup() {
|
||||
const lan: any = useI18n();
|
||||
const ifchina = true;
|
||||
const ifmingxi = false;
|
||||
const salelist=ref<any>({})
|
||||
@@ -304,7 +306,8 @@ export default defineComponent({
|
||||
dates,
|
||||
del,
|
||||
store,
|
||||
pagechange
|
||||
pagechange,
|
||||
lan
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user