浏览代码

feat(招聘) 个人中心 我的简历 我的投递 我的收藏

xing.li 4 年之前
父节点
当前提交
6245dc9dc7

+ 1 - 1
pages/person/person.js

@@ -119,7 +119,7 @@ Page({
   },
   gotoResume:function(){
     wx.navigateTo({
-      url: '../resume/resume',
+      url: '../resume/resume?type=1',
     })
   }
   // getMobile: async function (params) {

+ 5 - 0
pages/record/record.js

@@ -62,5 +62,10 @@ Page({
    */
   onShareAppMessage: function () {
 
+  },
+  goToInfo:function(){
+    wx.navigateTo({
+      url: '../recruitInfo/recruitInfo'
+    })
   }
 })

+ 11 - 1
pages/record/record.wxml

@@ -19,8 +19,13 @@
      <image src="/images/icons/depart.png" class="info_bottom_img"></image>
      <view class="info_bottom_2">拓展部</view>
    </view>
+   <view class="info_bottom_date">
+    <view>投递时间:</view>
+    <view>2021-05-11 12:30:30</view>
+    <!-- <view>已查阅</view> -->
+   </view>
  </view>
- <view class="info">
+ <view class="info" bindtap="goToInfo">
    <view class="info_top">
      <view class="info_top_left">招聘顾问</view>
      <view class="info_top_right">9001-10000</view>
@@ -37,5 +42,10 @@
      <image src="/images/icons/depart.png" class="info_bottom_img"></image>
      <view class="info_bottom_2">招聘部</view>
    </view>
+   <view class="info_bottom_date">
+    <view>投递时间:</view>
+    <view>2021-05-11 12:30:30</view>
+    <!-- <view>已查阅</view> -->
+   </view>
  </view>
 </view>

+ 10 - 1
pages/record/record.wxss

@@ -12,7 +12,7 @@ Page {
 .info{
   background-color: #fff;
   width: 710rpx;
-  height: 160rpx;
+  height: 200rpx;
   display: flex;
   flex-flow: column nowrap;
   justify-content: space-around;
@@ -31,6 +31,15 @@ Page {
   justify-content: left;
   padding: 0 15rpx;
 }
+.info_bottom_date{
+  display: flex;
+  flex-flow: row nowrap;
+  justify-content: left;
+  padding: 0 15rpx;
+  font-size: 28rpx;
+  color: #777d9c;
+  
+}
 .info_mid_left{
   display: flex;
   flex-flow: row nowrap;

+ 3 - 0
pages/recruitInfo/recruitInfo.js

@@ -88,6 +88,9 @@ Page({
       confirmColor:'#1296db',
       success (res) {
         if (res.confirm) {
+          wx.navigateTo({
+            url: '../resume/resume?type=2',
+          })
           console.log('用户点击确定')
         } else if (res.cancel) {
           console.log('用户点击取消')

+ 1 - 0
pages/recruitInfo/recruitInfo.wxss

@@ -111,6 +111,7 @@ Page {
   bottom: 0rpx;
   left: 0rpx;
   width: 100%;
+  z-index: 999;
 }
 .bottom_left{
   display: flex;

+ 51 - 1
pages/resume/resume.js

@@ -9,13 +9,37 @@ Page({
     birth:'1990-01-01',
     date:'',
     sex: 0,
-    array: ["未知", "男", "女"],
+    array: ["保密", "男", "女"],
+    educationArray: ["保密","小学", "初中", "高中","中技(中专、技校、职高)","大专","本科","硕士研究生","MBA","博士研究生"],
+    educationIndex: 0,
+    schoolTypeArray: ["全国普通高等院校非全日制","全国普通高等院校全日制", "成人高等教育", "统招专升本","自学考试","非统招专升本","海外留学生"],
+    schoolTypeIndex: 0,
+    statusArray: ["正在主动找工作","可以考虑工作机会", "目前不想找工作"],
+    statusIndex: 0,
+    moneyArray: ["1000以下","1000-2000", "2001-4000", "4001-6000","6001-8000","8001-10000","10001-15000","15001-25000","25001-30000","30001-50000","50001-70000","70001-100000","100001以上","面议"],
+    nowMoneyIndex:0,
+    expectMoneyIndex:0,
+    type:1,//1保存简历  2保存简历+投递简历)
+    saveTitle:'保存'
   },
 
   /**
    * 生命周期函数--监听页面加载
    */
   onLoad: function (options) {
+    console.log(options)
+    if(options.type ==2){
+      this.setData({
+       saveTitle:'确认投递'
+      })
+      wx.setNavigationBarTitle({
+        title: '投递简历'
+     })
+    }else{
+      wx.setNavigationBarTitle({
+        title: '我的简历'
+     })
+    }
     var d = new Date();
     var endDate = d.getFullYear() + '-' + (d.getMonth() + 1) + '-' + d.getDate()
     this.setData({
@@ -34,6 +58,7 @@ Page({
    * 生命周期函数--监听页面显示
    */
   onShow: function () {
+ 
 
   },
 
@@ -82,4 +107,29 @@ Page({
       sex: e.detail.value
     })
   },
+  changeEducation: function (e) {
+    console.log(e.detail)
+    this.setData({
+      educationIndex: e.detail.value
+    })
+  },
+
+  changeSchoolType: function (e) {
+   
+    this.setData({
+     schoolTypeIndex: e.detail.value
+    })
+  },
+
+  chooseEnclosure:function(){
+    wx.chooseMessageFile({
+      count: 10,
+      type: 'file',
+      success (res) {
+        // tempFilePath可以作为img标签的src属性显示图片
+        const tempFilePaths = res.tempFiles  
+        }
+    })
+  }
+  
 })

+ 1 - 1
pages/resume/resume.json

@@ -2,7 +2,7 @@
   "usingComponents": {},
   "navigationBarBackgroundColor": "#fff",
   "navigationBarTextStyle": "black",
-  "navigationBarTitleText": "我的简历",
+  "navigationBarTitleText": "",
   "backgroundColor": "#fff",
   "backgroundTextStyle": "light"
 

+ 114 - 6
pages/resume/resume.wxml

@@ -26,30 +26,138 @@
 
   <view class="info">
     <view class="info_left">
-      <view class="info_left_1"></view>
+      <view class="info_left_1">*</view>
       <view class="info_left_2">出生日期</view>
     </view>
-    <picker mode="date"  class="info_right" value="{{date}}" start="1970-01-01" end="{{endDate}}" bindchange="changeBirth">
+    <picker mode="date"  class="info_right_picker" value="{{date}}" start="1970-01-01" end="{{endDate}}" bindchange="changeBirth">
                 {{birth}}
     </picker>
+    <image class="next-gray" src="../../images/icons/next-gray.png">
+        </image>
   </view>
 
   <view class="info">
     <view class="info_left">
-      <view class="info_left_1"></view>
+      <view class="info_left_1">*</view>
       <view class="info_left_2">性别</view>
     </view>
-    <picker class="info_right" value="{{sex}}" range="{{array}}" bindchange="changeSex">
+    <picker class="info_right_picker" value="{{sex}}" range="{{array}}" bindchange="changeSex">
                 {{array[sex]}}
         </picker>
+        <image class="next-gray" src="../../images/icons/next-gray.png">
+        </image>
+  </view>
+
+  <view class="info" >
+    <view class="info_left">
+      <view class="info_left_1"></view>
+      <view class="info_left_2">居住地</view>
+    </view>
+    <input  class="info_right"   placeholder="例:浙江省杭州市萧山区" placeholder-class="placeholder" />
+  </view>
+
+  <view class="info" >
+    <view class="info_left">
+      <view class="info_left_1"></view>
+      <view class="info_left_2">户口所在地</view>
+    </view>
+    <input  class="info_right"   placeholder="例:安徽省合肥市蜀山区" placeholder-class="placeholder" />
+  </view>
+
+  <view class="info">
+    <view class="info_left">
+      <view class="info_left_1">*</view>
+      <view class="info_left_2">最高学历</view>
+    </view>
+    <picker class="info_right_picker" value="{{educationIndex}}" range="{{educationArray}}" bindchange="changeEducation">
+                {{educationArray[educationIndex]}}
+        </picker>
+        <image class="next-gray" src="../../images/icons/next-gray.png">
+        </image>
   </view>
 
   <view class="info">
     <view class="info_left">
       <view class="info_left_1"></view>
-      <view class="info_left_2">居住地址</view>
+      <view class="info_left_2">学习形式</view>
+    </view>
+    <picker class="info_right_picker" value="{{schoolTypeIndex}}" range="{{schoolTypeArray}}" bindchange="changeSchoolType">
+                {{schoolTypeArray[schoolTypeIndex]}}
+        </picker>
+        <image class="next-gray" src="../../images/icons/next-gray.png">
+        </image>
+  </view>
+
+  <view class="info" >
+    <view class="info_left">
+      <view class="info_left_1"></view>
+      <view class="info_left_2">民族</view>
+    </view>
+    <input  class="info_right"   placeholder="请输入民族" placeholder-class="placeholder" />
+  </view>
+
+  <view class="info" >
+    <view class="info_left">
+      <view class="info_left_1"></view>
+      <view class="info_left_2">当前职业</view>
     </view>
-    <textarea auto-height  class="info_right"  placeholder="请输入居住地址" placeholder-class="placeholder" />
+    <input  class="info_right"   placeholder="请输入当前职业" placeholder-class="placeholder" />
+  </view>
+
+  <view class="info">
+    <view class="info_left">
+      <view class="info_left_1"></view>
+      <view class="info_left_2">求职状态</view>
+    </view>
+    <picker class="info_right_picker" value="{{statusIndex}}" range="{{statusArray}}" bindchange="changeStatus">
+                {{statusArray[statusIndex]}}
+        </picker>
+        <image class="next-gray" src="../../images/icons/next-gray.png">
+        </image>
+  </view>
+
+  <view class="info" >
+    <view class="info_left">
+      <view class="info_left_1"></view>
+      <view class="info_left_2">期望从事职业</view>
+    </view>
+    <input  class="info_right"   placeholder="请输入期望从事职业" placeholder-class="placeholder" />
+  </view>
+
+  <view class="info">
+    <view class="info_left">
+      <view class="info_left_1"></view>
+      <view class="info_left_2">现在税前月薪</view>
+    </view>
+    <picker class="info_right_picker" value="{{nowMoneyIndex}}" range="{{moneyArray}}" bindchange="changeNowMoney">
+                {{moneyArray[nowMoneyIndex]}}
+        </picker>
+        <image class="next-gray" src="../../images/icons/next-gray.png">
+        </image>
+  </view>
+
+  <view class="info" >
+    <view class="info_left">
+      <view class="info_left_1"></view>
+      <view class="info_left_2">期望税前月薪</view>
+    </view>
+    <picker class="info_right_picker" value="{{expectMoneyIndex}}" range="{{moneyArray}}" bindchange="changeExpectMoney">
+                {{moneyArray[expectMoneyIndex]}}
+        </picker>
+        <image class="next-gray" src="../../images/icons/next-gray.png">
+        </image>
   </view>
   
+  <view class="info" style="margin-bottom:100rpx" >
+    <view class="info_left">
+      <view class="info_left_1">*</view>
+      <view class="info_left_2">简历附件</view>
+    </view>
+    <view  class="info_right placeholder"   bindtap="chooseEnclosure" >在微信聊天中选择附件</view>
+  </view>
+
+  <view class="bottom">
+    <view class="save">{{saveTitle}}</view>
+    
+  </view>
 </view>

+ 37 - 2
pages/resume/resume.wxss

@@ -22,7 +22,7 @@ Page {
   flex-flow: row nowrap;
   justify-content: flex-end;
   align-items: center;
-  width: 150rpx;
+  width: 180rpx;
   height: 60rpx;
 }
 .info_left_1{
@@ -33,13 +33,48 @@ Page {
   font-size: 28rpx;
 }
 .info_right{
-   min-width:500rpx;
+   width: 470rpx;
    height: 60rpx;
    margin-left: 20rpx;
    line-height: 60rpx;
    font-size: 28rpx;
 }
+.info_right_picker{
+  width: 440rpx;
+  height: 60rpx;
+  margin-left: 20rpx;
+  line-height: 60rpx;
+  font-size: 28rpx;
+}
 .placeholder{
   font-size: 28rpx;
   color: #c2c6da;
 }
+.next-gray{
+ width: 30rpx;
+ height: 30rpx;
+}
+
+.bottom{
+  display: flex;
+  flex-flow: row nowrap;
+  justify-content: center;
+  align-items: center;
+  position: fixed;
+  background-color: #f2f2f2;
+  border-radius: 10rpx;
+  height: 100rpx;
+  bottom: 0rpx;
+  left: 0rpx;
+  width: 100%;
+  z-index: 999;
+}
+.save{
+  background-color: #1296db;
+  color: #fff;
+  width: 710rpx;
+  height: 80rpx;
+  text-align: center;
+  line-height: 80rpx;
+  border-radius: 10rpx;
+}

+ 1 - 18
pages/school/school.wxml

@@ -37,22 +37,5 @@
         <view class="info_bottom_2">拓展部</view>
       </view>
     </view>
-    <view class="info">
-      <view class="info_top">
-        <view class="info_top_left">招聘顾问</view>
-        <view class="info_top_right">9001-10000</view>
-      </view>
-      <view class="info_mid">
-        <view class="info_mid_left">
-          <view>金山区|</view>
-          <view>2年|</view>
-          <view>大专</view>
-        </view>
-        <view class="info_mid_right">2020-12-01</view>
-      </view>
-      <view class="info_bottom">
-        <image src="/images/icons/depart.png" class="info_bottom_img"></image>
-        <view class="info_bottom_2">招聘部</view>
-      </view>
-    </view>
+   
 </view>

+ 3 - 3
pages/sociology/sociology.wxml

@@ -13,8 +13,8 @@
       <view class="bottom">
         <view class="search_group">
           <icon type="search" class="icon_search" color="#c2c6da"></icon>
-          <input type="text" placeholder="请输入职位" placeholder-class="input_text" class="search_input" disabled/>
-          <!-- <icon type="clear" class="icon_clear" color="#c2c6da"></icon> -->
+          <input type="text" placeholder="请输入职位" placeholder-class="input_text" class="search_input" />
+          <icon type="clear" class="icon_clear" color="#c2c6da"></icon>
         </view>
        
       </view>
@@ -37,7 +37,7 @@
         <view class="info_bottom_2">拓展部</view>
       </view>
     </view>
-    <view class="info">
+    <view class="info" bindtap="goToInfo">
       <view class="info_top">
         <view class="info_top_left">招聘顾问</view>
         <view class="info_top_right">9001-10000</view>

+ 6 - 0
project.private.config.json

@@ -33,6 +33,12 @@
         {
           "name": "pages/resume/resume",
           "pathName": "pages/resume/resume",
+          "query": "",
+          "scene": null
+        },
+        {
+          "name": "pages/record/record",
+          "pathName": "pages/record/record",
           "scene": null
         }
       ]