1 Commits

Author SHA1 Message Date
史典卓
47c1418d2a flat,logo 2025-01-16 09:42:42 +08:00
9 changed files with 1280 additions and 1253 deletions

View File

@@ -367,41 +367,69 @@ const workwageUnitCategoryState = [
const addressColumn = [
[{
value: '1500',
label: "五道岗乡"
},
{
value: '700',
label: "土龙山镇"
},
{
value: '1400',
label: "大八浪乡"
},
{
value: '800',
label: "孟家岗镇"
},
{
value: '1300',
label: "明义乡"
},
{
value: '1700',
label: "曙光农场"
},
{
value: '1000',
label: "柳毛河镇"
},
{
value: '4',
label: "馆陶县"
label: "桦南县"
},
{
value: '5',
label: "馆陶镇"
value: '1600',
label: "桦南林业局"
},
{
value: '6',
label: "房寨镇"
value: '1800',
label: "桦南种畜场"
},
{
value: '7',
label: "魏僧寨镇"
value: '600',
label: "桦南镇"
},
{
value: '8',
label: "柴堡镇"
value: '1200',
label: "梨树乡"
},
{
value: '9',
label: "寿山寺"
value: '500',
label: "石头河子镇"
},
{
value: '10',
label: " 王桥乡"
value: '1100',
label: "金沙乡"
},
{
value: '11',
label: "路桥乡"
value: '900',
label: "阎家镇"
},
{
value: '12',
label: "南徐村乡"
},
value: '400',
label: "驼腰子镇"
}
]
]

View File

@@ -79,7 +79,7 @@
{
"path": "pages/project/newProject",
"style": {
"navigationBarTitleText": "馆陶县灵活就业平台",
"navigationBarTitleText": "华楠县灵活就业平台",
"navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": true
}

View File

@@ -7,18 +7,29 @@
<!-- <image src="../../static/img/search.svg" style="width: 32rpx;height: 32rpx; color: blue;" mode=""></image> -->
<view class="headd_left">
<u-icon name="search" color="#2297fa" size="24"></u-icon>
<input placeholder-class="search_style" type="text" confirm-type="搜索" v-model="keywords"
placeholder="搜零工岗位/搜全职岗位/搜政策" />
</view>
<view class="headd_right">
搜索
<input
placeholder-class="search_style"
type="text"
confirm-type="搜索"
v-model="keywords"
placeholder="搜零工岗位/搜全职岗位/搜政策"
/>
</view>
<view class="headd_right">搜索</view>
</view>
</uni-nav-bar>
<!-- <view class="homeHead"> -->
<view class="headSwiper">
<swiper :indicator-dots="true" indicator-active-color="#fff" indicator-color="rgba(255,255,255,0.80)"
:autoplay="true" :interval="3000" :duration="1000" class="yswiper" :circular="true">
<swiper
:indicator-dots="true"
indicator-active-color="#fff"
indicator-color="rgba(255,255,255,0.80)"
:autoplay="true"
:interval="3000"
:duration="1000"
class="yswiper"
:circular="true"
>
<swiper-item v-for="(item, index) in swiperList" :key="index" v-if="item.isShow !== '2'">
<view class="swiper-item">
<image :src="item.image" mode="" class="swiperImg"></image>
@@ -31,18 +42,29 @@
<view class="policyImgIndex">
<image src="../../static/img/index/newPolicy.png"></image>
</view>
<swiper style="width: 100%;height: 100rpx; line-height: 100rpx;margin-left: 164rpx;"
:indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000" :vertical="true"
:circular="true">
<swiper-item v-for="(item,index) in policyContentList" :key="index"
@click="goPolicyInfo(item.id)">
<swiper
style="width: 100%; height: 100rpx; line-height: 100rpx; margin-left: 164rpx"
:indicator-dots="true"
:autoplay="true"
:interval="3000"
:duration="1000"
:vertical="true"
:circular="true"
>
<swiper-item
v-for="(item, index) in policyContentList"
:key="index"
@click="goPolicyInfo(item.id)"
>
<view class="swiper-item">
<view class="policyText">
<view class="textTitle">{{ item.articleTitle }}</view>
<view class="textDate">{{ dateFormat(item.createTime) }}</view>
<image src="../../static/img/right.svg" mode=""
style="width: 18rpx;height: 32rpx;position:absolute;top: 12rpx;right:0;">
</image>
<image
src="../../static/img/right.svg"
mode=""
style="width: 18rpx; height: 32rpx; position: absolute; top: 12rpx; right: 0"
></image>
</view>
</view>
</swiper-item>
@@ -52,7 +74,6 @@
<!-- </view> -->
</view>
<view class="jobService">
<view class="cardTips">就业服务</view>
<view class="serviceItem" @click="goures()">
@@ -176,7 +197,7 @@
</view>
<view class="font24">就业帮助</view>
</view> -->
<view class="helpCardItem" style="border-right: 1px solid #F5F6F7;" @click="">
<view class="helpCardItem" style="border-right: 1px solid #f5f6f7" @click="">
<view class="cardItemIcon" @click="navTo('/pageMy/setUserBase/applicationsRecord')">
<image src="../../static/img/index/legal.png" mode=""></image>
</view>
@@ -203,27 +224,40 @@
</view> -->
<view class="latestMission">
<view class="cardTips"
style="margin: 0 26rpx;display: flex;align-items: center;justify-content: space-between;padding-bottom: 10rpx;">
<view
class="cardTips"
style="
margin: 0 26rpx;
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 10rpx;
"
>
<view>政策资讯</view>
<view style="display: flex;align-items: center;" @click="toNewProject">
<view style="color:#707070;font-size:26rpx;margin-right: 10rpx;">更多</view>
<image src="../../static/img/right.svg" mode="" style="width: 14rpx;height: 26rpx;"></image>
<view style="display: flex; align-items: center" @click="toNewProject">
<view style="color: #707070; font-size: 26rpx; margin-right: 10rpx">更多</view>
<image src="../../static/img/right.svg" mode="" style="width: 14rpx; height: 26rpx"></image>
</view>
</view>
<view class="newPeojectList">
<!-- <block v-if="companyList.length>0" v-for="(item, index) in companyList" :key="item.id">
<view class="baddd"></view>
<company-list :companyitem="item"></company-list>
</block> -->
<view style="background-color: #fff;padding: 20rpx 30rpx;">
<view v-for="(item,index) in policyContentList" :key="index"
style="display: flex;align-items: center;padding: 20rpx 0;" @click="toArticleDetail(item.id)">
<image :src="item.headPic"
style="width: 80rpx;height: 80rpx;margin-right: 20rpx;border-radius: 10rpx;" mode="">
</image>
<view style="flex: 1; font-size: 28rpx;">{{ item.articleTitle }}</view>
<view style="background-color: #fff; padding: 20rpx 30rpx">
<view
v-for="(item, index) in policyContentList"
:key="index"
style="display: flex; align-items: center; padding: 20rpx 0"
@click="toArticleDetail(item.id)"
>
<image
:src="item.headPic"
style="width: 80rpx; height: 80rpx; margin-right: 20rpx; border-radius: 10rpx"
mode=""
></image>
<view style="flex: 1; font-size: 28rpx">{{ item.articleTitle }}</view>
</view>
</view>
<view v-if="policyContentList.length <= 0">
@@ -232,10 +266,9 @@
<view class="baddd"></view>
</view>
</view>
</view>
<view class="homeFooter">
<view class="atBottom">馆陶县人力资源和社会保障局主办</view>
<view class="atBottom">华楠县人力资源和社会保障局主办</view>
<!-- <image src="../../static/img/index/seeMore.png" mode="" @click="goMore()"></image> -->
</view>
<policy-content ref="pContent"></policy-content>
@@ -246,37 +279,20 @@
import uniNavBar from '@/components/uni-nav-bar/uni-nav-bar.vue';
import uniSearchBar from '@/components/uni-search-bar/uni-search-bar.vue';
import companyList from '@/components/companyList/companyList.vue';
import policyContent from '../user/policyContent.vue'
import {
labourUnionDetail
} from '@/api/federation.js'
import {
newMission,
recMission
} from '@/api/mission.js';
import {
mapGetters
} from 'vuex'
import {
setStore,
getStore
} from '@/untils/store.js'
import {
getSwiperList,
getPolicyContent
} from '@/api/newIndex.js'
import {
myResume,
} from '@/api/resume.js';
import {
dateFormat
} from "../../untils/format.js";
import policyContent from '../user/policyContent.vue';
import { labourUnionDetail } from '@/api/federation.js';
import { newMission, recMission } from '@/api/mission.js';
import { mapGetters } from 'vuex';
import { setStore, getStore } from '@/untils/store.js';
import { getSwiperList, getPolicyContent } from '@/api/newIndex.js';
import { myResume } from '@/api/resume.js';
import { dateFormat } from '../../untils/format.js';
export default {
components: {
uniNavBar,
uniSearchBar,
companyList,
policyContent
policyContent,
},
data() {
return {
@@ -292,44 +308,41 @@
isResume: true,
};
},
onLoad: function(options) {
},
onLoad: function (options) {},
onShow: function () {
if (!this.$store.state.user.token) {
uni.reLaunch({
url: '/pages/login/login'
})
return
url: '/pages/login/login',
});
return;
}
this.$store.dispatch('refreshAuthState').then((e) => {
var auth = this.$store.state.auth
var auth = this.$store.state.auth;
if (!auth.bankCardState) {
this.step()
this.step();
}
})
});
this.download()
this.getSwiperList()
this.getPolicy()
this.download();
this.getSwiperList();
this.getPolicy();
if (this.isResume) {
this.isResume = false
myResume().then(res => {
const data = res.data.data
this.isResume = false;
myResume().then((res) => {
const data = res.data.data;
if (!(data.education && data.telephone && data.wage && data.workplace)) {
this.goures()
this.goures();
this.$api.sleep(1000).then(() => {
this.$api.msg('请输入基本信息')
})
this.$api.msg('请输入基本信息');
});
}
})
});
}
},
onReady() {
uni.setNavigationBarTitle({
title: this.face.homeTitle
title: this.face.homeTitle,
});
},
/*下拉刷新*/
onPullDownRefresh: function () {
@@ -339,38 +352,39 @@
}, 1000);
},
computed: {
...mapGetters(['face', 'authInfo'])
...mapGetters(['face', 'authInfo']),
},
onShareAppMessage(obj) {
return {
title: '智慧就业',
path: '/pages/index/index',
}
};
},
methods: {
getPolicy() {
getPolicyContent(this.policyType).then(res => {
this.policyContentList = res.data.data.records
})
getPolicyContent(this.policyType).then((res) => {
this.policyContentList = res.data.data.records;
});
},
swiperItemSrc() {
/*
查看是否加入工会
加入数据记录长度不为0
*/
labourUnionDetail(this.authInfo.idNumber).then(res => {
labourUnionDetail(this.authInfo.idNumber).then((res) => {
const data = res.data.data.records;
if (data.length == 0) { //未查到数据,代表未加入工会
if (data.length == 0) {
//未查到数据,代表未加入工会
this.go('/pageMy/federation/forMembership/Notice');
} else {
this.go('/pageMy/federation/vip/information');
}
})
});
},
step() {
var that = this
that.open = true
var that = this;
that.open = true;
uni.showModal({
id: 'testModal',
title: '实名认证',
@@ -379,37 +393,37 @@
confirmText: '立即认证',
success: function (res) {
if (res.confirm) {
that.goSign(0)
that.goSign(0);
} else if (res.cancel) {
that.step()
}
that.open = false
that.step();
}
that.open = false;
},
});
},
// 步骤
goSign(active) {
uni.navigateTo({
url: `/pages/projectInfo/signContract?active=${active}`
})
url: `/pages/projectInfo/signContract?active=${active}`,
});
},
go(url) {
uni.navigateTo({
url
})
url,
});
},
download: function () {
this.isLogin = this.$store.state.user.token ? true : false;
newMission().then(res => {
newMission().then((res) => {
this.companyList = res.data.data;
});
if (this.$store.state.user.token) {
uni.$emit('newsReadChange')
this.$store.dispatch("getUnreadNum");
recMission().then(res => {
uni.$emit('newsReadChange');
this.$store.dispatch('getUnreadNum');
recMission().then((res) => {
this.recommendList = res.data.data;
})
};
});
}
},
goLocation: function () {
if (!this.$store.state.user.token) {
@@ -419,23 +433,23 @@
success: function (res) {
if (res.confirm) {
uni.redirectTo({
url: "/pages/login/login"
url: '/pages/login/login',
});
} else if (res.cancel) {
return
}
return;
}
},
});
} else {
uni.navigateTo({
url: '../mapSeach/mapSeach'
url: '../mapSeach/mapSeach',
});
}
},
goResume: function () {
uni.navigateTo({
url: '/pageMy/my/resume/addSkill'
})
url: '/pageMy/my/resume/addSkill',
});
},
goMore: function () {
uni.setStorageSync('active', 2);
@@ -451,39 +465,39 @@
success: function (res) {
if (res.confirm) {
uni.redirectTo({
url: "/pages/login/login"
url: '/pages/login/login',
});
} else if (res.cancel) {
return
}
return;
}
},
});
} else {
uni.navigateTo({
url: '/pageMy/my/resume/index'
url: '/pageMy/my/resume/index',
});
}
},
toNewTask() {
uni.navigateTo({
url: `/pages/project/newProject?tabIndex=${0}`
url: `/pages/project/newProject?tabIndex=${0}`,
});
},
toNewWork() {
uni.navigateTo({
url: `/pages/project/newProject?tabIndex=${1}`
url: `/pages/project/newProject?tabIndex=${1}`,
});
},
toNewProject() {
uni.navigateTo({
url: `/pages/project/newProject?tabIndex=${2}`
url: `/pages/project/newProject?tabIndex=${2}`,
});
},
toArticleDetail(id) {
if (id) {
uni.navigateTo({
url: `/pages/user/policyContent?id=${id}`
})
url: `/pages/user/policyContent?id=${id}`,
});
}
},
gouserSet: function () {
@@ -494,16 +508,16 @@
success: function (res) {
if (res.confirm) {
uni.redirectTo({
url: "/pages/login/login"
url: '/pages/login/login',
});
} else if (res.cancel) {
return
}
return;
}
},
});
} else {
uni.navigateTo({
url: '/pageMy/setUserBase/index'
url: '/pageMy/setUserBase/index',
});
}
},
@@ -515,27 +529,27 @@
success: function (res) {
if (res.confirm) {
uni.redirectTo({
url: '/pages/login/login'
})
url: '/pages/login/login',
});
} else if (res.cancel) {
return
}
return;
}
},
});
} else {
// if (this.keywords) {
uni.navigateTo({
url: '../seach/seach?keywords=' + this.keywords
url: '../seach/seach?keywords=' + this.keywords,
});
this.keywords = ''
this.keywords = '';
// }
}
},
getSwiperList() {
getSwiperList(this.swiperType).then(res => {
getSwiperList(this.swiperType).then((res) => {
const data = res.data.data;
this.swiperList = data;
})
});
},
dateFormat,
@@ -544,17 +558,16 @@
// var val=encodeURIComponent(data)
uni.navigateTo({
url: `/pages/user/policyContent?id=${data}`
})
url: `/pages/user/policyContent?id=${data}`,
});
} else {
// uni.showToast({
// title:'暂无内容',
// icon:'none'
// })
}
}
}
},
},
};
</script>
@@ -562,7 +575,7 @@
.info_market {
margin: 24rpx;
height: fit-content;
background-color: #FFFFFE;
background-color: #fffffe;
border-radius: 18rpx;
display: flex;
flex-direction: column;
@@ -582,12 +595,11 @@
background-size: cover;
height: 60rpx;
width: 450rpx;
}
.next_market {
font-size: 26rpx;
color: #FFFFFF;
color: #ffffff;
background: linear-gradient(to right, rgba(137, 168, 253, 1), rgba(87, 129, 250, 1));
width: 120rpx;
height: 60rpx;
@@ -608,7 +620,6 @@
view {
display: flex;
}
}
}
@@ -637,14 +648,14 @@
}
page {
background: #F5F6F7;
background: #f5f6f7;
padding: 0 !important;
}
.homeHead {
width: 100%;
height: auto;
background-color: #FFFFFF;
background-color: #ffffff;
margin-top: -20rpx;
padding-bottom: 32rpx;
}
@@ -687,7 +698,6 @@
width: 4rpx;
height: 30rpx;
background-color: #2297fa;
}
}
@@ -725,14 +735,13 @@
.newPolicy {
width: 690rpx;
height: 100rpx;
background: #FEFFFE;
background: #fefffe;
box-shadow: 0rpx 2rpx 20rpx 0rpx rgba(0, 0, 0, 0.06);
border-radius: 16rpx;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}
.newPolicy .policyContent {
@@ -743,7 +752,6 @@
}
.swiper-item {
display: flex;
justify-content: space-between;
align-items: center;
@@ -796,13 +804,12 @@
.jobService {
width: 100%;
height: 440rpx;
background: #FEFFFE;
background: #fefffe;
// margin-top: 16rpx;
padding: 24rpx 0rpx 0rpx 32rpx;
}
.cardTips {
height: 50rpx;
font-size: 36rpx;
font-family: PingFangSC-Semibold, PingFang SC;
@@ -815,13 +822,12 @@
.serviceItem {
width: 338rpx;
height: 168rpx;
background: #FEFFFE;
background: #fefffe;
box-shadow: 0rpx 2rpx 20rpx 0rpx rgba(0, 0, 0, 0.06);
border-radius: 8rpx;
float: left;
margin-right: 8rpx;
margin-bottom: 8rpx;
}
.serviceItem .serviceItemContent {
@@ -837,12 +843,11 @@
margin-left: 16rpx;
}
.hotFunction {
font-size: 24rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #FFFFFF;
color: #ffffff;
position: absolute;
top: 0;
right: 0;
@@ -862,7 +867,6 @@
border-radius: 16rpx;
}
.serviceItem .itemIcon image,
.serviceItem .itemIcon {
width: 84rpx;
@@ -883,13 +887,12 @@
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: rgba(0, 0, 0, 0.85);
}
.helpSupport {
width: 100%;
height: auto;
background: #FEFFFE;
background: #fefffe;
padding: 24rpx 0rpx 36rpx 32rpx;
margin-top: 16rpx;
}
@@ -897,7 +900,7 @@
.helpCard {
width: 690rpx;
height: 144rpx;
background: #FEFFFF;
background: #feffff;
box-shadow: 0rpx 2rpx 20rpx 0rpx rgba(0, 0, 0, 0.06);
border-radius: 8px;
display: flex;
@@ -930,10 +933,9 @@
.latestMission {
width: 100%;
height: auto;
background: #FEFFFE;
background: #fefffe;
margin-top: 16rpx;
padding: 24rpx 0 0 0;
}
.baddd {
@@ -976,7 +978,6 @@
line-height: 80rpx;
text-align: center;
margin-bottom: 20rpx;
}
.homeFooter image {

View File

@@ -31,13 +31,14 @@
</view>
<view class="conatiner_card">
<view class="row blod fs_34">馆陶县智慧就业市场</view>
<view class="row blod fs_34">华楠县智慧就业市场</view>
<view class="row color_666 fs_30 marT_30">
<u-icon style="margin-right: 10rpx;" name="calendar" color="#666666" size="16"></u-icon>营业时间
<u-icon style="margin-right: 10rpx" name="calendar" color="#666666" size="16"></u-icon>
营业时间
</view>
<view class="row color_666 fs_30">上午9:00-12:00 下午14:00-18:00</view>
<view class="row color_666 fs_30 marT_30">
<u-icon style="margin-right: 10rpx;" name="map" color="#666666" size="16"></u-icon>
<u-icon style="margin-right: 10rpx" name="map" color="#666666" size="16"></u-icon>
四川省德阳市旌阳区天山南路1段108号
<!-- <u-icon style="margin-left: 10rpx;" name="arrow-right" color="#666666" size="16"></u-icon> -->
</view>
@@ -66,19 +67,15 @@
<script>
export default {
data() {
return {
}
return {};
},
methods: {
}
}
methods: {},
};
</script>
<style lang="scss" scoped>
@function designTo($num) {
@return ($num / 620rpx) * 750rpx
@return ($num / 620rpx) * 750rpx;
}
@for $i from 10 to 60 {
@@ -113,7 +110,7 @@
.container_head {
min-height: 300rpx;
padding: 28rpx;
background: linear-gradient(to bottom, rgba(69, 112, 250, 1), rgba(69, 112, 250, .0));
background: linear-gradient(to bottom, rgba(69, 112, 250, 1), rgba(69, 112, 250, 0));
.row {
display: flex;
@@ -121,12 +118,13 @@
justify-content: space-between;
.head_left {
color: #FFFFFF;
color: #ffffff;
display: flex;
align-items: flex-start;
flex-direction: column;
.left_title {}
.left_title {
}
.left_content {
height: designTo(87rpx);
@@ -173,7 +171,7 @@
.conatiner_card {
margin: 28rpx;
background-color: #FFFFFF;
background-color: #ffffff;
height: fit-content;
border-radius: 20rpx;
padding: designTo(28rpx);
@@ -198,7 +196,7 @@
display: flex;
justify-content: space-around;
align-items: center;
background-color: #FFFFFF;
background-color: #ffffff;
height: designTo(108rpx);
padding: 0 28rpx designTo(30rpx) 28rpx;
@@ -210,7 +208,7 @@
}
.chioe_btn {
color: #FFFFFF;
color: #ffffff;
background: linear-gradient(to right, #fbaf1a, #fbaf1a);
height: designTo(66rpx);
width: designTo(228rpx);

View File

@@ -12,7 +12,7 @@
</view>
<view class="navPosition" @click="navTo('/pages/project/map')">
<u-icon name="map" color="#2979ff" size="16"></u-icon>
<view class="positionText">馆陶县地图服务</view>
<view class="positionText">华楠县地图服务</view>
<u-icon name="arrow-right" color="#666666" size="14"></u-icon>
</view>
<view class="content">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View File

@@ -10,7 +10,7 @@ export default {
}) !== false,
homeTitle: getStore({
name: 'homeTitle'
}) || '管陶县智慧就业服务平台'
}) || '华楠县智慧就业服务平台'
},
actions: {},
mutations: {

View File

@@ -7,11 +7,11 @@ module.exports = {
proxy: {
'/api': {
// target: 'http://192.168.1.115:8000',
target: 'http://39.98.184.58:8000',
target: 'http://39.98.184.58:88',
ws: true,
pathRewrite: {
'^/api': '/'
}
// pathRewrite: {
// '^/api': '/'
// }
},
'/qq/map': {
//本地服务接口地址