40 lines
718 B
Vue
40 lines
718 B
Vue
<script>
|
|
export default {
|
|
components: {},
|
|
data() {
|
|
return {
|
|
colors:'#fa436a',
|
|
//模拟后台返回的数据
|
|
stepData: [
|
|
{
|
|
name: '本科专业更新',
|
|
time: '2024-02-12 10:01:49',
|
|
isNow: 0,
|
|
type: 1,
|
|
desc: '艺术类'
|
|
},
|
|
{
|
|
name: '专科专业更新',
|
|
time: '2024-02-12 12:05:30',
|
|
isNow: 1,
|
|
type: 1,
|
|
desc: '艺术类'
|
|
}
|
|
]
|
|
}
|
|
},
|
|
onLoad() {
|
|
// 步骤数组数据反序
|
|
this.stepData.reverse()
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<template>
|
|
<cc-defineStep :colors="colors" :stepData="stepData"></cc-defineStep>
|
|
</template>
|
|
|
|
<style scoped lang="scss">
|
|
|
|
</style>
|