1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <!-- index.wxml -->
- <!-- <StatusBar receiveData="{{statusbarobj}}" grade="{{grade}}" bindgradeTap="gradeTap" /> -->
- <view class="change_grade" wx:if="{{isGradeShow}}">
- <view class="change_brage_wrapper">
- <text class="title">分龄选择</text>
- <view class="change_row">
- <view class="change_item" bindtap="changeGrade" data-code="0">
- 学前班
- </view>
- <view class="change_item" bindtap="changeGrade" data-code="1">
- 一年级
- </view>
- </view>
- <view class="change_row">
- <view class="change_item" bindtap="changeGrade" data-code="2">
- 二年级
- </view>
- <view class="change_item" bindtap="changeGrade" data-code="3">
- 三年级
- </view>
- </view>
- </view>
- </view>
- <view class="container">
- <!-- 引入组件 -->
- <!-- <import src="/component/group/group.wxml" /> -->
- <!-- <import src="/component/hot/hot.wxml" /> -->
- <!-- <import src="/component/follow/follow.wxml" /> -->
- <import src="/component/my/my.wxml" />
- <import src="/templates/courses/courses.wxml" />
-
- <!-- 顶部导航 -->
- <view class="top-tab">
- <block wx:for="{{tab}}" wx:key="{{index}}">
- <view class="tabbar {{index == myIndex ? 'select':' '}}" bindtap="switcher" data-index="{{index}}">
- <text>{{item.name}}</text>
- </view>
- </block>
- </view>
- <VideoSwiper
- wx:if="{{videoList.length > 0}}"
- class="video-swiper"
- video-list="{{videoList}}"
- nextMargin="{{nextMargin}}"
- bindopenComment="openComment"
- bindheadTap="headTapHandler"
- bindgoToReading="goToReading"
- >
- <!-- bindplay="onPlay"
- bindpause="onPause"
- bindtimeupdate="onTimeUpdate"
- bindended="onEnded"
- binderror="onError"
- bindwaiting="onWaiting"
- bindprogress="onProgress"
- bindloadedmetadata="onLoadedMetaData" -->
- </VideoSwiper>
- <!-- 调用组件 -->
- <template is="{{templates}}" wx:if="{{myIndex === 3 || myIndex === 2}}" data="{{myData: myData,coursesData:coursesData}}"></template>
- <view class="comment_section" catchtap="commentTap" data-type="blank" wx:if="{{commentShow}}">
- <Comment
- data-type="list"
- commentList = "{{commentList}}"
- commentNum ="{{commentNum}}"
- inputValue="{{inputValue}}"
- bindsendReply = "sendReply"
- />
- </view>
- </view>
- <!-- <MyToast /> -->
- <view hidden="{{hide}}">
- <Dialog bindmyevent="jurisdiction" />
- </view>
- <!-- <view class="index-dialog" wx:if="{{indexSignDialog}}">
- <form bindsubmit="signInBtn" report-submit="{{true}}" class="index-dialog-wrapper" >
- <view class="index-dialog-text">签到领取小红花哦</view>
- <view class="index-dialog-btn" >去签到</view>
- <button class="index-dialog-btn-hide" form-type="submit"></button>
- </form>
- </view> -->
- <!-- <view class="index-dialog" wx:if="{{indexMissionDialog}}">
- <view class="index-dialog-wrapper" bindtap="missionBtn" >
- <view class="index-dialog-text">还有<text class="red-text">{{unfinishedCount}}</text>个小红花任务哦</view>
- <view class="index-dialog-btn" >查看任务</view>
- </view>
- </view> -->
|