app.acss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. page {
  2. background: #145A83;
  3. }
  4. .page {
  5. /*width: 100vw;*/
  6. width: 750rpx;
  7. height: 100vh;
  8. overflow: hidden;
  9. background: url('https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/home/bg.png') no-repeat;
  10. background-size: 100% 100%;
  11. background-attachment: fixed;
  12. position: relative;
  13. }
  14. .main {
  15. /*width: 100vw;*/
  16. width: 750rpx;
  17. height: 460rpx;
  18. margin: auto;
  19. /* text-align: center; */
  20. position: relative;
  21. top: 50%;
  22. transform: translateY(-50%);
  23. /* 向上移动自身高度的一半 */
  24. }
  25. .portrait-main {
  26. width: 750rpx;
  27. height: 460rpx;
  28. margin: auto;
  29. /* text-align: center; */
  30. position: relative;
  31. top: 50%;
  32. transform: translateY(-50%);
  33. /* 向上移动自身高度的一半 */
  34. }
  35. .information-sn {
  36. font-size: 11rpx;
  37. color: #145A83;
  38. position: absolute;
  39. bottom: 13rpx;
  40. left: 11rpx;
  41. }
  42. .logout-btn {
  43. background-color: #80C269;
  44. border-radius: 50%;
  45. font-size: 14rpx;
  46. color: #fff;
  47. position: absolute;
  48. bottom: 3.5rpx;
  49. right: 107rpx;
  50. text-align: center;
  51. padding: 14rpx 9rpx;
  52. }
  53. .sure-btn {
  54. background-color: #13B5B1;
  55. border-radius: 50%;
  56. font-size: 14rpx;
  57. color: #fff;
  58. position: absolute;
  59. bottom: 15rpx;
  60. right: 37rpx;
  61. text-align: center;
  62. padding: 20rpx 15rpx;
  63. }
  64. .flex {
  65. display: flex;
  66. justify-content: center;
  67. align-items: center;
  68. }
  69. .flex1 {
  70. display: flex;
  71. justify-content: space-between;
  72. }
  73. .flex2 {
  74. display: flex;
  75. justify-content: right;
  76. }
  77. .magnify {
  78. transition: transform 0.1s ease;
  79. /* 平滑过渡效果 */
  80. transform: scale(1);
  81. /* 默认大小 */
  82. }
  83. .magnify:active {
  84. transform: scale(1.1);
  85. /* 点击时放大1.1倍 */
  86. }
  87. .magnify-btn:active {
  88. transform: scale(1.3);
  89. background-color: #379391 !important;
  90. }