control.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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. .control {
  28. position: absolute;
  29. top: 50px;
  30. width: 90%;
  31. left: 5%;
  32. }
  33. .control .title_p {
  34. padding-left: 20rpx;
  35. border-left: 6rpx solid #28AE4F;
  36. height: 40rpx;
  37. margin-bottom: 20rpx;
  38. }
  39. .control .control_off_off {
  40. display: flex;
  41. justify-content: space-between;
  42. margin-left: 24rpx;
  43. padding: 0 30rpx;
  44. background-color: #F7F8FA;
  45. height: 60rpx;
  46. line-height: 60rpx;
  47. margin-bottom: 20rpx;
  48. }
  49. .control .slider {
  50. display: flex;
  51. padding: 0 30rpx 0 0;
  52. margin-left: 24rpx;
  53. margin-bottom: 20rpx;
  54. }
  55. .control .slider uni-slider {
  56. margin: 0 !important;
  57. }
  58. .control .control_restart {
  59. margin-bottom: 20rpx;
  60. }
  61. .control .control_restart .title_p {
  62. border-left: 6rpx solid #D17978;
  63. }
  64. .control .control_restart .control_restart_but {
  65. display: flex;
  66. justify-content: flex-start;
  67. margin-left: 24rpx;
  68. }
  69. .control .control_restart .control_restart_but button {
  70. width: 110rpx;
  71. height: 50rpx;
  72. line-height: 50rpx;
  73. font-size: 26rpx;
  74. margin: 0 20rpx 0 0;
  75. color: #FFFFFF;
  76. background-color: #D17978;
  77. }
  78. .pop-up .sheet {
  79. background-color: white;
  80. height: 400rpx;
  81. overflow: hidden;
  82. }
  83. .pop-up .sheet .sheet-text {
  84. height: 80rpx;
  85. border-bottom: 2rpx solid #F7F8FA;
  86. }
  87. .pop-up .sheet .sheet-text ._p {
  88. text-align: center;
  89. height: 80rpx;
  90. line-height: 80rpx;
  91. color: black;
  92. font-size: 16px;
  93. }
  94. .pop-up button {
  95. color: black;
  96. position: absolute;
  97. bottom: 0;
  98. width: 100%;
  99. font-size: 16px;
  100. height: 80rpx;
  101. }
  102. .ensure {
  103. width: 100%;
  104. position: absolute;
  105. bottom: 100rpx;
  106. }
  107. .ensure .ensure_btn {
  108. width: 90%;
  109. margin: 0 auto;
  110. height: 60rpx;
  111. line-height: 60rpx;
  112. text-align: center;
  113. background-color: #28AE4F;
  114. color: #FFFFFF;
  115. border-radius: 30rpx;
  116. }
  117. .qingchong {
  118. width: 90%;
  119. margin: 10px auto;
  120. text-align: right;
  121. display: flex;
  122. justify-content: flex-end;
  123. }
  124. .qingchong .qingchongbox {
  125. padding: 2px 8px 3px 8px;
  126. background-color: #28AE4F;
  127. color: #fff;
  128. border-radius: 5px;
  129. }