.warning{ padding: 20rpx 20rpx 100rpx 20rpx; } .top{ width: 100%; background-color: var(--color); text-align: center; padding: 20rpx 30rpx; color: #fff; border-top: 2.5rpx solid #f8f8f8; } .productInfo{ display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 5rpx solid #f8f8f8; } .scrollText{ display: flex; } .edit,.del{ width: 120rpx; /* line-height: 107px; */ flex-grow: 0; color: #fff; padding: 22% 0; text-align: center; } .del{ background-color: #fe3e2f; } .edit{ background-color: var(--color); } .warningList{ display: flex; background-color: #fff; margin-bottom: 25rpx; } .warningList .info{ width: 100%; display: flex; padding:20rpx; justify-content: space-between; margin-left: -240rpx; background-color: #fff; flex-direction: column; } .warningList .info > view{ display: flex; align-items: center; } .warningList .info ,.warningList .del,.warningList .edit{ transform: translateX(240rpx); transition: all 0.4s; } .touch-move-active .info,.touch-move-active .del,.touch-move-active .edit { -webkit-transform: translateX(0); transform: translateX(0); } .addLabel{ text-align: center; padding: 30rpx; position: fixed; bottom: 0; width: 100%; background-color: var(--color); color: #fff; }