Closed zhoulei984623 closed 3 years ago
在PC后台编辑的时候命名是居中的
在小程序显示的时候怎么解析正确?
小程序已经对内容进行处理,如下 const markdownContent = app.towxml(advertisement.content,'markdown',{ base:'https://cos.17bbw.com', // 相对资源的base路径 theme:'light', // 主题,默认light,'dark' events:{ // 为元素绑定的事件方法 tap:(e)=>{} } })
light
改成 <div style="text-align:center;">电话号码</div>吧。这个标签应该没有被支持。
<div style="text-align:center;">电话号码</div>
能简单说下怎么改吗?我前端不是很擅长。
上面不是说了吗?
谢谢 解决了
在PC后台编辑的时候命名是居中的
在小程序显示的时候怎么解析正确?
小程序已经对内容进行处理,如下 const markdownContent = app.towxml(advertisement.content,'markdown',{ base:'https://cos.17bbw.com', // 相对资源的base路径 theme:'light', // 主题,默认
light
,'dark' events:{ // 为元素绑定的事件方法 tap:(e)=>{} } })