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

210 lines
4.2 KiB

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