调整复制用户中心兼容

This commit is contained in:
唐明明
2021-10-13 12:04:45 +08:00
parent b6e58b2431
commit 7ee3ddee63
10 changed files with 2639 additions and 2875 deletions

View File

@@ -228,7 +228,7 @@
.propery {
position: relative;
padding-top: var(--status-bar-height);
background-image: linear-gradient(to right, #7c52fc, #976dff);
background-image: linear-gradient(to top, #7c52fc, #976dff);
position: relative;
overflow: hidden;
@@ -246,7 +246,7 @@
.propery-content {
position: relative;
z-index: 1;
padding: $padding *3 $padding *1.4;
padding: $padding/2 $padding $padding*3;
text-align: center;
.currency {

View File

@@ -162,17 +162,15 @@
showCancel:false,
success: (res) => {
if (res.confirm) {
const result = h5Copy(this.balance.address)
if (result === false) {
uni.showToast({
title:'不支持',
})
} else {
uni.showToast({
title:'复制成功',
icon:'none'
})
}
uni.setClipboardData({
data: this.balance.address,
success() {
uni.showToast({
title: '区块链地址已复制',
icon : 'none'
})
}
})
}
}
})
@@ -283,10 +281,9 @@
.propery {
position: relative;
padding-top: var(--status-bar-height);
background-image: linear-gradient(to right, #7c52fc, #976dff);
background-image: linear-gradient(to top, #7c52fc, #976dff);
position: relative;
overflow: hidden;
.record-bg {
position: absolute;
width: 100%;
@@ -315,7 +312,7 @@
.propery-content {
position: relative;
z-index: 1;
padding: $padding *3 $padding *1.4;
padding: $padding/2 $padding $padding*3;
text-align: center;
.currency {