talkToBuyer.wxss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. /* pages/buyer/talkToBuyer/talkToBuyer.wxss */
  2. @import "../postItem/postItem.wxss";
  3. @import "/pages/stars/stars.wxss";
  4. .viewBox {
  5. position: fixed;
  6. width: 100%;
  7. height: 100%;
  8. overflow: hidden;
  9. background-color: whitesmoke;
  10. }
  11. .buyerBox {
  12. height: 15%;
  13. display: flex;
  14. flex-direction: row;
  15. white-space: nowrap;
  16. padding-bottom: 10rpx;
  17. padding-left: 10rpx;
  18. padding-right: 10rpx;
  19. padding-top: 10rpx;
  20. }
  21. .talkBox {
  22. height: 85%;
  23. padding-left: 10rpx;
  24. padding-right: 10rpx;
  25. }
  26. .top-imageBox {
  27. width: 20%;
  28. display: flex;
  29. flex-direction: column;
  30. justify-content: center;
  31. }
  32. .top-image {
  33. width: 100%;
  34. height: 0rpx;
  35. padding-top: 100%;
  36. position: relative;
  37. }
  38. .top-image image {
  39. width: 100%;
  40. height: 100%;
  41. border-radius: 50%;
  42. position: absolute;
  43. left: 0rpx;
  44. top: 0rpx;
  45. }
  46. .top-buyerinfobox {
  47. height: 100%;
  48. width: 80%;
  49. padding-left: 20rpx;
  50. display: flex;
  51. flex-direction: column;
  52. justify-content: center;
  53. }
  54. .top-buyerinfobox starsBox {
  55. height: 17rpx;
  56. margin-right: 24rpx;
  57. margin-top: 6rpx;
  58. }
  59. .foucsbutton {
  60. height: 50rpx;
  61. width: 50rpx;
  62. }
  63. .post-list {
  64. height: 98%;
  65. }
  66. .news-item {
  67. height: 100rpx;
  68. /*width属性解决标题文字太短而导航缩略偏移*/
  69. width: 100%;
  70. }
  71. .news-box {
  72. background-color: transparent;
  73. height: 100rpx;
  74. display: flex;
  75. flex-direction: row;
  76. box-sizing: border-box;
  77. border-bottom: 1px solid #f2f2f2;
  78. margin-left: 40rpx;
  79. margin-right: 40rpx;
  80. align-items: flex-start;
  81. }
  82. .news-text {
  83. background-color: transparent;
  84. height: 96rpx;
  85. width: 100%;
  86. display: flex;
  87. flex-direction: column;
  88. padding-left: 20rpx;
  89. overflow: hidden;
  90. align-items: flex-start;
  91. }
  92. .news-stamp {
  93. height: 60rpx;
  94. font-size: 20rpx;
  95. color: darkgrey;
  96. text-overflow: ellipsis;
  97. overflow: hidden;
  98. }
  99. .news-title {
  100. height: 36rpx;
  101. color: gray;
  102. font-size: 26rpx;
  103. text-overflow: ellipsis;
  104. overflow: hidden;
  105. white-space: nowrap;
  106. }
  107. .list-image {
  108. width: 90rpx;
  109. height: 90rpx;
  110. margin-left: 10rpx;
  111. margin-top: 6rpx;
  112. }
  113. .reportBox {
  114. height: 5%;
  115. width: 100%;
  116. display: flex;
  117. flex-direction: row;
  118. white-space: nowrap;
  119. }
  120. .inputBox {
  121. width: 70%;
  122. height: 100%;
  123. display: inline-flex;
  124. flex-direction: row;
  125. justify-content: flex-start;
  126. align-items: center;
  127. padding-left: 20rpx;
  128. }
  129. .input {
  130. width: 100%;
  131. height: 60rpx;
  132. background-color: transparent;
  133. font-size: 30rpx;
  134. border-bottom: 1px gray solid;
  135. }
  136. .reportButton {
  137. width: 30%;
  138. height: 100%;
  139. display: inline-flex;
  140. flex-direction: row;
  141. justify-content: flex-end;
  142. align-items: center;
  143. }
  144. .reportIcon {
  145. height: 60rpx;
  146. width: 60rpx;
  147. margin-right: 40rpx;
  148. }