1126
This commit is contained in:
parent
a51e77da79
commit
360a17477c
@ -84,5 +84,6 @@
|
||||
}
|
||||
},
|
||||
"title" : "重庆枢纽港产业园"
|
||||
}
|
||||
},
|
||||
"fallbackLocale" : "zh-Hans"
|
||||
}
|
||||
|
@ -35,6 +35,7 @@
|
||||
</view>
|
||||
<view class="time">
|
||||
<TnIcon name="time"/>{{dayjs(item.createTime).format('YYYY-MM-DD')}}
|
||||
<!-- <TnIcon name="time"/>{{dayjs(item.createTime).locale('zh-cn').fromNow()}} -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -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')
|
||||
|
||||
|
@ -28,6 +28,9 @@
|
||||
</view>
|
||||
<view class="main tn-pt-sm">
|
||||
<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>
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
21
unpackage/dist/cache/.vite/deps/_metadata.json
vendored
21
unpackage/dist/cache/.vite/deps/_metadata.json
vendored
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user