1234567891011121314151617 |
- Vue.component('MsgCard', {
- template: `<div class="om-card card">
- <h6 class="msg-head">
- <b>{{ msg.subject }}</b>
- <img src="favicon.ico" width=20px height=20px>
- </h6>
- {{ msg.message }}<br><br>
- <div v-for="tag in msg.tag">
- <a href="#">{{ tag }}</a>
- </div></p>
- <div class="om-card-footer"> <div class="om-user-line">
- <i class="material-icons">account_circle</i>
- Erstellt von {{ msg.user }}</div>
- <i class="material-icons">bookmark_border</i>
- </div></div>`,
- props: ['msg']
- });
|