Skip to content

Commit 4b700eb

Browse files
committed
feat: remove screen adaptation prompt
1 parent 2b76317 commit 4b700eb

File tree

4 files changed

+2
-170
lines changed

4 files changed

+2
-170
lines changed

src/components/Notice.vue

Lines changed: 0 additions & 140 deletions
This file was deleted.

src/locales/en-US.json

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,7 @@
1515
"settings": "Settings",
1616
"basicSettings": "Basic Settings",
1717
"exampleComponents": "Example components",
18-
"forgot-password": "Forgot Password",
19-
"prompt": "Prompt",
20-
"adaptation-info": "Screen adaptation is implemented using {min} and {max}. If style issues occur due to compatibility problems, open the vite.config.ts file, remove the {option} option, and disable desktop adaptation.",
21-
"compatibility-info": "If you need to meet both compatibility and desktop adaptation requirements, please refer to the {documentation} for detailed information.",
22-
"doc": "documentation",
23-
"browser-support": {
24-
"min-max-clamp": "The current browser is {compat_min} with {min}, {max}, and {clamp}.",
25-
"calc": "The current browser is {compat_calc} with {calc}.",
26-
"vw": "The current browser is {compat_vw} with {vw}.",
27-
"compat": "compatible",
28-
"not-compat": "not compatible"
29-
},
30-
"consider-compatibility": "Please consider whether the actual deployment scenario of the application requires compatibility adjustments."
18+
"forgot-password": "Forgot Password"
3119
},
3220
"mock": {
3321
"fromAsyncData": "Data from asynchronous requests",

src/locales/zh-CN.json

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,7 @@
1515
"settings": "设置",
1616
"basicSettings": "基本设置",
1717
"exampleComponents": "示例组件",
18-
"forgot-password": "忘记密码",
19-
"prompt": "提示",
20-
"adaptation-info": "屏幕适配通过 {min} 和 {max} 实现,若兼容性导致了样式错乱,请打开 vite.config.ts 文件,删除 {option} 选项,关闭桌面端适配。",
21-
"compatibility-info": "若需同时满足兼容性和桌面端适配,请查看{documentation}了解详细信息。",
22-
"doc": "文档",
23-
"browser-support": {
24-
"min-max-clamp": "当前浏览器{compat_min} {min}、{max} 和 {clamp}。",
25-
"calc": "当前浏览器{compat_calc} {calc}。",
26-
"vw": "当前浏览器{compat_vw} {vw}。",
27-
"compat": "已兼容",
28-
"not-compat": "未兼容"
29-
},
30-
"consider-compatibility": "请考虑应用的真实投放场景是否需要考虑兼容性。"
18+
"forgot-password": "忘记密码"
3119
},
3220
"mock": {
3321
"fromAsyncData": "来自异步请求的数据",

src/pages/index.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,6 @@ const menuItems = computed(() => ([
6262
</template>
6363
</VanCellGroup>
6464

65-
<VanCellGroup :title="t('menus.prompt')" :inset="true">
66-
<Notice />
67-
</VanCellGroup>
68-
6965
<van-popup v-model:show="showLanguagePicker" position="bottom">
7066
<van-picker
7167
v-model="languageValues"

0 commit comments

Comments
 (0)