public-view.wxss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. /* customer-header-view */
  2. .customer-header-view {
  3. width: 100%;
  4. height: 240rpx;
  5. background-color: #28AFF0;
  6. display: flex;
  7. flex-direction: column;
  8. }
  9. .customer-header-view>view {
  10. width: 100%;
  11. height: 240rpx;
  12. display: flex;
  13. flex-direction: column;
  14. }
  15. .customer-header-view>view text {
  16. color: white;
  17. margin-left: 30rpx;
  18. }
  19. .customer-header-view>view>text:nth-child(1) {
  20. font-size: 36rpx;
  21. margin-top: 48rpx;
  22. }
  23. .customer-header-view>view>text:nth-child(2) {
  24. font-size: 24rpx;
  25. margin-top: 8rpx;
  26. }
  27. .customer-header-view>image {
  28. width: 240rpx;
  29. height: 148rpx;
  30. margin-left: 466rpx;
  31. margin-top: -212rpx;
  32. display: block;
  33. }
  34. /* bottom-view-botton */
  35. .bottom-view>button, .bottom-view-X>button {
  36. margin: 12rpx 20rpx 0;
  37. background-color: #3296FB;
  38. color: white;
  39. font-size: 32rpx;
  40. font-weight: bold;
  41. line-height: 90rpx;
  42. text-align: center;
  43. height: 90rpx;
  44. border-radius: 45rpx;
  45. z-index: 1000;
  46. }
  47. /* line */
  48. .right-line, .line, .both-line {
  49. width: 100%;
  50. height: 0.7px;
  51. background-color: white;
  52. }
  53. .right-line>view, .line>view, .both-line>view {
  54. height: 0.7px;
  55. background-color: #eeeeee;
  56. }
  57. .right-line>view {
  58. margin: 0 0 0 30rpx;
  59. }
  60. .both-line>view {
  61. margin: 0 30rpx;
  62. }
  63. .line>view {
  64. margin: 0 0;
  65. }
  66. /* tips-view */
  67. .tips-view {
  68. width: 100%;
  69. display: flex;
  70. background-color: #FDF8EC;
  71. }
  72. .tips-view>view {
  73. display: flex;
  74. flex-direction: column;
  75. margin: 30rpx 30rpx;
  76. }
  77. .tips-view>view>view {
  78. display: flex;
  79. }
  80. .tips-view>view>view>view {
  81. padding-right: 16rpx;
  82. height: 36rpx;
  83. display: flex;
  84. }
  85. .tips-view image {
  86. width: 10rpx;
  87. height: 36rpx;
  88. }
  89. .tips-view text {
  90. display: block;
  91. margin: 0rpx 0rpx 0rpx 0rpx;
  92. font-size: 24rpx;
  93. line-height: 36rpx;
  94. color: #FF801A;
  95. }
  96. /* discount-item */
  97. .discount-item {
  98. margin: 24rpx 24rpx 0;
  99. height: 210rpx;
  100. border-radius: 4rpx;
  101. box-shadow: 0rpx 4rpx 14rpx rgba(0, 0, 0, 0.1);
  102. overflow: hidden;
  103. display: flex;
  104. }
  105. .discount-item-use, .discount-item-unuse {
  106. width: 210rpx;
  107. height: 210rpx;
  108. display: flex;
  109. flex-direction: column;
  110. }
  111. .discount-item-use {
  112. background: linear-gradient(#21BFD5, #2C8FD8);
  113. }
  114. .discount-item-unuse {
  115. background: linear-gradient(#D2D2D2, #B4B4B4);
  116. }
  117. .discount-item>view:first-child text {
  118. color: white;
  119. }
  120. .discount-item>view:first-child>view {
  121. height: 94rpx;
  122. display: flex;
  123. margin-top: 40rpx;
  124. }
  125. .discount-item>view:first-child>view>text:first-child {
  126. font-family: DINAlternate-Bold;
  127. font-size: 34rpx;
  128. margin: auto 10rpx 16rpx auto;
  129. }
  130. .discount-item>view:first-child>view>text:last-child {
  131. font-family: DINAlternate-Bold;
  132. font-size: 80rpx;
  133. line-height: 94rpx;
  134. margin: auto auto auto 0rpx;
  135. }
  136. .discount-item>view:first-child>text {
  137. width: 100%;
  138. font-size: 20rpx;
  139. text-align: center;
  140. margin: 10rpx 0 auto;
  141. }
  142. .discount-item>view:nth-child(2) {
  143. display: flex;
  144. flex-direction: column;
  145. margin-left: 28rpx;
  146. }
  147. .discount-item>view:nth-child(2)>text:first-child {
  148. font-size: 30rpx;
  149. color: #666666;
  150. margin-top: auto;
  151. margin-bottom: 8rpx;
  152. }
  153. .discount-item>view:nth-child(2)>text:nth-child(2),
  154. .discount-item>view:nth-child(2)>text:nth-child(3) {
  155. font-size: 24rpx;
  156. color: #999999;
  157. line-height: 46rpx;
  158. }
  159. .discount-item>view:nth-child(2)>text:nth-child(3) {
  160. margin-bottom: auto;
  161. }
  162. .discount-choose {
  163. width: 48rpx;
  164. height: 48rpx;
  165. margin: auto 48rpx auto auto;
  166. }
  167. .discount-use {
  168. width: 88rpx;
  169. height: 210rpx;
  170. margin: auto 0 auto auto;
  171. }