index.less 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  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: 3;
  12. color: #fff;
  13. }
  14. /*对话框 */
  15. .attr_box {
  16. width: 100%;
  17. position: fixed;
  18. bottom: 0;
  19. left: 0;
  20. z-index: 4;
  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. .surplus {
  98. margin-top: 20rpx;
  99. padding: 22rpx 30rpx;
  100. background-color: white;
  101. border-radius: 20rpx;
  102. display: flex;
  103. align-items: center;
  104. justify-content: space-between;
  105. font-size: 32rpx;
  106. .title {
  107. font-size: 34rpx;
  108. font-weight: bold;
  109. color: #000;
  110. }
  111. .num {
  112. color: #F97419;
  113. font-weight: bold;
  114. margin-right: 10rpx;
  115. }
  116. }
  117. .taskBox {
  118. margin-top: 20rpx;
  119. padding: 20rpx 10rpx 0rpx;
  120. background-color: white;
  121. border-radius: 20rpx;
  122. .title {
  123. padding: 0rpx 20rpx;
  124. font-size: 34rpx;
  125. font-weight: bold;
  126. color: #000;
  127. }
  128. .task {
  129. display: flex;
  130. align-items: center;
  131. justify-content: space-between;
  132. padding: 30rpx 22rpx;
  133. border-bottom: 1px solid #EAEAEA;
  134. .taskLeft {
  135. display: flex;
  136. align-items: center;
  137. justify-content: space-between;
  138. .img {
  139. width: 76rpx;
  140. height: 76rpx;
  141. border-radius: 50%;
  142. }
  143. .taskContent {
  144. margin-left: 40rpx;
  145. .tcTitle {
  146. font-size: 30rpx;
  147. font-weight: bold;
  148. color: #333;
  149. }
  150. .tcNum {
  151. color: #FF6259;
  152. font-size: 26rpx;
  153. }
  154. }
  155. }
  156. .taskRight {
  157. width: 138rpx;
  158. text-align: center;
  159. padding: 10rpx 0rpx;
  160. border-radius: 40rpx;
  161. color: white;
  162. background-color: #FC614E;
  163. font-size: 30rpx;
  164. }
  165. .taskRight-close {
  166. color: #6C6C6C;
  167. background: #D0D0D0;
  168. box-shadow: 0 2px 2px 0 #AEABAB;
  169. }
  170. .taskSurplus {
  171. text-align: center;
  172. margin-top: 4rpx;
  173. color: #686868;
  174. font-size: 20rpx;
  175. }
  176. }
  177. .advert {
  178. border: none;
  179. }
  180. }
  181. .share_cancel {
  182. position: absolute;
  183. right: 50rpx;
  184. top: -80rpx;
  185. width: 60rpx;
  186. height: 80rpx;
  187. }
  188. }