|
|
|
@ -1,6 +1,6 @@ |
|
|
|
<template> |
|
|
|
<view style="background-color: #121212;"> |
|
|
|
<view class="d-flex p-x-md p-0 fa p-t-md justify-between align-center fn-18 bg-panel-3 color-light flex-wrap" style="background-color: #000000;"> |
|
|
|
<view class="bg-panel-3"> |
|
|
|
<view class="d-flex p-x-md p-0 fa p-t-md justify-between align-center fn-18 bg-panel-3 color-light flex-wrap"> |
|
|
|
<view class="w-max" style="height: var(--status-bar-height)"></view> |
|
|
|
<view @click="$emit('symbol')" class="d-flex align-center"> |
|
|
|
<i class="iconfont color-light fn-bold fn-18"></i> |
|
|
|
@ -214,6 +214,7 @@ |
|
|
|
size="small" |
|
|
|
block |
|
|
|
class="w-max rounded" |
|
|
|
style="background-color: #25A74F;" |
|
|
|
> |
|
|
|
<span class="but_text">{{ $t("contract.c0") }}</span> |
|
|
|
<!--<span class="fn-10 but_right">{{ $t("contract.e0") }}</span>--> |
|
|
|
@ -226,6 +227,7 @@ |
|
|
|
to="/pages/login/index" |
|
|
|
:type="'green'" |
|
|
|
class="w-max rounded" |
|
|
|
style="background-color: #25A74F;" |
|
|
|
>{{ $t("exchange.d0") }} |
|
|
|
</v-button |
|
|
|
> |
|
|
|
@ -248,6 +250,7 @@ |
|
|
|
size="small" |
|
|
|
block |
|
|
|
class="w-max rounded" |
|
|
|
style="background-color: #CA3F66;" |
|
|
|
> |
|
|
|
<span class="but_text">{{ $t("contract.c2") }}</span> |
|
|
|
<!--<span class="fn-10 but_right">{{ $t("contract.e2") }}</span>--> |
|
|
|
@ -260,6 +263,7 @@ |
|
|
|
to="/pages/reg/index" |
|
|
|
:type="'red'" |
|
|
|
class="w-max rounded" |
|
|
|
style="background-color: #CA3F66;" |
|
|
|
>{{ $t("reg.b9") }} |
|
|
|
</v-button |
|
|
|
> |
|
|
|
@ -311,7 +315,7 @@ |
|
|
|
:max="6" |
|
|
|
:contract="1" |
|
|
|
> |
|
|
|
<view class="fn-lg color-buy" style="color: #B94260;">{{ newPrice.price }}</view> |
|
|
|
<view class="fn-lg color-buy">{{ newPrice.price }}</view> |
|
|
|
</sell-and-buy> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -498,7 +502,6 @@ |
|
|
|
@click="closePositionShow(item)">{{ $t("contract.h3") }} |
|
|
|
</text> |
|
|
|
<!-- <v-button type="default" size="small" class="opt-btn rounded-xs m-b-xs" @click="closePositionShow(item)">{{ $t("contract.h3") }}</v-button> |
|
|
|
|
|
|
|
<v-button type="default" size="small" class="opt-btn rounded-xs m-b-xs m-l-xs" @click="onekeyReverse(item)">{{ $t("contract.k8") }}</v-button> |
|
|
|
<v-button type="default" class="opt-btn m-l-xs m-b-xs rounded-xs" size="small" @click="toStoploss(item)">{{ $t("contract.h5") }}</v-button> --> |
|
|
|
</view> |
|
|
|
@ -506,7 +509,6 @@ |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
<van-empty class="bg-panel-3" v-if="!list.length&&active==0" description=""/> |
|
|
|
|
|
|
|
<template v-if="active==1"> |
|
|
|
<view |
|
|
|
class="item border-b bg-panel-3" |
|
|
|
@ -573,7 +575,6 @@ |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
<van-empty v-if="!listCurrent.length&&active==1" description=""/> |
|
|
|
|
|
|
|
</view> |
|
|
|
<van-popup :show="stoplossShow" @close="stoplossShow = false" closeable |
|
|
|
custom-style="height:auto;width:90%;overflow:auto;padding-bottom:20px;border-radius:5px"> |
|
|
|
@ -643,12 +644,10 @@ |
|
|
|
{{ $t("exchange.g4") }} |
|
|
|
</v-button> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- <view class="h-55"></view> --> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</van-popup> |
|
|
|
|
|
|
|
<van-popup :show="showPing" @close="showPing = false" closeable |
|
|
|
custom-style="height:auto;width:90%;overflow:hidden;padding-bottom:20px;border-radius:5px"> |
|
|
|
<view> |
|
|
|
@ -1087,7 +1086,6 @@ export default { |
|
|
|
myCanvas.font = '25px Arial'; |
|
|
|
this.drawText(myCanvas, share_imgs.title, windowWidth / 2.5, windowHeight * 0.34, 30, 265);// 调用行文本换行函数 |
|
|
|
// myCanvas.fillText(share_imgs.title,windowWidth/2.5,windowHeight*0.35); |
|
|
|
|
|
|
|
myCanvas.textAlign = 'center'; |
|
|
|
myCanvas.font = '12px Arial'; |
|
|
|
myCanvas.fillText(this.$t('option.a4'), windowWidth / 2.5, windowHeight * 0.42); |
|
|
|
@ -1136,7 +1134,6 @@ export default { |
|
|
|
// itemList: [this.$t('common.save')], |
|
|
|
// success: (res) => { |
|
|
|
// if(res.tapIndex == 0){ |
|
|
|
|
|
|
|
// } |
|
|
|
// }, |
|
|
|
// fail: function (res) { |
|
|
|
@ -1796,13 +1793,15 @@ export default { |
|
|
|
} |
|
|
|
|
|
|
|
.bor5-active { |
|
|
|
border-bottom: 4px solid $theme-2; |
|
|
|
// border-bottom: 4px solid $theme-2; |
|
|
|
border-bottom: 4px solid #fff; |
|
|
|
position: relative; |
|
|
|
top: 4px; |
|
|
|
} |
|
|
|
|
|
|
|
::v-deep .van-stepper { |
|
|
|
background-color: $form-panel-3; |
|
|
|
// background-color: $form-panel-3; |
|
|
|
background-color: #121212; |
|
|
|
border-radius: 50px; |
|
|
|
overflow: hidden; |
|
|
|
padding: 3px; |
|
|
|
@ -1810,17 +1809,20 @@ export default { |
|
|
|
} |
|
|
|
|
|
|
|
::v-deep .plus-class { |
|
|
|
background-color: $panel-4 !important; |
|
|
|
// background-color: $panel-4 !important; |
|
|
|
background-color: #121212 !important; |
|
|
|
border-radius: 50%; |
|
|
|
} |
|
|
|
|
|
|
|
::v-deep .minus-class { |
|
|
|
background-color: $panel-4 !important; |
|
|
|
// background-color: $panel-4 !important; |
|
|
|
background-color: #121212 !important; |
|
|
|
border-radius: 50%; |
|
|
|
} |
|
|
|
|
|
|
|
::v-deep .van-stepper__input { |
|
|
|
background-color: $form-panel-3 !important; |
|
|
|
// background-color: $form-panel-3 !important; |
|
|
|
background-color: #121212 !important; |
|
|
|
} |
|
|
|
|
|
|
|
.fa { |
|
|
|
@ -1948,4 +1950,16 @@ export default { |
|
|
|
.but_text { |
|
|
|
font-size: 14px; |
|
|
|
} |
|
|
|
</style>s |
|
|
|
.bg-panel-3{ |
|
|
|
background-color: #121212; |
|
|
|
} |
|
|
|
.bg-form-panel-3{ |
|
|
|
background-color: #121212; |
|
|
|
} |
|
|
|
.green /deep/ uni-button{ |
|
|
|
background-color: #25A74F !important; |
|
|
|
} |
|
|
|
.red /deep/ uni-button{ |
|
|
|
background-color: #CA3F66 !important; |
|
|
|
} |
|
|
|
</style> |