diff --git a/app/assets/img/accept.png b/app/assets/img/accept.png
new file mode 100644
index 0000000..0f0e52e
Binary files /dev/null and b/app/assets/img/accept.png differ
diff --git a/app/components.d.ts b/app/components.d.ts
index eb6a445..b49aa02 100644
--- a/app/components.d.ts
+++ b/app/components.d.ts
@@ -12,6 +12,8 @@ declare module 'vue' {
NButton: typeof import('naive-ui')['NButton']
NCard: typeof import('naive-ui')['NCard']
NCarousel: typeof import('naive-ui')['NCarousel']
+ NCascader: typeof import('naive-ui')['NCascader']
+ NCheckbox: typeof import('naive-ui')['NCheckbox']
NConfigProvider: typeof import('naive-ui')['NConfigProvider']
NDatePicker: typeof import('naive-ui')['NDatePicker']
NDropdown: typeof import('naive-ui')['NDropdown']
@@ -20,19 +22,26 @@ declare module 'vue' {
NForm: typeof import('naive-ui')['NForm']
NFormItem: typeof import('naive-ui')['NFormItem']
NIcon: typeof import('naive-ui')['NIcon']
+ NImage: typeof import('naive-ui')['NImage']
+ NImageGroup: typeof import('naive-ui')['NImageGroup']
NInfiniteScroll: typeof import('naive-ui')['NInfiniteScroll']
NInput: typeof import('naive-ui')['NInput']
NInputGroup: typeof import('naive-ui')['NInputGroup']
+ NInputNumber: typeof import('naive-ui')['NInputNumber']
NModal: typeof import('naive-ui')['NModal']
NPagination: typeof import('naive-ui')['NPagination']
NPopconfirm: typeof import('naive-ui')['NPopconfirm']
+ NProgress: typeof import('naive-ui')['NProgress']
NQrCode: typeof import('naive-ui')['NQrCode']
+ NRadio: typeof import('naive-ui')['NRadio']
+ NRadioGroup: typeof import('naive-ui')['NRadioGroup']
NSelect: typeof import('naive-ui')['NSelect']
NSkeleton: typeof import('naive-ui')['NSkeleton']
NSpace: typeof import('naive-ui')['NSpace']
NSpin: typeof import('naive-ui')['NSpin']
NTabPane: typeof import('naive-ui')['NTabPane']
NTabs: typeof import('naive-ui')['NTabs']
+ NTooltip: typeof import('naive-ui')['NTooltip']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
}
diff --git a/app/components/GoldPayment.vue b/app/components/GoldPayment.vue
index 9a02477..fcf1366 100644
--- a/app/components/GoldPayment.vue
+++ b/app/components/GoldPayment.vue
@@ -82,7 +82,7 @@ async function getQrCode() {
}
}
-// 二维码是否过去
+// 是否显示充值弹框
const isVisible = ref(true)
// 获取积分余额和历史记录
diff --git a/app/components/Header.vue b/app/components/Header.vue
index 33d6a83..3f948f4 100644
--- a/app/components/Header.vue
+++ b/app/components/Header.vue
@@ -126,8 +126,6 @@ async function handleUserSelect(key: string) {
}
// 发布下拉选项
async function handlePublishSelect(key: string) {
- if (!userStore?.userInfo.name)
- return
if (!userStore.isLoggedIn) {
modalStore.showLoginModal()
}
@@ -140,7 +138,6 @@ async function handlePublishSelect(key: string) {
}
else {
const baseUrl = window.location.origin
- debugger
window.open(`${baseUrl}/${key}?type=add`, '_blank', 'noopener,noreferrer')
// router.push({
// path: `/${key}`,
diff --git a/app/components/LoginModal.vue b/app/components/LoginModal.vue
index 443e95a..0c93beb 100644
--- a/app/components/LoginModal.vue
+++ b/app/components/LoginModal.vue
@@ -14,12 +14,13 @@ defineExpose({
const regex = /^1[3-9]\d{9}$/
const rules: FormRules = {
phone: [
- { required: true, message: '请输入手机号', trigger: 'blur' },
- { pattern: regex, message: '手机号格式不正确', trigger: 'blur' },
+ // , trigger: 'blur'
+ { required: true, message: '请输入手机号' },
+ { pattern: regex, message: '手机号格式不正确' },
],
code: [
- { required: true, message: '请输入验证码', trigger: 'blur' },
- { len: 6, message: '验证码长度为6位', trigger: 'blur' },
+ { required: true, message: '请输入验证码' },
+ { len: 6, message: '验证码长度为6位' },
],
}
// 响应式状态
diff --git a/app/components/PlanetBaseInfo.vue b/app/components/PlanetBaseInfo.vue
index 2695cda..890e41a 100644
--- a/app/components/PlanetBaseInfo.vue
+++ b/app/components/PlanetBaseInfo.vue
@@ -158,23 +158,24 @@ watchEffect(() => {
{{ planetInfo.communityName }}
-
+
创建{{ planetInfo.validityDay }}天
-
+
+
{{ planetInfo.description }}
全部文件
-
+