[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fmB0C7Fi4Ke1gWjkaJpED983CN9ELoh7PpWNrUhKUbsA":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":8,"question":15,"related":16,"source":27,"type":86},[],"2026-03-06 07:23:56",320839646,[],{"count":9,"courseId":10,"courseImg":11,"courseName":12,"workId":13,"workName":14},14,"1954ab27491faa8c6c2f644531023691","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F25b30343053994e8940089572d36015b.jpg","移动web前端设计","9e72506262bd4458a1b83ae8287c7e34","商品详情","v-html指令会__绑定元素内的所有原有内容,包括子元素和插值语法",[17,29,38,47,56,65,74,83,87,92],{"answer":18,"createTime":19,"id":20,"options":21,"question":26,"source":27,"type":28},[],"2026-03-06 07:18:26",320838598,[22,23,24,25],"无法渲染换行标签","会覆盖元素内所有原有内容","存在XSS跨站脚本攻击风险","无法与v-bind指令同时使用","使用v-html指令时,最需要注意的问题是()","v1",0,{"answer":30,"createTime":19,"id":31,"options":32,"question":37,"source":27,"type":28},[],320838599,[33,34,35,36],"Cell组件仅支持默认插槽,无法自定义标题和内容","通过 插槽可自定义Cell的标题区域","自定义Cell内容时,必须删除Cell组件的所有默认属性","插槽自定义的内容无法使用Vue指令(如v-if､v-for)","下列关于Vant Cell组件通过插槽自定义内容结构的说法,正确的是()",{"answer":39,"createTime":19,"id":40,"options":41,"question":46,"source":27,"type":28},[],320838600,[42,43,44,45],"将绑定的数据当作纯文本渲染,不解析任何标签","将绑定的数据渲染为原生HTML内容,解析其中的HTML标签","绑定HTML元素的class属性,实现样式动态切换","绑定HTML元素的事件,实现交互效果","Vue中v-html指令的核心功能是()",{"answer":48,"createTime":19,"id":49,"options":50,"question":55,"source":27,"type":28},[],320838601,[51,52,53,54],"渲染用户输入的评论内容","渲染后端返回的､经过过滤的富文本","渲染第三方接口返回的未处理HTML","渲染URL参数传递的HTML内容","下列哪种情况使用v-html指令是安全的()",{"answer":57,"createTime":19,"id":58,"options":59,"question":64,"source":27,"type":28},[],320838602,[60,61,62,63],"直接给内部DOM标签写样式即可生效","使用深度选择器:deep()穿透scoped作用域","将样式写在全局样式文件中,无需任何处理","给v-html绑定的元素添加inline-style样式","Vue组件中,给v-html渲染的元素内部DOM结构设置样式(组件样式加了scoped),正确的做法是 ()",{"answer":66,"createTime":19,"id":67,"options":68,"question":73,"source":27,"type":28},[],320838603,[69,70,71,72],".highlight { color: red; }",":deep(.highlight) { color: red; }",".v-html .highlight { color: red; }",".content &gt; highlight { color: red; }","下列代码中,能成功给v-html渲染的 标签设置红色字体的是(组件样式有 scoped)()",{"answer":75,"createTime":19,"id":76,"options":77,"question":82,"source":27,"type":28},[],320838604,[78,79,80,81],"&lt;van-cell&gt;&lt;template #right-icon&gt;&lt;van-icon name=&quot;close&quot; \u002F&gt;&lt;\u002Ftemplate&gt;&lt;\u002Fvan-cell&gt;","&lt;van-cell right-icon=&quot;close&quot;&gt;&lt;\u002Fvan-cell&gt;","&lt;van-cell&gt;&lt;van-icon name=&quot;close&quot; slot=&quot;right-icon&quot; \u002F&gt;&lt;\u002Fvan-cell&gt;","&lt;van-cell :right-icon=&quot;&lt;van-icon name='close' \u002F&gt;&quot;&gt;&lt;\u002Fvan-cell&gt;","要给Vant Cell组件自定义右侧图标(替换默认箭头),正确的插槽用法是()",{"answer":84,"createTime":5,"id":6,"options":85,"question":15,"source":27,"type":86},[],[],2,{"answer":88,"createTime":5,"id":89,"options":90,"question":91,"source":27,"type":86},[],320839647,[],"Vue3中,给v-html渲染的内部DOM设置样式(scoped样式),需使用__深度选择器穿透作用域",{"answer":93,"createTime":5,"id":94,"options":95,"question":98,"source":27,"type":99},[],320839648,[96,97],"正确","错误","Vant Cell组件的插槽只能自定义文本内容,无法插入其他Vant组件(如Icon､Button).()",3]