/* pages/account/code/index.wxss */

page {
  height: 100%;
}

.page-view {
  height: 100%;
  padding: 20rpx 30rpx 310rpx;
  box-sizing: border-box;
}

.page-view .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  text-align: center;
  border-radius: 6rpx;
  background-color: #fff;
}

.page-view .card > view {
  flex: none;
}

.page-view .card .title {
  position: relative;
  color: #fff;
  font-size: 28rpx;
  line-height: 64rpx;
  background-color: #FF9500;
}

.page-view .card .title::before {
  content: "";
  position: absolute;
  left: 0px;
  bottom: 0px;
  border: 0px solid transparent;
  border-width: 0px 20rpx 20rpx 220rpx;
  border-left-color: #fff;
  border-bottom-color: #fff;
}

.page-view .card .title::after {
  content: "";
  position: absolute;
  right: 0px;
  bottom: 0px;
  border: 0px solid transparent;
  border-width: 0px 220rpx 20rpx 20rpx;
  border-right-color: #fff;
  border-bottom-color: #fff;
}

.page-view .card .barcode {
  padding: 60rpx 0px 0rpx;
}

.page-view .card .barcode view {
  display: inline-block;
  vertical-align: top;
}

.page-view .card .barcode canvas {
  width: 600rpx;
  height: 160rpx;
}

.page-view .card .qrcode {
  flex: auto;
  position: relative;
}

.page-view .card .qrcode view {
  position: absolute;
  width: 400rpx;
  height: 400rpx;
  left: 50%;
  top: 50%;
  margin-left: -200rpx;
  margin-top: -200rpx;
}

.page-view .card .qrcode canvas {
  width: 400rpx;
  height: 400rpx;
}

.page-view .card .balance {
  color: rgba(255, 94, 0, 0.75);
  font-size: 28rpx;
  line-height: 80rpx;
  background-color: #f7f7f7;
}

.page-view .menus {
  margin-top: 20rpx;
  border-radius: 6rpx;
  background-color: rgba(255, 255, 255, 0.45);
}

.page-view .menus .menu {
  padding: 0px 30rpx;
  color: #fff;
  font-size: 28rpx;
  line-height: 90rpx;
  border-top: 1rpx solid rgba(255, 255, 255, 0.5);
}

.page-view .menus .menu:first-child {
  border-top: 0px;
}

.page-view.vip-2 .card .title {
  background-color: #046604;
}

.page-view.vip-3 .card .title {
  background-color: #dd8705;
}

.page-view.vip-4 .card .title {
  background-color: #000000;
}