<template> <view class="page"> <u-navbar title="历史储值卡" :border-bottom="false" :background="bgc" back-icon-color="#262B37" title-color='#262B37' title-size='36' height='44' id="navbar"> </u-navbar> <scroll-view class="list" scroll-y @scrolltolower="onScrollToLower"> <view class="list_item" v-for="(item,index) in 2" :key="index"> <view class="tops"> <view class="name"> 储值卡名称 </view> <view class="jine"> <text>面额:100元</text> <text style="font-size: 36rpx;color: #7C7C7C;font-weight: 600;">90元</text> </view> <view class="jine"> <text>有效期:不限制</text> <text>剩余</text> </view> </view> <view class="bots"> <view class="shiy"> <text>详细使用说明</text> <text class="sy">使用</text> </view> <view class="wz"> 可用门店:共享棋牌室 </view> <view class="wz"> 可用范围:不限制 </view> </view> </view> <view style="width: 100%;text-align: center;color: #ccc;margin-top: 30rpx;"> 当前没有更多卡劵啦... </view> </scroll-view> </view> </template> <script> export default { data() { return { bgc: { backgroundColor: "#fff", }, } }, onLoad() { }, methods: { } } </script> <style lang="scss"> /deep/ .u-icon__icon, /deep/ .u-title{ padding-bottom: 22rpx !important; } page { background: #F6F6F6; } .list{ width: 750rpx; height: 85vh; margin-top: 30rpx; .list_item{ padding: 28rpx; box-sizing: border-box; width: 672rpx; max-height: 370rpx; background: #FFFFFF; border-radius: 14rpx 14rpx 14rpx 14rpx; margin: auto; margin-bottom: 26rpx; .bots{ padding-top: 28rpx; box-sizing: border-box; font-size: 24rpx; color: #95989D; .wz{ margin-bottom: 10rpx; } .shiy{ display: flex; justify-content: space-between; .sy{ width: 106rpx; height: 40rpx; background: #7C7C7C; border-radius: 23rpx 23rpx 23rpx 23rpx; text-align: center; line-height: 40rpx; font-size: 24rpx; color: #FFFFFF; } } } .tops{ padding-bottom: 24rpx; box-sizing: border-box; .jine{ display: flex; justify-content: space-between; align-items: center; font-size: 28rpx; color: #7C7C7C; margin-top: 10rpx; } .name{ font-weight: 600; font-size: 36rpx; color: #3D3D3D; } border-bottom: 1rpx solid #D8D8D8; } } } </style>