东风启辰小程序端
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

205 lines
3.5KB

  1. /* pages/everyday/everyday.wxss */
  2. .showImg {
  3. position: relative;
  4. width: 750rpx;
  5. height: 616rpx;
  6. }
  7. .ruleBtn {
  8. right: 0;
  9. top: 180rpx;
  10. position: absolute;
  11. width: 153rpx;
  12. height: 46rpx;
  13. line-height: 46rpx;
  14. font-size: 24rpx;
  15. color: #fff;
  16. background-color: rgba(35, 24, 21, 0.63);
  17. border-top-left-radius: 20rpx;
  18. border-bottom-left-radius: 20rpx;
  19. padding-left: 20rpx;
  20. box-sizing: border-box;
  21. }
  22. .title {
  23. height: 110rpx;
  24. line-height: 110rpx;
  25. width: 100%;
  26. text-align: center;
  27. font-size: 36rpx;
  28. font-weight: bold;
  29. }
  30. .menuBox {
  31. position: relative;
  32. width: 535rpx;
  33. height: 58rpx;
  34. margin: 0 auto;
  35. }
  36. .menu {
  37. width: 100%;
  38. height: 100%;
  39. }
  40. .menuBox>view {
  41. position: absolute;
  42. bottom: 0;
  43. font-size: 16rpx;
  44. text-align: center;
  45. }
  46. .menuBox>.leftTitle {
  47. left: 38rpx;
  48. width: 54rpx;
  49. height: 38rpx;
  50. line-height: 38rpx;
  51. }
  52. .menuBox>.centerTitle {
  53. left: 95rpx;
  54. width: 345rpx;
  55. height: 56rpx;
  56. line-height: 56rpx;
  57. color: #fff;
  58. font-size: 29rpx;
  59. }
  60. .menuBox>.rightTitle {
  61. right: 38rpx;
  62. width: 54rpx;
  63. height: 38rpx;
  64. line-height: 38rpx;
  65. }
  66. .swiperBox{
  67. position: relative;
  68. width: 615rpx;
  69. height: 424rpx;
  70. margin: 24rpx auto 0 auto;
  71. }
  72. .swiperBox>swiper{
  73. width: 100%;
  74. height: 100%;
  75. }
  76. .swiperBox>.arrowBtn{
  77. position: absolute;
  78. width: 13rpx;
  79. height: 29rpx;
  80. top: 50%;
  81. transform: translateY(-50%);
  82. }
  83. .fragmentBox{
  84. position: relative;
  85. width: 100%;
  86. height: 100%;
  87. border-radius: 26rpx;
  88. }
  89. .fragmentBox>.fragmentComplete{
  90. width: 100%;
  91. height: 100%;
  92. }
  93. .btnBox{
  94. position: relative;
  95. width: 615rpx;
  96. height: 49rpx;
  97. text-align: center;
  98. margin: 48rpx auto 0 auto;
  99. }
  100. .btnBox>.btn{
  101. display: inline-block;
  102. width: 279rpx;
  103. height: 100%;
  104. line-height: 49rpx;
  105. text-align: center;
  106. border: 1rpx solid #345489;
  107. box-sizing: border-box;
  108. font-size: 21rpx;
  109. color: #333333;
  110. border-radius: 15rpx;
  111. }
  112. .btnBox>.btn.select{
  113. background-color: #345489;
  114. color: #ffffff;
  115. }
  116. .mask {
  117. position: absolute;
  118. left: 0;
  119. top: 0;
  120. width: 100%;
  121. height: 100%;
  122. display: flex;
  123. align-items: center;
  124. justify-content: center;
  125. background-color: rgba(0, 0, 0, 0.5);
  126. }
  127. .taskBox{
  128. position: relative;
  129. width: 567rpx;
  130. height: 649rpx;
  131. border-radius: 20rpx;
  132. }
  133. .taskBox>.title{
  134. height: 77rpx;
  135. line-height: 77rpx;
  136. color: #ffffff;
  137. border-top-left-radius: 20rpx;
  138. border-top-right-radius: 20rpx;
  139. background-color: #345486;
  140. }
  141. .taskBox>.contentBox{
  142. position: relative;
  143. width: 100%;
  144. height: calc(100% - 77rpx);
  145. background-color: #ffffff;
  146. border-bottom-left-radius: 20rpx;
  147. border-bottom-right-radius: 20rpx;
  148. }
  149. .taskBox>.contentBox>.name{
  150. width: 100%;
  151. height: 107rpx;
  152. line-height: 107rpx;
  153. font-size: 33rpx;
  154. text-align: center;
  155. padding-top: 38rpx;
  156. font-weight: bold;
  157. }
  158. .taskBox>.contentBox>.taskImg{
  159. width: 488rpx;
  160. height: 268rpx;
  161. margin: 0 auto;
  162. border-radius: 19rpx;
  163. }
  164. .taskBox>.contentBox>.btn{
  165. width: 347rpx;
  166. height: 62rpx;
  167. line-height: 62rpx;
  168. text-align: center;
  169. color: #ffffff;
  170. font-size: 28rpx;
  171. border-radius: 10rpx;
  172. margin: 42rpx auto 0 auto;
  173. background-color: #345486;
  174. }
  175. .closeBtn {
  176. background: none;
  177. border: 2rpx solid #fff;
  178. color: #fff;
  179. border-radius: 50%;
  180. text-align: center;
  181. height: 40rpx;
  182. line-height: 40rpx;
  183. width: 40rpx;
  184. font-size: 30rpx;
  185. padding: 2rpx;
  186. position: absolute;
  187. }
  188. /* use cross as close button */
  189. .closeBtn::before {
  190. content: "\2716";
  191. }