u-image.wxss 835 B

1234567891011121314151617181920212223242526272829
  1. @charset "UTF-8";
  2. /**
  3. * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
  4. * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
  5. * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
  6. */
  7. .u-image.data-v-32babe48 {
  8. position: relative;
  9. transition: opacity 0.5s ease-in-out;
  10. }
  11. .u-image__image.data-v-32babe48 {
  12. width: 100%;
  13. height: 100%;
  14. }
  15. .u-image__loading.data-v-32babe48, .u-image__error.data-v-32babe48 {
  16. position: absolute;
  17. top: 0;
  18. left: 0;
  19. width: 100%;
  20. height: 100%;
  21. display: flex;
  22. flex-direction: row;
  23. align-items: center;
  24. justify-content: center;
  25. background-color: #f3f4f6;
  26. color: #909399;
  27. font-size: 46rpx;
  28. }