control.wxss 2.9 KB

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