.page{ position: absolute; left: 0; top: 0; width: 100%; height: 100%; // padding: 0 40rpx; // background-color: #fff; } .head-search{ display: flex; align-items: center; justify-content: space-between; position: relative; margin: 20rpx 0; background-color: #FFFFFF; border-radius: 35rpx; padding: 0 10rpx; border: 2rpx solid #E8E8E8; margin: 22rpx 24rpx; .u-search { position: relative; } .u-btn { border: unset; border: 0px transparent; height: 46rpx; width: 88rpx; font-size: 24rpx; border-radius: 35rpx; } } .goods-data{ width: 100%; .goods-list{ width: 100%; .good-item { width: 100%; background-color: #FFFFFF; border-bottom: #eee solid 1rpx; padding: 18rpx 34rpx; .body { display: flex; width: 100%; height: calc(100% - 70rpx); padding: 15rpx 18rpx; image { width: 194rpx; height: 144rpx; border-radius: 8rpx; } .info { flex: 1; width: calc(100% - 236rpx); .title { width: 100%; font-size: 28rpx; line-height: 44rpx; font-weight: 700; // white-space: nowrap; // overflow : hidden; // text-overflow: ellipsis; margin-bottom: 30rpx; } .info-item { line-height: 30rpx; font-size: 26rpx; color: #9FABB5; } } } } } } .page-footer{ position: fixed; left: 0; bottom: 0; width: 100%; height: 120rpx; background-color: #FFFFFF; padding: 20rpx 20rpx; padding-bottom: constant(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom); z-index: 999; .footer-buy{ display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%; .cart-add{ display: flex; align-items: center; justify-content: center; width: 100%; height: 70rpx; background-color: #3f9b6a; text{ font-size: 28rpx; color: #FFFFFF; } } } }