问答题
以下代码的运行结果为:( ) <template name="red"> <text> 我是红色 </text> </template> <template name="blue"> <text> 我是蓝色 </text> </template> <block wx:for="{{[1,2]}}" wx:key="{{index}}"> <template is="red"></template> <template is="blue"></template> </block>
A、我是红色我是红色
B、我是蓝色我是蓝色
C、我是红色我是红色我是蓝色我是蓝色
D、我是红色我是蓝色我是红色我是蓝色
答案:
D