Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-fe
Commits
9e4092a4
Commit
9e4092a4
authored
Dec 16, 2024
by
tyyin lan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(礼包充值): 多语言添加
parent
bc306b9f
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
195 additions
and
52 deletions
+195
-52
en.yaml
src/locales/langs/en.yaml
+25
-0
zh-cn.yaml
src/locales/langs/zh-cn.yaml
+25
-0
zh-hk.yaml
src/locales/langs/zh-hk.yaml
+25
-1
gift-pack-list.vue
src/views/equity/components/gift-pack-list.vue
+39
-17
pay-sidebar.vue
src/views/equity/components/pay-sidebar.vue
+46
-30
equity.vue
src/views/equity/equity.vue
+11
-4
locales.d.ts
types/locales.d.ts
+24
-0
No files found.
src/locales/langs/en.yaml
View file @
9e4092a4
...
@@ -120,6 +120,10 @@ common_module:
...
@@ -120,6 +120,10 @@ common_module:
free
:
'
free'
free
:
'
free'
points_per_time
:
'
{count}
points
per
time'
points_per_time
:
'
{count}
points
per
time'
count_session_rounds
:
'
1
session
round
|
{count}
session
rounds'
count_session_rounds
:
'
1
session
round
|
{count}
session
rounds'
unlimited_amount
:
'
Unlimited
amount'
as_needed
:
'
As
needed'
support
:
'
Support'
unlimited_duration
:
'
Unlimited
duration'
dialogue_module
:
dialogue_module
:
continue_question_message
:
'
You
can
keep
asking
questions'
continue_question_message
:
'
You
can
keep
asking
questions'
...
@@ -527,6 +531,27 @@ equity_module:
...
@@ -527,6 +531,27 @@ equity_module:
consultation_for_details
:
'
Consultation
for
details'
consultation_for_details
:
'
Consultation
for
details'
consult_now
:
'
Consult
now'
consult_now
:
'
Consult
now'
upper_application_limit
:
'
Upper
application
limit'
upper_application_limit
:
'
Upper
application
limit'
monthly_pass
:
'
Monthly
Pass'
annual_card
:
'
Annual
card'
discounted
:
'
Discounted'
payment_method
:
'
Payment
method'
scan_code_payment
:
'
scan
code
payment'
the_current_version_is_the_base_version
:
'
The
current
version
is
the
base
version'
the_current_version_is_the_professional_version
:
'
The
current
version
is
the
professional
version'
the_current_version_is_the_flagship_version
:
'
The
current
version
is
the
flagship
version'
more_benefits_can_be_upgraded_by_clicking_on_the_package
:
'
More
benefits
can
be
upgraded
by
clicking
on
the
package'
poc_products_professional_consultant
:
'
POC
products
professional
consultant'
super_link_soft
:
'
Super
link
soft'
for_details_please_scan_code_to_add_enterprise_wechat
:
'
For
details,
please
scan
code
to
add
enterprise
wechat'
add_me_to_receive_the_following_benefits
:
'
Add
me
to
receive
the
following
benefits'
business_online_consulting
:
'
Business
online
consulting'
exclusive_customized_program
:
'
Exclusive
customized
program'
exclusive_preferential_interest
:
'
Exclusive
preferential
interest'
benefit_reminder
:
'
Benefit
reminder'
support_ai_model
:
'
Support
AI
model'
custom_digital_person
:
'
Custom
digital
person'
ai_training_tuning_service
:
'
AI
training
tuning
service'
private_deployment
:
'
Private
deployment'
order_manage_module
:
order_manage_module
:
package_name
:
'
PackageName'
package_name
:
'
PackageName'
...
...
src/locales/langs/zh-cn.yaml
View file @
9e4092a4
...
@@ -119,6 +119,10 @@ common_module:
...
@@ -119,6 +119,10 @@ common_module:
free
:
'
免费'
free
:
'
免费'
points_per_time
:
'
{count}积分/次'
points_per_time
:
'
{count}积分/次'
count_session_rounds
:
'
{count}轮对话'
count_session_rounds
:
'
{count}轮对话'
unlimited_amount
:
'
不限量'
as_needed
:
'
按需'
support
:
'
支持'
unlimited_duration
:
'
无期限'
dialogue_module
:
dialogue_module
:
continue_question_message
:
'
你可以继续提问'
continue_question_message
:
'
你可以继续提问'
...
@@ -525,6 +529,27 @@ equity_module:
...
@@ -525,6 +529,27 @@ equity_module:
consultation_for_details
:
'
详情咨询'
consultation_for_details
:
'
详情咨询'
consult_now
:
'
立即咨询'
consult_now
:
'
立即咨询'
upper_application_limit
:
'
应用上限'
upper_application_limit
:
'
应用上限'
monthly_pass
:
'
月卡'
annual_card
:
'
年卡'
discounted
:
'
已优惠'
payment_method
:
'
支付方式'
scan_code_payment
:
'
扫码支付'
the_current_version_is_the_base_version
:
'
当前版本为基础版'
the_current_version_is_the_professional_version
:
'
当前版本为专业版'
the_current_version_is_the_flagship_version
:
'
当前版本为旗舰版'
more_benefits_can_be_upgraded_by_clicking_on_the_package
:
'
更多权益可点击礼包升级'
poc_products_professional_consultant
:
'
POC产品专业顾问'
super_link_soft
:
'
超联软件'
for_details_please_scan_code_to_add_enterprise_wechat
:
'
详情请扫码添加企业微信'
add_me_to_receive_the_following_benefits
:
'
添加我可获得以下权益'
business_online_consulting
:
'
业务线上咨询'
exclusive_customized_program
:
'
专属订制方案'
exclusive_preferential_interest
:
'
专属优惠权益'
benefit_reminder
:
'
福利优惠提醒'
support_ai_model
:
'
支持AI模型'
custom_digital_person
:
'
定制数字人'
ai_training_tuning_service
:
'
AI训练调优服务'
private_deployment
:
'
私有化部署'
order_manage_module
:
order_manage_module
:
package_name
:
'
套餐名称'
package_name
:
'
套餐名称'
...
...
src/locales/langs/zh-hk.yaml
View file @
9e4092a4
...
@@ -119,6 +119,10 @@ common_module:
...
@@ -119,6 +119,10 @@ common_module:
free
:
'
免費'
free
:
'
免費'
points_per_time
:
'
{count}積分/次'
points_per_time
:
'
{count}積分/次'
count_session_rounds
:
'
{count}輪對話'
count_session_rounds
:
'
{count}輪對話'
unlimited_amount
:
'
不限量'
as_needed
:
'
按需'
support
:
'
支持'
unlimited_duration
:
'
無期限'
dialogue_module
:
dialogue_module
:
continue_question_message
:
'
你可以繼續提問'
continue_question_message
:
'
你可以繼續提問'
...
@@ -525,7 +529,27 @@ equity_module:
...
@@ -525,7 +529,27 @@ equity_module:
consultation_for_details
:
'
詳情咨詢'
consultation_for_details
:
'
詳情咨詢'
consult_now
:
'
立即咨詢'
consult_now
:
'
立即咨詢'
upper_application_limit
:
'
應用上限'
upper_application_limit
:
'
應用上限'
monthly_pass
:
'
月卡'
annual_card
:
'
年卡'
discounted
:
'
已優惠'
payment_method
:
'
支付方式'
scan_code_payment
:
'
掃碼支付'
the_current_version_is_the_base_version
:
'
當前版本為基礎版'
the_current_version_is_the_professional_version
:
'
當前版本為專業版'
the_current_version_is_the_flagship_version
:
'
當前版本為旗艦版'
more_benefits_can_be_upgraded_by_clicking_on_the_package
:
'
更多權益可點擊禮包升級'
poc_products_professional_consultant
:
'
POC產品專業顧問'
super_link_soft
:
'
超聯軟件'
for_details_please_scan_code_to_add_enterprise_wechat
:
'
詳情請掃碼添加企業微信'
add_me_to_receive_the_following_benefits
:
'
添加我可獲得以下權益'
business_online_consulting
:
'
業務線上咨詢'
exclusive_customized_program
:
'
專屬訂製方案'
exclusive_preferential_interest
:
'
專屬優惠權益'
benefit_reminder
:
'
福利優惠提醒'
support_ai_model
:
'
支持AI模型'
custom_digital_person
:
'
定製數字人'
ai_training_tuning_service
:
'
AI訓練調優服務'
private_deployment
:
'
私有化部署'
order_manage_module
:
order_manage_module
:
package_name
:
'
套餐名稱'
package_name
:
'
套餐名稱'
...
...
src/views/equity/components/gift-pack-list.vue
View file @
9e4092a4
...
@@ -70,11 +70,13 @@ function handleVersionSwitch(version: VersionName) {
...
@@ -70,11 +70,13 @@ function handleVersionSwitch(version: VersionName) {
</li>
</li>
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#010448]"
>
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#010448]"
>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#D8D8D8]"
></span>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#D8D8D8]"
></span>
知识库文件数量:
<span
class=
"font-600"
>
5个
</span>
{{
t
(
'equity_module.number_of_knowledge_base_files'
)
}}
:
<span
class=
"font-600"
>
5
{{
t
(
'equity_module.individual'
)
}}
</span
>
</li>
</li>
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#010448]"
>
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#010448]"
>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#D8D8D8]"
></span>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#D8D8D8]"
></span>
支持AI模型:
<span
class=
"font-600"
>
全部
</span>
{{
t
(
'equity_module.support_ai_model'
)
}}
:
<span
class=
"font-600"
>
{{
t
(
'common_module.all'
)
}}
</span>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -129,19 +131,26 @@ function handleVersionSwitch(version: VersionName) {
...
@@ -129,19 +131,26 @@ function handleVersionSwitch(version: VersionName) {
<ul
class=
"ml-[42px]"
>
<ul
class=
"ml-[42px]"
>
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
>
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#EBD8BE]"
></span>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#EBD8BE]"
></span>
积分:
<span
class=
"font-600"
>
月卡100/年卡1500
</span>
{{
t
(
'equity_module.points2'
)
}}
:
<span
class=
"font-600"
>
{{
t
(
'equity_module.monthly_pass'
)
}}
100/
{{
t
(
'equity_module.annual_card'
)
}}
1500
</span
>
</li>
</li>
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
>
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#EBD8BE]"
></span>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#EBD8BE]"
></span>
应用上限:
<span
class=
"font-600"
>
30个
</span>
{{
t
(
'equity_module.upper_application_limit'
)
}}
:
<span
class=
"font-600"
>
30
{{
t
(
'equity_module.individual'
)
}}
</span
>
</li>
</li>
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
>
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#EBD8BE]"
></span>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#EBD8BE]"
></span>
知识库文件数量:
<span
class=
"font-600"
>
50个
</span>
{{
t
(
'equity_module.number_of_knowledge_base_files'
)
}}
:
<span
class=
"font-600"
>
50
{{
t
(
'equity_module.individual'
)
}}
</span
>
</li>
</li>
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
>
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#EBD8BE]"
></span>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#EBD8BE]"
></span>
支持AI模型:
<span
class=
"font-600"
>
全部
</span>
{{
t
(
'equity_module.support_ai_model'
)
}}
:
<span
class=
"font-600"
>
{{
t
(
'common_module.all'
)
}}
</span>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -196,19 +205,24 @@ function handleVersionSwitch(version: VersionName) {
...
@@ -196,19 +205,24 @@ function handleVersionSwitch(version: VersionName) {
<ul
class=
"ml-[42px]"
>
<ul
class=
"ml-[42px]"
>
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
>
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#EBD8BE]"
></span>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#EBD8BE]"
></span>
积分:
<span
class=
"font-600"
>
月卡200/年卡3000
</span>
{{
t
(
'equity_module.points2'
)
}}
:
<span
class=
"font-600"
>
{{
t
(
'equity_module.monthly_pass'
)
}}
200/
{{
t
(
'equity_module.annual_card'
)
}}
3000
</span
>
</li>
</li>
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801] before:mr-[5px]"
>
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801] before:mr-[5px]"
>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#EBD8BE]"
></span>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#EBD8BE]"
></span>
应用上限:
<span
class=
"font-600"
>
不限量
</span>
{{
t
(
'equity_module.upper_application_limit'
)
}}
:
<span
class=
"font-600"
>
{{
t
(
'common_module.unlimited_amount'
)
}}
</span>
</li>
</li>
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
>
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#EBD8BE]"
></span>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#EBD8BE]"
></span>
知识库文件数量:
<span
class=
"font-600"
>
100个
</span>
{{
t
(
'equity_module.number_of_knowledge_base_files'
)
}}
:
<span
class=
"font-600"
>
100
{{
t
(
'equity_module.individual'
)
}}
</span
>
</li>
</li>
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
>
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#EBD8BE]"
></span>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#EBD8BE]"
></span>
支持AI模型:
<span
class=
"font-600"
>
全部
</span>
{{
t
(
'equity_module.support_ai_model'
)
}}
:
<span
class=
"font-600"
>
{{
t
(
'common_module.all'
)
}}
</span>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -262,49 +276,57 @@ function handleVersionSwitch(version: VersionName) {
...
@@ -262,49 +276,57 @@ function handleVersionSwitch(version: VersionName) {
:class=
"currentSelectVersion === 'EnterpriseVersion' ? 'text-[#FFFAF6]' : ''"
:class=
"currentSelectVersion === 'EnterpriseVersion' ? 'text-[#FFFAF6]' : ''"
>
>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#C7C2AB]"
></span>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#C7C2AB]"
></span>
积分:
<span
class=
"font-600 text-[#FFE0A0]"
>
按需
</span>
{{
t
(
'equity_module.points2'
)
}}
:
<span
class=
"font-600 text-[#FFE0A0]"
>
{{
t
(
'common_module.unlimited_amount'
)
}}
</span>
</li>
</li>
<li
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
:class=
"currentSelectVersion === 'EnterpriseVersion' ? 'text-[#FFFAF6]' : ''"
:class=
"currentSelectVersion === 'EnterpriseVersion' ? 'text-[#FFFAF6]' : ''"
>
>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#C7C2AB]"
></span>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#C7C2AB]"
></span>
应用上限:
<span
class=
"font-600 text-[#FFE0A0]"
>
不限量
</span>
{{
t
(
'equity_module.upper_application_limit'
)
}}
:
<span
class=
"font-600 text-[#FFE0A0]"
>
{{
t
(
'common_module.unlimited_amount'
)
}}
</span>
</li>
</li>
<li
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
:class=
"currentSelectVersion === 'EnterpriseVersion' ? 'text-[#FFFAF6]' : ''"
:class=
"currentSelectVersion === 'EnterpriseVersion' ? 'text-[#FFFAF6]' : ''"
>
>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#C7C2AB]"
></span>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#C7C2AB]"
></span>
知识库文件数量:
<span
class=
"font-600 text-[#FFE0A0]"
>
不限量
</span>
{{
t
(
'equity_module.number_of_knowledge_base_files'
)
}}
:
<span
class=
"font-600 text-[#FFE0A0]"
>
{{
t
(
'common_module.unlimited_amount'
)
}}
</span>
</li>
</li>
<li
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
:class=
"currentSelectVersion === 'EnterpriseVersion' ? 'text-[#FFFAF6]' : ''"
:class=
"currentSelectVersion === 'EnterpriseVersion' ? 'text-[#FFFAF6]' : ''"
>
>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#C7C2AB]"
></span>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#C7C2AB]"
></span>
支持AI模型:
<span
class=
"font-600 text-[#FFE0A0]"
>
全部
</span>
{{
t
(
'equity_module.support_ai_model'
)
}}
:
<span
class=
"font-600 text-[#FFE0A0]"
>
{{
t
(
'common_module.all'
)
}}
</span>
</li>
</li>
<li
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
:class=
"currentSelectVersion === 'EnterpriseVersion' ? 'text-[#FFFAF6]' : ''"
:class=
"currentSelectVersion === 'EnterpriseVersion' ? 'text-[#FFFAF6]' : ''"
>
>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#C7C2AB]"
></span>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#C7C2AB]"
></span>
定制数字人:
<span
class=
"font-600 text-[#FFE0A0]"
>
支持
</span>
{{
t
(
'equity_module.custom_digital_person'
)
}}
:
<span
class=
"font-600 text-[#FFE0A0]"
>
{{
t
(
'common_module.support'
)
}}
</span>
</li>
</li>
<li
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
:class=
"currentSelectVersion === 'EnterpriseVersion' ? 'text-[#FFFAF6]' : ''"
:class=
"currentSelectVersion === 'EnterpriseVersion' ? 'text-[#FFFAF6]' : ''"
>
>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#C7C2AB]"
></span>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#C7C2AB]"
></span>
AI训练调优服务:
<span
class=
"font-600 text-[#FFE0A0]"
>
支持
</span>
{{
t
(
'equity_module.ai_training_tuning_service'
)
}}
:
<span
class=
"font-600 text-[#FFE0A0]"
>
{{
t
(
'common_module.support'
)
}}
</span>
</li>
</li>
<li
<li
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
class=
"mb-[14px] flex items-center text-[14px] text-[#482801]"
:class=
"currentSelectVersion === 'EnterpriseVersion' ? 'text-[#FFFAF6]' : ''"
:class=
"currentSelectVersion === 'EnterpriseVersion' ? 'text-[#FFFAF6]' : ''"
>
>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#C7C2AB]"
></span>
<span
class=
"mr-[5px] inline-block h-[6px] w-[6px] rounded-full bg-[#C7C2AB]"
></span>
私有化部署:
<span
class=
"font-600 text-[#FFE0A0]"
>
支持
</span>
{{
t
(
'equity_module.private_deployment'
)
}}
:
<span
class=
"font-600 text-[#FFE0A0]"
>
{{
t
(
'common_module.support'
)
}}
</span>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
...
src/views/equity/components/pay-sidebar.vue
View file @
9e4092a4
...
@@ -14,17 +14,17 @@ const userStore = useUserStore()
...
@@ -14,17 +14,17 @@ const userStore = useUserStore()
const
packageList
=
ref
({
const
packageList
=
ref
({
ProfessionalVersion
:
{
ProfessionalVersion
:
{
title
:
'专业版'
,
title
:
t
(
'equity_module.professional_version'
)
,
list
:
[
list
:
[
{
name
:
'月卡'
,
currentPrice
:
19.9
,
originalPrice
:
29.9
,
discountedPrice
:
10
},
{
name
:
t
(
'equity_module.monthly_pass'
)
,
currentPrice
:
19.9
,
originalPrice
:
29.9
,
discountedPrice
:
10
},
{
name
:
'年卡'
,
currentPrice
:
199
,
originalPrice
:
238.9
,
discountedPrice
:
39.9
},
{
name
:
t
(
'equity_module.annual_card'
)
,
currentPrice
:
199
,
originalPrice
:
238.9
,
discountedPrice
:
39.9
},
],
],
},
},
FlagshipVersion
:
{
FlagshipVersion
:
{
title
:
'旗舰版'
,
title
:
t
(
'equity_module.flagship_version'
)
,
list
:
[
list
:
[
{
name
:
'月卡'
,
currentPrice
:
29.9
,
originalPrice
:
39.9
,
discountedPrice
:
10
},
{
name
:
t
(
'equity_module.monthly_pass'
)
,
currentPrice
:
29.9
,
originalPrice
:
39.9
,
discountedPrice
:
10
},
{
name
:
'年卡'
,
currentPrice
:
299
,
originalPrice
:
238.9
,
discountedPrice
:
59.9
},
{
name
:
t
(
'equity_module.annual_card'
)
,
currentPrice
:
299
,
originalPrice
:
238.9
,
discountedPrice
:
59.9
},
],
],
},
},
})
})
...
@@ -228,7 +228,7 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
...
@@ -228,7 +228,7 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
v-show=
"currentSelectPackage !== index"
v-show=
"currentSelectPackage !== index"
class=
"absolute bottom-0 w-full bg-[#ffebd2] py-[6px] text-center text-[12px] text-[#9A5705]"
class=
"absolute bottom-0 w-full bg-[#ffebd2] py-[6px] text-center text-[12px] text-[#9A5705]"
>
>
已优惠
{{
packageItem
.
discountedPrice
}}
HK$
{{
t
(
'equity_module.discounted'
)
}}
{{
packageItem
.
discountedPrice
}}
HK$
</div>
</div>
<div
<div
...
@@ -244,7 +244,7 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
...
@@ -244,7 +244,7 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
</div>
</div>
<div
class=
"mt-[29px]"
>
<div
class=
"mt-[29px]"
>
<div
class=
"text-[14px]"
>
支付方式
:
</div>
<div
class=
"text-[14px]"
>
{{
t
(
'equity_module.payment_method'
)
}}
:
</div>
<ul
class=
"mt-[12px] flex text-[14px]"
>
<ul
class=
"mt-[12px] flex text-[14px]"
>
<li
<li
class=
"mr-[12px] flex cursor-pointer items-center rounded-[5px] border border-[#999999] px-[16px] py-[6px] text-[14px] transition"
class=
"mr-[12px] flex cursor-pointer items-center rounded-[5px] border border-[#999999] px-[16px] py-[6px] text-[14px] transition"
...
@@ -252,7 +252,7 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
...
@@ -252,7 +252,7 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
@
click=
"handlePaymentMethodSwitch('alipay')"
@
click=
"handlePaymentMethodSwitch('alipay')"
>
>
<img
class=
"mr-[5px] h-[16px] w-[16px]"
src=
"@/assets/images/equity/alipay-icon.png"
alt=
"alipay"
/>
<img
class=
"mr-[5px] h-[16px] w-[16px]"
src=
"@/assets/images/equity/alipay-icon.png"
alt=
"alipay"
/>
<span>
支付宝
</span>
<span>
{{
t
(
'common_module.alipay'
)
}}
</span>
</li>
</li>
<li
<li
...
@@ -261,7 +261,7 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
...
@@ -261,7 +261,7 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
@
click=
"handlePaymentMethodSwitch('wechatpay')"
@
click=
"handlePaymentMethodSwitch('wechatpay')"
>
>
<img
class=
"mr-[5px] h-[16px] w-[16px]"
src=
"@/assets/images/equity/wechat-icon.png"
alt=
"alipay"
/>
<img
class=
"mr-[5px] h-[16px] w-[16px]"
src=
"@/assets/images/equity/wechat-icon.png"
alt=
"alipay"
/>
<span>
微信
</span>
<span>
{{
t
(
'common_module.weChat'
)
}}
</span>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -301,17 +301,19 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
...
@@ -301,17 +301,19 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
<div
class=
"mt-[10px] flex items-center justify-center"
>
<div
class=
"mt-[10px] flex items-center justify-center"
>
<template
v-if=
"currentPaymentMethod === 'alipay'"
>
<template
v-if=
"currentPaymentMethod === 'alipay'"
>
<img
class=
"mr-[5px] mt-[6px] h-[16px] w-[16px]"
src=
"@/assets/images/equity/alipay-icon.png"
alt=
"alipay"
/>
<img
class=
"mr-[5px] mt-[6px] h-[16px] w-[16px]"
src=
"@/assets/images/equity/alipay-icon.png"
alt=
"alipay"
/>
<span
class=
"font-600 text-[16px]"
<span
class=
"font-600 text-[16px]"
>
>
支付宝扫码支付
<span
class=
"text-[24px] text-[#F25744]"
>
{{
currentPayPrice
}}
</span
{{
t
(
'common_module.alipay'
)
}}
{{
t
(
'equity_module.scan_code_payment'
)
}}
>
HK$
</span
<span
class=
"text-[24px] text-[#F25744]"
>
{{
currentPayPrice
}}
</span
>
>
HK$
</span>
</
template
>
</
template
>
<
template
v-else-if=
"currentPaymentMethod === 'wechatpay'"
>
<
template
v-else-if=
"currentPaymentMethod === 'wechatpay'"
>
<img
class=
"mr-[5px] mt-[6px] h-[16px] w-[16px]"
src=
"@/assets/images/equity/wechat-icon.png"
alt=
"alipay"
/>
<img
class=
"mr-[5px] mt-[6px] h-[16px] w-[16px]"
src=
"@/assets/images/equity/wechat-icon.png"
alt=
"alipay"
/>
<span
class=
"font-600 text-[16px]"
<span
class=
"font-600 text-[16px]"
>
>
微信扫码支付
<span
class=
"text-[24px] text-[#F25744]"
>
{{
currentPayPrice
}}
</span
{{
t
(
'common_module.weChat'
)
}}
{{
t
(
'equity_module.scan_code_payment'
)
}}
>
HK$
</span
<span
class=
"text-[24px] text-[#F25744]"
>
{{
currentPayPrice
}}
</span
>
>
HK$
</span>
</
template
>
</
template
>
</div>
</div>
</div>
</div>
...
@@ -326,12 +328,14 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
...
@@ -326,12 +328,14 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
/>
/>
<div
class=
"ml-[11px] flex flex-col justify-between"
>
<div
class=
"ml-[11px] flex flex-col justify-between"
>
<span
class=
"font-600 text-[16px]"
>
POC产品专业顾问
</span>
<span
class=
"font-600 text-[16px]"
>
{{ t('equity_module.poc_products_professional_consultant') }}
</span>
<span
class=
"font-600 text-[12px] text-[#999]"
>
超联软件
</span>
<span
class=
"font-600 text-[12px] text-[#999]"
>
{{ t('equity_module.super_link_soft') }}
</span>
</div>
</div>
</div>
</div>
<div
class=
"mt-[24px] text-center text-[14px] text-[#999]"
>
详情请扫码添加企业微信
</div>
<div
class=
"mt-[24px] text-center text-[14px] text-[#999]"
>
{{ t('equity_module.for_details_please_scan_code_to_add_enterprise_wechat') }}
</div>
<img
<img
class=
"mt-[24px] h-[174px] w-[174px] object-cover"
class=
"mt-[24px] h-[174px] w-[174px] object-cover"
...
@@ -341,7 +345,9 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
...
@@ -341,7 +345,9 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
<div
class=
"flex-center mt-[30px] flex"
>
<div
class=
"flex-center mt-[30px] flex"
>
<span
class=
"inline-block w-[60px] border-t-[2px] border-dashed border-[#F5F5F5]"
></span>
<span
class=
"inline-block w-[60px] border-t-[2px] border-dashed border-[#F5F5F5]"
></span>
<span
class=
"mx-[16px] text-[12px] text-[#999]"
>
添加我可获得以下权益
</span>
<span
class=
"mx-[16px] text-[12px] text-[#999]"
>
{{ t('equity_module.add_me_to_receive_the_following_benefits') }}
</span>
<span
class=
"inline-block w-[60px] border-t-[2px] border-dashed border-[#F5F5F5]"
></span>
<span
class=
"inline-block w-[60px] border-t-[2px] border-dashed border-[#F5F5F5]"
></span>
</div>
</div>
...
@@ -351,14 +357,14 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
...
@@ -351,14 +357,14 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
<div
class=
"flex-center flex h-[26px] w-[26px] rounded-full bg-[#F2F4F7]"
>
<div
class=
"flex-center flex h-[26px] w-[26px] rounded-full bg-[#F2F4F7]"
>
<img
class=
"h-[16px] w-[16px] object-cover"
src=
"@/assets/images/equity/consult.png"
alt=
"consult"
/>
<img
class=
"h-[16px] w-[16px] object-cover"
src=
"@/assets/images/equity/consult.png"
alt=
"consult"
/>
</div>
</div>
<span
class=
"ml-[15px] text-[14px]"
>
业务线上咨询
</span>
<span
class=
"ml-[15px] text-[14px]"
>
{{ t('equity_module.business_online_consulting') }}
</span>
</div>
</div>
<div
class=
"ml-[25px] flex items-center"
>
<div
class=
"ml-[25px] flex items-center"
>
<div
class=
"flex-center flex h-[26px] w-[26px] rounded-full bg-[#F2F4F7]"
>
<div
class=
"flex-center flex h-[26px] w-[26px] rounded-full bg-[#F2F4F7]"
>
<img
class=
"h-[16px] w-[16px] object-cover"
src=
"@/assets/images/equity/programme.png"
alt=
"programme"
/>
<img
class=
"h-[16px] w-[16px] object-cover"
src=
"@/assets/images/equity/programme.png"
alt=
"programme"
/>
</div>
</div>
<span
class=
"ml-[15px] text-[14px]"
>
专属订制方案
</span>
<span
class=
"ml-[15px] text-[14px]"
>
{{ t('equity_module.exclusive_customized_program') }}
</span>
</div>
</div>
</li>
</li>
...
@@ -367,14 +373,14 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
...
@@ -367,14 +373,14 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
<div
class=
"flex-center flex h-[26px] w-[26px] rounded-full bg-[#F2F4F7]"
>
<div
class=
"flex-center flex h-[26px] w-[26px] rounded-full bg-[#F2F4F7]"
>
<img
class=
"h-[16px] w-[16px] object-cover"
src=
"@/assets/images/equity/equity.png"
alt=
"equity"
/>
<img
class=
"h-[16px] w-[16px] object-cover"
src=
"@/assets/images/equity/equity.png"
alt=
"equity"
/>
</div>
</div>
<span
class=
"ml-[15px] text-[14px]"
>
专属优惠权益
</span>
<span
class=
"ml-[15px] text-[14px]"
>
{{ t('equity_module.exclusive_preferential_interest') }}
</span>
</div>
</div>
<div
class=
"ml-[25px] flex items-center"
>
<div
class=
"ml-[25px] flex items-center"
>
<div
class=
"flex-center flex h-[26px] w-[26px] rounded-full bg-[#F2F4F7]"
>
<div
class=
"flex-center flex h-[26px] w-[26px] rounded-full bg-[#F2F4F7]"
>
<img
class=
"h-[16px] w-[16px] object-cover"
src=
"@/assets/images/equity/gift2.png"
alt=
"gift"
/>
<img
class=
"h-[16px] w-[16px] object-cover"
src=
"@/assets/images/equity/gift2.png"
alt=
"gift"
/>
</div>
</div>
<span
class=
"ml-[15px] text-[14px]"
>
福利优惠提醒
</span>
<span
class=
"ml-[15px] text-[14px]"
>
{{ t('equity_module.benefit_reminder') }}
</span>
</div>
</div>
</li>
</li>
</ul>
</ul>
...
@@ -388,8 +394,12 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
...
@@ -388,8 +394,12 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
src=
"@/assets/images/equity/basic-version.png"
src=
"@/assets/images/equity/basic-version.png"
alt=
"basic-version"
alt=
"basic-version"
/>
/>
<div
class=
"mt-[20px] text-[14px] text-[#333]"
>
当前版本为基础版
</div>
<div
class=
"mt-[20px] text-[14px] text-[#333]"
>
<div
class=
"mt-[10px] text-[14px] text-[#333]"
>
更多权益可点击礼包升级
</div>
{{
t
(
'equity_module.the_current_version_is_the_base_version'
)
}}
</div>
<div
class=
"mt-[10px] px-[20px] text-[14px] text-[#333]"
>
{{
t
(
'equity_module.more_benefits_can_be_upgraded_by_clicking_on_the_package'
)
}}
</div>
</
template
>
</
template
>
<
template
<
template
v-else-if=
"userStore.equityInfo.equityLevel === 'professional' || userStore.equityInfo.equityLevel === 'ultimate'"
v-else-if=
"userStore.equityInfo.equityLevel === 'professional' || userStore.equityInfo.equityLevel === 'ultimate'"
...
@@ -400,9 +410,15 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
...
@@ -400,9 +410,15 @@ function handlePackageSwitch(packageKey: typeof currentSelectPackage.value, pric
alt=
"basic-version"
alt=
"basic-version"
/>
/>
<div
class=
"mt-[20px] text-[14px] text-[#333]"
>
<div
class=
"mt-[20px] text-[14px] text-[#333]"
>
{{
userStore
.
equityInfo
.
equityLevel
===
'professional'
?
'当前版本为专业版'
:
'当前版本为旗舰版'
}}
{{
userStore
.
equityInfo
.
equityLevel
===
'professional'
?
t
(
'equity_module.the_current_version_is_the_professional_version'
)
:
t
(
'equity_module.the_current_version_is_the_flagship_version'
)
}}
</div>
<div
class=
"mt-[10px] px-[20px] text-[14px] text-[#333]"
>
{{
t
(
'equity_module.more_benefits_can_be_upgraded_by_clicking_on_the_package'
)
}}
</div>
</div>
<div
class=
"mt-[10px] text-[14px] text-[#333]"
>
更多权益可点击礼包升级
</div>
</
template
>
</
template
>
</div>
</div>
</template>
</template>
src/views/equity/equity.vue
View file @
9e4092a4
...
@@ -39,9 +39,12 @@ const equityInfo = computed(() => {
...
@@ -39,9 +39,12 @@ const equityInfo = computed(() => {
<div
class=
"flex items-end"
>
<div
class=
"flex items-end"
>
<h2
class=
"font-600 mr-[10px] text-[18px]"
>
{{
userStore
.
equityLevelName
}}
</h2>
<h2
class=
"font-600 mr-[10px] text-[18px]"
>
{{
userStore
.
equityLevelName
}}
</h2>
<div
class=
"text-[12px] text-[#999]"
>
<div
class=
"text-[12px] text-[#999]"
>
{{
t
(
'equity_module.time_limit'
)
}}
:
<span
class=
"text-[12px] text-[#333]"
>
{{
{{
t
(
'equity_module.time_limit'
)
}}
:
formatDateTime
(
equityInfo
.
expireTime
)
<span
class=
"text-[12px] text-[#333]"
>
}}
</span>
{{
equityInfo
.
expireTime
?
formatDateTime
(
equityInfo
.
expireTime
)
:
t
(
'common_module.unlimited_duration'
)
}}
</span
>
</div>
</div>
</div>
</div>
...
@@ -101,10 +104,14 @@ const equityInfo = computed(() => {
...
@@ -101,10 +104,14 @@ const equityInfo = computed(() => {
<div>
<div>
<div
class=
"mb-[13px] text-[14px]"
>
<div
class=
"mb-[13px] text-[14px]"
>
<n-number-animation
:from=
"0"
:to=
"equityInfo.usedAgentCount"
/>
<n-number-animation
:from=
"0"
:to=
"equityInfo.usedAgentCount"
/>
<span>
/{{ equityInfo.maxAgentCount }} {{ t('equity_module.individual') }}
</span>
<span
>
/{{ equityInfo.maxAgentCount === 0 ? '∞' : equityInfo.maxAgentCount }}
{{ t('equity_module.individual') }}
</span
>
</div>
</div>
<div>
<div>
<n-progress
<n-progress
v-if=
"equityInfo.maxAgentCount"
type=
"line"
type=
"line"
:percentage=
"(equityInfo.usedAgentCount / equityInfo.maxAgentCount) * 100"
:percentage=
"(equityInfo.usedAgentCount / equityInfo.maxAgentCount) * 100"
:show-indicator=
"false"
:show-indicator=
"false"
...
...
types/locales.d.ts
View file @
9e4092a4
...
@@ -120,6 +120,9 @@ declare namespace I18n {
...
@@ -120,6 +120,9 @@ declare namespace I18n {
free
:
string
free
:
string
points_per_time
:
string
points_per_time
:
string
count_session_rounds
:
string
count_session_rounds
:
string
unlimited_amount
:
string
as_needed
:
string
support
:
string
dialogue_module
:
{
dialogue_module
:
{
continue_question_message
:
string
continue_question_message
:
string
...
@@ -542,6 +545,27 @@ declare namespace I18n {
...
@@ -542,6 +545,27 @@ declare namespace I18n {
consultation_for_details
:
string
consultation_for_details
:
string
consult_now
:
string
consult_now
:
string
upper_application_limit
:
string
upper_application_limit
:
string
monthly_pass
:
string
annual_card
:
string
discounted
:
string
payment_method
:
string
scan_code_payment
:
string
the_current_version_is_the_base_version
:
string
the_current_version_is_the_professional_version
:
string
the_current_version_is_the_flagship_version
:
string
more_benefits_can_be_upgraded_by_clicking_on_the_package
:
string
poc_products_professional_consultant
:
string
super_link_soft
:
string
for_details_please_scan_code_to_add_enterprise_wechat
:
string
add_me_to_receive_the_following_benefits
:
string
business_online_consulting
:
string
exclusive_customized_program
:
string
exclusive_preferential_interest
:
string
benefit_reminder
:
string
support_ai_model
:
string
custom_digital_person
:
string
ai_training_tuning_service
:
string
private_deployment
:
string
}
}
order_manage_module
:
{
order_manage_module
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment