Browse Source

改变滚动方向

master
[liang] 3 years ago
parent
commit
7fba7a438e
  1. 16
      src/components/seamless/index.vue

16
src/components/seamless/index.vue

@ -38,16 +38,11 @@ export default {
},
data() {
return {
}
},
computed: {
optionSetting() {
return {
optionSetting: {
step: 0.5, //
limitMoveNum: 2, // this.dataList.length
limitMoveNum: this.listData.length, // this.dataList.length
hoverStop: false, // stop
direction: 1, // 0 1 2 3
direction: 0, // 0 1 2 3
// autoPlay: false,
openWatch: true, // dom
singleHeight: 0, // (0) direction => 0/1
@ -55,6 +50,9 @@ export default {
waitTime: 1000 // (1000ms)
}
}
},
computed: {
},
mounted() {
@ -87,7 +85,7 @@ export default {
font-size: 0.25rem;
color: #fff;
background: url(../../assets/img/brand/parkIngo.png) no-repeat;
background-size: 9.8rem 0.7rem;
background-size: 9.8rem 0.7rem;
}
.sn-body {

Loading…
Cancel
Save