123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- /**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
- *
- */
- /**
- * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
- *
- * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
- */
- /* 颜色变量 */
- /* 行为相关颜色 */
- /* 文字基本颜色 */
- /* 背景颜色 */
- /* 边框颜色 */
- /* 尺寸变量 */
- /* 文字尺寸 */
- /* 图片尺寸 */
- /* Border Radius */
- /* 水平间距 */
- /* 垂直间距 */
- /* 透明度 */
- /* 文章场景相关 */
- body {
- height: 100%;
- }
- .content {
- height: 100%;
- display: flex;
- flex-direction: column;
- }
- .detail-cont {
- flex: 1;
- padding: 1.25rem;
- overflow-y: auto;
- }
- .detail-cont .title {
- font-size: 1.25rem;
- font-family: PingFang SC;
- color: #222222;
- line-height: 2.1875rem;
- }
- .detail-cont .info {
- display: flex;
- align-items: center;
- font-size: 0.75rem;
- font-family: PingFang SC;
- font-weight: 500;
- color: #999999;
- line-height: 1.5rem;
- margin: 0.71875rem 0;
- }
- .detail-cont .info .reads {
- margin-right: 0.9375rem;
- }
- .detail-cont .full-text {
- font-size: 1.125rem;
- font-family: PingFang SC;
- color: #222222;
- line-height: 1.875rem;
- }
- .recent-reads {
- flex-shrink: 0;
- box-sizing: border-box;
- height: 3.78125rem;
- background: #FFFFFF;
- border-top: 1px solid #F0F0F0;
- padding: 0 1.25rem 0 1.15625rem;
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .recent-reads .left {
- display: flex;
- align-items: center;
- }
- .recent-reads .left .label {
- font-size: 0.875rem;
- font-family: PingFang SC;
- font-weight: 500;
- color: #666666;
- line-height: 1;
- margin-right: 0.625rem;
- }
- .recent-reads .left .peop-box {
- display: flex;
- align-items: center;
- }
- .recent-reads .left .peop-box .head-box {
- margin-right: 0.875rem;
- display: flex;
- align-items: center;
- }
- .recent-reads .left .peop-box .head-box .head {
- width: 1.5rem;
- height: 1.5rem;
- border-radius: 50%;
- overflow: hidden;
- box-shadow: 0 0 0 1px #fff;
- margin-right: -0.3125rem;
- }
- .recent-reads .left .peop-box .head-box .head uni-image {
- width: 100%;
- height: 100%;
- }
- .recent-reads .left .peop-box .arrow {
- width: 0.40625rem;
- height: 0.71875rem;
- }
- .recent-reads .share-btn {
- position: relative;
- width: 7.5rem;
- height: 2.5rem;
- line-height: 2.5rem;
- font-size: 0.9375rem;
- font-family: PingFang SC;
- font-weight: 500;
- color: #FFFFFF;
- background: #C39A58;
- border-radius: 1.25rem;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .recent-reads .share-btn uni-image {
- width: 1rem;
- height: 1rem;
- margin-right: 0.46875rem;
- }
- .recent-reads .share-btn .share {
- position: absolute;
- width: 100%;
- height: 100%;
- opacity: 0;
- }
- .inquiry {
- width: 4.09375rem;
- height: 4.09375rem;
- position: fixed;
- right: 0.6875rem;
- bottom: 6.03125rem;
- z-index: 99;
- }
- .inquiry .content {
- position: relative;
- }
- .inquiry .content uni-image {
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- z-index: 9;
- }
- .inquiry .content .text {
- position: absolute;
- top: 2.1875rem;
- left: 50%;
- transform: translateX(-50%);
- z-index: 10;
- font-size: 0.6875rem;
- font-family: PingFang SC;
- font-weight: bold;
- color: #C39A58;
- line-height: 1;
- }
- .contact-btn {
- display: inline-block;
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- opacity: 0;
- z-index: 9999;
- }
|