Commit e327287a authored by lvtz's avatar lvtz

fix wx:key at C

parent 7cc0764b
<wxs src="./../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="allsubjects-box">
<view class="unlock-item" wx:for="{{unlockList}}" wx:key="{{index}}" bindtap="goMoretheme" data-item="{{item}}">
<view class="unlock-item" wx:for="{{unlockList}}" wx:key="index" bindtap="goMoretheme" data-item="{{item}}">
<view class="top">
<view class="left">
关卡{{item.sort}}
......@@ -29,7 +29,7 @@
</view>
</view>
</view>
<view class="lock-item" wx:for="{{lockList}}" wx:key="{{index}}" bindtap="goMoretheme" data-item="{{item}}">
<view class="lock-item" wx:for="{{lockList}}" wx:key="index" bindtap="goMoretheme" data-item="{{item}}">
<view class="top" >
<view class="left" >
关卡{{item.sort}}
......@@ -39,7 +39,7 @@
</view>
</view>
</view>
<view class="lock-item" wx:for="{{unEditList}}" wx:key="{{index}}" data-item="{{item}}">
<view class="lock-item" wx:for="{{unEditList}}" wx:key="index" data-item="{{item}}">
<view class="top">
<view class="left">
关卡{{item}}
......
......@@ -90,7 +90,7 @@
<view class="weeks-box" >
<view class="item-box" >
<view class="item" wx:for="{{weeksArr}}"
wx:key="{{index}}">
wx:key="index">
<view class="week" >{{item.week}}</view>
<view
class="day {{!item.isClock&&item.isClockTime&&item.isToday?'noCclock':''}} {{item.isRise&&item.isClockTime?'isRise':''}} {{item.isSelect?'active':''}}"
......
......@@ -13,7 +13,7 @@
<view class="container" style="{{isMarketting&&noUserinfo ?' padding:70rpx 0 110rpx 0' : ''}}">
<!-- <view class="top-box" wx:if="{{isMarketting&&noUserinfo&&topBox}}">
<view class="avatar-box">
<image class="avatar" src="{{filter.imagify(item.avatar)}}" style="left: {{-12*index}}rpx;" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" wx:for="{{randomstudents}}" wx:key="{{index}}" wx:if="{{index<5}}"/>
<image class="avatar" src="{{filter.imagify(item.avatar)}}" style="left: {{-12*index}}rpx;" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" wx:for="{{randomstudents}}" wx:key="index" wx:if="{{index<5}}"/>
<image class="icon" style="left: {{randomstudents.length>5?(-12*5):(-12*(randomstudents.length))}}rpx;" src="{{imageRoot}}2c/clockdetail/dot.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
</view>
<view class="title">{{randomstudents.length}}人都在该机构学习</view>
......@@ -93,7 +93,7 @@
<view class="title">{{circleDetail.experience_class?circleDetail.experience_class:'毛笔软笔课程体验课'}}</view>
<view class="detail">
<view class="avatar-box">
<image class="avatar" src="{{filter.imagify(item.avatar)}}" style="left: {{-12*index}}rpx;" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" wx:for="{{randomstudents}}" wx:key="{{index}}" wx:if="{{index<5}}"/>
<image class="avatar" src="{{filter.imagify(item.avatar)}}" style="left: {{-12*index}}rpx;" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" wx:for="{{randomstudents}}" wx:key="index" wx:if="{{index<5}}"/>
</view>
<view class="num">目前已有{{randomstudents.length}}人领取!</view>
</view>
......@@ -237,11 +237,11 @@
</view>
</view>
</view> -->
<!-- <view class="new-footer-box" wx:if="{{isMarketting&&noUserinfo}}">
<view class="new-footer-box" wx:if="{{isMarketting&&noUserinfo}}">
<button class="" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" data-index="{{1}}"></button>
<view class="center animation">立即免费领取试听课</view>
<image class="footer-bg" src="" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
</view> -->
</view>
<!--
<view class="footer-box">
......
......@@ -183,7 +183,7 @@
<view class="remind-box" wx:if="{{tabStatus==2}}" bindtap="remindStudent" >提醒查看</view>
<scroll-view class="list-box" scroll-y="true" bindscrolltolower="studentScrolltolower">
<block wx:if="{{tabStatus==1}}">
<view class="list-item" wx:for="{{readList}}" wx:key="{{index}}">
<view class="list-item" wx:for="{{readList}}" wx:key="index">
<view class="info">
<image class="" src="{{filter.imagify(item.school_student.avatar, 'image/resize,w_160/format,jpg')}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
{{item.school_student.name}}
......@@ -193,7 +193,7 @@
</view>
</block>
<block wx:if="{{tabStatus==2}}">
<view class="list-item" wx:for="{{unReadList}}" wx:key="{{index}}">
<view class="list-item" wx:for="{{unReadList}}" wx:key="index">
<view class="info">
<image class="" src="{{filter.imagify(item.school_student.avatar, 'image/resize,w_160/format,jpg')}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
{{item.school_student.name}}
......
......@@ -36,7 +36,7 @@
<text class="word-count" selectable="false" space="false" decode="false">{{params.content.length}}/{{maxLength}}(不少于{{contentLimit.text}}个字)</text>
</view>
<view class="clearfix" >
<view class="imgandvideobox" wx:for="{{imageBox}}" wx:key="{{index}}" wx:if="{{imageBox.length > 0}}">
<view class="imgandvideobox" wx:for="{{imageBox}}" wx:key="index" wx:if="{{imageBox.length > 0}}">
<view class="clock-video-box" wx:if="{{item.type == 'video'}}">
<image class="media-box-video-item" src="{{imageRoot}}2c/common/videodefault.png" wx:if="{{item.status == 'fullfilled'}}" data-video="{{item}}" bindtap="playvideo"></image>
<image class="media-box-video-item" wx:if="{{item.status != 'fullfilled'}}" src="{{imageRoot}}2c/common/videodefault.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
......@@ -65,7 +65,7 @@
</view>
</view>
</view>
<view class="clock-radio-box" wx:for="{{audioInfo}}" wx:key="{{index}}" wx:for-item="audioitem">
<view class="clock-radio-box" wx:for="{{audioInfo}}" wx:key="index" wx:for-item="audioitem">
<!-- <view class="sjd-radio-box" >
<view
class="play-btn"
......
......@@ -8,7 +8,7 @@
</view>
<view class="clearfix">
<view class="imgandvideobox" wx:for="{{imageBox}}" wx:key="{{index}}" wx:if="{{imageBox.length > 0}}">
<view class="imgandvideobox" wx:for="{{imageBox}}" wx:key="index" wx:if="{{imageBox.length > 0}}">
<view class="clock-video-box" wx:if="{{item.type == 'video'}}">
<image class="media-box-video-item" src="{{imageRoot}}2c/common/videodefault.png" wx:if="{{item.status == 'fullfilled'}}" data-video="{{item}}" bindtap="playvideo"></image>
<image class="media-box-video-item" wx:if="{{item.status != 'fullfilled'}}" src="{{imageRoot}}2c/common/videodefault.png"></image>
......@@ -33,7 +33,7 @@
</view>
</view>
</view>
<view class="clock-radio-box" wx:for="{{audioInfo}}" wx:key="{{index}}">
<view class="clock-radio-box" wx:for="{{audioInfo}}" wx:key="index">
<view class="radio-box" >
<view class="sjd-small-radio-box mb24">
<image class="delicon" data-type="{{item.type}}" data-value="{{item.value}}" data-index="{{index}}" src="{{imageRoot}}2b/common/reddelicon.png?{{imageVersion}}" bindtap="delAudio"></image>
......
......@@ -60,7 +60,7 @@
<view class="swiper-box">
<swiper autoplay='true' vertical="{{true}}" autoplay="{{true}}" interval="1000" duration="500" circular="{{true}}" display-multiple-items="3" easing-function="easeInOutCubic" style="height:200rpx; ">
<swiper-item wx:for="{{randrankData}}" wx:key="{{index}}">
<swiper-item wx:for="{{randrankData}}" wx:key="index">
<view class="swiper-item">
<view class="swiper-title">{{item.nickname.length>10 ? filter.slice(item.nickname, 10) : item.nickname}}打卡成功,击败了<text class="percent">{{item.rank}}%</text>的同学</view>
<image class="icon" src="{{filter.imagify(item.avatar, 'image/resize,w_160/format,jpg')}}"></image>
......@@ -77,7 +77,7 @@
<view class="num">{{static.honor || 0}}勋章</view>
</view>
<view class="medal-right" >
<view class="medalimg medalimg{{item.honor_id}}" wx:for="{{honorsList}}" wx:key="{{index}}"><image class="newmodal" src="{{imageRoot}}{{item.src}}?{{imageVersion}}"></image><text class="num" wx:if="{{item.honor_count>1}}">×{{item.honor_count}}</text></view>
<view class="medalimg medalimg{{item.honor_id}}" wx:for="{{honorsList}}" wx:key="index"><image class="newmodal" src="{{imageRoot}}{{item.src}}?{{imageVersion}}"></image><text class="num" wx:if="{{item.honor_count>1}}">×{{item.honor_count}}</text></view>
</view>
</view>
......@@ -136,7 +136,7 @@
</view>
</view>
<view class="tab-box">
<view class="tab-item {{item.tabtype == curType? 'active': ''}}" data-type="{{item.tabtype}}" bindtap="bigTapEvent" wx:for="{{tabList}}" wx:key="">{{item.tabname}}</view>
<view class="tab-item {{item.tabtype == curType? 'active': ''}}" data-type="{{item.tabtype}}" bindtap="bigTapEvent" wx:for="{{tabList}}" wx:key="index">{{item.tabname}}</view>
</view>
<view class="sign-content" wx:if="{{bigtab == 2}}">
<view class="clock-list" wx:if="{{!emptyPage}}">
......
......@@ -12,7 +12,7 @@
</view>
</view>
<view class="joinerbox" wx:if="{{userList.length > 0}}">
<view class="joineravatarbox" wx:for="{{userList}}" wx:key="{{index}}">
<view class="joineravatarbox" wx:for="{{userList}}" wx:key="index">
<image class="joineravatar" src="{{filter.imagify(item, 'image/resize,w_320/format,jpg/quality,q_50')}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
</view>
</view>
......
......@@ -10,14 +10,14 @@
</view>
<view class="swiperbox" wx:if="{{params.type == 1}}">
<swiper style="height: 310rpx" bindchange="swiperChange" circular="true">
<swiper-item class="" item-id="" wx:for="{{params.banner}}" wx:key="{{index}}">
<swiper-item class="" item-id="" wx:for="{{params.banner}}" wx:key="index">
<image class="swiperimg" src="{{filter.imagify(item)}}" ></image>
</swiper-item>
</swiper>
</view>
<view class="proswiper" wx:if="{{params.type == 1}}">
<view class="swiperpagination">
<view class="dot {{swiperIndex == index ? 'active' : ''}}" wx:for="{{params.banner}}" wx:key="{{index}}"></view>
<view class="dot {{swiperIndex == index ? 'active' : ''}}" wx:for="{{params.banner}}" wx:key="index"></view>
</view>
</view>
<view class="prodetail" >
......
......@@ -31,7 +31,7 @@
<text class="areaname" selectable="false" space="false" decode="false">精选奖品</text>
</view>
<view class="prizecontent" wx:if="{{goodsList.length > 0}}">
<view class="prizecardbox {{(index+1)%2 == 1 ? 'odd' : 'even'}}" bindtap="goGoodDetail" data-id="{{item.id}}" wx:for="{{goodsList}}" wx:key="{{index}}">
<view class="prizecardbox {{(index+1)%2 == 1 ? 'odd' : 'even'}}" bindtap="goGoodDetail" data-id="{{item.id}}" wx:for="{{goodsList}}" wx:key="index">
<view class="prizecard" >
<image class="prizeimage" src="{{filter.imagify(item.cover, 'image/resize,w_320/format,jpg/quality,q_50')}}"></image>
<view class="prizename" >{{item.title}}</view>
......@@ -50,7 +50,7 @@
<text class="areaname" selectable="false" space="false" decode="false">优惠卡券</text>
</view>
<view class="couponcontent" wx:if="{{couponList.length > 0}}">
<view class="couponcardbox {{(index+1)%2 == 1 ? 'odd' : 'even'}} {{couponList.length==1? 'no-border':''}}" bindtap="goGoodDetail" data-id="{{item.id}}" wx:for="{{couponList}}" wx:key="{{index}}">
<view class="couponcardbox {{(index+1)%2 == 1 ? 'odd' : 'even'}} {{couponList.length==1? 'no-border':''}}" bindtap="goGoodDetail" data-id="{{item.id}}" wx:for="{{couponList}}" wx:key="index">
<view class="couponcard" >
<view class="couponitem" >
<image class="couponbg" src="{{imageRoot}}2c/mall/cardbgred.png?{{imageVersion}}"></image>
......
......@@ -63,7 +63,7 @@
<view
class="card-item {{item.my_clock_count>0?'over-bg':''}} {{item.my_unlock_count>0&&item.my_clock_count<=0?'noclock-bg':''}} {{item.id==themeSelect.id&&item.my_clock_count>0?'act-bg':''}} {{item.id==themeSelect.id&&item.my_unlock_count>0&&item.my_clock_count<=0?'act-border':''}}"
wx:for="{{subjectsList}}"
wx:key="{{index}}" data-item="{{item}}" data-index="{{index}}" bindtap="handleOrder">{{index+1}}<image binderror="" bindload="" class="" lazy-load=""
wx:key="index" data-item="{{item}}" data-index="{{index}}" bindtap="handleOrder">{{index+1}}<image binderror="" bindload="" class="" lazy-load=""
src="{{imageRoot}}morethemeindex/clock-bg.png?{{imageVersion}}"
wx:if="{{item.my_unlock_count==0 || !item}}"></image>
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
......@@ -81,7 +81,7 @@
<swiper-item style="display:flex; flex-wrap:wrap;">
<view class="card-item {{item.id==themeSelect.id&&item.my_clock_count<=0?'act-border':''}}"
bindtap="handleArbitrarily" wx:for="{{listItem}}"
wx:key="{{index}}" data-item="{{item}}">
wx:key="index" data-item="{{item}}">
<image binderror="" bindload="" class="" lazy-load=""
wx:if="{{item.my_clock_count>0&&item.id!=themeSelect.id}}"
src="{{imageRoot}}morethemeindex/f-done.png?{{imageVersion}}"></image>
......
......@@ -18,7 +18,7 @@
scroll-x="{{true}}"
style="width: auto;overflow:hidden;"
>
<view class="certificatebox" wx:for="{{cerBooks}}" wx:key="{{index}}" data-posterdata="{{item}}" bindtap="graduatePoster">
<view class="certificatebox" wx:for="{{cerBooks}}" wx:key="index" data-posterdata="{{item}}" bindtap="graduatePoster">
<image class="bg" src="{{imageRoot}}2c/graduateposter/bg.png?{{imageVersion}}"></image>
<image class="avatar" src="{{filter.imagify(item.avatar, 'image/resize,w_320/format,jpg/quality,q_50')}}"></image>
<view class="nickname" >{{item.nickname}}</view>
......@@ -38,7 +38,7 @@
<view class="box-title" >勋章</view>
<view class="emptybox" wx:if="{{honorsList.length==0}}" style="height: 120rpx;">暂无勋章</view>
<view class="content-box" wx:if="{{honorsList.length>0}}">
<view class="item-box" wx:for="{{honorsList}}" wx:key="{{index}}">
<view class="item-box" wx:for="{{honorsList}}" wx:key="index">
<view class="num"><text>x</text>{{item.honor_count}}</view>
<view class="img"><image class="newmodal" src="{{imageRoot}}{{item.src}}?{{imageVersion}}"></image></view>
<view class="text">{{item.name}}</view>
......
......@@ -13,7 +13,7 @@
<view class="commonlist-bigwrap" wx:if="{{courseTatal>0}}">
<view class="commonlist-box">
<block wx:for="{{courseList}}" wx:for-item="bigitem" wx:key="bigindex" wx:for-index="bigindex">
<view class="commonlist-item" wx:for="{{bigitem}}" wx:for-item="item" data-theme="{{item}}" bindtap="" wx:key="{{index}}">
<view class="commonlist-item" wx:for="{{bigitem}}" wx:for-item="item" data-theme="{{item}}" bindtap="" wx:key="index">
<view class="item-titlebox">
<view class="item-title">{{item.course.title}}</view>
</view>
......
......@@ -17,13 +17,13 @@
<!-- <view class="header-box-fixed" hover-class="none" hover-stop-propagation="false" style="height:{{250 + statusBarHeight}}rpx;" hidden="{{headerBoxType == 1}}">
<view class="title" style="padding-top:{{statusBarHeight}}px; line-height: {{titleBarHeight}}px">我的影响力</view>
<view class="tab-list">
<view class="tab-item {{index == acIndex? 'act-tab' :''}}" wx:for="{{tabList}}" wx:key="{{index}}" data-index="{{index}}" bindtap="tabHandle">{{item.name}}<view class="act-line" wx:if="{{index == acIndex}}"></view></view>
<view class="tab-item {{index == acIndex? 'act-tab' :''}}" wx:for="{{tabList}}" wx:key="index" data-index="{{index}}" bindtap="tabHandle">{{item.name}}<view class="act-line" wx:if="{{index == acIndex}}"></view></view>
</view>
</view> -->
<view class="{{headerBoxType == 1 ? 'header-box' : 'header-box-fixed'}}" style="height:{{headerBoxType == 1 ? 400 + statusBarHeight : 250 + statusBarHeight}}rpx;">
<view id="tab-list-title" class="title" style="padding-top:{{headerBoxType == 1 ? statusBarHeight + titleBarHeight + 12 : statusBarHeight}}px; line-height: {{headerBoxType == 1 ? '' : titleBarHeight}}px">我的影响力</view>
<view class="tab-list" id="tab-list-box">
<view class="tab-item {{index == acIndex? 'act-tab' :''}}" wx:for="{{tabList}}" wx:key="{{index}}" data-index="{{index}}" bindtap="tabHandle">{{item.name}}<view class="act-line" wx:if="{{index == acIndex}}"></view></view>
<view class="tab-item {{index == acIndex? 'act-tab' :''}}" wx:for="{{tabList}}" wx:key="index" data-index="{{index}}" bindtap="tabHandle">{{item.name}}<view class="act-line" wx:if="{{index == acIndex}}"></view></view>
</view>
</view>
<view class="contnet-box view-box" hidden="{{acIndex!=0}}">
......
......@@ -29,7 +29,7 @@
<view class="contentbox">
<view class="mynotice-container" wx:if="{{currentType == 2}}">
<block wx:if="{{!emptyPage}}">
<view class="examinelist-item" wx:for="{{likeNoticeList}}" wx:key="{{index}}" bindtap="goClockDetail" data-item="{{item}}">
<view class="examinelist-item" wx:for="{{likeNoticeList}}" wx:key="index" bindtap="goClockDetail" data-item="{{item}}">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
......@@ -51,7 +51,7 @@
<view class="themenotice-container" wx:if="{{currentType == 1}}">
<block wx:if="{{!emptyPage}}">
<view class="themenotice-item"wx:for="{{noticeList}}" wx:key="{{index}}" bindtap="goThemeDetail" data-subjecttype="{{item.subject_type}}" data-id="{{item.class_id}}" data-tid="{{item.id}}" data-item="{{item}}">
<view class="themenotice-item"wx:for="{{noticeList}}" wx:key="index" bindtap="goThemeDetail" data-subjecttype="{{item.subject_type}}" data-id="{{item.class_id}}" data-tid="{{item.id}}" data-item="{{item}}">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
......
......@@ -7,7 +7,7 @@
<view class="commonlist-bigwrap" wx:if="{{courseTatol>0}}">
<view class="commonlist-box">
<block wx:for="{{courseList}}" wx:for-item="bigitem" wx:key="bigindex" wx:for-index="bigindex">
<view class="commonlist-item" wx:for="{{bigitem}}" wx:for-item="item" data-theme="{{item}}" wx:key="{{index}}">
<view class="commonlist-item" wx:for="{{bigitem}}" wx:for-item="item" data-theme="{{item}}" wx:key="index">
<view class="item-titlebox">
<view class="item-title">{{item.course.title}}</view>
<view class="state-box" wx:if="{{item.call_time}}">
......@@ -136,7 +136,7 @@
<view class="modal-content">
<scroll-view class="record-list" scroll-y="{{true}}" lower-threhold="200" bindscrolltolower="scrolltolowerLeaves" wx:if="{{leavesTotal>0}}">
<block wx:for="{{leaves}}" wx:for-item="bigitem" wx:key="bigindex" wx:for-index="bigindex">
<view class="record-item" wx:for="{{bigitem}}" wx:for-item="item" data-leave="{{item}}" wx:key="{{index}}">
<view class="record-item" wx:for="{{bigitem}}" wx:for-item="item" data-leave="{{item}}" wx:key="index">
<view class="item-status status-wait" wx:if="{{item.status==1}}">待审批</view>
<view class="item-status status-back" wx:if="{{item.status==2}}">已撤销</view>
<view class="item-status status-pass" wx:if="{{item.status==3}}">已通过</view>
......
......@@ -101,7 +101,7 @@
<view class="modal-content">
<scroll-view class="record-list" scroll-y="{{true}}" lower-threhold="200" bindscrolltolower="scrolltolowerLeaves" wx:if="{{leavesTotal>0}}">
<block wx:for="{{leaves}}" wx:for-item="bigitem" wx:key="bigindex" wx:for-index="bigindex">
<view class="record-item" wx:for="{{bigitem}}" wx:for-item="item" data-leave="{{item}}" wx:key="{{index}}">
<view class="record-item" wx:for="{{bigitem}}" wx:for-item="item" data-leave="{{item}}" wx:key="index">
<view class="item-status status-wait" wx:if="{{item.status==1}}">待审批</view>
<view class="item-status status-back" wx:if="{{item.status==2}}">已撤销</view>
<view class="item-status status-pass" wx:if="{{item.status==3}}">已通过</view>
......
......@@ -16,7 +16,7 @@
<view class="container-inner">
<view class="circlelist-content" wx:if="{{!emptyPage}}">
<block wx:for="{{mixedthemeList}}" wx:for-item="bigitem" wx:key="bigindex" wx:for-index="bigindex">
<view class="circle-item" wx:for="{{bigitem}}" wx:for-item="item" data-theme="{{item}}" bindtap="goClock" wx:key="{{index}}">
<view class="circle-item" wx:for="{{bigitem}}" wx:for-item="item" data-theme="{{item}}" bindtap="goClock" wx:key="index">
<view class="class-title">{{item.class.title}}</view>
<view class="content-box {{item.subject_type==2 && statusType==1?'rili':''}}">
<block wx:if="{{item.subject_type == 1}}">
......
......@@ -1731,7 +1731,7 @@ Page({
let myWallListIndex = data.list.findIndex(ele => ele.student_id == app.globalData.currentSchoolStudentId)
this.setData({
wallList: data.list.splice(0,9) || [],
myWallList,
myWallList: myWallList || [],
myWallListIndex
})
}
......
......@@ -204,7 +204,7 @@
</view>
<view class="list-content">
<block wx:if="{{wallList && wallList.length>3}}">
<view class="honor-list-item" wx:for="{{wallList}}" wx:key="{{index}}" wx:if="{{index>2}}">
<view class="honor-list-item" wx:for="{{wallList}}" wx:key="index" wx:if="{{index>2}}">
<view class="left">
<view class="ranking-number">{{index+1}}</view>
<view class="avatar-box" bindtap="goGrowthRecord" data-item="{{item}}" data-type="wall">
......@@ -270,7 +270,7 @@
</view>
<view class="list-content">
<block wx:if="{{hotRankingList && hotRankingList.length>3}}">
<view class="honor-list-item" wx:for="{{hotRankingList}}" wx:key="{{index}}" wx:if="{{index>2}}">
<view class="honor-list-item" wx:for="{{hotRankingList}}" wx:key="index" wx:if="{{index>2}}">
<view class="left">
<view class="ranking-number">{{index+1}}</view>
<view class="avatar-box" bindtap="goGrowthRecord" data-item="{{item}}" data-type="like">
......@@ -337,7 +337,7 @@
</view>
<view class="list-content">
<block wx:if="{{daysTop && daysTop.length>3}}">
<view class="honor-list-item" wx:for="{{daysTop}}" wx:key="{{index}}" wx:if="{{index>2}}">
<view class="honor-list-item" wx:for="{{daysTop}}" wx:key="index" wx:if="{{index>2}}">
<view class="left">
<view class="ranking-number">{{index+1}}</view>
<view class="avatar-box" bindtap="goGrowthRecord" data-item="{{item}}" data-type="insist">
......
......@@ -2,7 +2,7 @@
<view class="container">
<view class="themeranklistcontainer" wx:if="{{rankingTotal>0}}">
<block wx:for="{{rankingList}}" wx:for-item="bigitem" wx:key="bigindex" wx:for-index="bigindex">
<view class="rankitem {{index==0 ? 'no1' : (index==1 ? 'no2' : (index==2 ? 'no3' : ''))}}" wx:for="{{bigitem}}" wx:key="{{index}}">
<view class="rankitem {{index==0 ? 'no1' : (index==1 ? 'no2' : (index==2 ? 'no3' : ''))}}" wx:for="{{bigitem}}" wx:key="index">
<view class="left">
<view class="indexbox">
<image class="indeximg" wx:if="{{bigindex==0 && index==0}}" src="{{imageRoot}}2c/rankinglist/themeno1.png?{{imageVersion}}"></image>
......
......@@ -123,7 +123,7 @@
</view>
<view class="ranklistbox">
<view class="" wx:if="{{!totalEmpty}}">
<view class="rankingList-item" wx:for="{{totalList}}" wx:key="{{index}}">
<view class="rankingList-item" wx:for="{{totalList}}" wx:key="index">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
......@@ -170,7 +170,7 @@
</view>
</view>
<view class="ranklistbox" wx:if="{{!liketotalEmpty}}">
<view class="rankingList-item" wx:for="{{liketotalList}}" wx:key="{{index}}">
<view class="rankingList-item" wx:for="{{liketotalList}}" wx:key="index">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
......@@ -219,7 +219,7 @@
</view>
</view>
<view class="ranklistbox" wx:if="{{!pointsTotalEmpty}}">
<view class="rankingList-item" wx:for="{{pointsTotalList}}" wx:key="{{index}}">
<view class="rankingList-item" wx:for="{{pointsTotalList}}" wx:key="index">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
......
......@@ -13,7 +13,7 @@
<view class="classselectedmodal" hidden="{{!classesShow}}">
<view class="modalmask"></view>
<view class="classbox">
<view class="classitem" bindtap="sureSelect" data-classitem="{{item}}" wx:for="{{classList}}" wx:key="{{index}}">
<view class="classitem" bindtap="sureSelect" data-classitem="{{item}}" wx:for="{{classList}}" wx:key="index">
<view class="classitemname">{{item.title}}</view>
<image class="selecticon" wx:if="{{item.id == id}}" src="{{imageRoot}}2b/circleindex/rightblack.png?{{imageVersion}}" ></image>
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
......@@ -25,7 +25,7 @@
<view class="taskbox" wx:if="{{!taskemptyPage}}">
<view class="task-list">
<view class="task-item" wx:for="{{taskList}}" wx:key="{{index}}" data-task="{{item}}" bindtap="goClock" style="position: relative">
<view class="task-item" wx:for="{{taskList}}" wx:key="index" data-task="{{item}}" bindtap="goClock" style="position: relative">
<view class="circle-item rili" wx:if="{{item.subject_type == 2}}">
<image class="rilibg" src="{{imageRoot}}2c/circleindex/rili.png?{{imageVersion}}" ></image>
<view class="circlename">{{item.title}}</view>
......
......@@ -12,7 +12,7 @@
<view class="student-name" wx:if="{{studentList.length>0}}">
<view class="title">相关联的学员</view>
<view class="name-box">
<view class="name" wx:for="{{studentList}}" wx:key="{{index}}">{{item.name}}{{index+1 >= studentList.length ? '' :'、'}}</view>
<view class="name" wx:for="{{studentList}}" wx:key="index">{{item.name}}{{index+1 >= studentList.length ? '' :'、'}}</view>
</view>
</view>
<form bindsubmit="bindMobileSubmit" report-submit="true">
......
......@@ -27,7 +27,7 @@
<view class="content-box">
<view class="title">切换学员</view>
<view class="center">
<view class="item" bindtap="selectStudent" wx:for="{{identityList}}" wx:key="{{index}}" data-index="{{index}}">
<view class="item" bindtap="selectStudent" wx:for="{{identityList}}" wx:key="index" data-index="{{index}}">
<view class="icon {{actIndex == index ? 'act-icon' : ''}}">
<view class="before"></view>
</view>
......
......@@ -13,7 +13,7 @@
<view class="rule-box">闯关规则:每日可闯{{moreTheme.unlock_limit || 0}}关;每关最多挑战{{moreTheme.max_clock_count || 0}}次</view>
</view>
<view class="content-box1 content-box2" wx:if="{{tabIndex==1}}">
<view class="list-item" wx:for="{{subjects}}" wx:key="{{index}}">{{item.title}}</view>
<view class="list-item" wx:for="{{subjects}}" wx:key="index">{{item.title}}</view>
</view>
</view>
<view class="footer-box" bindtap="goMoretheme">
......
......@@ -2,7 +2,7 @@
<wxs src="./../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="" wx:if="{{!emptyPage}}">
<view class="" wx:for="{{taskList}}" wx:key="{{index}}" data-task="{{item}}" bindtap="goClock" style="position: relative">
<view class="" wx:for="{{taskList}}" wx:key="index" data-task="{{item}}" bindtap="goClock" style="position: relative">
<view class="circle-item rili mb24" wx:if="{{item.subject_type == 2}}">
<image class="rilibg" src="{{imageRoot}}2c/circleindex/rili.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<view class="circlename" >{{item.title}}</view>
......
......@@ -88,7 +88,7 @@
</view>
</view>
<view class="ranklistbox" wx:if="{{!liketotalEmpty}}">
<view class="rankingList-item" wx:for="{{liketotalList}}" wx:key="{{index}}">
<view class="rankingList-item" wx:for="{{liketotalList}}" wx:key="index">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
......
......@@ -28,7 +28,7 @@
</wxs>
<view class="container">
<view class="themeranklistcontainer" wx:if="{{!emptyPage}}">
<view class="rankitem {{index==0 ? 'no1' : (index==1 ? 'no2' : (index==2 ? 'no3' : ''))}}" wx:for="{{rankList}}" wx:key="{{index}}">
<view class="rankitem {{index==0 ? 'no1' : (index==1 ? 'no2' : (index==2 ? 'no3' : ''))}}" wx:for="{{rankList}}" wx:key="index">
<view class="left">
<view class="indexbox">
<image class="indeximg" wx:if="{{index==0}}" src="{{imageRoot}}2c/rankinglist/themeno1.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="">=</image>
......
<wxs src="./../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="ranklistcontainer" wx:if="{{!emptyPage}}">
<view class="rankitem {{index==0 ? 'no1' : (index==1 ? 'no2' : (index==2 ? 'no3' : ''))}}" wx:for="{{rankList}}" wx:key="{{index}}">
<view class="rankitem {{index==0 ? 'no1' : (index==1 ? 'no2' : (index==2 ? 'no3' : ''))}}" wx:for="{{rankList}}" wx:key="index">
<view class="left" >
<view class="indexbox" >
<image class="indeximg" wx:if="{{index==0}}" src="{{imageRoot}}2c/rankinglist/themeno1.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="">=</image>
<image class="indeximg" wx:if="{{index==1}}" src="{{imageRoot}}2c/rankinglist/themeno2.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="">=</image>
<image class="indeximg" wx:if="{{index==2}}" src="{{imageRoot}}2c/rankinglist/themeno3.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="">=</image>
<image class="indeximg" wx:if="{{index==0}}" src="{{imageRoot}}2c/rankinglist/themeno1.png?{{imageVersion}}">=</image>
<image class="indeximg" wx:if="{{index==1}}" src="{{imageRoot}}2c/rankinglist/themeno2.png?{{imageVersion}}">=</image>
<image class="indeximg" wx:if="{{index==2}}" src="{{imageRoot}}2c/rankinglist/themeno3.png?{{imageVersion}}">=</image>
<text class="" selectable="false" wx:if="{{index>2}}" space="false" decode="false">{{index + 1}}</text>
</view>
<view class="userinfo" >
<image class="avator" src="{{filter.imagify(item.avatar, 'image/resize,w_160/format,jpg')}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="avator" src="{{filter.imagify(item.avatar, 'image/resize,w_160/format,jpg')}}" ></image>
<view class="namebox" >
<view class="name" >{{item.nickname}}</view>
</view>
......
......@@ -15,7 +15,7 @@
</view>
<view class="concent-box">
<view class="concent-box-item" wx:for="{{medalImgMap}}"
wx:key="{{index}}">
wx:key="index">
<image src="{{userData.clock_day>=item.day?item.lingt:item.dark}}"></image>
<view class="header-box-item-txt" style="{{userData.clock_day>=item.day?'':'color:rgba(221,221,221,1)'}}">
坚持打卡<text>{{item.day}}</text>次
......
......@@ -4,7 +4,7 @@
<view class="comment-box" >
<view class="item-box" wx:if="{{!teacherEmpty&&teacherComment}}">
<view class="img-box" >
<image class="" src="{{filter.imagify(teacherComment.avatar)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="" src="{{filter.imagify(teacherComment.avatar)}}" ></image>
</view>
<view class="content-box" >
<view class="name-box" >
......@@ -13,13 +13,13 @@
</view>
<view class="content-text" >{{teacherComment.content}}</view>
<view class="content-img" >
<image class="" data-src="{{filter.imagify(item.src)}}" src="{{filter.imagify(item.src)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" bindtap="prevImg" wx:for="{{teacherComment.img}}" wx:key="{{index}}"></image>
<image class="" data-src="{{filter.imagify(item.src)}}" src="{{filter.imagify(item.src)}}" bindtap="prevImg" wx:for="{{teacherComment.img}}" wx:key="index"></image>
</view>
</view>
</view>
<view class="item-box" wx:for="{{commentList}}" wx:key="{{index}}" wx:if="{{!emptyPage}}">
<view class="item-box" wx:for="{{commentList}}" wx:key="index" wx:if="{{!emptyPage}}">
<view class="img-box" >
<image class="" src="{{filter.imagify(item.avatar)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="" src="{{filter.imagify(item.avatar)}}" ></image>
</view>
<view class="content-box" >
<view class="name-box" >
......
......@@ -76,11 +76,11 @@
poster="{{filter.videoPoster(playitem.video)}}"
wx:if="{{playitem.type==2 &&!videoStatus['video'+playindex].isplay}}"
>
<image class="video-play-icon" src="{{imageRoot}}2c/websiteindex/bigplay.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="video-play-icon" src="{{imageRoot}}2c/websiteindex/bigplay.png?{{imageVersion}}" ></image>
</view>
</view>
<swiper indicator-dots="{{false}}" current="{{innerCurrent[playindex]?innerCurrent[playindex]:0}}" bindchange="innerCurrentChange" style="height:100vh;" wx:if="{{playitem.type==1}}" data-index="{{playindex}}">
<block wx:for="{{filter.jsonParse(playitem.content)}}" wx:key="{{index}}">
<block wx:for="{{filter.jsonParse(playitem.content)}}" wx:key="index">
<swiper-item>
<image src="{{filter.imagify(item)}}" class="slide-image" style="height:100vh; width: 100%"></image>
</swiper-item>
......@@ -174,7 +174,7 @@
<view class="comment-box" >
<!-- <view class="item-box" wx:if="{{!teacherEmpty&&teacherComment}}">
<view class="img-box" >
<image class="" src="{{filter.imagify(teacherComment.avatar)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="" src="{{filter.imagify(teacherComment.avatar)}}" ></image>
</view>
<view class="content-box" >
<view class="name-box" >
......@@ -183,7 +183,7 @@
</view>
<view class="content-text" >{{teacherComment.content}}</view>
<view class="content-img" >
<image class="" src="{{filter.imagify(item.src)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" wx:for="{{teacherComment.img}}" wx:key="{{index}}"></image>
<image class="" src="{{filter.imagify(item.src)}}" mode="aspectFit|aspectFill|widthFix" wx:for="{{teacherComment.img}}" wx:key="index"></image>
</view>
</view>
</view> -->
......@@ -196,9 +196,9 @@
id="scrollview"
lower-threshold="100"
>
<view class="item-box" wx:for="{{commentList}}" wx:key="{{index}}">
<view class="item-box" wx:for="{{commentList}}" wx:key="index">
<view class="img-box" >
<image class="" src="{{filter.imagify(item.comment_user.avatar)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="" src="{{filter.imagify(item.comment_user.avatar)}}" ></image>
</view>
<view class="content-box" >
<view class="name-box" >
......@@ -224,10 +224,10 @@
<view class="score-get-feedback" wx:if="{{scorefeedbackshow}}">
<view class="score-get-mask" ></view>
<view class="score-get-type-a" >
<!-- <image class="close" bindtap="closefeedback" src="{{imageRoot}}2c/scoregetaction/close.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image> -->
<!-- <image class="close" bindtap="closefeedback" src="{{imageRoot}}2c/scoregetaction/close.png?{{imageVersion}}" ></image> -->
<view class="title" >预约成功</view>
<image class="lightbg" src="{{imageRoot}}2c/scoregetaction/lightbg.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="yes-icon" src="{{imageRoot}}2c/websiteindex/yes.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="lightbg" src="{{imageRoot}}2c/scoregetaction/lightbg.png?{{imageVersion}}" ></image>
<image class="yes-icon" src="{{imageRoot}}2c/websiteindex/yes.png?{{imageVersion}}" ></image>
<view class="text1" >请尽早到店进行体验</view>
<view class="text2" >机构可能会来电确认到店时间,尽请留意</view>
</view>
......
......@@ -76,11 +76,11 @@
poster="{{filter.videoPoster(playitem.video)}}"
wx:if="{{playitem.type==2 &&!videoStatus['video'+playindex].isplay}}"
>
<image class="video-play-icon" src="{{imageRoot}}2c/websiteindex/bigplay.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="video-play-icon" src="{{imageRoot}}2c/websiteindex/bigplay.png?{{imageVersion}}" ></image>
</view>
</view>
<swiper indicator-dots="{{false}}" current="{{innerCurrent[playindex]?innerCurrent[playindex]:0}}" bindchange="innerCurrentChange" style="height:100vh;" wx:if="{{playitem.type==1}}" data-index="{{playindex}}">
<block wx:for="{{filter.jsonParse(playitem.content)}}" wx:key="{{index}}">
<block wx:for="{{filter.jsonParse(playitem.content)}}" wx:key="index">
<swiper-item>
<image src="{{filter.imagify(item)}}" class="slide-image" style="height:100vh; width: 100%"></image>
</swiper-item>
......@@ -174,7 +174,7 @@
<view class="comment-box" >
<!-- <view class="item-box" wx:if="{{!teacherEmpty&&teacherComment}}">
<view class="img-box" >
<image class="" src="{{filter.imagify(teacherComment.avatar)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="" src="{{filter.imagify(teacherComment.avatar)}}" ></image>
</view>
<view class="content-box" >
<view class="name-box" >
......@@ -183,7 +183,7 @@
</view>
<view class="content-text" >{{teacherComment.content}}</view>
<view class="content-img" >
<image class="" src="{{filter.imagify(item.src)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" wx:for="{{teacherComment.img}}" wx:key="{{index}}"></image>
<image class="" src="{{filter.imagify(item.src)}}" wx:for="{{teacherComment.img}}" wx:key="index"></image>
</view>
</view>
</view> -->
......@@ -196,9 +196,9 @@
id="scrollview"
lower-threshold="100"
>
<view class="item-box" wx:for="{{commentList}}" wx:key="{{index}}">
<view class="item-box" wx:for="{{commentList}}" wx:key="index">
<view class="img-box" >
<image class="" src="{{filter.imagify(item.comment_user.avatar)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="" src="{{filter.imagify(item.comment_user.avatar)}}" ></image>
</view>
<view class="content-box" >
<view class="name-box" >
......@@ -224,10 +224,10 @@
<view class="score-get-feedback" wx:if="{{scorefeedbackshow}}">
<view class="score-get-mask" ></view>
<view class="score-get-type-a" >
<!-- <image class="close" bindtap="closefeedback" src="{{imageRoot}}2c/scoregetaction/close.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image> -->
<!-- <image class="close" bindtap="closefeedback" src="{{imageRoot}}2c/scoregetaction/close.png?{{imageVersion}}" ></image> -->
<view class="title" >预约成功</view>
<image class="lightbg" src="{{imageRoot}}2c/scoregetaction/lightbg.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="yes-icon" src="{{imageRoot}}2c/websiteindex/yes.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="lightbg" src="{{imageRoot}}2c/scoregetaction/lightbg.png?{{imageVersion}}" ></image>
<image class="yes-icon" src="{{imageRoot}}2c/websiteindex/yes.png?{{imageVersion}}" ></image>
<view class="text1" >请尽早到店进行体验</view>
<view class="text2" >机构可能会来电确认到店时间,尽请留意</view>
</view>
......
......@@ -76,11 +76,11 @@
poster="{{filter.videoPoster(playitem.video)}}"
wx:if="{{playitem.type==2 &&!videoStatus['video'+playindex].isplay}}"
>
<image class="video-play-icon" src="{{imageRoot}}2c/websiteindex/bigplay.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="video-play-icon" src="{{imageRoot}}2c/websiteindex/bigplay.png?{{imageVersion}}" ></image>
</view>
</view>
<swiper indicator-dots="{{false}}" current="{{innerCurrent[playindex]?innerCurrent[playindex]:0}}" bindchange="innerCurrentChange" style="height:100vh;" wx:if="{{playitem.type==1}}" data-index="{{playindex}}">
<block wx:for="{{filter.jsonParse(playitem.content)}}" wx:key="{{index}}">
<block wx:for="{{filter.jsonParse(playitem.content)}}" wx:key="index">
<swiper-item>
<image src="{{filter.imagify(item)}}" class="slide-image" style="height:100vh; width: 100%"></image>
</swiper-item>
......@@ -174,7 +174,7 @@
<view class="comment-box" >
<!-- <view class="item-box" wx:if="{{!teacherEmpty&&teacherComment}}">
<view class="img-box" >
<image class="" src="{{filter.imagify(teacherComment.avatar)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="" src="{{filter.imagify(teacherComment.avatar)}}" ></image>
</view>
<view class="content-box" >
<view class="name-box" >
......@@ -183,7 +183,7 @@
</view>
<view class="content-text" >{{teacherComment.content}}</view>
<view class="content-img" >
<image class="" src="{{filter.imagify(item.src)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" wx:for="{{teacherComment.img}}" wx:key="{{index}}"></image>
<image class="" src="{{filter.imagify(item.src)}}" wx:for="{{teacherComment.img}}" wx:key="index"></image>
</view>
</view>
</view> -->
......@@ -196,9 +196,9 @@
id="scrollview"
lower-threshold="100"
>
<view class="item-box" wx:for="{{commentList}}" wx:key="{{index}}">
<view class="item-box" wx:for="{{commentList}}" wx:key="index">
<view class="img-box" >
<image class="" src="{{filter.imagify(item.comment_user.avatar)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="" src="{{filter.imagify(item.comment_user.avatar)}}" ></image>
</view>
<view class="content-box" >
<view class="name-box" >
......@@ -224,10 +224,10 @@
<view class="score-get-feedback" wx:if="{{scorefeedbackshow}}">
<view class="score-get-mask" ></view>
<view class="score-get-type-a" >
<!-- <image class="close" bindtap="closefeedback" src="{{imageRoot}}2c/scoregetaction/close.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image> -->
<!-- <image class="close" bindtap="closefeedback" src="{{imageRoot}}2c/scoregetaction/close.png?{{imageVersion}}" ></image> -->
<view class="title" >预约成功</view>
<image class="lightbg" src="{{imageRoot}}2c/scoregetaction/lightbg.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="yes-icon" src="{{imageRoot}}2c/websiteindex/yes.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="lightbg" src="{{imageRoot}}2c/scoregetaction/lightbg.png?{{imageVersion}}" ></image>
<image class="yes-icon" src="{{imageRoot}}2c/websiteindex/yes.png?{{imageVersion}}" ></image>
<view class="text1" >请尽早到店进行体验</view>
<view class="text2" >机构可能会来电确认到店时间,尽请留意</view>
</view>
......
......@@ -4,8 +4,8 @@
<view class="top-box">
<view class="media-box">
<view class="media-wrapper"></view>
<image class="poster" src="{{filter.imagify(coursesDetail.cover, 'image/resize,w_400/format,jpg/quality,q_60')}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" wx:if="{{coursesDetail.cover}}"/>
<image class="poster" src="{{filter.imagify('qingxiao/biz/image/course/courseDefaultImg.png')}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" wx:else/>
<image class="poster" src="{{filter.imagify(coursesDetail.cover, 'image/resize,w_400/format,jpg/quality,q_60')}}" wx:if="{{coursesDetail.cover}}"/>
<image class="poster" src="{{filter.imagify('qingxiao/biz/image/course/courseDefaultImg.png')}}" wx:else/>
<view class="bottom-line">
<view class="left">{{coursesDetail.visit_pv_count}}次播放</view>
<view class="right">永久回听</view>
......@@ -15,7 +15,7 @@
<view class="title">{{coursesDetail.title}}</view>
<view class="subtitle">{{coursesDetail.remark}}</view>
</view>
<view class="phase-count"> <image class="" src="{{imageRoot}}2c/websiteindex/bookicon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" /> 已更新{{coursesDetail.sub_courses_count}}期</view>
<view class="phase-count"> <image class="" src="{{imageRoot}}2c/websiteindex/bookicon.png?{{imageVersion}}" /> 已更新{{coursesDetail.sub_courses_count}}期</view>
</view>
<view class="line-16"></view>
<view class="content-box">
......@@ -25,20 +25,20 @@
</view>
<view slot="tab-right">
<view class="tab-item {{curTabIndex == 1 ? 'act-tab' : ''}}" data-index="{{1}}">目录
<image data-index="{{1}}" class="" src="{{imageRoot}}2c/websiteindex/{{curTabIndex == 1 ? ( catalogSort == 1 ? 'sortupicon' : 'light-catalog') : ( catalogSort == 1 ? 'sortupdark' : 'dark-catalog' )}}.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image data-index="{{1}}" class="" src="{{imageRoot}}2c/websiteindex/{{curTabIndex == 1 ? ( catalogSort == 1 ? 'sortupicon' : 'light-catalog') : ( catalogSort == 1 ? 'sortupdark' : 'dark-catalog' )}}.png" />
<view class="sort-dailog" wx:if="{{sortDailogShow}}">
<image class="sort-bg" src="{{imageRoot}}2c/websiteindex/sortbg.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="sort-bg" src="{{imageRoot}}2c/websiteindex/sortbg.png?{{imageVersion}}" />
<view class="sort-item1 {{catalogSort == 1 ? 'actSort' :''}}" data-sortindex="{{1}}" bindtap="catlogSortChange">正序</view>
<view class="sort-item2 {{catalogSort == 2 ? 'actSort' :''}}" data-sortindex="{{2}}" bindtap="catlogSortChange">倒序</view>
</view>
</view>
</view>
<view slot="tcontent-left" class="introduction">
<block wx:for="{{coursesDetail.intro}}" wx:key="{{index}}">
<block wx:for="{{coursesDetail.intro}}" wx:key="index">
<view class="audio-box" wx:if="{{item.type == 'audio'}}">
<view class="icon">
<image class="" wx:if="{{!audioStorage[item.value] || !audioStorage[item.value].play}}" src="{{imageRoot}}2c/websiteindex/yellow-pause.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" bindtap="playvoice" data-value="{{item.value}}" data-duration="{{item.duration}}"/>
<image class="" wx:if="{{audioStorage[item.value] && audioStorage[item.value].play}}" src="{{imageRoot}}2c/websiteindex/yellow-play.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" bindtap="pausevoice" data-value="{{item.value}}" data-duration="{{item.duration}}"/>
<image class="" wx:if="{{!audioStorage[item.value] || !audioStorage[item.value].play}}" src="{{imageRoot}}2c/websiteindex/yellow-pause.png" bindtap="playvoice" data-value="{{item.value}}" data-duration="{{item.duration}}"/>
<image class="" wx:if="{{audioStorage[item.value] && audioStorage[item.value].play}}" src="{{imageRoot}}2c/websiteindex/yellow-play.png" bindtap="pausevoice" data-value="{{item.value}}" data-duration="{{item.duration}}"/>
</view>
<view class="title-box">
<view class="title">{{coursesDetail.remark}}</view>
......@@ -48,9 +48,9 @@
<view class="time" wx:if="{{!audioStorage[item.value] || !audioStorage[item.value].play}}">{{filter.voiceTimeFormat(item.duration)}}</view>
</view>
<view class="video-box" wx:if="{{item.type == 'video'}}" bindtap="playvideo" data-src="{{item.value}}">
<image class="video-poster" src="{{filter.videoPoster(item.value)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="play-icon" wx:if="{{!videoStatus.isPlay}}" bindtap="clickVideo" src="{{imageRoot}}2c/websiteindex/play-video.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<!-- <image class="play-icon" src="{{imageRoot}}2c/websiteindex/pause-video.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" /> -->
<image class="video-poster" src="{{filter.videoPoster(item.value)}}" />
<image class="play-icon" wx:if="{{!videoStatus.isPlay}}" bindtap="clickVideo" src="{{imageRoot}}2c/websiteindex/play-video.png" />
<!-- <image class="play-icon" src="{{imageRoot}}2c/websiteindex/pause-video.png" /> -->
</view>
<view class="img-box" wx:if="{{item.type == 'img'}}" bindtap="prevImg" data-src="{{item.value}}">
<view class="img-item">
......@@ -67,7 +67,7 @@
<view class="business-box" bindtap="goWebsiteIndex">
<view class="business-info">
<view class="logo-box">
<image class="logo" src="{{filter.imagify(websitehome.school.logo, 'image/resize,w_160/format,jpg/quality,q_60')}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="logo" src="{{filter.imagify(websitehome.school.logo, 'image/resize,w_160/format,jpg/quality,q_60')}}" />
</view>
<view class="business-name">
<view class="title">{{websitehome.title}}</view>
......@@ -80,15 +80,15 @@
<view slot="tcontent-right" class="swiper-wrapper">
<view class="search-box">
<view class="input-box">
<image class="seach-icon" src="{{imageRoot}}2b/themeindex/w-icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="seach-icon" src="{{imageRoot}}2b/themeindex/w-icon.png?{{imageVersion}}" />
<input type="text" bindinput="catlogNameIpt" value="{{catlogName}}" placeholder="输入课程名称"/>
</view>
<view class="btn-box" bindtap="searchHandle">搜索</view>
</view>
<view class="catalog-list">
<view class="catalog-item" wx:for="{{onlinesubcourses}}" wx:key="{{index}}" bindtap="goOnlineclassroomplay" data-item="{{item}}">
<view class="catalog-item" wx:for="{{onlinesubcourses}}" wx:key="index" bindtap="goOnlineclassroomplay" data-item="{{item}}">
<view class="type-box">
<image class="" src="{{imageRoot}}2c/websiteindex/dark-pause.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="" src="{{imageRoot}}2c/websiteindex/dark-pause.png" />
</view>
<view class="info-box">
<view class="title-box">
......@@ -98,14 +98,14 @@
{{item.title}}
</view>
<view class="count-box">
<view class="count-time" wx:if="{{item.content && item.content.properties.duration}}"><image class="" src="{{imageRoot}}2c/websiteindex/alarm-clock.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />{{ filter.Mathceil(item.content.properties.duration/60)}}分钟</view>
<view class="count-time" wx:if="{{item.content && item.content.properties.duration}}"><image class="" src="{{imageRoot}}2c/websiteindex/alarm-clock.png" />{{ filter.Mathceil(item.content.properties.duration/60)}}分钟</view>
<view class="count-study">{{item.visit_pv_count}}次学习</view>
</view>
</view>
</view>
<view class="empty-box" wx:if="{{onlinesubcourses.length == 0}}">
<view class="image-box">
<image class="" src="{{imageRoot}}common/empty/empty_c_sraech.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="" src="{{imageRoot}}common/empty/empty_c_sraech.png?{{imageVersion}}" />
</view>
<view class="text">{{catlogName ? '没有这个课程哦~' : '专栏还没设置课程哦~'}}</view>
</view>
......@@ -115,14 +115,14 @@
<view class="search-box-up {{searchInnerShow == 1 ? 'search-Show' : ''}}{{searchInnerShow == 2 ? 'search-Hide' : ''}}" wx:if="{{showSeachBtn && curTabIndex==1}}">
<input type="text" bindinput="catlogNameIpt" cursor-spacing="{{14}}" wx:if="{{searchInnerShow == 1}}" bindblur="inputbindblur" adjust-position="{{true}}" bindconfirm="inputbindconfirm" value="{{catlogName}}" focus="{{searchInnerShow == 1 ? true : false}}" placeholder-class="placeholder-class" placeholder="输入课程名称"/>
<view class="up-text" bindtap="hideSearchInner" wx:if="{{searchInnerShow == 1}}"> | 取消</view>
<image class="" bindtap="showSearchInner" src="{{imageRoot}}2c/websiteindex/yellowsearch.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="" bindtap="showSearchInner" src="{{imageRoot}}2c/websiteindex/yellowsearch.png?{{imageVersion}}" />
</view>
<!-- <view class="tab-box" bindtap="tabChange">
<view class="tab-item {{curTabIndex == 0 ? 'act-tab' : ''}}" data-index="{{0}}">简介</view>
<view class="tab-item {{curTabIndex == 1 ? 'act-tab' : ''}}" data-index="{{1}}">目录
<image data-index="{{1}}" class="" src="{{imageRoot}}2c/websiteindex/{{curTabIndex == 1 ? ( catalogSort == 1 ? 'sortupicon' : 'light-catalog') : ( catalogSort == 1 ? 'sortupdark' : 'dark-catalog' )}}.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image data-index="{{1}}" class="" src="{{imageRoot}}2c/websiteindex/{{curTabIndex == 1 ? ( catalogSort == 1 ? 'sortupicon' : 'light-catalog') : ( catalogSort == 1 ? 'sortupdark' : 'dark-catalog' )}}.png" />
<view class="sort-dailog" wx:if="{{sortDailogShow}}">
<image class="sort-bg" src="{{imageRoot}}2c/websiteindex/sortbg.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="sort-bg" src="{{imageRoot}}2c/websiteindex/sortbg.png?{{imageVersion}}" />
<view class="sort-item1 {{catalogSort == 1 ? 'actSort' :''}}" data-sortindex="{{1}}" bindtap="catlogSortChange">正序</view>
<view class="sort-item2 {{catalogSort == 2 ? 'actSort' :''}}" data-sortindex="{{2}}" bindtap="catlogSortChange">倒序</view>
</view>
......@@ -140,11 +140,11 @@
bindchange="tabSwiperChange" >
<swiper-item>
<scroll-view class="introduction" scroll-y="{{true}}">
<block wx:for="{{coursesDetail.intro}}" wx:key="{{index}}">
<block wx:for="{{coursesDetail.intro}}" wx:key="index">
<view class="audio-box" wx:if="{{item.type == 'audio'}}">
<view class="icon">
<image class="" wx:if="{{!audioStorage[item.value] || !audioStorage[item.value].play}}" src="{{imageRoot}}2c/websiteindex/yellow-pause.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" bindtap="playvoice" data-value="{{item.value}}" data-duration="{{item.duration}}"/>
<image class="" wx:if="{{audioStorage[item.value] && audioStorage[item.value].play}}" src="{{imageRoot}}2c/websiteindex/yellow-play.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" bindtap="pausevoice" data-value="{{item.value}}" data-duration="{{item.duration}}"/>
<image class="" wx:if="{{!audioStorage[item.value] || !audioStorage[item.value].play}}" src="{{imageRoot}}2c/websiteindex/yellow-pause.png" bindtap="playvoice" data-value="{{item.value}}" data-duration="{{item.duration}}"/>
<image class="" wx:if="{{audioStorage[item.value] && audioStorage[item.value].play}}" src="{{imageRoot}}2c/websiteindex/yellow-play.png" bindtap="pausevoice" data-value="{{item.value}}" data-duration="{{item.duration}}"/>
</view>
<view class="title-box">
<view class="title">{{coursesDetail.remark}}</view>
......@@ -154,8 +154,8 @@
<view class="time" wx:if="{{!audioStorage[item.value] || !audioStorage[item.value].play}}">{{filter.voiceTimeFormat(item.duration)}}</view>
</view>
<view class="video-box" wx:if="{{item.type == 'video'}}" bindtap="playvideo" data-src="{{item.value}}">
<image class="video-poster" src="{{filter.videoPoster(item.value)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="play-icon" wx:if="{{!videoStatus.isPlay}}" bindtap="clickVideo" src="{{imageRoot}}2c/websiteindex/play-video.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="video-poster" src="{{filter.videoPoster(item.value)}}" />
<image class="play-icon" wx:if="{{!videoStatus.isPlay}}" bindtap="clickVideo" src="{{imageRoot}}2c/websiteindex/play-video.png" />
</view>
<view class="img-box" wx:if="{{item.type == 'img'}}" bindtap="prevImg" data-src="{{item.value}}">
<view class="img-item">
......@@ -172,7 +172,7 @@
<view class="business-box" bindtap="goWebsiteIndex">
<view class="business-info">
<view class="logo-box">
<image class="logo" src="{{filter.imagify(websitehome.school.logo, 'image/resize,w_160/format,jpg/quality,q_60')}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="logo" src="{{filter.imagify(websitehome.school.logo, 'image/resize,w_160/format,jpg/quality,q_60')}}" />
</view>
<view class="business-name">
<view class="title">{{websitehome.title}}</view>
......@@ -187,15 +187,15 @@
<scroll-view class="catalog" scroll-y="{{true}}" bindscroll="catalogscroll">
<view class="search-box">
<view class="input-box">
<image class="seach-icon" src="{{imageRoot}}2b/themeindex/w-icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="seach-icon" src="{{imageRoot}}2b/themeindex/w-icon.png?{{imageVersion}}" />
<input type="text" bindinput="catlogNameIpt" value="{{catlogName}}" placeholder="输入课程名称"/>
</view>
<view class="btn-box" bindtap="searchHandle">搜索</view>
</view>
<view class="catalog-list">
<view class="catalog-item" wx:for="{{onlinesubcourses}}" wx:key="{{index}}" bindtap="goOnlineclassroomplay" data-item="{{item}}">
<view class="catalog-item" wx:for="{{onlinesubcourses}}" wx:key="index" bindtap="goOnlineclassroomplay" data-item="{{item}}">
<view class="type-box">
<image class="" src="{{imageRoot}}2c/websiteindex/dark-pause.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="" src="{{imageRoot}}2c/websiteindex/dark-pause.png" />
</view>
<view class="info-box">
<view class="title-box">
......@@ -205,7 +205,7 @@
{{item.title}}
</view>
<view class="count-box">
<view class="count-time" wx:if="{{item.content && item.content.properties.duration}}"><image class="" src="{{imageRoot}}2c/websiteindex/alarm-clock.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />{{ filter.Mathceil(item.content.properties.duration/60)}}分钟</view>
<view class="count-time" wx:if="{{item.content && item.content.properties.duration}}"><image class="" src="{{imageRoot}}2c/websiteindex/alarm-clock.png" />{{ filter.Mathceil(item.content.properties.duration/60)}}分钟</view>
<view class="count-study">{{item.visit_pv_count}}次学习</view>
</view>
</view>
......@@ -218,7 +218,7 @@
<view class="search-box-up {{searchInnerShow == 1 ? 'search-Show' : ''}}{{searchInnerShow == 2 ? 'search-Hide' : ''}}" wx:if="{{showSeachBtn}}">
<input type="text" bindinput="catlogNameIpt" cursor-spacing="{{14}}" wx:if="{{searchInnerShow == 1}}" bindblur="inputbindblur" adjust-position="{{true}}" bindconfirm="inputbindconfirm" value="{{catlogName}}" focus="{{searchInnerShow == 1 ? true : false}}" placeholder-class="placeholder-class" placeholder="输入课程名称"/>
<view class="up-text" bindtap="hideSearchInner" wx:if="{{searchInnerShow == 1}}"> | 取消</view>
<image class="" bindtap="showSearchInner" src="{{imageRoot}}2c/websiteindex/yellowsearch.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="" bindtap="showSearchInner" src="{{imageRoot}}2c/websiteindex/yellowsearch.png?{{imageVersion}}" />
</view>
</swiper-item>
</swiper>
......@@ -237,7 +237,7 @@
<view class="wrap" bindtap="hideQuickenDailog"></view>
<view class="content">
<view class="title">倍速播放</view>
<view class="option {{index == curQuickenOptiont ? 'curoption' : ''}}" bindtap="quickenOptionHandle" data-index="{{index}}" wx:for="{{quickenOptions}}" wx:key="{{index}}">{{item}}</view>
<view class="option {{index == curQuickenOptiont ? 'curoption' : ''}}" bindtap="quickenOptionHandle" data-index="{{index}}" wx:for="{{quickenOptions}}" wx:key="index">{{item}}</view>
<view class="footer">关闭</view>
</view>
</view>
......@@ -246,13 +246,13 @@
<view class="content">
<view class="share-box">
<view class="img">
<image class="" src="{{imageRoot}}2c/websiteindex/share-poster.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="" src="{{imageRoot}}2c/websiteindex/share-poster.png" />
</view>
<view class="text">生成海报</view>
</view>
<view class="share-box">
<view class="img">
<image class="" src="{{imageRoot}}2c/websiteindex/share-weixin.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="" src="{{imageRoot}}2c/websiteindex/share-weixin.png" />
</view>
<view class="text">转发给好友</view>
</view>
......@@ -268,7 +268,7 @@
<view class="password-dialog" wx:if="{{passwordDialogShow}}">
<view class="mask" bindtap="hidePasswordDialog"></view>
<view class="content">
<view class="title {{showPassWordTip? 'redtip' : ''}}"><image bindtap="hidePasswordDialog" class="left-icon"src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />{{showPassWordTip ? '密码错误,请重新输入':'请输入密码'}}</view>
<view class="title {{showPassWordTip? 'redtip' : ''}}"><image bindtap="hidePasswordDialog" class="left-icon"src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}" />{{showPassWordTip ? '密码错误,请重新输入':'请输入密码'}}</view>
<view class="ipt-box">
<input class="" value="{{passWord}}" hold-keyboard="{{true}}" type="number" password="true" placeholder="" maxlength="8" focus="true" adjust-position="{{true}}" cursor-spacing="{{100}}" bindinput="passWordIpt" bindfocus="" bindblur="" bindconfirm="">
</input>
......
......@@ -2,7 +2,7 @@
<wxs src="../../../filter/index.wxs" module="filter" />
<view class="container online-classroom">
<view class="content-box" wx:if="{{!emptyPage}}">
<block wx:for="{{infoList}}" wx:key="{{index}}">
<block wx:for="{{infoList}}" wx:key="index">
<view class="content-item" bindtap="goOnlineClass" data-item="{{item}}">
<view class="cover-box">
<image class="cover-img" src="{{filter.imagify(item.cover, 'image/resize,w_400/format,jpg/quality,q_60')}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" wx:if="{{item.cover}}" />
......
......@@ -6,10 +6,10 @@
<block wx:if="{{coursesDetail.content && coursesDetail.hasInputPwd && ((coursesDetail.hasInputPwd && coursesDetail.is_encrypt == 1) || (!coursesDetail.isShowButton && coursesDetail.is_encrypt == 2 && !pid) || pid)}}">
<view class="image-box" wx:if="{{coursesDetail.content.type == 1 || coursesDetail.content.type == 4 || coursesDetail.content.type == 5}}">
<swiper style="height: 392rpx;" indicator-dots="{{swiperSetting.indicatorDots}}" bindchange="imageSwiperChange" autoplay="{{swiperSetting.autoplay}}" interval="{{swiperSetting.interval}}" duration="{{swiperSetting.duration}}">
<block wx:for="{{coursesDetail.content.images}}" wx:key="{{index}}">
<block wx:for="{{coursesDetail.content.images}}" wx:key="index">
<swiper-item style="height: 392rpx;">
<view class="swiper-item" bindtap="prevContentImg" data-src="{{item}}">
<image class="" wx:if="{{index == 0 || (index >= imageCurrent-2 && index <= imageCurrent+2) }}" src="{{coursesDetail.content.type == 1 ? filter.imagify(item) : filter.mediaPng(item)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="" wx:if="{{index == 0 || (index >= imageCurrent-2 && index <= imageCurrent+2) }}" src="{{coursesDetail.content.type == 1 ? filter.imagify(item) : filter.mediaPng(item)}}" />
</view>
</swiper-item>
</block>
......@@ -31,14 +31,14 @@
bindfullscreenchange="onlinefullscreenchange"
autoplay="{{false}}">
</video>
<image class="play-icon" wx:if="{{!videoStatus.isPlay}}" bindtap="clickVideo" src="{{imageRoot}}2c/websiteindex/play-video.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<!-- <image class="quickenplay-icon" bindtap="ShowQuickenDailog" src="{{imageRoot}}2c/websiteindex/quickenplay-icon.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" /> -->
<image class="play-icon" wx:if="{{!videoStatus.isPlay}}" bindtap="clickVideo" src="{{imageRoot}}2c/websiteindex/play-video.png" />
<!-- <image class="quickenplay-icon" bindtap="ShowQuickenDailog" src="{{imageRoot}}2c/websiteindex/quickenplay-icon.png" /> -->
</view>
<view class="audio-box" wx:if="{{coursesDetail.content.type == 3}}">
<view class="icon">
<image class="" wx:if="{{!audioStorage[coursesDetail.content.src] || !audioStorage[coursesDetail.content.src].play}}" src="{{imageRoot}}2c/websiteindex/yellow-pause.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" bindtap="playvoice" data-value="{{coursesDetail.content.src}}" data-duration="{{coursesDetail.content.properties.duration}}"/>
<image class="" wx:if="{{!audioStorage[coursesDetail.content.src] || !audioStorage[coursesDetail.content.src].play}}" src="{{imageRoot}}2c/websiteindex/yellow-pause.png" bindtap="playvoice" data-value="{{coursesDetail.content.src}}" data-duration="{{coursesDetail.content.properties.duration}}"/>
<cssloading wx:if="{{isWaiting}}"/>
<image class="" wx:if="{{audioStorage[coursesDetail.content.src] && audioStorage[coursesDetail.content.src].play && !isWaiting}}" src="{{imageRoot}}2c/websiteindex/yellow-play.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" bindtap="pausevoice" data-value="{{coursesDetail.content.src}}" data-duration="{{coursesDetail.content.properties.duration}}"/>
<image class="" wx:if="{{audioStorage[coursesDetail.content.src] && audioStorage[coursesDetail.content.src].play && !isWaiting}}" src="{{imageRoot}}2c/websiteindex/yellow-play.png" bindtap="pausevoice" data-value="{{coursesDetail.content.src}}" data-duration="{{coursesDetail.content.properties.duration}}"/>
</view>
<view class="play-progree-box">
<view class="time">{{filter.voiceTimeFormat(audioStorage[coursesDetail.content.src].currentTime)}}</view>
......@@ -60,21 +60,21 @@
<view class="time">{{filter.voiceTimeFormat(coursesDetail.content.properties.duration)}}</view>
</view>
<view class="cover-box">
<image class="" src="{{filter.imagify(coursesDetail.cover, 'image/resize,w_400/format,jpg/quality,q_60')}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" wx:if="{{coursesDetail.cover}}"/>
<image class="" src="{{filter.imagify('qingxiao/biz/image/course/courseDefaultImg.png')}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" wx:else/>
<image class="" src="{{filter.imagify(coursesDetail.cover, 'image/resize,w_400/format,jpg/quality,q_60')}}" wx:if="{{coursesDetail.cover}}"/>
<image class="" src="{{filter.imagify('qingxiao/biz/image/course/courseDefaultImg.png')}}" wx:else/>
</view>
</view>
</block>
<block wx:else>
<view class="cover-box">
<image class="" src="{{filter.imagify(coursesDetail.cover, 'image/resize,w_400/format,jpg/quality,q_60')}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" wx:if="{{coursesDetail.cover}}"/>
<image class="" src="{{filter.imagify('qingxiao/biz/image/course/courseDefaultImg.png')}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" wx:else/>
<image class="" src="{{filter.imagify(coursesDetail.cover, 'image/resize,w_400/format,jpg/quality,q_60')}}" wx:if="{{coursesDetail.cover}}"/>
<image class="" src="{{filter.imagify('qingxiao/biz/image/course/courseDefaultImg.png')}}" wx:else/>
</view>
</block>
</view>
<!-- <view class="cover-info">
<view class="img-box">
<image class="cover" src="{{filter.imagify(coursesDetail.cover, 'image/resize,w_160/format,jpg/quality,q_60')}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="cover" src="{{filter.imagify(coursesDetail.cover, 'image/resize,w_160/format,jpg/quality,q_60')}}" />
</view>
<view class="title-cover">
<view class="title">{{coursesDetail.title}}</view>
......@@ -93,11 +93,11 @@
<view class="tab-item" data-index="{{1}}">课程介绍</view>
</view>
<view class="introduction" wx:if="{{curTabIndex==1}}">
<block wx:for="{{coursesDetail.intro}}" wx:key="{{index}}">
<block wx:for="{{coursesDetail.intro}}" wx:key="index">
<view class="audio-box" wx:if="{{item.type == 'audio'}}">
<view class="icon">
<image class="" wx:if="{{!audioStorage[item.value] || !audioStorage[item.value].play}}" src="{{imageRoot}}2c/websiteindex/yellow-pause.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" bindtap="playvoice" data-value="{{item.value}}" data-duration="{{item.duration}}"/>
<image class="" wx:if="{{audioStorage[item.value] && audioStorage[item.value].play}}" src="{{imageRoot}}2c/websiteindex/yellow-play.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" bindtap="pausevoice" data-value="{{item.value}}" data-duration="{{item.duration}}"/>
<image class="" wx:if="{{!audioStorage[item.value] || !audioStorage[item.value].play}}" src="{{imageRoot}}2c/websiteindex/yellow-pause.png" bindtap="playvoice" data-value="{{item.value}}" data-duration="{{item.duration}}"/>
<image class="" wx:if="{{audioStorage[item.value] && audioStorage[item.value].play}}" src="{{imageRoot}}2c/websiteindex/yellow-play.png" bindtap="pausevoice" data-value="{{item.value}}" data-duration="{{item.duration}}"/>
</view>
<view class="title-box">
<view class="title">{{coursesDetail.remark}}</view>
......@@ -107,9 +107,9 @@
<view class="time" wx:if="{{!audioStorage[item.value] || !audioStorage[item.value].play}}">{{filter.voiceTimeFormat(item.duration)}}</view>
</view>
<view class="video-box" wx:if="{{item.type == 'video'}}" bindtap="playvideo" data-src="{{item.value}}">
<image class="video-poster" src="{{filter.videoPoster(item.value)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="play-icon" wx:if="{{!videoStatus.isPlay}}" bindtap="clickVideo" src="{{imageRoot}}2c/websiteindex/play-video.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<!-- <image class="play-icon" src="{{imageRoot}}2c/websiteindex/pause-video.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" /> -->
<image class="video-poster" src="{{filter.videoPoster(item.value)}}" />
<image class="play-icon" wx:if="{{!videoStatus.isPlay}}" bindtap="clickVideo" src="{{imageRoot}}2c/websiteindex/play-video.png" />
<!-- <image class="play-icon" src="{{imageRoot}}2c/websiteindex/pause-video.png" /> -->
</view>
<view class="img-box" wx:if="{{item.type == 'img'}}" bindtap="prevImg" data-src="{{item.value}}">
<view class="img-item">
......@@ -126,7 +126,7 @@
<view class="business-box" bindtap="goWebsiteIndex">
<view class="business-info">
<view class="logo-box">
<image class="logo" src="{{filter.imagify(websitehome.school.logo, 'image/resize,w_160/format,jpg/quality,q_60')}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="logo" src="{{filter.imagify(websitehome.school.logo, 'image/resize,w_160/format,jpg/quality,q_60')}}" />
</view>
<view class="business-name">
<view class="title">{{websitehome.title}}</view>
......@@ -174,7 +174,7 @@
<view class="wrap" bindtap="hideQuickenDailog"></view>
<view class="content {{quickenDailogShow?'comment-show':'comment-hide'}}">
<view class="title">倍速播放</view>
<view class="option {{index == curQuickenOptiont ? 'curoption' : ''}}" bindtap="quickenOptionHandle" data-index="{{index}}" wx:for="{{quickenOptions}}" wx:key="{{index}}">{{item}}</view>
<view class="option {{index == curQuickenOptiont ? 'curoption' : ''}}" bindtap="quickenOptionHandle" data-index="{{index}}" wx:for="{{quickenOptions}}" wx:key="index">{{item}}</view>
<view class="footer">关闭</view>
</view>
</view>
......@@ -183,13 +183,13 @@
<view class="content {{shareDailogShow?'comment-show':'comment-hide'}}" >
<view class="share-box" bindtap="generateNewPoster">
<view class="img">
<image class="" src="{{imageRoot}}2c/websiteindex/share-poster.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="" src="{{imageRoot}}2c/websiteindex/share-poster.png" />
</view>
<view class="text">生成海报</view>
</view>
<view class="share-box" bindtap="hideShareDailog">
<view class="img">
<image class="" src="{{imageRoot}}2c/websiteindex/share-weixin.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="" src="{{imageRoot}}2c/websiteindex/share-weixin.png" />
</view>
<view class="text">转发给好友</view>
<button open-type="share"></button>
......@@ -200,12 +200,12 @@
<view class="wrap" bindtap="" bindtap="hideCatlogDailog"></view>
<view class="content {{catlogDailogShow?'comment-show':'comment-hide'}}">
<view class="title-box">
<view class="title"><image class="" src="{{imageRoot}}2c/websiteindex/yellow-line.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />课程({{onlinesubcourses.length}})</view>
<view class="btn-box" bindtap="goOnlineclassroomindex">查看专栏<image class="" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" /></view>
<view class="title"><image class="" src="{{imageRoot}}2c/websiteindex/yellow-line.png?{{imageVersion}}" />课程({{onlinesubcourses.length}})</view>
<view class="btn-box" bindtap="goOnlineclassroomindex">查看专栏<image class="" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}" /></view>
</view>
<scroll-view class="catlog-list" scroll-y="true">
<view class="catlog-item {{item.isAction ? 'action-item' : ''}}" bindtap="changeCourse" data-item="{{item}}" data-index="{{index}}" wx:for="{{onlinesubcourses}}" wx:key="{{index}}">
<image wx:if="{{item.isAction}}" class="" src="{{imageRoot}}2c/websiteindex/action-play.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<view class="catlog-item {{item.isAction ? 'action-item' : ''}}" bindtap="changeCourse" data-item="{{item}}" data-index="{{index}}" wx:for="{{onlinesubcourses}}" wx:key="index">
<image wx:if="{{item.isAction}}" class="" src="{{imageRoot}}2c/websiteindex/action-play.png?{{imageVersion}}" />
{{item.title}}
</view>
</scroll-view>
......@@ -216,9 +216,9 @@
<view class="title-box">
<view class="text">评论</view>
<view class="btn-box">
<!-- <view class="time-btn"><image class="" src="{{imageRoot}}2c/websiteindex/small-clock.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />按时间</view> -->
<!-- <view class="time-btn"><image class="" src="{{imageRoot}}2c/websiteindex/small-clock.png" />按时间</view> -->
<view class="close-btn" bindtap="hidecommentBox">
<image class="" src="{{imageRoot}}2c/websiteindex/small-close.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="" src="{{imageRoot}}2c/websiteindex/small-close.png" />
</view>
</view>
</view>
......@@ -233,9 +233,9 @@
id="scrollview"
lower-threshold="100"
>
<view class="comment-item" wx:for="{{commentList}}" wx:key="{{index}}">
<view class="comment-item" wx:for="{{commentList}}" wx:key="index">
<view class="avatar-box">
<image class="" src="{{filter.imagify(item.comment_user.avatar)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="" src="{{filter.imagify(item.comment_user.avatar)}}" />
</view>
<view class="info-box">
<view class="name">{{item.comment_user.nickname}} <view class="top-tag" wx:if="{{item.place_top_at}}">置顶</view></view>
......@@ -262,7 +262,7 @@
<view class="password-dialog" wx:if="{{passwordDialogShow}}">
<view class="mask" bindtap="hidePasswordDialog"></view>
<view class="content">
<view class="title {{showPassWordTip? 'redtip' : ''}}"><image bindtap="hidePasswordDialog" class="left-icon"src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />{{showPassWordTip ? '密码错误,请重新输入':'请输入密码'}}</view>
<view class="title {{showPassWordTip? 'redtip' : ''}}"><image bindtap="hidePasswordDialog" class="left-icon"src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}" />{{showPassWordTip ? '密码错误,请重新输入':'请输入密码'}}</view>
<view class="ipt-box">
<input class="" value="{{passWord}}" hold-keyboard="{{true}}" type="number" password="true" placeholder="" maxlength="8" focus="true" adjust-position="{{true}}" cursor-spacing="{{100}}" bindinput="passWordIpt" bindfocus="" bindblur="" bindconfirm="">
</input>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment