当前位置:网站首页>uniapp 在app端page选择器没有效果
uniapp 在app端page选择器没有效果
2022-07-27 16:11:00 【mr_cmx】
问题:在页面组件中想要修改page的样式,在h5和小程序都可以正常显示但在APP没有效果
原因:page 是其父节点,如果style加了 scoped 就会失效
解决:
例子
<style scoped> page{
background-color: #f6f6f6;
}
img{
user-drag: none;
}
</style>
改成
<style> page{
background-color: #f6f6f6;
}
</style> <style scoped> img{
user-drag: none;
}
</style>
边栏推荐
- 国巨斥资18亿美元收购竞争对手Kemet,交易或在明年下半年完成
- [mit 6.s081] LEC 5: calling conventions and stack frames risc-v notes
- [MIT 6.S081] Lec 9: Interrupts 笔记
- Deep learning: Gan case exercise -minst handwritten digits
- zabbix6.0的安装部署
- MySQL学习 Day3 多表查询 / 事务 / DCL
- Huawei mate30 Pro 5g disassembly: self developed chips account for more than half, and American chips still exist!
- Nowcoder (5 choices)
- 动态链表2栈的链表存储结构(LinkedStack实现)
- Jrs-303 usage
猜你喜欢

数据库的常用命令2

File path read

Three consecutive high-frequency interview questions of redis online celebrity: cache penetration? Cache breakdown? Cache avalanche?

文件路径读取

超实用!阿里P9私藏的Kubernetes学习笔记,看完直呼NB

LootCode动态数组练习(724,118,766)
![[mit 6.s081] LEC 3: OS organization and system calls notes](/img/34/073d00245eb39844bbe1740f65fe07.png)
[mit 6.s081] LEC 3: OS organization and system calls notes

深度学习:GAN案例练习-minst手写数字
![[MIT 6.S081] Lab 9: file system](/img/f5/ea30b1fe5b6d73c86f2509c690ca20.png)
[MIT 6.S081] Lab 9: file system
![[MIT 6.S081] Lec 5: Calling conventions and stack frames RISC-V 笔记](/img/1f/6384f4831718477f0567540250f352.png)
[MIT 6.S081] Lec 5: Calling conventions and stack frames RISC-V 笔记
随机推荐
二叉树概念
Deep learning: GCN diagram classification case
[mit 6.s081] LEC 5: calling conventions and stack frames risc-v notes
贴牌“美国制造”,国产安防设备竟被装上了美航母!
Press Google and NVIDIA! Alibaba optical 800 chip won the world's first authoritative test again
嘉楠耘智已完成预路演,预计11月20日登陆纳斯达克
Deep learning: installation package records
Disassembly of Xiaomi cc9 Pro: the cost of rear five shots is several times that of Xiaolong 855!
GIS数据漫谈(五)— 地理坐标系统
Dynamic linked list 4 one-way circular linked list (loopsingle Implementation)
View port PID and end process
@Convert 注解在jpa中进行查询的注意事项
NVIDIA released the world's smallest edge AI supercomputing: 21tops computing power, power consumption is only 10W!
荣耀、小米发双十一战报:都称自己是冠军
2021.8.1笔记 DBA
[MIT 6.S081] Lab 7: Multithreading
[MIT 6.S081] Lab 10: mmap
[mit 6.s081] LEC 4: page tables notes
解决Reids不能被其他IP访问
展锐鲜苗:赋能全场景应用,海量数据需要AI与IoT融合