| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <!doctype html>
- <html lang="en" data-bs-theme="auto">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="icon" href="/app/images/dongke-logo.png">
- <link href="/plugins/bootstrap/bootstrap.min.css" rel="stylesheet">
- <title>东科软件</title>
- </head>
- <body @vue:mounted="store.getDashboardList" class="p-3 m-0 border-0 m-0 border-0">
- <!-- 导航条 -->
- <div v-scope="navbar({})"></div>
- <!--主体页面-->
- <div v-scope="chartJS()" @vue:mounted="init" class="pt-2">
- {{title}} <a href="#" @click="click">点击测试</a>
- </div>
- <!--版权信息-->
- <div v-scope="footer({})"></div>
- <script src="/plugins/bootstrap/bootstrap.bundle.min.js"></script>
- <script src="/plugins/vue/petite-vue.iife.js"></script>
- <script src="/plugins/axios/axios.min.js"></script>
- <script src="/app/common/navbar.js"></script>
- <script src="/app/common/footer.js"></script>
- <script>
- function chartJS() {
- return {
- title:"测试文字!",
- init() {
- },
- click() {
- let self = this;
- axios.get('index.ashx')
- .then(function (response) {
- self.title = response.data;
- })
- .catch(function (error) {
- });
- }
- }
- }
- PetiteVue.createApp().mount();
- </script>
- </body>
- </html>
|