index.wxss 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. Page{
  2. background: #fff;
  3. }
  4. .screen-swiper {
  5. min-height: 468rpx;
  6. }
  7. .box-search{
  8. margin: 20rpx 0;
  9. }
  10. .box-search view.cu-bar {
  11. margin-top: 20rpx;
  12. }
  13. .box {
  14. text-align: center;
  15. margin: 20rpx;
  16. }
  17. .box .camara {
  18. color: #f36944;
  19. font-size: 28rpx;
  20. }
  21. .box .button {
  22. background: #ff816a;
  23. border-radius: 48rpx;
  24. color: #fff;
  25. display: inline-block;
  26. margin: 8rpx;
  27. padding: 24rpx 80rpx;
  28. font-size: 42rpx;
  29. }
  30. .box .desc {
  31. margin-top:8rpx;
  32. font-size: 28rpx;
  33. color: #969696;
  34. margin-bottom: 10rpx;
  35. }
  36. /*
  37. session
  38. */
  39. /* 分类 */
  40. .cate-section {
  41. display: -webkit-box;
  42. display: -webkit-flex;
  43. display: -ms-flexbox;
  44. display: flex;
  45. -webkit-justify-content: space-around;
  46. -ms-flex-pack: distribute;
  47. justify-content: space-around;
  48. -webkit-box-align: center;
  49. -webkit-align-items: center;
  50. -ms-flex-align: center;
  51. align-items: center;
  52. -webkit-flex-wrap: wrap;
  53. -ms-flex-wrap: wrap;
  54. flex-wrap: wrap;
  55. padding: 30rpx 22rpx;
  56. background: #fff;
  57. /* 原图标颜色太深,不想改图了,所以加了透明度 */
  58. }
  59. .cate-section .cate-item {
  60. display: -webkit-box;
  61. display: -webkit-flex;
  62. display: -ms-flexbox;
  63. display: flex;
  64. -webkit-box-orient: vertical;
  65. -webkit-box-direction: normal;
  66. -webkit-flex-direction: column;
  67. -ms-flex-direction: column;
  68. flex-direction: column;
  69. -webkit-box-align: center;
  70. -webkit-align-items: center;
  71. -ms-flex-align: center;
  72. align-items: center;
  73. font-size: 26rpx;
  74. color: #5d626b;
  75. }
  76. .cate-section image {
  77. width: 88rpx;
  78. height: 88rpx;
  79. margin-bottom: 14rpx;
  80. border-radius: 50%;
  81. opacity: .7;
  82. -webkit-box-shadow: 4rpx 4rpx 20rpx rgba(250, 67, 106, 0.3);
  83. box-shadow: 4rpx 4rpx 20rpx rgba(250, 67, 106, 0.3);
  84. }
  85. /*
  86. */
  87. .f-header {
  88. display: -webkit-box;
  89. display: -webkit-flex;
  90. display: -ms-flexbox;
  91. display: flex;
  92. -webkit-box-align: center;
  93. -webkit-align-items: center;
  94. -ms-flex-align: center;
  95. align-items: center;
  96. height: 140rpx;
  97. padding: 6rpx 30rpx 8rpx;
  98. background: #fff;
  99. }
  100. .f-header image {
  101. -webkit-flex-shrink: 0;
  102. -ms-flex-negative: 0;
  103. flex-shrink: 0;
  104. width: 80rpx;
  105. height: 80rpx;
  106. margin-right: 20rpx;
  107. }
  108. .f-header .tit-box {
  109. -webkit-box-flex: 1;
  110. -webkit-flex: 1;
  111. -ms-flex: 1;
  112. flex: 1;
  113. display: -webkit-box;
  114. display: -webkit-flex;
  115. display: -ms-flexbox;
  116. display: flex;
  117. -webkit-box-orient: vertical;
  118. -webkit-box-direction: normal;
  119. -webkit-flex-direction: column;
  120. -ms-flex-direction: column;
  121. flex-direction: column;
  122. }
  123. .f-header .tit {
  124. font-size: 34rpx;
  125. color: rgb(0, 0, 5);
  126. line-height: 1.3;
  127. }
  128. .f-header .tit2 {
  129. font-size: 24rpx;
  130. color: #909399;
  131. }
  132. .f-header .icon-you {
  133. font-size: 34rpx;
  134. color: #909399;
  135. }
  136. /* 热门 */
  137. .group-section {
  138. background: #fff;
  139. }
  140. .group-section .g-swiper {
  141. height: 650rpx;
  142. padding-bottom: 30rpx;
  143. }
  144. .group-section .g-swiper-item {
  145. width: 100%;
  146. padding: 0 30rpx;
  147. display: -webkit-box;
  148. display: -webkit-flex;
  149. display: -ms-flexbox;
  150. display: flex;
  151. }
  152. .group-section image {
  153. width: 100%;
  154. height: 460rpx;
  155. border-radius: 4px;
  156. }
  157. .group-section .g-item {
  158. display: -webkit-box;
  159. display: -webkit-flex;
  160. display: -ms-flexbox;
  161. display: flex;
  162. -webkit-box-orient: vertical;
  163. -webkit-box-direction: normal;
  164. -webkit-flex-direction: column;
  165. -ms-flex-direction: column;
  166. flex-direction: column;
  167. overflow: hidden;
  168. }
  169. .group-section .left {
  170. -webkit-box-flex: 1.2;
  171. -webkit-flex: 1.2;
  172. -ms-flex: 1.2;
  173. flex: 1.2;
  174. margin-right: 24rpx;
  175. }
  176. .group-section .left .t-box {
  177. padding-top: 20rpx;
  178. }
  179. .group-section .right {
  180. -webkit-box-flex: 0.8;
  181. -webkit-flex: 0.8;
  182. -ms-flex: 0.8;
  183. flex: 0.8;
  184. -webkit-box-orient: vertical;
  185. -webkit-box-direction: reverse;
  186. -webkit-flex-direction: column-reverse;
  187. -ms-flex-direction: column-reverse;
  188. flex-direction: column-reverse;
  189. }
  190. .group-section .right .t-box {
  191. padding-bottom: 20rpx;
  192. }
  193. .group-section .t-box {
  194. height: 160rpx;
  195. font-size: 30rpx;
  196. color: #303133;
  197. line-height: 1.6;
  198. }
  199. .group-section .price {
  200. color: #fa436a;
  201. }
  202. .group-section .m-price {
  203. font-size: 26rpx;
  204. text-decoration: line-through;
  205. color: #909399;
  206. margin-left: 8rpx;
  207. }
  208. .group-section .pro-box {
  209. display: -webkit-box;
  210. display: -webkit-flex;
  211. display: -ms-flexbox;
  212. display: flex;
  213. -webkit-box-align: center;
  214. -webkit-align-items: center;
  215. -ms-flex-align: center;
  216. align-items: center;
  217. margin-top: 10rpx;
  218. font-size: 24rpx;
  219. color: 28rpx;
  220. padding-right: 10rpx;
  221. }
  222. .group-section .progress-box {
  223. -webkit-box-flex: 1;
  224. -webkit-flex: 1;
  225. -ms-flex: 1;
  226. flex: 1;
  227. border-radius: 10px;
  228. overflow: hidden;
  229. margin-right: 8rpx;
  230. }
  231. .anw-title{
  232. font-size: 32rpx;
  233. font-weight: 900;
  234. padding:8rpx;
  235. }
  236. .anw-content{
  237. font-size: 25rpx;
  238. padding:24rpx;
  239. color:#fa436a;
  240. line-height:150%;
  241. }