C端小程序
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

289 wiersze
4.1 KiB

  1. .container {
  2. padding-bottom: 10rpx;
  3. }
  4. .panel {
  5. display: flex;
  6. flex-direction: column;
  7. justify-content: space-between;
  8. align-items: stretch;
  9. box-sizing: border-box;
  10. width: 710rpx;
  11. margin-top: 40rpx;
  12. border-radius: 10rpx;
  13. background-color: #fff;
  14. margin: 30rpx auto 0;
  15. }
  16. .pane2{
  17. background: #fff;
  18. opacity: .6;
  19. }
  20. .pane2 image{
  21. width: 500rpx;
  22. display: block;
  23. margin: 40rpx auto 0;
  24. }
  25. .barcode {
  26. display: flex;
  27. height: 100rpx;
  28. flex-direction: column;
  29. justify-content: center;
  30. align-items: center;
  31. }
  32. .barnum {
  33. width: 670rpx;
  34. height: 46rpx;
  35. line-height: 46rpx;
  36. font-size: 30rpx;
  37. text-align: center;
  38. white-space: nowrap;
  39. color: #999;
  40. }
  41. .barnum text {
  42. color: #333;
  43. }
  44. .barcode > canvas {
  45. width: 680rpx;
  46. height: 100rpx;
  47. }
  48. .qrcode {
  49. height: 370rpx;
  50. display: flex;
  51. flex-direction: column;
  52. justify-content: flex-end;
  53. align-items: center;
  54. }
  55. .qrcode image{
  56. position: absolute;
  57. width: 160rpx;
  58. height: 160rpx;
  59. right:0;
  60. bottom: 0;
  61. top: 0;
  62. left: 0;
  63. margin: auto;
  64. z-index: 1000000000;
  65. border-radius:50%;
  66. }
  67. .qrcode > canvas {
  68. position: relative;
  69. width: 400rpx;
  70. height: 400rpx;
  71. }
  72. .coupon_detail {
  73. padding: 0 20rpx;
  74. }
  75. .fl {
  76. float: left;
  77. }
  78. .fr {
  79. float: right;
  80. }
  81. .coupon_detail image {
  82. display: block;
  83. width: 260rpx;
  84. height: 100rpx;
  85. border-radius: 16rpx;
  86. }
  87. .coupon_detail .fr {
  88. width: 400rpx;
  89. }
  90. .coupon_detail .title {
  91. font-size: 36rpx;
  92. }
  93. .time {
  94. font-size: 26rpx;
  95. color: #999;
  96. }
  97. .time text {
  98. font-size: 26rpx;
  99. color: red;
  100. }
  101. .money text {
  102. color: red;
  103. font-size: 36rpx;
  104. }
  105. .money del {
  106. color: #999;
  107. font-size: 26rpx;
  108. text-decoration: line-through;
  109. margin-left: 20rpx;
  110. }
  111. .clearfix:after {
  112. content: ".";
  113. display: block;
  114. height: 0;
  115. clear: both;
  116. visibility: hidden;
  117. }
  118. .timevalidity {
  119. margin-top: 20rpx;
  120. text-indent: 20rpx;
  121. }
  122. .timevalidity text:nth-of-type(1) {
  123. color: #333;
  124. font-size: 30rpx;
  125. }
  126. .timevalidity text:nth-of-type(2) {
  127. font-size: 30rpx;
  128. color: red;
  129. }
  130. .posi {
  131. width: 100%;
  132. display: flex;
  133. flex-direction: column;
  134. margin-top: 50rpx;
  135. background: #fff;
  136. border-bottom: 20rpx solid #f5f5f5;
  137. border-top: 20rpx solid #f5f5f5;
  138. position: relative;
  139. }
  140. .posi_logo {
  141. width: 92%;
  142. padding: 30rpx 4%;
  143. display: flex;
  144. position: relative;
  145. z-index: 100;
  146. }
  147. .posi_logo view:nth-child(1) {
  148. width: 126rpx;
  149. height: 126rpx;
  150. border-radius: 50%;
  151. overflow: hidden;
  152. flex: 2;
  153. }
  154. .posi_logo view:nth-child(1) image {
  155. width: 100%;
  156. height: 100%;
  157. }
  158. .posi_logo view:nth-child(2) {
  159. position: relative;
  160. z-index: 100;
  161. display: flex;
  162. flex-direction: column;
  163. flex: 8;
  164. padding-top: 20rpx;
  165. padding-left: 30rpx;
  166. }
  167. .posi_logo view:nth-child(2) text:nth-child(1) {
  168. font-size: 30rpx;
  169. }
  170. .posi_logo view:nth-child(2) text:nth-child(2) {
  171. font-size: 24rpx;
  172. color: #b8b8b8;
  173. padding-top: 10rpx;
  174. }
  175. .tit {
  176. font-size: 30rpx;
  177. color: #000;
  178. font-weight: bold;
  179. padding: 24rpx 0 33rpx;
  180. border-bottom: 1px solid #eee;
  181. text-indent: 20rpx;
  182. }
  183. .tel {
  184. position: absolute;
  185. right: 50rpx;
  186. top: 0;
  187. bottom: 0;
  188. margin: auto;
  189. width: 50rpx;
  190. height: 50rpx;
  191. z-index:1000000;
  192. }
  193. .notes {
  194. margin-top: 2%;
  195. border-top: 20rpx solid #f5f5f5;
  196. }
  197. .notes view:nth-child(1) {
  198. width: 92%;
  199. height: 87rpx;
  200. padding: 0 4%;
  201. line-height: 87rpx;
  202. background: #fff;
  203. border-bottom: 1rpx solid #f5f5f5;
  204. }
  205. .notes view:nth-child(1) text {
  206. font-size: 30rpx;
  207. font-weight: bold;
  208. }
  209. .notes view:nth-child(2) {
  210. width: 92%;
  211. height: 400rpx;
  212. padding: 0 4%;
  213. background: #fff;
  214. display: flex;
  215. flex-direction: column;
  216. padding-top: 2%;
  217. }
  218. .notes view:nth-child(2) > text {
  219. font-size: 28rpx;
  220. color: #a9a9a9;
  221. line-height: 56rpx;
  222. }
  223. .note view {
  224. height: 94rpx;
  225. line-height: 94rpx;
  226. border-bottom: 2rpx solid #f9f9f9;
  227. }
  228. .note view text {
  229. display: inline-block;
  230. }
  231. .note text:nth-of-type(1) {
  232. width: 30%;
  233. text-indent: 30rpx;
  234. text-align: left;
  235. font-size: 30rpx;
  236. color: #000;
  237. }
  238. .note text:nth-of-type(2) {
  239. width: 67%;
  240. padding-right: 3%;
  241. text-align: right;
  242. color: #bdbdbd;
  243. font-size: 30rpx;
  244. }
  245. .manjian {
  246. margin-left: 26rpx;
  247. color: #666 !important;
  248. font-size: 26rpx !important;
  249. }