ZhangWenQiang 6 лет назад
Родитель
Сommit
078fdfa52f

+ 17 - 2
pages/city/index.js

@@ -34,10 +34,10 @@ Page({
     var cityList = city.cityList();
     this.data.cityNameList = city.cityNameList();
 
-    console.log("cityinfo", cityList);
+    // console.log("cityinfo", cityList);
 
     var sysInfo = wx.getSystemInfoSync();
-    console.log(sysInfo);
+    // console.log(sysInfo);
     var winHeight = sysInfo.windowHeight;
 
     //添加要匹配的字母范围值
@@ -157,6 +157,18 @@ Page({
   wxSortPickerViewItemTap: function(e) {
     var city = e.target.dataset.text;
     var cityCode = e.target.dataset.code;
+    if (city.indexOf("市") != -1) {
+      city = city.substring(0, city.lastIndexOf('市'));
+    }
+    if (city.indexOf("地区") != -1) {
+      city = city.substring(0, city.lastIndexOf('地区'));
+    }
+    if (city.indexOf("自治州") != -1) {
+      city = city.substring(0, city.lastIndexOf('自治州'));
+    }
+    if (city.indexOf("特别行政区") != -1) {
+      city = city.substring(0, city.lastIndexOf('特别行政区'));
+    }
     console.log('选择了城市:', city);
     console.log('选择了城市的code:', cityCode);
     wx.setStorageSync('city', city)
@@ -205,6 +217,9 @@ Page({
               var data = data[0],
                 city = data.regeocodeData.addressComponent.city || "无锡",
                 cityCode = data.regeocodeData.addressComponent.adcode.substring(0, 4) + "00";
+              if (city.indexOf("市") != -1) {
+                city = city.substring(0, city.lastIndexOf('市'));
+              }
               that.setData({
                 city: city,
                 cityCode: cityCode

+ 4 - 6
pages/detail/index.wxml

@@ -9,7 +9,7 @@
         {{postitionDetail.positionName}}
       </view>
       <view class='salary'>
-        <image src='{{imgServerUrl}}/images/happyjob/dollor.png'></image>
+        <!-- <image src='{{imgServerUrl}}/images/happyjob/dollor.png'></image> -->
         <block wx:if="{{postitionDetail.salary}}">
           {{postitionDetail.salary}}
         </block>
@@ -201,7 +201,7 @@
         {{postitionDetail.positionName}}
       </view>
       <view class='salary'>
-        <image src='{{imgServerUrl}}/images/happyjob/dollor.png'></image>
+        <!-- <image src='{{imgServerUrl}}/images/happyjob/dollor.png'></image> -->
         <block wx:if="{{postitionDetail.salary}}">
           {{postitionDetail.salary}}
         </block>
@@ -401,9 +401,7 @@
         <view class='right' bindtap='phoneCall'>{{postitionDetail.contactPhone}}</view>
       </view>
     </view>
-    <view class='nine'>
-      未标明收费的只为不会收取任何费用,若要求缴纳费用或押金,请提高警惕并第一时间向我们举报。
-    </view>
+    <view class='nine'>未标明收费的职位不会收取任何费用,若要求缴纳费用或押金,请提高警惕并第一时间向我们举报。</view>
   </view>
 </block>
 <!-- 拼团岗位 -->
@@ -415,7 +413,7 @@
         <image src='{{imgServerUrl}}/images/happyjob/pt.png'></image>
       </view>
       <view class='salary'>
-        <image src='{{imgServerUrl}}/images/happyjob/dollor.png'></image>
+        <!-- <image src='{{imgServerUrl}}/images/happyjob/dollor.png'></image> -->
         <block wx:if="{{postitionDetail.salary}}">
           {{postitionDetail.salary}}
         </block>

+ 1 - 1
pages/detail/index.wxss

@@ -31,7 +31,7 @@
   font-size: 32rpx;
   font-family: Arial-BoldMT;
   font-weight: bold;
-  color: rgba(30, 98, 167, 1);
+  color: rgba(255, 78, 37, 1);
 }
 
 .panel .one .salary image {

+ 1 - 1
pages/jianli/index.wxml

@@ -42,7 +42,7 @@
   <view class='infoma'>
     <text class="detailinfo">期望岗位:</text>
     <view class="detail">
-      <block wx:for="{{globalTools.splitStr1(userResume.expectationPosition,',')}}" wx:for-item="item">
+      <block wx:for="{{globalTools.splitStr1(userResume.expectationPosition,',')}}" wx:for-item="item" wx:key="*this">
         {{expectationPosition[item]}}
       </block>
     </view>

+ 2 - 2
pages/mine/index.wxml

@@ -78,7 +78,7 @@
   </view>
 </navigator>
 
-<view class='query'>
+<!-- <view class='query'>
   <view class='querys'>
     <image class='moneytb' src='{{imgServerUrl}}/images/happyjob/yjfk.png'></image>
     <text class='queryxz'>意见反馈</text>
@@ -92,7 +92,7 @@
     <text class='queryxz'>商务合作</text>
   </view>
   <image class='jiantou' src='{{imgServerUrl}}/images/happyjob/rightwjt.png'></image>
-</view>
+</view> -->
 
 <view class='query' bindtap='setup'>
   <view class='querys'>

+ 2 - 2
pages/user-works/index.js

@@ -37,8 +37,8 @@ Page({
         jobName: expList.workPosition,
         hpUserResumeId: expList.resumeId,
         hpUserExpId: expList.id,
-        startDate: expList.workStartDate,
-        endDate: expList.workEndDate
+        startDate: expList.workStartDate ? expList.workStartDate : "请选择入职时间",
+        endDate: expList.workEndDate ? expList.workEndDate : "请选择离职时间"
       })
     } else {
       this.setData({