Browse Source

更新

master
luyisha 3 years ago
parent
commit
d878010d9c
  1. 2
      src/components/CommonHeader.vue
  2. 9
      src/views/contract/exchange-store.vue
  3. 3
      src/views/contract/handicap.vue

2
src/components/CommonHeader.vue

@ -247,7 +247,7 @@ export default {
}, },
learn: { learn: {
label: this.$t("common.college"), label: this.$t("common.college"),
url: "" url: "/college"
}, },
college: { college: {
label: this.$t("common.college"), label: this.$t("common.college"),

9
src/views/contract/exchange-store.vue

@ -472,7 +472,7 @@ export default {
} }
}; };
</script> </script>
<style scoped="scoped"> <style scoped="scoped" lang="scss">
.exchange_button{ .exchange_button{
display: flex; display: flex;
font-size: 16px !important; font-size: 16px !important;
@ -480,7 +480,8 @@ export default {
.btn,.kaicang{ .btn,.kaicang{
font-size: 0.9rem; font-size: 0.9rem;
} }
/* /deep/ .el-slider__stop{ /deep/ .el-slider__button-wrapper{
background-color: ; // background-color: ;
} */ z-index: 999;
}
</style> </style>

3
src/views/contract/handicap.vue

@ -201,6 +201,7 @@ export default {
bus.$on('collapse', msg => { bus.$on('collapse', msg => {
this.newPriceObj.price =this.symbol=='BTC'? (msg.close).toFixed(1):(msg.close).toFixed(3); this.newPriceObj.price =this.symbol=='BTC'? (msg.close).toFixed(1):(msg.close).toFixed(3);
this.$emit("input", this.newPriceObj); this.$emit("input", this.newPriceObj);
// console.log(this.newPriceObj.price, 'this.newPriceObj.price-----')
}); });
}, },
// //
@ -215,7 +216,7 @@ export default {
this.sellList = res.swapSellList; this.sellList = res.swapSellList;
this.buyList = res.swapBuyList; this.buyList = res.swapBuyList;
this.tradeList = res.swapTradeList; this.tradeList = res.swapTradeList;
this.newPriceObj = this.tradeList[0]; // this.newPriceObj = this.tradeList[0];
this.$emit("input", this.newPriceObj); this.$emit("input", this.newPriceObj);
}); });
}, },

Loading…
Cancel
Save