示例:
<template>
<div class="title">
<span class="title-icon"><i class="el-icon-arrow-left"></i></span>
<span class="title-text">{{titleContent}}</span>
</div>
</template>
<script>
export default {
data() {
return {
titleContent: "全行存贷款规模日报",
}
}
}
</script>
<style scoped>
.title {
text-align: center;
}
.title-icon {
float: left;
}
</style>