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

237 lines
5.5 KiB

  1. @import '../../../common/css/global';
  2. #center{
  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: 10px 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: 80px;
  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: 20px;
  102. font-weight: 600;
  103. &.label{
  104. font-size: 12px;
  105. font-weight: 100;
  106. }
  107. .money{
  108. font-size: 14px;
  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: 10px;
  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. font-size: 12px;
  141. display: -webkit-box;
  142. color:#333333;
  143. height: 40px;
  144. line-height: 20px;
  145. padding-top: 8px;
  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. .bottom-use {
  161. display: flex;
  162. align-items: center;
  163. justify-content: space-between;
  164. font-size: 12px;
  165. margin: 7px 0;
  166. .tiem-box {
  167. color: #9E9E9F;
  168. flex: 1;
  169. font-size: 9px;
  170. overflow: hidden;
  171. text-overflow: ellipsis;
  172. white-space: nowrap;
  173. margin-top: 5px;
  174. }
  175. .btn {
  176. text-align: center;
  177. border-radius: 3px;
  178. padding: 3px 12px;
  179. }
  180. .use {
  181. color: #fff;
  182. border: 1px solid @mainColor;
  183. background: @mainColor;
  184. }
  185. .already {
  186. color: @mainColor;
  187. background: #fff;
  188. border: 1px solid @mainColor;
  189. }
  190. }
  191. }
  192. }
  193. }
  194. .no-list{
  195. text-align: center;
  196. font-size: 14px;
  197. color: #888888;
  198. margin-top: 10px;
  199. i{
  200. font-size: 80px;
  201. margin-bottom: 15px;
  202. }
  203. }
  204. }
  205. }
  206. .home {
  207. display: flex;
  208. flex-direction: column;
  209. align-items: center;
  210. justify-content: center;
  211. background: @globalColor;
  212. width: 55px;
  213. height: 55px;
  214. border-radius: 100%;
  215. color: #FFFFFF;
  216. text-align: center;
  217. position: fixed;
  218. right: 15px;
  219. bottom: 100px;
  220. font-size: 12px;
  221. i {
  222. font-size: 13px;
  223. }
  224. }
  225. }