/* pages/topics/common/goodIdea/cell/index.wxss */ .cell{ /* display: flex; flex-direction: row; padding: 10px; */ } .content-left{ width: 20px; height: 20px; border-radius: 50%; background-color: #EEEEEE; } .content-right{ width: 100%; display: flex; flex-direction: column; padding: 0 10px 0 10px; } .userInfo{ display: flex; flex-direction: row; align-items: center; justify-content: space-between; padding: 0 0 5px 0; } .userInfo-left{ display: flex; flex-direction: row; align-items: center; padding: 0 0 5px 0; } .userInfo-right{ display: flex; flex-direction: row; align-items: center; padding: 0 0 5px 0; } image{ width: 100%; height: 100%; } .praise-icon{ width: 15px; height: 15px; line-height: 10px; margin-left: 5px; } .userName{ color: #66708B; font-size: 14px; } .comment-time{ margin: 0 5px 0 5px; font-size: 12px; line-height: 12px; color: #D4D4D4; } .detail{ border-radius: 10px; background-color: #F8F8F8; padding: 10px; } .detail-title{ /* padding: 10px 10px 5px 10px; */ } .detail-userInfo{ display: flex; flex-direction: row; justify-content: space-between; padding: 5px 0 10px 0; } .detail-userInfo-left{ display: flex; flex-direction: row; align-items: center; } .detail-user-icon{ width: 20px; height: 20px; } .detail-userName{ margin: 0 5px 0 5px; font-size: 12px; color: #3B3B3B; } .detail-time { font-size: 12px; line-height: 12px; color: #D4D4D4; } .detail-userInfo-right{ display: flex; flex: row; align-items: center; margin-right: 10px; } .detail-comments-icon{ width: 15px; height: 12px; line-height: 10px; margin-right: 5px; border-radius: 5px; } .detail-commentNum, .praiseNum{ font-size: 12px; color: #3B3B3B; } .detail-text{ color: #373737; font-size: 13px; /* padding: 0 10px 0 10px; */ } .touch-item { font-size: 14px; display: flex; justify-content: space-between; border-bottom:1px solid #E7E7E7; width: 100%; overflow: hidden } .content { width: 100%; /* padding: 10px; */ line-height: 22px; margin-right:0; -webkit-transition: all 0.4s; transition: all 0.4s; -webkit-transform: translateX(120px); transform: translateX(120px); margin-left: -120px; display: flex; flex-direction: row; padding: 10px; } .del { background-color: orangered; width: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; -webkit-transform: translateX(120px); transform: translateX(120px); -webkit-transition: all 0.4s; transition: all 0.4s; } .touch-move-active .content, .touch-move-active .del { -webkit-transform: translateX(0); transform: translateX(0); }