index.wxss 1.6 KB
/**index.wxss**/
page{
 background: url('http://bronet.wangshuwen.com/bag.png');
  background-size: cover;
}
.container{

  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 111rpx 0 0 0;
  box-sizing: border-box;

  /* width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column; */
}
.top_img{
  width: 130rpx;
  height: 124rpx;
  display: flex;
  
}
.top_img image{
  width:100%;
  height: 100%;
  border-radius: 50%;
}
.top_name{
  margin-top: 54rpx;
  font-size: 36rpx;
  font-weight: bold;
  line-height: 36rpx;
}
.mid{
  margin-top: 86rpx;
  width:686rpx;
  height:120rpx;
  background:linear-gradient(-30deg,rgba(44,130,230,1),rgba(72,157,255,1));
  box-shadow:0rpx 14rpx 24rpx 0rpx rgba(7,106,220,0.4);
  border-radius:60rpx;
  color: #fff;
  line-height: 120rpx;
  text-align: center;
  font-size: 48rpx;
  font-weight: bold;
  
}
.bottom{
  margin-top: 25rpx;
  width: 686rpx;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.bottom_item{
  margin-top: 47rpx;
  width:300rpx;
  height:170rpx;
  background:linear-gradient(-30deg,rgba(44,130,230,1),rgba(72,157,255,1));
  box-shadow:0rpx 10rpx 24rpx 0rpx rgba(7,106,220,0.3);
  border-radius:10px;
  color: #fff;
  text-align: center;
  line-height: 170rpx;
  position: relative;
}

.bottom_message{
  position: absolute;
  width: 36rpx;
  height: 36rpx;
  background-color: #FA5A4B;
  border-radius: 50%;
  top: 20rpx;
  right: 20rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24rpx;
  font-weight: bold;
  color: #fff;
}