19
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
<view class="qr" @click="toSelfQr">
|
||||
<img src="static/images/self_info_qr.png" alt="" />
|
||||
<img src="static/images/common_right.png" alt="" />
|
||||
<u-icon name="arrow-right" color="#999"></u-icon>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -94,6 +94,7 @@
|
||||
uni.removeStorage({
|
||||
key: "BusinessToken",
|
||||
});
|
||||
IMSDK.asyncApi(IMSDK.IMMethods.UnInitSDK,IMSDK.uuid());
|
||||
}).catch((err) => {
|
||||
console.log(err)
|
||||
}).finally(() => {
|
||||
@@ -116,13 +117,14 @@
|
||||
});
|
||||
},
|
||||
toSelfQr() {
|
||||
const info = {
|
||||
const info = util.aesencode({
|
||||
code : this.selfInfo.userID,
|
||||
showName: `${this.selfInfo.nickname}`,
|
||||
faceURL : this.selfInfo.faceURL,
|
||||
type : "user",
|
||||
};
|
||||
const url = `/pages/common/userOrGroupQrCode?sourceInfo=${JSON.stringify(info,)}`;
|
||||
type : "user"
|
||||
});
|
||||
|
||||
const url = `/pages/common/userOrGroupQrCode?sourceInfo=${info}`;
|
||||
uni.navigateTo({
|
||||
url: url,
|
||||
});
|
||||
@@ -204,15 +206,19 @@
|
||||
.nickname {
|
||||
@include nomalEllipsis();
|
||||
max-width: 400rpx;
|
||||
font-weight: 500;
|
||||
font-weight: 400;
|
||||
font-size: 34rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
|
||||
.id {
|
||||
color: #8e9ab0;
|
||||
}
|
||||
}
|
||||
|
||||
.qr{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
img {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
|
||||
Reference in New Issue
Block a user