|
1 | 1 | <template> |
2 | 2 | <div class="customize"> |
3 | | - <h1 class="customize-title">{{ lang === 'zh-CN' ? '定制化服务' : 'Customized Service' }}</h1> |
| 3 | + <h1 class="customize-title">{{i18n('view_customize_title', lang)}}</h1> |
4 | 4 | <div class="customize-content"> |
5 | 5 | <div class="customize-content-item customize-content-free-item"> |
6 | 6 | <div class="customize-content-item-title-container"> |
7 | | - <h3 class="customize-content-item-title">{{ lang === 'zh-CN' ? '免费版' : 'Free' }}</h3> |
8 | | - <p class="customize-content-item-sub-title">{{ lang === 'zh-CN' ? '免费的专业级K线组件' : 'Free professional K Line component' }}</p> |
| 7 | + <h3 class="customize-content-item-title">{{i18n('view_customize_free_title', lang)}}</h3> |
| 8 | + <p class="customize-content-item-sub-title">{{i18n('view_customize_free_desc', lang)}}</p> |
9 | 9 | <p class="customize-content-item-price"> |
10 | | - {{ lang === 'zh-CN' ? '¥ 0' : '$ 0' }} |
| 10 | + {{i18n('view_customize_free_price', lang)}} |
11 | 11 | </p> |
12 | 12 | </div> |
13 | | - <FeatureList :features="lang === 'zh-CN' ? ['高度可扩展的核心图表', '功能完善的Pro版图表', '完善的开发文档', '开发讨论微信群'] : ['Highly scalable core chart', 'Full features Pro version chart', 'Complete development documents', 'Development discussion WeChat group']"/> |
| 13 | + <FeatureList :features="i18n('view_customize_free_features', lang)"/> |
14 | 14 | <p class="customize-content-item-tip"> |
15 | | - {{ lang === 'zh-CN' ? '联系开发者加入开发讨论群。' : 'Contact the developer to join the development discussion group.' }} |
| 15 | + {{i18n('view_customize_free_tip', lang)}} |
16 | 16 | </p> |
17 | 17 | </div> |
18 | 18 | <div class="customize-content-item customize-content-qa-item"> |
19 | 19 | <div class="customize-content-item-title-container"> |
20 | | - <h3 class="customize-content-item-title">{{ lang === 'zh-CN' ? '赞助版' : 'Sponsor' }}</h3> |
21 | | - <p class="customize-content-item-sub-title">{{ lang === 'zh-CN' ? '全方位解答遇到的问题' : 'Comprehensive answers to development issues' }}</p> |
| 20 | + <h3 class="customize-content-item-title">{{i18n('view_customize_sponsor_title', lang)}}</h3> |
| 21 | + <p class="customize-content-item-sub-title">{{i18n('view_customize_sponsor_desc', lang)}}</p> |
22 | 22 | <p class="customize-content-item-price"> |
23 | | - <span style="font-size: 14px; padding-right: 6px; padding-top: 4px; font-weight: normal;">{{ lang === 'zh-CN' ? '赞助' : 'Sponsor' }}</span>{{ lang === 'zh-CN' ? `¥ 500` : '$ 78' }} |
| 23 | + <span style="font-size: 14px; padding-right: 6px; padding-top: 4px; font-weight: normal;">{{i18n('view_customize_sponsor_sponsor', lang)}}</span> |
| 24 | + {{i18n('view_customize_sponsor_price', lang)}} |
24 | 25 | </p> |
25 | 26 | </div> |
26 | 27 |
|
27 | | - <FeatureList :features="lang === 'zh-CN' ? ['免费版所有服务', '首页赞助商广告位', '一对一答疑', '新功能优先支持'] : ['All services in the free version', 'Homepage sponsor advertising space', 'One-on-one Q&A', 'New features priority support']"/> |
| 28 | + <FeatureList :features="i18n('view_customize_sponsor_features', lang)"/> |
28 | 29 | <p class="customize-content-item-tip"> |
29 | | - {{ lang === 'zh-CN' ? '在赞助页对项目进行捐赠,完成之后联系开发者获得一周时间的答疑。' : 'Donate to the project on the sponsorship page, and after completing the donation, contact the developer to get one week of answers to your questions.' }} |
| 30 | + {{i18n('view_customize_sponsor_tip', lang)}} |
30 | 31 | </p> |
31 | 32 | </div> |
32 | 33 | <div class="customize-content-item customize-content-custom-item"> |
33 | 34 | <div class="customize-content-item-title-container"> |
34 | | - <h3 class="customize-content-item-title">{{ lang === 'zh-CN' ? '定制版' : 'Customized' }}</h3> |
35 | | - <p class="customize-content-item-sub-title">{{ lang === 'zh-CN' ? '专属定制,扩展开发' : 'Exclusive customization and extended development' }}</p> |
| 35 | + <h3 class="customize-content-item-title">{{i18n('view_customize_custom_title', lang)}}</h3> |
| 36 | + <p class="customize-content-item-sub-title">{{i18n('view_customize_custom_desc', lang)}}</p> |
36 | 37 | <p class="customize-content-item-price"> |
37 | | - {{ lang === 'zh-CN' ? '¥ 面议' : '$ Discussion' }} |
| 38 | + {{i18n('view_customize_custom_price', lang)}} |
38 | 39 | </p> |
39 | 40 | </div> |
40 | | - <FeatureList :features="lang === 'zh-CN' ? ['赞助版所有服务', 'UI定制开发', '扩展定制开发', '其它图表相关定制开发'] : ['All services of the sponsored version', 'UI custom development', 'Extended custom development', 'Other chart custom development']"/> |
| 41 | + <FeatureList :features="i18n('view_customize_custom_features', lang)"/> |
41 | 42 | <p class="customize-content-item-tip"> |
42 | | - {{ lang === 'zh-CN' ? '联系开发者,讨论具体需求。' : 'Contact developers to discuss specific requirements.' }} |
| 43 | + {{i18n('view_customize_custom_tip', lang)}} |
43 | 44 | </p> |
44 | 45 | </div> |
45 | 46 | </div> |
|
49 | 50 | <script setup> |
50 | 51 | import { useData } from 'vitepress' |
51 | 52 |
|
| 53 | +import i18n from '../../@i18n' |
| 54 | +
|
52 | 55 | import FeatureList from './FeatureList.vue' |
53 | 56 |
|
54 | 57 | const { lang } = useData() |
@@ -183,6 +186,7 @@ const { lang } = useData() |
183 | 186 | font-size: 14px; |
184 | 187 | padding: 0 20px; |
185 | 188 | color: #e77c0a; |
| 189 | + line-height: 18px; |
186 | 190 | border-top: solid 1px var(--vp-c-gutter); |
187 | 191 | } |
188 | 192 |
|
|
0 commit comments