暂时提交
12
App.vue
@@ -10,7 +10,7 @@ usePageAnimation();
|
|||||||
const appword = 'aKd20dbGdFvmuwrt'; // 固定值
|
const appword = 'aKd20dbGdFvmuwrt'; // 固定值
|
||||||
|
|
||||||
onLaunch((options) => {
|
onLaunch((options) => {
|
||||||
// uni.hideTabBar();
|
uni.hideTabBar();
|
||||||
useDictStore().getDictData();
|
useDictStore().getDictData();
|
||||||
try {
|
try {
|
||||||
getUserInfo();
|
getUserInfo();
|
||||||
@@ -163,6 +163,16 @@ uni-modal,
|
|||||||
z-index: 998;
|
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-face {
|
||||||
font-family: DingTalk JinBuTi;
|
font-family: DingTalk JinBuTi;
|
||||||
src: url('/static/font/DingTalk JinBuTi_min.woff2') format('woff2');
|
src: url('/static/font/DingTalk JinBuTi_min.woff2') format('woff2');
|
||||||
|
|||||||
@@ -23,15 +23,15 @@ export function useColumnCount(onChange = () => {}) {
|
|||||||
const width = uni.getSystemInfoSync().windowWidth
|
const width = uni.getSystemInfoSync().windowWidth
|
||||||
|
|
||||||
let count = 2
|
let count = 2
|
||||||
if (width >= 1000) {
|
// if (width >= 1000) {
|
||||||
count = 5
|
// count = 5
|
||||||
} else if (width >= 750) {
|
// } else if (width >= 750) {
|
||||||
count = 4
|
// count = 4
|
||||||
} else if (width >= 500) {
|
// } else if (width >= 500) {
|
||||||
count = 3
|
// count = 3
|
||||||
} else {
|
// } else {
|
||||||
count = 2
|
// count = 2
|
||||||
}
|
// }
|
||||||
|
|
||||||
if (count !== columnCount.value) {
|
if (count !== columnCount.value) {
|
||||||
columnCount.value = count
|
columnCount.value = count
|
||||||
|
|||||||
@@ -277,7 +277,7 @@
|
|||||||
// "enablePullDownRefresh": false,
|
// "enablePullDownRefresh": false,
|
||||||
// "navigationStyle": "custom",
|
// "navigationStyle": "custom",
|
||||||
"rpxCalcBaseDeviceWidth": 375,
|
"rpxCalcBaseDeviceWidth": 375,
|
||||||
"rpxCalcMaxDeviceWidth": 750,
|
"rpxCalcMaxDeviceWidth": 1200,
|
||||||
"rpxCalcIncludeWidth": 750
|
"rpxCalcIncludeWidth": 750
|
||||||
},
|
},
|
||||||
"uniIdRouter": {}
|
"uniIdRouter": {}
|
||||||
|
|||||||
@@ -100,7 +100,7 @@
|
|||||||
<empty v-if="!fairList.length" content="暂时没有结果,下一天也许就有惊喜"></empty>
|
<empty v-if="!fairList.length" content="暂时没有结果,下一天也许就有惊喜"></empty>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <Tabbar :currentpage="1"></Tabbar> -->
|
<Tabbar :currentpage="1"></Tabbar>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -63,9 +63,9 @@
|
|||||||
<ai-paging ref="paging"></ai-paging>
|
<ai-paging ref="paging"></ai-paging>
|
||||||
</view>
|
</view>
|
||||||
<!-- 自定义tabbar -->
|
<!-- 自定义tabbar -->
|
||||||
<!-- <view class="chatmain-footer" v-show="!isDrawerOpen">
|
<view class="chatmain-footer" v-show="!isDrawerOpen">
|
||||||
<Tabbar :currentpage="2"></Tabbar>
|
<Tabbar :currentpage="2"></Tabbar>
|
||||||
</view> -->
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
</swiper>
|
</swiper>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- <Tabbar v-show="showTabbar" :currentpage="0"></Tabbar> -->
|
<Tabbar v-show="showTabbar" :currentpage="0"></Tabbar>
|
||||||
|
|
||||||
<!-- maskFristEntry -->
|
<!-- maskFristEntry -->
|
||||||
<view class="maskFristEntry" v-if="maskFristEntry">
|
<view class="maskFristEntry" v-if="maskFristEntry">
|
||||||
@@ -81,10 +81,11 @@ const THRESHOLD = 5;
|
|||||||
onLoad(() => {
|
onLoad(() => {
|
||||||
// 判断浏览器是否有 fristEntry 第一次进入
|
// 判断浏览器是否有 fristEntry 第一次进入
|
||||||
let fristEntry = uni.getStorageSync('fristEntry') === false ? false : true; // 默认未读
|
let fristEntry = uni.getStorageSync('fristEntry') === false ? false : true; // 默认未读
|
||||||
maskFristEntry.value = fristEntry;
|
maskFristEntry.value = fristEntry
|
||||||
if (fristEntry) {
|
// if (fristEntry) {
|
||||||
uni.hideTabBar();
|
// uni.hideTabBar();
|
||||||
}
|
// }
|
||||||
|
|
||||||
// 预加载较重页面
|
// 预加载较重页面
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.preloadPage({ url: '/packageA/pages/post/post' });
|
uni.preloadPage({ url: '/packageA/pages/post/post' });
|
||||||
|
|||||||
@@ -95,9 +95,9 @@
|
|||||||
></uni-popup-dialog>
|
></uni-popup-dialog>
|
||||||
</uni-popup>
|
</uni-popup>
|
||||||
</view>
|
</view>
|
||||||
<!-- <template #footer>
|
<template #footer>
|
||||||
<Tabbar :currentpage="4"></Tabbar>
|
<Tabbar :currentpage="4"></Tabbar>
|
||||||
</template> -->
|
</template>
|
||||||
</AppLayout>
|
</AppLayout>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
</swiper>
|
</swiper>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- <Tabbar :currentpage="3"></Tabbar> -->
|
<Tabbar :currentpage="3"></Tabbar>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 764 B After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 347 B After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 359 B After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 209 B After Width: | Height: | Size: 352 B |
|
Before Width: | Height: | Size: 287 B After Width: | Height: | Size: 1.5 KiB |
@@ -126,20 +126,24 @@ const jobAnalyzer = {
|
|||||||
_mergeAllStats: (results) => {
|
_mergeAllStats: (results) => {
|
||||||
const merged = {}
|
const merged = {}
|
||||||
|
|
||||||
// 合并岗位类别(添加前缀)
|
try {
|
||||||
Object.entries(results.categories).forEach(([k, v]) => {
|
// 合并岗位类别(添加前缀)
|
||||||
merged[`岗位:${k}`] = v
|
Object.entries(results.categories).forEach(([k, v]) => {
|
||||||
})
|
merged[`岗位:${k}`] = v
|
||||||
|
})
|
||||||
|
|
||||||
// 合并工作地区(添加前缀)
|
// 合并工作地区(添加前缀)
|
||||||
Object.entries(results.areas).forEach(([k, v]) => {
|
Object.entries(results.areas).forEach(([k, v]) => {
|
||||||
merged[`地区:${k}`] = v
|
merged[`地区:${k}`] = v
|
||||||
})
|
})
|
||||||
|
|
||||||
// 合并经验要求(添加前缀)
|
// 合并经验要求(添加前缀)
|
||||||
Object.entries(results.experience).forEach(([k, v]) => {
|
Object.entries(results.experience).forEach(([k, v]) => {
|
||||||
merged[`经验:${k}`] = v
|
merged[`经验:${k}`] = v
|
||||||
})
|
})
|
||||||
|
} catch (error) {
|
||||||
|
return merged
|
||||||
|
}
|
||||||
|
|
||||||
return merged
|
return merged
|
||||||
},
|
},
|
||||||
|
|||||||