| | |
| | | @click="onSidebar" |
| | | /> |
| | | <div class="flex flex-col pl-21" @click="onSidebar"> |
| | | <div class="font-35 textColor">{{ symbolname || "--" }}</div> |
| | | <div class="font-35 textColor"> |
| | | {{ newSymbolname || symbolname }} |
| | | </div> |
| | | </div> |
| | | <div |
| | | v-if="range" |
| | |
| | | </div> |
| | | <div |
| | | class="flex justify-between mb-50" |
| | | v-for="item in list" |
| | | :key="item.name" |
| | | v-for="(item, index) in list" |
| | | :key="item.symbol || item.name + index" |
| | | @click="onRoute(item)" |
| | | > |
| | | <div> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { setStorage } from "@/utils/utis"; |
| | | import { setStorage, getStorage } from "@/utils/utis"; |
| | | import { Popup } from "vant"; |
| | | import { mapGetters, mapMutations } from "vuex"; |
| | | import { |
| | |
| | | } |
| | | return { |
| | | // selectIndex2:this.selectIndex, |
| | | newSymbolname: this.symbolname, |
| | | show: false, |
| | | timeout: null, |
| | | collected: "0", |
| | |
| | | }; |
| | | }, |
| | | watch: { |
| | | $route() { |
| | | this.newSymbolname = getStorage("symbolname") || ""; |
| | | }, |
| | | symbol(val) { |
| | | console.log("symbol", 123); |
| | | if (this.islevel) { |
| | | this.$emit("changeLine", true); |
| | | } |