123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- /* myComponents/product/product.wxss */
- @import "/static/iconfont/iconfont.wxss";
- .swiper{
- height: 200rpx;
- }
- .slide-image {
- width: 100%;
- height: 100%;
- /* object-fit: cover; */
- background-size:contain; /* 图片覆盖整个容器,可能部分图片不可见 */
- background-position: center; /* 图片居中显示 */
- background-repeat: no-repeat; /* 图片不重复 */
- }
- .flex{
- width: 100%;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .icon{
- display: flex;
- align-items: center;
- font-size: 45rpx;
- }
- .icon1{
- font-size: 39rpx;
- }
- .product_content{
- display: flex;
- flex-wrap: wrap;
- height: 100%;
- }
- .product_item{
- width: 45%;
- margin: 10rpx 2.5%;
- position: relative;
- }
- .title{
- font-size: 35rpx;
- white-space: nowrap; /* 防止文本换行 */
- overflow: hidden; /* 隐藏超出容器的文本 */
- text-overflow: ellipsis; /* 显示省略号来表示文本被截断 */
- }
- .product_operate{
- background-color: rgb(230 230 230);
- width: 100%;
- height: 200rpx;
- position: absolute;
- top: 0;
- left: 0;
- }
- .cancel{
- height: auto;
- position: absolute;
- right: 10rpx;
- top: 5rpx;
- }
- .grids{
- background-color: rgb(230 230 230);
- height:180rpx;
- display: flex;
- justify-content: space-around;
- align-items: center;
- }
- .grid{
- /* height: 100%; */
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .line{
- width: 1px !important;
- height: 70rpx;
- background-color: rgb(113 109 133);
- float: right;
- }
- .operate_text{
- font-size: 20rpx;
- }
- .operate_icon{
- margin-bottom: 10rpx;
- }
- .foot{
- width: 100%;
- color: #969799;
- background-color: #f7f8fa;
- text-align: center;
- line-height:100rpx;
- }
- .myIconsangedian-type-1{
- font-size: 30rpx;
- }
- .menu{
- width: 100px;
- }
- .menu_item{
- font-size: 16px;
- text-align: center;
- padding: 5px 0;
- border-bottom: 1px solid #f2f2f2;
- }
- .menu_item:last-child{
- border-bottom:none;
- }
|