Comments (6)
from mp-html.
源码要构建后再用
https://jin-yufeng.gitee.io/mp-html/#/advanced/develop
from mp-html.
1、构建过了哦, npm run build:weixin
2、直接clone 的项目 dist 里面有发布好的,我直接贴进去,图片显示就不正常了
3、我就执行了 1、 的构建操作
4、结果还是一样
from mp-html.
那你的直接引用是指什么
html内容是什么
描述清楚
from mp-html.
正常
1、使用 npm install mp-html
2、{"usingComponents": {"mp-html": "mp-html"}}
3、< mp-html content="{{html}}" />
异常
1、npm run build:weixin
2、将源码中对应平台的代码包(dist/platform)拷贝到 components 目录下,更名为 mp-html
3、{ "usingComponents": {"mp-html": "/components/mp-html/index"}}
4、< mp-html content="{{html}}" />
html内容
正常效果图
异常效果图
from mp-html.
我再全局样式增加了
image {
max-width: 100%;
}
解决了这个问题,不知道是bug还是我这里环境的问题,谢谢作者了
from mp-html.
Related Issues (20)
- H5端LaTeX排版错误(APP端正常)
- 长公式渲染部分符号异常、无法自动换行
- 希望公式渲染支持双美元符号(公式块),现在仅支持单美元符号(内联公式)
- vue3 `build.rollupOptions.external`
- 使用uniapp开发的ios使用mp-html组件在多行文本溢出时偶发样式丢失
- preview-img 放大图片后 安卓手机不能将图片缩放 ,苹果手机可以,请问是什么原因呢。 HOT 1
- 表格渲染与浏览器不一致 HOT 1
- 表格样式显示异常
- 同一篇富文本内容,在普通H5页面里可以正常显示,但是在微信小程序显示异常
- mp-html组件linktap跳转两次 HOT 1
- 数学公式渲染错误 HOT 3
- svg无法正常展示 HOT 4
- 想请问highlight该如何使用啊 HOT 1
- 微信小程序ios端svg展示不正常 HOT 4
- 2.5.0版本中svg无法显示 HOT 2
- 音视频暂停事件
- uni-app开发的微信小程序端渲染富文本编辑器时报错:<rich-text>: parse error TypeError: Cannot read property 'replace' of null(env: macOS,mp,1.06.2401020; lib: 3.4.0)
- 富文本中的代码内容没有样式,需要配置什么吗?
- 微信小程序富文本样式渲染错误
- uniapp中公式包含在P标签中会不显示
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mp-html.