<!--pages/language/language.wxml-->
<view class="container">
  <!-- 标题 -->
  <tarbar id="tarbar"/>
  <!-- 内容 -->
  <view class="content">
      <scroll-view scroll-y="true"  scroll-with-animation="true" scroll-with-animation="true" enable-back-to-top="true" scroll-into-view="{{position}}">
          <!-- 语文 -->
          <view class="language">
            <target wxObjectives="{{wxObjectives}}"/>

            <lessonList 
            lessonData="{{list}}"
            height="{{lessonListHeight}}"/>

            <preview 
            materialData="{{materialData}}"
            height="{{previewHeight}}"/>

            <chat id="questions"
                productionData="{{questionsData}}" 
                title="答疑讨论"
                query="我有疑问"
                type="1"
                columnType="1"
                bind:myevent="onMyEvent"
                data-type="1"
                more="{{questionsMore}}"
                timeList="{{timeList}}"
                teacher="{{teacher}}"/>


            <view class="questions-one" class="questions-one" data-id="questions" bindtap="location">
                <image src="../image/q_discuss.png" ></image>
                <text class="row" wx:if="{{questionsdian > 0}}"></text>
            </view>
          </view>
      </scroll-view>
  </view>
  <view hidden="{{flag}}">
    <dialog bindmyevent="jurisdiction"/>
  </view>    
</view>