当前位置:网站首页>The component style set by uniapp takes effect in H5 and app, but does not take effect in wechat applet. The problem is solved
The component style set by uniapp takes effect in H5 and app, but does not take effect in wechat applet. The problem is solved
2022-06-12 19:24:00 【Xiaolingzi xiaolingzi】
problem : Want to modify uview Styles of components in the component library , Want to use the depth selector >>>(/deep/) The way to modify , After modification, it is in H5 and APP Both of them are in effect , But you can't see the set style in the applet .
solve :
1. You need to use the components of custom components first / Add and data Of the same rank options attribute , Set up options:{styleIsolation: ‘shared’}
2. Get rid of style Labeled scoped attribute
3. If it still doesn't work , See if the priority is not high enough , Increase priority by adding a parent selector , Or add... After the style !important( Not recommended , Easy to affect other page styles )
边栏推荐
- YOLOX网络结构详解
- 软件确认测试知识分享,上海第三方软件测试机构有哪些?
- leetcode:6096. Success logarithm of spells and potions [sort + dichotomy]
- 3D object detection
- 【图像去噪】基于正则化实现图像去噪附matlab代码
- 基于FPGA的VGA协议实现
- 【图像去噪】基于各向异性滤波实现图像去噪附matlab代码
- PHP converts total seconds to hours, minutes and seconds
- In 2021, the global fire pump drive power revenue is about $381million, and it is expected to reach $489.3 million in 2028
- What did 3GPP ran do in the first F2F meeting?
猜你喜欢

Rhca memoirs -- Introduction to cl280
![[image denoising] image denoising based on anisotropic filtering with matlab code](/img/3d/ee2e36b15b5db2502e43f6945685c5.png)
[image denoising] image denoising based on anisotropic filtering with matlab code

How do I create my own appender in log4j- How to create my own Appender in log4j?

In 2021, the global fire pump drive power revenue is about $381million, and it is expected to reach $489.3 million in 2028
![[digital ic/fpga] data accumulation output](/img/58/8d10e41a7bc837feba677f1e0b1ceb.png)
[digital ic/fpga] data accumulation output

运算器的基本结构

The Bean Validation API is on the classpath but no implementation could be found

A journey of database full SQL analysis and audit system performance optimization
![leetcode:6095. Strong password verifier II [simple simulation + direct false]](/img/31/570ebaecdd4e6db4dede9a456741a5.png)
leetcode:6095. Strong password verifier II [simple simulation + direct false]

VC hacon joint programming genimage3extern writeimage
随机推荐
Design of smart home control system (onenet) based on stm32_ two thousand and twenty-two
编程工具下载地址
Delivery lead time lightweight estimation practice - Notes
vc hacon 聯合編程 GenImage3Extern WriteImage
uniapp使用阿里图标
基于分布式数据库本身的定时备份方法
Observe the page of the website
RHCA回忆录---CL280介绍
Original introduction to Jenkins' configuration options
Dacom G150双模耳机,为爱发声,呵护孩子听力健康成长
Uniapp uses the Ali Icon
Cookie & Session & kaptcha驗證碼
CVPR 2022 oral Dalian Institute of technology proposed SCI: a fast and powerful low light image enhancement method
Standard library template learning introduction original
leetcode:5289. Distribute cookies fairly [see data range + DFS pruning]
[image denoising] image denoising based on regularization with matlab code
Rhca memoirs -- Introduction to cl280
leetcode:6095. Strong password verifier II [simple simulation + direct false]
The Bean Validation API is on the classpath but no implementation could be found
[today in history] June 12: the United States entered the era of digital television; Mozilla's original developer was born; 3com merges with American Robotics