2[ WXML 文件编译错误] ./pages/index/index.wxml
get tag end without start, near `</`
1 | <!--index.wxml-->
> 2 | </view class='slider'>
| ^
3 | <slider min="1" max="60" show-value activeColor="#E7624F"></slider>
4 | </view>
5 | </view class="task_text">
at files://pages/index/index.wxml#2
(env: Windows,mp,1.06.2307202; lib: 2.25.3)
<!--index.wxml--> <view class="slider"> <slider min="1" max="60" show-value activeColor="#E7624F"></slider> </view> <view class="task_text"> <view class="task_title"></view> <view class="task_desc"></view> </view>
<!--index.wxml-->
</view class="slider">
<slider min="1" max="60" show-value activeColor="#E7624F"></slider>
</view>
</view class="task_text">
</view class="task_title"></view>
</view class="task_desc"></view>
</view>
.slider{
width: 650rpx;
margin: 0 auto;
}
.task_text {
text-align:center;
}
.task_text .task_title{
font-size: 35rpx;
height: 60rpx;
line-height: 60rpx;
}
.task_text .task_title .task_desc{
font-size: 30rpx;
height: 50rpx;
line-height: 50rpx;
}
<view class="container">
<text class="title">{{title}}</text>
<view class="box">
<image class="timeImg" src="{{timeImg}}"></image>
<text class="startTime">{{startTime}}</text>
</view>
<text class="content">{{content}}</text>
<text>{{scenicSpots1}}</text>
<image mode="widthFix" src="{{scenicPhoto1}}"><image>
<text>{{scenicSpots2}}</text>
<image mode="widthFix" src="{{scenicPhoto2}}"></image>
<text>{{scenicSpots3}}</text>
<image mode="widthFix" src="{{scenicPhoto3}}"></image>
<text>{{scenicSpots4}}</text>
<image mode="widthFix" src="{{scenicPhoto4}}"></image>
<text>{{scenicSpots5}}</text>
message:预览 Error: wxml 编译错误,错误信息:./pages/demo2/deom2-detail/deom2-detail.wxml:8:48: end tag missing, near `image` [20240402 13:27:35][wx63dc66fbfcaa34ba]
appid: wx63dc66fbfcaa34ba
openid: o6zAJs_-xV_0eGru1e4SqQd878Cs
ideVersion: 1.06.2402040
osType: win32-x64
time: 2024-04-02 13:27:38