app.wxss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. @import "./page/common/lib/weui.wxss";
  2. /* reset */
  3. page {
  4. background-color: var(--weui-BG-1);
  5. height: 100%;
  6. /* font-size: 16px; */
  7. font-size: 16px;
  8. line-height: 1.6;
  9. color: var(--weui-FG-0);
  10. display: flex;
  11. justify-content: center;
  12. }
  13. page>view {
  14. width: 100vw;
  15. max-width: 600px;
  16. }
  17. checkbox, radio{
  18. margin-right: 5px;
  19. }
  20. button{
  21. margin-top: 10px;
  22. margin-bottom: 10px;
  23. }
  24. form{
  25. width: 100%;
  26. }
  27. input {
  28. width: 100%;
  29. }
  30. /* lib */
  31. .strong{
  32. font-weight: bold;
  33. }
  34. .tc{
  35. text-align: center;
  36. }
  37. /* page */
  38. .container {
  39. display: flex;
  40. flex-direction: column;
  41. min-height: 100%;
  42. justify-content: space-between;
  43. font-size: 16px;
  44. font-family: -apple-system-font,Helvetica Neue,Helvetica,sans-serif;
  45. }
  46. .page-head{
  47. /* padding: 30px 25px 40px; */
  48. padding: 30px 25px 40px;
  49. text-align: center;
  50. }
  51. .page-head-title {
  52. display: inline-block;
  53. /* padding: 0 20px 10px 20px;
  54. font-size: 16px; */
  55. padding: 0 20px 10px 20px;
  56. font-size: 16px;
  57. }
  58. .page-head-line{
  59. margin: 0 auto;
  60. /* width: 75px;
  61. height: 1px; */
  62. width: 75px;
  63. height: 1px;
  64. background-color: var(--weui-FG-1);
  65. }
  66. .page-head-desc{
  67. padding-top: 10px;
  68. color: var(--weui-FG-1);
  69. font-size: 16px;
  70. }
  71. .page-body {
  72. width: 100%;
  73. flex-grow: 1;
  74. /* overflow-x: hidden; */
  75. }
  76. .page-body-wrapper {
  77. display: flex;
  78. flex-direction: column;
  79. align-items: center;
  80. width: 100%;
  81. }
  82. .page-body-wording {
  83. text-align: center;
  84. padding: 100px 50px;
  85. }
  86. .page-body-info {
  87. display: flex;
  88. flex-direction: column;
  89. align-items: center;
  90. background-color: var(--weui-BG-2);
  91. width: 100%;
  92. padding: 25px 0 75px 0;
  93. }
  94. .page-body-title {
  95. margin-bottom: 50px;
  96. font-size: 16px;
  97. }
  98. .page-body-text {
  99. font-size: 15px;
  100. line-height: 26px;
  101. color: var(--weui-FG-2);
  102. }
  103. .page-body-text-small {
  104. font-size: 12px;
  105. color: var(--weui-FG-0);
  106. margin-bottom: 50px;
  107. }
  108. .page-foot{
  109. /* margin: 50px 0 0 0; */
  110. margin: 50px 0 0 0;
  111. margin-bottom: constant(safe-area-inset-bottom);
  112. margin-bottom: env(safe-area-inset-bottom);
  113. /* padding-bottom: 15px; */
  114. padding-bottom: 15px;
  115. text-align: center;
  116. color: #1aad19;
  117. font-size: 0;
  118. }
  119. .icon-foot{
  120. /* width: 151px;
  121. height: 12px; */
  122. width: 76px;
  123. height: 12px;
  124. }
  125. .page-section{
  126. width: 100%;
  127. margin-bottom: 30px;
  128. }
  129. .page-section_center{
  130. display: flex;
  131. flex-direction: column;
  132. align-items: center;
  133. }
  134. .page-section:last-child{
  135. margin-bottom: 0;
  136. }
  137. .page-section-gap{
  138. box-sizing: border-box;
  139. padding: 0 15px;
  140. }
  141. .page-section-spacing{
  142. box-sizing: border-box;
  143. padding: 0 40px;
  144. }
  145. .page-section-title{
  146. /* font-size: 14px; */
  147. font-size: 14px;
  148. color: var(--weui-FG-1);
  149. /* margin-bottom: 5px;
  150. padding-left: 15px;
  151. padding-right: 15px; */
  152. margin-bottom: 5px;
  153. padding-left: 15px;
  154. padding-right: 15px;
  155. }
  156. .page-section-gap .page-section-title{
  157. padding-left: 0;
  158. padding-right: 0;
  159. }
  160. .page-section-ctn{
  161. }
  162. /* widget */
  163. .btn-area{
  164. margin-top: 30px;
  165. box-sizing: border-box;
  166. width: 100%;
  167. padding: 0 15px;
  168. }
  169. .image-plus {
  170. width: 75px;
  171. height: 75px;
  172. border: 1px solid var(--weui-FG-1);
  173. position: relative;
  174. }
  175. .image-plus-nb{
  176. border: 0;
  177. }
  178. .image-plus-text{
  179. color: var(--weui-FG-2);
  180. font-size: 14px;
  181. }
  182. .image-plus-horizontal {
  183. position: absolute;
  184. top: 50%;
  185. left: 50%;
  186. background-color: var(--weui-FG-1);
  187. width: 2px;
  188. height: 40px;
  189. transform: translate(-50%, -50%);
  190. }
  191. .image-plus-vertical {
  192. position: absolute;
  193. top: 50%;
  194. left: 50%;
  195. background-color: var(--weui-FG-1);
  196. width: 40px;
  197. height: 2px;
  198. transform: translate(-50%, -50%);
  199. }
  200. .demo-text-1{
  201. position: relative;
  202. align-items: center;
  203. justify-content: center;
  204. background-color: #1AAD19;
  205. color: #FFFFFF;
  206. font-size: 18px;
  207. }
  208. .demo-text-1:before{
  209. content: 'A';
  210. position: absolute;
  211. top: 50%;
  212. left: 50%;
  213. transform: translate(-50%, -50%);
  214. }
  215. .demo-text-2{
  216. position: relative;
  217. align-items: center;
  218. justify-content: center;
  219. background-color: #2782D7;
  220. color: #FFFFFF;
  221. font-size: 18px;
  222. }
  223. .demo-text-2:before{
  224. content: 'B';
  225. position: absolute;
  226. top: 50%;
  227. left: 50%;
  228. transform: translate(-50%, -50%);
  229. }
  230. .demo-text-3{
  231. position: relative;
  232. align-items: center;
  233. justify-content: center;
  234. background-color: #F1F1F1;
  235. color: #353535;
  236. font-size: 18px;
  237. }
  238. .demo-text-3:before{
  239. content: 'C';
  240. position: absolute;
  241. top: 50%;
  242. left: 50%;
  243. transform: translate(-50%, -50%);
  244. }