index.wxss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. @charset "UTF-8";
  2. /**
  3. * 这里是app内置的常用样式变量
  4. *
  5. * 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. /* 文字尺寸 */
  23. /* 图片尺寸 */
  24. /* Border Radius */
  25. /* 水平间距 */
  26. /* 垂直间距 */
  27. /* 透明度 */
  28. /* 文章场景相关 */
  29. .warn-item {
  30. padding: 26rpx 24rpx;
  31. }
  32. .warn-item .title {
  33. font-size: 32rpx;
  34. color: #333;
  35. line-height: 44rpx;
  36. }
  37. .warn-item .subtitle {
  38. margin-top: 10rpx;
  39. font-size: 28rpx;
  40. color: #666;
  41. line-height: 40rpx;
  42. }
  43. .warn-item .paragraph {
  44. margin: 10rpx 0 18rpx;
  45. font-size: 28rpx;
  46. color: #999;
  47. line-height: 40rpx;
  48. }
  49. .warn-item .time {
  50. padding: 6rpx 15rpx;
  51. font-size: 28rpx;
  52. color: #317AFD;
  53. line-height: 1;
  54. background: rgba(49, 122, 253, 0.3);
  55. border-radius: 4rpx;
  56. }