当前位置:网站首页>Uniapp uses uview to realize folding panel
Uniapp uses uview to realize folding panel
2022-07-19 05:11:00 【A young man】
Recently, I haven't taken notes for a long time due to various reasons , Today, I will simply record a small technical point encountered in the development of these two days . In the use of uniapp When developing projects, you will definitely use UI frame ,uview Is aimed at uniapp tailor-made , Here I won't write how to install , See the document for details .
Yesterday, a folding effect was to be achieved in the development , Use uview in Collapse Folding panel , however Collapse By default, the folding panel has a background color when clicked , The background color is not required according to the demand , according to api Property to set , It's no use discovering .isLink by false when The arrow is not displayed but can be folded ,clickable by false When clicking collapse, the background color still exists .
The last guess is uview The version is too low , After installing the latest version , The results are the same . How irritating !
After various debugging , Finally, use /deep/ Style depth coverage solves .
.u-collapse-item /deep/ .u-cell {
background: #232026 !important;
}
边栏推荐
- es6新增-数组/对象的解构赋值
- uniapp 使用uview实现折叠面板
- Three high concurrency methods to realize I++
- Harmonyos second training notes
- Internship project 3- change owner
- [batch] batch delete intermediate folder - personal research script
- 卷积神经网络
- 02 Bar _ Recommandation de film (basée sur le contenu) Portrait de l'utilisateur
- 百度地图 实现 热力图
- Elment UI usage
猜你喜欢
随机推荐
多功能(实现)封装函数
【p5.js】模拟烟花效果-交互媒体设计作业
Email (including attachments, Netease, QQ)
Use of transactions - Django, SQL tools
获取URL参数的两种方法及location对象的各项获取方式
Harmonyos入门
Internship project 2 - Homepage configuration - my data module
学习C语言第二天
Simply and quickly establish a pytorch environment yolov5 target detection model to run (super simple)
【Es6】forEach,for...in ,for...of专栏,让你通过项目案例快速分辨各种for语句的使用方式及区别(完整版)内部有详细注释
轮播图节流阀原理及本地存储归总
【Es6】详细解说Set ,Array的常用对象及其他方法(完整版)
mysql数据库实验实训5,数据查询yggl数据库查询(详细)
上传七牛云的方法
【Es6】利用添加数据,筛选并传输至页面等多项功能实现案例
C语言初学者之初识代码专项练习
How to upload qiniu cloud
读论文《Learning to Measure Changes: Fully Convolutional Siamese Metric Networks for Scene Change Detec》
数据库实训7【索引与数据完整性约束的创建】
微信小程序状态栏









