|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div style="position: relative;">
|
|
|
<div class="banner px-6" id="share" :class="{'default-width': defaultWidth}">
|
|
|
- <div class="sticky">
|
|
|
+ <div class="sticky" :style="{'top': isRecommend ? '0' : '50px'}">
|
|
|
<div class="banner-title d-flex justify-space-between align-center pt-5">
|
|
|
<div class="d-flex align-center justify-between">
|
|
|
<svg-icon v-if="info?.hire" class="mr-5" name="pin" size="50"></svg-icon>
|
|
@@ -553,7 +553,6 @@ const toDetails = async (info) => {
|
|
|
<style lang="scss" scoped>
|
|
|
.sticky {
|
|
|
position: sticky;
|
|
|
- top: 50px;
|
|
|
background-color: #fff;
|
|
|
z-index: 1;
|
|
|
}
|