收藏
回答

2[ WXML 文件编译错误] ./pages/index/index.wxml 如何解决?

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)


回答关注问题邀请回答
收藏

3 个回答

  • Hlxuan.
    Hlxuan.
    2023-07-24
    <!--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>
    
    2023-07-24
    有用 1
    回复 1
  • 龙卷疯2077(电话18122138179)
    龙卷疯2077(电话18122138179)
    2023-07-24

    <!--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>

    2023-07-24
    有用 1
    回复 2
  • 兜兜ω
    兜兜ω
    04-02

    <view class="container">

    <text class="title">{{title}}</text>

    <view class="box"> 

    <image class="timeImgsrc="{{timeImg}}"></image>

    <text class="startTime">{{startTime}}</text>

    </view>

    <text class="content">{{content}}</text>

    <text>{{scenicSpots1}}</text>

    <image mode="widthFixsrc="{{scenicPhoto1}}"><image>

    <text>{{scenicSpots2}}</text>

    <image mode="widthFixsrc="{{scenicPhoto2}}"></image>

    <text>{{scenicSpots3}}</text>

    <image mode="widthFixsrc="{{scenicPhoto3}}"></image>

    <text>{{scenicSpots4}}</text>

    <image mode="widthFixsrc="{{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



    04-02
    有用
    回复
登录 后发表内容