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

369 lines
7.9 KiB

  1. @import '../../../common/css/global';
  2. #collage{
  3. padding-bottom: 60px;
  4. .white{
  5. height: 22px;
  6. background-color: #FFFFFF;
  7. width: 100%;
  8. border-top: 1px solid #E1E2EA;
  9. &.b{
  10. border-bottom:1px solid #E1E2EA;
  11. border-top:0;
  12. }
  13. }
  14. .collage-progress{
  15. padding: 0 54px 21px 54px;
  16. position: relative;
  17. background-color:#FFFFFF;
  18. .launch,.invite,.success{
  19. text-align: center;
  20. position: absolute;
  21. top:-14px;
  22. .iconfont{
  23. color:#DBDBDB;
  24. font-size:18px;
  25. }
  26. .text{
  27. color:#9B9B9B;
  28. font-size:12px;
  29. line-height: 12px;
  30. padding-top:4px;
  31. }
  32. &.active-emj{
  33. .iconfont{
  34. color: #EA4448;
  35. }
  36. .text{
  37. color:#FF2741;
  38. }
  39. }
  40. }
  41. }
  42. .collage-goods{
  43. background-color: #FFFFFF;
  44. display: flex;
  45. justify-content: center;
  46. align-items: center;
  47. padding: 15px;
  48. .goods-img{
  49. flex: 1;
  50. image{
  51. width: 100%;
  52. }
  53. }
  54. .goods-infomation{
  55. flex: 1;
  56. padding-left: 12px;
  57. .info-name{
  58. color:#000000;
  59. font-size: 14px;
  60. line-height: 20px;
  61. height: 40px;
  62. word-break: break-all;
  63. text-overflow: ellipsis;
  64. display: -webkit-box; /** 对象作为伸缩盒子模型显示 **/
  65. -webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/
  66. -webkit-line-clamp: 2; /** 显示的行数 **/
  67. overflow: hidden; /** 隐藏超出的内容 **/
  68. }
  69. .original-cost,.purchase-cost{
  70. position: relative;
  71. width: 100%;
  72. border: 1px solid #DBDBDB;
  73. padding:15px 0;
  74. text-align:center;
  75. border-radius: 3px;
  76. .price{
  77. color:#4A4A4A;
  78. font-size: 14px;
  79. .zero{
  80. display: inline-block;
  81. font-size: 12px;
  82. padding-right: 5px;
  83. }
  84. .unit{
  85. display:inline-block;
  86. font-size: 10px;
  87. }
  88. }
  89. .o-text{
  90. position: absolute;
  91. color:#9B9B9B;
  92. font-size: 10px;
  93. top: -12px;
  94. left: 50%;
  95. width: 36px;
  96. margin-left: -18px;
  97. line-height:23px;
  98. background-color: #FFFFFF;
  99. }
  100. &.mar-t{
  101. margin-top:15px;
  102. }
  103. .bor-c{
  104. border-color:#FF2741;
  105. color:#FF2741;
  106. }
  107. .p-text{
  108. color:#000000;
  109. }
  110. &.marg-t{
  111. margin-top: 24px;
  112. }
  113. &.bor-c{
  114. border: 1px solid #FF2741;
  115. }
  116. }
  117. }
  118. }
  119. .collage-open{
  120. background-color: #FFFFFF;
  121. margin:10px 0;
  122. .open-title{
  123. display: flex;
  124. justify-content: space-between;
  125. align-items: center;
  126. padding:12px 15px;
  127. border-bottom: 1px solid #E1E2EA;
  128. color:#9B9B9B;
  129. line-height: 20px;
  130. font-size: 14px;
  131. }
  132. .open-content{
  133. padding: 14px 0 20px 0;
  134. text-align:center;
  135. .time-text{
  136. color:#2E2D2D;
  137. font-size:16px;
  138. view{
  139. display: inline-block;
  140. &.iconfont{
  141. font-size: 17px;
  142. color: #000000;
  143. }
  144. &.text{
  145. line-height:22px;
  146. padding-left:10px;
  147. view{
  148. color: #FF2741;
  149. padding: 0 5px;
  150. }
  151. }
  152. }
  153. }
  154. .count-down{
  155. padding-top: 14px;
  156. color:#4A4A4A;
  157. font-size: 12px;
  158. line-height: 16px;
  159. .timedown{
  160. display:inline-block;
  161. color:#9B9B9B;
  162. font-size: 12px;
  163. padding-right: 10px;
  164. span{
  165. display: inline-block;
  166. width: 19px;
  167. height: 19px;
  168. background-color:#9B9B9B;
  169. color:#FFFFFF;
  170. font-size: 12px;
  171. text-align: center;
  172. line-height: 19px;
  173. margin: 0 10px;
  174. }
  175. }
  176. }
  177. }
  178. }
  179. .collage-records{
  180. padding-left: 15px;
  181. background-color: #FFFFFF;
  182. //padding-bottom:58px;
  183. .record-title{
  184. padding:12px 0;
  185. color:#9B9B9B;
  186. font-size: 14px;
  187. line-height: 20px;
  188. border-bottom: 1px solid #E1E2EA;
  189. }
  190. .record-content{
  191. .item{
  192. padding: 12px 0;
  193. border-bottom: 1px solid #E1E2EA;
  194. display: flex;
  195. align-items: center;
  196. .avatar{
  197. width: 44px;
  198. height: 44px;
  199. image{
  200. width: 100%;
  201. height: 100%;
  202. border-radius: 50%;
  203. }
  204. }
  205. .info{
  206. flex: 1;
  207. padding-left:10px;
  208. .info-top{
  209. padding-bottom: 3px;
  210. span{
  211. display: inline-block;
  212. &.name{
  213. color:#2E2D2D;
  214. font-size: 12px;
  215. line-height: 16px;
  216. margin-right:12px;
  217. }
  218. &.colonel{
  219. display: inline-block;
  220. text-align: center;
  221. font-size: 10px;
  222. color: #FFFFFF;
  223. width: 35px;
  224. height: 16px;
  225. line-height: 16px;
  226. background:linear-gradient(-142.8deg,rgba(246,121,126,1),rgba(234,68,72,1));
  227. border-radius:8px;
  228. }
  229. &.me{
  230. background:linear-gradient(-145.2deg,rgba(251,205,36,1),rgba(247,151,28,1));
  231. }
  232. }
  233. }
  234. .info-bottom{
  235. color:#9B9B9B;
  236. font-size: 12px;
  237. line-height: 16px;
  238. }
  239. }
  240. }
  241. }
  242. }
  243. .order-share{
  244. position: fixed;
  245. bottom: 0;
  246. width: 100%;
  247. display: flex;
  248. button{
  249. background-color: @mainColor;
  250. border: none;
  251. color: #FFFFFF;
  252. font-size:18px;
  253. height: 44px;
  254. line-height: 44px;
  255. text-align: center;
  256. width: 100%;
  257. &:after {
  258. border-radius: 0;
  259. border: none;
  260. }
  261. }
  262. .item {
  263. flex: 1;
  264. height: 44px;
  265. line-height: 44px;
  266. text-align: center;
  267. background-color:@mainColor;
  268. color: #FFFFFF;
  269. &.look {
  270. background: #FFFFFF;
  271. color: #FF2741;
  272. border-radius: 0;
  273. &:before {
  274. border: none;
  275. }
  276. }
  277. }
  278. }
  279. .maks{
  280. position: fixed;
  281. bottom: 0;
  282. width: 100%;
  283. height: 100%;
  284. z-index: 40;
  285. opacity: 1;
  286. transition: opacity .3s ease;
  287. display: none;
  288. &.cur{
  289. display: block;
  290. }
  291. }
  292. //弹出分享部分
  293. .share-box {
  294. background: #CDCDD1;
  295. position: fixed;
  296. bottom: 0;
  297. width: 100%;
  298. height: 0;
  299. z-index: 50;
  300. transition:all .3s linear;
  301. .shaer-item {
  302. height: 50px;
  303. line-height: 50px;
  304. text-align: center;
  305. font-size: 18px;
  306. color: #2E2D2D;
  307. background: #ffffff;
  308. border-radius: 0;
  309. &:after {
  310. border: none;
  311. }
  312. &.clear {
  313. margin-top: 5px;
  314. color: #9B9B9B;
  315. }
  316. }
  317. &.cur{
  318. height: 155px;
  319. }
  320. }
  321. //弹出分享到朋友圈
  322. .circle-friends{
  323. position: fixed;
  324. width: 100%;
  325. background-color:rgba(0,0,0,.8);
  326. height: 0px;
  327. bottom: 0;
  328. z-index: 50;
  329. transition:all .3s linear;
  330. .imgboxs{
  331. margin:30px 50px 25px 50px;
  332. text-align: center;
  333. .circle-img{
  334. width: 100%;
  335. margin-bottom:18px;
  336. image{
  337. width: 100%;
  338. border-radius:5px;
  339. }
  340. }
  341. .save-img{
  342. width: 100%;
  343. background-color:@mainColor;
  344. padding:13px 0;
  345. text-align: center;
  346. color: #FFFFFF;
  347. border-radius: 25px;
  348. font-size: 16px;
  349. }
  350. i{
  351. font-size: 25px;
  352. color:#FFFFFF;
  353. position: absolute;
  354. top: 12px;
  355. right:25px;
  356. }
  357. }
  358. &.cur{
  359. height: 100%;
  360. }
  361. }
  362. }