detail.wxss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .infoDetail {
  28. padding: 40rpx;
  29. background-color: #f9f9f9;
  30. }
  31. .infoDetail .custom-icon-view::before,
  32. .infoDetail .custom-icon-collected::before,
  33. .infoDetail .custom-icon-comment::before {
  34. background: -webkit-linear-gradient(left, #f84a1a, #ffa53e);
  35. -webkit-background-clip: text;
  36. -webkit-text-fill-color: transparent;
  37. font-weight: bold;
  38. }
  39. .infoDetail .infoTitle {
  40. font-size: 46rpx;
  41. font-weight: 600;
  42. }
  43. .infoDetail .infoTime {
  44. margin: 40rpx 0;
  45. display: flex;
  46. align-items: center;
  47. }
  48. .infoDetail .infoTime .viewCount {
  49. display: flex;
  50. align-items: center;
  51. }
  52. .infoDetail .infoTime .custom-icon-view {
  53. font-size: 36rpx;
  54. margin-right: 10rpx;
  55. }
  56. .infoDetail .infoTime .time {
  57. margin-left: 20rpx;
  58. color: #aaa;
  59. }
  60. .infoDetail .infoContent {
  61. font-size: 32rpx;
  62. }
  63. .infoDetail .bottom {
  64. margin-top: 150rpx;
  65. display: flex;
  66. align-items: center;
  67. width: 100%;
  68. height: 80rpx;
  69. }
  70. .infoDetail .bottom .u-input {
  71. width: 50%;
  72. height: 100%;
  73. }
  74. .infoDetail .bottom .count {
  75. width: 32%;
  76. height: 100%;
  77. background-color: #fff;
  78. display: flex;
  79. justify-content: space-between;
  80. align-items: center;
  81. margin: 0 16rpx;
  82. border-radius: 10rpx;
  83. padding: 0 20rpx;
  84. font-size: 20rpx;
  85. }
  86. .infoDetail .bottom .count .custom-icon {
  87. margin-right: 10rpx;
  88. }
  89. .infoDetail .bottom .count .collect,
  90. .infoDetail .bottom .count .comment {
  91. display: flex;
  92. align-items: center;
  93. }
  94. .infoDetail .bottom .u-button {
  95. width: 12%;
  96. height: 100%;
  97. }
  98. .infoDetail .bottom .u-button .custom-icon-share {
  99. font-size: 20rpx;
  100. }