File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -202,19 +202,6 @@ onBeforeMount(() => {
202202 & :active {
203203 background-color : rgba (var (--primary ), 0.12 );
204204 }
205- @media (max-width : 768px ) {
206- width : 40px ;
207- height : 40px ;
208- padding : 0 ;
209- justify-content : center ;
210- background-color : transparent ;
211- .avatar {
212- border : none ;
213- }
214- .user-data {
215- display : none ;
216- }
217- }
218205}
219206.user-menu {
220207 display : flex ;
Original file line number Diff line number Diff line change 1313 <!-- 其他方式 -->
1414 <n-flex align =" center" class =" other" >
1515 <n-button :focusable =" false" size =" small" quaternary round @click =" specialLogin('uid')" >
16- {{ isMobile ? " UID" : "UID 登录" }}
16+ UID 登录
1717 </n-button >
1818 <n-divider vertical />
1919 <n-button :focusable =" false" size =" small" quaternary round @click =" specialLogin('cookie')" >
20- {{ isMobile ? " Cookie" : "Cookie 登录" }}
20+ Cookie 登录
2121 </n-button >
2222 </n-flex >
2323 <!-- 关闭登录 -->
@@ -35,7 +35,6 @@ import { setCookies } from "@/utils/cookie";
3535import { updateSpecialUserData , updateUserData } from " @/utils/auth" ;
3636import { useDataStore } from " @/stores" ;
3737import { LoginType } from " @/types/main" ;
38- import { isMobile } from " @/utils/env" ;
3938import LoginUID from " ./LoginUID.vue" ;
4039import LoginCookie from " ./LoginCookie.vue" ;
4140
@@ -123,21 +122,5 @@ onBeforeMount(() => {
123122 .close {
124123 margin-bottom : 8px ;
125124 }
126- @media (max-width : 768px ) {
127- .logo {
128- width : 50px ;
129- height : 50px ;
130- margin : 10px auto 20px auto ;
131- }
132- .login-tabs {
133- transform : scale (0.9 );
134- }
135- .other {
136- margin : 10px 0 ;
137- .n-button {
138- width : 80px ;
139- }
140- }
141- }
142125}
143126 </style >
Original file line number Diff line number Diff line change @@ -506,9 +506,6 @@ onBeforeUnmount(() => {
506506 .roma {
507507 text-align : right ;
508508 justify-content : flex-end ;
509- @media (max-width : 768px ) {
510- justify-content : flex-start ;
511- }
512509 }
513510 }
514511 }
Original file line number Diff line number Diff line change @@ -191,25 +191,6 @@ onMounted(() => {
191191 & .focus {
192192 width : 300px ;
193193 }
194- @media (max-width : 768px ) {
195- width : 40px ;
196- padding : 0 ;
197- :deep (.n-input__input ) {
198- opacity : 0 ;
199- }
200- :deep (.n-input__placeholder ) {
201- opacity : 0 ;
202- }
203- & .focus {
204- width : 200px ;
205- :deep (.n-input__input ) {
206- opacity : 1 ;
207- }
208- :deep(.n-input__placeholder ) {
209- opacity : 1 ;
210- }
211- }
212- }
213194 }
214195 .search-mask {
215196 position : fixed ;
You can’t perform that action at this time.
0 commit comments