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

307 lines
5.9 KiB

  1. @import '../../../common/css/global';
  2. #off-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. .qr_code {
  217. padding: 10px 0;
  218. text-align: center;
  219. background: #fff;
  220. image{
  221. width: 150px;
  222. height: 150px;
  223. }
  224. }
  225. .button-box{
  226. position: fixed;
  227. bottom: 10px;
  228. left: 15px;
  229. right: 15px;
  230. height: 44px;
  231. line-height: 44px;
  232. text-align: center;
  233. background: @mainColor;
  234. color: #FFFFFF;
  235. border-radius: 3px;
  236. .btn{
  237. width: 100%;
  238. height: 100%;
  239. }
  240. }
  241. //弹出分享部分
  242. .maks{
  243. position: fixed;
  244. bottom: 0;
  245. width: 100%;
  246. height: 100%;
  247. z-index: 40;
  248. opacity: 1;
  249. transition: opacity .3s ease;
  250. display: none;
  251. &.cur{
  252. display: block;
  253. }
  254. }
  255. .share-box {
  256. background: #CDCDD1;
  257. position: fixed;
  258. bottom: 0;
  259. width: 100%;
  260. height: 0;
  261. z-index: 50;
  262. transition:all .3s linear;
  263. .shaer-item {
  264. height: 50px;
  265. line-height: 50px;
  266. text-align: center;
  267. font-size: 18px;
  268. color: #2E2D2D;
  269. background: #ffffff;
  270. border-radius: 0;
  271. &:after {
  272. border: none;
  273. }
  274. &.clear {
  275. margin-top: 5px;
  276. color: #9B9B9B;
  277. }
  278. }
  279. &.cur{
  280. height: 155px;
  281. }
  282. }
  283. }