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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
| <!--room-detail.vue-->
| <template>
| <div class="page">
| <div class="page_header flex flex-ver">
| <div class="left flex flex-ver">
| <img class="page_logo_1" src="../../assets/img/logo_1.png">
| <img class="page_logo_2" src="../../assets/img/logo_2.png">
| </div>
| <div class="right flex-1 flex flex-jcfe flex-ver">
| <div class="page_date">
| <div class="page_week">{{timeObj.week}}</div>
| <div class="page_day">{{timeObj.date}}</div>
| </div>
| <div class="page_time">{{timeObj.timeMin}}</div>
| <!-- <div class="page_time">{{timeObj.time}}</div> -->
| </div>
| </div>
| <div>123</div>
| </div>
| </template>
|
| <script>
| // import Login from '../utils/jun_login.js'
|
| export default {
| name: 'RoomDetail',
| components: {},
| inject: ['noop'],
| data() {
| return {
| timeObj: {}// week:星期,date:年月日,timeMin:时分,time:时分秒,timeStamp:时间戳
| }
| },
| computed: {
|
| },
| mounted() {
| console.log('roomDetail mounted')
| this.init()
| },
| destroyed() {
|
| },
| methods: {
| init() {
| this.countGetTime(this, 'timeObj')
| }
| }
| }
| </script>
|
| <style scoped>
| </style>
|
|