This commit is contained in:
huangjinming 2022-11-17 19:31:46 +08:00
parent 58c77e2240
commit 70133e8c79

View File

@ -208,8 +208,8 @@ export default {
.then((res) => {
console.log("success", res.data);
this.userinfo = res.data;
this.discord = this.formatAddress (res.data.discord);
this.twitter =this.formatAddress (res.data.twitter);
this.discord = this.formatAddress(res.data.discord);
this.twitter =this.formatAddress(res.data.twitter);
this.cp_url = `${CP_URL_BASE}${this.userinfo.invite_code}`;
})
.catch((err) => {
@ -242,8 +242,8 @@ export default {
console.log(address);
if (address.length >= 10) {
return (
address.substring(0, 6) +
"......" +
address.substring(0, 3) +
"..." +
address.substring(address.length - 4)
);
} else if (address.length > 0 && address.length < 10) {
@ -252,6 +252,7 @@ export default {
return "-";
}
},
navigator() {
this.$router.push("listdetails");
@ -337,14 +338,14 @@ export default {
align-items: center;
}
.text {
width: 60%;
width: 64%;
font-size: 0.66rem;
font-family: "OPPOSans";
font-weight: normal;
color: #d7a972;
overflow: hidden !important;
white-space: nowrap;
text-overflow: ellipsis;
// text-overflow: ellipsis;
}
.icon-content {
display: flex;