quan.wxss 5.9 KB

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