shop.wxss 2.4 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. .integral-shop cc-drop-down-menu {
  28. position: fixed;
  29. left: 0%;
  30. top: 0;
  31. width: 100%;
  32. background: #fff;
  33. z-index: 99999999;
  34. }
  35. .integral-shop .bar-item-text {
  36. max-width: 250rpx !important;
  37. }
  38. .integral-shop .screen-bar::after {
  39. display: none;
  40. }
  41. .integral-shop .zs-list .item {
  42. display: flex;
  43. margin: 0 20rpx 20rpx;
  44. box-shadow: 0rpx 0rpx 24rpx 2rpx rgba(0, 0, 0, 0.08);
  45. }
  46. .integral-shop .zs-list .item .icon {
  47. width: 250rpx;
  48. height: 250rpx;
  49. border-radius: 16rpx 0 0 16rpx;
  50. }
  51. .integral-shop .zs-list .item .info {
  52. flex: 1;
  53. padding: 20rpx;
  54. border-radius: 0 16rpx 16rpx 0;
  55. position: relative;
  56. display: flex;
  57. flex-direction: column;
  58. justify-content: space-between;
  59. }
  60. .integral-shop .zs-list .item .info .title {
  61. font-size: 26rpx;
  62. display: -webkit-box;
  63. -webkit-box-orient: vertical;
  64. overflow: hidden;
  65. -webkit-line-clamp: 2;
  66. text-overflow: ellipsis;
  67. }
  68. .integral-shop .zs-list .item .info .desc {
  69. color: #cacaca;
  70. font-size: 24rpx;
  71. }
  72. .integral-shop .zs-list .item .info .sale-box {
  73. display: flex;
  74. justify-content: space-between;
  75. align-items: center;
  76. }
  77. .integral-shop .zs-list .item .info .sale-box .price {
  78. color: #ecb751;
  79. font-size: 38rpx;
  80. }
  81. .integral-shop .zs-list .item .info .sale-box .exchange-btn {
  82. width: 120rpx;
  83. height: 50rpx;
  84. line-height: 50rpx;
  85. background: linear-gradient(263deg, #FF4A39 0%, #FFA770 100%);
  86. border-radius: 25rpx;
  87. text-align: center;
  88. color: #fff;
  89. font-size: 24rpx;
  90. }