pis类名修改避免污染
This commit is contained in:
parent
b94acfb533
commit
be0a8cc9da
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="wrapper">
|
||||
<div class="content" :class="{ animation: animation }" :style="`transform: translateX(-${currentIndex}00%)`">
|
||||
<div class="slidecontent" :class="{ animation: animation }" :style="`transform: translateX(-${currentIndex}00%)`">
|
||||
<template v-for="(path, idx) in _paths">
|
||||
<img class="img" :src="idx - currentIndex < 3 ? `${prefix}${path}` : ''" :key="`${path}${idx}`" />
|
||||
</template>
|
||||
@ -76,7 +76,7 @@ export default {
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
.content {
|
||||
.slidecontent {
|
||||
height: 100%;
|
||||
white-space: nowrap;
|
||||
.img {
|
||||
|
Loading…
Reference in New Issue
Block a user