Commit 5baab9dc authored by wangxuelai's avatar wangxuelai

'最新代码提交'

parent 4473952b
{
"navigationBarTitleText": "课堂列表",
"enablePullDownRefresh": true,
"usingComponents": {
"list-loading": "../../../components/listloading",
"empty-content": "../../../components/emptycontent"
......
<!--src/pages/websiteindex/onlineclassroomlist.wxml-->
<wxs src="../../../filter/index.wxs" module="filter" />
<view class="container online-classroom">
<view class="tabspanle">
<!-- <view class="tabspanle">
<view class="tabsitem {{type == 1 ? 'active' : ''}}" data-type="1" bindtap="selectType">
<view class="tabname">全部</view>
<view class="tabline"></view>
......@@ -18,7 +18,7 @@
<view class="tabname">图文</view>
<view class="tabline"></view>
</view>
</view>
</view> -->
<view class="content-box" wx:if="{{!emptyPage}}">
<block wx:for="{{infoList}}" wx:key="index">
<view class="content-item" bindtap="goOnlineClass" data-item="{{item}}">
......@@ -30,7 +30,7 @@
<view class="info-box">
<view class="title clearfix">
<image class="classtypetag" src="{{imageRoot}}2c/onlineclass/text.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<text class="titletext">{{item.title}}大萨达撒多哒哒哒哒大萨达撒大萨达撒多哒哒哒哒大萨达撒</text>
<text class="titletext">{{item.title}}</text>
</view>
<view class="learnbox">
<image class="eyeicon" src="{{imageRoot}}2c/onlineclass/eyeicon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
......
......@@ -35,7 +35,7 @@
border-radius:3px;
}
.content-box {
padding: 120rpx 24rpx 60rpx;
padding: 20rpx 24rpx 60rpx;
}
.tabsitem.active .tabname {
color: #FEA917;
......
......@@ -304,6 +304,7 @@ Page({
break;
}
})
console.log(content, 'content');
this.setData({
coursesDetail: data
})
......
......@@ -72,25 +72,32 @@
</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')}}" />
</view>
<view class="title-cover">
<view class="title">{{coursesDetail.title}}</view>
<view class="count" wx:if="{{pid}}">已更新{{coursesDetail.sub_courses_count}}期</view>
</view>
</view> -->
<view class="line-16"></view>
<view class="title-box">
<view class="title">{{coursesDetail.title}}</view>
<view class="subtitle">{{coursesDetail.remark}}</view>
</view>
<view class="learncountbox">
<view class="left">
<view class="studentboxavatarbox">
<image class="studentboxavatar" src="{{filter.imagify('qingxiao/biz/image/course/courseDefaultImg.png')}}"></image>
<image class="studentboxavatar" src="{{filter.imagify('qingxiao/biz/image/course/courseDefaultImg.png')}}"></image>
<image class="studentboxavatar" src="{{filter.imagify('qingxiao/biz/image/course/courseDefaultImg.png')}}"></image>
<image class="studentboxavatar" src="{{imageRoot}}2c/onlineclass/moreicon.png?{{imageVersion}}"></image>
<text class="learncount">232564人已学习</text>
</view>
<view class="coursecount">
<image class="newicon" src="{{imageRoot}}2c/onlineclass/newicon.png?{{imageVersion}}"></image>
<view class="coursecounttext">已更新65期</view>
</view>
</view>
<image class="shareicon" src="{{imageRoot}}2c/onlineclass/shareicon.png?{{imageVersion}}"></image>
</view>
</view>
<view class="line-16"></view>
<view class="divideline"></view>
<view class="content-box">
<view class="tab-box">
<view class="tab-item" data-index="{{1}}">课程介绍</view>
<view class="tab-item" data-index="{{1}}">详情</view>
<view class="tab-item" data-index="{{2}}">课程介绍</view>
</view>
<view class="introduction" wx:if="{{curTabIndex==1}}">
<block wx:for="{{coursesDetail.intro}}" wx:key="index">
......
......@@ -145,7 +145,59 @@
font-size: 24rpx;
}
.top-box .title-box{
padding: 24rpx 24rpx 34rpx 24rpx;
padding: 28rpx 24rpx 20rpx 24rpx;
}
.learncountbox {
padding: 0 24rpx 0 24rpx;
display: flex;
align-items: flex-start;
justify-content: space-between;
margin-bottom: 18rpx;
}
.learncountbox .shareicon {
width: 114rpx;
height: 114rpx;
display: block;
margin-top: -10rpx;
}
.divideline {
width: 702rpx;
margin: 0 auto;
border-bottom: 1px solid #EEEEEE;
}
.coursecount {
display: flex;
align-items: center;
}
.coursecount .newicon {
width: 24rpx;
height: 24rpx;
margin-right: 4rpx;
}
.coursecount .coursecounttext {
color: #666666;
font-size: 22rpx;
}
.studentboxavatarbox {
display: flex;
align-items: center;
margin-bottom: 20rpx;
}
.studentboxavatarbox .studentboxavatar {
display: block;
width: 48rpx;
height: 48rpx;
border-radius: 50%;
position: relative;
margin-left: -8rpx;
}
.studentboxavatarbox .studentboxavatar:first-child {
margin-left: 0;
}
.studentboxavatarbox .learncount {
padding-left: 13rpx;
color: #999999;
font-size: 22rpx;
}
.top-box .title-box .title{
font-size:26rpx;
......
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