7 changed files with 112 additions and 116 deletions
@ -0,0 +1,49 @@ |
|||||
|
<template> |
||||
|
<div class="wrap flex-1"> |
||||
|
<a-button type="primary" v-for="(item, index) in nameList" :key="index"> {{ item }} </a-button> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
export default { |
||||
|
name: 'BtnPage', |
||||
|
data() { |
||||
|
return { |
||||
|
str: '模拟按钮界面', |
||||
|
nameList: [ |
||||
|
'分诊区', |
||||
|
'急救医生', |
||||
|
'采血车', |
||||
|
'CT室', |
||||
|
'介入室', |
||||
|
'平车停放点', |
||||
|
'卒中中心门口', |
||||
|
'急救大楼门', |
||||
|
'抢救室门', |
||||
|
'走廊', |
||||
|
'心电图室门口', |
||||
|
'专用电梯口(一楼)', |
||||
|
'专用电梯口(四楼)', |
||||
|
'CCU导管室门口', |
||||
|
'急救护士', |
||||
|
'专科医生', |
||||
|
'专科护士', |
||||
|
], |
||||
|
}; |
||||
|
}, |
||||
|
methods: {}, |
||||
|
}; |
||||
|
</script> |
||||
|
|
||||
|
<style lang="stylus" scoped> |
||||
|
.wrap { |
||||
|
flex-wrap: wrap; |
||||
|
justify-content: center; |
||||
|
align-items: center; |
||||
|
|
||||
|
button { |
||||
|
margin: 20px; |
||||
|
flex: 0 0 8%; |
||||
|
} |
||||
|
} |
||||
|
</style> |
Loading…
Reference in new issue