diff --git a/components/KeyValueRow/KeyValueRow.vue b/components/KeyValueRow/KeyValueRow.vue index b7d1737..f954e5a 100644 --- a/components/KeyValueRow/KeyValueRow.vue +++ b/components/KeyValueRow/KeyValueRow.vue @@ -4,8 +4,14 @@ --> - {{ keyName }} - {{ value }} + {{ + keyName + }} + {{ + value + }} @@ -55,11 +61,27 @@ export default { return '28rpx' } }, + lineHeight: { + type: String | Number, + default() { + return '' + } + }, }, data() { return { } }, + computed: { + lineHeightValue() { + let height = '28rpx' + if (this.size) { + height = this.size + } + console.log(height); + return height; + }, + }, } @@ -71,7 +93,7 @@ export default { .keyName { vertical-align: top; - height: 100%; + // height: 100%; width: auto; display: inline-block; } @@ -79,7 +101,7 @@ export default { .value { position: absolute; right: 0; - height: 100%; + // height: 100%; width: auto; display: inline-block; text-align: right; diff --git a/components/entrustOrderList/entrustOrderList.vue b/components/entrustOrderList/entrustOrderList.vue index e69de29..3580c19 100644 --- a/components/entrustOrderList/entrustOrderList.vue +++ b/components/entrustOrderList/entrustOrderList.vue @@ -0,0 +1,475 @@ + + + + + diff --git a/components/positionList/positionList.vue b/components/positionList/positionList.vue index e69de29..a44a98b 100644 --- a/components/positionList/positionList.vue +++ b/components/positionList/positionList.vue @@ -0,0 +1,177 @@ + + + + + diff --git a/components/transaction/transaction.vue b/components/transaction/transaction.vue index 3c4fc70..ae680da 100644 --- a/components/transaction/transaction.vue +++ b/components/transaction/transaction.vue @@ -1,30 +1,104 @@ diff --git a/pages/markets/trade.vue b/pages/markets/trade.vue index def51a1..37087d7 100644 --- a/pages/markets/trade.vue +++ b/pages/markets/trade.vue @@ -5,26 +5,22 @@ - - + - - - + + + +