web: optimize tweet link/visibility option display layout

pull/165/head
Michael Li 2 years ago
parent 9e09446ae8
commit 54fa8dc004

@ -321,13 +321,16 @@ const uploadToken = ref();
const switchLink = () => { const switchLink = () => {
showLinkSet.value = !showLinkSet.value; showLinkSet.value = !showLinkSet.value;
if (!showLinkSet.value) { if (showLinkSet.value && showEyeSet.value) {
links.value = []; showEyeSet.value = false
} }
}; };
const switchEye = () => { const switchEye = () => {
showEyeSet.value = !showEyeSet.value; showEyeSet.value = !showEyeSet.value;
if (showEyeSet.value && showLinkSet.value) {
showLinkSet.value = false
}
}; };
// 加载at用户列表 // 加载at用户列表
@ -642,6 +645,13 @@ onMounted(() => {
} }
} }
} }
.link-wrap {
margin-left: 42px;
margin-right: 42px;
}
.eye-wrap {
margin-left: 64px;
}
.login-wrap { .login-wrap {
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -662,7 +672,4 @@ onMounted(() => {
overflow: hidden; overflow: hidden;
} }
} }
.eye-wrap {
margin-left: 64px;
}
</style> </style>
Loading…
Cancel
Save