commodity.wxss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. .list.data-v-4ed8fbfe {
  28. margin-top: 20rpx;
  29. background-color: #fff;
  30. border-radius: 16rpx;
  31. padding: 28rpx 26rpx 36rpx 24rpx;
  32. }
  33. .list .merchant.data-v-4ed8fbfe {
  34. display: flex;
  35. justify-content: flex-start;
  36. }
  37. .list .merchant .merchant-img.data-v-4ed8fbfe {
  38. width: 38rpx;
  39. height: 38rpx;
  40. margin-right: 16rpx;
  41. }
  42. .list .merchant .merchant-name.data-v-4ed8fbfe {
  43. font-size: 30rpx;
  44. color: #222;
  45. }
  46. .list .detail.data-v-4ed8fbfe {
  47. margin-top: 32rpx;
  48. display: flex;
  49. }
  50. .list .detail .detail-img.data-v-4ed8fbfe {
  51. width: 184rpx;
  52. height: 184rpx;
  53. margin-right: 24rpx;
  54. }
  55. .list .detail .detail-right.data-v-4ed8fbfe {
  56. flex-direction: column;
  57. justify-content: space-between;
  58. height: 184rpx;
  59. display: flex;
  60. flex: 1;
  61. }
  62. .list .detail .detail-right .toptitle.data-v-4ed8fbfe {
  63. font-family: PingFangSC, PingFang SC;
  64. font-size: 28rpx;
  65. color: #222222;
  66. width: 100%;
  67. overflow: hidden;
  68. text-overflow: ellipsis;
  69. -webkit-line-clamp: 1;
  70. display: -webkit-box;
  71. -webkit-box-orient: vertical;
  72. word-break: break-all;
  73. margin-bottom: 16rpx;
  74. }
  75. .list .detail .detail-right .weight.data-v-4ed8fbfe {
  76. font-family: PingFangSC, PingFang SC;
  77. font-size: 24rpx;
  78. color: rgba(34, 34, 34, 0.6);
  79. line-height: 34rpx;
  80. }
  81. .list .detail .detail-right .money.data-v-4ed8fbfe {
  82. font-family: HarmonyOS_Sans_Medium;
  83. font-size: 24rpx;
  84. color: #f83224;
  85. line-height: 38rpx;
  86. text-align: left;
  87. font-style: normal;
  88. font-weight: bold;
  89. }
  90. .list .detail .detail-right .stepping.data-v-4ed8fbfe {
  91. display: flex;
  92. width: 50rpx;
  93. height: 40rpx;
  94. justify-content: space-around;
  95. align-items: center;
  96. font-size: 30rpx;
  97. border-radius: 20rpx;
  98. }