| | |
| | | <template> |
| | | <div class="myview"> |
| | | <header> |
| | | <div class="header-title"> |
| | | <div class="header-title"> |
| | | <p>{{title}}</p> |
| | | </div> |
| | | <div class="header-time"> |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | export default { |
| | | export default { |
| | | data() { |
| | | return { |
| | | title: {}, |
| | |
| | | } |
| | | }, |
| | | created() { |
| | | this.info = this.myinfo; |
| | | this.title = this.info.head; |
| | | this.sendTime = this.info.sendTime; |
| | | this.body = this.info.body; |
| | | const { head, sendTime, body } = this.tableRowData; |
| | | this.title = head; |
| | | this.sendTime = sendTime; |
| | | this.body = body; |
| | | }, |
| | | methods: { |
| | | |
| | | }, |
| | | props: ['closeMyDialog','myinfo'] |
| | | props: ['tableRowData'] |
| | | } |
| | | </script> |
| | | <style lang="scss" scoped> |
| | | .myview{ |
| | | color: #4b9bb7; |
| | | color: #606266; |
| | | header{ |
| | | line-height: 100px; |
| | | display: flex; |
| | |
| | | border-bottom: 1px solid #4b9bb7; |
| | | } |
| | | main{ |
| | | padding: 30px 50px; |
| | | padding: 30px 50px; |
| | | line-height: 100px; |
| | | .main-head{ |
| | | line-height: 40px; |
| | |
| | | } |
| | | } |
| | | } |
| | | </style> |
| | | </style> |