index.less 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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. margin-top: 20rpx;
  99. height: 100rpx;
  100. padding: 0rpx 24rpx;
  101. display: flex;
  102. align-items: center;
  103. justify-content: space-between;
  104. background: url('http://reader-wx.ai160.com/images/reader/v3/phone.png') no-repeat;
  105. background-size: cover;
  106. font-size: 30rpx;
  107. border-radius: 20rpx;
  108. .desc {
  109. color: white;
  110. margin-left: 120rpx;
  111. }
  112. .bindBtn {
  113. background-color: white;
  114. color: #FC614E;
  115. padding: 6rpx 24rpx;
  116. font-size: 30rpx;
  117. font-weight: bold;
  118. border-radius: 25rpx;
  119. }
  120. }
  121. .surplus {
  122. margin-top: 20rpx;
  123. padding: 22rpx 30rpx;
  124. background-color: white;
  125. border-radius: 20rpx;
  126. display: flex;
  127. align-items: center;
  128. justify-content: space-between;
  129. font-size: 32rpx;
  130. .title {
  131. font-size: 34rpx;
  132. font-weight: bold;
  133. color: #000;
  134. }
  135. .num {
  136. color: #F97419;
  137. font-weight: bold;
  138. margin-right: 10rpx;
  139. }
  140. }
  141. .taskBox {
  142. margin-top: 20rpx;
  143. padding: 20rpx 10rpx 0rpx;
  144. background-color: white;
  145. border-radius: 20rpx;
  146. .title {
  147. padding: 0rpx 20rpx;
  148. font-size: 34rpx;
  149. font-weight: bold;
  150. color: #000;
  151. }
  152. .task {
  153. display: flex;
  154. align-items: center;
  155. justify-content: space-between;
  156. padding: 30rpx 22rpx;
  157. border-bottom: 1px solid #EAEAEA;
  158. .taskLeft {
  159. display: flex;
  160. align-items: center;
  161. justify-content: space-between;
  162. .img {
  163. width: 76rpx;
  164. height: 76rpx;
  165. border-radius: 50%;
  166. }
  167. .taskContent {
  168. margin-left: 40rpx;
  169. .tcTitle {
  170. font-size: 30rpx;
  171. font-weight: bold;
  172. color: #333;
  173. }
  174. .tcNum {
  175. color: #FF6259;
  176. font-size: 26rpx;
  177. }
  178. }
  179. }
  180. .taskRight {
  181. width: 138rpx;
  182. text-align: center;
  183. padding: 10rpx 0rpx;
  184. border-radius: 40rpx;
  185. color: white;
  186. background-color: #FC614E;
  187. font-size: 30rpx;
  188. }
  189. .taskRight-close {
  190. color: #6C6C6C;
  191. background: #D0D0D0;
  192. box-shadow: 0 2px 2px 0 #AEABAB;
  193. }
  194. .taskSurplus {
  195. text-align: center;
  196. margin-top: 4rpx;
  197. color: #686868;
  198. font-size: 20rpx;
  199. }
  200. }
  201. .advert {
  202. border: none;
  203. }
  204. }
  205. .share_cancel {
  206. position: absolute;
  207. left: 0px;
  208. right: 0px;
  209. margin: auto;
  210. top: -64rpx;
  211. width: 60rpx;
  212. height: 60rpx;
  213. }
  214. }