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
| <template>
| <view>
| <combined-title title="消息详情"></combined-title>
| <u-parse :content="content" :lazyLoad="true" :selectable="true"></u-parse>
| </view>
| </template>
|
| <script>
| export default {
| data() {
| return {
| index: '',
| detail: {},
| messageId: '',
| id: '',
| content: ''
| };
| },
| onLoad(v) {
| this.messageId = v.messageId;
| this.id = v.id;
| },
| onShow() {
| this.getDetail();
| },
| methods: {
| getDetail() {
| this.$reqGet('getMsgDetail', { messageId: this.messageId, id: this.id }).then(res => {
| this.detail = res.data;
| this.content = this.detail.content;
| });
| }
| }
| };
| </script>
|
| <style></style>
|
|