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

227 lines
4.4 KiB

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