提交 4243907c 作者: 方治民

chore: 更新页面主题风格配置、我的页面渲染丢失数据问题

上级 9d892e5d
...@@ -79,22 +79,22 @@ ...@@ -79,22 +79,22 @@
"@dcloudio/uni-mp-toutiao": "3.0.0-4060620250520001", "@dcloudio/uni-mp-toutiao": "3.0.0-4060620250520001",
"@dcloudio/uni-mp-weixin": "3.0.0-4060620250520001", "@dcloudio/uni-mp-weixin": "3.0.0-4060620250520001",
"@dcloudio/uni-quickapp-webview": "3.0.0-4060620250520001", "@dcloudio/uni-quickapp-webview": "3.0.0-4060620250520001",
"@dcloudio/uni-ui": "^1.5.7", "@dcloudio/uni-ui": "^1.5.11",
"@faker-js/faker": "^9.8.0", "@faker-js/faker": "^9.9.0",
"@vant/area-data": "^2.1.0", "@vant/area-data": "^2.1.0",
"@vue/runtime-core": "3.4.21", "@vue/runtime-core": "3.4.21",
"@vueuse/core": "^12.3.0", "@vueuse/core": "^10.11.1",
"@vueuse/shared": "^12.3.0", "@vueuse/shared": "^11.3.0",
"axios": "^1.9.0", "axios": "^1.13.1",
"crypto-js": "^4.2.0", "crypto-js": "^4.2.0",
"dayjs": "^1.11.13", "dayjs": "^1.11.19",
"dayjs-plugin-lunar": "^1.4.1", "dayjs-plugin-lunar": "^1.4.1",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"nanoid": "^5.1.5", "nanoid": "^5.1.6",
"pinia": "2.0.36", "pinia": "2.0.36",
"qs": "6.9.7", "qs": "6.9.7",
"stompjs": "^2.3.3", "stompjs": "^2.3.3",
"tyme4ts": "^1.3.7", "tyme4ts": "^1.3.8",
"urijs": "^1.19.11", "urijs": "^1.19.11",
"vue": "3.4.21", "vue": "3.4.21",
"vue-demi": "^0.14.10", "vue-demi": "^0.14.10",
...@@ -106,49 +106,49 @@ ...@@ -106,49 +106,49 @@
"@antfu/eslint-config": "^0.43.1", "@antfu/eslint-config": "^0.43.1",
"@commitlint/cli": "^19.8.1", "@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1", "@commitlint/config-conventional": "^19.8.1",
"@dcloudio/types": "^3.4.15", "@dcloudio/types": "^3.4.28",
"@dcloudio/uni-automator": "3.0.0-4060620250520001", "@dcloudio/uni-automator": "3.0.0-4060620250520001",
"@dcloudio/uni-cli-shared": "3.0.0-4060620250520001", "@dcloudio/uni-cli-shared": "3.0.0-4060620250520001",
"@dcloudio/uni-helper-json": "^1.0.13", "@dcloudio/uni-helper-json": "^1.0.13",
"@dcloudio/uni-stacktracey": "3.0.0-4060620250520001", "@dcloudio/uni-stacktracey": "3.0.0-4060620250520001",
"@dcloudio/uni-uts-v1": "3.0.0-4060620250520001", "@dcloudio/uni-uts-v1": "3.0.0-4060620250520001",
"@dcloudio/vite-plugin-uni": "3.0.0-4060620250520001", "@dcloudio/vite-plugin-uni": "3.0.0-4060620250520001",
"@iconify/json": "^2.2.345", "@iconify/json": "^2.2.403",
"@types/crypto-js": "^4.2.2", "@types/crypto-js": "^4.2.2",
"@types/lodash-es": "^4.17.12", "@types/lodash-es": "^4.17.12",
"@types/node": "^22.15.29", "@types/node": "^22.19.0",
"@types/qs": "^6.14.0", "@types/qs": "^6.14.0",
"@types/stompjs": "^2.3.9", "@types/stompjs": "^2.3.9",
"@types/urijs": "^1.19.25", "@types/urijs": "^1.19.26",
"@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0", "@typescript-eslint/parser": "^7.18.0",
"commitizen": "^4.3.1", "commitizen": "^4.3.1",
"conventional-changelog-cli": "^5.0.0", "conventional-changelog-cli": "^5.0.0",
"cz-conventional-changelog": "^3.3.0", "cz-conventional-changelog": "^3.3.0",
"cz-customizable": "^7.4.0", "cz-customizable": "^7.5.1",
"cz-git": "^1.11.1", "cz-git": "^1.12.0",
"czg": "^1.11.1", "czg": "^1.12.0",
"dotenv": "^16.5.0", "dotenv": "^16.6.1",
"eslint": "^8.57.1", "eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.2",
"eslint-plugin-prettier": "^5.4.1", "eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-vue": "^9.33.0", "eslint-plugin-vue": "^9.33.0",
"husky": "^8.0.3", "husky": "^8.0.3",
"jest": "27.0.4", "jest": "27.0.4",
"jest-environment-node": "27.5.1", "jest-environment-node": "27.5.1",
"less": "^4.3.0", "less": "^4.4.2",
"lint-staged": "^16.1.0", "lint-staged": "^16.2.6",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"picocolors": "^1.1.1", "picocolors": "^1.1.1",
"pont-engine": "^1.6.3", "pont-engine": "^1.6.3",
"postcss": "^8.5.4", "postcss": "^8.5.6",
"postcss-html": "^1.8.0", "postcss-html": "^1.8.0",
"postcss-less": "^6.0.0", "postcss-less": "^6.0.0",
"prettier": "^3.5.3", "prettier": "^3.6.2",
"rimraf": "^6.0.1", "rimraf": "^6.1.0",
"sass": "^1.89.1", "sass": "^1.93.3",
"sort-package-json": "^3.2.1", "sort-package-json": "^3.4.0",
"stylelint": "^16.20.0", "stylelint": "^16.25.0",
"stylelint-config-html": "^1.1.0", "stylelint-config-html": "^1.1.0",
"stylelint-config-recommended": "^14.0.1", "stylelint-config-recommended": "^14.0.1",
"stylelint-config-standard": "^36.0.1", "stylelint-config-standard": "^36.0.1",
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
"unocss-preset-weapp": "^0.58.9", "unocss-preset-weapp": "^0.58.9",
"unplugin-auto-import": "^0.17.8", "unplugin-auto-import": "^0.17.8",
"unplugin-vue-components": "^0.28.0", "unplugin-vue-components": "^0.28.0",
"vite": "^5.4.19", "vite": "^5.4.21",
"vue-eslint-parser": "^9.4.3" "vue-eslint-parser": "^9.4.3"
}, },
"engines": { "engines": {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -253,12 +253,14 @@ ...@@ -253,12 +253,14 @@
{ {
"path": "pages/common/about/index", "path": "pages/common/about/index",
"style": { "style": {
"navigationBarTextStyle": "white",
"navigationBarTitleText": "关于我们" "navigationBarTitleText": "关于我们"
} }
}, },
{ {
"path": "pages/common/feedback/index", "path": "pages/common/feedback/index",
"style": { "style": {
"navigationBarTextStyle": "white",
"navigationBarTitleText": "问题反馈" "navigationBarTitleText": "问题反馈"
} }
}, },
...@@ -271,6 +273,7 @@ ...@@ -271,6 +273,7 @@
{ {
"path": "pages/common/viewer/pdf", "path": "pages/common/viewer/pdf",
"style": { "style": {
"navigationBarTextStyle": "white",
"navigationBarTitleText": "" "navigationBarTitleText": ""
} }
}, },
...@@ -278,6 +281,7 @@ ...@@ -278,6 +281,7 @@
"path": "pages/common/coding/coding", "path": "pages/common/coding/coding",
"style": { "style": {
"titleNView": false, "titleNView": false,
"navigationBarTextStyle": "white",
"navigationBarTitleText": "开发中" "navigationBarTitleText": "开发中"
} }
}, },
...@@ -325,8 +329,8 @@ ...@@ -325,8 +329,8 @@
} }
}, },
"globalStyle": { "globalStyle": {
"navigationBarTextStyle": "black", "navigationBarTextStyle": "white",
"navigationBarTitleText": "uni-app", "navigationBarTitleText": "",
"navigationBarBackgroundColor": "#5DB66F", "navigationBarBackgroundColor": "#5DB66F",
"backgroundColor": "#5DB66F", "backgroundColor": "#5DB66F",
"backgroundColorTop": "#5DB66F", "backgroundColorTop": "#5DB66F",
......
<script setup lang="ts"> <script setup lang="ts">
import dayjs from 'dayjs' import dayjs from 'dayjs'
import Navigate from '@/utils/page/navigate' import Navigate from '@/utils/page/navigate'
import { useRuntime } from '@/hooks/app/useRuntime'
import { checkUpgrade } from '@/utils/upgrade'
const startYear = ref(2005) const { app } = useRuntime()
const version = computed(() => app.value.version)
const currentYear = ref(dayjs().year()) const currentYear = ref(dayjs().year())
const { privacy, services, copyright, company } = Navigate.links const { privacy, services, copyright, company } = Navigate.links
</script> </script>
...@@ -19,7 +22,8 @@ ...@@ -19,7 +22,8 @@
<text class="underline" @tap="Navigate.webview(services, '服务协议')">服务协议</text> <text class="underline" @tap="Navigate.webview(services, '服务协议')">服务协议</text>
<text class="underline" @tap="Navigate.webview(privacy, '隐私政策')">隐私政策</text> <text class="underline" @tap="Navigate.webview(privacy, '隐私政策')">隐私政策</text>
</view> </view>
<view class="mt-1">Copyright © {{ startYear }}-{{ currentYear }} {{ copyright.name }}</view> <view class="mt-1 hidden" v-if="version" @tap="checkUpgrade(true)">V{{ version }}</view>
<view class="mt-2">Copyright © {{ currentYear }} {{ copyright.name }}</view>
<view class="mt-2" v-if="copyright.name !== company.name"> <view class="mt-2" v-if="copyright.name !== company.name">
技术支持: 技术支持:
<fui-link underline color="#b2b2b2" size="24" :href="company.link" :text="company.name" /> <fui-link underline color="#b2b2b2" size="24" :href="company.link" :text="company.name" />
......
...@@ -229,26 +229,7 @@ ...@@ -229,26 +229,7 @@
<fui-list class="rd-3 overflow-hidden shadow !mt-20rpx" :top-border="false"> <fui-list class="rd-3 overflow-hidden shadow !mt-20rpx" :top-border="false">
<fui-list-cell <fui-list-cell
arrow arrow
v-for="(item, index) in items.slice(2, 6)" v-for="(item, index) in items.slice(2, 10)"
:key="index"
:bottom-border="false"
:class="{ disabled: item.disabled }"
v-show="item.show"
@tap="item.handle(item)"
>
<CacheImage
:src="`/static/images/mine/${item.icon}.png`"
width="42"
height="42"
background="transparent"
/>
<text class="ml-3.5 text-30 text-#333333 font-500">{{ item.title }}</text>
</fui-list-cell>
</fui-list>
<fui-list class="rd-3 overflow-hidden shadow !mt-20rpx" :top-border="false">
<fui-list-cell
arrow
v-for="(item, index) in items.slice(7, 10)"
:key="index" :key="index"
:bottom-border="false" :bottom-border="false"
class="pos-relative" class="pos-relative"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论