index.wxss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. /* crmeb颜色变量 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .mask {
  28. z-index: 99;
  29. }
  30. .cartList {
  31. position: fixed;
  32. left: 0;
  33. bottom: 0;
  34. width: 100%;
  35. background-color: #fff;
  36. z-index: 100;
  37. padding: 0 30rpx 100rpx 30rpx;
  38. box-sizing: border-box;
  39. border-radius: 16rpx 16rpx 0 0;
  40. -webkit-transform: translate3d(0, 100%, 0);
  41. transform: translate3d(0, 100%, 0);
  42. transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
  43. }
  44. .cartList.on {
  45. -webkit-transform: translate3d(0, 0, 0);
  46. transform: translate3d(0, 0, 0);
  47. }
  48. .cartList .title {
  49. height: 108rpx;
  50. }
  51. .cartList .title .name {
  52. font-size: 28rpx;
  53. color: #282828;
  54. font-weight: bold;
  55. }
  56. .cartList .title .del {
  57. font-size: 26rpx;
  58. color: var(--view-theme);
  59. }
  60. .cartList .title .del .iconfont {
  61. margin-right: 5rpx;
  62. font-size: 34rpx;
  63. }
  64. .cartList .list {
  65. max-height: 720rpx;
  66. overflow-x: hidden;
  67. overflow-y: auto;
  68. }
  69. .cartList .list .item {
  70. margin-bottom: 40rpx;
  71. }
  72. .cartList .list .item .pictrue {
  73. width: 176rpx;
  74. height: 176rpx;
  75. border-radius: 16rpx;
  76. position: relative;
  77. }
  78. .cartList .list .item .pictrue image {
  79. width: 100%;
  80. height: 100%;
  81. border-radius: 16rpx;
  82. }
  83. .cartList .list .item .pictrue .mantle {
  84. position: absolute;
  85. top: 0;
  86. left: 0;
  87. width: 100%;
  88. height: 100%;
  89. background: rgba(255, 255, 255, 0.65);
  90. border-radius: 16rpx;
  91. }
  92. .cartList .list .item .txtPic {
  93. width: 486rpx;
  94. }
  95. .cartList .list .item .txtPic .name {
  96. font-size: 28rpx;
  97. color: #282828;
  98. }
  99. .cartList .list .item .txtPic .name.on {
  100. color: #A3A3A3;
  101. }
  102. .cartList .list .item .txtPic .noBnt {
  103. width: 126rpx;
  104. height: 44rpx;
  105. background: #f2f2f2;
  106. border-radius: 22rpx;
  107. text-align: center;
  108. line-height: 44rpx;
  109. font-size: 24rpx;
  110. color: #A3A3A3;
  111. margin-top: 10rpx;
  112. }
  113. .cartList .list .item .txtPic .delTxt {
  114. margin-top: 48rpx;
  115. font-size: 24rpx;
  116. color: #E93323;
  117. }
  118. .cartList .list .item .txtPic .delTxt text {
  119. width: 70rpx;
  120. height: 50rpx;
  121. text-align: center;
  122. line-height: 50rpx;
  123. }
  124. .cartList .list .item .txtPic .info {
  125. font-size: 23rpx;
  126. color: #989898;
  127. margin-top: 5rpx;
  128. }
  129. .cartList .list .item .txtPic .bottom {
  130. margin-top: 11rpx;
  131. }
  132. .cartList .list .item .txtPic .bottom .money {
  133. font-weight: bold;
  134. font-size: 26rpx;
  135. color: var(--view-priceColor);
  136. }
  137. .cartList .list .item .txtPic .bottom .money .num {
  138. font-size: 34rpx;
  139. }
  140. .cartList .list .item .txtPic .bottom .cartNum {
  141. font-weight: bold;
  142. }
  143. .cartList .list .item .txtPic .bottom .cartNum .num {
  144. font-size: 34rpx;
  145. color: #282828;
  146. width: 120rpx;
  147. text-align: center;
  148. }
  149. .cartList .list .item .txtPic .bottom .cartNum .reduce {
  150. color: #282828;
  151. font-size: 24rpx;
  152. width: 60rpx;
  153. height: 60rpx;
  154. text-align: center;
  155. line-height: 60rpx;
  156. }
  157. .cartList .list .item .txtPic .bottom .cartNum .plus {
  158. color: #282828;
  159. font-size: 24rpx;
  160. width: 60rpx;
  161. height: 60rpx;
  162. text-align: center;
  163. line-height: 60rpx;
  164. }