Xiao_123 8 mesiacov pred
rodič
commit
5555fa43c3

+ 5 - 4
components/PositionList/index.vue

@@ -1,15 +1,16 @@
 <template>
   <view v-if="list.length > 0">
-    <view v-for="(item, index) in list" :key="index" @click="toDetail(1, item)">
+    <view v-for="(item, index) in list" :key="index">
       <!-- 职位信息 -->
-      <view class="list-shape">
+      <view class="list-shape" @click="toDetail(1, item)">
         <!-- 职位 -->
         <view class="titleBox my-5">
           <view class="d-flex align-center">
+            <uni-icons v-if="item.job?.hire" class="icon-a-1_zhaopin ss-m-r-10" custom-prefix="iconfont" color="#e03506" size="25"/>
             <view style="font-size: 16px;font-weight: 700;color: black;">{{item.job?.name}}</view>
             <template v-if="item.job?.hire">
-              <uni-icons class="icon-a-1_zhaopin" custom-prefix="iconfont" color="#e03506"/>
-              <uni-tag 
+              <uni-tag
+                class="ss-m-l-10"
                 v-if="item?.job?.hirePrice && item?.job?.hirePrice > 0" 
                 :text="`赏金:${commissionCalculation(item.job.hirePrice, 1)}元`"
                 inverted="false"

+ 1 - 2
pagesB/positionDetail/index.vue

@@ -5,6 +5,7 @@
       <view v-else>
         <!-- 职位名称 + 薪资 -->
         <view class="d-flex justify-space-between">
+          <uni-icons class="icon-a-1_zhaopin" custom-prefix="iconfont" color="#e03506" size="30"/>
           <h2 class="JobName ellipsis">
             {{ info.name }}
           </h2>
@@ -48,7 +49,6 @@
         </view>
         <!-- 赏金 -->
         <view class="topLine mt-5" style="display: flex; align-items: center;">
-          <uni-icons class="icon-a-1_zhaopin" custom-prefix="iconfont" color="#e03506"/>
           <view class="hirePrice">{{ `赏金:${commissionCalculation(2000, 1)}元` }}</view>
         </view>
         <!-- 岗位职责 +  -->
@@ -198,7 +198,6 @@ const desc = [
   color: #ff250e;
   border-radius: 5px;
   font-size: 14px;
-  margin-left: 8px;
   margin-top: 4px;
 }