app.wxss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. page {
  2. width: 100%;
  3. height: 100%;
  4. color: rgb(15, 15, 15);
  5. }
  6. .wx-switch-input {
  7. transform: scale(.7);
  8. }
  9. slider {
  10. transform: scale(.9);
  11. }
  12. /* 按钮样式 */
  13. button::after {
  14. border: none !important;
  15. }
  16. .button-normal {
  17. font-weight: normal;
  18. padding: 0;
  19. border-radius: 80rpx;
  20. text-align: center;
  21. margin: 60rpx auto 0;
  22. width: 70%;
  23. line-height: 80rpx;
  24. height: 80rpx;
  25. font-size: 34rpx;
  26. color: white;
  27. background: #5D88FF;
  28. }
  29. .button-small {
  30. font-weight: normal;
  31. padding: 0;
  32. border-radius: 80rpx;
  33. text-align: center;
  34. margin: 50rpx auto 0;
  35. width: 60%;
  36. line-height: 60rpx;
  37. height: 60rpx;
  38. font-size: 30rpx;
  39. color: white;
  40. background: #5D88FF;
  41. }
  42. .button-text {
  43. display: inline;
  44. line-height: 40rpx;
  45. font-weight: normal;
  46. padding: 0 !important;
  47. margin: 0 !important;
  48. border-radius: 0;
  49. font-size: 34rpx;
  50. color: #5D88FF;
  51. background: none;
  52. }
  53. /* 表单空白块 */
  54. .white-block {
  55. position: relative;
  56. background: white;
  57. width: 100%;
  58. box-sizing: border-box;
  59. padding: 30rpx 30rpx 50rpx;
  60. margin-top: 30rpx;
  61. }
  62. /* 表单行 */
  63. .form-item {
  64. overflow: hidden;
  65. margin-bottom: 20rpx;
  66. position: relative;
  67. padding-left: 180rpx;
  68. width: 100%;
  69. height: 70rpx;
  70. line-height: 70rpx;
  71. box-sizing: border-box;
  72. }
  73. .form-item .label {
  74. position: absolute;
  75. top: 0;
  76. left: 0;
  77. color: #333;
  78. text-align: right;
  79. width: 160rpx;
  80. font-size: 30rpx;
  81. }
  82. .form-item .input-normal {
  83. width: 100%;
  84. height: 100%;
  85. border-bottom: 2rpx dashed #eee;
  86. box-sizing: border-box;
  87. font-size: 28rpx;
  88. }
  89. .block-title {
  90. width: 100%;
  91. line-height: 40rpx;
  92. font-size: 26rpx;
  93. color: #333;
  94. }
  95. /*遮罩层*/
  96. .cy-mask {
  97. top: 0;
  98. left: 0;
  99. position: fixed;
  100. width: 100%;
  101. height: 100%;
  102. z-index: 99;
  103. background: rgb(0, 0, 0, .6);
  104. }
  105. /*选择器样式*/
  106. .cy-select {
  107. z-index: 999;
  108. color: #333;
  109. width: 100%;
  110. padding-top: 10rpx;
  111. background: white;
  112. position: fixed;
  113. bottom: 0;
  114. left: 0;
  115. box-sizing: border-box;
  116. }
  117. .cy-select::before {
  118. line-height: 100rpx;
  119. content: "你可以进行以下操作";
  120. font-size: 30rpx;
  121. color: #666;
  122. width: 100%;
  123. display: block;
  124. text-align: center;
  125. }
  126. .cy-select-cancel {
  127. border-top: 20rpx solid #EEE !important;
  128. text-align: center;
  129. line-height: 100rpx;
  130. display: block;
  131. content: "取消";
  132. width: 100%;
  133. color: #666;
  134. }
  135. .cy-select view {
  136. box-sizing: border-box;
  137. border-top: 1rpx solid #F1F1F1;
  138. width: 100%;
  139. line-height: 100rpx;
  140. text-align: center;
  141. }
  142. /*对话框*/
  143. .cy-dialog {
  144. border-radius: 10rpx;
  145. top: 30%;
  146. left: 75rpx;
  147. position: fixed;
  148. width: 600rpx;
  149. box-sizing: border-box;
  150. padding: 10rpx 20rpx;
  151. z-index: 9999;
  152. background: white;
  153. }
  154. .cy-dialog-title {
  155. text-align: center;
  156. width: 100%;
  157. height: 80rpx;
  158. line-height: 80rpx;
  159. color: #666;
  160. }
  161. .cy-dialog-btn-area {
  162. width: 100%;
  163. height: 80rpx;
  164. }
  165. .cy-dialog-btn-cancel {
  166. margin-right: 30rpx !important;
  167. font-weight: normal;
  168. padding: 0;
  169. float: right;
  170. line-height: 64rpx;
  171. background: white;
  172. color: #666;
  173. font-size: 30rpx !important;
  174. width: 120rpx !important;
  175. height: 64rpx !important;
  176. box-sizing: border-box;
  177. border: 2rpx solid #DDD;
  178. }
  179. .cy-dialog-btn-confirm {
  180. color: white !important;
  181. margin-right: 10rpx;
  182. font-weight: normal;
  183. padding: 0;
  184. float: right;
  185. line-height: 64rpx;
  186. background: #5D88FF;
  187. color: #666;
  188. font-size: 30rpx !important;
  189. width: 120rpx !important;
  190. height: 64rpx !important;
  191. box-sizing: border-box;
  192. }
  193. .red {
  194. color: #e54d42;
  195. }