公众平台图文编辑怎么制作类似微信聊天的对话框
时间:2023-03-04 06:10:56
工具/原料
微信公众平台
Dreamweaver软件
测试的浏览器(以火狐为例)
网络畅通
方法/步骤
将已经写好的代码,在编辑器中预览效果如下(上部边框为代码部分,下部边框为效果预览)。
点击第一张图片中图标,将效果预览在本地的浏览器(本案例以火狐浏览器为例)。
将上下两部分代码拷贝 到编辑器进行操作。
代码上半部分:<section style="width: 0px; border-right-width: 15px; border-right-style: solid; border-right-color:grey; display: inline-block; vertical-align: middle; border-top-width: 8px !important; border-top-style: solid !important; border-top-color: transparent !important; border-bottom-width: 8px !important; border-bottom-style: solid !important; border-bottom-color: transparent !important; box-sizing: border-box;" class="tn" [="" font][="" color][="" p]
代码下半部分:“微信公众平台图文编辑怎么制作类似微信聊天的对话框…”
将在浏览器下的效果直接拷贝,被粘贴在微信公众号的图文编辑处,可以得到如下图所示的效果。
修改此段代码中文字的颜色效果:将代码中“color:black”改为“color:orange”如第一张图所示,并得到第二张图片的效果。
修改此段代码中文字的对话框背景色效果:将代码中“border-right-color:grey”改为“border-right-color:green”,将“background-color:grey”改为“background-color:green”如第一张图所示,并得到第二张图片的效果。
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
手机美团怎么购买火车票
![](https://img.aspxhome.com/file/2023/0/54860_0s.png)
为何iPhone有时一个半小时就可充满电,有时却要两个半小时?
iPhone/Apple Watch 车钥匙功能使用教程
![](https://img.aspxhome.com/file/2023/2/a194852_0s.jpeg)
微信红包照片怎么设置
![](https://img.aspxhome.com/file/2023/6/54056_0s.png)
iPhone11如何关闭APP右上角的小红点?
![](https://img.aspxhome.com/file/2023/3/a194933_0s.jpg)
iOS7在Safari中快速查找关键字
![](https://img.aspxhome.com/file/2023/6/43816_0s.jpg)
苹果ipad air 软件闪退怎么办如何彻底解决
![](https://img.aspxhome.com/file/2023/4/a188574_0s.jpg)
ipad mini2 4g版什么时候上市?上市时间/价格发布
![](https://img.aspxhome.com/file/2023/3/a188593_0s.jpg)
如何有效的清理iPhone释放存储空间
![](https://img.aspxhome.com/file/2023/1/a200761_0s.jpg)
如何为 iPhone 购买 AppleCare+?
![](https://img.aspxhome.com/file/2023/9/a196959_0s.jpg)
手机版抖音如何分享给微信好友
![](https://img.aspxhome.com/file/2023/4/54794_0s.jpg)
抖音短视频中怎么加滤镜?抖音短视频中加滤镜的方法
![](https://img.aspxhome.com/file/2023/4/54264_0s.jpg)
iPhone 避免应用自动扣费的几个小技巧
![](https://img.aspxhome.com/file/2023/7/a197057_0s.jpg)
微信亲属卡怎么关闭
![](https://img.aspxhome.com/file/2023/7/53957_0s.jpg)
微信8.0.11更新了什么新功能
![](https://img.aspxhome.com/file/2023/1/a190881_0s.jpg)
微信怎样在昵称名字添加表情小图标
![](https://img.aspxhome.com/file/2023/2/a192792_0s.jpg)
苹果手机iphone怎么打开隔空投送
![](https://img.aspxhome.com/file/2023/8/a190518_0s.jpg)
苹果 iOS 16.4 / macOS 13.3 正式版新增 Shortcuts 快捷指令汇总
![](https://img.aspxhome.com/file/2023/10/a344388_0s.png)
ipad透明胶定位贴膜法
![](https://img.aspxhome.com/file/2023/2/a189192_0s.jpg)
iPhone手机充电,先插手机还是先插电源?
![](https://img.aspxhome.com/file/2023/7/a196077_0s.jpg)