审核规避词+敏感词skill
This commit is contained in:
1 parent
a9552b3d1a
commit
f05a11f0f3
14 files changed
+79
-29
No files matched your search
@@ -53,7 +53,7 @@ Component({
|
||||
composed: true
|
||||
});
|
||||
},
|
||||
//内部方法:加载视频
|
||||
//内部方法:点击封面后加载真实内容
|
||||
_loadVideo(e) {
|
||||
this.data.controls[e.currentTarget.dataset.id] = {
|
||||
play: true,
|
||||
@@ -64,4 +64,4 @@ Component({
|
||||
})
|
||||
},
|
||||
}
|
||||
})
|
||||
})
|
||||
@@ -10,7 +10,7 @@
|
||||
<rich-text wx:else style="display:inline-block" nodes="{{[item]}}"></rich-text>
|
||||
</block>
|
||||
<text wx:elif="{{item.name=='br'}}">\n</text>
|
||||
<!--视频-->
|
||||
<!--浏览内容-->
|
||||
<block wx:elif="{{item.name=='video'}}">
|
||||
<view wx:if="{{item.attrs.id>'video3'&&!controls[item.attrs.id].play}}" class="video" style="{{item.attrs.style+(item.attrs.width?(';width:'+item.attrs.width):'')+(item.attrs.height?('height:'+item.attrs.height):'')}}" data-id="{{item.attrs.id}}" bindtap="_loadVideo">
|
||||
<view class="video-triangle" />
|
||||
@@ -31,4 +31,4 @@
|
||||
</navigator>
|
||||
<!--继续递归-->
|
||||
<trees wx:else id="node" class="{{item.name}}" style="{{item.attrs.style}}" nodes="{{item.children}}" controls="{{controls}}" />
|
||||
</block>
|
||||
</block>
|
||||
Reference in new issue
Block a user