소스 검색

首页-查看更多按钮样式统一

Xiao_123 2 달 전
부모
커밋
a268d8ce88

+ 1 - 1
src/views/recruit/personal/home/components/hotPromotedPositions.vue

@@ -19,7 +19,7 @@
     </v-window>
     <div class="text-center mt-4" style="border-top: 1px solid #ccc; padding-top: 30px;">
       <v-hover v-slot="{ isHovering, props }">
-        <v-btn v-bind="props" v-ripple.center class="buttons btnColor" :class="isHovering ? 'elevation-10' : 'elevation-5'" @click.stop="handleToMore">{{ $t('position.moreBtn') }}</v-btn>
+        <v-btn v-bind="props" v-ripple.center color="primary" width="224" :class="isHovering ? 'elevation-10' : 'elevation-5'" @click.stop="handleToMore">{{ $t('position.moreBtn') }}</v-btn>
       </v-hover>
     </div>
   </div>

+ 1 - 1
src/views/recruit/personal/home/components/popularEnterprises.vue

@@ -10,7 +10,7 @@
     <Empty v-else :elevation="false" class="mt-3" message="暂无精选企业"></Empty>
     <div v-if="items.length" class="text-center">
       <v-hover v-slot="{ isHovering, props }">
-        <v-btn v-bind="props" v-ripple.center class="buttons btnColor" :class="isHovering ? 'elevation-10' : 'elevation-5'" @click.stop="handleToMore">{{ $t('enterprise.moreBtn') }}</v-btn>
+        <v-btn v-bind="props" v-ripple.center color="primary" width="224" :class="isHovering ? 'elevation-10' : 'elevation-5'" @click.stop="handleToMore">{{ $t('enterprise.moreBtn') }}</v-btn>
       </v-hover>
     </div>
   </div>