<el-button type="primary" class="daochu" @click="download">导出</el-button>
.daochu {
width: calc(100vw * 80 / 1920);
height: calc(100vw * 30 / 1920);
font-size: calc(100vw * 13 / 1920);
}
效果图:
<el-button type="primary" class="daochu" @click="download">导出</el-button>
.daochu {
width: calc(100vw * 80 / 1920);
height: calc(100vw * 30 / 1920);
font-size: calc(100vw * 13 / 1920);
}
效果图: