金诚优选前端代码
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.

251 lines
5.8 KiB

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