当前位置:网站首页>视频直播源码,uni-app实现广告滚动条
视频直播源码,uni-app实现广告滚动条
2022-07-27 19:19:00 【云豹网络科技】
视频直播源码,uni-app实现广告滚动条
HTML
<view class="scroll_box">
<swiper class="swiper" circular="true" vertical="true" :previous-margin='50+"rpx"' :next-margin='50+"rpx"'
:autoplay="true" disable-touch='false' :interval="3000" :duration="2000" @change='EventHandle'>
<swiper-item v-for="(item,index) in list" :key="index">
<view :class="current==index?'swiper-item':'' ">{
{
item}}</view>
</swiper-item>
</swiper>
</view>
CSS
.scroll_box {
background: #FFFFFF;
margin: 30rpx;
border-radius: 10rpx;
.swiper {
height: 150rpx;
}
.swiper-item {
background-color: #FECA71;
font-size: 32rpx;
}
}
以上就是 视频直播源码,uni-app实现广告滚动条,更多内容欢迎关注之后的文章
边栏推荐
- Tencent cloud [hiflow] | automation --------- hiflow: still copying and pasting?
- Software test interview question: suppose there is a text box that requires the input of a 10 character postal code, how should the text box be divided into equivalent classes?
- [numerical analysis exercise] numerical integration (complex trapezoid, complex Simpson, Romberg integral) C with STL implementation
- 2021-11-05理解main方法语法、代码块及final关键字
- How long will it take to learn the four redis cluster solutions? I'll finish it for you in one breath
- JVM garbage collection garbage collector and common combination parameters
- How can anyone ask how MySQL archives data?
- 关系型数据库的设计思想,20张图给你看的明明白白
- 二维数组的基本用法
- Software testing interview question: what is regression testing?
猜你喜欢

8000字讲透OBSA原理与应用实践

How to customize logging of.Net6.0

Pytoch distributed training

Simple use of enum

Station B collapsed. What did the developer responsible for the repair do that night?

对象在内存中存在形式&内存分配机制

C language output teaching calendar

An article takes you into the world of pycharm - stop asking me about pycharm installation and environment configuration!!!

B站崩了,那晚负责修复的开发人员做了什么?

In addition to "adding machines", in fact, your micro service can be optimized like this
随机推荐
Log4j vulnerability is still widespread and continues to cause impact
递归/回溯刷题(上)
为什么服务端程序都需要先 listen 一下
An article takes you into the world of pycharm - stop asking me about pycharm installation and environment configuration!!!
IDEA常用快捷键及设置方法
怎么还有人问 MySQL 是如何归档数据的呢?
Who is the sanctity of the six Chinese enterprises newly sanctioned by the United States?
Technology Management - we must focus on the big and let go of the small
除了「加机器」,其实你的微服务还能这样优化
微软商店无法下载应用,VS2019无法下载插件问题解决方案
腾讯云[HiFlow】| 自动化 -------HiFlow:还在复制粘贴?
JVM memory model interview summary
What is modcount in the source code? What's the effect
ThreadLocal principle and source code analysis (click in step by step, don't recite, learn ideas)
@Component可以和@Bean 用在同一个类上吗?
Under the epidemic, the mobile phone supply chain and offline channels are blocked! Sales plummeted and inventory was serious!
二维数组的基本用法
每条你收藏的资讯背后,都离不开TA
IDEA连接MySQL数据库并执行SQL查询操作
Form of objects in memory & memory allocation mechanism