wangjiahai 2 years ago
parent
commit
aea75a40c2
  1. 40
      pages/card/card.vue

40
pages/card/card.vue

@ -1,5 +1,7 @@
<template> <template>
<view style="display: flex;flex-direction: column;align-items: center;"> <view style="display: flex;flex-direction: column;height: 100%;">
<view style="display: flex;flex-direction: column;align-items: center; padding-bottom: 50px;">
<view v-for="(item,index) in data" <view v-for="(item,index) in data"
style="display: flex;flex-direction: column;border: 1px solid #e29a68;width: 90%;border-radius: 20rpx;margin-top: 8px;"> style="display: flex;flex-direction: column;border: 1px solid #e29a68;width: 90%;border-radius: 20rpx;margin-top: 8px;">
@ -14,6 +16,11 @@
<view style="width: 100%;text-align: center;margin-top: 10px;margin-bottom: 10px;">{{item.state}}</view> <view style="width: 100%;text-align: center;margin-top: 10px;margin-bottom: 10px;">{{item.state}}</view>
</view> </view>
</view> </view>
<view
style="bottom: 0;z-index: 1;position: fixed;background: #f1f2f3;width: 100%;height: 35px;line-height: 35px;text-align: center;color: red;">
绑定新卡</view>
</view>
</template> </template>
<script> <script>
@ -31,6 +38,31 @@
time: "2023.10.20-2025.10.30", time: "2023.10.20-2025.10.30",
name: "卡号:1234567809", name: "卡号:1234567809",
state: "已失效1" state: "已失效1"
}, {
showBtn: false,
time: "2023.10.20-2025.10.30",
name: "卡号:1234567809",
state: "已失效1"
}, {
showBtn: false,
time: "2023.10.20-2025.10.30",
name: "卡号:1234567809",
state: "已失效1"
}, {
showBtn: false,
time: "2023.10.20-2025.10.30",
name: "卡号:1234567809",
state: "已失效1"
}, {
showBtn: false,
time: "2023.10.20-2025.10.30",
name: "卡号:1234567809",
state: "已失效1"
}, {
showBtn: false,
time: "2023.10.20-2025.10.30",
name: "卡号:1234567809",
state: "已失效1"
}] }]
} }
}, },
@ -49,4 +81,10 @@
color: #FFF; color: #FFF;
align-items: center; align-items: center;
} }
uni-page-body,
page {
width: 100%;
height: 100%;
}
</style> </style>
Loading…
Cancel
Save