<template>
<view class="">
<view class="" style="background-color:aqua">
<rich-text :nodes="nodes" style="background: transparent;" v-for="item in 100"></rich-text>
</view>
</view>
</template>
<script>
export default {
data() {
return {
nodes: [{
"name": "div",
"attrs": {
"style": "position: relative;"
},
"children": [{
"type": "text",
"text": "\n\t\t\t\t\t\t"
},
{
"name": "span",
"attrs": {
"style": "fontSize:23.07rpx;color:#00baad;margin-left:6rpx;"
},
"children": [{
"type": "text",
"text": " 淺薄的回憶:"
}]
},
{
"type": "text",
"text": "\n\t\t\t\t\t\t"
},
{
"name": "span",
"attrs": {
"style": "fontSize:23.07rpx;color:#00baad;background-color:red;"
},
"children": [{
"type": "text",
"text": "非常划算,性价比很高。"
}]
},
{
"type": "text",
"text": "\n\t\t\t\t\t\t"
}
]
}]
}
},
methods: {
},
}
</script>
<style>
</style>
- 发布:2023-06-02 09:33
- 更新:2023-07-04 15:23
- 阅读:642
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: win10
HBuilderX类型: 正式
HBuilderX版本号: 3.6.18
手机系统: iOS
手机系统版本号: iOS 16
手机厂商: 苹果
手机机型: iPhone XS Max 64GB 金色
页面类型: nvue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
示例代码:
操作步骤:
rich-text在ios手机上循环渲染时文字会随机出现白色背景取消不掉
rich-text在ios手机上循环渲染时文字会随机出现白色背景取消不掉
预期结果:
rich-text在ios手机上循环渲染时文字会不出现白色背景
rich-text在ios手机上循环渲染时文字会不出现白色背景
实际结果:
rich-text在ios手机上循环渲染时文字会随机出现白色背景取消不掉
rich-text在ios手机上循环渲染时文字会随机出现白色背景取消不掉
4***@qq.com
你们这个bug 并没有修复啊!!!!现在都还有
2024-05-15 14:12
4***@qq.com
官方有没有人啊???????
2024-05-15 14:25
2***@qq.com
确实没有修复
2024-07-27 15:38