payConfirm.vue 1.77 KB
<template>
  <!-- 确认支付页 -->
  <div class="payConfirm">
    <!-- 弹窗 -->
    <div class="PlayCh">
      <!-- 正中 -->
      <div class="middle">
        <!-- 查询订单 -->
        <p class="query">查询订单</p>
        <!-- 支付成功按钮 -->
        <div class="success"></div>
        <!-- 支付失败按钮 -->
        <div class="fail"></div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "PayConfirm",
};
</script>

<style lang="scss" scoped>
// 页面适配
@function vw($px) {
  @return 100 * $px/720 + vw;
}
* {
  margin: 0;
  padding: 0;
}
// 确认支付页面
.payConfirm {
  width: 100vw;
  height: 100vh;
  background-color: black;
  // 弹窗
  .PlayCh {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(146, 146, 146, 0.384);
    // 正中
    .middle {
      width: vw(620);
      height: vw(368);
      background: #ffffff;
      border-radius: vw(16);
      display: flex;
      align-items: center;
      flex-direction: column;
      justify-content: space-around;
      // 查询订单
      .query {
        font-size: vw(34);
        color: #333333;
        font-weight: 600;
      }
      // 支付成功按钮
      .success {
        width: vw(532);
        height: vw(100);
        background: #d62020;
        border-radius: vw(16);
        font-size: vw(31);
        text-align: center;
        line-height: vw(100);
        color: white;
      }
      // 支付失败按钮
      .fail {
        width: vw(532);
        height: vw(100);
        background: #d62020;
        border-radius: vw(16);
         font-size: vw(31);
        text-align: center;
        line-height: vw(100);
        color: white;
      }
    }
  }
}
</style>