xyDideo
xyDideo
  • 发布:2020-12-16 14:11
  • 更新:2020-12-16 14:11
  • 阅读:793

uni 不支持 svg 的路径文本 textPath 吗?

分类:uni-app
SVG

<view class="elec_seal_box">
<view :class="circle_seal circle_seal_18">
<svg viewBox="0 0 100 100">
<path d='M 0,50 a 50,50 0 1,1 0,1 z' id="circle-seal" />
<text>
<textPath xlink:href="#circle-seal">
SVG与文本:使用textPath进行字符串的显示
</textPath>
</text>
</svg>
</view>
</view>

纯vue可以绘制出来,uni小程序textPath无效

2020-12-16 14:11 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复