You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
823 B
52 lines
823 B
<template> |
|
<view class="Life"> |
|
<view class="button"> |
|
<button type="default">医疗卫生机构</button> |
|
</view> |
|
<!-- 表格 --> |
|
<view class=""> |
|
<rich-text :nodes="string"></rich-text> |
|
</view> |
|
|
|
|
|
</view> |
|
</template> |
|
|
|
<script> |
|
export default { |
|
data() { |
|
return { |
|
string: "" |
|
} |
|
}, |
|
async mounted() { |
|
let data = await this.$api.livingFacility.getlivingFacility({ |
|
type: 1 |
|
}) |
|
console.log(data.data); |
|
this.string=data.data |
|
} |
|
} |
|
</script> |
|
|
|
<style lang="scss"> |
|
.Life { |
|
width: 690rpx; |
|
padding-left: 25rpx; |
|
background-color: #FFFFFF; |
|
margin: 0rpx auto; |
|
margin-top: 30rpx; |
|
padding-top: 30rpx; |
|
|
|
button { |
|
width: 300rpx; |
|
font-size: 26rpx; |
|
color: #FFFFFF; |
|
background-color: #697BFF; |
|
margin-bottom: 20rpx; |
|
border-radius: 40rpx; |
|
} |
|
|
|
.button {} |
|
} |
|
</style>
|
|
|