feat: 初始化

This commit is contained in:
George
2025-07-07 16:05:18 +08:00
commit c169958240
986 changed files with 132574 additions and 0 deletions

View File

@ -0,0 +1,35 @@
.bankCardWrapper {
display: flex;
flex-direction: column;
height: 92px;
box-shadow: 0px 2px 9px rgba(0, 0, 0, 0.15);
.decoration {
display: flex;
width: 100%;
height: 5px;
flex-shrink: 0;
.left {
flex: 0 1 95px;
background-color: #0f3675;
}
.right {
flex: 1;
background-color: #29bbe4;
}
}
.bankCardContent {
display: flex;
flex-wrap: nowrap;
justify-content: center;
align-items: center;
column-gap: 15px;
height: 100%;
.addText {
display: flex;
align-items: center;
column-gap: 8px;
font-size: 18px;
font-weight: 400;
}
}
}

View File

@ -0,0 +1,40 @@
<template>
<view class="bankCardWrapper">
<!-- <view class="decoration">-->
<!-- <view class="left"></view>-->
<!-- <view class="right"></view>-->
<!-- </view>-->
<view class="bankCardContent">
<image @click="onClick" src="/static/user/add.png" mode="aspectFit" style="width: 44px; height: 44px; cursor: pointer"></image>
<view class="addText">
<!-- <image src="/static/user/bankCard.png" mode="aspectFit" style="width: 22px; height: 17px"></image>-->
<text>{{ addText }}</text>
</view>
</view>
</view>
</template>
<script>
export default {
name: 'AddBankCard',
props: {
onClick: {
type: Function,
required: true
},
addText: {
type: String,
required: false,
default: ''
}
},
methods: {},
data() {
return {};
}
};
</script>
<style lang="scss" scoped>
@import './index.scss';
</style>