app.wxss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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. .btn-form-wapper {
  65. width: 100%;
  66. overflow: hidden;
  67. }
  68. .btn-form {
  69. width: 120rpx !important;
  70. height: 60rpx !important;
  71. font-size: 24rpx !important;
  72. line-height: 100rpx !important;
  73. padding: 0 !important;
  74. border-radius: 8rpx !important;
  75. float: right;
  76. margin: 30rpx !important;
  77. }
  78. slider {
  79. transform: scale(.85);
  80. }
  81. /*遮罩层*/
  82. .cy-mask {
  83. top: 0;
  84. left: 0;
  85. position: fixed;
  86. width: 100%;
  87. height: 100%;
  88. z-index: 99;
  89. background: rgb(0, 0, 0, .6);
  90. }
  91. /*选择器样式*/
  92. .cy-select {
  93. z-index: 999;
  94. color: #333;
  95. width: 100%;
  96. padding-top: 10rpx;
  97. background: white;
  98. position: fixed;
  99. bottom: 0;
  100. left: 0;
  101. box-sizing: border-box;
  102. }
  103. .cy-select::before {
  104. line-height: 100rpx;
  105. content: "你可以进行以下操作";
  106. font-size: 30rpx;
  107. color: #666;
  108. width: 100%;
  109. display: block;
  110. text-align: center;
  111. }
  112. .cy-select-cancel {
  113. border-top: 20rpx solid #EEE !important;
  114. text-align: center;
  115. line-height: 100rpx;
  116. display: block;
  117. content: "取消";
  118. width: 100%;
  119. color: #666;
  120. }
  121. .cy-select view {
  122. box-sizing: border-box;
  123. border-top: 1rpx solid #F1F1F1;
  124. width: 100%;
  125. line-height: 100rpx;
  126. text-align: center;
  127. }
  128. /*对话框*/
  129. .cy-dialog {
  130. border-radius: 10rpx;
  131. top: 30%;
  132. left: 75rpx;
  133. position: fixed;
  134. width: 600rpx;
  135. box-sizing: border-box;
  136. padding: 10rpx 20rpx;
  137. z-index: 9999;
  138. background: white;
  139. }
  140. .cy-dialog-title {
  141. text-align: center;
  142. width: 100%;
  143. height: 80rpx;
  144. line-height: 80rpx;
  145. color: #666;
  146. }
  147. .cy-dialog-btn-area {
  148. width: 100%;
  149. height: 80rpx;
  150. }
  151. .cy-dialog-btn-cancel {
  152. margin-right: 30rpx !important;
  153. font-weight: normal;
  154. padding: 0;
  155. float: right;
  156. line-height: 64rpx;
  157. background: white;
  158. color: #666;
  159. font-size: 30rpx !important;
  160. width: 120rpx !important;
  161. height: 64rpx !important;
  162. box-sizing: border-box;
  163. border: 2rpx solid #DDD;
  164. }
  165. .cy-dialog-btn-confirm {
  166. color: white !important;
  167. margin-right: 10rpx;
  168. font-weight: normal;
  169. padding: 0;
  170. float: right;
  171. line-height: 64rpx;
  172. background: #5D88FF;
  173. color: #666;
  174. font-size: 30rpx !important;
  175. width: 120rpx !important;
  176. height: 64rpx !important;
  177. box-sizing: border-box;
  178. }
  179. .red {
  180. color: #e54d42;
  181. }