| | |
| | | <template> |
| | | <div class="my_order"> |
| | | <tab-head :title="$t('订单')"></tab-head> |
| | | <van-tabs v-model="active" title-inactive-color="#898a8e"> |
| | | <van-tab |
| | | :title="$t('hj2')" |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import tabHead from "@/components/tabHead.vue"; |
| | | import * as api from "@/axios/api"; |
| | | export default { |
| | | components: { |
| | | tabHead |
| | | }, |
| | | data() { |
| | | return { |
| | | active: "0", |
| | |
| | | this.actIndex = index; |
| | | }, |
| | | goBuy(i, index) { |
| | | console.log("ddddd", i); |
| | | return; |
| | | // console.log("ddddd", i); |
| | | // return; |
| | | this.$router.push({ |
| | | path: "/TradingBuy", |
| | | query: { |
| | | t: index, |
| | | code: i.stockCode, |
| | | m: i.now_price, |
| | | // type: i.if_zhishu, |
| | | id: i.stockId, |
| | | name: i.stockName, |
| | | spell: i.stockSpell, |
| | | // if_us: i.if_us, |
| | | bayType: i.stockGid, |
| | | gid: i.stockGidJb |
| | | } |
| | | }); |
| | | if (navigator.vibrate) { |
| | | // 支持 |
| | | navigator.vibrate([55]); |
| | | } |
| | | }, |
| | | // 平仓跳转详情 |
| | | toDetails(i) { |