123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200 |
- /**基础风格样式**/
- @import '/assets/libs/towxml/style/main.wxss';
- /**主题配色(浅色样式)**/
- @import '/assets/libs/towxml/style/theme/light.wxss';
- .cover {
- height: 180px;
- position: relative;
- background-size: cover;
- background-position: center center;
- }
- .cover > .overlay {
- text-align: center;
- background: rgba(0, 0, 0, 0.6);
- color: #fff;
- height: 100%;
- width: 100%;
- }
- .cover .intro {
- position: absolute;
- top: 50px;
- left: 0;
- text-align: center;
- width: 100%;
- color: #fff;
- }
- .title {
- position: relative;
- padding: 15px;
- color: #666;
- background:#fff;
- border-bottom: 1px solid #eee;
- }
- .title .h1 {
- font-size: 22px;
- line-height: 25px;
- }
- .title .date {
- margin-top: 5px;
- font-size: 12px;
- color:#bbb;
- }
- .content {
- padding:15px;
- background:#fff;
- }
- .thumbs {
- padding:15px;
- margin: 0px auto;
- text-align: center;
- background:#fff;
- }
- .thumbs .like,.thumbs .dislike {
- display: inline-block;
- width: 44px;
- height: 44px;
- line-height: 44px;
- color: #999;
- text-align: center;
- background-color: #bebebe;
- background-position: center center;
- background-repeat: no-repeat;
- transition: background-color 300ms linear;
- border-radius: 22px;
- background-clip: padding-box;
- vertical-align: middle;
- }
- .thumbs .like {
- position: relative;
- margin-right: 5px;
- background-color: #46c37b;
- }
- .thumbs .like:hover {
- background-color: #08aa73;
- }
- .thumbs .dislike {
- position: relative;
- margin-left: 5px;
- }
- .thumbs .dislike:hover {
- background-color: #999;
- }
- .thumbs i.fa {
- font-size: 20px;
- color: #fff;
- }
- .thumbs .progress {
- position: relative;
- display: inline-block;
- vertical-align: -18%;
- }
- .thumbs .bar {
- width: 110px;
- height: 7px;
- overflow: hidden;
- background-color: #dcdcdc;
- border-radius: 4px;
- background-clip: padding-box;
- }
- .thumbs .bar .current {
- display: block;
- height: 100%;
- width: 50%;
- background-color: #46c37b;
- transition: width 300ms linear;
- }
- .thumbs .num {
- position: absolute;
- top: -18px;
- display: block;
- width: 100%;
- font-style: normal;
- font-size: 10px;
- color: #999;
- text-align: center;
- }
- .thumbs .num i {
- position: absolute;
- right: 55%;
- color: #46c37b;
- font-style: normal;
- }
- .thumbs .num span {
- position: absolute;
- left: 55%;
- }
- .commentlist .zan-card__detail-row .zan-card__left-col {
- display: flex;
- justify-content: space-between;
- }
- .commentlist .zan-card__detail-row .zan-card__left-col .post-like {
- margin-right: 10px;
- }
- .zan-card {
- border-bottom: 1px solid #eee;
- padding: 10px 15px;
- }
- .zan-card__thumb {
- width: 60px;
- height: 60px;
- }
- .zan-card__thumb image {
- border-radius: 50%;
- width: 50px;
- height: 50px;
- }
- .zan-card__detail {
- margin-left: 70px;
- }
- .zan-card__detail .h2w__p {
- margin-bottom:20rpx;
- }
- .author {
- margin-right: 10px;
- }
- .comment-author {
- margin-right: 10px;
- }
- .postcomment .zan-field__input {
- height:22px;
- }
- .h2w, .h2w__pre {
- font-size: 28rpx;
- }
- .h2w__main {
- margin: 0;
- padding-top: 10rpx;
- }
|