Kaynağa Gözat

feat(招聘) 首页 社招 社招详情

xing.li 4 yıl önce
ebeveyn
işleme
39b1694834

+ 3 - 1
app.json

@@ -9,7 +9,9 @@
     "pages/workEnvironment/workEnvironment",
     "pages/schoolTrip/schoolTrip",
     "pages/recruitInfo/recruitInfo",
-    "pages/collection/collection"
+    "pages/collection/collection",
+    "pages/record/record",
+    "pages/resume/resume"
   
     
   ],

BIN
images/icons/depart.png


+ 2 - 2
pages/collection/collection.wxml

@@ -16,7 +16,7 @@
         <view class="info_mid_right">2020-12-01</view>
       </view>
       <view class="info_bottom">
-        <image src="/images/icons/user.png" class="info_bottom_img"></image>
+        <image src="/images/icons/depart.png" class="info_bottom_img"></image>
         <view class="info_bottom_2">拓展部</view>
       </view>
     </view>
@@ -34,7 +34,7 @@
         <view class="info_mid_right">2020-12-01</view>
       </view>
       <view class="info_bottom">
-        <image src="/images/icons/user.png" class="info_bottom_img"></image>
+        <image src="/images/icons/depart.png" class="info_bottom_img"></image>
         <view class="info_bottom_2">招聘部</view>
       </view>
     </view>

+ 43 - 38
pages/person/person.js

@@ -1,5 +1,5 @@
 // pages/person/person.js
-const app = getApp()
+// const app = getApp()
 Page({
 
   /**
@@ -14,14 +14,14 @@ Page({
    * 生命周期函数--监听页面加载
    */
   onLoad: async function (options) {
-    let userInfo = await app.getWxUserInfo()
-    if (userInfo) {
-      this.setData({
-        userInfo: userInfo,
-        hasUserInfo: true,
-        hasMobile: userInfo.mobile ? true : false
-      })
-    }
+    // let userInfo = await app.getWxUserInfo()
+    // if (userInfo) {
+    //   this.setData({
+    //     userInfo: userInfo,
+    //     hasUserInfo: true,
+    //     hasMobile: userInfo.mobile ? true : false
+    //   })
+    // }
   },
   /**
    * 生命周期函数--监听页面初次渲染完成
@@ -34,14 +34,14 @@ Page({
    * 生命周期函数--监听页面显示
    */
   onShow: async function () {
-    let userInfo = await app.getWxUserInfo()
-    if (userInfo) {
-      this.setData({
-        userInfo: userInfo,
-        hasUserInfo: true,
-        hasMobile: userInfo.mobile ? true : false
-      })
-    }
+    // let userInfo = await app.getWxUserInfo()
+    // if (userInfo) {
+    //   this.setData({
+    //     userInfo: userInfo,
+    //     hasUserInfo: true,
+    //     hasMobile: userInfo.mobile ? true : false
+    //   })
+    // }
   },
 
   /**
@@ -112,28 +112,33 @@ Page({
       url: '../personinfo/personinfo',
     })
   },
-  gotoOrder: function (e) {
-    wx.switchTab({
-      url: '../personorder/personorder',
+  gotoRecord: function (e) {
+    wx.navigateTo({
+      url: '../record/record',
     })
   },
-  getMobile: async function (params) {
-    console.log(params);
-    let _self = this
-    const data = {
-      encryptedData:params.detail.encryptedData,
-      iv: params.detail.iv
-    }
-    const userInfo = await app.getPhoneNumber(data)
-    console.log(userInfo)
-    let hasMobile = false
-    if (userInfo.mobile > 1) {
-      hasMobile:true
-    }
-    _self.setData({
-      hasMobile: hasMobile,
-      mobile: userInfo.mobile,
-      userInfo
+  gotoResume:function(){
+    wx.navigateTo({
+      url: '../resume/resume',
     })
-  },
+  }
+  // getMobile: async function (params) {
+  //   console.log(params);
+  //   let _self = this
+  //   const data = {
+  //     encryptedData:params.detail.encryptedData,
+  //     iv: params.detail.iv
+  //   }
+  //   const userInfo = await app.getPhoneNumber(data)
+  //   console.log(userInfo)
+  //   let hasMobile = false
+  //   if (userInfo.mobile > 1) {
+  //     hasMobile:true
+  //   }
+  //   _self.setData({
+  //     hasMobile: hasMobile,
+  //     mobile: userInfo.mobile,
+  //     userInfo
+  //   })
+  // },
 })

+ 2 - 2
pages/person/person.wxml

@@ -34,7 +34,7 @@
 
 
     </view>
-    <view class="order" bindtap = "gotoOrder">
+    <view class="order" bindtap = "gotoResume">
         <image class="icons" src="../../images/icons/jianli.png">
         </image>
         <view class="order-text">我的简历
@@ -42,7 +42,7 @@
         <image class="next-gray" src="../../images/icons/next-gray.png">
         </image>
     </view>
-    <view class="assess" bindtap = "gotoComment">
+    <view class="assess" bindtap = "gotoRecord">
         <image class="icons" src="../../images/icons/jilu.png"></image>
         <view class="assess-text">投递记录
 

+ 66 - 0
pages/record/record.js

@@ -0,0 +1,66 @@
+// pages/record/record.js
+Page({
+
+  /**
+   * 页面的初始数据
+   */
+  data: {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面加载
+   */
+  onLoad: function (options) {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面初次渲染完成
+   */
+  onReady: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面显示
+   */
+  onShow: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面隐藏
+   */
+  onHide: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面卸载
+   */
+  onUnload: function () {
+
+  },
+
+  /**
+   * 页面相关事件处理函数--监听用户下拉动作
+   */
+  onPullDownRefresh: function () {
+
+  },
+
+  /**
+   * 页面上拉触底事件的处理函数
+   */
+  onReachBottom: function () {
+
+  },
+
+  /**
+   * 用户点击右上角分享
+   */
+  onShareAppMessage: function () {
+
+  }
+})

+ 9 - 0
pages/record/record.json

@@ -0,0 +1,9 @@
+{
+  "usingComponents": {},
+  "navigationBarBackgroundColor": "#fff",
+  "navigationBarTextStyle": "black",
+  "navigationBarTitleText": "投递记录",
+  "backgroundColor": "#fff",
+  "backgroundTextStyle": "light"
+
+}

+ 41 - 0
pages/record/record.wxml

@@ -0,0 +1,41 @@
+
+
+<view class="content" >
+ 
+ <view class="info" bindtap="goToInfo">
+   <view class="info_top">
+     <view class="info_top_left">拓展顾问</view>
+     <view class="info_top_right">6001-8000</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 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>

+ 72 - 0
pages/record/record.wxss

@@ -0,0 +1,72 @@
+.content{
+  background-color: #F2F2F2;
+  padding: 20rpx;
+}
+Page {
+  width: 100%;
+  height: 100%;
+  background-color: #F2F2F2;
+}
+
+
+.info{
+  background-color: #fff;
+  width: 710rpx;
+  height: 160rpx;
+  display: flex;
+  flex-flow: column nowrap;
+  justify-content: space-around;
+  border-radius: 10rpx;
+  margin-bottom: 20rpx;
+}
+.info_top,.info_mid,.info_bottom{
+  display: flex;
+  flex-flow: row nowrap;
+  justify-content: space-between;
+  padding: 0 15rpx;
+}
+.info_bottom{
+  display: flex;
+  flex-flow: row nowrap;
+  justify-content: left;
+  padding: 0 15rpx;
+}
+.info_mid_left{
+  display: flex;
+  flex-flow: row nowrap;
+  justify-content: left;
+  
+}
+.info_bottom_img{
+  width: 35rpx;
+  height: 35rpx;
+}
+.info_top_left{
+  color: #43496a;
+  font-size: 32rpx;
+}
+.info_top_right{
+  color: #ff7c7c;
+  font-size: 28rpx;
+}
+
+.info_mid_left,.info_mid_right{
+  font-size: 12px;
+  color: #b0b4ca;
+}
+.info_bottom_2{
+  font-size: 28rpx;
+  color: #777d9c;
+  margin-left: 10rpx;
+}
+.input_text{
+  color: #c2c6da;
+  font-size: 28rpx;
+}
+.icon_search{
+  margin-left: 20rpx;
+  
+}
+.icon_clear{
+  margin-right: 20rpx;
+}

+ 85 - 0
pages/resume/resume.js

@@ -0,0 +1,85 @@
+// pages/resume/resume.js
+Page({
+
+  /**
+   * 页面的初始数据
+   */
+  data: {
+    endDate:'',
+    birth:'1990-01-01',
+    date:'',
+    sex: 0,
+    array: ["未知", "男", "女"],
+  },
+
+  /**
+   * 生命周期函数--监听页面加载
+   */
+  onLoad: function (options) {
+    var d = new Date();
+    var endDate = d.getFullYear() + '-' + (d.getMonth() + 1) + '-' + d.getDate()
+    this.setData({
+      endDate
+    })
+  },
+
+  /**
+   * 生命周期函数--监听页面初次渲染完成
+   */
+  onReady: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面显示
+   */
+  onShow: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面隐藏
+   */
+  onHide: function () {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面卸载
+   */
+  onUnload: function () {
+
+  },
+
+  /**
+   * 页面相关事件处理函数--监听用户下拉动作
+   */
+  onPullDownRefresh: function () {
+
+  },
+
+  /**
+   * 页面上拉触底事件的处理函数
+   */
+  onReachBottom: function () {
+
+  },
+
+  /**
+   * 用户点击右上角分享
+   */
+  onShareAppMessage: function () {
+
+  },
+  changeBirth: function (e) {
+    this.setData({
+      birth: e.detail.value
+    })
+  },
+  changeSex: function (e) {
+    console.log(e.detail)
+    this.setData({
+      sex: e.detail.value
+    })
+  },
+})

+ 9 - 0
pages/resume/resume.json

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

+ 55 - 0
pages/resume/resume.wxml

@@ -0,0 +1,55 @@
+
+<view class="content" >
+  <view class="info">
+    <view class="info_left">
+      <view class="info_left_1">*</view>
+      <view class="info_left_2">姓名</view>
+    </view>
+    <input type="text" class="info_right" maxlength="50" 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 type="text" class="info_right" maxlength="50" 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 type="number" class="info_right" maxlength="50" 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 mode="date"  class="info_right" value="{{date}}" start="1970-01-01" end="{{endDate}}" bindchange="changeBirth">
+                {{birth}}
+    </picker>
+  </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" value="{{sex}}" range="{{array}}" bindchange="changeSex">
+                {{array[sex]}}
+        </picker>
+  </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" />
+  </view>
+  
+</view>

+ 45 - 0
pages/resume/resume.wxss

@@ -0,0 +1,45 @@
+.content{
+  background-color: #F2F2F2;
+  padding: 20rpx;
+}
+Page {
+  width: 100%;
+  height: 100%;
+  background-color: #F2F2F2;
+}
+.info{
+  display: flex;
+  flex-flow: row nowrap;
+  justify-content: space-around;
+  align-items: center;
+  background-color: #fff;
+  height: 80rpx;
+  border-radius: 10rpx;
+  margin-bottom: 20rpx;
+}
+.info_left{
+  display: flex;
+  flex-flow: row nowrap;
+  justify-content: flex-end;
+  align-items: center;
+  width: 150rpx;
+  height: 60rpx;
+}
+.info_left_1{
+  color: red;
+  margin-right:10rpx 
+}
+.info_left_2{
+  font-size: 28rpx;
+}
+.info_right{
+   min-width:500rpx;
+   height: 60rpx;
+   margin-left: 20rpx;
+   line-height: 60rpx;
+   font-size: 28rpx;
+}
+.placeholder{
+  font-size: 28rpx;
+  color: #c2c6da;
+}

+ 2 - 2
pages/school/school.wxml

@@ -33,7 +33,7 @@
         <view class="info_mid_right">2020-12-01</view>
       </view>
       <view class="info_bottom">
-        <image src="/images/icons/user.png" class="info_bottom_img"></image>
+        <image src="/images/icons/depart.png" class="info_bottom_img"></image>
         <view class="info_bottom_2">拓展部</view>
       </view>
     </view>
@@ -51,7 +51,7 @@
         <view class="info_mid_right">2020-12-01</view>
       </view>
       <view class="info_bottom">
-        <image src="/images/icons/user.png" class="info_bottom_img"></image>
+        <image src="/images/icons/depart.png" class="info_bottom_img"></image>
         <view class="info_bottom_2">招聘部</view>
       </view>
     </view>

+ 2 - 2
pages/sociology/sociology.wxml

@@ -33,7 +33,7 @@
         <view class="info_mid_right">2020-12-01</view>
       </view>
       <view class="info_bottom">
-        <image src="/images/icons/user.png" class="info_bottom_img"></image>
+        <image src="/images/icons/depart.png" class="info_bottom_img"></image>
         <view class="info_bottom_2">拓展部</view>
       </view>
     </view>
@@ -51,7 +51,7 @@
         <view class="info_mid_right">2020-12-01</view>
       </view>
       <view class="info_bottom">
-        <image src="/images/icons/user.png" class="info_bottom_img"></image>
+        <image src="/images/icons/depart.png" class="info_bottom_img"></image>
         <view class="info_bottom_2">招聘部</view>
       </view>
     </view>

+ 4 - 6
project.config.json

@@ -7,7 +7,7 @@
     "urlCheck": true,
     "es6": true,
     "enhance": true,
-    "postcss": true,
+    "postcss": false,
     "preloadBackgroundData": false,
     "minified": false,
     "newFeature": false,
@@ -22,22 +22,20 @@
     "uploadWithSourceMap": true,
     "compileHotReLoad": false,
     "useMultiFrameRuntime": true,
-    "useApiHook": true,
-    "useApiHostProcess": true,
+    "useApiHook": false,
+    "useApiHostProcess": false,
     "babelSetting": {
       "ignore": [],
       "disablePlugins": [],
       "outputPath": ""
     },
-    "enableEngineNative": false,
-    "bundle": false,
     "useIsolateContext": true,
     "useCompilerModule": true,
     "userConfirmedUseCompilerModuleSwitch": false,
     "userConfirmedBundleSwitch": false,
     "packNpmManually": false,
     "packNpmRelationList": [],
-    "minifyWXSS": true
+    "minifyWXSS": false
   },
   "compileType": "miniprogram",
   "libVersion": "2.16.1",

+ 6 - 0
project.private.config.json

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