| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- <template>
- <div class="not-account">
- <div class="apply-mask" @click="emits('paymentAccountClose')"></div>
- <div class="apply-content">
- <div class="slide-line"></div>
- <div class="account-not" v-if="current == 0">
- <div class="not-item pf600 fs16 fc333333" v-for="(item, index) in 2" :key="index">
- 暂无银行卡账号
- <div class="add pf500 fs12 fcFFFFFF">添加</div>
- </div>
- </div>
- <div class="account-have" v-else>
- <div class="have-item" v-for="(item, index) in 2" :key="index">
- <div class="have-left">
- <div class="left-text pf600 fs16 fcDF384C">
- 银行卡 <span class="pf500 fs12 fcA8A8A8">删除</span>
- </div>
- <div class="left-bumber pf400 fs14 fcDF384C">1502 0802 0802 0820 252</div>
- </div>
- <div class="have-right">
- <img src="@/assets/icon/asset/Checkbox Only.svg" alt="" />
- </div>
- </div>
- </div>
- </div>
- </div>
- </template>
- <script setup>
- import { ref } from "vue";
- const emits = defineEmits(["paymentAccountClose"]);
- const current = ref(0);
- </script>
- <style lang="less" scoped>
- .not-account {
- position: fixed;
- left: 0;
- top: 0;
- z-index: 1000;
- display: flex;
- flex-direction: column;
- justify-content: flex-end;
- width: 100%;
- min-height: 100vh;
- .apply-mask {
- position: fixed;
- left: 0;
- top: 0;
- z-index: -1;
- width: 100%;
- min-height: 100vh;
- background: rgba(0, 0, 0, 0.5);
- }
- .apply-content {
- display: flex;
- flex-direction: column;
- justify-content: flex-start;
- align-items: center;
- width: 375px;
- height: 300px;
- background: #ffffff;
- border-radius: 24px 24px 0px 0px;
- .slide-line {
- margin-top: 12px;
- width: 32px;
- height: 4px;
- border-radius: 2px;
- opacity: 0.4;
- background: rgba(0, 0, 0, 0.5);
- }
- .account-not {
- margin-top: 29px;
- .not-item {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- padding: 0 16px;
- margin-top: 12px;
- width: 345px;
- height: 80px;
- border-radius: 16px;
- border: 1px solid #a8a8a8;
- box-sizing: border-box;
- &:first-child {
- margin-top: 0;
- }
- .add {
- width: 76px;
- height: 24px;
- line-height: 24px;
- text-align: center;
- border-radius: 5px;
- background: #df384c;
- }
- }
- }
- .account-have {
- margin-top: 29px;
- .have-item {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- margin-top: 12px;
- padding: 0 16px;
- width: 345px;
- height: 80px;
- border-radius: 16px;
- border: 1px solid #a8a8a8;
- box-sizing: border-box;
- &:first-child {
- margin-top: 0;
- }
- }
- .have-left {
- .left-text {
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- align-items: center;
- height: 22px;
- }
- .left-bumber {
- height: 22px;
- line-height: 22px;
- }
- }
- .have-right {
- width: 24px;
- height: 24px;
- }
- }
- }
- }
- </style>
|