新增静态页面
This commit is contained in:
199
packageRc/pages/index/index.vue
Normal file
199
packageRc/pages/index/index.vue
Normal file
@@ -0,0 +1,199 @@
|
|||||||
|
<!--
|
||||||
|
* @Date: 2025-10-16 15:15:47
|
||||||
|
* @LastEditors: shirlwang
|
||||||
|
* @LastEditTime: 2025-10-21 17:40:21
|
||||||
|
-->
|
||||||
|
<template>
|
||||||
|
<!-- @scroll="handleScroll" @scrolltolower="scrollBottom" -->
|
||||||
|
<scroll-view :scroll-y="true" class="container" style="background-image: url('../../../packageRc/static/pageBg.png');">
|
||||||
|
<view class="kinggang">
|
||||||
|
<view>
|
||||||
|
<image src="../../../packageRc/static/kinggang1.png"/>
|
||||||
|
<view>信息维护</view>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<image src="../../../packageRc/static/kinggang5.png"/>
|
||||||
|
<view>投递记录</view>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<image src="../../../packageRc/static/kinggang2.png"/>
|
||||||
|
<view>需求上报</view>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<image src="../../../packageRc/static/kinggang3.png"/>
|
||||||
|
<view>虚拟面试</view>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<image src="../../../packageRc/static/kinggang4.png"/>
|
||||||
|
<view>素质测评</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="tabs">
|
||||||
|
<view class="tab" :class="{active: activeTab == 1}" @click="activeTab = 1">岗位列表</view>
|
||||||
|
<view class="tab" :class="{active: activeTab == 2}" @click="activeTab = 2">实习实训</view>
|
||||||
|
<view class="tab" :class="{active: activeTab == 3}" @click="activeTab = 3">社区实践</view>
|
||||||
|
</view>
|
||||||
|
<view class="titles">
|
||||||
|
<view class="title-item" :class="{active: activeTitle == 1}" @click="activeTitle = 1"><view>推荐岗位</view></view>
|
||||||
|
<view class="title-item" :class="{active: activeTitle == 2}" @click="activeTitle = 2"><view>热门岗位</view></view>
|
||||||
|
</view>
|
||||||
|
<view v-for="(item, index) in jobList" :key="index" class="job-list">
|
||||||
|
<view class="top-line">
|
||||||
|
<view class="salary">4000-8000/月</view>
|
||||||
|
<view class="time"><uni-icons color="#A2A2A2" type="info" size="12"></uni-icons>发布日期:2025-10-20</view>
|
||||||
|
</view>
|
||||||
|
<view class="title">销售顾问</view>
|
||||||
|
<view class="infos">
|
||||||
|
<view>大专</view>
|
||||||
|
<view>1-3年</view>
|
||||||
|
<view>喀什 市南区</view>
|
||||||
|
</view>
|
||||||
|
<view class="bottom-line">
|
||||||
|
<view><uni-icons color="#A2A2A2" type="person" size="12"></uni-icons>6人</view>
|
||||||
|
<view>青岛xx公司</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</scroll-view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
import { reactive, inject, watch, ref, onMounted, watchEffect, nextTick } from 'vue';
|
||||||
|
let activeTab = ref(1)
|
||||||
|
let activeTitle = ref(1)
|
||||||
|
let jobList = ref([{},{},{},{},{},{}])
|
||||||
|
function back() {
|
||||||
|
uni.navigateBack({
|
||||||
|
delta: 1
|
||||||
|
})
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
view{box-sizing: border-box;display: block;}
|
||||||
|
.container{
|
||||||
|
background-color: #F4F4F4;background-position: top center;background-size: 100% auto;
|
||||||
|
height: 100vh;
|
||||||
|
min-width: 100vw;
|
||||||
|
padding: 40rpx 28rpx;
|
||||||
|
padding-bottom: 0;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.kinggang{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-around;
|
||||||
|
align-items: center;
|
||||||
|
padding: 16rpx 16rpx 32rpx 16rpx;
|
||||||
|
font-size: 24rpx;
|
||||||
|
background: #FFFFFF;
|
||||||
|
border-radius: 16rpx;
|
||||||
|
margin-bottom: 24rpx;
|
||||||
|
>view{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-around;
|
||||||
|
}
|
||||||
|
image{
|
||||||
|
width: 78rpx;
|
||||||
|
// margin-bottom: 15rpx;
|
||||||
|
height: 78rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.tabs{
|
||||||
|
margin-bottom: 29rpx;
|
||||||
|
|
||||||
|
border-radius: 16rpx;
|
||||||
|
display: flex;
|
||||||
|
background: #fff;
|
||||||
|
color: #878787;
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
.tab{
|
||||||
|
width: 50%;
|
||||||
|
border: 4rpx solid transparent;
|
||||||
|
border-radius: 16rpx;
|
||||||
|
line-height: 64rpx;
|
||||||
|
position: relative;
|
||||||
|
&.active{
|
||||||
|
border: 4rpx solid #fff;
|
||||||
|
color: #fff;
|
||||||
|
background: linear-gradient(180deg, #79AFFF 1%, #A2B3FE 100%);
|
||||||
|
box-shadow: 0px 4rpx 10rpx 0px rgba(40, 102, 194, 0.4);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.titles{
|
||||||
|
display: flex;
|
||||||
|
margin-bottom: 44rpx;
|
||||||
|
.title-item{
|
||||||
|
font-size: 32rpx;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #282828;
|
||||||
|
margin-right: 32rpx;
|
||||||
|
position: relative;
|
||||||
|
>view{
|
||||||
|
position: relative;
|
||||||
|
z-index: 2;
|
||||||
|
padding: 0 16rpx;
|
||||||
|
}
|
||||||
|
&.active::after{
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
z-index: 1;
|
||||||
|
bottom: -12rpx;
|
||||||
|
left: 0;
|
||||||
|
width: 120%;
|
||||||
|
height: 24rpx;
|
||||||
|
border-radius: 50px 0px 0px 50px;
|
||||||
|
background: linear-gradient(90deg, #78AEFF 0%, rgba(120, 174, 255, 0.31) 52%, rgba(24, 116, 255, 0) 100%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.job-list{
|
||||||
|
width: 100%;
|
||||||
|
margin: 0 auto;
|
||||||
|
color: #333333;
|
||||||
|
border-radius: 24rpx;
|
||||||
|
background: #FFFFFF;
|
||||||
|
padding: 32rpx;
|
||||||
|
margin-bottom: 24rpx;
|
||||||
|
.top-line{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
font-size: 24rpx;
|
||||||
|
color: #A2A2A2;
|
||||||
|
margin-bottom: 16rpx;
|
||||||
|
.salary{
|
||||||
|
font-size: 32rpx;
|
||||||
|
color: #4C6EFB;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.title{
|
||||||
|
font-size: 32rpx;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #282828;
|
||||||
|
margin-bottom: 16rpx;
|
||||||
|
}
|
||||||
|
.infos{
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
font-size: 24rpx;
|
||||||
|
margin-bottom: 16rpx;
|
||||||
|
line-height: 42rpx;
|
||||||
|
view{
|
||||||
|
padding: 0 16rpx;
|
||||||
|
margin-right: 10rpx;
|
||||||
|
background: #F2F2F2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.bottom-line{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
font-size: 24rpx;
|
||||||
|
color: #A2A2A2;
|
||||||
|
margin-top: 12rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
BIN
packageRc/static/kinggang1.png
Normal file
BIN
packageRc/static/kinggang1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
packageRc/static/kinggang2.png
Normal file
BIN
packageRc/static/kinggang2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
packageRc/static/kinggang3.png
Normal file
BIN
packageRc/static/kinggang3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
packageRc/static/kinggang4.png
Normal file
BIN
packageRc/static/kinggang4.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
packageRc/static/kinggang5.png
Normal file
BIN
packageRc/static/kinggang5.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
packageRc/static/pageBg.png
Normal file
BIN
packageRc/static/pageBg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 155 KiB |
Reference in New Issue
Block a user