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

295 lines
5.7 KiB

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