mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
docs(examples): standardize unified code format and fix some type (#16370)
* docs: standardize unified example code format and fix some example type * docs: update some example type * Update docs/examples/descriptions/sizes.vue Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com> * docs: update example-page-header * docs: update example-page-header --------- Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
<el-progress type="circle" :percentage="50" status="exception" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.demo-progress .el-progress--circle {
|
||||
margin-right: 15px;
|
||||
|
||||
@@ -52,6 +52,7 @@ const decrease = () => {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.demo-progress .el-progress--line {
|
||||
margin-bottom: 15px;
|
||||
|
||||
@@ -44,6 +44,7 @@ onMounted(() => {
|
||||
}, 500)
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.demo-progress .el-progress--line {
|
||||
margin-bottom: 15px;
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
<script lang="ts" setup>
|
||||
const format = (percentage) => (percentage === 100 ? 'Full' : `${percentage}%`)
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.demo-progress .el-progress--line {
|
||||
margin-bottom: 15px;
|
||||
|
||||
Reference in New Issue
Block a user