app.wxss 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. page {
  2. width: 100%;
  3. height: 100%;
  4. background-color: var(--White);
  5. font-size: 28rpx;
  6. color: var(--black);
  7. --red: #e54d42;
  8. --orange: #f37b1d;
  9. --yellow: #fbbd08;
  10. --olive: #8dc63f;
  11. --green: #39b54a;
  12. --cyan: #1cbbb4;
  13. --blue: #0081ff;
  14. --purple: #6739b6;
  15. --mauve: #9c26b0;
  16. --pink: #e03997;
  17. --brown: #a5673f;
  18. --grey: #8799a3;
  19. --black: #333333;
  20. --darkGray: #666666;
  21. --gray: #aaaaaa;
  22. --ghostWhite: #f1f1f1;
  23. --white: #ffffff;
  24. --border: #F6F6F6;
  25. --theme: #5D88FF;
  26. /* 浅色 */
  27. --redLight: #fadbd9;
  28. --orangeLight: #fde6d2;
  29. --yellowLight: #fef2ce;
  30. --oliveLight: #e8f4d9;
  31. --greenLight: #d7f0db;
  32. --cyanLight: #d2f1f0;
  33. --blueLight: #cce6ff;
  34. --purpleLight: #e1d7f0;
  35. --mauveLight: #ebd4ef;
  36. --pinkLight: #f9d7ea;
  37. --brownLight: #ede1d9;
  38. --greyLight: #e7ebed;
  39. /* 渐变色 */
  40. --gradualRed: linear-gradient(45deg, #f43f3b, #ec008c);
  41. --gradualOrange: linear-gradient(45deg, #ff9900c4, #ed1c23c4);
  42. --gradualGreen: linear-gradient(45deg, #39b54a, #8dc63f);
  43. --gradualPurple: linear-gradient(45deg, #9000ff, #5e00ff);
  44. --gradualPink: linear-gradient(45deg, #ec008c, #6739b6);
  45. --gradualBlue: linear-gradient(45deg, #0081ff, #1cbbb4);
  46. /* 阴影透明色 */
  47. --ShadowSize: 6rpx 6rpx 8rpx;
  48. --redShadow: rgba(204, 69, 59, 0.2);
  49. --orangeShadow: rgba(217, 109, 26, 0.2);
  50. --yellowShadow: rgba(224, 170, 7, 0.2);
  51. --oliveShadow: rgba(124, 173, 55, 0.2);
  52. --greenShadow: rgba(48, 156, 63, 0.2);
  53. --cyanShadow: rgba(28, 187, 180, 0.2);
  54. --blueShadow: rgba(0, 102, 204, 0.2);
  55. --purpleShadow: rgba(88, 48, 156, 0.2);
  56. --mauveShadow: rgba(133, 33, 150, 0.2);
  57. --pinkShadow: rgba(199, 50, 134, 0.2);
  58. --brownShadow: rgba(140, 88, 53, 0.2);
  59. --greyShadow: rgba(114, 130, 138, 0.2);
  60. --grayShadow: rgba(114, 130, 138, 0.2);
  61. --blackShadow: rgba(26, 26, 26, 0.2);
  62. }
  63. /* 按钮样式 */
  64. button::after {
  65. border: none !important;
  66. }
  67. .wx-switch-input {
  68. transform: scale(.7);
  69. }
  70. slider {
  71. transform: scale(.9);
  72. }
  73. /* 按钮样式 */
  74. button::after {
  75. border: none !important;
  76. }
  77. .button-normal {
  78. font-weight: normal;
  79. padding: 0;
  80. border-radius: 80rpx;
  81. text-align: center;
  82. margin: 60rpx auto 0;
  83. width: 70%;
  84. line-height: 80rpx;
  85. height: 80rpx;
  86. font-size: 34rpx;
  87. color: white;
  88. background: #5D88FF;
  89. }
  90. .button-small {
  91. font-weight: normal;
  92. padding: 0;
  93. border-radius: 80rpx;
  94. text-align: center;
  95. margin: 50rpx auto 0;
  96. width: 60%;
  97. line-height: 66rpx;
  98. height: 66rpx;
  99. font-size: 28rpx;
  100. color: white;
  101. background: #5D88FF;
  102. }
  103. .button-text {
  104. display: inline;
  105. line-height: 40rpx;
  106. font-weight: normal;
  107. padding: 0 !important;
  108. margin: 0 !important;
  109. border-radius: 0;
  110. font-size: 34rpx;
  111. color: #5D88FF;
  112. background: none;
  113. }
  114. /* 表单空白块 */
  115. .form {
  116. display: block;
  117. position: relative;
  118. background: white;
  119. width: 100%;
  120. box-sizing: border-box;
  121. padding: 20rpx 30rpx;
  122. }
  123. /* 表单行 */
  124. .form-item {
  125. position: relative;
  126. width: 100%;
  127. height: 80rpx;
  128. line-height: 80rpx;
  129. box-sizing: border-box;
  130. padding-left: 170rpx;
  131. margin-bottom: 10rpx;
  132. }
  133. .form-item-label {
  134. position: absolute;
  135. top: 0;
  136. left: 0;
  137. color: var(--darkGray);
  138. text-align: right;
  139. width: 150rpx;
  140. font-size: 28rpx;
  141. }
  142. .form-item-input-normal {
  143. color: var(--black);
  144. width: 100%;
  145. height: 100%;
  146. border-bottom: 2rpx dashed #eee;
  147. box-sizing: border-box;
  148. font-size: 30rpx;
  149. }
  150. .block-title {
  151. width: 100%;
  152. line-height: 40rpx;
  153. font-size: 26rpx;
  154. color: #333;
  155. }
  156. /*遮罩层*/
  157. .cy-mask {
  158. top: 0;
  159. left: 0;
  160. position: fixed;
  161. width: 100%;
  162. height: 100%;
  163. z-index: 99;
  164. background: rgb(0, 0, 0, .6);
  165. }
  166. /*选择器样式*/
  167. .cy-select {
  168. z-index: 999;
  169. color: #333;
  170. width: 100%;
  171. padding-top: 10rpx;
  172. background: white;
  173. position: fixed;
  174. bottom: 0;
  175. left: 0;
  176. box-sizing: border-box;
  177. }
  178. .cy-select::before {
  179. line-height: 100rpx;
  180. content: "你可以进行以下操作";
  181. font-size: 30rpx;
  182. color: #666;
  183. width: 100%;
  184. display: block;
  185. text-align: center;
  186. }
  187. .cy-select-cancel {
  188. border-top: 20rpx solid #EEE !important;
  189. text-align: center;
  190. line-height: 100rpx;
  191. display: block;
  192. content: "取消";
  193. width: 100%;
  194. color: #666;
  195. }
  196. .cy-select view {
  197. box-sizing: border-box;
  198. border-top: 1rpx solid #F1F1F1;
  199. width: 100%;
  200. line-height: 100rpx;
  201. text-align: center;
  202. }
  203. /*对话框*/
  204. .cy-dialog {
  205. border-radius: 10rpx;
  206. top: 30%;
  207. left: 75rpx;
  208. position: fixed;
  209. width: 600rpx;
  210. box-sizing: border-box;
  211. padding: 10rpx 20rpx;
  212. z-index: 9999;
  213. background: white;
  214. }
  215. .cy-dialog-title {
  216. text-align: center;
  217. width: 100%;
  218. height: 80rpx;
  219. line-height: 80rpx;
  220. color: #666;
  221. }
  222. .cy-dialog-btn-area {
  223. width: 100%;
  224. height: 80rpx;
  225. }
  226. .cy-dialog-btn-cancel {
  227. margin-right: 30rpx !important;
  228. font-weight: normal;
  229. padding: 0;
  230. float: right;
  231. line-height: 64rpx;
  232. background: white;
  233. color: #666;
  234. font-size: 30rpx !important;
  235. width: 120rpx !important;
  236. height: 64rpx !important;
  237. box-sizing: border-box;
  238. border: 2rpx solid #DDD;
  239. }
  240. .cy-dialog-btn-confirm {
  241. color: white !important;
  242. margin-right: 10rpx;
  243. font-weight: normal;
  244. padding: 0;
  245. float: right;
  246. line-height: 64rpx;
  247. background: #5D88FF;
  248. color: #666;
  249. font-size: 30rpx !important;
  250. width: 120rpx !important;
  251. height: 64rpx !important;
  252. box-sizing: border-box;
  253. }
  254. .red {
  255. color: #e54d42;
  256. }