2条回答 默认 最新
旋转的钢笔 2018-12-17 09:02关注已解决
styleSet.avatar = { alignItems: 'center', borderRadius: '50%', color: 'white', backgroundColor:'#3a8dde', '&.from-user': { background:' url(\'/dist/svg/chartIcon.svg\')', }, '&:not(.from-user)': { backgroundImage:'url(\'/dist/svg/robotchat-hover.svg\')' }, display: 'flex', height: "50px", justifyContent: 'center', overflow: 'hidden', width: "50px" };本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报

