diff --git a/src/App.vue b/src/App.vue index 98240aef..08102c12 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,3 +1,18 @@ + + diff --git a/src/components/common/VerificationAlert.vue b/src/components/common/VerificationAlert.vue new file mode 100644 index 00000000..2d7f20f2 --- /dev/null +++ b/src/components/common/VerificationAlert.vue @@ -0,0 +1,27 @@ + + + diff --git a/src/i18n/zh/auth/message.ts b/src/i18n/zh/auth/message.ts index 4cae18e7..541b22fa 100644 --- a/src/i18n/zh/auth/message.ts +++ b/src/i18n/zh/auth/message.ts @@ -1,3 +1,5 @@ export default { - scanToLogin: '使用微信扫码关注公众号「知数云」即可登录/注册' + scanToLogin: '使用微信扫码关注公众号「知数云」即可登录/注册', + needVerification: '由于您尚未完成实名认证,所以无法查看课程。', + goVerification: '去实名认证' }; diff --git a/src/i18n/zh/common/button.ts b/src/i18n/zh/common/button.ts index 94727db1..14eb3f2e 100644 --- a/src/i18n/zh/common/button.ts +++ b/src/i18n/zh/common/button.ts @@ -10,5 +10,6 @@ export default { alert: '警告', info: '提示', publish: '发布', - watch: '观看' + watch: '观看', + verify: '去实名认证' }; diff --git a/src/i18n/zh/common/message.ts b/src/i18n/zh/common/message.ts index 4cbc21d0..7b9e1aae 100644 --- a/src/i18n/zh/common/message.ts +++ b/src/i18n/zh/common/message.ts @@ -1,4 +1,6 @@ export default { copied: '复制成功', - confirmDelete: '确认删除吗?' + confirmDelete: '确认删除吗?', + alert: '警告', + info: '温馨提示' }; diff --git a/src/pages/course/Detail.vue b/src/pages/course/Detail.vue index 42c88aef..3727578a 100644 --- a/src/pages/course/Detail.vue +++ b/src/pages/course/Detail.vue @@ -1,4 +1,5 @@