/* packageE/community_buying/buying_data/buying_data.wxss */ view, text { box-sizing: border-box; } .header { width: 100%; height: 5.5rem; display: flex; justify-content: space-evenly; align-items: center; background-color: #f15353; } .header .item { display: flex; align-items: center; flex-direction: column; } .header .item .num { font-size: 1.25rem; color: #fff; } .header .item .desc { margin-top: 0.1rem; font-size: 0.813rem; color: #fff; } .brief { width: 100%; height: 4.375rem; display: flex; justify-content: space-evenly; align-items: center; background-color: #fff; } .brief .item { display: flex; align-items: center; flex-direction: column; } .brief .item .num { font-weight: bold; font-size: 1rem; color: #f15353; } .brief .item .desc { margin-top: 0.1rem; font-size: 0.75rem; color: #333; } .container { margin-top: 0.625rem; width: 100%; background-color: #fff; } .container .h2, .container .item { display: flex; } .container .h2 { padding-top: 0.69rem; font-size: 1rem; color: #333; height: 2.8rem; } .container .h2 .left, .container .h2 .right { font-size: 1rem; color: #333; } .container .item { display: flex; align-items: center; padding-top: 0.5rem; padding-bottom: 0.8rem; } .container .left { padding-left: 0.938rem; width: 12rem; height: 3rem; padding-right: 1.7rem; font-size: 0.875rem; color: #333; /* text-overflow: -o-ellipsis-lastline; */ overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; } .container .item .right { flex: 1; padding-right: 2rem; font-size: 0.625rem; color: #666; }