123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- <template>
- <view class="content">
- <view class="background">
- <image src="../../static/merchant/vipbackground.png" mode=""></image>
- <view class="title">
- {{number}}
- <text class="ren">人</text>
- </view>
- </view>
- <view class="vip-box">
- <view class="vip" v-for="item in vipList">
- <view class="img">
- <image :src="item.image" mode=""></image>
- </view>
- <view class="vip-content">
- <view class="left">
- <view class="top">
- <view class="name">
- {{item.name}}
- </view>
- <view class="nameplate">
- </view>
- </view>
- <view class="bottom">
- {{item.phone}}
- </view>
- </view>
- <view class="right">
- 消费:¥{{item.money}}
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- number: 199, //人数
- vipList: [
- {
- image: "../../static/error/missing-face.png",
- name: "强爹",
- phone: 19211111111,
- money: 1200
- },
- {
- image: "../../static/error/missing-face.png",
- name: "强爹",
- phone: 19211111111,
- money: 1200
- },
- {
- image: "../../static/error/missing-face.png",
- name: "强爹",
- phone: 19211111111,
- money: 1200
- }
- ]
- };
- }
- }
- </script>
- <style lang="scss">
- .background {
- display: flex;
- justify-content: center;
- position: absolute;
- width: 100%;
- height: 360rpx;
- image {
- width: 100%;
- height: 100%;
- }
- }
- .title {
- position: absolute;
- text-align: center;
- line-height: 360rpx;
- font-size: 72rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #FFFFFF;
- .ren {
- font-size: 36rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #FFFFFF;
- line-height: 43rpx;
- }
- }
- .vip-box {
- background-color: #FFFFFF;
- display: flex;
- flex-direction: column;
- position: absolute;
- width: 100%;
- margin: 360rpx 0 0 ;
- .vip {
- border-top: 1rpx solid #E3E3E3;
- display: flex;
- align-items: center;
- .img {
- margin: 0 20rpx;
- width: 80rpx;
- height: 80rpx;
- border-radius: 50%;
- image {
- width: 100%;
- height: 100%;
- }
- }
- .vip-content {
- margin: 30rpx 0;
- display: flex;
- justify-content: space-between;
- width: 580rpx;
- display: flex;
- align-items: center;
- .left {
- display: flex;
- flex-direction: column;
- .top {
- display: flex;
- .name {
- font-size: 30rpx;
- font-family: PingFangSC;
- font-weight: 500;
- color: #3F454B;
- }
- .nameplate {}
- }
- .bottom {
- font-size: 22rpx;
- font-family: PingFang SC;
- font-weight: 400;
- color: #999999;
- }
- }
- .right {
- font-size: 30rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #FF6F0F;
- }
- }
- }
- }
- </style>
|