index.less 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. /*使屏幕变暗 */
  2. .background_screen {
  3. width: 100%;
  4. height: 100%;
  5. position: fixed;
  6. top: 0;
  7. left: 0;
  8. background: #000;
  9. opacity: 0.4;
  10. overflow: hidden;
  11. z-index: 99;
  12. color: #fff;
  13. }
  14. /*对话框 */
  15. .attr_box {
  16. width: 100%;
  17. position: fixed;
  18. bottom: 0;
  19. left: 0;
  20. z-index: 99;
  21. background-image: linear-gradient(180deg, #FFEBC1 1%, #FEEFCD 54%, #FFFCF0 100%);
  22. border-radius: 40px 40px 0 0;
  23. border-radius: 40px 40px 0px 0px;
  24. border-top-left-radius: 30rpx;
  25. border-top-right-radius: 30rpx;
  26. padding: 29rpx 18rpx;
  27. box-sizing: border-box;
  28. /*兼容 IOS<11.2*/
  29. padding-bottom: constant(safe-area-inset-bottom);
  30. /*兼容 IOS>11.2*/
  31. padding-bottom: env(safe-area-inset-bottom);
  32. .payBox {
  33. margin-top: 20rpx;
  34. padding: 13rpx 30rpx;
  35. background-color: white;
  36. border-radius: 20rpx;
  37. .title {
  38. font-size: 34rpx;
  39. font-weight: bold;
  40. color: #000;
  41. }
  42. .pay {
  43. margin: 20rpx 0rpx;
  44. display: flex;
  45. align-items: center;
  46. justify-content: space-between;
  47. padding: 0rpx 30rpx;
  48. border-radius: 22rpx;
  49. overflow: hidden;
  50. .payLeft {
  51. .pLTitle {
  52. font-size: 36rpx;
  53. font-weight: bold;
  54. }
  55. .pLcontent {
  56. font-size: 22rpx;
  57. }
  58. }
  59. .payRight {
  60. margin: 24rpx 0rpx;
  61. padding: 12rpx 28rpx;
  62. border-radius: 40rpx;
  63. font-size: 24rpx;
  64. font-weight: bold;
  65. }
  66. }
  67. .vipPay {
  68. background: url('http://reader-wx.ai160.com/images/reader/v3/year.png') no-repeat;
  69. background-size: cover;
  70. .vipTitle {
  71. color: #FFE6B9;
  72. }
  73. .vipContent {
  74. margin-top: 4rpx;
  75. color: #FFE6B9;
  76. }
  77. .vipBtn {
  78. background-image: linear-gradient(to bottom, #F4E7A8, #F9EDCF);
  79. color: #211501;
  80. }
  81. }
  82. .buyPay {
  83. background: url('http://reader-wx.ai160.com/images/reader/v3/10yuan.png') no-repeat;
  84. background-size: cover;
  85. .payLeft {
  86. color: #7D320A;
  87. font-size: 36rpx;
  88. font-weight: bold;
  89. }
  90. .buyBtn {
  91. border: 1rpx solid white;
  92. color: white;
  93. background-color: #7D320A;
  94. }
  95. }
  96. }
  97. .bindNumber {
  98. padding: 22rpx 30rpx;
  99. margin-top: 20rpx;
  100. display: flex;
  101. align-items: center;
  102. background: url('http://reader-wx.ai160.com/images/reader/v3/year.png') no-repeat;
  103. background-size: cover;
  104. border-radius: 20rpx;
  105. .desc {
  106. color: white;
  107. }
  108. }
  109. .surplus {
  110. margin-top: 20rpx;
  111. padding: 22rpx 30rpx;
  112. background-color: white;
  113. border-radius: 20rpx;
  114. display: flex;
  115. align-items: center;
  116. justify-content: space-between;
  117. font-size: 32rpx;
  118. .title {
  119. font-size: 34rpx;
  120. font-weight: bold;
  121. color: #000;
  122. }
  123. .num {
  124. color: #F97419;
  125. font-weight: bold;
  126. margin-right: 10rpx;
  127. }
  128. }
  129. .taskBox {
  130. margin-top: 20rpx;
  131. padding: 20rpx 10rpx 0rpx;
  132. background-color: white;
  133. border-radius: 20rpx;
  134. .title {
  135. padding: 0rpx 20rpx;
  136. font-size: 34rpx;
  137. font-weight: bold;
  138. color: #000;
  139. }
  140. .task {
  141. display: flex;
  142. align-items: center;
  143. justify-content: space-between;
  144. padding: 30rpx 22rpx;
  145. border-bottom: 1px solid #EAEAEA;
  146. .taskLeft {
  147. display: flex;
  148. align-items: center;
  149. justify-content: space-between;
  150. .img {
  151. width: 76rpx;
  152. height: 76rpx;
  153. border-radius: 50%;
  154. }
  155. .taskContent {
  156. margin-left: 40rpx;
  157. .tcTitle {
  158. font-size: 30rpx;
  159. font-weight: bold;
  160. color: #333;
  161. }
  162. .tcNum {
  163. color: #FF6259;
  164. font-size: 26rpx;
  165. }
  166. }
  167. }
  168. .taskRight {
  169. width: 138rpx;
  170. text-align: center;
  171. padding: 10rpx 0rpx;
  172. border-radius: 40rpx;
  173. color: white;
  174. background-color: #FC614E;
  175. font-size: 30rpx;
  176. }
  177. .taskRight-close {
  178. color: #6C6C6C;
  179. background: #D0D0D0;
  180. box-shadow: 0 2px 2px 0 #AEABAB;
  181. }
  182. .taskSurplus {
  183. text-align: center;
  184. margin-top: 4rpx;
  185. color: #686868;
  186. font-size: 20rpx;
  187. }
  188. }
  189. .advert {
  190. border: none;
  191. }
  192. }
  193. .share_cancel {
  194. position: absolute;
  195. left: 0px;
  196. right: 0px;
  197. margin: auto;
  198. top: -64rpx;
  199. width: 60rpx;
  200. height: 60rpx;
  201. }
  202. }