You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

33 lines
624 B

  1. /* start--微信小程序编译后页面有组件名的元素,特别处理--start */
  2. /* #ifdef MP-WEIXIN */
  3. u-td, u-th {
  4. flex: 1;
  5. align-self: stretch;
  6. }
  7. .u-td {
  8. height: 100%;
  9. }
  10. u-icon {
  11. display: inline-flex;
  12. align-items: center;
  13. }
  14. // 各家小程序宫格组件外层设置为100%,避免受到父元素display: flex;的影响
  15. u-grid {
  16. width: 100%;
  17. flex: 0 0 100%;
  18. }
  19. // 避免小程序线条组件因为父组件display: flex;而失效
  20. u-line {
  21. flex: 1;
  22. }
  23. u-switch {
  24. display: inline-flex;
  25. align-items: center;
  26. }
  27. /* #endif */
  28. /* end-微信小程序编译后页面有组件名的元素,特别处理--end */