Authored by TaoHuang

fix

... ... @@ -564,7 +564,7 @@ export default {
width: 100%;
position: absolute !important;
bottom: 0;
z-index: 999;
z-index: 10;
transition: all 300ms;
.footer-comment {
... ...
... ... @@ -188,11 +188,27 @@ export default {
this.$nextTick(() => {
if (this.$refs.richText) {
(this.$refs.richText.childNodes || []).forEach(ele => {
const {childNodes = []} = this.$refs.richText;
// 特殊排版兼容
if (childNodes.length === 1 && childNodes[0].nodeName === 'SECTION') {
const $parentSectionNode = childNodes[0];
$parentSectionNode.style.margin = 0;
($parentSectionNode.childNodes || []).forEach(ele => {
if (!ele.querySelector('img')) {
ele.classList.add('section-margin');
}
});
} else {
childNodes.forEach(ele => {
if (ele.querySelector('img')) {
ele.style.margin = 0;
}
});
}
this.$refs.richText.querySelectorAll('a').forEach(ele => {
if (ele.querySelector('img')) {
ele.classList.add('yoho-img-link');
... ... @@ -280,6 +296,10 @@ export default {
font-size: 32px !important;
line-height: 1.8 !important;
.section-margin {
margin: 0 30px;
}
* {
font-family: "PingFang SC", "HiraginoSansGB-W3", "SanFranciscoText-Regular", Helvetica, Roboto, "Heiti SC", "黑体", Arial, sans-serif !important;
}
... ...
{
"name": "yoho-community-web",
"version": "6.9.10-beta11",
"version": "6.9.10-beta3",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...