1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <template>
- <view>
- <u-navbar :placeholder="true" bgColor="#fff" :autoBack="true" :border="true" title="我的盲豆"></u-navbar>
- <view class="bean">
- <view class="bean-balance">500</view>
- <view class="bean-list">
- <view class="flex bean-list-item">
- <view class="flex left">
- <view class="title">商品兑换</view>
- <view class="date">2021-11-29 14:10:22</view>
- </view>
- <view class="flex right">
- <view class="amt">-200</view>
- <view class="balance">余额:234</view>
- </view>
- </view>
- <view class="flex bean-list-item">
- <view class="flex left">
- <view class="title">商品兑换</view>
- <view class="date">2021-11-29 14:10:22</view>
- </view>
- <view class="flex right">
- <view class="amt">-200</view>
- <view class="balance">余额:234</view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- };
- }
- }
- </script>
- <style lang="scss" scoped>
- .bean {
- margin: 20rpx 10rpx;
- &-balance {
- height: 230rpx;
- line-height: 230rpx;
- border-radius: 10rpx;
- background: url(https://file02.16sucai.com/d/file/2014/1103/1b73e5346d5579badbc83cb15586f0a8.jpg) center no-repeat;
- font-size: 50rpx;
- padding-left: 180rpx;
- font-weight: bold;
- margin-bottom: 20rpx;
- }
- &-list {
- background-color: #FFFFFF;
- padding: 0 40rpx;
- &-item {
- justify-content: space-between;
- padding: 24rpx 0;
- border-bottom: 1px solid rgba(236, 236, 236, 100);
-
- .left{
- flex-direction: column;
- justify-content: space-between;
- align-items: flex-start;
- }
-
- .right{
- flex-direction: column;
- justify-content: space-between;
- align-items: flex-end;
- }
-
- .title{
- font-size: 32rpx;
- font-weight: bold;
- margin-bottom: 32rpx;
- }
-
- .amt{
- margin-bottom: 32rpx;
- }
-
- .balance{
- color: #606060;
- }
- }
- &-item:last-child {
- border-bottom: none;
- }
- }
- }
- </style>
|