Skip to content

Commit

Permalink
chore: 样式
Browse files Browse the repository at this point in the history
  • Loading branch information
xream committed Jan 17, 2024
1 parent c3ea821 commit 2b47579
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 22 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sub-store-front-end",
"version": "2.14.73",
"version": "2.14.74",
"private": true,
"scripts": {
"dev": "vite --host",
Expand Down
39 changes: 20 additions & 19 deletions src/components/ArtifactPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,16 +100,13 @@

</nut-form-item>
<template v-if="sourceInput && ['subscription', 'collection'].includes(editPanelData.type)">
<nut-form-item
:label="$t(`syncPage.addArtForm.includeUnsupportedProxy.label`)"
prop="includeUnsupportedProxy"
class="include-unsupported-proxy-wrapper"
>
<div class="swtich-wrapper">
<nut-icon name="tips" @click="includeUnsupportedProxyTips"></nut-icon>
<nut-switch v-model="editPanelData.includeUnsupportedProxy"/>
<div class="include-unsupported-proxy-wrapper">
<div class="label" @click="includeUnsupportedProxyTips">
<p>{{ $t(`syncPage.addArtForm.includeUnsupportedProxy.label`) }}</p>
<nut-icon name="tips"></nut-icon>
</div>
</nut-form-item>
<nut-switch v-model="editPanelData.includeUnsupportedProxy"/>
</div>

<nut-form-item :label="$t(`syncPage.addArtForm.platform.label`)">
<nut-radiogroup
Expand Down Expand Up @@ -344,6 +341,20 @@
<style lang="scss">
.artifact-panel {
.include-unsupported-proxy-wrapper {
flex-direction: row;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 14px;
padding: 0 8px 0 8px;
.label {
color: var(--comment-text-color);
display: flex;
justify-content: space-between;
align-items: center;
}
}
.nut-dialog {
width: 88vw;
Expand Down Expand Up @@ -377,16 +388,6 @@
}
}
}
.include-unsupported-proxy-wrapper {
flex-direction: row;
justify-content: space-between;
.swtich-wrapper {
color: var(--comment-text-color);
display: flex;
justify-content: space-between;
align-items: center;
}
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ export default {
label: 'Includes protocols not supported by the official/store version',
tips: {
title: 'Includes protocols not supported by the official/store version',
content: 'sing-box: ShadowsocksR\nQuantumult X: VLESS'
content: 'sing-box: +ShadowsocksR\nQuantumult X: +VLESS'
}
},
platform: {
Expand Down
2 changes: 1 addition & 1 deletion src/locales/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ export default {
label: '包含官方/商店版不支持的协议',
tips: {
title: '包含官方/商店版不支持的协议',
content: 'sing-box: ShadowsocksR\nQuantumult X: VLESS'
content: 'sing-box: +ShadowsocksR\nQuantumult X: +VLESS'
}
},
pop: {
Expand Down

0 comments on commit 2b47579

Please sign in to comment.