app.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. @import url('./node_modules/animate.css/animate.min.css');
  2. @import url('./node_modules/swiper/css/swiper.css');
  3. /**app.wxss**/
  4. .container {
  5. height: 100%;
  6. box-sizing: border-box;
  7. color: #333;
  8. /* font-family: helvetica, 'Heiti SC', PingFangSC-Light; */
  9. /* font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; */
  10. }
  11. ::-webkit-scrollbar {
  12. width: 0!important;
  13. height: 0!important;
  14. }
  15. .uni-btn {
  16. line-height: 1;
  17. margin: 0;
  18. border: none;
  19. padding: 0;
  20. background: transparent;
  21. }
  22. .uni-btn::after {
  23. border: none;
  24. }
  25. page {
  26. height: 100%;
  27. }
  28. input :disabled {
  29. pointer-events: none;
  30. }
  31. .price {
  32. font-family: Arial, serif;
  33. display: inline-block;
  34. color: #eb2444;
  35. padding-bottom: 10rpx;
  36. padding-left: 10rpx;
  37. }
  38. li {
  39. list-style: none;
  40. }
  41. /* 价格数字显示不同大小 */
  42. .symbol {
  43. font-size: 24rpx;
  44. }
  45. .big-num {
  46. font-size: 32rpx;
  47. }
  48. .small-num {
  49. font-size: 24rpx;
  50. }
  51. /*
  52. *改变checkbox样式
  53. *自定义样式
  54. */
  55. /* reg */
  56. uni-checkbox-group {
  57. width: 100% !important;
  58. }
  59. uni-checkbox-group uni-label {
  60. width: 33% !important;
  61. display: inline-flex;
  62. margin-bottom: 20rpx;
  63. }
  64. /*checkbox 选项框大小 */
  65. uni-checkbox .uni-checkbox-input {
  66. width: 38rpx !important;
  67. height: 38rpx !important;
  68. border-radius: 50% !important;
  69. }
  70. /*checkbox选中后样式 */
  71. uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked {
  72. background: #e43130;
  73. border: 1px solid transparent !important;
  74. }
  75. /*checkbox选中后图标样式 */
  76. uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked::before {
  77. display: inline-block;
  78. width: 20rpx;
  79. height: 20rpx;
  80. line-height: 20rpx;
  81. text-align: center;
  82. font-size: 18rpx;
  83. color: #fff;
  84. background: transparent;
  85. transform: translate(-60%, -50%) scale(1);
  86. -webkit-transform: translate(-60%, -50%) scale(1);
  87. }
  88. /*
  89. *改变radio样式
  90. *自定义样式
  91. */
  92. /* 未选中的 背景样式 */
  93. uni-radio .uni-radio-input {
  94. height: 36rpx;
  95. width: 36rpx;
  96. border-radius: 50%;
  97. background: transparent;
  98. box-sizing: border-box;
  99. }
  100. /* 选中后的 背景样式 */
  101. uni-radio .uni-radio-input.uni-radio-input-checked {
  102. border: none !important;
  103. background: #e43130 !important;
  104. }
  105. /* 选中后的 对勾样式 */
  106. uni-radio .uni-radio-input.uni-radio-input-checked::before {
  107. border-radius: 50%;
  108. width: 32rpx;
  109. height: 32rpx;
  110. line-height: 32rpx;
  111. text-align: center;
  112. font-size: 20rpx;
  113. color: #fff;
  114. background: #e43130;
  115. border-radius: 50%;
  116. transform: translate(-50%, -50%) scale(1);
  117. -webkit-transform: translate(-50%, -50%) scale(1);
  118. }
  119. /* 底部按钮兼容 iPhone X以上 */
  120. @media screen and (width: 375px) and (height: 812px) {
  121. .container {
  122. padding-bottom: 70px;
  123. }
  124. }
  125. @media screen and (width: 414px) and (height: 736px) {
  126. .container {
  127. padding-bottom: 70px;
  128. }
  129. }
  130. .uni-swiper-dot-active {
  131. background-color: #eb2444;
  132. }
  133. .flex-center {
  134. display: flex;
  135. align-items: center;
  136. }
  137. .flex-column {
  138. flex-direction: column;
  139. }
  140. /* 字体大小 */
  141. .font-10 {
  142. font-size: 20upx;
  143. }
  144. .font-12 {
  145. font-size: 24upx;
  146. }
  147. .font-14 {
  148. font-size: 28upx;
  149. }
  150. .font-15 {
  151. font-size: 30upx;
  152. }
  153. .font-16 {
  154. font-size: 32upx;
  155. }
  156. .font-17 {
  157. font-size: 34upx;
  158. }
  159. /* 字重 */
  160. .f-w-500 {
  161. font-weight: 500;
  162. }
  163. .f-w-b {
  164. font-weight: bold;
  165. }
  166. /* 文字颜色 */
  167. .f-c-ff {
  168. color: #fff;
  169. }
  170. .f-c-9 {
  171. color: #999999;
  172. }
  173. .f-c-3d {
  174. color: #3d3d3d;
  175. }
  176. .f-c-77 {
  177. color: #777;
  178. }
  179. .f-c-00 {
  180. color: #000;
  181. }
  182. /* 圆角 */
  183. .r-5 {
  184. border-radius: 10upx;
  185. }
  186. .r-10 {
  187. border-radius: 20upx;
  188. }
  189. /* 背景 */
  190. .b-c {
  191. background-color: #EFEFEF;
  192. }
  193. .call-phone {
  194. color: #0078d4;
  195. padding: 0 20upx;
  196. }
  197. view,
  198. text {
  199. /* line-height: 1.5; */
  200. /* font-size: 28upx; */
  201. }
  202. .l-34 {
  203. line-height: 34upx;
  204. }
  205. .f-12 {
  206. font-size: 24upx;
  207. }
  208. .page {
  209. width: 100vw;
  210. min-height: 100vh;
  211. }
  212. .bee-btn {
  213. background-color: transparent;
  214. border: none;
  215. outline: none;
  216. margin: 0;
  217. line-height: 1.5;
  218. border-radius: 0;
  219. font-size: 28upx;
  220. color: #000;
  221. padding: 0;
  222. }
  223. .bee-btn::after {
  224. border: none;
  225. }
  226. .hiden-text {
  227. overflow: hidden;
  228. white-space: nowrap;
  229. text-overflow: ellipsis;
  230. }
  231. .p-color {
  232. color: #fa5151;
  233. }
  234. .f-s-b {
  235. display: flex;
  236. align-items: center;
  237. justify-content: space-between;
  238. }
  239. .f-f-s {
  240. display: flex;
  241. align-items: center;
  242. justify-content: flex-start;
  243. }
  244. .f-f-e {
  245. display: flex;
  246. align-items: center;
  247. justify-content: flex-end;
  248. }
  249. .f-center {
  250. display: flex;
  251. align-items: center;
  252. justify-content: center;
  253. }