app.wxss 2.6 KB

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