Browse Source

feat: 品牌列表业态指示器宽度自适应

ShangHai_LongXiang
jiannibang 2 years ago
parent
commit
470baaeb72
  1. 9
      src/components/BrandScroll/BrandScroll.vue

9
src/components/BrandScroll/BrandScroll.vue

@ -188,7 +188,8 @@ watch([scroll, () => props.shop], () => {
pointer-events: none; pointer-events: none;
.handle { .handle {
position: absolute; position: absolute;
width: 77px;
right: 0;
min-width: 77px;
height: 32px; height: 32px;
background: center / cover no-repeat url(./handle.png); background: center / cover no-repeat url(./handle.png);
font-family: 'Montserrat'; font-family: 'Montserrat';
@ -198,10 +199,12 @@ watch([scroll, () => props.shop], () => {
line-height: 32px; line-height: 32px;
color: rgba(0, 0, 0, 0.8); color: rgba(0, 0, 0, 0.8);
text-align: center; text-align: center;
padding-right: 6px;
display: flex;
padding-right: 11px;
padding-left: 5px;
display: inline-flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
white-space: nowrap;
} }
} }
&.guide { &.guide {

Loading…
Cancel
Save