作者 Lijianheng

lastUpdate for LJH

{
"pages": [
"pages/personalData/personalData",
"pages/index/index",
"pages/openIndex/openIndex",
"pages/publish/publish",
"pages/positionDetails/positionDetails",
"pages/goodWord/goodWord",
... ...

3.7 KB | 宽: | 高:

17.0 KB | 宽: | 高:

  • 两方对比
  • 交换覆盖
  • 透明覆盖
... ... @@ -8,6 +8,7 @@ Page({
data: {
employer: '',
id: '',
job_id: '',
user_id: '',
employerJ: '',
},
... ...
... ... @@ -8,15 +8,19 @@ Page({
* 页面的初始数据
*/
data: {
station_id:'',
education_id: '',
salary_id: '',
order: '',
myResume: false,
eduIndex:0,
edu:[],
education_name:'请选择',
eduIndex: 0,
edu: [],
education_name: '请选择',
yearIndex:0,
year:['1年','2年','3年','5年','10年','10年以上'],
yearIndex: 0,
year: ['1年', '2年', '3年', '5年', '10年', '10年以上'],
gender: true,
status: true,
... ... @@ -33,8 +37,8 @@ Page({
resume_brief: '',
// 工作年限
yearname:"请选择",
array2: ['1年','2年'],
yearname: "请选择",
array2: ['1年', '2年'],
index2: 0,
... ... @@ -49,13 +53,13 @@ Page({
education_1: '',
salary_1: '',
categories_id: 5,
categories_name:'',
categories_name: '',
user_id: '',
resume: '',
district:'',
district: '',
// 获取经纬度
latitude: '',
longitude: '',
... ... @@ -70,7 +74,7 @@ Page({
url: '/img/aicon_07@2x.png'
},
],
indicatorDots: true,
// indicatorDots: true,
autoplay: false,
interval: 1000,
duration: 1000,
... ... @@ -80,7 +84,7 @@ Page({
// 导航选择
navbar: [{
name: '地区',
img:'../../img/aicon_11@2x.png',
img: '../../img/aicon_11@2x.png',
img1: "../../img/aicon_59@2x.png"
},
{
... ... @@ -104,23 +108,30 @@ Page({
// 地区选择
areaTab: 0,
area: 0,
//岗位选择(大类别)
jobTab: 0,
//岗位选择(小类别)
proTab: 0,
// 推荐排序
sortbar: [{
id: 1,
sort: '推荐排序'
},
{
id: 4,
sort: '离我最近'
},
{
id: 2,
sort: '工资最高'
},
{
id: 3,
sort: '最新发布'
},
],
... ... @@ -141,11 +152,15 @@ Page({
// 时间
date: '',
go:''
go: ''
},
swiperChange: function(e) {
this.setData({
currentSwiper: e.detail.current
})
},
//是否填写简历
getjianli() {
let that = this;
... ... @@ -181,21 +196,21 @@ Page({
},
//工作经验
workexperience(e){
workexperience(e) {
this.setData({
resume_exp:e.detail.value
resume_exp: e.detail.value
})
},
//简介
workbrief(e){
//简介
workbrief(e) {
this.setData({
resume_brief:e.detail.value
resume_brief: e.detail.value
})
},
//点击关闭完善简历层
closeResume(){
closeResume() {
this.setData({
myResume:false
myResume: false
})
},
... ... @@ -212,12 +227,12 @@ Page({
console.log(222242424)
},
// 点击确定后关闭筛选遮罩层
toConfirm(){
this.setData({
mask: false
})
// toConfirm() {
// this.setData({
// mask: false
// })
},
// },
// 跳转岗位信息
toPosition(e) {
console.log(e)
... ... @@ -236,7 +251,7 @@ Page({
})
},
// 跳转至搜索页面
toSearch(){
toSearch() {
wx.navigateTo({
url: '/pages/index/search_2/search_2',
})
... ... @@ -260,16 +275,16 @@ Page({
},
// 切换在职状态类型
switch_b(){
switch_b() {
this.setData({
status:!this.data.status,
status: !this.data.status,
})
let status = this.data.status;
if(status == true){
if (status == true) {
this.setData({
resume_is_bejob: 1
})
}else {
} else {
this.setData({
resume_is_bejob: 2
})
... ... @@ -278,7 +293,7 @@ Page({
// 学历
bindEdu: function (e) {
bindEdu: function(e) {
console.log('picker发送选择改变,携带值为', e.detail.value)
this.setData({
eduIndex: e.detail.value,
... ... @@ -288,32 +303,32 @@ Page({
})
},
// 工作年限
bindYear: function (e) {
bindYear: function(e) {
console.log('picker发送选择改变,携带值为', e.detail.value)
this.setData({
yearIndex: e.detail.value,
yearname:this.data.year[e.detail.value]
yearname: this.data.year[e.detail.value]
})
console.log(this.data.yearname)
},
// 获取真实姓名
realName(e){
realName(e) {
let resume_name = e.detail.value
this.setData({
resume_name:resume_name
resume_name: resume_name
})
},
// 获取手机号码
realMobile(e){
realMobile(e) {
let resume_mobile = e.detail.value
this.setData({
resume_mobile: resume_mobile
})
},
// 获取家乡地址
realHome(e){
realHome(e) {
let resume_home = e.detail.value
this.setData({
resume_home: resume_home
... ... @@ -337,16 +352,17 @@ Page({
this.getJobs()
this.getResume()
this.getEdu()
this.getjianli()
this.getjianli();
// this.selectStation()
},
// 选择时间
bindDateChange: function (e) {
bindDateChange: function(e) {
console.log('picker发送选择改变,携带值为', e.detail.value)
this.setData({
date: e.detail.value,
resume_birthday:e.detail.value
resume_birthday: e.detail.value
})
},
... ... @@ -390,7 +406,7 @@ Page({
}
app.post(url, params, header).then((res) => {
console.log(res.data);
if(res.resume_name!=null){
if (res.resume_name != null) {
// 获取值
that.setData({
resume: res.data,
... ... @@ -426,21 +442,22 @@ Page({
}
app.post(url, params, header).then((res) => {
console.log(res);
console.log(res.data[0].industry_id)
// 获取值
that.setData({
// personal: res.data
jobs: res.data,
industry_id:res.data[0].industry_id
// industry_id:res.data[0].industry_id
})
}).catch((err) => {
})
},
// 在家可做
atHome(e){
atHome(e) {
console.log(e)
let that = this;
let categories_name = e.currentTarget.dataset.cla
... ... @@ -454,19 +471,19 @@ Page({
},
// 好评工作
goodWord(){
goodWord() {
wx.navigateTo({
url: '/pages/goodWord/goodWord',
})
},
// 热门推荐
hotRecommend(){
hotRecommend() {
wx.navigateTo({
url: '/pages/hotRecommend/hotRecommend',
})
},
// 轻松兼职
easyPart(){
easyPart() {
wx.navigateTo({
url: '/pages/easyPart/easyPart',
})
... ... @@ -478,15 +495,23 @@ Page({
this.setData({
currentTab: e.currentTarget.dataset.idx,
})
console.log(that.data.industry_id)
that.selectStation()
that.selectIndustry();
},
// 地区选择
area_Tap: function(e) {
console.log(88)
let that = this;
this.setData({
// 区的ID
areaTab: e.currentTarget.dataset.idarea,
// 选择区名字
area: e.currentTarget.dataset.area,
})
console.log('区的id为' + that.data.areaTab)
console.log('区的name为' + that.data.area)
},
// 岗位选择
job_Tap: function(e) {
... ... @@ -497,58 +522,74 @@ Page({
jobTab: e.currentTarget.dataset.idjob,
industry_id: industry_id
})
that.selectStation()
},
// 行业选择
pro_Tap: function (e) {
pro_Tap: function(e) {
console.log(88)
let that = this;
let station_id = e.currentTarget.dataset.categoryid
this.setData({
proTab: e.currentTarget.dataset.idpro,
station_id:station_id
})
},
// 推荐排序
sort_Tap: function(e) {
console.log(88)
let that = this;
let order = e.currentTarget.dataset.id;
this.setData({
sortTab: e.currentTarget.dataset.idsort,
order: order,
})
console.log(order)
},
// 筛选(学历要求)
screen_Tap: function(e) {
console.log(88)
console.log(e)
let that = this;
let education_id = e.currentTarget.dataset.id
console.log('学历ID为' + education_id)
this.setData({
screenTab: e.currentTarget.dataset.idscreen,
education_id: education_id,
})
console.log('索引id为' + that.data.screenTab)
},
// 筛选(酬薪范围)
scope_Tap: function(e) {
console.log(88)
console.log(e)
let that = this;
let salary_id = e.currentTarget.dataset.id
this.setData({
scopeTab: e.currentTarget.dataset.idscope,
salary_id: salary_id,
// salary_id: e.currentTarget.dataset.id,
})
console.log('酬薪ID为' + salary_id)
console.log('索引ID为' + that.data.scopeTab)
},
// 去报名
toApply(e) {
let that = this;
let joinid=e.currentTarget.dataset.id
if(that.data.go==false){
let joinid = e.currentTarget.dataset.id
if (that.data.go == false) {
wx.showToast({
title: '请先完善简历',
icon:'none'
icon: 'none'
})
setTimeout(function(){
setTimeout(function() {
that.setData({
myResume:true
myResume: true
})
},1500)
}, 1500)
}else{
} else {
let url = 'index/job/job_apply';
// 通过parmas传值给后端
... ... @@ -562,10 +603,10 @@ Page({
app.post(url, params, header).then((res) => {
console.log(res);
if(res.data==''){
if (res.data == '') {
wx.showToast({
title: res.msg,
icon:'none'
icon: 'none'
})
}
// that.setData({
... ... @@ -609,19 +650,19 @@ Page({
saveResume() {
let that = this;
if(that.data.resume_name==''){
if (that.data.resume_name == '') {
wx.showToast({
title: '请输入姓名',
icon:'none'
icon: 'none'
})
return false
}
if (that.data.resume_mobile==''){
if (that.data.resume_mobile == '') {
wx.showToast({
title: '请输入手机号',
icon:'none'
icon: 'none'
})
return false
... ... @@ -629,24 +670,24 @@ Page({
}
let reg = reg = /^[1][3,4,5,7,8][0-9]{9}$/
if (!reg.test(that.data.resume_mobile)){
if (!reg.test(that.data.resume_mobile)) {
wx.showToast({
title: '请输入正确的手机号',
icon:'none'
icon: 'none'
})
return false
}
if (that.data.resume_birthday=='请选择'){
if (that.data.resume_birthday == '请选择') {
wx.showToast({
title: '请选择出生日期',
icon:'none'
icon: 'none'
})
return false
}
if (that.data.resume_home==''){
if (that.data.resume_home == '') {
wx.showToast({
title: '请输入家乡',
icon: 'none'
... ... @@ -670,10 +711,10 @@ Page({
})
return false
}
if (that.data.resume_exp==''){
if (that.data.resume_exp == '') {
wx.showToast({
title: '请输入工作经验',
icon:'none'
icon: 'none'
})
return false
... ... @@ -701,18 +742,18 @@ Page({
app.post(url, params, header).then((res) => {
console.log(res.data);
if(res.data==''){
if (res.data == '') {
wx.showToast({
title: '提交成功',
icon:'none'
icon: 'none'
})
setTimeout(function(){
setTimeout(function() {
that.setData({
myResume:false
myResume: false
})
},1500)
}, 1500)
}
... ... @@ -721,7 +762,7 @@ Page({
})
},
// 提交筛选
/**
* 生命周期函数--监听页面初次渲染完成
... ... @@ -756,9 +797,10 @@ Page({
console.log(res);
that.setData({
city_1 : res.data
city_1: res.data,
area: res.data[0].name
})
console.log(that.data.area)
}).catch((err) => {
})
... ... @@ -772,7 +814,7 @@ Page({
console.log(url)
// 通过parmas传值给后端
let params = {
categories_id: that.data.categories_id,
categories_id: '',
}
let header = {
"XX-Token": wx.getStorageSync('token'),
... ... @@ -781,11 +823,14 @@ Page({
app.post(url, params, header).then((res) => {
console.log(res);
that.setData({
industry_1: res.data
industry_1: res.data,
industry_id: res.data[0].id
})
}).catch((err) => {
// that.selectStation()
that.selectStation()
})
},
//----筛选岗位分类功能---- 给后端传industry_id
... ... @@ -807,7 +852,7 @@ Page({
that.setData({
station_1: res.data
})
console.log(that.data.station_1)
}).catch((err) => {
})
... ... @@ -833,7 +878,7 @@ Page({
console.log(res);
that.setData({
// city_1: res.data
education_1:res.data
education_1: res.data
})
}).catch((err) => {
... ... @@ -869,26 +914,26 @@ Page({
// -----用户获得经纬度-----
getUserLocation(){
getUserLocation() {
let vm = this;
wx.getSetting({
success:(res) => {
success: (res) => {
console.log(JSON.stringify(res))
if(res.authSetting['scope.userLocation'] != undefined && res.authSetting['scope.userLocation'] != true){
if (res.authSetting['scope.userLocation'] != undefined && res.authSetting['scope.userLocation'] != true) {
wx.showModal({
title: '请授权当前位置',
content: '需要获取您的地址位置,请确认授权',
success(res){
if(res.cancel){
success(res) {
if (res.cancel) {
wx.showToast({
title: '拒绝授权',
icon: 'none',
duration: 1000
})
}else if(res.confirm){
} else if (res.confirm) {
wx.openSetting({
success: function(dataAu){
if(dataAu.authSetting["scope.userLocation"]==true){
success: function(dataAu) {
if (dataAu.authSetting["scope.userLocation"] == true) {
wx.showToast({
title: '授权成功',
icon: 'success',
... ... @@ -896,7 +941,7 @@ Page({
})
// 再次授权,调用wx.getLocation的API
vm.getLocation();
}else{
} else {
wx.showToast({
title: '授权失败',
icon: 'none',
... ... @@ -908,10 +953,10 @@ Page({
}
}
})
}else if(res.authSetting['scope.userLocation'] == undefined){
} else if (res.authSetting['scope.userLocation'] == undefined) {
// 调用wx.getLocation的API
vm.getLocation();
}else{
} else {
// 调用wx.getLocation的API
vm.getLocation();
}
... ... @@ -920,7 +965,7 @@ Page({
},
// -----微信获得经纬度-----
getLocation(){
getLocation() {
let vm = this;
// console.log(vm)
wx.getLocation({
... ... @@ -932,17 +977,17 @@ Page({
var longitude = res.longitude
var speed = res.speed
var accuracy = res.accuracy;
vm.getLocal(latitude,longitude)
vm.getLocal(latitude, longitude)
},
fail: function(res) {
console.log('fail'+JSON.stringify(res))
console.log('fail' + JSON.stringify(res))
},
// complete: function(res) {},
})
},
// -----获取当前地理位置-----
getLocal(latitude,longitude){
getLocal(latitude, longitude) {
let vm = this;
qqmapsdk.reverseGeocoder({
location: {
... ... @@ -950,7 +995,7 @@ Page({
longitude: longitude
},
success(res){
success(res) {
console.log(res)
// let province = res.result.ad_info.province
... ... @@ -958,12 +1003,12 @@ Page({
console.log(city)
let district = res.result.ad_info.district
console.log('定位的市:'+city,'定位的区:'+district)
console.log('定位的市:' + city, '定位的区:' + district)
vm.setData({
// 转换地区
city: city,
district:district,
district: district,
latitude: latitude,
longitude: longitude
})
... ... @@ -971,10 +1016,10 @@ Page({
},
fail: function(res){
fail: function(res) {
console.log(res);
},
complete:function(res){
complete: function(res) {
}
})
... ... @@ -987,7 +1032,7 @@ Page({
let url = 'wxapp/public/location';
// 通过parmas传值给后端
let params = {
city : that.data.city,
city: that.data.city,
county: that.data.county,
longitude: that.data.longitude,
latitude: that.data.latitude
... ... @@ -1024,7 +1069,7 @@ Page({
// 获取值
that.setData({
category:res.data
category: res.data
})
console.log(that.data.category)
... ... @@ -1059,14 +1104,67 @@ Page({
})
},
// 跳转Url
toUrl(e){
toUrl(e) {
console.log(e)
let that = this;
let url = e.currentTarget.dataset.tourl;
console.log(url)
wx.navigateTo({
url: '/pages/index/url/url?url='+url,
url: '/pages/index/url/url?url=' + url,
})
},
// 点击确认功能
toConfirm() {
let that = this;
let url = 'index/job/jobs';
let params = {
// categories_id: that.data.categories_id,
// 城市(同城)
work_city: that.data.city,
// 区县
work_county: that.data.area,
// 行业
industry_id: that.data.industry_id,
// 岗位
station_id: that.data.station_id,
// 学历
education_id: that.data.education_id,
// 薪资
salary_id: that.data.salary_id,
// 排序方式
order: that.data.order,
// 招聘者姓名
// resume_name : that.data.resume_name
}
let header = {
"XX-Token": wx.getStorageSync('token'),
"XX-Device-Type": 'wxapp'
}
app.post(url, params, header).then((res) => {
// console.log(res);
// console.log(res.data[0].industry_id)
// 获取值
that.setData({
jobs: res.data,
// industry_id:res.data[0].industry_id
})
wx.showToast({
title: '正在检索',
icon: 'none'
})
setTimeout(function() {
that.setData({
mask:false
})
}, 1000)
}).catch((err) => {
})
},
... ...
... ... @@ -78,6 +78,8 @@
<!-- <view class='banner'>
<image src='/img/aicon_07@2x.png'></image>
</view> -->
<view class='banner_box'>
<swiper class='banner' indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" indicator-color="{{indicatorColor}}" indicator-active-color="{{indicatorActiveColor}}" bindchange="swiperChange">
... ... @@ -86,17 +88,16 @@
<image src="{{item.image}}" class="slide-image" data-tourl="{{item.url}}" bindtap='toUrl' />
</swiper-item>
<!-- <view class="dot{{index == currentSwiper ? ' active' : ''}}"></view> -->
</block>
<!-- <view class="dots">
</swiper>
<view class="dots">
<block wx:for="{{imgUrls}}" wx:key="">
<view class="dot{{index == currentSwiper ? ' active' : ''}}"></view>
<view class="dot{{index == currentSwiper ? ' dotactive' : ''}}"></view>
</block>
</view> -->
</view>
</view>
</swiper>
<!-- 筛选 -->
<view class='select' bindtap='mask_show'>
... ... @@ -182,35 +183,19 @@
<!-- 地区内容 -->
<view class='area' wx:if="{{currentTab==0}}">
<view class="area_item">
<view wx:for="{{city_1}}" data-idarea="{{index}}" class="area_item_name {{areaTab==index ? 'active' : ''}}" wx:key="unique" catchtap="area_Tap" data-categoryid="{{item.id}}">{{item.name}}
<view wx:for="{{city_1}}" data-idarea="{{index}}" class="area_item_name {{areaTab==index ? 'active' : ''}}" wx:key="unique" catchtap="area_Tap" data-categoryid="{{item.id}}" data-area='{{item.name}}'>{{item.name}}
</view>
</view>
<!-- <view class='area_item'>
<view class='area_item_name yellow_color'>不限</view>
</view>
<view class='area_item'>
<view class='area_item_name '>不限</view>
</view>
<view class='area_item'>
<view class='area_item_name'>和平</view>
</view>
<view class='area_item'>
<view class='area_item_name'>河东万达广场</view>
</view>
<view class='area_item'>
<view class='area_item_name'>河东万达广场</view>
</view>
<view class='area_item'>
<view class='area_item_name'>河东万达广场</view>
</view> -->
</view>
<!-- 岗位内容 -->
<view class='job' wx:if="{{currentTab==1}}">
<!-- 左侧内容 -->
<view class="job_left">
<view wx:for="{{industry_1}}" data-idjob="{{index}}" class="job_left_item {{jobTab==index ? 'pitch_on' : ''}}" wx:key="unique" catchtap="job_Tap" data-industry_id='{{item.industry_id}}' data-categoryid="{{item.id}}">{{item.industry_name}}
<view wx:for="{{industry_1}}" data-idjob="{{index}}" class="job_left_item {{jobTab==index ? 'pitch_on' : ''}}" wx:key="unique" catchtap="job_Tap" data-industry_id='{{item.id}}' data-categoryid="{{item.id}}">{{item.industry_name}}
</view>
</view>
... ... @@ -229,29 +214,25 @@
<view class='job_right'>
<view class='job_right_items' wx:if='{{jobTab==0}}'>
<view wx:for="{{probar}}" data-idpro="{{index}}" class="job_right_item {{proTab==index ? 'yellow_color' : ''}}" wx:key="unique" catchtap="pro_Tap" data-categoryid="{{item.id}}">{{item.pro}}
<view class='job_right_items'>
<view wx:for="{{station_1}}" data-idpro="{{index}}" class="job_right_item {{proTab==index ? 'yellow_color' : ''}}" wx:key="unique" catchtap="pro_Tap" data-categoryid="{{item.id}}">{{item.station_name}}
</view>
<!-- <view class='job_right_item'>不限</view>
<view class='job_right_item'>迎宾</view>
<view class='job_right_item'>传菜员</view>
<view class='job_right_item'>配菜打荷</view>
<view class='job_right_item'>洗碗工</view>
<view class='job_right_item yellow_color'>后厨</view> -->
</view>
<view class='job_right_items' wx:if='{{jobTab==1}}'>
<!-- <view class='job_right_items' wx:if='{{jobTab==1}}'>
<view wx:for="{{probar}}" data-idpro="{{index}}" class="job_right_item {{proTab==index ? 'yellow_color' : ''}}" wx:key="unique" bindtap="pro_Tap" data-categoryid="{{item.id}}">{{item.pro}}
</view>
</view>
</view> -->
... ... @@ -315,8 +296,8 @@
<!-- 底部按钮 -->
<view class='screen_bottom'>
<view class='screen_bottom_left'>重置</view>
<view class='screen_bottom_right' catch='toConfirm'>确认</view>
<view class='screen_bottom_left' bindtap='toReset'>重置</view>
<view class='screen_bottom_right' catchtap='toConfirm'>确认</view>
</view>
</view>
... ... @@ -404,7 +385,7 @@
</picker>
</view>
<!-- 工作经验 -->
<!-- 工作经验 -->
<view class='mask2_item'>
<view class='mask2_item_left'>工作经验</view>
<input placeholder='请输入工作经验' bindinput='workexperience' value='{{resume_exp}}'></input>
... ...
/* pages/index/index.wxss */
page{
page {
background-color: #f5f5f5;
line-height: 1;
}
.container{
.container {
width: 750rpx;
display: flex;
flex-flow: column;
}
.top{
.top {
/* width: 100%; */
display: flex;
justify-content: space-between;
background: #fff;
padding: 24rpx 32rpx;
}
.top_left{
.top_left {
display: flex;
/* justify-content: space-between; */
align-items: center;
/* font-size:28rpx; */
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(26,26,26,1);
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(26, 26, 26, 1);
}
.top_left_text{
.top_left_text {
font-size: 26rpx;
}
.top_left_img{
.top_left_img {
margin-left: 14rpx;
width:18rpx;
height:10rpx;
width: 18rpx;
height: 10rpx;
display: flex;
}
.top_left_img image{
.top_left_img image {
width: 100%;
height: 100%;
}
.select_pic{
.select_pic {
margin-left: 8rpx;
width:12rpx;
height:8rpx;
width: 12rpx;
height: 8rpx;
display: flex;
}
.select_pic image{
.select_pic image {
width: 100%;
height: 100%;
}
.select_list:last-child .select_pic{
.select_list:last-child .select_pic {
width: 18rpx;
height: 18rpx;
display: flex
display: flex;
}
.top_right{
.top_right {
/* margin-left: 30rpx; */
display: flex;
align-items: center;
width:560rpx;
height:60rpx;
background:rgba(237,238,242,1);
border-radius:10rpx;
width: 560rpx;
height: 60rpx;
background: rgba(237, 238, 242, 1);
border-radius: 10rpx;
box-sizing: border-box;
padding: 0 24rpx;
}
.top_right_pic{
.top_right_pic {
display: flex;
width:28rpx;
height:28rpx;
width: 28rpx;
height: 28rpx;
}
.top_right_pic image{
.top_right_pic image {
width: 100%;
height: 100%;
}
.top_right_text{
.top_right_text {
margin-left: 25rpx;
font-size:26rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(153,153,153,1);
font-size: 26rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(153, 153, 153, 1);
/* line-height:24px; */
}
.top_right input{
.top_right input {
margin-left: 25rpx;
width: 100%;
font-size:26rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
font-size: 26rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
}
/* 中部 */
.mid{
.mid {
margin-top: 14rpx;
display: flex;
justify-content: space-between;
background-color: #fff;
padding: 32rpx 56rpx;
}
.mid_list{
.mid_list {
display: flex;
align-items: center;
justify-content: center;
flex-flow: column;
}
.mid_list_top{
width:88rpx;
height:88rpx;
.mid_list_top {
width: 88rpx;
height: 88rpx;
/* box-shadow:-1px 10px 20px 0px rgba(255,179,18,0.18); */
border-radius:50%;
border-radius: 50%;
display: flex;
}
.mid_list_top image{
.mid_list_top image {
width: 100%;
height: 100%;
}
.mid_list_bottom{
font-size:26rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(77,77,77,1);
.mid_list_bottom {
font-size: 26rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(77, 77, 77, 1);
}
.banner{
.banner {
width: 750rpx;
height: 220rpx;
display: flex;
position: relative;
}
.banner image{
.banner image {
width: 100%;
height: 100%;
}
.select{
.select {
margin-top: 14rpx;
display: flex;
justify-content: space-between;
padding: 28rpx 54rpx;
background: #fff;
}
.select_list{
.select_list {
display: flex;
align-items: center;
margin-left: 9rpx;
font-size:26rpx;
font-family:PingFang-SC-Regular;
font-weight:400;
color:rgba(26,26,26,1);
font-size: 26rpx;
font-family: PingFang-SC-Regular;
font-weight: 400;
color: rgba(26, 26, 26, 1);
}
.select_list_pic{
.select_list_pic {
margin-left: 9rpx;
width: 12rpx;
height: 8rpx;
display: flex;
}
.select_list_pic image{
.select_list_pic image {
width: 100%;
height: 100%;
}
.select_list_pic_big{
.select_list_pic_big {
margin-left: 8rpx;
width:18rpx;
height:18rpx;
width: 18rpx;
height: 18rpx;
display: flex;
}
.select_list_pic_big image{
.select_list_pic_big image {
width: 100%;
height: 100%;
}
/* 条目 */
.items{
.items {
display: flex;
flex-flow: column;
}
.item{
.item {
margin-top: 1px;
display: flex;
flex-flow: column;
background: #fff;
padding: 40rpx;
}
.item_top{
.item_top {
display: flex;
justify-content: space-between;
}
.item_top_left{
.item_top_left {
display: flex;
}
.item_top_left_pic{
width:72rpx;
height:72rpx;
border-radius:2rpx;
.item_top_left_pic {
width: 72rpx;
height: 72rpx;
border-radius: 2rpx;
display: flex;
}
.item_top_left_pic image{
.item_top_left_pic image {
width: 100%;
height: 100%;
}
.item_top_left_text{
.item_top_left_text {
margin-left: 23rpx;
display: flex;
flex-flow: column;
}
.text_top{
font-size:32rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(26,26,26,1);
.text_top {
font-size: 32rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(26, 26, 26, 1);
}
.text_bottom{
.text_bottom {
margin-top: 17rpx;
font-size:28rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(255,59,40,1);
}
.item_top_right{
width:140rpx;
height:66rpx;
font-size: 28rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(255, 59, 40, 1);
}
.item_top_right {
width: 140rpx;
height: 66rpx;
line-height: 66rpx;
text-align: center;
border:1px solid rgba(255,102,0,1);
border-radius:33rpx;
font-size:28rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(255,102,0,1);
border: 1px solid rgba(255, 102, 0, 1);
border-radius: 33rpx;
font-size: 28rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(255, 102, 0, 1);
}
.item_bottom{
.item_bottom {
margin-top: 20rpx;
margin-left: 80rpx;
display: flex;
align-items: center;
justify-content: space-between;
font-size:26rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(153,153,153,1);
font-size: 26rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(153, 153, 153, 1);
}
.item_bottom_left{
.item_bottom_left {
display: flex;
align-items: center;
}
.item_bottom_left_pic{
width:22rpx;
height:22rpx;
.item_bottom_left_pic {
width: 22rpx;
height: 22rpx;
display: flex;
margin-right: 13rpx;
}
.item_bottom_left_pic image{
.item_bottom_left_pic image {
width: 100%;
height: 100%;
}
.item_bottom_right{
.item_bottom_right {
display: flex;
align-items: center;
}
.item_bottom_left_pic{
.item_bottom_left_pic {
margin-left: 14rpx;
width:20rpx;
height:24rpx;
width: 20rpx;
height: 24rpx;
display: flex;
}
.item_bottom_left_pic image{
.item_bottom_left_pic image {
width: 100%;
height: 100%;
}
.mask{
.mask {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background:rgba(0,0,0,0.4);
background: rgba(0, 0, 0, 0.4);
z-index: 666;
display: flex;
flex-flow: column;
}
.mask_select{
.mask_select {
margin: 0;
border-top: 1px solid #EBEBEB;
border-bottom: 1px solid #EBEBEB;
border-top: 1px solid #ebebeb;
border-bottom: 1px solid #ebebeb;
}
.area{
.area {
width: 686rpx;
background: #fff;
display: flex;
flex-wrap: wrap;
padding: 16rpx 34rpx 200rpx 32rpx;
}
.area_item{
.area_item {
display: flex;
flex-wrap: wrap;
}
.area_item_name{
background:rgba(255,252,245,1);
/* border:1px solid rgba(255,170,0,1); */
/* color: #FFAA00; */
border-radius:5rpx;
margin-top:20rpx;
margin-right:15rpx;
box-sizing:border-box;
padding:18rpx 52rpx;
background:#F2F3F7;
font-size:26rpx;
font-family:PingFang-SC-Regular;
font-weight:400;
color:rgba(26,26,26,1);
.area_item_name {
background: rgba(255, 252, 245, 1);
/* border:1px solid rgba(255,170,0,1); *//* color: #FFAA00; */
border-radius: 5rpx;
margin-top: 20rpx;
margin-right: 15rpx;
box-sizing: border-box;
padding: 18rpx 52rpx;
background: #f2f3f7;
font-size: 26rpx;
font-family: PingFang-SC-Regular;
font-weight: 400;
color: rgba(26, 26, 26, 1);
}
.yellow_color{
border: 1px solid rgba(255,170,0,1);
color: #FFAA00;
.yellow_color {
border: 1px solid rgba(255, 170, 0, 1);
color: #fa0;
}
.job{
.job {
display: flex;
height: 100%;
}
.job_left{
.job_left {
display: flex;
flex-flow: column;
background: #fff;
width:242rpx;
width: 242rpx;
/* height:1125rpx; */
}
.job_left_item{
font-size:26rpx;
font-family:PingFang-SC-Regular;
font-weight:400;
color:rgba(26,26,26,1);
.job_left_item {
font-size: 26rpx;
font-family: PingFang-SC-Regular;
font-weight: 400;
color: rgba(26, 26, 26, 1);
padding: 32rpx;
}
.pitch_on{
color: #FFAA00;
background:rgba(242,243,247,1);
.pitch_on {
color: #fa0;
background: rgba(242, 243, 247, 1);
}
.job_right{
.job_right {
flex: 1;
background: #F2F3F7;
background: #f2f3f7;
}
.job_right_items{
.job_right_items {
margin-top: 16rpx;
display: flex;
flex-wrap: wrap;
... ... @@ -351,132 +400,146 @@ page{
padding: 0 32rpx;
}
.job_right_item{
.job_right_item {
margin-top: 20rpx;
width:208rpx;
height:60rpx;
width: 208rpx;
height: 60rpx;
line-height: 60rpx;
text-align: center;
background:rgba(255,255,255,1);
border-radius:5rpx;
background: rgba(255, 255, 255, 1);
border-radius: 5rpx;
font-size: 26rpx;
/* border: 1px solid transparent; */
}
.sort{
.sort {
display: flex;
flex-flow: column;
background: #fff;
}
.sort_item{
/* box-sizing: border-box; */
font-size:28rpx;
font-family:PingFang-SC-Regular;
font-weight:400;
color:rgba(51,51,51,1);
.sort_item {
/* box-sizing: border-box; */
font-size: 28rpx;
font-family: PingFang-SC-Regular;
font-weight: 400;
color: rgba(51, 51, 51, 1);
padding: 40rpx 0;
margin: 0 32rpx;
border-bottom: 1px solid #EBEBEB;
border-bottom: 1px solid #ebebeb;
}
.color_y{
color: #FFAA00;
.color_y {
color: #fa0;
}
.screen{
.screen {
height: 100%;
display: flex;
flex-flow: column;
background: #fff;
}
.screen_item{
.screen_item {
display: flex;
flex-flow: column;
padding: 40rpx 0;
margin: 0 32rpx;
border-bottom: 1px solid #EBEBEB;
border-bottom: 1px solid #ebebeb;
}
.screen_item_top{
font-size:30rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(26,26,26,1);
.screen_item_top {
font-size: 30rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(26, 26, 26, 1);
}
.screen_item_bottom{
.screen_item_bottom {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.screen_item_bottom_i{
.screen_item_bottom_i {
margin-top: 20rpx;
width:156rpx;
height:60rpx;
width: 156rpx;
height: 60rpx;
line-height: 60rpx;
text-align: center;
background:rgba(242,243,247,1);
border-radius:5rpx;
background: rgba(242, 243, 247, 1);
border-radius: 5rpx;
font-size: 26rpx;
box-sizing: border-box;
/* border: 1px solid transparent; */
}
.screen_bottom{
.screen_bottom {
display: flex;
position: fixed;
bottom: 0;
border-top: 1px solid #EBEBEB;
border-top: 1px solid #ebebeb;
}
.screen_bottom_left{
width:294rpx;
height:80rpx;
.screen_bottom_left {
width: 294rpx;
height: 80rpx;
line-height: 80rpx;
text-align: center;
background:rgba(255,255,255,1);
background: rgba(255, 255, 255, 1);
font-size: 26rpx;
}
.screen_bottom_right{
width:456rpx;
height:80rpx;
.screen_bottom_right {
width: 456rpx;
height: 80rpx;
line-height: 80rpx;
text-align: center;
font-size: 26rpx;
color: #fff;
background:rgba(255,170,0,1);
background: rgba(255, 170, 0, 1);
}
.mask2{
.mask2 {
position: fixed;
width:750rpx;
height:1120rpx;
background:rgba(0,0,0,0.4);
width: 750rpx;
height: 1120rpx;
background: rgba(0, 0, 0, 0.4);
z-index: 666;
display: flex;
align-items: center;
justify-content: center;
}
.mask2_mid{
.mask2_mid {
/* margin-top: 30rpx; */
display: flex;
flex-flow: column;
align-items: center;
width:686rpx;
width: 686rpx;
/* height:1000rpx; */
background:rgba(255,255,255,1);
border-radius:10rpx;
background: rgba(255, 255, 255, 1);
border-radius: 10rpx;
position: relative;
height:1082rpx;
overflow-y: scrollc
height: 1082rpx;
overflow-y: scrollc;
}
.mask2_close{
width:30rpx;
height:30rpx;
.mask2_close {
width: 30rpx;
height: 30rpx;
display: flex;
position: absolute;
top: 29rpx;
right: 29rpx;
}
.mask2_close image{
.mask2_close image {
width: 100%;
height: 100%;
}
.mask2_mid_top{
.mask2_mid_top {
width: 100%;
margin-top: 51rpx;
display: flex;
... ... @@ -484,27 +547,30 @@ page{
align-items: center;
/* justify-content: center; */
}
.mask2_mid_top_big{
font-size:40rpx;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(26,26,26,1);
.mask2_mid_top_big {
font-size: 40rpx;
font-family: PingFang-SC-Bold;
font-weight: bold;
color: rgba(26, 26, 26, 1);
}
.mask2_mid_top_small{
.mask2_mid_top_small {
margin-top: 32rpx;
font-size:26rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(102,102,102,1);
font-size: 26rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(102, 102, 102, 1);
}
.mask2_mid_underline{
.mask2_mid_underline {
margin-top: 30rpx;
width:592rpx;
height:1px;
background:rgba(235,235,235,1);
width: 592rpx;
height: 1px;
background: rgba(235, 235, 235, 1);
}
.mask2_item{
.mask2_item {
width: 100%;
height: 100rpx;
display: flex;
... ... @@ -513,146 +579,175 @@ page{
box-sizing: border-box;
/* padding: 35rpx 47rpx; */
padding: 0 47rpx;
border-bottom: 1px solid #EBEBEB;
border-bottom: 1px solid #ebebeb;
}
.mask2_item_left{
font-size:30rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(102,102,102,1);
.mask2_item_left {
font-size: 30rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(102, 102, 102, 1);
}
.mask2_item_right{
font-size:30rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(26,26,26,1);
.mask2_item_right {
font-size: 30rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(26, 26, 26, 1);
}
.mask2_item_select{
.mask2_item_select {
display: flex;
}
.mask2_select_left{
width:70rpx;
height:44rpx;
.mask2_select_left {
width: 70rpx;
height: 44rpx;
line-height: 44rpx;
text-align: center;
border: 1px solid #FFAA00;
border-radius:22rpx 0rpx 0rpx 22rpx;
font-size:26rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(255,170,0,1);
border: 1px solid #fa0;
border-radius: 22rpx 0rpx 0rpx 22rpx;
font-size: 26rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(255, 170, 0, 1);
}
.mask2_select_right{
width:70rpx;
height:44rpx;
.mask2_select_right {
width: 70rpx;
height: 44rpx;
line-height: 44rpx;
text-align: center;
border: 1px solid #FFAA00;
border-radius:0rpx 22rpx 22rpx 0rpx;
font-size:26rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(255,170,0,1);
border: 1px solid #fa0;
border-radius: 0rpx 22rpx 22rpx 0rpx;
font-size: 26rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(255, 170, 0, 1);
}
.color_select{
background: #FFAA00;
.color_select {
background: #fa0;
color: #fff;
}
.mask2_item_date{
.mask2_item_date {
display: flex;
align-items: center;
}
.mask2_item_date_text{
font-size:30rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(26,26,26,1);
.mask2_item_date_text {
font-size: 30rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(26, 26, 26, 1);
}
.mask2_item_date_icon{
.mask2_item_date_icon {
margin-left: 25rpx;
width:12rpx;
height:20rpx;
width: 12rpx;
height: 20rpx;
display: flex;
}
.mask2_item_date_icon image{
.mask2_item_date_icon image {
width: 100%;
height: 100%;
}
.mask2_item input{
.mask2_item input {
height: 30rpx;
font-size:30rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
font-size: 30rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
/* color:rgba(153,153,153,1); */
text-align: right;
}
.bottom{
.bottom {
margin: 12rpx 0;
width:592rpx;
height:80rpx;
width: 592rpx;
height: 80rpx;
line-height: 80rpx;
text-align: center;
background:rgba(255,129,44,1);
border-radius:5rpx;
font-size:28rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(255,255,255,1);
background: rgba(255, 129, 44, 1);
border-radius: 5rpx;
font-size: 28rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(255, 255, 255, 1);
}
/* swiper */
.swriper{
.swriper {
display: block;
height: 220rpx;
}
.slide-image{
.slide-image {
width: 750rpx;
height: 220rpx;
}
.dots{
/* width: 156rpx; */
height: 36rpx;
display: flex;
flex-direction: row;
position: absolute;
left: 249rpx;
bottom: 12rpx;
}
/*未选中时的小圆点样式 */
.dot{
width: 16rpx;
height: 16rpx;
border-radius: 50%;
margin-right: 26rpx;
background-color:#B9C0F7;
}
/*选中以后的小圆点样式 */
.active{
color: #FFAA00;
.active {
color: #fa0;
}
.workexperience{
.workexperience {
/* /* width:300rpx; */
width:492rpx;
height:200rpx;
font-size:30rpx;
font-family:PingFang-SC-Medium;
width: 492rpx;
height: 200rpx;
font-size: 30rpx;
font-family: PingFang-SC-Medium;
/* font-weight:500; */
color:rgba(102,102,102,1);
color: rgba(102, 102, 102, 1);
padding: 30rpx;
box-sizing: border-box
box-sizing: border-box;
}
.workexper{
margin-top:30rpx;
.workexper {
margin-top: 30rpx;
}
.mask1{
display:flex;
.mask1 {
display: flex;
justify-content: space-between;
/* border-bottom:1rpx solid #f5f5f5; */
}
.banner_box {
position: relative;
}
.dots {
width: 100%;
display: flex;
flex-direction: row;
position: absolute;
/* left: 249rpx; */
bottom: 12rpx;
justify-content: center;
}
/*未选中时的小圆点样式 */
.dot {
width: 30rpx;
height: 4rpx;
background: rgba(255, 255, 255, 0.5);
margin-left: 8rpx;
}
.dot:first-child{
margin-left: 0;
}
/*选中以后的小圆点样式 */
.dotactive {
width: 30rpx;
height: 4rpx;
background: rgba(255, 255, 255, 1);
}
... ...
... ... @@ -16,6 +16,12 @@ Page({
/**
* 生命周期函数--监听页面加载
*/
// 财务记录
financial_record(){
wx.navigateTo({
url: '/pages/financialRecord/financialRecord',
})
},
//报名记录
record(){
... ...
... ... @@ -14,7 +14,7 @@
</view>
<!-- 右边 -->
<view class='head_top_right'>
<view class='head_top_right' bindtap='financial_record'>
<!-- 账单图片 -->
<view class='head_top_right_pic'>
<image src='../../img/aicon_34@2x.png'></image>
... ...
... ... @@ -65,8 +65,17 @@ Page({
let collecttype=''
if(type==0){
collecttype=1
wx.showToast({
title: '收藏成功',
icon: 'none',
})
}else{
collecttype = 2
wx.showToast({
title: '取消成功',
icon: 'none',
})
}
var url = 'index/collect/index';
var params = {
... ...
... ... @@ -13,9 +13,11 @@ Page({
* 生命周期函数--监听页面加载
*/
toPosition() {
toPosition(e) {
console.log(e)
let id = e.currentTarget.dataset.id
wx.navigateTo({
url: '/pages/positionDetails/positionDetails',
url: '/pages/positionDetails/positionDetails?id=' +id,
})
},
// 跳转招聘者信息
... ...
... ... @@ -5,7 +5,7 @@
<view class='underline'></view>
<!-- 条目 -->
<view class='items'>
<view class='item' bindtap='toPosition' wx:for='{{record}}' wx:key=''>
<view class='item' bindtap='toPosition' wx:for='{{record}}' wx:key='' data-id='{{item.id}}'>
<!-- 头部 -->
<view class='item_top'>
<view class='item_top_left'>
... ...
... ... @@ -9,6 +9,13 @@ Page({
collect: '',
},
toPosition(e) {
console.log(e)
let id = e.currentTarget.dataset.id
wx.navigateTo({
url: '/pages/positionDetails/positionDetails?id=' + id,
})
},
/**
* 生命周期函数--监听页面加载
*/
... ... @@ -81,10 +88,6 @@ Page({
collect: res.data
})
}).catch((err) => {
})
... ...
... ... @@ -6,7 +6,7 @@
<view class='underline'></view>
<!-- 条目 -->
<view class='items'>
<view class='item' wx:for='{{collect}}' wx:key=''>
<view class='item' bindtap='toPosition' wx:for='{{collect}}' wx:key='' data-id='{{item.id}}'>
<!-- 头部 -->
<view class='item_top'>
<view class='item_top_left'>
... ... @@ -19,7 +19,7 @@
</view>
</view>
<view class='item_top_right' bindtap='toApply' data-id='{{item.id}}'>
<view class='item_top_right' catchtap='toApply' data-id='{{item.id}}'>
报名
</view>
</view>
... ...
... ... @@ -7,7 +7,7 @@ Page({
* 页面的初始数据
*/
data: {
regSuccess:res.data
// regSuccess:res.data
},
/**
... ...