product.wxss 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /* myComponents/product/product.wxss */
  2. @import "/static/iconfont/iconfont.wxss";
  3. .swiper{
  4. height: 200rpx;
  5. }
  6. .slide-image {
  7. width: 100%;
  8. height: 180rpx;
  9. }
  10. .flex{
  11. width: 100%;
  12. display: flex;
  13. justify-content: space-between;
  14. }
  15. .icon{
  16. display: flex;
  17. }
  18. .product_content{
  19. display: flex;
  20. flex-wrap: wrap;
  21. }
  22. .product_item{
  23. width: 45%;
  24. margin: 10rpx 2.5%;
  25. position: relative;
  26. }
  27. .title{
  28. font-size: 35rpx;
  29. white-space: nowrap; /* 防止文本换行 */
  30. overflow: hidden; /* 隐藏超出容器的文本 */
  31. text-overflow: ellipsis; /* 显示省略号来表示文本被截断 */
  32. }
  33. .product_operate{
  34. background-color: rgb(230 230 230);
  35. width: 100%;
  36. height: 200rpx;
  37. position: absolute;
  38. top: 0;
  39. left: 0;
  40. }
  41. .cancel{
  42. height: auto;
  43. position: absolute;
  44. right: 10rpx;
  45. top: 5rpx;
  46. }
  47. .grids{
  48. background-color: rgb(230 230 230);
  49. height:180rpx;
  50. display: flex;
  51. justify-content: space-around;
  52. align-items: center;
  53. }
  54. .grid{
  55. /* height: 100%; */
  56. display: flex;
  57. flex-direction: column;
  58. align-items: center;
  59. }
  60. .line{
  61. width: 1px !important;
  62. height: 70rpx;
  63. background-color: rgb(113 109 133);
  64. float: right;
  65. }
  66. .operate_text{
  67. font-size: 20rpx;
  68. }
  69. .operate_icon{
  70. margin-bottom: 10rpx;
  71. }
  72. .foot{
  73. width: 100%;
  74. color: #969799;
  75. background-color: #f7f8fa;
  76. text-align: center;
  77. line-height:100rpx;
  78. }