app.wxss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. /**app.wxss**/
  2. .container {
  3. display: flex;
  4. flex-direction: column;
  5. align-items: center;
  6. box-sizing: border-box;
  7. }
  8. button {
  9. background: initial;
  10. }
  11. button:focus{
  12. outline: 0;
  13. }
  14. button::after{
  15. border: none;
  16. }
  17. page {
  18. background: #f6f6f6;
  19. display: flex;
  20. flex-direction: column;
  21. justify-content: flex-start;
  22. font-weight: 400;
  23. width: 750rpx;
  24. height: 100vh;
  25. font-family: -apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Segoe UI,Arial,Roboto,PingFang SC,miui,Hiragino Sans GB,Microsoft Yahei,sans-serif;
  26. }
  27. .userinfo, .uploader, .tunnel {
  28. margin-top: 40rpx;
  29. height: 140rpx;
  30. width: 100%;
  31. background: #fff;
  32. border: 1px solid rgba(0, 0, 0, 0.1);
  33. border-left: none;
  34. border-right: none;
  35. display: flex;
  36. flex-direction: row;
  37. align-items: center;
  38. transition: all 300ms ease;
  39. }
  40. .userinfo-avatar {
  41. width: 100rpx;
  42. height: 100rpx;
  43. margin: 20rpx;
  44. border-radius: 50%;
  45. background-size: cover;
  46. background-color: white;
  47. }
  48. .userinfo-avatar:after {
  49. border: none;
  50. }
  51. .userinfo-nickname {
  52. font-size: 32rpx;
  53. color: #007aff;
  54. background-color: white;
  55. background-size: cover;
  56. }
  57. .userinfo-nickname::after {
  58. border: none;
  59. }
  60. .uploader, .tunnel {
  61. height: auto;
  62. padding: 0 0 0 40rpx;
  63. flex-direction: column;
  64. align-items: flex-start;
  65. box-sizing: border-box;
  66. }
  67. .uploader-text, .tunnel-text {
  68. width: 100%;
  69. line-height: 52px;
  70. font-size: 34rpx;
  71. color: #007aff;
  72. }
  73. .uploader-container {
  74. width: 100%;
  75. height: 400rpx;
  76. padding: 20rpx 20rpx 20rpx 0;
  77. display: flex;
  78. align-content: center;
  79. justify-content: center;
  80. box-sizing: border-box;
  81. border-top: 1px solid rgba(0, 0, 0, 0.1);
  82. }
  83. .uploader-image {
  84. width: 100%;
  85. height: 360rpx;
  86. }
  87. .tunnel {
  88. padding: 0 0 0 40rpx;
  89. }
  90. .tunnel-text {
  91. position: relative;
  92. color: #222;
  93. display: flex;
  94. flex-direction: row;
  95. align-content: center;
  96. justify-content: space-between;
  97. box-sizing: border-box;
  98. border-top: 1px solid rgba(0, 0, 0, 0.1);
  99. }
  100. .tunnel-text:first-child {
  101. border-top: none;
  102. }
  103. .tunnel-switch {
  104. position: absolute;
  105. right: 20rpx;
  106. top: -2rpx;
  107. }
  108. .disable {
  109. color: #888;
  110. }
  111. .service {
  112. position: fixed;
  113. right: 40rpx;
  114. bottom: 40rpx;
  115. width: 140rpx;
  116. height: 140rpx;
  117. border-radius: 50%;
  118. background: linear-gradient(#007aff, #0063ce);
  119. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  120. display: flex;
  121. align-content: center;
  122. justify-content: center;
  123. transition: all 300ms ease;
  124. }
  125. .service-button {
  126. position: absolute;
  127. top: 40rpx;
  128. }
  129. .service:active {
  130. box-shadow: none;
  131. }
  132. .request-text {
  133. padding: 20rpx 0;
  134. font-size: 24rpx;
  135. line-height: 36rpx;
  136. word-break: break-all;
  137. }