page { height: 100%; } .container { position: relative; width: 100%; height: 100%; background-image: url(../../static/images/bg.png); background-size: cover; background-attachment: fixed; background-repeat: no-repeat; box-sizing: border-box; font-family: "Microsoft YaHei"; font-weight: 400; box-sizing: border-box; overflow: hidden; .hint { position: fixed; top: 250rpx; left: 50%; transform: translateX(-375rpx); width: 750rpx; height: 50rpx; line-height: 50rpx; text-align: center; color: #615f5f; font-size: 28rpx; } .mark { position: absolute; width: 100%; height: 100%; background: #000000; opacity: 0.2; z-index: 4; } button::after { border: none; } button { margin: 0; outline: none; padding: 0; } .list { width: 700rpx; height: 1300rpx; overflow: scroll; margin: 0 auto; padding-top: 163rpx; border-radius: 10rpx; box-sizing: border-box; &::-webkit-scrollbar { display: none; } .messCard { position: relative; width: 690rpx; height: 464rpx; margin-bottom: 30rpx; border-radius: 10rpx; box-sizing: border-box; .field { position: absolute; top: 0; left: 0; width: 690rpx; height: 453rpx; background: #ffffff; border-radius: 10rpx; overflow: hidden; z-index: 3; .header { display: flex; justify-content: space-between; width: 690rpx; height: 90rpx; background: #e7eef5; text { width: 500rpx; height: 90rpx; font-size: 28rpx; margin-left: 20rpx; color: #333333; text-align: left; line-height: 90rpx; } & text:nth-child(2) { width: 140rpx; height: 88rpx; line-height: 88rpx; color: #999999; } } .content { width: 690rpx; height: 242rpx; .mess-itm { display: flex; justify-content: space-between; width: 650rpx; height: 30rpx; margin: 0 auto; margin-top: 28rpx; text { width: 100rpx; height: 30rpx; font-size: 28rpx; color: #808080; line-height: 30rpx; text-align: left; } & text:nth-child(2) { width: 550rpx; color: rgba(51, 51, 51, 1); } .time { width: 400rpx; margin-top: 20rpx; font-size: 24rpx; color: #808080; } .amount { width: 245px; margin-top: 18rpx; font-weight: bold; color: #333333; text-align: right; } } } .footer { width: 690rpx; height: 121rpx; .bt-item { display: flex; justify-content: flex-end; width: 460rpx; height: 70rpx; margin-top: 15rpx; margin-left: 210rpx; .button { width: 140rpx; height: 60rpx; margin-left: 20rpx; line-height: 60rpx; text-align: center; font-size: 28rpx; color: #298def; border: 1px solid #298def; border-radius: 30rpx; background: #fff; } } } } .fieldBg { position: absolute; top: 148rpx; left: 21rpx; width: 648rpx; height: 316rpx; background: #ffffff; opacity: 0.7; border-radius: 14rpx; z-index: 2; } } } .detail { display: flex; flex-direction: column; justify-content: flex-start; position: absolute; top: 196rpx; left: 50%; transform: translateX(-325rpx); width: 650rpx; height: 742rpx; background: #ffffff; box-shadow: 0rpx 0rpx 13rpx 0rpx rgba(0, 0, 0, 0.29); border-radius: 10rpx; overflow: hidden; box-sizing: border-box; z-index: 5; .top { display: flex; justify-content: space-between; width: 650rpx; height: 90rpx; background: #e7eef5; line-height: 90rpx; text { width: 161rpx; height: 90rpx; margin-left: 35rpx; line-height: 90rpx; font-size: 32rpx; color: #333333; } .close { position: relative; width: 120rpx; height: 80rpx; background: #e7eef5; .image { position: absolute; top: 40%; left: 50%; width: 18rpx; height: 18rpx; background-image: url(../../static/images/close.png); background-size: 100%; } } } .content { width: 650rpx; height: 652rpx; overflow-y: scroll; box-sizing: border-box; .mess-itm, .mess-itm-pay { display: flex; justify-content: flex-start; width: 590rpx; height: 30rpx; margin: 0 auto; margin-top: 32rpx; box-sizing: border-box; text { // width: 200rpx; height: 30rpx; font-size: 28rpx; color: #808080; line-height: 30rpx; text-align: left; } & text:nth-child(2) { // width: 550rpx; color: rgba(51, 51, 51, 1); } } } } .messageCard { display: flex; flex-direction: column; justify-content: flex-start; position: absolute; top: 125rpx; left: 50%; transform: translateX(-350rpx); width: 700rpx; height: 1000rpx; box-shadow: 0rpx 0rpx 13rpx 0rpx rgba(0, 0, 0, 0.29); background: #fff; border-radius: 14rpx; z-index: 5; .item-form { width: 618rpx; height: 800rpx; margin: 0 auto; overflow: scroll; &::-webkit-scrollbar { display: none; } .item, .item-pay { display: flex; justify-content: space-between; width: 618rpx; height: 89rpx; margin: 0 auto; margin-top: 8rpx; border-bottom: 1rpx solid #d9d9d9; line-height: 89rpx; box-sizing: border-box; .ite { display: inline-block; width: 200rpx; height: 60rpx; line-height: 89rpx; margin-left: 20rpx; font-size: 32rpx; color: #808080; box-sizing: border-box; } .content { display: inline-block; width: 400rpx; height: 60rpx; overflow: hidden; //多出部分隐藏 white-space: nowrap; //一行显示 text-overflow: ellipsis; //是否显示省略号 line-height: 89rpx; margin-left: 40rpx; color: #000; background: #fff; box-sizing: border-box; } } } button { width: 618rpx; height: 90rpx; margin: 0 auto; margin-bottom: 20rpx; background: #298def; font-size: 28rpx; color: #fff; border: 2rpx solid #fff; text-align: center; line-height: 90rpx; box-sizing: border-box; } & button:nth-of-type(2) { background: #fff; color: #298def; border: 2rpx solid #298def; } } }