template.wxss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. /* pages/template/template.wxss */
  2. .article-box{
  3. width: 750rpx;
  4. height: auto;
  5. }
  6. .article-head{
  7. width: 750rpx;
  8. height: 120rpx;
  9. display: flex;
  10. flex-direction: row;
  11. align-items: center;
  12. }
  13. .article-head>image:nth-child(1){
  14. width: 64rpx;
  15. height: 64rpx;
  16. border-radius: 50%;
  17. margin: auto 16rpx auto 32rpx;
  18. }
  19. .article-head>text:nth-child(2){
  20. width: auto;
  21. height: 42rpx;
  22. font-size: 30rpx;
  23. font-family: PingFangSC-Regular, PingFang SC;
  24. font-weight: 400;
  25. color: rgba(0,0,0,0.87);
  26. line-height: 42rpx;
  27. margin-right: auto;
  28. }
  29. .article-head>image:nth-child(3){
  30. width: 48rpx;
  31. height: 48rpx;
  32. margin-right: 32rpx;
  33. }
  34. .img-box{
  35. width: 750rpx;
  36. height: 750rpx;
  37. position: relative;
  38. display: flex;
  39. }
  40. .swiper-num{
  41. position: absolute;
  42. top: 24rpx;
  43. right: 24rpx;
  44. width: 56rpx;
  45. height: 36rpx;
  46. background: rgba(0,0,0,0.6);
  47. border-radius: 12px;
  48. font-size: 22rpx;
  49. color: #FFFFFF;
  50. line-height: 36rpx;
  51. text-align: center;
  52. }
  53. .article-take{
  54. display: flex;
  55. flex-direction: row;
  56. width: 750rpx;
  57. height: 96rpx;
  58. }
  59. .take-dianzan{
  60. width: 48rpx;
  61. height: 48rpx;
  62. margin: 24rpx 0 24rpx 32rpx;
  63. }
  64. .take-dianzan-num{
  65. width: auto;
  66. height: 42rpx;
  67. font-size: 30rpx;
  68. font-family: PingFangSC-Medium, PingFang SC;
  69. font-weight: 500;
  70. color: rgba(0,0,0,0.87);
  71. line-height: 42rpx;
  72. margin: auto 48rpx auto 8rpx;
  73. }
  74. .take-msg{
  75. width: 48rpx;
  76. height: 48rpx;
  77. margin: 24rpx 0;
  78. }
  79. .take-share-box{
  80. padding: 0;
  81. width: 48rpx !important;
  82. height: 48rpx !important;
  83. background: none !important;
  84. background-color: none !important;
  85. margin: 24rpx 32rpx 24rpx auto !important;
  86. }
  87. .take-share{
  88. width: 48rpx;
  89. height: 48rpx;
  90. }
  91. .article-content{
  92. margin: 0 32rpx;
  93. width: 686rpx;
  94. height: auto;
  95. font-size: 15px;
  96. font-family: PingFangSC-Regular, PingFang SC;
  97. font-weight: 400;
  98. color: rgba(0,0,0,0.87);
  99. line-height: 48rpx;
  100. text-align: justify;
  101. white-space: pre-wrap;
  102. }
  103. .article-tag{
  104. width: 686rpx;
  105. height: auto;
  106. padding: 24rpx 32rpx 32rpx;
  107. display: flex;
  108. flex-direction: row;
  109. flex-wrap: wrap;
  110. }
  111. .tag-item{
  112. width: auto;
  113. height: 48rpx;
  114. border-radius: 13px;
  115. border: 1px solid rgba(0,0,0,0.87);
  116. display: flex;
  117. flex-direction: row;
  118. align-items: center;
  119. margin-right: 16rpx;
  120. margin-bottom: 16rpx;
  121. }
  122. .tag-item>image{
  123. width: 28rpx;
  124. height: 28rpx;
  125. margin: 10rpx 8rpx 10rpx 16rpx;
  126. }
  127. .tag-item>text{
  128. width: auto;
  129. height: 32rpx;
  130. font-size: 24rpx;
  131. font-family: PingFangSC-Medium, PingFang SC;
  132. font-weight: 500;
  133. color: rgba(0,0,0,0.87);
  134. line-height: 32rpx;
  135. margin-right: 16rpx;
  136. }