/*每个页面公共css */ view, text { font-size: 24rpx; font-family: PingFang SC; font-weight: 500; color: rgba(51, 51, 51, 1); box-sizing: border-box; } image { display: block; width: 100%; height: 100%; } input { display: block; border: none; outline: none; box-sizing: border-box; } textarea { display: block; width: 100%; height: 100%; font-size: 26rpx; color: #333333; } page { background: #fafafa; } .flex { display: flex; align-items: center; justify-content: space-between; } .flexs { display: flex; align-items: center; } .center { display: flex; align-items: center; justify-content: center; } .footer_btn { position: fixed; left: 0; display: flex; align-items: center; justify-content: space-around; color: #ffffff; font-size: 30rpx; font-weight: bold; width: 100%; height: 98rpx; bottom: 0; background: #debb81; } button { background: transparent; border: none; display: flex; align-items: center; justify-content: center; padding: 0; margin: 0; overflow: unset; color: #ffffff; font-size: 30rpx; } button::after { width: 0; height: 0; } .hover-view { opacity: 0.7; } scroll-view { box-sizing: border-box; } /* 一行显示 */ .clamp { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; } /* 二行显示 */ .clamp2 { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } /* 二行显示 */ .ellipsis { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }