| | |
| | | </div> |
| | | <dv-decoration7 :color="lineColor" style="width:100%;height:6%;margin-bottom: 20px"> |
| | | <div class="msgTit"> |
| | | Decoration |
| | | {{title}} |
| | | </div> |
| | | </dv-decoration7> |
| | | <dv-border-box1 :color="lineColor" style="width: 100%;height: calc(100% - 20px)"> |
| | |
| | | |
| | | // 定义接口来定义对象的类型 |
| | | interface stateType { |
| | | |
| | | lineColor: Array<string>, |
| | | title: string | null |
| | | } |
| | | export default defineComponent({ |
| | | name: 'msgDetail', |
| | |
| | | const route = useRoute(); |
| | | const state = reactive<stateType>({ |
| | | lineColor: ['#11FEEE'], |
| | | title: '' |
| | | }); |
| | | |
| | | // 页面载入时执行方法 |
| | | onMounted(() => { |
| | | // if (route.query.row) { |
| | | // state.row = route.query.num |
| | | // } |
| | | if (route.query.row) { |
| | | state.title = route.query.row[1] |
| | | } |
| | | getTheme() |
| | | }); |
| | | |