123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203 |
- <template>
- <view class="page-box">
- <headContent>
- <template #content>
- <view class="haed-title">
- 闪电兑换
- </view>
- </template>
- <template #right>
- <share></share>
- </template>
- </headContent>
- <view class="box">
- <view class="exchange-box">
- <view class="">
- <view class="exchange-item">
- <view class="exchange-coin">
- <image class="coin-icon" src="../../static/logo.png" mode="aspectFit"></image>
- <text class="coin-name">USDTV</text>
- <text class="coin-ratio">0.09</text>
- </view>
- <text class="max-title">最大</text>
- </view>
- <view class="exchange-item">
- 可用余额:0.0914USDT
- </view>
- </view>
- <view class="exchange-item">
- <view class="exchange-coin">
- <image class="coin-icon" src="../../static/logo.png" mode="aspectFit"></image>
- <text class="coin-name">USDTV</text>
- </view>
- </view>
- <view class="exchange-switch">
- <image class="switch-icon" src="../../static/logo.png" mode="aspectFit"></image>
- </view>
- </view>
- <view class="exchange-btn">预览兑换结果</view>
- <view class="exchange-hint">
- <view class="hint-title">兑换规则</view>
- <view class="hint-content">
- 市场汇率可能变动,请以实际到账的资产数量为准:
- </view>
- <view class="hint-content">
- 兑换汇率由第三方制定,由于兑换成本及市场波动,您兑换的汇率可能会高于市场汇率,请仔细确认后进行操作:
- </view>
- <view class="hint-content">
- 平台不收取手续费,每笔兑换由第三方钱包收取基础0.3%的手续费,用于支付在交易所兑换成本。
- </view>
- </view>
- </view>
- <selectCoin ref="selectCoin"/>
- </view>
- </template>
- <script>
- import share from "@/components/headModules/share.vue"
- import selectCoin from "./modules/select-coin.vue"
- export default {
- name: 'exchange',
- components: {
- share,
- selectCoin
- },
- data() {
- return {
- };
- }
- }
- </script>
- <style>
- page{
- background-color: #EDEDEF;
- }
- </style>
- <style lang="scss" scoped>
-
- .box {
- padding: 36rpx 30rpx 0;
- .exchange-box {
- width: 690rpx;
- min-height: 287rpx;
- background: #f6f7fb;
- border-radius: 10rpx;
- padding: 39rpx 30rpx 34rpx;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- position: relative;
- .exchange-switch {
- position: absolute;
- right: 78rpx;
- bottom: 82rpx;
- width: 84rpx;
- height: 84rpx;
- background: #05c175;
- border-radius: 29rpx;
- .switch-icon {
- width: 100%;
- height: 100%;
- }
- }
- .exchange-item {
- display: flex;
- align-items: center;
- justify-content: space-between;
- .exchange-coin {
- display: flex;
- align-items: center;
- .coin-icon {
- width: 52rpx;
- height: 52rpx;
- border-radius: 50%;
- }
- .coin-name {
- padding-left: 13rpx;
- font-size: 32rpx;
- font-family: PingFang SC, PingFang SC-Bold;
- font-weight: 700;
- color: #1a1a1a;
- line-height: 44rpx;
- }
- .coin-ratio {
- font-size: 28rpx;
- font-family: PingFang SC, PingFang SC-Bold;
- font-weight: 700;
- color: #1a1a1a;
- line-height: 40rpx;
- border-left: 1rpx solid #e6e6e6;
- padding-left: 24rpx;
- margin-left: 20rpx;
- }
- }
- .max-title {
- font-size: 28rpx;
- font-family: PingFang SC, PingFang SC-Regular;
- font-weight: 400;
- color: #05c175;
- line-height: 40rpx;
- }
- }
- .exchange-item {
- padding-top: 11rpx;
- font-size: 24rpx;
- font-family: PingFang SC, PingFang SC-Regular;
- font-weight: 400;
- color: #999999;
- }
- }
- .exchange-btn {
- margin-top: 68rpx;
- width: 690rpx;
- height: 90rpx;
- background: #dbdce0;
- border-radius: 8rpx;
- line-height: 90rpx;
- text-align: center;
- font-size: 30rpx;
- font-family: PingFang SC, PingFang SC-Bold;
- font-weight: 700;
- color: #1a1a1a;
- }
- .exchange-hint {
- width: 100%;
- padding-top: 97rpx;
- .hint-title {
- font-size: 28rpx;
- font-family: PingFang SC, PingFang SC-Regular;
- font-weight: 400;
- color: #1a1a1a;
- }
- .hint-content{
- padding: 24rpx 0 11rpx;
- font-size: 26rpx;
- font-family: PingFang SC, PingFang SC-Regular;
- font-weight: 400;
- text-align: left;
- color: #808080;
- }
- }
- }
- </style>
|