index.wxss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  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. }
  33. .attr_box .payBox {
  34. margin-top: 20rpx;
  35. padding: 13rpx 30rpx;
  36. background-color: white;
  37. border-radius: 20rpx;
  38. }
  39. .attr_box .payBox .title {
  40. font-size: 34rpx;
  41. font-weight: bold;
  42. color: #000;
  43. }
  44. .attr_box .payBox .pay {
  45. margin: 20rpx 0rpx;
  46. display: flex;
  47. align-items: center;
  48. justify-content: space-between;
  49. padding: 0rpx 30rpx;
  50. border-radius: 22rpx;
  51. overflow: hidden;
  52. }
  53. .attr_box .payBox .pay .payLeft .pLTitle {
  54. font-size: 36rpx;
  55. font-weight: bold;
  56. }
  57. .attr_box .payBox .pay .payLeft .pLcontent {
  58. font-size: 22rpx;
  59. }
  60. .attr_box .payBox .pay .payRight {
  61. margin: 24rpx 0rpx;
  62. padding: 12rpx 28rpx;
  63. border-radius: 40rpx;
  64. font-size: 24rpx;
  65. font-weight: bold;
  66. }
  67. .attr_box .payBox .vipPay {
  68. background: url('http://reader-wx.ai160.com/images/reader/v3/year.png') no-repeat;
  69. background-size: cover;
  70. }
  71. .attr_box .payBox .vipPay .vipTitle {
  72. color: #FFE6B9;
  73. }
  74. .attr_box .payBox .vipPay .vipContent {
  75. margin-top: 4rpx;
  76. color: #FFE6B9;
  77. }
  78. .attr_box .payBox .vipPay .vipBtn {
  79. background-image: linear-gradient(to bottom, #F4E7A8, #F9EDCF);
  80. color: #211501;
  81. }
  82. .attr_box .payBox .buyPay {
  83. background: url('http://reader-wx.ai160.com/images/reader/v3/10yuan.png') no-repeat;
  84. background-size: cover;
  85. }
  86. .attr_box .payBox .buyPay .payLeft {
  87. color: #7D320A;
  88. font-size: 36rpx;
  89. font-weight: bold;
  90. }
  91. .attr_box .payBox .buyPay .buyBtn {
  92. border: 1rpx solid white;
  93. color: white;
  94. background-color: #7D320A;
  95. }
  96. .attr_box .surplus {
  97. margin-top: 20rpx;
  98. padding: 22rpx 30rpx;
  99. background-color: white;
  100. border-radius: 20rpx;
  101. display: flex;
  102. align-items: center;
  103. justify-content: space-between;
  104. font-size: 32rpx;
  105. }
  106. .attr_box .surplus .title {
  107. font-size: 34rpx;
  108. font-weight: bold;
  109. color: #000;
  110. }
  111. .attr_box .surplus .num {
  112. color: #F97419;
  113. font-weight: bold;
  114. margin-right: 10rpx;
  115. }
  116. .attr_box .taskBox {
  117. margin-top: 20rpx;
  118. padding: 20rpx 10rpx 0rpx;
  119. background-color: white;
  120. border-radius: 20rpx;
  121. }
  122. .attr_box .taskBox .title {
  123. padding: 0rpx 20rpx;
  124. font-size: 34rpx;
  125. font-weight: bold;
  126. color: #000;
  127. }
  128. .attr_box .taskBox .task {
  129. display: flex;
  130. align-items: center;
  131. justify-content: space-between;
  132. padding: 30rpx 22rpx;
  133. border-bottom: 1px solid #EAEAEA;
  134. }
  135. .attr_box .taskBox .task .taskLeft {
  136. display: flex;
  137. align-items: center;
  138. justify-content: space-between;
  139. }
  140. .attr_box .taskBox .task .taskLeft .img {
  141. width: 76rpx;
  142. height: 76rpx;
  143. border-radius: 50%;
  144. }
  145. .attr_box .taskBox .task .taskLeft .taskContent {
  146. margin-left: 40rpx;
  147. }
  148. .attr_box .taskBox .task .taskLeft .taskContent .tcTitle {
  149. font-size: 30rpx;
  150. font-weight: bold;
  151. color: #333;
  152. }
  153. .attr_box .taskBox .task .taskLeft .taskContent .tcNum {
  154. color: #FF6259;
  155. font-size: 26rpx;
  156. }
  157. .attr_box .taskBox .task .taskRight {
  158. width: 138rpx;
  159. text-align: center;
  160. padding: 10rpx 0rpx;
  161. border-radius: 40rpx;
  162. color: white;
  163. background-color: #FC614E;
  164. font-size: 30rpx;
  165. }
  166. .attr_box .taskBox .task .taskRight-close {
  167. color: #6C6C6C;
  168. background: #D0D0D0;
  169. box-shadow: 0 2px 2px 0 #AEABAB;
  170. }
  171. .attr_box .taskBox .task .taskSurplus {
  172. text-align: center;
  173. margin-top: 4rpx;
  174. color: #686868;
  175. font-size: 20rpx;
  176. }
  177. .attr_box .taskBox .advert {
  178. border: none;
  179. }
  180. .attr_box .share_cancel {
  181. position: absolute;
  182. right: 50rpx;
  183. top: -80rpx;
  184. width: 60rpx;
  185. height: 80rpx;
  186. }