| | |
| | | <home-ltl @choice="choice"></home-ltl> |
| | | <home-ltr :obj="singDetails"></home-ltr> |
| | | </div> |
| | | <home-lb class="bottom" @choice="choice"></home-lb> |
| | | <home-lb class="bottom" @choice="choice" ref="BottomLb"></home-lb> |
| | | </div> |
| | | <div class="right"> |
| | | <HomeRight :obj="singDetails" :positionSn.sync="positionSn"></HomeRight> |
| | | <HomeRight |
| | | :obj="singDetails" |
| | | :positionSn.sync="positionSn" |
| | | @Refresh="Refresh" |
| | | ></HomeRight> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | if (this.timer) clearInterval(this.timer); |
| | | this.timer = setInterval(() => { |
| | | this.getSingDetails(val); |
| | | }, 3000); |
| | | }, 2000); |
| | | }, |
| | | }, |
| | | }, |
| | |
| | | this.cId = val; |
| | | this.positionSn = positionSn; |
| | | }, |
| | | |
| | | async getSingDetails(code) { |
| | | let opts = { |
| | | code, |
| | |
| | | } |
| | | }); |
| | | }, |
| | | // 刷新持仓/平仓列表 |
| | | Refresh() { |
| | | this.$refs.BottomLb.init(); |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |