Skip to content

Commit

Permalink
fix: update styles
Browse files Browse the repository at this point in the history
  • Loading branch information
asadahimeka committed May 24, 2024
1 parent a99aca2 commit 168a63d
Show file tree
Hide file tree
Showing 24 changed files with 54 additions and 30 deletions.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ html,body
margin-bottom 0
padding 0.3rem 0
background: rgba(255,255,255,0.8)
backdrop-filter: saturate(200%) blur(6px)
backdrop-filter: saturate(200%) blur(10PX)
.home-title
position absolute
top 50%
Expand Down
4 changes: 2 additions & 2 deletions src/api/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export async function initUser() {
} else {
// removeCookie('CSRFTOKEN')
sessionStorage.removeItem('PXV_NOW_CSRFTOKEN')
throw new Error('无效的session ID')
throw new Error(i18n.t('k0V0c1MNZGYs9MCqjx8QL'))
}
} catch (err) {
// removeCookie('CSRFTOKEN')
Expand All @@ -101,7 +101,7 @@ export async function initUser() {
export function login(token) {
if (!validateSessionId(token)) {
console.error('访问令牌格式错误')
return Promise.reject(new Error('访问令牌格式错误'))
return Promise.reject(new Error(i18n.t('3UCLxnEsirUQvP_xv4po4')))
}
// setCookie('PHPSESSID', token, 180)
LocalStorage.set('PXV_NOW_COOKIE', `PHPSESSID=${token}`, 180 * 86400)
Expand Down
2 changes: 1 addition & 1 deletion src/assets/style/base.styl
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ html:has(.dark)
height 110px
.nav-container .nav-bar
box-shadow 0 0 0.26667rem #222
background rgba(0,0,0,0.8)
background rgba(0,0,0,0.7)
li
display flex
justify-content center
Expand Down
2 changes: 1 addition & 1 deletion src/components/Nav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default {
border-top-left-radius: 16px;
border-top-right-radius: 16px;
// backdrop-filter: blur(6px);
backdrop-filter: saturate(200%) blur(6px);
backdrop-filter: saturate(200%) blur(10PX);
background: rgba(255, 255, 255, 0.8);
li {
Expand Down
4 changes: 3 additions & 1 deletion src/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -427,5 +427,7 @@
"1V8tlBs--oNk_UbzsItA-": "Alternativer Standort",
"vqHSGcz4r3oSQIWQwZiVf": "Bisher hat noch niemand einen Kommentar abgegeben~",
"0CDMRP9wSGJQTyMbvrM8z": "Antworten anzeigen",
"qLUWER5bf4X2lE0RjKTBj": "Verwenden Sie Fancybox, um das Originalbild auf der Detailseite anzuzeigen"
"qLUWER5bf4X2lE0RjKTBj": "Verwenden Sie Fancybox, um das Originalbild auf der Detailseite anzuzeigen",
"k0V0c1MNZGYs9MCqjx8QL": "Ungültige Sitzungs-ID",
"3UCLxnEsirUQvP_xv4po4": "Fehler im Format des Zugriffstokens"
}
4 changes: 3 additions & 1 deletion src/locales/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -427,5 +427,7 @@
"1V8tlBs--oNk_UbzsItA-": "Εναλλακτική τοποθεσία",
"vqHSGcz4r3oSQIWQwZiVf": "Κανείς δεν έχει σχολιάσει ακόμα~",
"0CDMRP9wSGJQTyMbvrM8z": "Προβολή απαντήσεων",
"qLUWER5bf4X2lE0RjKTBj": "Χρησιμοποιήστε το Fancybox για να προβάλετε την αρχική εικόνα στη σελίδα λεπτομερειών"
"qLUWER5bf4X2lE0RjKTBj": "Χρησιμοποιήστε το Fancybox για να προβάλετε την αρχική εικόνα στη σελίδα λεπτομερειών",
"k0V0c1MNZGYs9MCqjx8QL": "Μη έγκυρο αναγνωριστικό περιόδου σύνδεσης",
"3UCLxnEsirUQvP_xv4po4": "Σφάλμα μορφής διακριτικού πρόσβασης"
}
4 changes: 3 additions & 1 deletion src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -427,5 +427,7 @@
"1V8tlBs--oNk_UbzsItA-": "Alternate site",
"vqHSGcz4r3oSQIWQwZiVf": "No one has commented yet~",
"0CDMRP9wSGJQTyMbvrM8z": "View replies",
"qLUWER5bf4X2lE0RjKTBj": "Use Fancybox to view the original image on the details page"
"qLUWER5bf4X2lE0RjKTBj": "Use Fancybox to view the original image on the details page",
"k0V0c1MNZGYs9MCqjx8QL": "Invalid session ID",
"3UCLxnEsirUQvP_xv4po4": "Access token format error"
}
4 changes: 3 additions & 1 deletion src/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -427,5 +427,7 @@
"1V8tlBs--oNk_UbzsItA-": "Sitio alternativo",
"vqHSGcz4r3oSQIWQwZiVf": "Nadie ha comentado todavía ~",
"0CDMRP9wSGJQTyMbvrM8z": "Ver respuestas",
"qLUWER5bf4X2lE0RjKTBj": "Utilice Fancybox para ver la imagen original en la página de detalles"
"qLUWER5bf4X2lE0RjKTBj": "Utilice Fancybox para ver la imagen original en la página de detalles",
"k0V0c1MNZGYs9MCqjx8QL": "ID de sesión no válido",
"3UCLxnEsirUQvP_xv4po4": "Error de formato del token de acceso"
}
4 changes: 3 additions & 1 deletion src/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -427,5 +427,7 @@
"1V8tlBs--oNk_UbzsItA-": "Site alternatif",
"vqHSGcz4r3oSQIWQwZiVf": "Personne n'a encore commenté~",
"0CDMRP9wSGJQTyMbvrM8z": "Afficher les réponses",
"qLUWER5bf4X2lE0RjKTBj": "Utilisez Fancybox pour afficher l'image originale sur la page de détails"
"qLUWER5bf4X2lE0RjKTBj": "Utilisez Fancybox pour afficher l'image originale sur la page de détails",
"k0V0c1MNZGYs9MCqjx8QL": "ID de session invalide",
"3UCLxnEsirUQvP_xv4po4": "Erreur de format du jeton d'accès"
}
4 changes: 3 additions & 1 deletion src/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -427,5 +427,7 @@
"1V8tlBs--oNk_UbzsItA-": "Sito alternativo",
"vqHSGcz4r3oSQIWQwZiVf": "Nessuno ha ancora commentato~",
"0CDMRP9wSGJQTyMbvrM8z": "Visualizza le risposte",
"qLUWER5bf4X2lE0RjKTBj": "Utilizza Fancybox per visualizzare l'immagine originale nella pagina dei dettagli"
"qLUWER5bf4X2lE0RjKTBj": "Utilizza Fancybox per visualizzare l'immagine originale nella pagina dei dettagli",
"k0V0c1MNZGYs9MCqjx8QL": "ID sessione non valido",
"3UCLxnEsirUQvP_xv4po4": "Errore nel formato del token di accesso"
}
4 changes: 3 additions & 1 deletion src/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -427,5 +427,7 @@
"1V8tlBs--oNk_UbzsItA-": "代替サイト",
"vqHSGcz4r3oSQIWQwZiVf": "まだ誰もコメントしてないよ〜",
"0CDMRP9wSGJQTyMbvrM8z": "返信を見る",
"qLUWER5bf4X2lE0RjKTBj": "Fancybox を使用して詳細ページで画像を表示します"
"qLUWER5bf4X2lE0RjKTBj": "Fancybox を使用して詳細ページで画像を表示します",
"k0V0c1MNZGYs9MCqjx8QL": "無効なセッションID",
"3UCLxnEsirUQvP_xv4po4": "アクセストークンフォーマットエラー"
}
4 changes: 3 additions & 1 deletion src/locales/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -427,5 +427,7 @@
"1V8tlBs--oNk_UbzsItA-": "대체 사이트",
"vqHSGcz4r3oSQIWQwZiVf": "아직 댓글을 단 사람이 없습니다~",
"0CDMRP9wSGJQTyMbvrM8z": "답글 보기",
"qLUWER5bf4X2lE0RjKTBj": "Fancybox를 사용하여 세부정보 페이지에서 원본 이미지를 확인하세요."
"qLUWER5bf4X2lE0RjKTBj": "Fancybox를 사용하여 세부정보 페이지에서 원본 이미지를 확인하세요.",
"k0V0c1MNZGYs9MCqjx8QL": "잘못된 세션 ID",
"3UCLxnEsirUQvP_xv4po4": "액세스 토큰 형식 오류"
}
4 changes: 3 additions & 1 deletion src/locales/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -427,5 +427,7 @@
"1V8tlBs--oNk_UbzsItA-": "Site alternativo",
"vqHSGcz4r3oSQIWQwZiVf": "Ninguém comentou ainda~",
"0CDMRP9wSGJQTyMbvrM8z": "Ver respostas",
"qLUWER5bf4X2lE0RjKTBj": "Use o Fancybox para visualizar a imagem original na página de detalhes"
"qLUWER5bf4X2lE0RjKTBj": "Use o Fancybox para visualizar a imagem original na página de detalhes",
"k0V0c1MNZGYs9MCqjx8QL": "ID de sessão inválido",
"3UCLxnEsirUQvP_xv4po4": "Erro no formato do token de acesso"
}
4 changes: 3 additions & 1 deletion src/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -427,5 +427,7 @@
"1V8tlBs--oNk_UbzsItA-": "Альтернативный сайт",
"vqHSGcz4r3oSQIWQwZiVf": "Еще никто не прокомментировал~",
"0CDMRP9wSGJQTyMbvrM8z": "Посмотреть ответы",
"qLUWER5bf4X2lE0RjKTBj": "Используйте Fancybox для просмотра исходного изображения на странице сведений."
"qLUWER5bf4X2lE0RjKTBj": "Используйте Fancybox для просмотра исходного изображения на странице сведений.",
"k0V0c1MNZGYs9MCqjx8QL": "Неверный идентификатор сеанса",
"3UCLxnEsirUQvP_xv4po4": "Ошибка формата токена доступа"
}
4 changes: 3 additions & 1 deletion src/locales/zh-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -427,5 +427,7 @@
"1V8tlBs--oNk_UbzsItA-": "备用域名",
"vqHSGcz4r3oSQIWQwZiVf": "还没有人发表评论呢~",
"0CDMRP9wSGJQTyMbvrM8z": "查看回复",
"qLUWER5bf4X2lE0RjKTBj": "详情页使用 Fancybox 查看原图"
"qLUWER5bf4X2lE0RjKTBj": "详情页使用 Fancybox 查看原图",
"k0V0c1MNZGYs9MCqjx8QL": "无效的session ID",
"3UCLxnEsirUQvP_xv4po4": "访问令牌格式错误"
}
4 changes: 3 additions & 1 deletion src/locales/zh-Hant.json
Original file line number Diff line number Diff line change
Expand Up @@ -427,5 +427,7 @@
"1V8tlBs--oNk_UbzsItA-": "備用域名",
"vqHSGcz4r3oSQIWQwZiVf": "還沒有人發表評論呢~",
"0CDMRP9wSGJQTyMbvrM8z": "查看回覆",
"qLUWER5bf4X2lE0RjKTBj": "詳情頁使用 Fancybox 查看原圖"
"qLUWER5bf4X2lE0RjKTBj": "詳情頁使用 Fancybox 查看原圖",
"k0V0c1MNZGYs9MCqjx8QL": "無效的session ID",
"3UCLxnEsirUQvP_xv4po4": "存取令牌格式錯誤"
}
2 changes: 1 addition & 1 deletion src/views/Account/Following.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default {
.van-tabs__nav
padding-bottom 0
background: rgba(255,255,255,0.8)
backdrop-filter: saturate(200%) blur(0.08rem)
backdrop-filter: saturate(200%) blur(10PX)
.van-tab
margin 0 0.1rem
padding 0
Expand Down
2 changes: 1 addition & 1 deletion src/views/Rank/RankNovel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export default {
// background: #fff;
z-index: 1;
// backdrop-filter: blur(6px);
backdrop-filter: saturate(200%) blur(6px);
backdrop-filter: saturate(200%) blur(10PX);
background: rgba(255, 255, 255, 0.8);
.nav {
Expand Down
2 changes: 1 addition & 1 deletion src/views/Rank/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ export default {
// background: #fff;
z-index: 10;
// backdrop-filter: blur(6px);
backdrop-filter: saturate(200%) blur(6px);
backdrop-filter: saturate(200%) blur(10PX);
background: rgba(255, 255, 255, 0.8);
.nav {
Expand Down
4 changes: 2 additions & 2 deletions src/views/Search/SearchNovel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ export default {
height: 120px;
padding-top 0.133rem
padding-bottom 0
backdrop-filter: saturate(200%) blur(6px);
backdrop-filter: saturate(200%) blur(10PX);
background: rgba(255, 255, 255, 0.8);
::v-deep .van-cell {
Expand Down Expand Up @@ -496,7 +496,7 @@ export default {
top 120px
margin-bottom 0
padding 0px 0px 20px
backdrop-filter: saturate(200%) blur(6px);
backdrop-filter: saturate(200%) blur(10PX);
background: rgba(255, 255, 255, 0.8);
}
Expand Down
4 changes: 2 additions & 2 deletions src/views/Search/SearchRes.vue
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ export default {
height: 120px;
padding-top 0.133rem
padding-bottom 0
backdrop-filter: saturate(200%) blur(6px);
backdrop-filter: saturate(200%) blur(10PX);
background: rgba(255, 255, 255, 0.8);
::v-deep .van-cell {
Expand Down Expand Up @@ -643,7 +643,7 @@ export default {
top 120px
margin-bottom 0
padding 0px 0px 20px
backdrop-filter: saturate(200%) blur(6px);
backdrop-filter: saturate(200%) blur(10PX);
background: rgba(255, 255, 255, 0.8);
}
Expand Down
4 changes: 2 additions & 2 deletions src/views/Search/SearchUser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default {
height: 120px;
padding-top 0.133rem
padding-bottom 0
backdrop-filter: saturate(200%) blur(6px);
backdrop-filter: saturate(200%) blur(10PX);
background: rgba(255, 255, 255, 0.8);
::v-deep .van-cell {
Expand All @@ -114,7 +114,7 @@ export default {
top 120px
margin-bottom 0
padding 0px 0px 20px
backdrop-filter: saturate(200%) blur(6px);
backdrop-filter: saturate(200%) blur(10PX);
background: rgba(255, 255, 255, 0.8);
}
Expand Down
4 changes: 2 additions & 2 deletions src/views/Search/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export default {
height: 120px;
padding-top 0.133rem
padding-bottom 0
backdrop-filter: saturate(200%) blur(6px);
backdrop-filter: saturate(200%) blur(10PX);
background: rgba(255, 255, 255, 0.8);
::v-deep .van-cell {
Expand Down Expand Up @@ -387,7 +387,7 @@ export default {
top 120px
margin-bottom 0
padding 0px 0px 20px
backdrop-filter: saturate(200%) blur(6px);
backdrop-filter: saturate(200%) blur(10PX);
background: rgba(255, 255, 255, 0.8);
}
Expand Down
4 changes: 2 additions & 2 deletions src/views/Setting/AccentColor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<div class="color-list">
<div v-for="c in colors" :key="c.name" class="color-item" @click="saveActColor(c)">
<div class="color-bg" :style="{background:c.color}">{{ c.color }}</div>
<div class="color-name" :style="{color:c.color}">
<span v-if="c.color == actColor">✅</span>
<div class="color-name flex-c" :style="{color:c.color}">
<van-checkbox v-if="c.color == actColor" :value="true" checked-color="#00AA90" style="margin-right: 0.15rem" />
<span>{{ c.name }}</span>
</div>
</div>
Expand Down

0 comments on commit 168a63d

Please sign in to comment.