/**index.wxss**/ .index-device-card, .index-history-card { width: 600rpx; height: 400rpx; overflow: hidden; background: white; margin: 0 auto; margin-top: 50rpx; padding: 30rpx; border-radius: 10rpx; } .index-device-list { width: 100%; height: 280rpx; color: #777; overflow: hidden auto; } .index-history-card { height: 500rpx; margin-bottom: 100rpx; overflow: hidden auto; } .index-history-item { width: 100%; height: 2em; color: #777; overflow: hidden; } .index-history-item view{ display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .index-paper-box { padding: 20rpx; border: solid 1px #eee; width: 90%; margin: 0 auto; margin-top: 100rpx; height: 70vh; overflow: hidden auto; word-break: break-all; } page{ background-color: #eee; }