当前位置:网站首页>uniapp 使用 u-view 框架小程序的样式问题集合
uniapp 使用 u-view 框架小程序的样式问题集合
2022-07-21 06:28:00 【sunyin.liu】
持续更新中...
1. u--textarea 边框消失
解决
/deep/ .u-textarea{
border: 2rpx solid #E5EAEE;
border-radius: 4rpx;
}
2.底部弹窗会占据一定的空间
<u-action-sheet @close="closeBusType" @open="openBusType" @select="selectClick" :actions="list" :closeOnClickOverlay="true" :closeOnClickAction="true" :title="title"
:show="show"></u-action-sheet>
解决
/deep/ .u-popup{
position: absolute;
}
3.steps的步骤自定义图片显示不出来
解决
<u-steps :current="1">
<u-steps-item title="已提交">
<view class="slot-icon" slot="icon">
<u-avatar size="20" :src="step1"></u-avatar>
</view>
</u-steps-item>
<u-steps-item title="已接收">
<view class="slot-icon" slot="icon">
<u-avatar size="20" :src="step2"></u-avatar>
</view>
</u-steps-item>
<u-steps-item title="完结">
<view class="slot-icon" slot="icon">
<u-avatar size="20" :src="step3"></u-avatar>
</view>
</u-steps-item>
</u-steps>
...
data
step1: require('@/static/images/mine/send.png'),
step2: require('@/static/images/mine/received.png'),
step3: require('@/static/images/mine/ended.png')
css
/deep/ .u-steps-item__wrapper{
background-color: transparent !important;
}
边栏推荐
- visual studio引用外部库的注意事项
- It turns out that it is so important in the construction of data center!
- IP address segment classification
- 初识c语言之循环语句与分支语句
- [network security] common questions in interview -- SQL injection
- Role of subnet mask
- International Accounting Standards IAS and IFRS
- How PHP queries whether there are specified tables in MySQL database
- He Bin's full text in C language, with notes for his own use, gives latecomers some ideas
- ES安装&ik中文解析器
猜你喜欢
Websocket transfer file
"Can't buy" digital transformation, each family's "LEGO" is different
OpenShift Security (17) - 将 OpenShift Compliance Operator 的合规扫描集成到 RHACS
初识c语言之循环语句与分支语句
【毕设教程】物联网/嵌入式/单片机毕业设计项目开发流程
Typescript (II)
【数据分析01】
OpenShift 4 - 安装 ODF 并部署红帽 Quay (3 Worker)
Integer bisection, floating-point bisection and bisection function (lower_bound(), upper) in STL_ bound())
Diversified system to carry out maker education activities
随机推荐
OpenShift 4 - 配置OpenShift集群日志环境
Openshift security (17) - integrate compliance scanning of openshift compliance operator into rhacs
freeRTOS — 任务堆栈使用情况的检测方法
Redis 官方可视化工具,高颜值,功能真心强大!
国际会计准则IAS 和 IFRS
多线程一定能优化程序性能吗?
解析惠及中小学校的Steam教育
KY novel collection rules (5 collection rules)
OpenShift Security (17) - 将 OpenShift Compliance Operator 的合规扫描集成到 RHACS
2022蓝桥杯省赛b组补题[九进制转十进制],[顺子日期],[刷题统计],[ 修剪灌木]
Web automation processing "sliding verification code"
tokio channel性能测试
逍遥管理器安装
uniapp 引入腾讯地图
Share 50 free cloud disk and online disk Services - with unlimited storage space
Solve the problem that the uploaded file of ftpclient is empty and 0 bytes are displayed
ITSM and ITIL
Explore the interest in robot maker Education
CentOS install redis
Learn C standard library through examples < ctype h>