当前位置:网站首页>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>
边栏推荐
- 1542. Find the longest super substring hash + state compression
- 解决Reids不能被其他IP访问
- Deep learning: GCN case
- 给程序界面增加音乐,加载背景照片。
- Redis网红高频面试题三连:缓存穿透?缓存击穿?缓存雪崩?
- 深度学习-视频行为识别:论文阅读——双流网络(Two-stream convolutional networks for action recognition in videos)
- C杂讲 链表初讲
- Read only mode of buffer
- "Who is Huawei" documentary film series landing on BBC: exposing a large number of Ren Zhengfei's unknown experience
- 2021.8.9笔记 request
猜你喜欢

MySQL学习 Day2 排序查询 / 聚合函数 /分组查询 /分页查询 /约束/多表之间的关系
![[MIT 6.S081] Lab 4: traps](/img/8b/ca4819f8b1cfc6233745a124790674.png)
[MIT 6.S081] Lab 4: traps

C杂讲 链表初讲
![[MIT 6.S081] Lab 9: file system](/img/f5/ea30b1fe5b6d73c86f2509c690ca20.png)
[MIT 6.S081] Lab 9: file system

数据库的常用命令2

Nowcoder (5 choices)

动态链表3队列的链式存储结构(LinkedQueue实现)

深度学习:GAN案例练习-minst手写数字
![[MIT 6.S081] Lab 11: networking](/img/9d/cca59a662412f3c3c57c26c5987a24.png)
[MIT 6.S081] Lab 11: networking

Deep learning - VIDEO behavior recognition: paper reading - two stream revolutionary networks for action recognition in videos
随机推荐
[MIT 6.S081] Lab 5: xv6 lazy page allocation
Marvell announced the roadmap of its arm server chip, and the performance of the next generation will be twice that of thunderx2
Dynamic linked list 4 one-way circular linked list (loopsingle Implementation)
CFA exam registration instructions
[MIT 6.S081] Lec 3: OS organization and system calls 笔记
[learning notes] solutions to hot account problems
动态链表2栈的链表存储结构(LinkedStack实现)
Exciting collection of new features released by salesforce
图形界面编程
Collection! 0 basic open source data visualization platform flyfish large screen development guide
[mit 6.s081] LEC 4: page tables notes
Glory and Xiaomi reported on the double 11: they all called themselves champions
NVIDIA released the world's smallest edge AI supercomputing: 21tops computing power, power consumption is only 10W!
File path read
Linked list storage structure of dynamic linked list 2 stack (linkedstack Implementation)
1. opencv图片基础操作
MySQL学习 Day2 排序查询 / 聚合函数 /分组查询 /分页查询 /约束/多表之间的关系
被“赶出”比特大陆之后,詹克团首度发声:将通过法律途径尽快回归!
解决Reids不能被其他IP访问
MySQL学习 Day3 多表查询 / 事务 / DCL