index.less 4.6 KB

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