123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- <template>
- <uni-popup ref="popupRef">
- <view class="unopen-box">
- <view class="unopen-title">
- <text class="z-close"></text>
- <text>温馨提示</text>
- <text class="z-close" @click.stop="close">x</text>
- </view>
- <view class="unopen-content">
- <view class="account-box">
- <view class="account-item">
- 合约账户
- </view>
- <view class="account-link">
- <image src="../../../static/logo.png" mode="aspectFit"></image>
- <text>划转</text>
- </view>
- <view class="account-item">
- 币币账户
- </view>
- </view>
- <view class="capital-type">
- <text class="type-left">全部</text>
- <text class="type-rigth">USDT</text>
- </view>
- <view class="capital-nums">
- <text class="num-title">可划转金额:</text>
- <text class="num">29997.9123 USDT</text>
- </view>
- <view class="capital-btn">
- 确定
- </view>
- </view>
- </view>
- </uni-popup>
- </template>
- <script>
- // 合约 - 币币
- // 币币 - 合约 / 法币
- export default {
- name: "capitalSwitchModules",
- data() {
- return {
- };
- },
- mounted() {
-
- },
- methods: {
- open() {
- this.$nextTick(() => {
- this.$refs.popupRef.open();
- })
- },
- close(){
- this.$refs.popupRef.close();
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- $paddingLR: 32rpx;
- .unopen-box {
- width: 587rpx;
- background-color: #fff;
- border-radius: 12rpx;
- overflow: hidden;
- .unopen-title {
- height: 90rpx;
- font-size: 32rpx;
- font-family: PingFang SC, PingFang SC-Bold;
- font-weight: 700;
- color: #1a1a1a;
- line-height: 90rpx;
- letter-spacing: 0.64rpx;
- border-bottom: 1rpx solid #e6e6e6;
- display: flex;
- justify-content: space-between;
- padding: 0 $paddingLR;
- .z-close{
- width: 25rpx;
- height: 25rpx;
- flex-shrink: 0;
- }
- }
- .unopen-content {
- padding: 73.5rpx $paddingLR 65rpx;
- .account-box {
- width: 100%;
- display: flex;
- align-items: center;
- justify-content: space-between;
- .account-item {
- width: 220rpx;
- height: 80rpx;
- text-align: center;
- line-height: 80rpx;
- background: #f1f1f3;
- border-radius: 6rpx;
- font-size: 22rpx;
- font-family: PingFang SC, PingFang SC-Regular;
- font-weight: 400;
- text-align: center;
- color: #333333;
- }
- .account-link {
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-content: space-around;
- align-items: center;
- font-size: 22rpx;
- font-family: PingFang SC, PingFang SC-Regular;
- font-weight: 400;
- color: #05c175;
- line-height: 30rpx;
- image {
- width: 30rpx;
- height: 26rpx;
- }
- }
- }
- .capital-type {
- width: 100%;
- height: 84rpx;
- border: 1rpx solid #b3b3b3;
- margin-top: 30rpx;
- padding: 0 20rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- .type-left {
- font-size: 24rpx;
- font-family: PingFang SC, PingFang SC-Regular;
- font-weight: 400;
- color: #05c175;
- }
- .type-rigth {
- font-size: 28rpx;
- font-family: PingFang SC, PingFang SC-Bold;
- font-weight: 700;
- color: #1a1a1a;
- }
- }
- // <view class="capital-nums">
- // <text class="num-title">可划转金额:</text>
- // <text class="num">29997.9123 USDT</text>
- // </view>
- .capital-nums {
- width: 100%;
- font-size: 28rpx;
- font-family: PingFang SC, PingFang SC-Regular;
- font-weight: 400;
- text-align: center;
- padding: 20rpx 0 30rpx;
- .num-title {
- color: #808080;
- }
- .num {
- color: #05C175;
- }
- }
- .capital-btn{
- width: 100%;
- height: 75rpx;
- background: #05c175;
- border-radius: 8rpx;
- font-size: 32rpx;
- font-family: PingFang SC, PingFang SC-Regular;
- font-weight: 400;
- color: #ffffff;
- letter-spacing: 0.64rpx;
- text-align: center;
- line-height: 75rpx;
- }
- }
- }
- </style>
|