/*使屏幕变暗 */ .background_screen { width: 100%; height: 100%; position: fixed; top: 0; left: 0; background: #000; opacity: 0.4; overflow: hidden; z-index: 3; color: #fff; } /*对话框 */ .attr_box { width: 100%; position: fixed; bottom: 0; left: 0; z-index: 4; background-image: linear-gradient(180deg, #FFEBC1 1%, #FEEFCD 54%, #FFFCF0 100%); border-radius: 40px 40px 0 0; border-radius: 40px 40px 0px 0px; border-top-left-radius: 30rpx; border-top-right-radius: 30rpx; padding: 29rpx 18rpx; box-sizing: border-box; /*兼容 IOS<11.2*/ padding-bottom: constant(safe-area-inset-bottom); /*兼容 IOS>11.2*/ padding-bottom: env(safe-area-inset-bottom); } .attr_box .payBox { margin-top: 20rpx; padding: 13rpx 30rpx; background-color: white; border-radius: 20rpx; } .attr_box .payBox .title { font-size: 34rpx; font-weight: bold; color: #000; } .attr_box .payBox .pay { margin: 20rpx 0rpx; display: flex; align-items: center; justify-content: space-between; padding: 0rpx 30rpx; border-radius: 22rpx; overflow: hidden; } .attr_box .payBox .pay .payLeft .pLTitle { font-size: 36rpx; font-weight: bold; } .attr_box .payBox .pay .payLeft .pLcontent { font-size: 22rpx; } .attr_box .payBox .pay .payRight { margin: 24rpx 0rpx; padding: 12rpx 28rpx; border-radius: 40rpx; font-size: 24rpx; font-weight: bold; } .attr_box .payBox .vipPay { background: url('http://reader-wx.ai160.com/images/reader/v3/year.png') no-repeat; background-size: cover; } .attr_box .payBox .vipPay .vipTitle { color: #FFE6B9; } .attr_box .payBox .vipPay .vipContent { margin-top: 4rpx; color: #FFE6B9; } .attr_box .payBox .vipPay .vipBtn { background-image: linear-gradient(to bottom, #F4E7A8, #F9EDCF); color: #211501; } .attr_box .payBox .buyPay { background: url('http://reader-wx.ai160.com/images/reader/v3/10yuan.png') no-repeat; background-size: cover; } .attr_box .payBox .buyPay .payLeft { color: #7D320A; font-size: 36rpx; font-weight: bold; } .attr_box .payBox .buyPay .buyBtn { border: 1rpx solid white; color: white; background-color: #7D320A; } .attr_box .surplus { margin-top: 20rpx; padding: 22rpx 30rpx; background-color: white; border-radius: 20rpx; display: flex; align-items: center; justify-content: space-between; font-size: 32rpx; } .attr_box .surplus .title { font-size: 34rpx; font-weight: bold; color: #000; } .attr_box .surplus .num { color: #F97419; font-weight: bold; margin-right: 10rpx; } .attr_box .taskBox { margin-top: 20rpx; padding: 20rpx 10rpx 0rpx; background-color: white; border-radius: 20rpx; } .attr_box .taskBox .title { padding: 0rpx 20rpx; font-size: 34rpx; font-weight: bold; color: #000; } .attr_box .taskBox .task { display: flex; align-items: center; justify-content: space-between; padding: 30rpx 22rpx; border-bottom: 1px solid #EAEAEA; } .attr_box .taskBox .task .taskLeft { display: flex; align-items: center; justify-content: space-between; } .attr_box .taskBox .task .taskLeft .img { width: 76rpx; height: 76rpx; border-radius: 50%; } .attr_box .taskBox .task .taskLeft .taskContent { margin-left: 40rpx; } .attr_box .taskBox .task .taskLeft .taskContent .tcTitle { font-size: 30rpx; font-weight: bold; color: #333; } .attr_box .taskBox .task .taskLeft .taskContent .tcNum { color: #FF6259; font-size: 26rpx; } .attr_box .taskBox .task .taskRight { width: 138rpx; text-align: center; padding: 10rpx 0rpx; border-radius: 40rpx; color: white; background-color: #FC614E; font-size: 30rpx; } .attr_box .taskBox .task .taskRight-close { color: #6C6C6C; background: #D0D0D0; box-shadow: 0 2px 2px 0 #AEABAB; } .attr_box .taskBox .task .taskSurplus { text-align: center; margin-top: 4rpx; color: #686868; font-size: 20rpx; } .attr_box .taskBox .advert { border: none; } .attr_box .share_cancel { position: absolute; right: 50rpx; top: -80rpx; width: 60rpx; height: 80rpx; }