shop.wxss 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. .integral-shop {
  28. background: #f5f5f5;
  29. padding-top: 120rpx;
  30. }
  31. .integral-shop .search-box {
  32. position: fixed;
  33. top: 0%;
  34. left: 0%;
  35. width: 100%;
  36. padding: 20rpx 0;
  37. background: #fff;
  38. z-index: 9;
  39. }
  40. .integral-shop .top-banner {
  41. margin: 0 30rpx;
  42. width: 690rpx;
  43. height: 346rpx;
  44. }
  45. .integral-shop .zs-list {
  46. margin-left: 30rpx;
  47. margin-right: 30rpx;
  48. display: flex;
  49. flex-wrap: wrap;
  50. justify-content: space-between;
  51. }
  52. .integral-shop .zs-list .item {
  53. width: 334rpx;
  54. display: flex;
  55. flex-direction: column;
  56. justify-content: space-between;
  57. background: #fff;
  58. border-radius: 16rpx;
  59. margin-top: 20rpx;
  60. }
  61. .integral-shop .zs-list .item .icon {
  62. width: 100%;
  63. height: 320rpx !important;
  64. border-radius: 12rpx;
  65. object-fit: cover;
  66. }
  67. .integral-shop .zs-list .item .item-title {
  68. font-size: 26rpx;
  69. display: -webkit-box;
  70. -webkit-box-orient: vertical;
  71. overflow: hidden;
  72. -webkit-line-clamp: 2;
  73. text-overflow: ellipsis;
  74. padding: 0 20rpx;
  75. margin-top: 20rpx;
  76. }
  77. .integral-shop .zs-list .item .handle-box {
  78. display: flex;
  79. justify-content: space-between;
  80. align-items: center;
  81. margin-top: 15rpx;
  82. padding: 10rpx 20rpx;
  83. }
  84. .integral-shop .zs-list .item .handle-box .price {
  85. font-size: 26rpx;
  86. color: #FE5B47;
  87. }
  88. .integral-shop .zs-list .item .handle-box .exchange-btn {
  89. width: 96rpx;
  90. height: 40rpx;
  91. line-height: 40rpx;
  92. background: #61B5FD;
  93. border-radius: 20rpx;
  94. text-align: center;
  95. color: #fff;
  96. font-size: 22rpx;
  97. }