_common.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. .order-box {
  2. top: 50%;
  3. position: relative;
  4. transform: translateY(-50%);
  5. $color-opt: $wechat-color-colorMap;
  6. .order-ins {
  7. position: absolute;
  8. right: 15px;
  9. top: 15px;
  10. font-size: 12px;
  11. text-align: center;
  12. line-height: 1.2;
  13. display: none;
  14. }
  15. .icon-ins {
  16. background: url('/app/img/insurance.svg') no-repeat center;
  17. background-size: 100%;
  18. width: 64px;
  19. height: 64px;
  20. display: inline-block;
  21. }
  22. .order-info {
  23. border: 2px map-get($color-opt, 'primary') solid;
  24. border-bottom: none;
  25. border-radius: 10px 10px 0 0;
  26. padding: 5px 10px;
  27. }
  28. .order-row {
  29. padding: 2px 5px;
  30. }
  31. .order-lab {
  32. display: inline-block;
  33. width: 5em;
  34. font-size: 13px;
  35. }
  36. .order-value {
  37. display: inline-block;
  38. font-size: 13px;
  39. }
  40. .order-split {
  41. position: relative;
  42. border-top: 2px map-get($color-opt, 'primary') dashed;
  43. &:before {
  44. content: "";
  45. position: absolute;
  46. width: 8px;
  47. height: 8px;
  48. top: -5px;
  49. left: 0;
  50. border-radius: 50%;
  51. background: map-get($color-opt, 'primary')
  52. }
  53. &:after {
  54. content: "";
  55. position: absolute;
  56. width: 8px;
  57. height: 8px;
  58. top: -5px;
  59. right: 0;
  60. border-radius: 50%;
  61. background: map-get($color-opt, 'primary')
  62. }
  63. }
  64. .order-p-b {
  65. background: #fff;
  66. border: 2px map-get($color-opt, 'primary') solid;
  67. border-top: none;
  68. border-radius: 0 0 10px 10px;
  69. }
  70. .order-status {
  71. //不能占太多的空间,否则小票在微信点击页面显示不下
  72. padding: 10px 0;
  73. }
  74. .order-icon {
  75. font-size: 60px;
  76. width: 100px;
  77. height: 60px;
  78. line-height: 60px;
  79. margin: 0 auto;
  80. text-align: center;
  81. &.loading {
  82. width: 50px;
  83. height: 50px;
  84. color: map-get($color-opt, 'blue');
  85. border-radius: 50%;
  86. position: relative;
  87. border: 3px solid map-get($color-opt, 'blue');
  88. border-left: 3px solid #ffffff;
  89. transform: translateZ(0);
  90. animation: rotate 1.1s infinite linear;
  91. }
  92. &.icon-close-dark {
  93. color: map-get($color-opt, 'red');
  94. }
  95. &.icon-success {
  96. color: map-get($color-opt, 'green');
  97. }
  98. }
  99. .order-tips {
  100. text-align: center;
  101. margin-top: 5px;
  102. }
  103. .order-sub-tips {
  104. text-align: center;
  105. }
  106. .order-btn-row {
  107. padding: 10px 10px;
  108. text-align: center;
  109. display: flex;
  110. -webkit-box-pack: justify;
  111. justify-content: space-evenly;
  112. margin-top: 5px;
  113. }
  114. .order-btn {
  115. padding: 0 15px;
  116. height: 38px;
  117. line-height: 38px;
  118. font-size: 16px;
  119. border-radius: 6px;
  120. box-sizing: border-box;
  121. color: #fff;
  122. background: map-get($color-opt, 'primary');
  123. i {
  124. font-size: 18px;
  125. }
  126. &.hide {
  127. display: none;
  128. }
  129. }
  130. .order-btn:first-child {
  131. background: map-get($color-opt, 'blue');
  132. }
  133. }
  134. @keyframes rotate {
  135. 0% {
  136. transform: rotate(0);
  137. }
  138. 50% {
  139. transform: rotate(180deg);
  140. }
  141. 100% {
  142. transform: rotate(360deg);
  143. }
  144. }