微信小程序编译.wxml文件错误
报错信息: Error: in File:./pages/course/course.wxml end tag missing, near `view` 3 | <view class="pageContainer"> 4 | <template is="search"/> > 5 | <view class="courses flex"> | ^ 6 | <view class="courses-left"> 7 | <block wx:for="{{courses}}" wx:for-index="couIdx" wx:for-item="couItem"> 8 | <view data-index="{{couIdx}}" class="{{couItem.active=='true'?'active':''}}" bindtap="selectTab"> 编译.wxml文件错误,错误信息如上,可在控制台查看更详细信息 源码: <!--pages/course/course.wxml--> <import src="../other/template.wxml"/> <view class="pageContainer"> <template is="search"/> <view class="courses flex"> <view class="courses-left"> <block wx:for="{{courses}}" wx:for-index="couIdx" wx:for-item="couItem"> <view data-index="{{couIdx}}" class="{{couItem.active=='true'?'active':''}}" bindtap="selectTab"> <text>{{couItem.title}}</text> </view> </block> </view> <scroll-view scroll-y="true" class="courses-right"> <block wx:for="{{courses}}" wx:for-index="couIdx" wx:for-item="couItem"> <view hidden="{{couItem.active=='true'?'':'hid'}}"> <block wx:for="{{couItem.category.ad}}" wx:for-index="adIdx" wx:for-item="adItem"> <view class="rcmd-course flex"> <navigator url="{{adItem.navigator}}"> <image src="{{adItem.imgurl}}"></image> </navigator> </view> </block> <block wx:for="{{couItem.category.item}}" wx:for-index="idx" wx:for-item="item"> <view class="couList"> <text>{{item.title}}</text> <block wx:for="{{item.stdCourse}}" wx:for-item="stdItem"> <navigator url="{{stdItem.url}}">{{stdItem.title}}</navigator> </block> </view> </block> </view> </block> </scroll-view> <view> </view> PS:我是新手,也是今天刚开始接触小程序,麻烦给解答时详细一点,谢谢!! 注:这个程序是我在网上下载的源码