123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220 |
- <template>
- <view>
- <u-navbar title="付款码">
- </u-navbar>
- <view class="content">
- <!-- 饭卡信息 -->
- <view class="head">
- <view class="person">
- <view class="photo">
- <img src="../../assets/img/shareP.png" alt="">
- </view>
- <view class="name">
- 王泽
- </view>
- </view>
- <view class="balance">
- <view class="title">
- 饭卡余额:
- </view>
- <view class="value">
- 330 元
- </view>
- </view>
- </view>
- <!-- 二维码 -->
- <view class="qr-code ">
- <view class="img">
- <img src="../../assets/img/qrCode.png" alt="">
- <view class="qr-logo">
- <img src="../../assets/img/qrLogo.png" alt="">
- </view>
-
-
- </view>
- <view class="hint">
- 将二维码对准摄像头,即可付款就餐
- </view>
- </view>
- <!-- 付款中 -->
- <!-- <view class="paying">
- <img src="../../assets/img/if-spinner@1x.png" alt="">
- <view class="">
- 付款中...
- </view>
- </view> -->
- <!-- 我的消费记录 -->
- <view class="consumption-record">
- <view class="icon">
- <img src="../../assets/img/riLine-file-list-3-line@1x.png" alt="">
- </view>
- <view class="text">
- 我的消费记录
- </view>
- <view class="right">
- <u-icon name="arrow-right" color="#999999"></u-icon>
- </view>
- </view>
- </view>
-
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
-
- }
- },
- methods: {
-
- }
- }
- </script>
- <style lang="scss" scoped>
- page{
- background-color: #2A8EFB;
- font-family: 'PingFang Regular';
- }
- /deep/.u-navbar{
- background-color: #2A8EFB !important;
-
- }
- /deep/.u-title{
- color: #fff !important;
- font-weight: bold !important;
- }
- /deep/.uicon-nav-back{
- color: #fff !important
- }
- /deep/.u-border-bottom:after {
- border-bottom-width: 0px;
- }
- .content{
- border-radius: 24rpx;
- background-color: rgba(255, 255, 255, 1);
- margin:48rpx 32rpx;
- // 饭卡信息
- .head{
- padding: 32rpx 0;
- margin: 0 32rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- border-bottom: 1px solid rgba(232, 232, 232, 1);
- .person{
- display: flex;
- align-items: center;
- .photo{
- width: 48rpx;
- height: 48rpx;
- border-radius: 100rpx;
- overflow: hidden;
- img{
- width: 100%;
- height: 100%;
- }
- }
- .name{
- color: rgba(51, 51, 51, 1);
- font-size: 36rpx;
- margin-left: 16rpx;
- }
- }
- .balance{
- display: flex;
- align-items: center;
- color: rgba(16, 16, 16, 1);
- font-size: 32rpx;
- font-weight: bold;
- }
- }
- // 二维码
- .qr-code{
- padding: 80rpx 0;
-
- .img{
- width: 400rpx;
- height: 400rpx;
- position: relative;
- margin: 0 144rpx;
- img{
- width: 100%;
- height: 100%;
- }
- }
- .qr-logo{
- width: 112rpx;
- height: 112rpx;
- position:absolute;
- top: 0;left:0;right:0;bottom:0;
- margin: auto;
-
- img{
- width: 100%;
- height: 100%;
- }
- }
- // 付款中
-
- }
- .hint{
- margin-top: 16rpx;
- color: rgba(51, 51, 51, 1);
- text-align: center;
- }
- //我的消费记录
- .consumption-record{
- display: flex;
- align-items: center;
- padding: 32rpx 0;
- margin: 0 32rpx;
- border-top: 1px solid rgba(232, 232, 232, 1);
- .icon{
- width: 40rpx;
- height: 40rpx;
-
- img{
- width: 100%;
- height: 100%;
- }
- }
- .text{
- color: rgba(51, 51, 51, 1);
- font-size: 32rpx;
- margin-left: 8rpx;
- }
- .right{
- margin-left: auto;
- }
- }
- }
- // 付款中
- .paying{
- width: 160rpx;
- height: 160rpx;
- border-radius: 8px;
- background-color: rgba(0, 0, 0, 1);
- color: #fff;
- padding: 22rpx 0;
- text-align: center;
- position:absolute;
- top: 440rpx;
- left:0;
- right:0;
-
- margin: auto;
-
- img{
- width: 72rpx;
- height: 72rpx;
- }
- }
- // 透明
- .opacity{
- opacity: 0.3;
- }
- </style>
|