/* pages/everyday/everyday.wxss */ .showImg { position: relative; width: 750rpx; height: 616rpx; } .ruleBtn { right: 0; top: 180rpx; position: absolute; width: 153rpx; height: 46rpx; line-height: 46rpx; font-size: 24rpx; color: #fff; background-color: rgba(35, 24, 21, 0.63); border-top-left-radius: 20rpx; border-bottom-left-radius: 20rpx; padding-left: 20rpx; box-sizing: border-box; } .title { height: 110rpx; line-height: 110rpx; width: 100%; text-align: center; font-size: 36rpx; font-weight: bold; } .menuBox { position: relative; width: 535rpx; height: 58rpx; margin: 0 auto; } .menu { width: 100%; height: 100%; } .menuBox>view { position: absolute; bottom: 0; font-size: 16rpx; text-align: center; } .menuBox>.leftTitle { left: 38rpx; width: 54rpx; height: 38rpx; line-height: 38rpx; } .menuBox>.centerTitle { left: 95rpx; width: 345rpx; height: 56rpx; line-height: 56rpx; color: #fff; font-size: 29rpx; } .menuBox>.rightTitle { right: 38rpx; width: 54rpx; height: 38rpx; line-height: 38rpx; } .mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background-color: rgba(0, 0, 0, 0.5); } .taskBox{ position: relative; width: 567rpx; height: 649rpx; border-radius: 20rpx; } .taskBox>.title{ height: 77rpx; line-height: 77rpx; color: #ffffff; border-top-left-radius: 20rpx; border-top-right-radius: 20rpx; background-color: #345486; } .taskBox>.contentBox{ position: relative; width: 100%; height: calc(100% - 77rpx); background-color: #ffffff; border-bottom-left-radius: 20rpx; border-bottom-right-radius: 20rpx; } .taskBox>.contentBox>.name{ width: 100%; height: 107rpx; line-height: 107rpx; font-size: 33rpx; text-align: center; padding-top: 38rpx; font-weight: bold; } .taskBox>.contentBox>.taskImg{ width: 488rpx; height: 268rpx; margin: 0 auto; border-radius: 19rpx; } .taskBox>.contentBox>.btn{ width: 347rpx; height: 62rpx; line-height: 62rpx; text-align: center; color: #ffffff; font-size: 28rpx; border-radius: 10rpx; margin: 42rpx auto 0 auto; background-color: #345486; } .closeBtn { background: none; border: 2rpx solid #fff; color: #fff; border-radius: 50%; text-align: center; height: 40rpx; line-height: 40rpx; width: 40rpx; font-size: 30rpx; padding: 2rpx; position: absolute; } /* use cross as close button */ .closeBtn::before { content: "\2716"; }