| | |
| | | import AllList from "@/page/list/list-all"; |
| | | import HomeList from "./components/home-list"; |
| | | import Echart from "./components/echart.vue"; |
| | | import { |
| | | Toast |
| | | } from "mint-ui"; |
| | | import * as api from "@/axios/api"; |
| | | import Logo from "@/assets/img/icon_home_logo.png"; |
| | | import Searchs from "@/assets/home/search.png"; |
| | |
| | | if (result.status === 0) { |
| | | this.bannerList = result.data |
| | | } else { |
| | | Toast(result.msg) |
| | | this.$store.commit('elAlertShow',{'elAlertShow':true,'elAlertText': result.msg}); |
| | | } |
| | | }, |
| | | goOnline() { |
| | |
| | | if (data.status === 0) { |
| | | this.onlineService = data.data.onlineService |
| | | } else { |
| | | Toast(data.msg) |
| | | this.$store.commit('elAlertShow',{'elAlertShow':true,'elAlertText': data.msg}); |
| | | } |
| | | }, |
| | | async getStock() { |