浏览代码

赏金判断

lifanagju_citu 8 月之前
父节点
当前提交
a9571f7371
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pagesB/positionDetail/index.vue

+ 1 - 1
pagesB/positionDetail/index.vue

@@ -39,7 +39,7 @@
             </view>
             </view>
           </view>
           </view>
           <!-- 赏金 -->
           <!-- 赏金 -->
-          <view class="topLine mt-5" style="display: flex; align-items: center;">
+          <view v-if="info.hire" class="topLine mt-5" style="display: flex; align-items: center;">
             <uni-icons class="icon-a-1_zhaopin" custom-prefix="iconfont" color="#e03506"/>
             <uni-icons class="icon-a-1_zhaopin" custom-prefix="iconfont" color="#e03506"/>
             <view class="hirePrice">{{ `赏金:${commissionCalculation(info.hirePrice, 1)}元` }}</view>
             <view class="hirePrice">{{ `赏金:${commissionCalculation(info.hirePrice, 1)}元` }}</view>
           </view>
           </view>