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

302 lines
6.9 KiB

  1. @import '../../../common/css/global';
  2. #coupon-index{
  3. /*.coupon-box{
  4. padding: 12px;
  5. .convert-box{
  6. display: flex;
  7. padding-bottom: 10px;
  8. input{
  9. flex: 1;
  10. display: block;
  11. width: 100%;
  12. height: 44px;
  13. line-height: normal;
  14. font-size: 16px;
  15. background: #e3e3e3;
  16. padding-left: 17px;
  17. }
  18. .button{
  19. width: 90px;
  20. height: 44px;
  21. line-height: 44px;
  22. background: #ff0000;
  23. text-align: center;
  24. font-size: 18px;
  25. color: #ffffff;
  26. margin-left: 20px;
  27. }
  28. }
  29. .coupon-list {
  30. .coupon-item{
  31. display: flex;
  32. align-items: center;
  33. margin-bottom: 10px;
  34. .left{
  35. width: 110px;
  36. height: 110px;
  37. background: url("https://ibrand-miniprogram.oss-cn-hangzhou.aliyuncs.com/%E5%B0%8F%E7%A8%8B%E5%BA%8F/coupon-bg.png") no-repeat;
  38. background-size: 100% 100%;
  39. display: flex;
  40. align-items: center;
  41. justify-content: center;
  42. &.off{
  43. background: url("http://ovef29y3v.bkt.clouddn.com/off-coupon-bg.png") no-repeat;
  44. background-size: 100% 100%;
  45. }
  46. .label{
  47. color: #FFFFFF;
  48. padding: 0 10px;
  49. }
  50. }
  51. .right{
  52. position: relative;
  53. height: 110px;
  54. flex: 1;
  55. overflow: hidden;
  56. background: #FFFFFF;
  57. padding: 0 10px;
  58. font-size: 14px;
  59. .coupon-name{
  60. display: flex;
  61. align-items: center;
  62. margin: 10px 0;
  63. .type{
  64. color: #FFFFFF;
  65. background: #fc5e3a;
  66. border-radius: 10px;
  67. padding: 1px 8px;
  68. margin-right: 5px;
  69. &.off-type{
  70. background: #1aad19;
  71. }
  72. }
  73. .name{
  74. flex: 1;
  75. white-space: nowrap;
  76. text-overflow: ellipsis;
  77. overflow: hidden;
  78. }
  79. }
  80. .coupon-tiem{
  81. font-size: 12px;
  82. color: #b5b5b5;
  83. }
  84. }
  85. }
  86. .loadingbox{
  87. margin-top: 10px;
  88. height: 40px;
  89. line-height: 40px;
  90. text-align: center;
  91. font-size:14px;
  92. }
  93. }
  94. .examine{
  95. width: 100%;
  96. height: 44px;
  97. line-height: 44px;
  98. text-align: center;
  99. font-size: 18px;
  100. background: #FFFFFF;
  101. color: #848484;
  102. }
  103. }*/
  104. .navbar {
  105. position: fixed;
  106. top: 0;
  107. width: 100%;
  108. display: flex;
  109. z-index: 20;
  110. height: 50px;
  111. line-height: 50px;
  112. background: #FFFFFF;
  113. font-size: 14px;
  114. color: #9B9B9B;
  115. .navbar-item {
  116. flex: 1;
  117. width: 0%;
  118. text-align: center;
  119. &.activity {
  120. color:@mainColor;
  121. }
  122. }
  123. .navbar-slider {
  124. position: absolute;
  125. content: " ";
  126. left: 0;
  127. bottom: 0;
  128. width: 4em;
  129. height: 3px;
  130. background-color: @mainColor;
  131. transition: transform .3s;
  132. }
  133. }
  134. .tab-panel{
  135. padding: 60px 15px 50px 15px;
  136. .tab-content{
  137. .coupon {
  138. display: flex;
  139. margin-bottom: 10px;
  140. &.shasow {
  141. box-shadow: 0px 7px 10px 0px rgba(6, 0, 0, 0.2);
  142. }
  143. .coupon-left {
  144. width: 110px;
  145. height: 80px;
  146. color: #ffffff;
  147. background-size: cover;
  148. background: @mainColor;
  149. position: relative;
  150. &.discount {
  151. background: @globallColorY;
  152. }
  153. .text-wrap {
  154. display: flex;
  155. flex-direction: column;
  156. justify-content: center;
  157. align-items: center;
  158. height: 100%;
  159. font-size: 12px;
  160. .text-box {
  161. text-align: center;
  162. width: 100%;
  163. .text{
  164. display: block;
  165. padding: 0 10px;
  166. overflow: hidden;
  167. white-space: nowrap;
  168. text-overflow: ellipsis;
  169. font-size: 20px;
  170. font-weight: 600;
  171. &.label{
  172. font-size: 12px;
  173. font-weight: 100;
  174. }
  175. .money{
  176. font-size: 14px;
  177. font-weight: 100;
  178. }
  179. }
  180. .money-num {
  181. font-size: 25px;
  182. font-weight: bold;
  183. }
  184. }
  185. }
  186. .dot-wrap {
  187. position: absolute;
  188. top: -12px;
  189. .dot-item {
  190. width: 5px;
  191. height: 5px;
  192. background: #F3F3F3;
  193. border-radius: 50%;
  194. margin: 11px 0 9px -2px;
  195. &:last-child {
  196. margin-top: 10px;
  197. }
  198. }
  199. }
  200. }
  201. .coupon-right {
  202. flex: 1;
  203. background: #fff;
  204. padding: 0px 15px;
  205. font-size: 12px;
  206. overflow: hidden;
  207. .top {
  208. font-size: 12px;
  209. display: -webkit-box;
  210. color: #333333;
  211. height: 40px;
  212. line-height: 20px;
  213. padding-top: 8px;
  214. box-sizing: border-box;
  215. text-overflow: ellipsis;
  216. -webkit-box-orient: vertical;
  217. -webkit-line-clamp: 2;
  218. .type {
  219. color: #333333;
  220. border: 1px solid #333333;
  221. padding: 2px 5px;
  222. border-radius: 3px;
  223. line-height: 20px;
  224. margin-right: 5px;
  225. }
  226. }
  227. .bottom {
  228. .bottom-use {
  229. display: flex;
  230. align-items: center;
  231. justify-content: space-between;
  232. font-size: 12px;
  233. margin: 7px 0;
  234. .tiem-box {
  235. color: #9E9E9F;
  236. flex: 1;
  237. font-size: 9px;
  238. overflow: hidden;
  239. text-overflow: ellipsis;
  240. white-space: nowrap;
  241. margin-top: 5px;
  242. }
  243. .btn {
  244. text-align: center;
  245. border-radius: 3px;
  246. padding: 3px 12px;
  247. }
  248. .use {
  249. color: #fff;
  250. border: 1px solid @mainColor;
  251. background: @mainColor;
  252. }
  253. .already {
  254. color: @mainColor;
  255. background: #fff;
  256. border: 1px solid @mainColor;
  257. }
  258. }
  259. }
  260. }
  261. }
  262. .no-list{
  263. text-align: center;
  264. font-size: 14px;
  265. color: #888888;
  266. margin-top: 10px;
  267. i{
  268. font-size: 80px;
  269. margin-bottom: 15px;
  270. }
  271. }
  272. }
  273. }
  274. .see-over{
  275. position: fixed;
  276. bottom: 0px;
  277. width: 100%;
  278. text-align: center;
  279. background-color: #DCDCDC;
  280. padding: 12px 0;
  281. font-size: 12px;
  282. color: #4A4A4A;
  283. }
  284. }