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

600 lines
11 KiB

  1. @import '../../../common/css/global';
  2. #call{
  3. padding: 10px 15px;
  4. background: #FFFFFF;
  5. .call-box{
  6. position: relative;
  7. border-radius: 6px;
  8. overflow: hidden;
  9. image{
  10. display: block;
  11. width: 100%;
  12. }
  13. .name{
  14. position: absolute;
  15. bottom: 0;
  16. width: 100%;
  17. padding: 5px 15px;
  18. background: rgba(255,255,255,.7);
  19. }
  20. }
  21. .time-box {
  22. background: #393939;
  23. padding: 5px 12px;
  24. box-sizing: border-box;
  25. color: #FFFFFF;
  26. &.active{
  27. background: #FE4545;
  28. }
  29. }
  30. .call-user{
  31. font-size: 12px;
  32. display: flex;
  33. align-items: center;
  34. background: #FBF6DC;
  35. height: 30px;
  36. line-height: 30px;
  37. margin: 20px 0;
  38. border-radius: 30px 0 0 30px;
  39. overflow: hidden;
  40. span{
  41. color: #FC6A00;
  42. }
  43. image{
  44. width: 30px;
  45. height: 30px;
  46. border-radius: 100%;
  47. overflow: hidden;
  48. }
  49. .call-status{
  50. display: flex;
  51. align-items: center;
  52. justify-content: space-between;
  53. flex: 1;
  54. padding-right: 15px;
  55. margin-left: 10px;
  56. white-space: nowrap;
  57. overflow: hidden;
  58. text-overflow: ellipsis;
  59. .receive{
  60. color: @globalColor;
  61. }
  62. }
  63. }
  64. .no-active {
  65. color: #FFFFFF;
  66. padding:8px 0;
  67. border-radius:30px;
  68. background: #b4b4b4;
  69. text-align: center;
  70. margin-bottom: 10px;
  71. &.get {
  72. background: @mainColor;
  73. }
  74. }
  75. .share-box{
  76. display: flex;
  77. align-items: center;
  78. font-size: 16px;
  79. color: @globalColor;
  80. text-align:center;
  81. margin-bottom: 20px;
  82. button{
  83. flex: 1;
  84. padding: 0;
  85. border: 1px solid @mainColor;
  86. border-radius:30px;
  87. background: #FFFFFF;
  88. line-height: normal;
  89. font-size: 16px;
  90. height: 43px;
  91. line-height: 43px;
  92. color: @mainColor;
  93. &:after {
  94. border: none;
  95. }
  96. }
  97. view{
  98. flex: 1;
  99. padding: 8px 0;
  100. border: 1px solid @mainColor;
  101. border-radius:30px;
  102. &.friends{
  103. margin-left: 18px;
  104. background: @mainColor;
  105. color: #FFFFFF;
  106. border: none;
  107. }
  108. }
  109. }
  110. .call-num{
  111. padding-bottom: 1px;
  112. .text{
  113. font-size: 12px;
  114. color: #9B9B9B;
  115. text-align: center;
  116. padding-bottom: 10px;
  117. }
  118. .item-box{
  119. margin: 8px -8px;
  120. .call-num-item{
  121. display: inline-block;
  122. width: 12.5%;
  123. height:21px;
  124. padding: 0 8px;
  125. margin: 5px 0;
  126. .info{
  127. width: 100%;
  128. height: 100%;
  129. display: inline-block;
  130. background:#F3F3F3;
  131. border-radius:100%;
  132. overflow: hidden;
  133. &.border{
  134. border:1px dashed #C0C4CC;
  135. }
  136. image{
  137. width: 100%;
  138. height: 100%;
  139. }
  140. }
  141. }
  142. }
  143. .text-info{
  144. font-size: 12px;
  145. color: #9B9B9B;
  146. text-align: right;
  147. padding-top: 7px;
  148. }
  149. }
  150. .home{
  151. position: fixed;
  152. top: 10px;
  153. right: 0;
  154. width: 75px;
  155. line-height: 25px;
  156. text-align: center;
  157. background: #F3F3F3;
  158. color: #9B9B9B;
  159. font-size: 12px;
  160. border-radius: 2px;
  161. i{
  162. font-size: 12px;
  163. margin-right: 5px;
  164. }
  165. }
  166. }
  167. .maks{
  168. position: absolute;
  169. bottom: 0;
  170. width: 100%;
  171. height: 100%;
  172. z-index: 40;
  173. opacity: 1;
  174. transition: opacity .3s ease;
  175. display: none;
  176. &.cur{
  177. display: block;
  178. }
  179. }
  180. /*选取规格部分*/
  181. .select_goods_container {
  182. background: #ffffff;
  183. position: relative;
  184. z-index:100;
  185. .select_goods_cloese {
  186. position: absolute;
  187. top:12px;
  188. right:10px;
  189. width:20px;
  190. height:20px;
  191. background: transparent;
  192. z-index:4;
  193. overflow:visible;
  194. }
  195. .select_goods_cloese:before{
  196. position: absolute;
  197. top:9px;
  198. left:-1px;
  199. content: '';
  200. width:28px;
  201. height:2px;
  202. background: #2e2e2e;
  203. transform: rotate(45deg) ;
  204. }
  205. .select_goods_cloese:after{
  206. top:9px;
  207. left:-1px;
  208. position: absolute;
  209. content: '';
  210. width:28px;
  211. height:2px;
  212. background: #2e2e2e;
  213. transform: rotate(-45deg);
  214. }
  215. .select_goods_header{
  216. display: flex;
  217. align-items: center;
  218. position: relative;
  219. height: 60px;
  220. .img_box {
  221. position: absolute;
  222. left: 10px;
  223. bottom: 10px;
  224. width: 78px;
  225. height: 78px;
  226. border: 1px solid #e5e5e5;
  227. background: #f9f9f9;
  228. overflow: hidden;
  229. image {
  230. width:78px;
  231. height:78px;
  232. object-fit: fill;
  233. }
  234. }
  235. .price_item {
  236. font-size:18px;
  237. margin-left:20px;
  238. height:100%;
  239. margin-left: 100px;
  240. display:-webkit-flex;
  241. flex-direction: column;
  242. justify-content: center;
  243. text {
  244. display: block;
  245. text-align: left;
  246. }
  247. text:nth-child(1){
  248. font-weight:bold;
  249. color:#ee2b1d;
  250. }
  251. text:nth-child(2){
  252. font-size:14px;
  253. color:#6c6c6c;
  254. text-indent:3px
  255. }
  256. }
  257. }
  258. .select_spec {
  259. font-size: 12px;
  260. padding: 12px 8px 50px 8px;
  261. .spec_line {
  262. display: flex;
  263. margin-bottom: 15px;
  264. .spec_title {
  265. padding-right: 11px;
  266. color: #c4c4c4;
  267. width: 50px;
  268. line-height: 35px;
  269. }
  270. .spec_list {
  271. display: block;
  272. line-height:35px;
  273. color:#959595;
  274. font-size:15px;
  275. }
  276. .spec_block {
  277. display: inline-block;
  278. margin-top: 10px;
  279. margin-right: 10px;
  280. .spec_text {
  281. display: block;
  282. padding: 0 7px;
  283. height: 33px;
  284. line-height: 33px;
  285. min-width: 33px;
  286. border: 1px solid #DDDDDD;
  287. text-align: center;
  288. font-size: 12px;
  289. position: relative;
  290. .border-color {
  291. position: absolute;
  292. top: -1px;
  293. left: -1px;
  294. right: -1px;
  295. bottom: -1px;
  296. border: 3px solid @mainColor;
  297. }
  298. }
  299. image {
  300. height: 100%;
  301. width: 100%;
  302. }
  303. .spec_icon {
  304. width: 35px;
  305. height: 35px;
  306. padding: 0;
  307. }
  308. /*&.active text {
  309. &:before {
  310. content: '';
  311. position: absolute;
  312. border: 3px solid @globalColor;
  313. top: -1px;
  314. left: -1px;
  315. right: -1px;
  316. bottom: -1px;
  317. }
  318. }*/
  319. &.disabled text {
  320. border: none;
  321. margin: 1px;
  322. &:before {
  323. content: '';
  324. position: absolute;
  325. background-color: #eee;
  326. top: -1px;
  327. left: -1px;
  328. right: -1px;
  329. bottom: -1px;
  330. opacity: 0.6;
  331. }
  332. &:after {
  333. content: '';
  334. position: absolute;
  335. border: 3px dashed #cfcfcf;
  336. top: -1px;
  337. left: -1px;
  338. right: -1px;
  339. bottom: -1px;
  340. }
  341. }
  342. }
  343. .num_title {
  344. padding-right: 11px;
  345. color: #c4c4c4;
  346. width: 50px;
  347. line-height: 30px;
  348. }
  349. .num_value {
  350. display: flex;
  351. font-size: 0;
  352. text {
  353. display: block;
  354. border: 1px solid #e8e8e8;
  355. text-align: center;
  356. min-width: 28px;
  357. width: 28px;
  358. height: 28px;
  359. line-height: 28px;
  360. font-size: 12px;
  361. &.store {
  362. width: auto;
  363. border-color: #ffffff;
  364. margin-left: 10px;
  365. }
  366. }
  367. input {
  368. display: block;
  369. border: none;
  370. height: 100%;
  371. width: 100%;
  372. text-align: center;
  373. outline: none;
  374. font-size: 12px;
  375. }
  376. .none_border {
  377. width: 30px;
  378. border:1px solid #e8e8e8;
  379. }
  380. }
  381. }
  382. }
  383. }
  384. .detail-popup {
  385. width:100%;
  386. position: fixed;
  387. left: 0;
  388. bottom: -55px;
  389. z-index: 51;
  390. transform:translate3d(0,100,0);
  391. /*选取规格部分*/
  392. .select_spec {
  393. font-size: 12px;
  394. padding: 12px 8px 50px 8px;
  395. .spec_line {
  396. display: flex;
  397. margin-bottom: 15px;
  398. .spec_title {
  399. padding-right: 11px;
  400. color: #c4c4c4;
  401. width: 50px;
  402. line-height: 35px;
  403. }
  404. .spec_list {
  405. display: block;
  406. line-height:35px;
  407. color:#959595;
  408. font-size:15px;
  409. }
  410. .spec_value {
  411. flex: 1;
  412. font-size: 0;
  413. margin-top: -10px;
  414. view{
  415. overflow: hidden;
  416. }
  417. }
  418. .spec_block {
  419. display: inline-block;
  420. margin-top: 10px;
  421. margin-right: 10px;
  422. text {
  423. display: block;
  424. padding: 0 7px;
  425. height: 33px;
  426. line-height: 33px;
  427. min-width: 20px;
  428. border: 1px solid #DDDDDD;
  429. text-align: center;
  430. font-size: 12px;
  431. position: relative;
  432. }
  433. image {
  434. height: 100%;
  435. width: 100%;
  436. }
  437. /*&.active view {
  438. &:before {
  439. content: '';
  440. position: absolute;
  441. border: 3px solid @globalColor;
  442. top: -1px;
  443. left: -1px;
  444. right: -1px;
  445. bottom: -1px;
  446. }
  447. }*/
  448. &.disabled view {
  449. border: none;
  450. margin: 1px;
  451. &:before {
  452. content: '';
  453. position: absolute;
  454. background-color: #eee;
  455. top: -1px;
  456. left: -1px;
  457. right: -1px;
  458. bottom: -1px;
  459. opacity: 0.6;
  460. }
  461. &:after {
  462. content: '';
  463. position: absolute;
  464. border: 3px dashed #cfcfcf;
  465. top: -1px;
  466. left: -1px;
  467. right: -1px;
  468. bottom: -1px;
  469. }
  470. }
  471. }
  472. .num_title {
  473. padding-right: 11px;
  474. color: #c4c4c4;
  475. width: 50px;
  476. line-height: 30px;
  477. }
  478. .purchase{
  479. line-height: 30px;
  480. color:#aaaaaa;
  481. margin-left: 10px;
  482. }
  483. //.num_value {
  484. // display: flex;
  485. // flex: 1;
  486. // font-size: 0;
  487. //
  488. // text {
  489. // display: block;
  490. // border: 1px solid #e8e8e8;
  491. // text-align: center;
  492. // min-width: 28px;
  493. // width: 28px;
  494. // height: 28px;
  495. // line-height: 28px;
  496. // font-size: 12px;
  497. //
  498. // &.store {
  499. // width: auto;
  500. // border-color: #ffffff;
  501. // margin-left: 10px;
  502. // }
  503. // }
  504. //
  505. // input {
  506. // display: block;
  507. // border: none;
  508. // height: 100%;
  509. // width: 100%;
  510. // text-align: center;
  511. // outline: none;
  512. // }
  513. //
  514. // .none_border {
  515. // width:50px;
  516. // border-left: none;
  517. // border-right: none;
  518. // }
  519. //}
  520. }
  521. .button {
  522. height: 50px;
  523. line-height: 50px;
  524. text-align: center;
  525. position: absolute;
  526. bottom: 0;
  527. left: 0;
  528. right: 0;
  529. border-radius: 0;
  530. background: @mainColor;
  531. &.disabled {
  532. background: #C2C2C2;
  533. }
  534. }
  535. }
  536. }