Browse Source

动效修改

master
x_ying 2 years ago
parent
commit
b9167ffd07
  1. 2
      src/assets/styles/index.scss
  2. 2
      src/views/newBookRecommend.vue
  3. 6
      src/views/notice.vue
  4. 2
      src/views/readStar.vue

2
src/assets/styles/index.scss

@ -17,7 +17,7 @@
.header-title{ .header-title{
width: 100%; width: 100%;
height: 1.125rem; height: 1.125rem;
background: url('~@/assets/images/top.png') no-repeat center center;
background: url('~@/assets/images/top.png') no-repeat center -5px;
background-size: cover; background-size: cover;
h2{ h2{
font-size: 0.6rem; font-size: 0.6rem;

2
src/views/newBookRecommend.vue

@ -14,7 +14,7 @@
<use xlink:href="#icon-a-no1" /> <use xlink:href="#icon-a-no1" />
</svg> </svg>
<svg v-if="item.ranking === 2" class="icon" aria-hidden="true"> <svg v-if="item.ranking === 2" class="icon" aria-hidden="true">
<use xlink:href="#icon-a-no2" />
<use xlink:href="#icon-a-no21" />
</svg> </svg>
<svg v-if="item.ranking === 3" class="icon" aria-hidden="true"> <svg v-if="item.ranking === 3" class="icon" aria-hidden="true">
<use xlink:href="#icon-a-no3" /> <use xlink:href="#icon-a-no3" />

6
src/views/notice.vue

@ -37,9 +37,9 @@ export default {
// //
dataCompleteFun() { dataCompleteFun() {
this.scrollDom = this.$refs.noticetxt this.scrollDom = this.$refs.noticetxt
this.interval = 3000
this.timeout = 3000
this.step = 24
this.interval = 150
this.timeout = 5000
this.step = 1
// //
this.autoScroll() this.autoScroll()
} }

2
src/views/readStar.vue

@ -53,7 +53,7 @@ export default {
this.timeout = 2000 this.timeout = 2000
this.step = 1 this.step = 1
// //
this.autoScroll()
// this.autoScroll()
} }
} }

Loading…
Cancel
Save