1126
This commit is contained in:
parent
a51e77da79
commit
360a17477c
@ -84,5 +84,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"title" : "重庆枢纽港产业园"
|
"title" : "重庆枢纽港产业园"
|
||||||
}
|
},
|
||||||
|
"fallbackLocale" : "zh-Hans"
|
||||||
}
|
}
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="time">
|
<view class="time">
|
||||||
<TnIcon name="time"/>{{dayjs(item.createTime).format('YYYY-MM-DD')}}
|
<TnIcon name="time"/>{{dayjs(item.createTime).format('YYYY-MM-DD')}}
|
||||||
|
<!-- <TnIcon name="time"/>{{dayjs(item.createTime).locale('zh-cn').fromNow()}} -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -65,11 +66,14 @@
|
|||||||
import request from '@/utils/request';
|
import request from '@/utils/request';
|
||||||
import { onLoad,onReachBottom } from "@dcloudio/uni-app";
|
import { onLoad,onReachBottom } from "@dcloudio/uni-app";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
|
// import 'dayjs/locale/zh-cn'
|
||||||
|
// import relativeTime from "dayjs/plugin/relativeTime";
|
||||||
import type { LoadmoreStatus } from '@tuniao/tnui-vue3-uniapp'
|
import type { LoadmoreStatus } from '@tuniao/tnui-vue3-uniapp'
|
||||||
import TnLoadmore from '@/uni_modules/tuniaoui-vue3/components/loadmore/src/loadmore.vue'
|
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 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 TnSearchBox from '@/uni_modules/tuniaoui-vue3/components/search-box/src/search-box.vue'
|
||||||
import config from '@/config/config'
|
import config from '@/config/config'
|
||||||
|
// dayjs.extend(relativeTime)
|
||||||
|
|
||||||
const topImg = ref('/static/index_top.jpg')
|
const topImg = ref('/static/index_top.jpg')
|
||||||
|
|
||||||
|
@ -28,6 +28,9 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="main tn-pt-sm">
|
<view class="main tn-pt-sm">
|
||||||
<view class="options tn-flex tn-flex-center-around">
|
<view class="options tn-flex tn-flex-center-around">
|
||||||
|
<view class="btn tn-gradient-bg__cool-16 tn-text-center tn-text-xl tn-radius" @click="check('list')">
|
||||||
|
招聘信息
|
||||||
|
</view>
|
||||||
<view class="btn tn-gradient-bg__cool-13 tn-text-center tn-text-xl tn-radius" @click="check('position')">
|
<view class="btn tn-gradient-bg__cool-13 tn-text-center tn-text-xl tn-radius" @click="check('position')">
|
||||||
选职位
|
选职位
|
||||||
</view>
|
</view>
|
||||||
@ -133,7 +136,7 @@
|
|||||||
request({
|
request({
|
||||||
url:'/front/content/list',
|
url:'/front/content/list',
|
||||||
method:'GET',
|
method:'GET',
|
||||||
data: {'cateId':cateId.value}
|
data: {'cateId':cateId.value,'limit':3}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
res.data.data.list.map((d:any)=>{
|
res.data.data.list.map((d:any)=>{
|
||||||
if(d.image){
|
if(d.image){
|
||||||
@ -169,6 +172,10 @@
|
|||||||
getCateList()
|
getCateList()
|
||||||
}else if(field == 'company'){
|
}else if(field == 'company'){
|
||||||
getCompanyList()
|
getCompanyList()
|
||||||
|
}else{
|
||||||
|
uni.redirectTo({
|
||||||
|
url:'/pages/category/index?cateId=' + cateId.value
|
||||||
|
})
|
||||||
}
|
}
|
||||||
if(popList.value){
|
if(popList.value){
|
||||||
checkPopup.value = true
|
checkPopup.value = true
|
||||||
@ -212,7 +219,7 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const toList = (item) => {
|
const toList = (item:any) => {
|
||||||
jobList.value = []
|
jobList.value = []
|
||||||
if(item.companyId){
|
if(item.companyId){
|
||||||
params.page = 1
|
params.page = 1
|
||||||
@ -311,9 +318,9 @@
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
.options{
|
.options{
|
||||||
.btn{
|
.btn{
|
||||||
width: 40%;
|
width: 28%;
|
||||||
height: 120rpx;
|
height: 100rpx;
|
||||||
line-height: 120rpx;
|
line-height: 100rpx;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
21
unpackage/dist/cache/.vite/deps/_metadata.json
vendored
21
unpackage/dist/cache/.vite/deps/_metadata.json
vendored
@ -2,22 +2,37 @@
|
|||||||
"hash": "a88f8f2d",
|
"hash": "a88f8f2d",
|
||||||
"configHash": "e13971f2",
|
"configHash": "e13971f2",
|
||||||
"lockfileHash": "220a6047",
|
"lockfileHash": "220a6047",
|
||||||
"browserHash": "05ea879e",
|
"browserHash": "4eaf0e11",
|
||||||
"optimized": {
|
"optimized": {
|
||||||
"crypto-js": {
|
"crypto-js": {
|
||||||
"src": "../../../../../node_modules/crypto-js/index.js",
|
"src": "../../../../../node_modules/crypto-js/index.js",
|
||||||
"file": "crypto-js.js",
|
"file": "crypto-js.js",
|
||||||
"fileHash": "14849880",
|
"fileHash": "9cc7deff",
|
||||||
"needsInterop": true
|
"needsInterop": true
|
||||||
},
|
},
|
||||||
"dayjs": {
|
"dayjs": {
|
||||||
"src": "../../../../../node_modules/dayjs/dayjs.min.js",
|
"src": "../../../../../node_modules/dayjs/dayjs.min.js",
|
||||||
"file": "dayjs.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
|
"needsInterop": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"chunks": {
|
"chunks": {
|
||||||
|
"chunk-VATDREKL": {
|
||||||
|
"file": "chunk-VATDREKL.js"
|
||||||
|
},
|
||||||
"chunk-TDUMLE5V": {
|
"chunk-TDUMLE5V": {
|
||||||
"file": "chunk-TDUMLE5V.js"
|
"file": "chunk-TDUMLE5V.js"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user