Rockery пре 3 година
родитељ
комит
2862b966a1

+ 0 - 1
h5_web/pages/index/index.vue

@@ -201,7 +201,6 @@
               name: "代码固定测试999999"
             }
           );
-					console.log('bannerList',JSON.parse(JSON.stringify(res)));
 				})
 			},
 			// 轮播图点击

+ 11 - 3
h5_web/pages/jobDetails/jobDetails.vue

@@ -77,9 +77,17 @@
       	</view> -->
       </u-card>
     </view>
-    
-    <view class="jobdetails-bottom" v-if="!isSubmit">
-      <u-button type="primary" @click="handleResumeClick">提交简历</u-button>
+
+    <view class="jobdetailsbtn" v-if="!isSubmit">
+      <view class="jobdetailsbtn-container">
+        <view class="jobdetailsbtn-content">
+          <view>
+            <u-button type="primary"
+              @click="handleResumeClick"
+              class="jobdetailsubmitbtn">提交简历</u-button>
+          </view>
+        </view>
+      </view>
     </view>
 		<u-toast ref="uToast" />
 	</view>

+ 39 - 6
h5_web/pages/jobDetails/scss/jobDetails.scss

@@ -1,4 +1,4 @@
-// page{background-color: #f2f2f2;}
+page{background-color: #f2f2f2;}
 .jobdetails{
   background-color: #f2f2f2;
   
@@ -163,7 +163,7 @@
         .container{
           padding-bottom: 30rpx;
           width: 100%;
-          border-bottom: 1px solid #e4e7ed;
+          // border-bottom: 1px solid #e4e7ed;
           
           .title{
             margin-bottom: 12rpx;
@@ -223,9 +223,42 @@
       }
     }
   }
-  
-  &-bottom{
-    background-color: #FFFFFF;
-    padding: 43rpx 5%;
+
+  .jobdetailsbtn{
+    .jobdetailsbtn-container{
+      padding-bottom: env(safe-area-inset-bottom);
+      display: flex;
+      flex-direction: row;
+      align-items: center;
+      position: fixed;
+      bottom: 0;
+      left: 0;
+      width: 100%;
+      z-index: 998;
+      box-sizing: content-box;
+      background-color: #FFFFFF;
+      
+      .jobdetailsbtn-content{
+        flex: 1;
+        justify-content: center;
+        width: 100%;
+        height: 100%;
+        padding: 6px 0;
+        display: flex;
+        flex-direction: column;
+        align-items: center;
+        position: relative;
+        background-color: #FFFFFF;
+        
+        view:first-child{
+          width: 100%;
+          padding: 43rpx 30rpx;
+          
+          .jobdetailsubmitbtn{
+            width: 100%;
+          }
+        }
+      }
+    }
   }
 }

+ 4 - 6
h5_web/pages/recruitment/recruitment.vue

@@ -49,7 +49,7 @@
               :display-multiple-items="5"
               :autoplay="true"
               >
-                <swiper-item v-for="(recommendItem, index) in recommendList" :key="recommendItem.id">
+                <swiper-item v-for="(recommendItem, index) in recommendList" :key="'recommendList' + index">
                   <view class="swiper-item" @tap="tapRecommendSwiperItem(recommendItem)" :data-id="recommendItem.id" :data-index="index">
                     <image class="img" :src="recommendItem.logoUrl" mode="aspectFill"></image>
                     <view class="subject">{{recommendItem.companyName}}</view>
@@ -78,7 +78,7 @@
       
       <!-- ###################################-- 招聘就业岗位 -- ################################### -->
       <view class="recruitment-dataarea">
-        <view class="recruitment-dataarea-card" v-for="(item,index) in recruitmentJobList" :key="index" @tap="tapDataAreaCard(item)">
+        <view class="recruitment-dataarea-card" v-for="(item,index) in recruitmentJobList" :key="'recruitmentJobList' + index" @tap="tapDataAreaCard(item)">
           <view class="dataarea-card-left">
             <image :src="item.companyLogoUrl" mode="aspectFill" class="image"></image>
           </view>
@@ -89,7 +89,7 @@
               <view >{{item.companyName}}</view>
             </view>
             <view class="dataarea-content-right">
-              <view>{{item.salary}}</view>
+              <view>{{item.lowestSalary}}k~{{item.highestSalary}}k</view>
               <view>&nbsp;</view>
               <view>{{item.createTime}}</view>
             </view>
@@ -244,7 +244,6 @@
               name: "代码固定测试999999"
             }
           );
-					console.log('bannerList',JSON.parse(JSON.stringify(res)));
 				})
 			},
 			// 轮播图点击
@@ -353,11 +352,10 @@
         });
       },
       tapDataAreaCard(param){
-        console.log("tapDataAreaCard: ",param);
         this.$u.route({
         	url: 'pages/jobDetails/jobDetails',
         	params: {
-        	  item: JSON.stringify(param)
+            id: param?.id
         	}
         });
       }