index.wxss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /**index.wxss**/
  2. page {
  3. background-color: #439057;
  4. }
  5. .page {
  6. display: flex;
  7. flex-direction: column;
  8. justify-content: center;
  9. align-items: center;
  10. }
  11. .container {
  12. padding-bottom: 10rpx;
  13. }
  14. .panel {
  15. display: flex;
  16. flex-direction: column;
  17. justify-content: space-between;
  18. align-items: stretch;
  19. box-sizing: border-box;
  20. width: 710rpx;
  21. margin-top: 40rpx;
  22. border-radius: 10rpx;
  23. background-color: #fff;
  24. }
  25. .header {
  26. height: 140rpx;
  27. background-color: #f0f0f0;
  28. border-radius: 10rpx 10rpx 0 0;
  29. }
  30. .barcode {
  31. display: flex;
  32. height: 320rpx;
  33. flex-direction: column;
  34. justify-content: center;
  35. align-items: center;
  36. }
  37. .barnum {
  38. width: 670rpx;
  39. height: 100rpx;
  40. line-height: 100rpx;
  41. font-size: 38rpx;
  42. font-weight: bold;
  43. text-align: center;
  44. letter-spacing: 10rpx;
  45. white-space: nowrap;
  46. }
  47. .barcode > canvas {
  48. width: 680rpx;
  49. height: 200rpx;
  50. }
  51. .qrcode {
  52. height: 420rpx;
  53. display: flex;
  54. flex-direction: column;
  55. justify-content: flex-end;
  56. align-items: center;
  57. }
  58. .qrcode > canvas {
  59. width: 420rpx;
  60. height: 420rpx;
  61. }