/* pages/coupon/coupon.wxss */ .layer { display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; left: 0; right: 0; } .tab { flex: 0 0 auto; padding: 24rpx; background-color: #fff; display: flex; justify-content: space-around; } .tab view { color: #131D34; font-size: 30rpx; font-weight: bold; } .tab view text { font-size: 0.8em; color: inherit; } .tab view.active { position: relative; color: #ED5D18; } .tab view.active::after { content: ''; position: absolute; bottom: -20rpx; height: 4rpx; width: 60rpx; background-color: #ED5D18; left: 50%; transform: translateX(-50%); } .body { flex: 1; overflow-y: auto; padding-top: 20rpx; background-color: rgb(247,247,247); } .item { margin-bottom: 20rpx; padding: 20rpx 30rpx; background-color: #fff; } .product { display: flex; align-items: center; } .cover { width: 120rpx; height: 120rpx; flex: 0 0 auto; margin-right: 16rpx; } .content { flex: 1; position: relative; } .disable { filter: grayscale(100%); } .disable .invalid { position: absolute; width: 200rpx; height: 200rpx; right: 0; top: 0; z-index: 3; transform: translate(10%); } .content .title { font-size: 30rpx; color: #131D34; margin-bottom: 24rpx; } .content .desc { font-size: 22rpx; color: #999999; } .illustrate { flex: 0 0 auto; } .illustrate .momey { font-size: 50rpx; color: #ED5D18; font-weight: bold; } .illustrate .momey text { color: inherit; font-size: 24rpx; } .illustrate .explain { color: #999; font-size: 22rpx; } .oper { display: flex; margin-top: 26rpx; border-top: 1px solid rgba(0,0,0,0.1); padding-top: 26rpx; align-items: center; justify-content: space-between; } .oper view { flex: 0 0 auto; color: #999999; font-size: 20rpx; } .oper .btn { flex: 0 0 auto; width: 96rpx; height: 44rpx; line-height: 44rpx; text-align: center; color: #fff; font-size: 22rpx; border-radius:4px; background-color: #ED5D18; } .un-content { width: 100%; height: 100%; text-align: center; } .lay { margin-top: 180rpx; } .un-content image { display: inline-block; width: 250rpx; height: 274rpx; } .un-content .text { color: #666C7D; font-size: 30rpx; margin-top: 40rpx; }