216 lines
5.7 KiB
Plaintext
216 lines
5.7 KiB
Plaintext
/**
|
||
* 这里是uni-app内置的常用样式变量
|
||
*
|
||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
*
|
||
*/
|
||
/**
|
||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
*
|
||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
*/
|
||
/* 颜色变量 */
|
||
/* 行为相关颜色 */
|
||
/* 文字基本颜色 */
|
||
/* 背景颜色 */
|
||
/* 边框颜色 */
|
||
/* 尺寸变量 */
|
||
/* 文字尺寸 */
|
||
/* 图片尺寸 */
|
||
/* Border Radius */
|
||
/* 水平间距 */
|
||
/* 垂直间距 */
|
||
/* 透明度 */
|
||
/* 文章场景相关 */
|
||
.tn-graphic-card.data-v-1bacfa93 {
|
||
position: relative;
|
||
width: 100%;
|
||
padding: 30rpx;
|
||
background-color: transparent;
|
||
/* 简要信息 start */
|
||
/* 简要信息 end */
|
||
/* 内容 start */
|
||
/* 图片列表 start */
|
||
/* 图片列表 end */
|
||
/* 内容 end */
|
||
/* 底部信息 start */
|
||
/* 底部信息 end */
|
||
}
|
||
.tn-graphic-card__brief-info.data-v-1bacfa93 {
|
||
display: flex;
|
||
align-items: center;
|
||
/* 简要内容 start */
|
||
/* 简要内容 end */
|
||
/* 操作按钮 start */
|
||
/* 操作按钮 end */
|
||
}
|
||
.tn-graphic-card__brief-info__content.data-v-1bacfa93 {
|
||
flex-grow: 1;
|
||
display: flex;
|
||
}
|
||
.tn-graphic-card__brief-info__avatar.data-v-1bacfa93 {
|
||
flex-shrink: 0;
|
||
width: 90rpx;
|
||
height: 90rpx;
|
||
border-radius: 50%;
|
||
background-color: var(--tn-color-gray--disabled);
|
||
}
|
||
.tn-graphic-card__brief-info__avatar .image.data-v-1bacfa93 {
|
||
width: 100%;
|
||
height: 100%;
|
||
border-radius: inherit;
|
||
}
|
||
.tn-graphic-card__brief-info__data.data-v-1bacfa93 {
|
||
flex-grow: 1;
|
||
margin-left: 24rpx;
|
||
color: var(--tn-text-color-primary);
|
||
line-height: 1;
|
||
padding-top: 6rpx;
|
||
}
|
||
.tn-graphic-card__brief-info__data .title.data-v-1bacfa93 {
|
||
font-size: 30rpx;
|
||
}
|
||
.tn-graphic-card__brief-info__data .desc.data-v-1bacfa93 {
|
||
margin-top: 16rpx;
|
||
font-size: 24rpx;
|
||
color: var(--tn-color-gray);
|
||
}
|
||
.tn-graphic-card__brief-info__operation.data-v-1bacfa93 {
|
||
flex-grow: 0;
|
||
}
|
||
.tn-graphic-card__brief-info__operation--more.data-v-1bacfa93 {
|
||
font-size: 40rpx;
|
||
font-weight: bold;
|
||
color: var(--tn-color-gray-disabled);
|
||
padding-left: 20rpx;
|
||
}
|
||
.tn-graphic-card__container.data-v-1bacfa93 {
|
||
margin-top: 20rpx;
|
||
}
|
||
.tn-graphic-card__content.data-v-1bacfa93 {
|
||
/* 内容标签 start */
|
||
/* 内容标签 end */
|
||
/* 内容数据 start */
|
||
/* 内容数据 end */
|
||
}
|
||
.tn-graphic-card__content__tags.data-v-1bacfa93 {
|
||
display: flex;
|
||
float: left;
|
||
align-items: center;
|
||
margin-top: 4rpx;
|
||
}
|
||
.tn-graphic-card__content__tags .tag-item.data-v-1bacfa93 {
|
||
width: -moz-fit-content;
|
||
width: fit-content;
|
||
height: -moz-fit-content;
|
||
height: fit-content;
|
||
padding: 8rpx 16rpx;
|
||
border-radius: 6rpx;
|
||
margin-right: 16rpx;
|
||
font-size: 24rpx;
|
||
line-height: 1;
|
||
}
|
||
.tn-graphic-card__content__data.data-v-1bacfa93 {
|
||
font-size: 28rpx;
|
||
line-height: 1.8em;
|
||
color: var(--tn-text-color-primary);
|
||
text-align: justify;
|
||
}
|
||
.tn-graphic-card__images.data-v-1bacfa93 {
|
||
width: 100%;
|
||
margin-top: 20rpx;
|
||
}
|
||
.tn-graphic-card__images--item.data-v-1bacfa93 {
|
||
/* 一张图片 start */
|
||
/* 一张图片 end */
|
||
/* 两张图片 start */
|
||
/* 两张图片 end */
|
||
/* 三张图片 start */
|
||
/* 三张图片 end */
|
||
/* 四张图片 start */
|
||
/* 四张图片 end */
|
||
}
|
||
.tn-graphic-card__images--item.is-one.data-v-1bacfa93 {
|
||
width: 70%;
|
||
height: 300rpx;
|
||
border-radius: 15rpx;
|
||
}
|
||
.tn-graphic-card__images--item.is-two.data-v-1bacfa93 {
|
||
width: 80%;
|
||
}
|
||
.tn-graphic-card__images--item.is-three.data-v-1bacfa93 {
|
||
position: relative;
|
||
width: 100%;
|
||
height: 332rpx;
|
||
display: flex;
|
||
align-items: center;
|
||
/* 左边单图 start */
|
||
/* 左边单图 end */
|
||
/* 右边双图 start */
|
||
/* 右边双图 end */
|
||
}
|
||
.tn-graphic-card__images--item.is-three .image-wrapper-left.data-v-1bacfa93 {
|
||
position: relative;
|
||
width: 50%;
|
||
height: 100%;
|
||
}
|
||
.tn-graphic-card__images--item.is-three .image-wrapper-left .image-container.data-v-1bacfa93 {
|
||
width: 100%;
|
||
height: 100%;
|
||
border-radius: 15rpx;
|
||
}
|
||
.tn-graphic-card__images--item.is-three .image-wrapper-right.data-v-1bacfa93 {
|
||
position: relative;
|
||
flex: 1;
|
||
height: 100%;
|
||
margin-left: 28rpx;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
}
|
||
.tn-graphic-card__images--item.is-three .image-wrapper-right .image-container.data-v-1bacfa93 {
|
||
flex: 1;
|
||
width: 100%;
|
||
border-radius: 15rpx;
|
||
}
|
||
.tn-graphic-card__images--item.is-three .image-wrapper-right .image-container + .image-container.data-v-1bacfa93 {
|
||
margin-top: 28rpx;
|
||
}
|
||
.tn-graphic-card__images--item.is-four.data-v-1bacfa93 {
|
||
width: 80%;
|
||
}
|
||
.tn-graphic-card__bottom-info.data-v-1bacfa93 {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
margin-top: 16rpx;
|
||
/* 左边查看数据 start */
|
||
/* 左边查看数据 end */
|
||
/* 右边查看用户头像数据 start */
|
||
/* 右边查看用户头像数据 end */
|
||
}
|
||
.tn-graphic-card__bottom-info__left.data-v-1bacfa93 {
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
.tn-graphic-card__bottom-info__left .count-item-data.data-v-1bacfa93 {
|
||
display: flex;
|
||
align-items: center;
|
||
margin-right: 20rpx;
|
||
}
|
||
.tn-graphic-card__bottom-info__left .count-item-data .count.data-v-1bacfa93 {
|
||
margin-left: 6rpx;
|
||
}
|
||
.tn-graphic-card__bottom-info__right.data-v-1bacfa93 {
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
.tn-graphic-card__bottom-info.is-no-content.data-v-1bacfa93 {
|
||
margin-top: 24rpx;
|
||
}
|
||
.tn-graphic-card__view-user-count.data-v-1bacfa93 {
|
||
margin-left: 8rpx;
|
||
font-size: 26rpx;
|
||
color: var(--tn-color-gray);
|
||
} |