Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

这里有一篇样式有误的文章 #32

Closed
Mrdoge opened this issue Sep 25, 2019 · 7 comments
Closed

这里有一篇样式有误的文章 #32

Mrdoge opened this issue Sep 25, 2019 · 7 comments
Labels
question Further information is requested

Comments

@Mrdoge
Copy link

Mrdoge commented Sep 25, 2019

文章预期是下面样子(PC端,左右排列)
1569413755(1)

在小程序是这个样子的
1569413965(1)

富文本html:
测试文章.txt

@jin-yufeng
Copy link
Owner

用的是最新版吗
我试了一下是可以的
微信图片_20190925215129

@Mrdoge
Copy link
Author

Mrdoge commented Sep 26, 2019

我这边没加node服务层的转化js,会不会是这个原因导致。。。

@jin-yufeng
Copy link
Owner

这和js没关系吧,你直接把这段复制到示例小程序的自定义测试-前端解析里试一下

@Mrdoge
Copy link
Author

Mrdoge commented Sep 26, 2019

原因找到了,后台存文章的时候把文章进行了压缩,导致格式变了,前端拿到的格式是下面那样子的。
测试文章2.txt

效果:
微信图片_20190926093025

@jin-yufeng
Copy link
Owner

那让后台处理一下吧😂

@Mrdoge
Copy link
Author

Mrdoge commented Sep 26, 2019

问题不大,前端稍微处理一下即可

@jin-yufeng jin-yufeng added the question Further information is requested label Sep 26, 2019
@Mrdoge
Copy link
Author

Mrdoge commented Sep 26, 2019

不好意思,原来是后台把我的样式吞掉了。插件本身很完美,给个赞

1569478552

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants