maochaoying 2 years ago
parent
commit
e8b41d696e
  1. 7
      src/components/Trumbs/index.vue

7
src/components/Trumbs/index.vue

@ -1,7 +1,7 @@
<template> <template>
<div class="trumbs_container"> <div class="trumbs_container">
<swiper <swiper
:slidesPerView="9"
:slidesPerView="7"
:freeMode="true" :freeMode="true"
:modules="modules" :modules="modules"
:autoHeight="true" :autoHeight="true"
@ -14,7 +14,7 @@
? case_detail_img_data[industry_id] ? case_detail_img_data[industry_id]
: hard_img_data[hardware_id]" : hard_img_data[hardware_id]"
:key="item.id" :key="item.id"
style="background: none; width: auto !important"
style="background: none"
> >
<div class="img_card"> <div class="img_card">
<img :src="item.picUrl" class="img" alt="" /> <img :src="item.picUrl" class="img" alt="" />
@ -69,6 +69,9 @@ const onSwiper = swiper => {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.swiper {
width: 1594px !important;
}
.trumbs_container { .trumbs_container {
width: 100%; width: 100%;
height: 108px; height: 108px;

Loading…
Cancel
Save