File tree 1 file changed +67
-0
lines changed
Filter options
1 file changed +67
-0
lines changed
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <div id =" __wrapper" >
3
+
4
+ <navgation-bar >
5
+ </navgation-bar >
6
+
7
+ <div class =" app-content" >
8
+ <keep-alive >
9
+ <transition name =" drop" >
10
+ <router-view ></router-view >
11
+ </transition >
12
+ </keep-alive >
13
+ </div >
14
+
15
+ <footerView >
16
+ </footerView >
17
+
18
+ </div >
19
+ </template >
20
+
21
+ <script >
22
+ import navgationBar from ' ./navigationBar'
23
+ import bookCard from ' ./bookCard'
24
+ import footerView from ' ./footerView'
25
+
26
+ export default {
27
+ components: {
28
+ navgationBar,
29
+ bookCard,
30
+ footerView
31
+ },
32
+ created () {
33
+ this .$store .dispatch (' loadUser' )
34
+ },
35
+ data () {
36
+ return {
37
+ isShowAboutDialog: false ,
38
+ isShowLogDialog: false ,
39
+ isShowRegDialog: false ,
40
+ username: ' ' ,
41
+ activeClass: ' navbar-item-select'
42
+ }
43
+ },
44
+ methods: {
45
+ aboutClick () {
46
+ this .isShowAboutDialog = true
47
+ },
48
+ logClick () {
49
+ this .isShowLogDialog = true
50
+ },
51
+ regClick () {
52
+ this .isShowRegDialog = true
53
+ },
54
+ closeDialog (attr ) {
55
+ this [attr] = false
56
+ },
57
+ onSuccessLog (data ) {
58
+
59
+ }
60
+ }
61
+ }
62
+ </script >
63
+
64
+ <style >
65
+ @import ' ../style/style.css' ;
66
+ @import ' ../style/bootstrap-flat.min.css' ;
67
+ </style >
You can’t perform that action at this time.
0 commit comments