<template>
|
<div class="user_page">
|
<div class="content">
|
<div class="top_icon">
|
<div class="left_back" @click="handleBack()">
|
<img src="@/assets/img/zuojiantou.png" alt />
|
</div>
|
</div>
|
<div
|
class="user-page-box"
|
style="height: auto"
|
v-for="(item, index) in dataList"
|
:key="index"
|
>
|
<div>
|
<div>
|
{{ $t("sj") }}: {{ item.operateTime | timecap }}
|
<!-- {{ moment(item.operateTime).format("MMMM Do YYYY, h:mm:ss a") }} -->
|
</div>
|
<div class="flexVox">
|
<div>
|
<div>{{ $t("hj331") }}:{{ recordType(item.recordType) }}</div>
|
<div class="miaoshu">
|
{{ $t("hj332") }}:{{ item.generateDescribe }}
|
</div>
|
</div>
|
</div>
|
<div class="generateAmt">
|
{{ $t("je") }}:₹ {{ item.generateAmt.toFixed(3) + " " }}
|
</div>
|
</div>
|
</div>
|
<!-- <div class="box">
|
<div></div>
|
</div>
|
<div class="box">
|
<div></div>
|
</div>
|
<div class="box">
|
<div></div>
|
</div>
|
<div class="box">
|
<div></div>
|
</div> -->
|
</div>
|
</div>
|
</template>
|
|
<script>
|
import * as api from "@/axios/api";
|
import { mapState } from "vuex";
|
import moment from "moment";
|
|
export default {
|
name: "newUser",
|
data() {
|
return {
|
name: "大狗子",
|
selectUserFlag: true,
|
// tabsArr: [this.$t('hj172'), this.$t('hj177')],
|
tabsCurrentIndex: 0,
|
walletNum: "",
|
skName: "",
|
skBankName: "",
|
skUser: "",
|
messShow: false,
|
mess: "",
|
messDialog: false,
|
withdrawalValue: "",
|
settingInfo: {},
|
onlineService: "",
|
showPopover: false,
|
actions: [
|
{
|
text: "English",
|
icon: require("@/assets/ico/english.png"),
|
lang: "zh-CN",
|
},
|
{
|
text: "हिंदी",
|
icon: require("@/assets/ico/india.png"),
|
lang: "en",
|
},
|
{ text: "繁体中文", icon: require("@/assets/ico/tw.png"), lang: "tw" },
|
],
|
dataList: [],
|
};
|
},
|
computed: {},
|
created() {
|
this.getuserrecord();
|
},
|
filters: {
|
timecap(val) {
|
return moment(Number(val)).format("DD.MM.YYYY HH:mm");
|
},
|
},
|
methods: {
|
handleBack() {
|
// 点击返回/
|
this.$router.go(-1);
|
},
|
recordType(val) {
|
switch (val) {
|
case 1:
|
return this.$t("hj170");
|
case 2:
|
return this.$t("hj333");
|
case 3:
|
return this.$t("hj334");
|
case 4:
|
return this.$t("hj335");
|
|
default:
|
break;
|
}
|
},
|
async getuserrecord() {
|
const res = await api.getuserrecord();
|
if (res.status === 0) {
|
this.dataList = res.data;
|
}
|
console.log(res, "vuels");
|
},
|
},
|
};
|
</script>
|
|
<style scoped lang="less">
|
.user-page-box {
|
width: 100%;
|
// height: 100px;
|
background-color: #fff;
|
border-radius: 4px;
|
box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.1);
|
margin-bottom: 20px;
|
padding: 20px;
|
font-size: 20px;
|
.miaoshu {
|
margin: 10px 0;
|
// overflow: hidden;
|
// white-space: nowrap;
|
// text-overflow: ellipsis;
|
word-wrap: break-word;
|
//width: 300px;
|
}
|
.flexVox {
|
margin-top: 30px;
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
.generateAmt {
|
font-size: 30px;
|
color: red;
|
}
|
}
|
}
|
.user_page {
|
width: 100%;
|
height: calc(100% - 1.3rem);
|
|
.content {
|
width: 100%;
|
height: 100%;
|
padding: 0 0.3rem;
|
|
.top_icon {
|
width: 100%;
|
height: 1.5rem;
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
|
.left_back {
|
width: 10%;
|
height: 50%;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
|
img {
|
width: 0.6rem;
|
height: 0.6rem;
|
}
|
}
|
|
.right_icon {
|
width: 18%;
|
height: 35%;
|
padding-right: 0.1rem;
|
display: flex;
|
justify-content: space-between;
|
|
> div {
|
width: auto;
|
height: 100%;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
|
img {
|
width: 0.55rem;
|
height: 0.55rem;
|
}
|
}
|
}
|
}
|
|
.users {
|
width: 100%;
|
height: 1.7949rem;
|
background: #fff;
|
border-radius: 0.15rem;
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
|
.left_tou {
|
width: 80%;
|
height: 70%;
|
display: flex;
|
|
.left_tx {
|
width: 20%;
|
height: 100%;
|
margin-left: 0.3rem;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
|
> div {
|
width: 1rem;
|
height: 1rem;
|
border-radius: 50%;
|
overflow: hidden;
|
background: rgb(211, 211, 211);
|
|
img {
|
width: 100%;
|
height: 100%;
|
}
|
}
|
}
|
|
.right_name {
|
width: 80%;
|
height: 100%;
|
display: flex;
|
align-items: center;
|
font-size: 0.4415rem;
|
|
span {
|
font-weight: 600;
|
}
|
}
|
}
|
|
.right_go {
|
width: 20%;
|
height: 70%;
|
display: flex;
|
justify-content: flex-end;
|
align-items: center;
|
padding-right: 0.2rem;
|
|
img {
|
width: 0.6rem;
|
height: 0.6rem;
|
}
|
}
|
}
|
|
.center_card {
|
width: 100%;
|
height: 5.3846rem;
|
background-image: linear-gradient(to right bottom, #ffffff, #dfedfc);
|
// background-image: linear-gradient(to right, #ffffff , #dfedfc);
|
border-radius: 0.15rem;
|
padding: 0.5rem 0.4rem;
|
|
.keyon {
|
width: 100%;
|
height: 0.5128rem;
|
font-size: 0.359rem;
|
display: flex;
|
align-items: center;
|
color: #3d4144;
|
|
span {
|
font-weight: 600;
|
}
|
}
|
|
.num_price {
|
width: 100%;
|
height: 0.6667rem;
|
margin-top: 0.1rem;
|
display: flex;
|
align-items: center;
|
font-size: 0.5528rem;
|
|
span {
|
font-weight: 600;
|
}
|
}
|
|
.yk {
|
width: 100%;
|
height: 0.5rem;
|
display: flex;
|
align-items: center;
|
|
> div {
|
width: 50%;
|
height: 100%;
|
color: #97989d;
|
display: flex;
|
align-items: center;
|
}
|
}
|
|
.yk.es {
|
margin-top: 0.3rem;
|
}
|
|
.yk.as {
|
font-size: 0.4033rem;
|
margin-top: 0.1rem;
|
|
span {
|
color: #000;
|
font-weight: 600;
|
}
|
|
.bzz {
|
color: #4ea364;
|
}
|
}
|
|
.btns {
|
width: 100%;
|
height: 1.2821rem;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
border-radius: 0.25rem;
|
background: #5c288c;
|
font-size: 0.4015rem;
|
color: #fff;
|
margin-top: 0.35rem;
|
|
span {
|
font-weight: 600;
|
}
|
}
|
|
.active {
|
background: #4ea364;
|
}
|
}
|
|
.jy {
|
width: 100%;
|
height: 1.5rem;
|
border-radius: 0.2rem;
|
background: #fff;
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
padding: 0 0.3rem;
|
margin-top: 0.3rem;
|
|
.left_gn {
|
width: 40%;
|
height: 60%;
|
display: flex;
|
|
.l_icon {
|
width: 30%;
|
height: 100%;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
|
img {
|
width: 0.5041rem;
|
height: 0.5041rem;
|
}
|
}
|
|
.r_title {
|
width: 70%;
|
height: 100%;
|
display: flex;
|
align-items: center;
|
font-size: 0.4046rem;
|
color: #404040;
|
|
span {
|
font-weight: 600;
|
}
|
}
|
}
|
|
.right_gos {
|
width: 20%;
|
height: 60%;
|
display: flex;
|
align-items: center;
|
justify-content: flex-end;
|
|
img {
|
width: 0.6rem;
|
height: 0.6rem;
|
}
|
}
|
}
|
}
|
}
|
|
.tabs {
|
width: 100%;
|
height: 1rem;
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
|
> div {
|
width: 48%;
|
height: 70%;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
}
|
|
.active {
|
background: rgb(255, 255, 255);
|
border-radius: 0.15rem;
|
}
|
}
|
|
.banks {
|
width: 100%;
|
background: #fff;
|
padding: 0 0.4rem;
|
border-radius: 0.3rem;
|
margin-top: 0.3rem;
|
|
> div {
|
width: 100%;
|
// height: 1.5385rem;
|
// margin-top: 0.3rem;
|
padding: 0.5rem 0;
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
border-bottom: 0.05rem solid rgb(224, 224, 224);
|
font-size: 0.359rem;
|
|
span {
|
font-weight: 600;
|
}
|
|
.left_name {
|
width: 25%;
|
height: 50%;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
}
|
|
.center_input {
|
width: 60%;
|
height: 50%;
|
|
input {
|
width: 100%;
|
height: 100%;
|
}
|
}
|
|
.right_copy {
|
// width: 15%;
|
height: 50%;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
}
|
}
|
}
|
|
.img_right {
|
> img {
|
width: 0.55rem;
|
height: 0.55rem;
|
}
|
}
|
|
.mess_content {
|
width: 100%;
|
height: 100%;
|
padding: 0.5rem 0.3rem;
|
|
.top_title {
|
width: 100%;
|
height: 2.5rem;
|
|
.tt {
|
width: 100%;
|
height: 30%;
|
display: flex;
|
align-items: center;
|
|
.left_icon {
|
width: 0.5rem;
|
height: 100%;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
|
img {
|
width: 0.4rem;
|
height: 0.4rem;
|
}
|
}
|
|
.right_title {
|
margin-left: 0.2rem;
|
}
|
}
|
}
|
|
._on {
|
width: 100%;
|
height: 0.5rem;
|
padding: 0 0.3rem;
|
margin-top: 0.1rem;
|
}
|
|
.hgg {
|
line-height: 0.5rem;
|
}
|
}
|
|
.withdrawal {
|
width: 100%;
|
height: 5rem;
|
background: #fff;
|
border-radius: 0.15rem;
|
padding: 0.5rem 0.4rem;
|
background-image: linear-gradient(to right bottom, #ffffff, #dfedfc);
|
|
.ttx {
|
width: 100%;
|
height: 0.5rem;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
font-size: 0.35rem;
|
}
|
|
.ttx_price {
|
width: 100%;
|
height: 1rem;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
color: #5c288c;
|
font-size: 0.6615rem;
|
|
span {
|
font-weight: 600;
|
}
|
}
|
|
.ttx_input {
|
width: 100%;
|
height: 1rem;
|
display: flex;
|
|
> div {
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
}
|
|
.titles {
|
width: 20%;
|
height: 100%;
|
font-size: 0.35rem;
|
}
|
|
.num {
|
width: 70%;
|
height: 100%;
|
font-size: 0.35rem;
|
|
input {
|
width: 100%;
|
height: 100%;
|
padding-left: 1rem;
|
font-weight: 600;
|
font-size: 0.35rem;
|
}
|
}
|
|
.all {
|
width: 10%;
|
height: 100%;
|
font-size: 0.35rem;
|
}
|
}
|
}
|
|
.btns {
|
width: 100%;
|
height: 1.2821rem;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
border-radius: 0.25rem;
|
background: #5c288c;
|
font-size: 0.4015rem;
|
color: #fff;
|
margin-top: 0.35rem;
|
|
span {
|
font-weight: 600;
|
}
|
}
|
|
.bank_1:last-child {
|
border: none;
|
}
|
</style>
|