diff --git a/src/components/dict/label.vue b/src/components/cu-dict-label/index.vue similarity index 100% rename from src/components/dict/label.vue rename to src/components/cu-dict-label/index.vue diff --git a/src/components/dict/index.vue b/src/components/cu-dict/index.vue similarity index 100% rename from src/components/dict/index.vue rename to src/components/cu-dict/index.vue diff --git a/src/pages.json b/src/pages.json index 50a8202..f9c84a5 100644 --- a/src/pages.json +++ b/src/pages.json @@ -3,7 +3,7 @@ "autoscan": true, "custom": { "^wd-(.*)": "wot-design-uni/components/wd-$1/wd-$1.vue", - "^dict-(.*)": "@/components/dict/$1.vue" + "^cu-(.*)": "@/components/cu-$1/index.vue" } }, @@ -32,6 +32,12 @@ "navigationBarTitleText": "关于我们" } }, + { + "path": "pages/mine/feedback/index", + "style": { + "navigationBarTitleText": "问题反馈" + } + }, { "path": "pages/mine/settings/index", "style": { diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 14235b2..6071c83 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -77,7 +77,19 @@ - + @@ -194,7 +206,7 @@ const loadVisitStatsData = async () => { const loadVisitTrendData = () => { const endDate = new Date(); const startDate = new Date(endDate); - startDate.setDate(endDate.getDate() - recentDaysRange.value); + startDate.setDate(endDate.getDate() - recentDaysRange.value + 1); const visitTrendQuery = { startDate: dayjs(startDate).format("YYYY-MM-DD"), @@ -234,7 +246,7 @@ onReady(() => { diff --git a/src/pages/mine/index.vue b/src/pages/mine/index.vue index 3820d86..6b18a6a 100644 --- a/src/pages/mine/index.vue +++ b/src/pages/mine/index.vue @@ -27,7 +27,7 @@ - + @@ -46,7 +46,7 @@ - + @@ -86,11 +86,15 @@ const navigateToFAQ = () => { const navigateToAbout = () => { uni.navigateTo({ url: "/pages/mine/about/index" }); }; -// 应用设置 +// 设置 const navigateToSettings = () => { uni.navigateTo({ url: "/pages/mine/settings/index" }); }; - +// 问题反馈 +const handleQuestionFeedback = () => { + uni.navigateTo({ url: "/pages/mine/feedback/index" }); +}; +// 建设中 const handleItemclick = (item: any) => { toast.show("建设中..."); }; @@ -117,6 +121,13 @@ const handleItemclick = (item: any) => { color: #4d80f0; border-radius: 10rpx; } + .cursor-pointer { + display: flex; + align-items: center; + justify-content: center; + margin: auto; + margin-right: 10rpx; + } } } diff --git a/src/pages/work/config/index.vue b/src/pages/work/config/index.vue index fdd8bf6..c97e942 100644 --- a/src/pages/work/config/index.vue +++ b/src/pages/work/config/index.vue @@ -21,7 +21,7 @@ - + @@ -31,32 +31,11 @@ - - - - 配置键: - - - {{ item.configKey || "-" }} - - - - - 配置值: - - - {{ item.configValue || "-" }} - - - - - 备注: - - - {{ item.remark || "-" }} - - - + + + + + + diff --git a/src/pages/work/user/index.vue b/src/pages/work/user/index.vue index 0c0df5e..b15526f 100644 --- a/src/pages/work/user/index.vue +++ b/src/pages/work/user/index.vue @@ -162,9 +162,6 @@ import UserAPI, { type UserPageQuery, UserPageVO, UserForm } from "@/api/system/ import RoleAPI from "@/api/system/role"; import DeptAPI from "@/api/system/dept"; -import CuPicker from "@/components/cu-picker/index.vue"; -import CuDateQuery from "@/components/cu-date-query/index.vue"; - const message = useMessage(); const loadMoreState = ref("loading"); const filterDropMenu = ref();