diff --git a/src/assets/sass/_app.scss b/src/assets/sass/_app.scss index 0520c1b..be326a9 100644 --- a/src/assets/sass/_app.scss +++ b/src/assets/sass/_app.scss @@ -131,4 +131,19 @@ .el-carousel__arrow--left { display: none; +} + +.el-dialog, .el-pager li { +background: none; +} + +.el-pagination .btn-next, .el-pagination .btn-prev { + background: none; + +} + +.pagination-box { + .el-pagination button:disabled { + background: none; + } } \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 26ee039..8b98b49 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -384,22 +384,22 @@ const routes = [ } ]; -const router = new VueRouter({ - routes, - }) - // const router = new VueRouter({ -// mode: 'hash', //history -// base: process.env.BASE_URL, // routes, -// scrollBehavior(to, from, savedPosition) { -// if (savedPosition) { -// return savedPosition; -// } else { -// return { x: 0, y: 0 }; -// } -// } -// }); +// }) + +const router = new VueRouter({ + mode: 'history', //history + base: process.env.BASE_URL, + routes, + scrollBehavior(to, from, savedPosition) { + if (savedPosition) { + return savedPosition; + } else { + return { x: 0, y: 0 }; + } + } +}); router.beforeEach((to, from, next) => { document.title = to.meta.title ? to.meta.title + ' - ZhiOS智莺' : 'ZhiOS智莺' diff --git a/src/views/Chat.vue b/src/views/Chat.vue index 2b4657a..54e7c1c 100644 --- a/src/views/Chat.vue +++ b/src/views/Chat.vue @@ -1,38 +1,80 @@ @@ -40,11 +82,272 @@ export default { data() { return { - + messageData: [ + { + imgUrl: + "https://img.shipin520.com/photo/00006/08635-350-v1.jpg?imageView2/2/sharpen/1", + h1: "智莺新上新,全场满1000减100智莺新", + h2: + " 智莺新上新,全场满1000减100智莺新上新,全场满1000减智莺新上新,全场满1000减100智莺新上新,全场满1000减100智莺新上新.", + type: false, + }, + { + imgUrl: + "https://img.shipin520.com/photo/00006/08635-350-v1.jpg?imageView2/2/sharpen/1", + h1: "智莺新上新,全场满1000减100智莺新", + h2: + " 智莺新上新,全场满1000减100智莺新上新,全场满1000减智莺新上新,全场满1000减100智莺新上新,全场满1000减100智莺新上新.", + type: false, + }, + { + imgUrl: + "https://img.shipin520.com/photo/00006/08635-350-v1.jpg?imageView2/2/sharpen/1", + h1: "智莺新上新,全场满1000减100智莺新", + h2: + " 智莺新上新,全场满1000减100智莺新上新,全场满1000减智莺新上新,全场满1000减100智莺新上新,全场满1000减100智莺新上新.", + type: false, + }, + { + imgUrl: + "https://img.shipin520.com/photo/00006/08635-350-v1.jpg?imageView2/2/sharpen/1", + h1: "智莺新上新,全场满1000减100智莺新", + h2: + " 智莺新上新,全场满1000减100智莺新上新,全场满1000减智莺新上新,全场满1000减100智莺新上新,全场满1000减100智莺新上新.", + type: false, + }, + { + imgUrl: + "https://img.shipin520.com/photo/00006/08635-350-v1.jpg?imageView2/2/sharpen/1", + h1: "智莺新上新,全场满1000减100智莺新", + h2: + " 智莺新上新,全场满1000减100智莺新上新,全场满1000减智莺新上新,全场满1000减100智莺新上新,全场满1000减100智莺新上新.", + type: false, + }, + { + imgUrl: + "https://img.shipin520.com/photo/00006/08635-350-v1.jpg?imageView2/2/sharpen/1", + h1: "智莺新上新,全场满1000减100智莺新", + h2: + " 智莺新上新,全场满1000减100智莺新上新,全场满1000减智莺新上新,全场满1000减100智莺新上新,全场满1000减100智莺新上新.", + type: false, + }, + { + imgUrl: + "https://img.shipin520.com/photo/00006/08635-350-v1.jpg?imageView2/2/sharpen/1", + h1: "智莺新上新,全场满1000减100智莺新", + h2: + " 智莺新上新,全场满1000减100智莺新上新,全场满1000减智莺新上新,全场满1000减100智莺新上新,全场满1000减100智莺新上新.", + type: false, + }, + { + imgUrl: + "https://img.shipin520.com/photo/00006/08635-350-v1.jpg?imageView2/2/sharpen/1", + h1: "智莺新上新,全场满1000减100智莺新", + h2: + " 智莺新上新,全场满1000减100智莺新上新,全场满1000减智莺新上新,全场满1000减100智莺新上新,全场满1000减100智莺新上新.", + type: false, + }, + { + imgUrl: + "https://img.shipin520.com/photo/00006/08635-350-v1.jpg?imageView2/2/sharpen/1", + h1: "智莺新上新,全场满1000减100智莺新", + h2: + " 智莺新上新,全场满1000减100智莺新上新,全场满1000减智莺新上新,全场满1000减100智莺新上新,全场满1000减100智莺新上新.", + type: false, + }, + { + imgUrl: + "https://img.shipin520.com/photo/00006/08635-350-v1.jpg?imageView2/2/sharpen/1", + h1: "智莺新上新,全场满1000减100智莺新", + h2: + " 智莺新上新,全场满1000减100智莺新上新,全场满1000减智莺新上新,全场满1000减100智莺新上新,全场满1000减100智莺新上新.", + type: false, + }, + { + imgUrl: + "https://img.shipin520.com/photo/00006/08635-350-v1.jpg?imageView2/2/sharpen/1", + h1: "智莺新上新,全场满1000减100智莺新", + h2: + " 智莺新上新,全场满1000减100智莺新上新,全场满1000减智莺新上新,全场满1000减100智莺新上新,全场满1000减100智莺新上新.", + type: false, + }, + { + imgUrl: + "https://img.shipin520.com/photo/00006/08635-350-v1.jpg?imageView2/2/sharpen/1", + h1: "智莺新上新,全场满1000减100智莺新", + h2: + " 智莺新上新,全场满1000减100智莺新上新,全场满1000减智莺新上新,全场满1000减100智莺新上新,全场满1000减100智莺新上新.", + type: false, + }, + { + imgUrl: + "https://img.shipin520.com/photo/00006/08635-350-v1.jpg?imageView2/2/sharpen/1", + h1: "智莺新上新,全场满1000减100智莺新", + h2: + " 智莺新上新,全场满1000减100智莺新上新,全场满1000减智莺新上新,全场满1000减100智莺新上新,全场满1000减100智莺新上新.", + type: false, + }, + { + imgUrl: + "https://img.shipin520.com/photo/00006/08635-350-v1.jpg?imageView2/2/sharpen/1", + h1: "智莺新上新,全场满1000减100智莺新", + h2: + " 智莺新上新,全场满1000减100智莺新上新,全场满1000减智莺新上新,全场满1000减100智莺新上新,全场满1000减100智莺新上新.", + type: false, + }, + { + imgUrl: + "https://img.shipin520.com/photo/00006/08635-350-v1.jpg?imageView2/2/sharpen/1", + h1: "智莺新上新,全场满1000减100智莺新", + h2: + " 智莺新上新,全场满1000减100智莺新上新,全场满1000减智莺新上新,全场满1000减100智莺新上新,全场满1000减100智莺新上新.", + type: false, + }, + { + imgUrl: + "https://img.shipin520.com/photo/00006/08635-350-v1.jpg?imageView2/2/sharpen/1", + h1: "智莺新上新,全场满1000减100智莺新", + h2: + " 智莺新上新,全场满1000减100智莺新上新,全场满1000减智莺新上新,全场满1000减100智莺新上新,全场满1000减100智莺新上新.", + type: false, + }, + { + imgUrl: + "https://img.shipin520.com/photo/00006/08635-350-v1.jpg?imageView2/2/sharpen/1", + h1: "智莺新上新,全场满1000减100智莺新", + h2: + " 智莺新上新,全场满1000减100智莺新上新,全场满1000减智莺新上新,全场满1000减100智莺新上新,全场满1000减100智莺新上新.", + type: false, + }, + { + imgUrl: + "https://img.shipin520.com/photo/00006/08635-350-v1.jpg?imageView2/2/sharpen/1", + h1: "智莺新上新,全场满1000减100智莺新", + h2: + " 智莺新上新,全场满1000减100智莺新上新,全场满1000减智莺新上新,全场满1000减100智莺新上新,全场满1000减100智莺新上新.", + type: false, + }, + ], }; }, methods: { + itemPop: function (index) { - } + for (let i in this.messageData) { + if (i == index) { + this.messageData[i].type = !this.messageData[i].type; + } else { + this.messageData[i].type = false; + } + } + + }, + }, }; + + + \ No newline at end of file diff --git a/src/views/CreateAn.vue b/src/views/CreateAn.vue index 2b71f0e..7241822 100644 --- a/src/views/CreateAn.vue +++ b/src/views/CreateAn.vue @@ -109,11 +109,12 @@ export default { mounted() { - // this.getInit() + this.getInit() }, methods: { getInit: function(){ + console.log(123) aget('/api/myapp/list').then(res=>{ console.log(res) }) diff --git a/src/views/index.vue b/src/views/index.vue index 022be3c..8b8f3bc 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -46,7 +46,7 @@ -
+

多终端产品线 全覆盖

全面覆盖多终端产品线,智颖系统智能集成系

@@ -64,7 +64,7 @@ alt="" />
-
+
全原生开发
支持安卓,iOS,iPad终端全平台运营