diff --git a/App.vue b/App.vue index a7dd7e1..743bf66 100644 --- a/App.vue +++ b/App.vue @@ -10,7 +10,7 @@ usePageAnimation(); const appword = 'aKd20dbGdFvmuwrt'; // 固定值 onLaunch((options) => { - // uni.hideTabBar(); + uni.hideTabBar(); useDictStore().getDictData(); try { getUserInfo(); @@ -163,6 +163,16 @@ uni-modal, z-index: 998; } +/* toast大小改为rpx */ +uni-toast .uni-sample-toast { + width: 300rpx !important; +} +uni-toast .uni-simple-toast__text{ + font-size: 30rpx !important; + padding: 15rpx 25rpx; + border-radius: 15rpx !important; +} + @font-face { font-family: DingTalk JinBuTi; src: url('/static/font/DingTalk JinBuTi_min.woff2') format('woff2'); diff --git a/hook/useColumnCount.js b/hook/useColumnCount.js index 7ed1c79..78b2ffc 100644 --- a/hook/useColumnCount.js +++ b/hook/useColumnCount.js @@ -23,15 +23,15 @@ export function useColumnCount(onChange = () => {}) { const width = uni.getSystemInfoSync().windowWidth let count = 2 - if (width >= 1000) { - count = 5 - } else if (width >= 750) { - count = 4 - } else if (width >= 500) { - count = 3 - } else { - count = 2 - } + // if (width >= 1000) { + // count = 5 + // } else if (width >= 750) { + // count = 4 + // } else if (width >= 500) { + // count = 3 + // } else { + // count = 2 + // } if (count !== columnCount.value) { columnCount.value = count diff --git a/pages.json b/pages.json index 94bbace..87bf1ee 100644 --- a/pages.json +++ b/pages.json @@ -277,7 +277,7 @@ // "enablePullDownRefresh": false, // "navigationStyle": "custom", "rpxCalcBaseDeviceWidth": 375, - "rpxCalcMaxDeviceWidth": 750, + "rpxCalcMaxDeviceWidth": 1200, "rpxCalcIncludeWidth": 750 }, "uniIdRouter": {} diff --git a/pages/careerfair/careerfair.vue b/pages/careerfair/careerfair.vue index ab9c67c..82ccadd 100644 --- a/pages/careerfair/careerfair.vue +++ b/pages/careerfair/careerfair.vue @@ -100,7 +100,7 @@ - + diff --git a/pages/chat/chat.vue b/pages/chat/chat.vue index 109d74b..804827e 100644 --- a/pages/chat/chat.vue +++ b/pages/chat/chat.vue @@ -63,9 +63,9 @@ - + diff --git a/pages/index/index.vue b/pages/index/index.vue index 3695bef..f2764a1 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -41,7 +41,7 @@ - + @@ -81,10 +81,11 @@ const THRESHOLD = 5; onLoad(() => { // 判断浏览器是否有 fristEntry 第一次进入 let fristEntry = uni.getStorageSync('fristEntry') === false ? false : true; // 默认未读 - maskFristEntry.value = fristEntry; - if (fristEntry) { - uni.hideTabBar(); - } + maskFristEntry.value = fristEntry + // if (fristEntry) { + // uni.hideTabBar(); + // } + // 预加载较重页面 setTimeout(() => { uni.preloadPage({ url: '/packageA/pages/post/post' }); diff --git a/pages/mine/mine.vue b/pages/mine/mine.vue index 0215fd6..59ecce1 100644 --- a/pages/mine/mine.vue +++ b/pages/mine/mine.vue @@ -95,9 +95,9 @@ > - + diff --git a/pages/msglog/msglog.vue b/pages/msglog/msglog.vue index e2a6b55..4d73acc 100644 --- a/pages/msglog/msglog.vue +++ b/pages/msglog/msglog.vue @@ -40,7 +40,7 @@ - + diff --git a/static/icon/flame3.png b/static/icon/flame3.png index 4955062..3527977 100644 Binary files a/static/icon/flame3.png and b/static/icon/flame3.png differ diff --git a/static/icon/index-search.png b/static/icon/index-search.png index 6df20ec..7f88b46 100644 Binary files a/static/icon/index-search.png and b/static/icon/index-search.png differ diff --git a/static/icon/leart-gold.png b/static/icon/leart-gold.png index 235c86a..6566b8f 100644 Binary files a/static/icon/leart-gold.png and b/static/icon/leart-gold.png differ diff --git a/static/icon/pintDate2.png b/static/icon/pintDate2.png index 84ab5a1..b3d5c9a 100644 Binary files a/static/icon/pintDate2.png and b/static/icon/pintDate2.png differ diff --git a/static/icon/polygon-down.png b/static/icon/polygon-down.png index e35d9b1..2894401 100644 Binary files a/static/icon/polygon-down.png and b/static/icon/polygon-down.png differ diff --git a/static/icon/position-icon.png b/static/icon/position-icon.png index 3742840..da6e155 100644 Binary files a/static/icon/position-icon.png and b/static/icon/position-icon.png differ diff --git a/utils/jobAnalyzer.js b/utils/jobAnalyzer.js index 17e37ef..2757c8f 100644 --- a/utils/jobAnalyzer.js +++ b/utils/jobAnalyzer.js @@ -126,20 +126,24 @@ const jobAnalyzer = { _mergeAllStats: (results) => { const merged = {} - // 合并岗位类别(添加前缀) - Object.entries(results.categories).forEach(([k, v]) => { - merged[`岗位:${k}`] = v - }) + try { + // 合并岗位类别(添加前缀) + Object.entries(results.categories).forEach(([k, v]) => { + merged[`岗位:${k}`] = v + }) - // 合并工作地区(添加前缀) - Object.entries(results.areas).forEach(([k, v]) => { - merged[`地区:${k}`] = v - }) + // 合并工作地区(添加前缀) + Object.entries(results.areas).forEach(([k, v]) => { + merged[`地区:${k}`] = v + }) - // 合并经验要求(添加前缀) - Object.entries(results.experience).forEach(([k, v]) => { - merged[`经验:${k}`] = v - }) + // 合并经验要求(添加前缀) + Object.entries(results.experience).forEach(([k, v]) => { + merged[`经验:${k}`] = v + }) + } catch (error) { + return merged + } return merged },