index.less 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. .task{
  2. background: #FFFFFF;
  3. .tui-header{
  4. padding: 0 20rpx;
  5. display: flex;
  6. height: 86rpx;
  7. align-items: center;
  8. border-bottom: 1px solid #dcdcdc ;
  9. justify-content: space-between;
  10. .no-message{
  11. color: orange;
  12. width: 100rpx;
  13. }
  14. .message{
  15. color: #2C405A;
  16. width: 100rpx;
  17. }
  18. .myButton{
  19. background: #2A62FF;
  20. width: 120rpx;
  21. height: 60rpx;
  22. color: #FFFFFF;
  23. font-size: 28rpx;
  24. line-height: 60rpx;
  25. text-align: center;
  26. border-radius: 8rpx;
  27. cursor: pointer;
  28. }
  29. .tui-search{
  30. margin: 0 10rpx;
  31. background: #F2F2F2;
  32. width: 500rpx;
  33. height: 50rpx;
  34. border-radius:16px;
  35. display: flex;
  36. line-height: 50rpx;
  37. color: #999999;
  38. }
  39. }
  40. .menu{
  41. border-radius: 16upx;
  42. margin: 16upx;
  43. padding: 30rpx 28rpx;
  44. display: flex;
  45. box-shadow: rgba(183, 183, 183, 0.3) 0px 1px 10px;
  46. align-items: center;
  47. justify-content: space-between;
  48. //height: 100rpx;
  49. .mItem{
  50. display: flex;
  51. flex-direction: column;
  52. align-items: center;
  53. }
  54. .mItem>image{
  55. height: 55upx;
  56. width: 55upx;
  57. }
  58. .mtext{
  59. margin-top: 16rpx;
  60. font-size: 24rpx;
  61. }
  62. }
  63. .myBlock{
  64. height: 18rpx;
  65. background: #dcdcdc;
  66. }
  67. }
  68. .list-item-wrap {
  69. display: flex;
  70. justify-content: space-between;
  71. color: #333333;
  72. font-size: 32upx;
  73. .list-title{
  74. font-size: 32upx;
  75. color: #000000;
  76. // white-space: nowrap; /* 规定文本是否折行 */
  77. overflow: hidden; /* 规定超出内容宽度的元素隐藏 */
  78. text-overflow: ellipsis;
  79. // width: 460rpx;
  80. display: -webkit-box;
  81. -webkit-line-clamp: 2;
  82. -webkit-box-orient: vertical;
  83. }
  84. .desc{
  85. font-size: 28upx;
  86. color: rgba(1,1,1,.5);
  87. margin-bottom: 8upx;
  88. margin-top: 8upx;
  89. }
  90. }
  91. .tui-tabs {
  92. flex: 1;
  93. flex-direction: column;
  94. overflow: hidden;
  95. background-color: #fafafa;
  96. /* #ifdef MP-ALIPAY || MP-BAIDU */
  97. height: 100vh;
  98. /* #endif */
  99. }
  100. .tui-scroll-h {
  101. width: 750rpx;
  102. height: 80rpx;
  103. background-color: #ffffff;
  104. flex-direction: row;
  105. /* #ifndef APP-PLUS */
  106. white-space: nowrap;
  107. /* #endif */
  108. /* #ifdef H5 */
  109. position: fixed;
  110. top: 44px;
  111. left: 0;
  112. z-index:999;
  113. /* #endif */
  114. }
  115. .tui-line-h {
  116. /* #ifdef APP-PLUS */
  117. height: 1rpx;
  118. background-color: #cccccc;
  119. /* #endif */
  120. position: relative;
  121. }
  122. /* #ifndef APP-PLUS*/
  123. .tui-line-h::after {
  124. content: '';
  125. position: absolute;
  126. border-bottom: 1rpx solid #cccccc;
  127. -webkit-transform: scaleY(0.5);
  128. transform: scaleY(0.5);
  129. bottom: 0;
  130. right: 0;
  131. left: 0;
  132. }
  133. /* #endif */
  134. .tui-tab-item {
  135. /* #ifndef APP-PLUS */
  136. display: flex;
  137. /* #endif */
  138. // flex-wrap: nowrap;
  139. // padding-left: 34rpx;
  140. // padding-right: 34rpx;
  141. }
  142. .tui-tab-item-title {
  143. color: #555;
  144. font-size: 30rpx;
  145. height: 80rpx;
  146. line-height: 80rpx;
  147. flex-wrap: nowrap;
  148. white-space: nowrap;
  149. }
  150. .tui-tab-item-title-active {
  151. border-bottom: 1px solid #05C25C;
  152. color: #05C25C;
  153. font-size: 32upx;
  154. font-weight: bold;
  155. border-bottom-width: 6upx;
  156. text-align: center;
  157. }
  158. .tui-swiper-box {
  159. flex: 1 !important;
  160. /* #ifdef H5 */
  161. margin-top: 80rpx;
  162. /* #endif */
  163. }
  164. .tui-swiper-item {
  165. flex: 1 !important;
  166. flex-direction: row;
  167. }
  168. .tui-scroll-v {
  169. flex: 1;
  170. /* #ifndef MP-ALIPAY */
  171. flex-direction: column;
  172. /* #endif */
  173. width: 750rpx;
  174. }
  175. .tui-update-tips {
  176. position: absolute;
  177. left: 0;
  178. top: 41px;
  179. right: 0;
  180. padding-top: 5px;
  181. padding-bottom: 5px;
  182. background-color: #fddd9b;
  183. align-items: center;
  184. justify-content: center;
  185. text-align: center;
  186. }
  187. .tui-update-tips-text {
  188. font-size: 14px;
  189. color: #ffffff;
  190. }
  191. .tui-refresh {
  192. width: 750rpx;
  193. height: 64px;
  194. justify-content: center;
  195. }
  196. .tui-refresh-view {
  197. flex-direction: row;
  198. flex-wrap: nowrap;
  199. align-items: center;
  200. justify-content: center;
  201. }
  202. .tui-refresh-icon {
  203. width: 20px;
  204. height: 20px;
  205. transition-duration: 0.25s;
  206. transition-property: transform;
  207. transform: rotate(0deg);
  208. transform-origin: 10px 10px;
  209. }
  210. .tui-refresh-icon-active {
  211. transform: rotate(180deg);
  212. }
  213. .tui-loading-icon {
  214. width: 20px;
  215. height: 20px;
  216. margin-right: 5px;
  217. color: #999999;
  218. }
  219. .tui-loading-text {
  220. margin-left: 2px;
  221. font-size: 14px;
  222. color: #999999;
  223. }
  224. .tui-loading-more {
  225. align-items: center;
  226. justify-content: center;
  227. padding-top: 15px;
  228. padding-bottom: 15px;
  229. text-align: center;
  230. position: relative;
  231. }
  232. .tui-loadmore-line {
  233. border-bottom-width: 1rpx;
  234. border-bottom-style: solid;
  235. border-bottom-color: #e5e5e5;
  236. width: 320rpx;
  237. position: absolute;
  238. z-index: -1;
  239. }
  240. .tui-loading-more-text {
  241. padding-left: 8rpx;
  242. padding-right: 8rpx;
  243. font-size: 28rpx;
  244. line-height: 28rpx;
  245. background-color: #fafafa;
  246. text-align: center;
  247. color: #999;
  248. }