diff --git a/modules/article/pages/detail/index.scss b/modules/article/pages/detail/index.scss index ddde15d..80ab4eb 100644 --- a/modules/article/pages/detail/index.scss +++ b/modules/article/pages/detail/index.scss @@ -26,6 +26,17 @@ } } } + + #part-body { + #richtext { + word-break: break-all; + font-size: 30rpx; + + .tiny-p { + margin-bottom: 1rem; + } + } + } } #section-tabs { diff --git a/modules/article/pages/detail/index.wxml b/modules/article/pages/detail/index.wxml index 6107b73..eb10854 100644 --- a/modules/article/pages/detail/index.wxml +++ b/modules/article/pages/detail/index.wxml @@ -16,7 +16,7 @@ - + diff --git a/modules/article/pages/detail/index.wxss b/modules/article/pages/detail/index.wxss index 5a68033..ee987ae 100644 --- a/modules/article/pages/detail/index.wxss +++ b/modules/article/pages/detail/index.wxss @@ -1 +1 @@ -#page-article-detail{padding-bottom:180rpx}#page-article-detail #section-article .area-header{position:relative;overflow:hidden;height:520rpx}#page-article-detail #section-article .area-header .image-cover{position:absolute;top:0;width:100%;height:520rpx}#page-article-detail #section-article .area-header .area-header-content{z-index:999;position:absolute;bottom:0;width:100%;background-color:rgba(255,255,255,.8)}#page-article-detail #section-article .area-header .area-header-content .part-title{line-height:1.5em}#page-article-detail #section-footer{padding:30rpx 30rpx 40rpx;position:fixed;bottom:0;left:0;width:100%;background-color:#fff;flex-direction:row;display:flex}#page-article-detail #section-footer .btn-thumb{height:80rpx;width:80rpx;font-size:34rpx;color:#333}#page-article-detail #section-footer .box-input{margin-left:1rem;flex-grow:1}#page-article-detail #section-footer .box-input .el-input{background-color:#f0f0f0;width:100%;height:80rpx;line-height:2rem;padding-left:1rem;padding-right:1rem;border-radius:2rem;justify-content:start;color:#333} \ No newline at end of file +#page-article-detail{padding-bottom:180rpx}#page-article-detail #section-article .area-header{position:relative;overflow:hidden;height:520rpx}#page-article-detail #section-article .area-header .image-cover{position:absolute;top:0;width:100%;height:520rpx}#page-article-detail #section-article .area-header .area-header-content{z-index:999;position:absolute;bottom:0;width:100%;background-color:rgba(255,255,255,.8)}#page-article-detail #section-article .area-header .area-header-content .part-title{line-height:1.5em}#page-article-detail #section-article #part-body #richtext{word-break:break-all;font-size:30rpx}#page-article-detail #section-article #part-body #richtext .tiny-p{margin-bottom:1rem}#page-article-detail #section-footer{padding:30rpx 30rpx 40rpx;position:fixed;bottom:0;left:0;width:100%;background-color:#fff;flex-direction:row;display:flex}#page-article-detail #section-footer .btn-thumb{height:80rpx;width:80rpx;font-size:34rpx;color:#333}#page-article-detail #section-footer .box-input{margin-left:1rem;flex-grow:1}#page-article-detail #section-footer .box-input .el-input{background-color:#f0f0f0;width:100%;height:80rpx;line-height:2rem;padding-left:1rem;padding-right:1rem;border-radius:2rem;justify-content:start;color:#333} \ No newline at end of file