Commit 70d1debe authored by wxk's avatar wxk

充提币ok

parent 9f9798c1
......@@ -8,6 +8,8 @@ const Api = {
GetRobotStatus: "/robotStatus",//机器人预警状态查询
GetPlatformInfo: "/platform",//交易所及匹配的交易对、目标币信息查询
GetRobotBank: "/accountlist",//查询机器人银行账户
GetWalletInfo: "/walletInfo ", //查询某个账号的当前资产信息
Transfer: "/transfer", //充币提币
}
export default Api;
This diff is collapsed.
......@@ -6,7 +6,7 @@
<nav-left :platInfo="platInfo"></nav-left>
</div>
<div class="main">
<router-view :platInfo="platInfo"></router-view>
<router-view :platInfo="platInfo" :robotBankList="robotBankList"></router-view>
</div>
</div>
</div>
......@@ -21,6 +21,7 @@
data() {
return {
platInfo: [],
robotBankList: '',
// platInfo: [
// {
// "platform":"找币",
......@@ -73,7 +74,8 @@
}
axios.post(ApiConfig.GetRobotBank,params).then( res => {
console.log(res.data)
// console.log(res.data.data);
this.robotBankList = res.data.data
})
},
}
......
......@@ -130,7 +130,7 @@
</ul>
<p v-if="robotList === null" class="no-data">暂无数据</p>
</div>
<robot-details v-show="robotDetails" :robotDetailInfo="robotDetailInfo"></robot-details>
<robot-details v-show="robotDetails" :robotDetailInfo="robotDetailInfo" :robotBankList="robotBankList"></robot-details>
</div>
</template>
......@@ -172,7 +172,7 @@
};
},
components: { RobotDetails },
props: ['platInfo'],
props: ['platInfo','robotBankList'],
created() {
this.init();
Bus.$on('navClick', ()=> {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment