Browse Source

精选企业

Xiao_123 3 months ago
parent
commit
3990045068
1 changed files with 2 additions and 3 deletions
  1. 2 3
      pagesB/recommendEnterprise/index.vue

+ 2 - 3
pagesB/recommendEnterprise/index.vue

@@ -29,7 +29,7 @@
           <view>
             <view class="list-shape" v-for="(k, i) in val.jobList" :key="k.id" @click="handleToPosition(k)" :style="{'padding-bottom': i !== val.jobList.length - 1 ? '10px' : ''}">
               <view class="titleBox my-5">
-                <view class="job-name">{{ formatName(k.name) }}</view>
+                <view class="job-name" :style="{'max-width': !k.payFrom && !k.payTo ? '65vw' : '50vw'}">{{ formatName(k.name) }}</view>
                 <span v-if="!k.payFrom && !k.payTo" class="salary-text">面议</span>
                 <span v-else class="salary-text">{{ k.payFrom }}-{{ k.payTo }}{{ k.payName ? '/' + k.payName : '' }}</span>
               </view>
@@ -131,10 +131,9 @@ const handleToPosition = (k) => {
   font-weight: 700;
 }
 .job-name {
-  font-size: 16px;
+  font-size: 30rpx;
   font-weight: 700;
   color: #345768;
-  max-width: 50vw;
   overflow: hidden;
   white-space: nowrap;
   text-overflow: ellipsis;