| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164 |
- <template>
- <div class="buy-left">
- <div class="buy-btn pf500 fs14 fcFFFFFF">购买</div>
- <div class="sell-btn pf500 fs14 fc999999">出售</div>
- </div>
- <div class="user-staking margin-top43">
- <div class="user-staking-title pf500 fs14 fc2C3131">我要支付</div>
- <div class="user-staking-number">
- <input
- type="text"
- class="user-staking-number-input pf400 fs26 fc333333"
- placeholder="0" />
- <div class="user-staking-number-coin pf500 fs18 fc1F2937">
- <img src="@/assets/icon/coin/bnb.svg" class="coin" alt="" />BTC
- <img src="@/assets/icon/index/bottom-arrow.svg" class="bottom-arrow" alt="" />
- </div>
- </div>
- <div class="user-staking-line"></div>
- <div class="tips pf400 fs12 fc999999">10 - 5000.000</div>
- </div>
- <div class="user-staking margin-top15">
- <div class="user-staking-title pf500 fs14 fc2C3131">我将收到</div>
- <div class="user-staking-number">
- <input
- type="text"
- class="user-staking-number-input pf400 fs26 fc333333"
- placeholder="0" />
- <div class="user-staking-number-coin pf500 fs18 fc1F2937">
- <img src="@/assets/icon/coin/bnb.svg" class="coin" alt="" />BTC
- <img src="@/assets/icon/index/bottom-arrow.svg" class="bottom-arrow" alt="" />
- </div>
- </div>
- <div class="user-staking-line"></div>
- <div class="tips pf400 fs12 fc999999">1 CNY ≈ 0.1684258 BTC</div>
- </div>
- <div class="buy-sell-btn pf600 fs14 fcFFFFFF">购买</div>
- </template>
- <script setup></script>
- <style lang="less" scoped>
- .buy-left {
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- margin-top: 15px;
- width: 345px;
- height: 35px;
- .buy-btn {
- width: 85px;
- height: 35px;
- line-height: 35px;
- text-align: center;
- border-radius: 6px;
- background: #45b26b;
- }
- .sell-btn {
- margin-left: 14px;
- width: 85px;
- height: 35px;
- line-height: 35px;
- text-align: center;
- border-radius: 6px;
- background: #f5f5f5;
- }
- }
- .margin-top15 {
- margin-top: 15px;
- }
- .margin-top43 {
- margin-top: 43px;
- }
- .user-staking {
- display: flex;
- flex-direction: column;
- justify-content: flex-start;
- align-items: center;
- width: 345px;
- .user-staking-title {
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- align-items: center;
- width: 345px;
- height: 24px;
- img {
- margin-left: 6px;
- width: 13px;
- height: 13px;
- }
- }
- .user-staking-number {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- width: 311px;
- height: 40px;
- .user-staking-number-input {
- width: 191px;
- height: 100%;
- box-sizing: border-box;
- border-radius: 6px;
- border: none;
- outline: none;
- }
- .user-staking-number-coin {
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- align-items: center;
- width: 105px;
- height: 40px;
- border-radius: 30px;
- border: 1px solid #ebebeb;
- box-sizing: border-box;
- .coin {
- margin-left: 8px;
- margin-right: 6px;
- width: 24px;
- height: 24px;
- }
- .bottom-arrow {
- margin-left: 6px;
- width: 12px;
- height: 12px;
- }
- }
- }
- .user-staking-line {
- margin-top: 22px;
- width: 311px;
- height: 1px;
- background: #e2e8f0;
- }
- .tips {
- margin-top: 3px;
- width: 311px;
- height: 24px;
- line-height: 24px;
- }
- }
- .buy-sell-btn {
- margin-top: 50px;
- width: 311px;
- height: 40px;
- line-height: 40px;
- text-align: center;
- border-radius: 100px;
- background: #df384c;
- }
- </style>
|