page { background: #f4f4f4; height: 100%; } .section { background: #fff; margin-top: 10px; width: 80%; text-align: center; height: 30px; margin-left: 10%; margin-right: 10%; border-radius: 10rpx; font-size: 16px; color: #ccc; border: 1rpx solid #ccc; } .picker { line-height: 30px; } .listContainer { width: 100%; height: calc(100% - 50px); display: flex; flex-direction: column; } .scroll-views { height: 100%; } /* .yonghu { background: #fff; height: 50px; border-bottom: 0.5px solid #ccc; margin-top: 10px; border-top: 0.5px solid #ccc; display: flex; flex-direction: row; } */ .view1 { height: 100%; width: 50%; color: #464646; line-height: 50px; text-align: center; } .view2 { height: 100%; width: 50%; color: #464646; line-height: 50px; padding-right: 20rpx; text-align: center; } .item { position: relative; margin-top: 10rpx; border-top: 2rpx solid #eee; height: 50px; line-height: 50rpx; overflow: hidden; } .inner { position: absolute; top: 0; } .inner.txt { background-color: #fff; width: 100%; height: 100%; z-index: 5; padding: 0 10rpx; transition: left 0.2s ease-in-out; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; flex-direction: row; } .inner.del { background-color: red; font-family: Monaco; width: 90px; height: 50px; line-height: 50px; text-align: center; z-index: 4; right: 0; color: #fff; }