goods-action-icon.wxss 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. .goods-action-icon.data-v-75a61d32 {
  28. display: flex;
  29. flex-direction: column;
  30. justify-content: center;
  31. min-width: 108rpx;
  32. height: 99rpx;
  33. color: #646566;
  34. font-size: 24rpx;
  35. text-align: center;
  36. background-color: #fff;
  37. cursor: pointer;
  38. }
  39. .goods-action-icon .goods-action-btn.data-v-75a61d32 {
  40. display: block;
  41. text-align: center;
  42. font-size: 26rpx;
  43. color: #666;
  44. position: relative;
  45. }
  46. .goods-action-icon .goods-action-btn.data-v-75a61d32:first-child {
  47. position: relative;
  48. }
  49. .goods-action-icon .goods-action-btn:first-child view.data-v-75a61d32 {
  50. display: inline-block;
  51. width: 36rpx;
  52. height: 36rpx;
  53. padding: 6rpx 0;
  54. }
  55. .goods-action-icon .goods-action-btn:first-child .active.data-v-75a61d32 {
  56. color: #ff5000;
  57. }
  58. .goods-action-icon .goods-action-btn:first-child text.data-v-75a61d32 {
  59. position: absolute;
  60. top: 10rpx;
  61. right: 24rpx;
  62. box-sizing: border-box;
  63. min-width: 36rpx;
  64. padding: 0 6rpx;
  65. color: #fff;
  66. font-weight: 500;
  67. font-size: 24rpx;
  68. line-height: 28rpx;
  69. text-align: center;
  70. background-color: #ee0a24;
  71. border: 2rpx solid #fff;
  72. border-radius: 64rpx;
  73. -webkit-transform: translate(50%, -50%);
  74. transform: translate(50%, -50%);
  75. -webkit-transform-origin: 100%;
  76. transform-origin: 100%;
  77. }
  78. .goods-action-icon .goods-action-btn.data-v-75a61d32:last-child {
  79. font-size: 48rpx;
  80. -webkit-transform: scale(0.9);
  81. }
  82. .goods-action-icon .goods-action-btn:last-child .active.data-v-75a61d32 {
  83. color: #ff5000;
  84. }