Browse Source

分享按钮

Xiao_123 10 months ago
parent
commit
9d22542937

+ 0 - 1
src/views/recruit/enterprise/systemManagement/groupAccount/index.vue

@@ -214,5 +214,4 @@ const handleSubmit = async () => {
 </script>
 
 <style scoped lang="scss">
-
 </style>

+ 7 - 3
src/views/recruit/personal/position/components/details.vue

@@ -22,8 +22,11 @@
       </div>
       <div class="d-flex justify-space-between mb-5">
         <div>
-          <v-chip v-if="info.hire && info.hirePrice && info.hirePrice > 0" label color="primary">赏金:{{ commissionCalculation(info.hirePrice, 1) }}元</v-chip>
-          <v-chip v-if="info.hire && info.hirePoint && info.hirePoint > 0" label color="primary" class="ml-1">积分:{{ commissionCalculation(info.hirePoint, 1) }}点</v-chip>
+          <div>
+            <v-chip v-if="info.hire && info.hirePrice && info.hirePrice > 0" label color="primary">赏金:{{ commissionCalculation(info.hirePrice, 1) }}元</v-chip>
+            <v-chip v-if="info.hire && info.hirePoint && info.hirePoint > 0" label color="primary" class="ml-1">积分:{{ commissionCalculation(info.hirePoint, 1) }}点</v-chip>
+          </div>
+          <div v-if="info?.hire" class="font-size-14 mt-3 color-error">推荐好友入职即可获得赏金</div>
         </div>
         <div class="banner-tools-btns">
           <v-btn
@@ -32,10 +35,11 @@
             color="error"
             prepend-icon="mdi-share-outline"
             style="height: 36px;"
-            v-if="info?.hire && info?.hirePrice && info?.hirePrice > 0"
+            v-if="info?.hire"
             @click="handleShare"
           >我要赏金</v-btn>
           <v-btn
+            v-else
             class="radius mr-2 button-item"
             variant="outlined"
             color="error"