quan.wxss 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. .page {
  2. width: 100%;
  3. height: 100%;
  4. min-height: 100vh;
  5. padding-top: 59rpx;
  6. padding-bottom: 38rpx;
  7. box-sizing: border-box;
  8. position: relative;
  9. background: #000;
  10. }
  11. .quan-view{
  12. margin-top: 40rpx;
  13. }
  14. .wrapper {
  15. width: 670rpx;
  16. height: 226rpx;
  17. margin: 0 auto;
  18. display: flex;
  19. background: linear-gradient(135deg, rgba(219, 93, 115, 1) 0%, rgba(137, 29, 34, 1) 100%);
  20. border-radius: 20rpx;
  21. margin-bottom: 28rpx;
  22. }
  23. .wrapper-ed{
  24. opacity: 0.5;
  25. width: 670rpx;
  26. height: 226rpx;
  27. margin: 0 auto;
  28. display: flex;
  29. border-radius: 20rpx;
  30. margin-bottom: 28rpx;
  31. background: linear-gradient(135deg, #999 0%, #CBC9C9 100%);
  32. }
  33. .btnBgActive-ed{
  34. box-shadow: none;
  35. background: #ccc;
  36. }
  37. .moveCm-ed{
  38. animation: none;
  39. }
  40. /*前半部分样式*/
  41. .content {
  42. position: relative;
  43. height: 229rpx;
  44. flex: 0 0 200rpx;
  45. text-align: center;
  46. overflow: hidden;
  47. border-top-left-radius: 18rpx;
  48. display: flex;
  49. justify-content: center;
  50. align-items: center;
  51. flex-direction: column;
  52. }
  53. /*后半部分样式*/
  54. .tip {
  55. position: relative;
  56. flex: 1;
  57. height: 229rpx;
  58. box-sizing: border-box;
  59. padding-left: 20rpx;
  60. display: flex;
  61. flex-direction: column;
  62. justify-content: center;
  63. }
  64. /*中间竖直虚线样式*/
  65. .split-line {
  66. position: relative;
  67. flex: 0 0 0;
  68. margin: 0 10rpx 0 6rpx;
  69. border-left: 2rpx dashed #fff;
  70. }
  71. /*给虚线加两个伪类,基本样式如下*/
  72. .split-line:before,
  73. .split-line:after {
  74. content: '';
  75. position: absolute;
  76. width: 32rpx;
  77. height: 16rpx;
  78. background: #FFF;
  79. left: -18rpx;
  80. z-index: 1;
  81. }
  82. /*几个伪类化成的圆弧的样式以及位置(置于顶部)我把它放在一起了*/
  83. .content:before,
  84. .tip:before,
  85. .split-line:before {
  86. border-radius: 0 0 16rpx 16rpx;
  87. top: 0;
  88. }
  89. /*几个伪类化成的圆弧的样式以及位置(置于底部)我把它放在一起了*/
  90. .content:after,
  91. .tip:after,
  92. .split-line:after {
  93. border-radius: 16rpx 16rpx 0 0;
  94. bottom: 0;
  95. }
  96. .couponCount {
  97. width: 150rpx;
  98. height: 150rpx;
  99. font-size: 30rpx;
  100. font-family: PingFangSC-Semibold, PingFang SC;
  101. font-weight: 600;
  102. color: rgba(140, 31, 37, 1);
  103. transform: rotate(-45deg);
  104. position: absolute;
  105. text-align: center;
  106. line-height: 259rpx;
  107. top: -78rpx;
  108. left: -78rpx;
  109. background: linear-gradient(319deg, rgba(244, 219, 160, 1) 0%, rgba(255, 255, 255, 1) 100%);
  110. }
  111. .couponCount-ed {
  112. width: 150rpx;
  113. height: 150rpx;
  114. font-size: 30rpx;
  115. font-family: PingFangSC-Semibold, PingFang SC;
  116. font-weight: 600;
  117. color: rgba(140, 31, 37, 1);
  118. transform: rotate(-45deg);
  119. position: absolute;
  120. text-align: center;
  121. line-height: 259rpx;
  122. top: -78rpx;
  123. left: -78rpx;
  124. background: #333;
  125. color: #FFF;
  126. }
  127. .oilline {
  128. background: linear-gradient(to right,
  129. rgba(0, 0, 0, 0) 0%,
  130. rgba(0, 0, 0, 0) 10%,
  131. rgba(255, 255, 255, 0.3) 20%,
  132. rgba(255, 255, 255, 0.4) 30%,
  133. rgba(255, 255, 255, 0.5) 40%,
  134. rgba(255, 255, 255, 0.8) 50%,
  135. rgba(255, 255, 255, 0.5) 60%,
  136. rgba(255, 255, 255, 0.4) 70%,
  137. rgba(255, 255, 255, 0.3) 80%,
  138. rgba(0, 0, 0, 0) 90%,
  139. rgba(0, 0, 0, 0) 100%);
  140. height: 2rpx;
  141. }
  142. .linwidth227 {
  143. width: 227rpx;
  144. }
  145. .linwidth160 {
  146. width: 160rpx;
  147. }
  148. .moyfh {
  149. font-size: 69rpx;
  150. font-family: PingFangSC-Semibold, PingFang SC;
  151. font-weight: 600;
  152. color: rgba(255, 255, 255, 1);
  153. margin-right: -2rpx;
  154. }
  155. .moneyNum {
  156. font-size: 96rpx;
  157. font-family: PingFangSC-Semibold, PingFang SC;
  158. font-weight: 600;
  159. color: rgba(255, 255, 255, 1);
  160. }
  161. .couponmaes {
  162. font-size: 30rpx;
  163. font-family: PingFangSC-Semibold, PingFang SC;
  164. font-weight: 600;
  165. color: rgba(255, 255, 255, 1);
  166. width: 260rpx;
  167. overflow: hidden;
  168. text-overflow: ellipsis;
  169. display: -webkit-box;
  170. -webkit-line-clamp: 1;
  171. -webkit-box-orient: vertical;
  172. }
  173. .vnameBx {
  174. text-align: center;
  175. width: 227rpx;
  176. margin: 25rpx 0;
  177. }
  178. .btnbx {
  179. position: absolute;
  180. right: 0;
  181. top: 0;
  182. bottom: 0;
  183. display: flex;
  184. justify-content: center;
  185. align-items: center;
  186. }
  187. .btnbx-ed {
  188. position: absolute;
  189. right: 0;
  190. top: 0;
  191. bottom: 0;
  192. display: flex;
  193. justify-content: center;
  194. align-items: center;
  195. }
  196. .btnw {
  197. display: flex;
  198. justify-content: center;
  199. align-items: center;
  200. width: 148rpx;
  201. height: 148rpx;
  202. border-radius: 50%;
  203. margin-right: 30rpx;
  204. }
  205. .btnBgActive {
  206. color: rgba(140, 31, 37, 1);
  207. box-shadow: 0px 2px 29px 0px rgba(77, 12, 15, 0.56);
  208. background: linear-gradient(319deg, rgba(244, 219, 160, 1) 0%, rgba(255, 255, 255, 1) 100%);
  209. }
  210. .btnBgGray {
  211. /* box-shadow: 0px 2px 29px 0px rgba(77, 12, 15, 0.56); */
  212. color: #cc6031;
  213. border: 1px solid #cc6031;
  214. transform: rotate(-45deg);
  215. }
  216. .btnn {
  217. font-size: 30rpx;
  218. font-family: PingFangSC-Semibold, PingFang SC;
  219. font-weight: 600;
  220. width: 120rpx;
  221. height: 120rpx;
  222. border-radius: 50%;
  223. border: 1rpx solid rgba(142, 33, 39, 1);
  224. text-align: center;
  225. box-sizing: border-box;
  226. padding: 18rpx;
  227. line-height: 46rpx;
  228. }
  229. .btnn-ed{
  230. font-size: 28rpx;
  231. font-family: PingFangSC-Semibold, PingFang SC;
  232. font-weight: 600;
  233. width: 120rpx;
  234. height: 120rpx;
  235. border-radius: 50%;
  236. text-align: center;
  237. box-sizing: border-box;
  238. padding: 18rpx;
  239. line-height: 90rpx;
  240. }
  241. .moveCm {
  242. animation: scale 0.8s ease-in-out infinite alternate;
  243. }
  244. @keyframes scale {
  245. 0% {
  246. transform: scale(0.92);
  247. }
  248. 100% {
  249. transform: scale(1);
  250. }
  251. }
  252. .loading {
  253. height: 200rpx;
  254. line-height: 100rpx;
  255. background: #f1f1f1;
  256. color: #999;
  257. text-align: center;
  258. }