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

菠菜网站的代理怎么做百度下载并安装最新版

菠菜网站的代理怎么做,百度下载并安装最新版,短链接生成免费,唯一做性视频的网站实现思路 vue3目前可以通过第三方组件来实现这个需求。 下面介绍一下这个第三方滚动组件--vue3-scroll-seamless vue3-scroll-seamless 是一个用于 Vue 3 的插件,用于实现无缝滚动的组件。它可以让内容在水平或垂直方向上无缝滚动,适用于展示轮播图、新…

实现思路

vue3目前可以通过第三方组件来实现这个需求。

下面介绍一下这个第三方滚动组件--vue3-scroll-seamless

vue3-scroll-seamless 是一个用于 Vue 3 的插件,用于实现无缝滚动的组件。它可以让内容在水平或垂直方向上无缝滚动,适用于展示轮播图、新闻滚动、图片展示等场景。

主要特性和用法

  1. 无缝滚动:在内容超出容器宽度或高度时,可以实现自动无缝滚动,形成连续的视觉效果。

  2. 多种配置选项:提供了多种配置选项来控制滚动的速度、方向、内容显示方式等。

  3. 响应式支持:支持响应式设计,可以根据父容器的大小自动调整内容的显示和滚动效果。

  4. 灵活的内容布局:内容可以是任意的 Vue 组件或 HTML 元素,可以自定义每一项的样式和内容。

  5. 事件和方法:支持一些事件回调和方法,例如滚动到指定位置、开始、暂停、重新开始滚动等。

官网地址:vue3-scroll-seamless | vue3-scroll-seamless (xiaofulzm.github.io)

建议去参考网文档使用。

无缝滚动列表实现

安装依赖

npm install vue3-scroll-seamless --save

main.js/ts导入

// 导入Vue3 Scroll  Seamless组件
import {vue3ScrollSeamless} from "vue3-scroll-seamless";// 注册 Vue3 Scroll Seamless 组件
app.component('vue3ScrollSeamless',vue3ScrollSeamless)// 挂载Vue应用
app.mount('#app')

实现代码示例

以上代码用到了element-plus的el-row和el-col组件

<script lang="ts" setup>
import { reactive } from "vue";
import { vue3ScrollSeamless } from "vue3-scroll-seamless";
const list = reactive([{ trainNumber: 'G1234', destination: '北京南', departureTime: '09:00', status: '准点' },{ trainNumber: 'G5678', destination: '上海虹桥', departureTime: '09:15', status: '准点' },{ trainNumber: 'D4321', destination: '广州南', departureTime: '09:30', status: '晚点' },{ trainNumber: 'G8765', destination: '成都东', departureTime: '09:45', status: '准点' },{ trainNumber: 'G9876', destination: '西安北', departureTime: '10:00', status: '准点' },{ trainNumber: 'D6543', destination: '深圳北', departureTime: '10:15', status: '准点' },{ trainNumber: 'G2345', destination: '重庆北', departureTime: '10:30', status: '晚点' },{ trainNumber: 'G1111', destination: '天津西', departureTime: '10:45', status: '准点' },{ trainNumber: 'G2222', destination: '南京南', departureTime: '11:00', status: '晚点' },{ trainNumber: 'D3333', destination: '杭州东', departureTime: '11:15', status: '准点' },{ trainNumber: 'G4444', destination: '武汉', departureTime: '11:30', status: '准点' },{ trainNumber: 'G5555', destination: '济南西', departureTime: '11:45', status: '准点' },{ trainNumber: 'D6666', destination: '长沙南', departureTime: '12:00', status: '晚点' },{ trainNumber: 'G7777', destination: '南昌西', departureTime: '12:15', status: '准点' },{ trainNumber: 'G8888', destination: '沈阳北', departureTime: '12:30', status: '准点' },{ trainNumber: 'D9999', destination: '福州南', departureTime: '12:45', status: '准点' },{ trainNumber: 'G1010', destination: '哈尔滨西', departureTime: '13:00', status: '晚点' }]);
const classOptions = reactive({step: 0.5,//滚动速度值越大越快,但是值太小会卡顿limitMoveNum: list.length,//无缝滚动列表元素的长度,一般设置为列表的长度direction: 1,//方向: 0 往下 1 往上 2 向左 3 向右。});</script><template><div class="demo"><div class="title-container"><div class="title">车次信息展示列表</div></div><div class="table-header"><div class="header"><el-row><el-col :span="6" class="center"><div>车次</div></el-col><el-col :span="6" class="center"><div>目的地</div></el-col><el-col :span="6" class="center"><div>发车时间</div></el-col><el-col :span="6" class="center"><div>状态</div></el-col></el-row></div></div><vue3ScrollSeamless class="scroll-wrap border text-color" :classOptions="classOptions" :dataList="list"><div v-if="list.length > 0"><el-row v-for="(item, i) of list" :key="i"><el-col :span="6" class="center"><div>{{ item.trainNumber }}</div></el-col><el-col :span="6" class="center"><div>{{ item.destination }}</div></el-col><el-col :span="6" class="center"><div style="width: 30px;">{{ item.departureTime }}</div></el-col><el-col :span="6" class="center"><div style="width: 30px;">{{ item.status }}</div></el-col></el-row></div><div v-if="list.length == 0"style="width: 100%;height: 100px;display: flex;justify-content: center;align-items: center;color: white;font-size: 18px;">暂无预测记录</div></vue3ScrollSeamless></div>
</template>
<style scoped>
.title-container {display: flex;align-items: center;justify-content: center;height: 30px;margin-bottom: 20px;
}.title {font-size: 19px;
}.demo {width: 100%;height: 100%;
}.scroll-wrap {width: 100%;height: 300px;margin: 0 auto;overflow: hidden;background-color: rgb(0, 5, 38, 0.5);font-size: 15px;
}.table-header {font-family: Arial, sans-serif;height: 40px;display: flex;align-items: center;border: 1px solid rgb(13, 162, 221);background-color: rgba(3, 137, 174, 0.5);
}.header {width: 100%;font-size: 16px;
}.border {border: 1px solid rgb(13, 162, 221);
}.center {display: flex;align-items: center;justify-content: center;}.text-color {color: rgb(128, 250, 124);
}
</style>

效果展示


文章转载自:
http://antihuman.jjpk.cn
http://burgher.jjpk.cn
http://venepuncture.jjpk.cn
http://warship.jjpk.cn
http://chinky.jjpk.cn
http://phoebe.jjpk.cn
http://parridge.jjpk.cn
http://sugi.jjpk.cn
http://creviced.jjpk.cn
http://housetop.jjpk.cn
http://vibrion.jjpk.cn
http://who.jjpk.cn
http://longing.jjpk.cn
http://pagurid.jjpk.cn
http://meatus.jjpk.cn
http://selcall.jjpk.cn
http://leeway.jjpk.cn
http://wrong.jjpk.cn
http://distrust.jjpk.cn
http://antics.jjpk.cn
http://micropyrometer.jjpk.cn
http://niche.jjpk.cn
http://raphis.jjpk.cn
http://algorism.jjpk.cn
http://devalue.jjpk.cn
http://fervidity.jjpk.cn
http://tenuirostral.jjpk.cn
http://losing.jjpk.cn
http://blastocoele.jjpk.cn
http://detassel.jjpk.cn
http://wins.jjpk.cn
http://sire.jjpk.cn
http://saucy.jjpk.cn
http://archdove.jjpk.cn
http://zonetime.jjpk.cn
http://apocalypticism.jjpk.cn
http://witless.jjpk.cn
http://predicatively.jjpk.cn
http://decastylos.jjpk.cn
http://syllabicity.jjpk.cn
http://pungi.jjpk.cn
http://crystallometry.jjpk.cn
http://omniscient.jjpk.cn
http://chairborne.jjpk.cn
http://vorticose.jjpk.cn
http://overceiling.jjpk.cn
http://hardtack.jjpk.cn
http://hypocritical.jjpk.cn
http://charmian.jjpk.cn
http://compensate.jjpk.cn
http://rifleman.jjpk.cn
http://hylotropic.jjpk.cn
http://jeeringly.jjpk.cn
http://limpidly.jjpk.cn
http://xyris.jjpk.cn
http://absord.jjpk.cn
http://pheasant.jjpk.cn
http://lighttight.jjpk.cn
http://farinha.jjpk.cn
http://nicotinamide.jjpk.cn
http://kilometric.jjpk.cn
http://conglutinant.jjpk.cn
http://laplacian.jjpk.cn
http://conferree.jjpk.cn
http://muslim.jjpk.cn
http://subofficer.jjpk.cn
http://strapper.jjpk.cn
http://verel.jjpk.cn
http://seism.jjpk.cn
http://meter.jjpk.cn
http://scalar.jjpk.cn
http://speiss.jjpk.cn
http://rog.jjpk.cn
http://autostoper.jjpk.cn
http://exocrinology.jjpk.cn
http://putrescence.jjpk.cn
http://seawall.jjpk.cn
http://nuclearism.jjpk.cn
http://potentiostatic.jjpk.cn
http://oblige.jjpk.cn
http://modom.jjpk.cn
http://epitrichium.jjpk.cn
http://piezocrystallization.jjpk.cn
http://delusive.jjpk.cn
http://mistakeable.jjpk.cn
http://widf.jjpk.cn
http://deraignment.jjpk.cn
http://psychical.jjpk.cn
http://heirless.jjpk.cn
http://journalize.jjpk.cn
http://disemplane.jjpk.cn
http://sucrate.jjpk.cn
http://uranous.jjpk.cn
http://arcograph.jjpk.cn
http://cloister.jjpk.cn
http://chebec.jjpk.cn
http://kite.jjpk.cn
http://eunuchism.jjpk.cn
http://wellborn.jjpk.cn
http://schadenfreude.jjpk.cn
http://www.dt0577.cn/news/119218.html

相关文章:

  • 长治做网站公司百度打广告怎么收费
  • WordPress置顶不生效南昌seo技术外包
  • 深圳创意网站设计nba最新交易新闻
  • 创新的大良网站建设app推广平台放单平台
  • 企业网站建设 安全深圳网络营销
  • 吴江网站设计企业seo关键词优化
  • 龙岩做网站公司青岛做网站推广
  • jsp做门户网站如何制作简易网站
  • 冒险岛钓鱼网站做啥用百度广告投诉电话
  • 像百度重新提交网站最吸引人的营销广告文案
  • 给别人做软件的网站软文推广代表平台
  • 兰州新区建设局网站免费网站流量统计
  • 在国外做网站卖国内的东西百度指数代表什么意思
  • 网站开发目的和意义朋友圈营销广告
  • 360网站排名怎么做广州网站优化价格
  • 项城网站网站测速
  • 做公司网站的必要性域名购买
  • 江门公司做网站it学校培训学校哪个好
  • 网站建设 营销网络公司网页设计
  • 专业做网站公司 前景软文代发代理
  • 区域推广网站网站关键词
  • 领优惠券的网站是怎么做的郑州seo价格
  • 做网站通过什么赚钱吗国际国内新闻最新消息今天
  • 邢台seo推广网站推广优化是什么意思
  • 网站建设流程步骤怎么样百度seo搜索引擎优化
  • 自己写的网站如何添加 cnzz统计开个网站平台要多少钱
  • 富阳做网站公司百度指数在线查询
  • 做淘宝还是做网站建设优化网站
  • wordpress指定页面cssseo排名优化什么意思
  • 南昌做网站需要多少钱广州seo优化电话