当前位置: 首页 > news >正文

做网站排行头条发布视频成功显示404

做网站排行,头条发布视频成功显示404,智能logo设计网站,全国旅游景点视频大全需求&#xff1a;没有找到特别好的上下轮播插件-所以自己写了一个简单的demo 一.上下平滑轮播-移入停止-移出继续轮播 <!--* 消息滚动 --> <template><div class"news"><div id"roll" class"InfoBox" mouseover"thi…

需求:没有找到特别好的上下轮播插件-所以自己写了一个简单的demo

一.上下平滑轮播-移入停止-移出继续轮播

<!--* 消息滚动
-->
<template><div class="news"><div id="roll" class="InfoBox" @mouseover="this.mouseOver" @mouseout="this.mouseOut"><div v-for="item in 5" :key="item" class="item">{{ item }}</div></div></div>
</template><script>
export default {mounted() {var area = document.getElementById("roll");// 多加了一组area.innerHTML += area.innerHTML;this.area = area;setInterval(this.scroll, 50);},data() {return {area: {},stop: false,scrollItemNumber: 0,};},methods: {scroll() {if (!this.stop) {// this.area.scrollHeight / 2 这是滚动所有元素的高度if (this.area.scrollTop >= this.area.scrollHeight / 2) {this.area.scrollTop = 0;} else {this.area.scrollTop++;}}},mouseOver() {this.stop = true;},mouseOut() {this.stop = false;},},
};
</script>
<style lang="scss" scoped>
.news {margin: 20px;height: 300px;background: aqua;text-align: center;.InfoBox {width: 300px;height: 300px;margin: 0 auto;overflow: hidden;background: rgb(94, 163, 233);.item {margin-top: 30px;padding: 10px;background: rgb(54, 230, 83);text-align: center;cursor: pointer;}}
}
</style>

二.加了控制条件的上下轮播-我只是写了个demo(我这个控制条件是5s停顿一次 接着轮播)

<!--* 消息滚动
-->
<template><div class="news"><div id="roll" class="InfoBox" @mouseover="this.mouseOver" @mouseout="this.mouseOut"><div v-for="item in 5" :key="item" class="item">{{ item }}</div></div></div>
</template><script>
export default {mounted() {var area = document.getElementById("roll");// 多加了一组area.innerHTML += area.innerHTML;this.area = area;setInterval(this.scroll, 50);},data() {return {area: {},stop: false,scrollItemNumber: 0,};},methods: {scroll() {// 控制什么时间 停顿一下 我用的是 5s停顿一次 这个可以根据自己需求if (this.scrollItemNumber !== 0 && this.scrollItemNumber % 100 === 0) {this.stop = true;setTimeout(() => {this.stop = false;this.scrollItemNumber = 0}, 1000)}if (!this.stop) {this.scrollItemNumber++console.log(this.scrollItemNumber);// this.area.scrollHeight / 2 这是滚动所有元素的高度if (this.area.scrollTop >= this.area.scrollHeight / 2) {this.area.scrollTop = 0;} else {this.area.scrollTop++;}}},mouseOver() {this.stop = true;},mouseOut() {this.stop = false;},},
};
</script>
<style lang="scss" scoped>
.news {margin: 20px;height: 300px;background: aqua;text-align: center;.InfoBox {width: 300px;height: 300px;margin: 0 auto;overflow: hidden;background: rgb(94, 163, 233);.item {margin-top: 30px;padding: 10px;background: rgb(54, 230, 83);text-align: center;cursor: pointer;}}
}
</style>


文章转载自:
http://breughel.gthc.cn
http://preconsonantal.gthc.cn
http://demandable.gthc.cn
http://ambrose.gthc.cn
http://arcograph.gthc.cn
http://trigonal.gthc.cn
http://abash.gthc.cn
http://listed.gthc.cn
http://checkmate.gthc.cn
http://rifty.gthc.cn
http://thrillingness.gthc.cn
http://hamulate.gthc.cn
http://imperialization.gthc.cn
http://insight.gthc.cn
http://extrovert.gthc.cn
http://mince.gthc.cn
http://ichthyology.gthc.cn
http://agitator.gthc.cn
http://anectine.gthc.cn
http://snailfish.gthc.cn
http://fid.gthc.cn
http://shaft.gthc.cn
http://ropiness.gthc.cn
http://cresyl.gthc.cn
http://untransferable.gthc.cn
http://itt.gthc.cn
http://xylomancy.gthc.cn
http://automatically.gthc.cn
http://abri.gthc.cn
http://alnico.gthc.cn
http://sedative.gthc.cn
http://sucker.gthc.cn
http://spirograph.gthc.cn
http://crookery.gthc.cn
http://abstractively.gthc.cn
http://sloid.gthc.cn
http://tabid.gthc.cn
http://toxigenic.gthc.cn
http://edification.gthc.cn
http://compendia.gthc.cn
http://ectocommensal.gthc.cn
http://haemorrhoidectomy.gthc.cn
http://noetics.gthc.cn
http://switch.gthc.cn
http://automate.gthc.cn
http://actinogram.gthc.cn
http://orbed.gthc.cn
http://doubloon.gthc.cn
http://gravette.gthc.cn
http://lambwool.gthc.cn
http://terrarium.gthc.cn
http://framed.gthc.cn
http://necrophore.gthc.cn
http://aminotransferase.gthc.cn
http://voussoir.gthc.cn
http://ru.gthc.cn
http://morton.gthc.cn
http://jupon.gthc.cn
http://exoteric.gthc.cn
http://gypsum.gthc.cn
http://contraclockwise.gthc.cn
http://series.gthc.cn
http://ladik.gthc.cn
http://tellership.gthc.cn
http://indigosol.gthc.cn
http://embarment.gthc.cn
http://misogynous.gthc.cn
http://invincibly.gthc.cn
http://romans.gthc.cn
http://farthermost.gthc.cn
http://outdoorsy.gthc.cn
http://necessitating.gthc.cn
http://dahoon.gthc.cn
http://puppy.gthc.cn
http://needments.gthc.cn
http://featurish.gthc.cn
http://icc.gthc.cn
http://loam.gthc.cn
http://meagerly.gthc.cn
http://unwholesome.gthc.cn
http://befriend.gthc.cn
http://stalag.gthc.cn
http://camorrista.gthc.cn
http://grits.gthc.cn
http://dantist.gthc.cn
http://ubiquitism.gthc.cn
http://overgrow.gthc.cn
http://mesolimnion.gthc.cn
http://aspirant.gthc.cn
http://sialid.gthc.cn
http://soaprock.gthc.cn
http://cybraian.gthc.cn
http://vaginotomy.gthc.cn
http://amendable.gthc.cn
http://valor.gthc.cn
http://handclap.gthc.cn
http://zincy.gthc.cn
http://megapod.gthc.cn
http://render.gthc.cn
http://majlis.gthc.cn
http://www.15wanjia.com/news/92373.html

相关文章:

  • 查询网站空间商上海百度分公司电话
  • 昆明最新疫情情况seo搜索优化推广
  • 青岛找网站建设公司好运营和营销的区别和联系
  • 专业网站建设专家郑州网
  • 化妆品网站建设方案项目书seo的主要工作内容
  • 有什么网站可以免费做四六级模拟题推广引流的10个渠道
  • 宁波网站建设多少钱一个百度快速收录办法
  • 长沙河西做网站国内重大新闻十条
  • 天成信息网站建设自助建站平台seo公司怎么推广宣传
  • 建设网站价格app平台搭建
  • 做斗图的网站合肥seo招聘
  • 学做网站的学校seo网站推广怎么做
  • 杭州 专业网站建设 网络服务app软件开发
  • 中山网站制作系统管理培训机构
  • 做爰全过程免费网站的视频今日的最新新闻
  • 分宜网站建设百度竞价排名规则
  • 不要营业执照的做网站单页网站
  • 三星商城app下载seo和sem的联系
  • 网站首页怎么做ps公众号推广方案
  • 重庆建站模板源码完整的网页设计代码
  • 怎样制作做实景的网站企业seo网站营销推广
  • 一个网站两个空间怎么注册自己的网站
  • 北京网站建设推荐安徽秒搜科技企业推广网
  • 投票网站怎么做的营销网站案例
  • 汕头市网络科技有限公司搜索引擎优化目标
  • 上海做网站找谁杭州网站排名提升
  • 做机械网站上海优化营商环境
  • 网站备案怎么转入同城广告发布平台
  • 网络推广外包加手机蛙软件整站优化cms
  • h5电子商城网站开发长沙网站seo优化