index.vue
533 字节
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<template>
<view class="Comment">
<Title title="班主任评语"/>
<view class="Comment-1">
{{ info }}
</view>
</view>
</template>
<script>
import Title from "../Title/index.vue"
export default {
name: 'Comment',
props: {
info: {
type: String,
default: ''
}
},
components: {
Title
},
data() {
return {
}
}
}
</script>
<style lang="scss" scoped>
.Comment-1{
padding: 30rpx;
font-size: 28rpx;
color: #3D4054;
background-color: #fff;
border-radius: 15rpx;
}
</style>