u-cell.wxss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. view.data-v-913eaa32, scroll-view.data-v-913eaa32, swiper-item.data-v-913eaa32 {
  28. display: flex;
  29. flex-direction: column;
  30. flex-shrink: 0;
  31. flex-grow: 0;
  32. flex-basis: auto;
  33. align-items: stretch;
  34. align-content: flex-start;
  35. }
  36. .u-cell__body.data-v-913eaa32 {
  37. display: flex;
  38. flex-direction: row;
  39. box-sizing: border-box;
  40. padding: 10px 15px;
  41. font-size: 15px;
  42. color: #303133;
  43. align-items: center;
  44. }
  45. .u-cell__body__content.data-v-913eaa32 {
  46. display: flex;
  47. flex-direction: row;
  48. align-items: center;
  49. flex: 1;
  50. }
  51. .u-cell__body--large.data-v-913eaa32 {
  52. padding-top: 13px;
  53. padding-bottom: 13px;
  54. }
  55. .u-cell__left-icon-wrap.data-v-913eaa32, .u-cell__right-icon-wrap.data-v-913eaa32 {
  56. display: flex;
  57. flex-direction: row;
  58. align-items: center;
  59. font-size: 16px;
  60. }
  61. .u-cell__left-icon-wrap.data-v-913eaa32 {
  62. margin-right: 4px;
  63. }
  64. .u-cell__right-icon-wrap.data-v-913eaa32 {
  65. margin-left: 4px;
  66. transition: -webkit-transform 0.3s;
  67. transition: transform 0.3s;
  68. transition: transform 0.3s, -webkit-transform 0.3s;
  69. }
  70. .u-cell__right-icon-wrap--up.data-v-913eaa32 {
  71. -webkit-transform: rotate(-90deg);
  72. transform: rotate(-90deg);
  73. }
  74. .u-cell__right-icon-wrap--down.data-v-913eaa32 {
  75. -webkit-transform: rotate(90deg);
  76. transform: rotate(90deg);
  77. }
  78. .u-cell__title.data-v-913eaa32 {
  79. flex: 1;
  80. }
  81. .u-cell__title-text.data-v-913eaa32 {
  82. font-size: 15px;
  83. line-height: 22px;
  84. color: #303133;
  85. }
  86. .u-cell__title-text--large.data-v-913eaa32 {
  87. font-size: 16px;
  88. }
  89. .u-cell__label.data-v-913eaa32 {
  90. margin-top: 5px;
  91. font-size: 12px;
  92. color: #909193;
  93. line-height: 18px;
  94. }
  95. .u-cell__label--large.data-v-913eaa32 {
  96. font-size: 14px;
  97. }
  98. .u-cell__value.data-v-913eaa32 {
  99. text-align: right;
  100. font-size: 14px;
  101. line-height: 24px;
  102. color: #606266;
  103. }
  104. .u-cell__value--large.data-v-913eaa32 {
  105. font-size: 15px;
  106. }
  107. .u-cell--clickable.data-v-913eaa32 {
  108. background-color: #f3f4f6;
  109. }
  110. .u-cell--disabled.data-v-913eaa32 {
  111. color: #c8c9cc;
  112. cursor: not-allowed;
  113. }
  114. .u-cell--center.data-v-913eaa32 {
  115. align-items: center;
  116. }