| | |
| | | <van-icon name="play" style="align-content:center;transform: rotate(90deg);"/> |
| | | </div> |
| | | <div class="px-16 py-20 bg-black text-white flex flex-col absolute min-w-140 box-border top-25 rounded-11 leading-28" style="z-index:999;margin-top: 0.8rem;" v-show="isTopShow"> |
| | | <div @click="changeType('外汇交易', 1)">{{ $t('外汇交易') }}</div> |
| | | <div @click="changeType('外汇交割', 2)">{{ $t('外汇交割') }}</div> |
| | | <div @click="changeType('货币兑换', 2)">{{ $t('货币兑换') }}</div> |
| | | <div @click="changeType('外汇交易', 1)">{{ $t('外汇交易') }}</div> |
| | | <!-- <div>期貨</div> |
| | | <div>收藏</div> --> |
| | | </div> |
| | |
| | | currency.rate).toFixed(2) || '--' }}</p> --> |
| | | </li> |
| | | <li class="right flex items-center justify-end"> |
| | | <p class="w-153 font-31 h-71 bg-green text-white border-0 text-center btn" v-if="item.change_ratio_str > 0"> |
| | | {{ (item.change_ratio_str === 0 ? 0 : item.change_ratio_str) }}%</p> |
| | | <p class="w-153 font-31 h-71 bg-green text-white border-0 text-center btn" v-if="item.change_ratio > 0"> |
| | | {{ (item.change_ratio === 0 ? 0 : item.change_ratio) }}%</p> |
| | | <p class="w-153 font-31 h-71 bg-red text-white border-0 text-center btn" v-else> |
| | | {{ (item.change_ratio_str === 0 ? 0 : item.change_ratio_str) }}%</p> |
| | | {{ (item.change_ratio === 0 ? 0 : item.change_ratio) }}%</p> |
| | | </li> |
| | | </ul> |
| | | </van-cell> |
| | |
| | | HOST_URL, |
| | | active: 0, |
| | | isTopShow: false, |
| | | topTitle: '外汇交易', |
| | | topValue: 1, |
| | | topTitle: this.$t('货币兑换'), |
| | | topValue: 2, |
| | | type: 'left' //left 从左往右 right 从有王座 |
| | | } |
| | | }, |