dev_202412
yujialong 11 months ago
parent 354c2f8ca2
commit 44368d96b1
  1. 2
      src/pages/activity/manage/add/index.vue
  2. 2
      src/pages/activity/manage/manage/index.vue
  3. 15
      src/pages/screen/index.vue

@ -432,7 +432,7 @@ export default {
backList () {
this.pass = true
this.updateTime = 0
this.$router.back()
this.$router.push('manage')
},
back () {
this.pass = true

@ -110,7 +110,7 @@ export default {
},
//
backPage () {
this.$router.push(`/activity/manage?page=${this.$store.state.activity.page}`)
this.$router.push(this.$store.state.activity.mgReferrer)
},
// tab
tabSwitch (i) {

@ -769,7 +769,7 @@ export default {
color2: 'rgba(150, 20, 144, 0.4)'
},
]
1
const cousrseRes = await this.$post(this.api.websiteProductList, {
pageNum: 1,
@ -1137,15 +1137,16 @@ export default {
const dom = this.$refs.popularCourses
const dom1 = this.$refs.ach
const dom2 = this.$refs.active
const unit = window.innerWidth >= 1920 ? 2 : 1
setInterval(() => {
dom.scrollTop += 1
if (dom.clientHeight + dom.scrollTop === dom.scrollHeight) dom.scrollTop = 0
dom.scrollTop += unit
if (dom.clientHeight + dom.scrollTop >= dom.scrollHeight) dom.scrollTop = 0
dom1.scrollTop += 1
if (dom1.clientHeight + dom1.scrollTop === dom1.scrollHeight) dom1.scrollTop = 0
dom1.scrollTop += unit
if (dom1.clientHeight + dom1.scrollTop >= dom1.scrollHeight) dom1.scrollTop = 0
dom2.scrollTop += 1
if (dom2.clientHeight + dom2.scrollTop === dom2.scrollHeight) dom2.scrollTop = 0
dom2.scrollTop += unit
if (dom2.clientHeight + dom2.scrollTop >= dom2.scrollHeight) dom2.scrollTop = 0
}, 30)
}
}

Loading…
Cancel
Save