diff --git a/config.js b/config.js index 2fcc09b..651e843 100644 --- a/config.js +++ b/config.js @@ -1,7 +1,7 @@ export default { // baseUrl: 'http://39.98.44.136:8080', // 测试 - // baseUrl: 'http://222.80.110.161:11111/api/ks', // 测试 - baseUrl: 'http://ks.zhaopinzao8dian.com/api/ks', // 测试 + baseUrl: 'http://222.80.110.161:11111/api/ks', // 正式环境 + // baseUrl: 'http://ks.zhaopinzao8dian.com/api/ks', // 测试 LCBaseUrl:'http://10.110.145.145:9100',//招聘、培训、帮扶 LCBaseUrlInner:'http://10.110.145.145:10100',//内网端口 diff --git a/packageA/pages/post/post.vue b/packageA/pages/post/post.vue index 05279af..4060ebc 100644 --- a/packageA/pages/post/post.vue +++ b/packageA/pages/post/post.vue @@ -68,6 +68,39 @@ {{ jobInfo.description }} + + + + 职位图片 + + + + + + + + + + + 联系人信息 + + + + + 联系人: + {{ contact.contactPerson }} + + + 职位: + {{ contact.position }} + + + 电话: + {{ contact.contactPersonPhone }} + + + + @@ -482,6 +515,16 @@ function formatPublishTime(dateString) { return `${year}-${month.toString().padStart(2, '0')}-${day.toString().padStart(2, '0')}`; } } + +// 预览图片 +function previewImage(url, index) { + // 获取所有图片的URL列表 + const allImageUrls = jobInfo.value.filesList.map(file => file.fileUrl); + uni.previewImage({ + urls: allImageUrls, + current: index + }); +}