东风启辰小程序端
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

154 行
2.7KB

  1. /* pages/everyday/everyday.wxss */
  2. .showImg {
  3. position: relative;
  4. width: 750rpx;
  5. height: 616rpx;
  6. }
  7. .ruleBtn {
  8. right: 0;
  9. top: 180rpx;
  10. position: absolute;
  11. width: 153rpx;
  12. height: 46rpx;
  13. line-height: 46rpx;
  14. font-size: 24rpx;
  15. color: #fff;
  16. background-color: rgba(35, 24, 21, 0.63);
  17. border-top-left-radius: 20rpx;
  18. border-bottom-left-radius: 20rpx;
  19. padding-left: 20rpx;
  20. box-sizing: border-box;
  21. }
  22. .title {
  23. height: 110rpx;
  24. line-height: 110rpx;
  25. width: 100%;
  26. text-align: center;
  27. font-size: 36rpx;
  28. font-weight: bold;
  29. }
  30. .menuBox {
  31. position: relative;
  32. width: 535rpx;
  33. height: 58rpx;
  34. margin: 0 auto;
  35. }
  36. .menu {
  37. width: 100%;
  38. height: 100%;
  39. }
  40. .menuBox>view {
  41. position: absolute;
  42. bottom: 0;
  43. font-size: 16rpx;
  44. text-align: center;
  45. }
  46. .menuBox>.leftTitle {
  47. left: 38rpx;
  48. width: 54rpx;
  49. height: 38rpx;
  50. line-height: 38rpx;
  51. }
  52. .menuBox>.centerTitle {
  53. left: 95rpx;
  54. width: 345rpx;
  55. height: 56rpx;
  56. line-height: 56rpx;
  57. color: #fff;
  58. font-size: 29rpx;
  59. }
  60. .menuBox>.rightTitle {
  61. right: 38rpx;
  62. width: 54rpx;
  63. height: 38rpx;
  64. line-height: 38rpx;
  65. }
  66. .mask {
  67. position: absolute;
  68. left: 0;
  69. top: 0;
  70. width: 100%;
  71. height: 100%;
  72. display: flex;
  73. align-items: center;
  74. justify-content: center;
  75. background-color: rgba(0, 0, 0, 0.5);
  76. }
  77. .taskBox{
  78. position: relative;
  79. width: 567rpx;
  80. height: 649rpx;
  81. border-radius: 20rpx;
  82. }
  83. .taskBox>.title{
  84. height: 77rpx;
  85. line-height: 77rpx;
  86. color: #ffffff;
  87. border-top-left-radius: 20rpx;
  88. border-top-right-radius: 20rpx;
  89. background-color: #345486;
  90. }
  91. .taskBox>.contentBox{
  92. position: relative;
  93. width: 100%;
  94. height: calc(100% - 77rpx);
  95. background-color: #ffffff;
  96. border-bottom-left-radius: 20rpx;
  97. border-bottom-right-radius: 20rpx;
  98. }
  99. .taskBox>.contentBox>.name{
  100. width: 100%;
  101. height: 107rpx;
  102. line-height: 107rpx;
  103. font-size: 33rpx;
  104. text-align: center;
  105. padding-top: 38rpx;
  106. font-weight: bold;
  107. }
  108. .taskBox>.contentBox>.taskImg{
  109. width: 488rpx;
  110. height: 268rpx;
  111. margin: 0 auto;
  112. border-radius: 19rpx;
  113. }
  114. .taskBox>.contentBox>.btn{
  115. width: 347rpx;
  116. height: 62rpx;
  117. line-height: 62rpx;
  118. text-align: center;
  119. color: #ffffff;
  120. font-size: 28rpx;
  121. border-radius: 10rpx;
  122. margin: 42rpx auto 0 auto;
  123. background-color: #345486;
  124. }
  125. .closeBtn {
  126. background: none;
  127. border: 2rpx solid #fff;
  128. color: #fff;
  129. border-radius: 50%;
  130. text-align: center;
  131. height: 40rpx;
  132. line-height: 40rpx;
  133. width: 40rpx;
  134. font-size: 30rpx;
  135. padding: 2rpx;
  136. position: absolute;
  137. }
  138. /* use cross as close button */
  139. .closeBtn::before {
  140. content: "\2716";
  141. }