| | |
| | | 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"; |
| | |
| | | name: item.name, |
| | | stockplate: item.stock_plate, |
| | | code: item.symbol.substring(2, item.symbol.length), |
| | | type: item.stocktype, |
| | | sok: 0, |
| | | type: item.market, |
| | | sok: this.filterSH(item.market), |
| | | if_zhishu: '0', |
| | | } |
| | | }); |
| | |
| | | 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() { |
| | |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | text-align: center; |
| | | justify-content: center; |
| | | } |
| | | .percentage span{ |
| | | height: 0.5rem; |