修改分享链接路径

This commit is contained in:
yuyongdong 2024-04-16 18:04:15 +08:00
parent 2b259dafb9
commit 5e99c8bce0
2 changed files with 26 additions and 6 deletions

View File

@ -107,8 +107,8 @@ export default {
mounted() {
this.token = getToken()
if(this.$route.params.name) {
if(this.$route.params.code.split("id=")[1] != 'undefined') {
this.boxCode = this.$route.params.box.split("box=")[1];
if(this.$route.params.code.split("=")[0] == 'box') {
this.boxCode = this.$route.params.code.split("box=")[1];
this.getBoxData()
if(this.token) {
this.getHelpBoxLog()

View File

@ -831,8 +831,10 @@ export default {
this.initData();
this.$nextTick(() => {
if (this.$route.params.code) {
if (this.$route.params.code.split("box=")[1] != "undefined") {
this.helpDialogVisible = true;
if (this.$route.params.code.split("=")[0] == "box") {
if(this.$route.params.code.split("=").split[1]) {
this.helpDialogVisible = true;
}
}
}
});
@ -853,9 +855,12 @@ export default {
this.myEnhanceCount = this.userData.enhanceCount;
this.inWhiteList = this.userData.inWhiteList;
if (this.$route.params.code) {
if (this.$route.params.code.split("new=")[1] != "undefined") {
this.helpConfirm()
if(this.$route.params.code.split("=")[0] == 'new') {
if (this.$route.params.code.split("new=")[1] != "undefined") {
this.helpConfirm()
}
}
}
} else {
this.walletDialogVisible = true;
@ -2040,6 +2045,21 @@ export default {
color: deepskyblue;
}
}
&::-webkit-scrollbar {
width: 5px;
}
&::-webkit-scrollbar-track {
background: #171220;
border-radius: 2px;
}
&::-webkit-scrollbar-corner {
display: block;
}
&::-webkit-scrollbar-thumb {
height: 15px;
background: #9950fd;
border-radius: 10px;
}
}
.partner-list {
height: 380px;