Fork自 虎纹鲨鱼 / GPT-Chat-UI
<template> <div class="icon"> <img src="../assets/Send.svg" /> </div> </template> <style lang="less"> .icon { display: flex; align-items: center; justify-content: center; cursor: pointer; width: 26px; height: 26px; & > img { width: 18px; height: 18px; color: #acacbe; width: 100%; } } .icon:hover { background: rgba(0,0,0,.6); border-radius: 6px; } </style>