feat(index): add custom navigation and new job list components

- Updated the index page to include a custom navigation style for H5.
- Introduced a new component `IndexYtj` for enhanced job listing features.
- Added a new job list page `jobListYtj` with improved layout and functionality.
- Integrated a WeChat authorization login component for better user experience.
- Included several new static assets for UI enhancements.
This commit is contained in:
2026-04-30 17:44:54 +08:00
parent c417b1b86b
commit 9393e9a624
10 changed files with 2862 additions and 8 deletions

View File

@@ -5,6 +5,7 @@
-->
<template>
<!-- @scroll="handleScroll" @scrolltolower="scrollBottom" -->
<!-- #ifdef MP-WEIXIN -->
<scroll-view :scroll-y="true" class="container" :class="{'h5-pc-container': isH5}" :show-scrollbar="false" style="background-image: url(../../../packageRc/static/pageBgIndex.png);">
<view style="padding: 40rpx 28rpx;">
<!-- #ifdef MP-WEIXIN -->
@@ -97,6 +98,10 @@
</template>
</view>
</scroll-view>
<!-- #endif -->
<!-- #ifdef H5 -->
<IndexYtj />
<!-- #endif -->
</template>
<script setup>
@@ -226,6 +231,7 @@ function changeJobType(val){
}
// 登录检查函数
import { storeToRefs } from 'pinia';
import IndexYtj from './indexYtj.vue';
const { userInfo, hasLogin, token } = storeToRefs(useUserStore());
const checkLogin = () => {
const tokenValue = uni.getStorageSync('token') || '';