<template>
  <view class="withdrawal">
    <!-- 头部 -->
    <view class="withdrawal-top">
      <view class="title"> 支付方式 </view>
      <view class="wx">
        <image src="../../static/mine/323.png" class="wx-logo" mode=""></image>
        <text>微信余额</text>
      </view>
    </view>
    <!-- 充值头部 -->
    <view class="content">
      <view class="money"> 充值金额 </view>
      <view class="inp">
        <text>￥</text>
        <input type="text" />
      </view>
      <button class="immediately">立即充值</button>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    toWithdrawalDetail() {
      uni.navigateTo({
        url: "/pageC/withdrawalDetail/withdrawalDetail",
      });
    },
  },
  mounted() {
    uni.setNavigationBarTitle({
      title: "保证金充值",
    });
  },
};
</script>

<style scoped lang="scss">
.withdrawal {
  padding: 20rpx 24rpx 0;

  .withdrawal-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 104rpx;
    background-color: #fff;
    border-radius: 16rpx;
    padding: 0 24rpx;
    .title {
      font-size: 30rpx;
    }

    .wx {
      display: flex;
      align-items: center;
      height: 50rpx;
      .wx-logo {
        width: 40rpx;
        height: 40rpx;
        margin-right: 10rpx;
      }
    }
  }
  .content {
    background-color: #fff;
    border-radius: 16rpx;
    margin-top: 16rpx;
    padding: 32rpx 24rpx 46rpx;
    .money {
      font-size: 30rpx;
    }
    .inp {
      display: flex;
      height: 110rpx;
      align-items: center;
      border-bottom: 2rpx solid rgba(151, 151, 151, 0.3);
      margin-bottom: 18rpx;
    }
    .all-money {
      font-size: 24rpx;
      color: #555;
    }
    .immediately {
      box-shadow: 0rpx 12rpx 28rpx -12rpx #f83224;
      border-radius: 44rpx;
      background-color: #f83224;
      color: #fff;
      margin-top: 60rpx;
      margin-bottom: 60rpx;
    }
    .detail {
      text-align: center;
      font-size: 26rpx;
      opacity: 0.6;
      color: #131415;
    }
  }
}
</style>
