uni–横向滑动

html;gutter:true; {{item.name}}</p> <pre><code> ;gutter:true;

html;gutter:true;undefined

html;gutter:true;
.content-box-scroll {
height: 120rpx;
display: flex;
align-items: center;
}
.btn-sty-yel-two {
display: inline-block; // 非常重要与 display: inline 相比,主要区别在于 display: inline-block 允许在元素上设置宽度和高度。用通俗的话讲,就是不独占一行的块级元素
height: 60rpx;
width: 200rpx;
border-radius: 5rpx;
margin-left: 10rpx;
margin-right: 10rpx;
.btn-sty-yel-two-childern {
font-size: 30rpx;
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
}

.no-select-bg {
border: 1rpx solid #FFFFFF;
color: #FFFFFF;
opacity: 0.8;
}
.select-bg {
color: #5857D7;
background: #FFFFFF;
}

Original: https://www.cnblogs.com/fdxjava/p/15657761.html
Author: 小白咚
Title: uni–横向滑动

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/539043/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

亲爱的 Coder【最近整理,可免费获取】👉 最新必读书单  | 👏 面试题下载  | 🌎 免费的AI知识星球