order.wxss 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. .card {
  28. height: 35%;
  29. width: 100%;
  30. -webkit-border-radius: 20rpx;
  31. border-radius: 20rpx;
  32. -webkit-box-shadow: 0 0 50rpx 0 rgba(0, 0, 0, 0.1);
  33. box-shadow: 0 0 50rpx 0 rgba(0, 0, 0, 0.1);
  34. }
  35. .card .card_img {
  36. height: 40%;
  37. width: 100%;
  38. display: inline-block;
  39. -webkit-box-pack: center;
  40. -webkit-justify-content: center;
  41. justify-content: center;
  42. -webkit-box-align: end;
  43. -webkit-align-items: flex-end;
  44. align-items: flex-end;
  45. }
  46. .card .card_img .img {
  47. height: 100rpx;
  48. width: 100rpx;
  49. }
  50. .card .card_text {
  51. height: 25%;
  52. width: 100%;
  53. display: -webkit-box;
  54. display: -webkit-flex;
  55. display: flex;
  56. -webkit-box-pack: center;
  57. -webkit-justify-content: center;
  58. justify-content: center;
  59. -webkit-box-align: center;
  60. -webkit-align-items: center;
  61. align-items: center;
  62. }
  63. .card .card_text text {
  64. font-size: 36rpx;
  65. font-weight: bold;
  66. color: #333333;
  67. }
  68. .card .describe {
  69. height: 35%;
  70. width: 100%;
  71. display: inline-block;
  72. text-align: center;
  73. }
  74. .card .describe view {
  75. padding-top: 5rpx;
  76. font-size: 28rpx;
  77. color: #999999;
  78. }
  79. .button {
  80. height: 15%;
  81. width: 100%;
  82. display: block;
  83. -webkit-box-align: end;
  84. -webkit-align-items: flex-end;
  85. align-items: flex-end;
  86. }
  87. .button .b {
  88. padding: 10rpx 0;
  89. width: 100%;
  90. }