diff --git a/manifest.json b/manifest.json index f91e906..fdb4bd4 100644 --- a/manifest.json +++ b/manifest.json @@ -84,5 +84,6 @@ } }, "title" : "重庆枢纽港产业园" - } + }, + "fallbackLocale" : "zh-Hans" } diff --git a/pages/category/index.vue b/pages/category/index.vue index 01a1292..4b882c1 100644 --- a/pages/category/index.vue +++ b/pages/category/index.vue @@ -35,6 +35,7 @@ {{dayjs(item.createTime).format('YYYY-MM-DD')}} + @@ -65,11 +66,14 @@ import request from '@/utils/request'; import { onLoad,onReachBottom } from "@dcloudio/uni-app"; import dayjs from "dayjs"; + // import 'dayjs/locale/zh-cn' + // import relativeTime from "dayjs/plugin/relativeTime"; import type { LoadmoreStatus } from '@tuniao/tnui-vue3-uniapp' import TnLoadmore from '@/uni_modules/tuniaoui-vue3/components/loadmore/src/loadmore.vue' import TnPopup from '@/uni_modules/tuniaoui-vue3/components/popup/src/popup.vue' import TnSearchBox from '@/uni_modules/tuniaoui-vue3/components/search-box/src/search-box.vue' import config from '@/config/config' + // dayjs.extend(relativeTime) const topImg = ref('/static/index_top.jpg') diff --git a/pages/employ/index.vue b/pages/employ/index.vue index 7fe0131..4737397 100644 --- a/pages/employ/index.vue +++ b/pages/employ/index.vue @@ -28,6 +28,9 @@ + + 招聘信息 + 选职位 @@ -133,7 +136,7 @@ request({ url:'/front/content/list', method:'GET', - data: {'cateId':cateId.value} + data: {'cateId':cateId.value,'limit':3} }).then(res => { res.data.data.list.map((d:any)=>{ if(d.image){ @@ -169,6 +172,10 @@ getCateList() }else if(field == 'company'){ getCompanyList() + }else{ + uni.redirectTo({ + url:'/pages/category/index?cateId=' + cateId.value + }) } if(popList.value){ checkPopup.value = true @@ -212,7 +219,7 @@ }) } - const toList = (item) => { + const toList = (item:any) => { jobList.value = [] if(item.companyId){ params.page = 1 @@ -311,9 +318,9 @@ background-color: #fff; .options{ .btn{ - width: 40%; - height: 120rpx; - line-height: 120rpx; + width: 28%; + height: 100rpx; + line-height: 100rpx; color: #fff; } } diff --git a/unpackage/dist/cache/.vite/deps/_metadata.json b/unpackage/dist/cache/.vite/deps/_metadata.json index edf9632..e51e09c 100644 --- a/unpackage/dist/cache/.vite/deps/_metadata.json +++ b/unpackage/dist/cache/.vite/deps/_metadata.json @@ -2,22 +2,37 @@ "hash": "a88f8f2d", "configHash": "e13971f2", "lockfileHash": "220a6047", - "browserHash": "05ea879e", + "browserHash": "4eaf0e11", "optimized": { "crypto-js": { "src": "../../../../../node_modules/crypto-js/index.js", "file": "crypto-js.js", - "fileHash": "14849880", + "fileHash": "9cc7deff", "needsInterop": true }, "dayjs": { "src": "../../../../../node_modules/dayjs/dayjs.min.js", "file": "dayjs.js", - "fileHash": "c1f8ef31", + "fileHash": "d3948691", + "needsInterop": true + }, + "dayjs/locale/zh-cn": { + "src": "../../../../../node_modules/dayjs/locale/zh-cn.js", + "file": "dayjs_locale_zh-cn.js", + "fileHash": "81f78354", + "needsInterop": true + }, + "dayjs/plugin/relativeTime": { + "src": "../../../../../node_modules/dayjs/plugin/relativeTime.js", + "file": "dayjs_plugin_relativeTime.js", + "fileHash": "10ab81c7", "needsInterop": true } }, "chunks": { + "chunk-VATDREKL": { + "file": "chunk-VATDREKL.js" + }, "chunk-TDUMLE5V": { "file": "chunk-TDUMLE5V.js" }