| | |
| | | </div> |
| | | |
| | | <div class="jiaoyi-action flex-between" v-if="actIndex == index"> |
| | | <div class="action-item flex-center"> |
| | | <div class="action-item flex-center" @click="goBuy(i, 1)"> |
| | | <img src="@/assets/img/mr.png" /> |
| | | <div class="action-item-text">{{ $t("gm") }}</div> |
| | | </div> |
| | | <div class="action-item flex-center"> |
| | | <div class="action-item flex-center" @click="goBuy(i, 0)"> |
| | | <img src="@/assets/img/mc.png" /> |
| | | <div class="action-item-text">{{ $t("hj78") }}</div> |
| | | </div> |
| | | <div class="action-item flex-center"> |
| | | <div class="action-item flex-center" @click="toDetails(i)"> |
| | | <img src="@/assets/img/pc.png" /> |
| | | <div class="action-item-text">{{ $t("平仓") }}</div> |
| | | </div> |
| | |
| | | if (!this.Operation) return; |
| | | this.actObj = i; |
| | | this.actIndex = index; |
| | | }, |
| | | goBuy(i, index) { |
| | | 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) { |
| | | if (!i.positionSn) return; |
| | | this.$router.push({ |
| | | path: "/Stockdetail", |
| | | query: { codes: i.positionSn } |
| | | }); |
| | | } |
| | | } |
| | | }; |
| | |
| | | padding: 0.175rem 0.3rem 0; |
| | | color: #898a8e; |
| | | width: 54%; |
| | | line-height: .4rem; |
| | | line-height: 0.4rem; |
| | | } |
| | | .moli_orderTitle { |
| | | padding: 0.3rem 0.3rem 0; |