From ec0882666567f1a2aaf541d07fe1f7b4462755de Mon Sep 17 00:00:00 2001 From: Lufaneng Date: Thu, 8 Jan 2026 19:47:56 +0800 Subject: [PATCH] 1 --- pages.json | 8 + pages/index/index.vue | 2 +- pages/mine/mine.vue | 11 + pagesA/template-apply/template-apply.vue | 287 +++++++++++++++++++++++ 4 files changed, 307 insertions(+), 1 deletion(-) create mode 100644 pagesA/template-apply/template-apply.vue diff --git a/pages.json b/pages.json index cfa5bfd..23a9bd3 100644 --- a/pages.json +++ b/pages.json @@ -131,6 +131,14 @@ "navigationBarTitleText" : "bug反馈", "navigationStyle": "custom" } + }, + { + "path" : "template-apply/template-apply", + "style" : + { + "navigationBarTitleText" : "模版申请", + "enablePullDownRefresh":true + } } ] } diff --git a/pages/index/index.vue b/pages/index/index.vue index f9557a6..9ebce1c 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -468,7 +468,7 @@ const getList = () => { limit: -1, }) .then((res) => { - templateList.value = (res.rows || []).filter((item) => item.enabled); + templateList.value = (res.rows || []).filter((item) => item.enabled && item.has_access); currentTemplate.value = templateList.value[0] ? JSON.parse(JSON.stringify(templateList.value[0])) : {}; diff --git a/pages/mine/mine.vue b/pages/mine/mine.vue index dbedc9e..ccb75c6 100644 --- a/pages/mine/mine.vue +++ b/pages/mine/mine.vue @@ -120,6 +120,12 @@ --> + + 模板申请 + + + + 用户协议 @@ -205,6 +211,11 @@ const viewUserAgreement = () => { url: "/pagesA/user-agreement/user-agreement", }); }; +const templateApply = () => { + uni.navigateTo({ + url: "/pagesA/template-apply/template-apply", + }); +}; // 新增需求 const addRequirement = () => { diff --git a/pagesA/template-apply/template-apply.vue b/pagesA/template-apply/template-apply.vue new file mode 100644 index 0000000..a1219fd --- /dev/null +++ b/pagesA/template-apply/template-apply.vue @@ -0,0 +1,287 @@ + + + + + \ No newline at end of file