uni-number-box.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. .uni-numbox.data-v-15947278 {
  28. display: flex;
  29. flex-direction: row;
  30. height: 25px;
  31. line-height: 25px;
  32. width: 100px;
  33. margin-top: 5rpx;
  34. }
  35. .uni-numbox__value.data-v-15947278 {
  36. background-color: #ffffff;
  37. width: 40px;
  38. height: 25px;
  39. text-align: center;
  40. font-size: 28rpx;
  41. border-width: 1rpx;
  42. border-style: solid;
  43. border-color: #c8c7cc;
  44. border-left-width: 0;
  45. border-right-width: 0;
  46. color: #666;
  47. }
  48. .uni-numbox__minus.data-v-15947278 {
  49. display: flex;
  50. flex-direction: row;
  51. align-items: center;
  52. justify-content: center;
  53. width: 25px;
  54. height: 25px;
  55. font-size: 20px;
  56. color: #333;
  57. background-color: #f8f8f8;
  58. border-width: 1rpx;
  59. border-style: solid;
  60. border-color: #c8c7cc;
  61. border-top-left-radius: 6rpx;
  62. border-bottom-left-radius: 6rpx;
  63. border-right-width: 0;
  64. }
  65. .uni-numbox__plus.data-v-15947278 {
  66. display: flex;
  67. flex-direction: row;
  68. align-items: center;
  69. justify-content: center;
  70. width: 25px;
  71. height: 25px;
  72. border-width: 1rpx;
  73. border-style: solid;
  74. border-color: #c8c7cc;
  75. border-top-right-radius: 6rpx;
  76. border-bottom-right-radius: 6rpx;
  77. background-color: #f8f8f8;
  78. border-left-width: 0;
  79. }
  80. .uni-numbox--text.data-v-15947278 {
  81. font-size: 40rpx;
  82. color: #333;
  83. }
  84. .uni-numbox--disabled.data-v-15947278 {
  85. color: #c0c0c0;
  86. }