金诚优选前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

248 lines
5.3 KiB

  1. @import '../../../common/css/global';
  2. #coupon-over{
  3. /*.coupon-box{
  4. padding: 12px;
  5. .coupon-list {
  6. .coupon-item{
  7. display: flex;
  8. align-items: center;
  9. margin-bottom: 10px;
  10. .left{
  11. width: 110px;
  12. height: 110px;
  13. background: url("http://ovef29y3v.bkt.clouddn.com/over-coupon-bg.png") no-repeat;
  14. background-size: 100% 100%;
  15. display: flex;
  16. align-items: center;
  17. justify-content: center;
  18. .label{
  19. color: #000;
  20. padding: 0 10px;
  21. }
  22. }
  23. .right{
  24. position: relative;
  25. height: 110px;
  26. flex: 1;
  27. overflow: hidden;
  28. background: #FFFFFF;
  29. padding: 0 10px;
  30. font-size: 14px;
  31. color: #c6c6c6;
  32. .coupon-name{
  33. display: flex;
  34. align-items: center;
  35. margin: 10px 0;
  36. .type{
  37. color: #000;
  38. background: #c6c6c6;
  39. border-radius: 10px;
  40. padding: 1px 8px;
  41. margin-right: 5px;
  42. }
  43. .name{
  44. flex: 1;
  45. white-space: nowrap;
  46. text-overflow: ellipsis;
  47. overflow: hidden;
  48. }
  49. }
  50. .coupon-tiem{
  51. font-size: 12px;
  52. }
  53. }
  54. }
  55. .loadingbox{
  56. margin-top: 10px;
  57. height: 40px;
  58. line-height: 40px;
  59. text-align: center;
  60. font-size:15px;
  61. }
  62. }
  63. }*/
  64. .coupon {
  65. display: flex;
  66. margin:10px 15px 0 15px ;
  67. position: relative;
  68. &.shasow {
  69. box-shadow: 0px 7px 10px 0px rgba(6, 0, 0, 0.2);
  70. }
  71. .coupon-left {
  72. width: 110px;
  73. height: 80px;
  74. color: #ffffff;
  75. background-size: cover;
  76. background: rgba(74, 74, 74, 1);
  77. position: relative;
  78. &.discount {
  79. background: rgba(74, 74, 74, 1);
  80. }
  81. .text-wrap {
  82. display: flex;
  83. flex-direction: column;
  84. justify-content: center;
  85. align-items: center;
  86. height: 100%;
  87. font-size: 12px;
  88. .text-box {
  89. text-align: center;
  90. width: 100%;
  91. .text{
  92. display: block;
  93. padding: 0 10px;
  94. overflow: hidden;
  95. white-space: nowrap;
  96. text-overflow: ellipsis;
  97. font-size: 20px;
  98. font-weight: 600;
  99. &.label{
  100. font-size: 12px;
  101. font-weight: 100;
  102. }
  103. .money{
  104. font-size: 14px;
  105. font-weight: 100;
  106. }
  107. }
  108. .money-num {
  109. font-size: 25px;
  110. font-weight: bold;
  111. }
  112. }
  113. }
  114. .dot-wrap {
  115. position: absolute;
  116. top: -12px;
  117. .dot-item {
  118. width: 5px;
  119. height: 5px;
  120. background: #F3F3F3;
  121. border-radius: 50%;
  122. margin: 11px 0 9px -2px;
  123. &:last-child {
  124. margin-top: 10px;
  125. }
  126. }
  127. }
  128. }
  129. .coupon-right {
  130. flex: 1;
  131. background: #fff;
  132. padding: 0px 15px;
  133. font-size: 12px;
  134. overflow: hidden;
  135. .top {
  136. font-size: 12px;
  137. display: -webkit-box;
  138. color: #333;
  139. height: 40px;
  140. line-height: 20px;
  141. padding-top: 8px;
  142. box-sizing: border-box;
  143. text-overflow: ellipsis;
  144. -webkit-box-orient: vertical;
  145. -webkit-line-clamp: 2;
  146. .type {
  147. color: #333333;
  148. border: 1px solid #333333;
  149. padding: 2px 5px;
  150. border-radius: 3px;
  151. line-height: 20px;
  152. margin-right: 5px;
  153. }
  154. }
  155. .bottom {
  156. .bottom-use {
  157. display: flex;
  158. align-items: center;
  159. justify-content: space-between;
  160. font-size: 12px;
  161. margin: 7px 0;
  162. .tiem-box {
  163. color: #9E9E9F;
  164. flex: 1;
  165. font-size: 9px;
  166. overflow: hidden;
  167. text-overflow: ellipsis;
  168. white-space: nowrap;
  169. margin-top: 5px;
  170. }
  171. .btn {
  172. text-align: center;
  173. border-radius: 3px;
  174. padding: 3px 12px;
  175. }
  176. .use {
  177. color: #fff;
  178. border: 1px solid @globalColor;
  179. background: @globalColor;
  180. }
  181. .already {
  182. color: @globalColor;
  183. background: #fff;
  184. border: 1px solid @globalColor;
  185. }
  186. }
  187. }
  188. }
  189. .cover{
  190. position: absolute;
  191. top: 0;
  192. left: 0;
  193. width: 100%;
  194. height: 100%;
  195. background-color:rgba(74,74,74,.4) ;
  196. .big-circle{
  197. width: 57px;
  198. height: 57px;
  199. border: 1px solid #FFFFFF;
  200. border-radius: 50%;
  201. position: absolute;
  202. right: 10px;
  203. bottom: 10px;
  204. }
  205. .small-circle{
  206. width: 45px;
  207. height: 45px;
  208. border-radius: 50%;
  209. border: 1px solid #ffffff;
  210. position: relative;
  211. top:5px;
  212. left: 5px;
  213. line-height: 45px;
  214. text-align: center;
  215. view{
  216. font-size:22rpx ;
  217. color: #ffffff;
  218. }
  219. }
  220. }
  221. }
  222. .no-list{
  223. text-align: center;
  224. font-size: 14px;
  225. color: #888888;
  226. margin-top: 10px;
  227. i{
  228. font-size: 80px;
  229. margin-bottom: 15px;
  230. }
  231. }
  232. }