index.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. /*
  2. ***HotApp云笔记,基于HotApp小程序统计云后台
  3. ***免费云后台申请地址 https://weixin.hotapp.cn/cloud
  4. ***API 文档地址:https://weixin.hotapp.cn/api
  5. ***小程序技术讨论QQ群:173063969
  6. */
  7. /**index.wxss**/
  8. page {
  9. background: #efeff4;
  10. }
  11. .container {
  12. flex-wrap: wrap;
  13. background: #efeff4;
  14. font-family: '微软雅黑';
  15. }
  16. .col {
  17. width: 26%;
  18. padding-top: 33%;
  19. margin: 25rpx 3.666666%;
  20. position: relative;
  21. }
  22. .item {
  23. width: 100%;
  24. height: 100%;
  25. border-radius: 20rpx;
  26. overflow: hidden;
  27. position: absolute;
  28. box-sizing: border-box;
  29. top: 0;
  30. display: flex;
  31. flex-direction: column;
  32. }
  33. .item .content {
  34. flex: 1;
  35. }
  36. .item .content,
  37. .item .bottom {
  38. display: flex;
  39. flex-flow: row nowrap;
  40. align-items: center;
  41. justify-content: center;
  42. }
  43. .item .bottom {
  44. height: 80rpx;
  45. background: #9f7968;
  46. font-size: 22rpx;
  47. }
  48. .item .txt {
  49. flex: 1;
  50. text-align: center;
  51. }
  52. .item .content .txt {
  53. padding: 0 5%;
  54. font-size: 28rpx;
  55. overflow: hidden;
  56. text-overflow: ellipsis;
  57. display: -webkit-box;
  58. -webkit-box-orient: vertical;
  59. -webkit-line-clamp: 3;
  60. display: box;
  61. box-orient: vertical;
  62. line-clamp: 3;
  63. }
  64. .item .bottom .txt {
  65. color: #fff;
  66. }
  67. .item.notepad {
  68. background: #fff;
  69. }
  70. .item.today {
  71. background: #fde3d5;
  72. }
  73. .item.yesterday {
  74. background: #d5effd;
  75. }
  76. .add_box,
  77. .item.more {
  78. border: 6rpx dotted #d9d9d9;
  79. }
  80. .add_box {
  81. display: flex;
  82. justify-content: center;
  83. align-items: center;
  84. }
  85. .tips_box {
  86. position: relative;
  87. }
  88. .tips_icon {
  89. position: absolute;
  90. top: -60rpx;
  91. }
  92. .item.more {
  93. background: url('../../../images/more.png') no-repeat center center;
  94. background-size: 60%;
  95. }
  96. .tips {
  97. position: absolute;
  98. z-index: 9;
  99. right: -300rpx;
  100. bottom: -140rpx;
  101. }
  102. .tips_txt {
  103. width: 360rpx;
  104. font-size: 32rpx;
  105. padding: 45rpx 0;
  106. text-align: center;
  107. background: #fff;
  108. border-radius: 14rpx;
  109. }
  110. .tips_icon {
  111. width: 70rpx;
  112. height: 70rpx;
  113. margin-left: 30rpx;
  114. background-size: 100%;
  115. }