/* pages/buyer/talkToBuyer/talkToBuyer.wxss */ @import "../postItem/postItem.wxss"; @import "/pages/stars/stars.wxss"; .viewBox { position: fixed; width: 100%; height: 100%; overflow: hidden; background-color: whitesmoke; } .buyerBox { height: 15%; display: flex; flex-direction: row; white-space: nowrap; padding-bottom: 10rpx; padding-left: 10rpx; padding-right: 10rpx; padding-top: 10rpx; } .talkBox { height: 85%; padding-left: 10rpx; padding-right: 10rpx; } .top-imageBox { width: 20%; display: flex; flex-direction: column; justify-content: center; } .top-image { width: 100%; height: 0rpx; padding-top: 100%; position: relative; } .top-image image { width: 100%; height: 100%; border-radius: 50%; position: absolute; left: 0rpx; top: 0rpx; } .top-buyerinfobox { height: 100%; width: 80%; padding-left: 20rpx; display: flex; flex-direction: column; justify-content: center; } .top-buyerinfobox starsBox { height: 17rpx; margin-right: 24rpx; margin-top: 6rpx; } .foucsbutton { height: 50rpx; width: 50rpx; } .post-list { height: 98%; } .news-item { height: 100rpx; /*width属性解决标题文字太短而导航缩略偏移*/ width: 100%; } .news-box { background-color: transparent; height: 100rpx; display: flex; flex-direction: row; box-sizing: border-box; border-bottom: 1px solid #f2f2f2; margin-left: 40rpx; margin-right: 40rpx; align-items: flex-start; } .news-text { background-color: transparent; height: 96rpx; width: 100%; display: flex; flex-direction: column; padding-left: 20rpx; overflow: hidden; align-items: flex-start; } .news-stamp { height: 60rpx; font-size: 20rpx; color: darkgrey; text-overflow: ellipsis; overflow: hidden; } .news-title { height: 36rpx; color: gray; font-size: 26rpx; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } .list-image { width: 90rpx; height: 90rpx; margin-left: 10rpx; margin-top: 6rpx; } .reportBox { height: 5%; width: 100%; display: flex; flex-direction: row; white-space: nowrap; } .inputBox { width: 70%; height: 100%; display: inline-flex; flex-direction: row; justify-content: flex-start; align-items: center; padding-left: 20rpx; } .input { width: 100%; height: 60rpx; background-color: transparent; font-size: 30rpx; border-bottom: 1px gray solid; } .reportButton { width: 30%; height: 100%; display: inline-flex; flex-direction: row; justify-content: flex-end; align-items: center; } .reportIcon { height: 60rpx; width: 60rpx; margin-right: 40rpx; }