Commit 96d25d31 authored by Edwise's avatar Edwise 🍷

版本过低

parent e8f63d73
......@@ -94,7 +94,7 @@
transform-origin: 0px 0px 0px;
}
.invitelistmodal .inviteList .inviteItem .inviteId{
width: 300rpx;
width: 380rpx;
height: 40rpx;
opacity: 1;
display: block;
......
......@@ -12,6 +12,7 @@ const {
getUserAddress,
setClipboard
} = tbcc.tb;
const changeStr = '***'
Component({
props: {},
data: {
......@@ -48,9 +49,9 @@ Component({
let len = data.list[i].userNick.length;
let str = data.list[i].userNick;
if(len<=4){
data.list[i].userNick = str.substr(0,0)+this.changeStr+str.substr(len-1,len-1);
data.list[i].userNick = str.substr(0,0)+changeStr+str.substr(len-1,len-1);
}else{
data.list[i].userNick = str.substr(0,Math.floor((len-3)/2))+this.changeStr+str.substr(len-Math.floor((len-3)/2)-1,len-1)
data.list[i].userNick = str.substr(0,Math.floor((len-3)/2))+changeStr+str.substr(len-Math.floor((len-3)/2)-1,len-1)
}
}
console.log(data.list);
......
......@@ -313,8 +313,8 @@ const resList = {
},
'3ee62d6c-3e44-470b-b2a5-fb805ec6a6c3': {
name: 'mainBG',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/mainBG.c7698e5dba4494258624138e18429842bb37e85f.png',
ext: '.jpg',
url: '//yun.duiba.com.cn/spark/assets/mainBG.677d8c562ee2f8a1fc9aef7830b7fd7e1f3604f9.jpg',
uuid: '3ee62d6c-3e44-470b-b2a5-fb805ec6a6c3'
},
'f3909518-193e-49eb-a1cd-357c4f83d796': {
......
This diff is collapsed.
......@@ -7,11 +7,11 @@
"totalPage": -12361727.86125888,
"list": [
{
"userNick": "1111",
"userNick": "111ythtyjhytj1",
"createTime": "1602482660574"
},
{
"userNick": "2222",
"userNick": "2222tyjtyjytjtyjtyjtyjtyjtyj",
"createTime": "1602485660574"
},
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment