Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxuelai
wechatapp.shangjiadao.com
Commits
5baab9dc
Commit
5baab9dc
authored
Apr 13, 2020
by
wangxuelai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'最新代码提交'
parent
4473952b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
78 additions
and
17 deletions
+78
-17
onlineclassroomlist.json
src/pages/websiteindex/onlineclassroomlist.json
+1
-0
onlineclassroomlist.wxml
src/pages/websiteindex/onlineclassroomlist.wxml
+3
-3
onlineclassroomlist.wxss
src/pages/websiteindex/onlineclassroomlist.wxss
+1
-1
onlineclassroomplay.js
src/pages/websiteindex/onlineclassroomplay.js
+1
-0
onlineclassroomplay.wxml
src/pages/websiteindex/onlineclassroomplay.wxml
+19
-12
onlineclassroomplay.wxss
src/pages/websiteindex/onlineclassroomplay.wxss
+53
-1
No files found.
src/pages/websiteindex/onlineclassroomlist.json
View file @
5baab9dc
{
"navigationBarTitleText"
:
"课堂列表"
,
"enablePullDownRefresh"
:
true
,
"usingComponents"
:
{
"list-loading"
:
"../../../components/listloading"
,
"empty-content"
:
"../../../components/emptycontent"
...
...
src/pages/websiteindex/onlineclassroomlist.wxml
View file @
5baab9dc
<!--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="" />
...
...
src/pages/websiteindex/onlineclassroomlist.wxss
View file @
5baab9dc
...
...
@@ -35,7 +35,7 @@
border-radius:3px;
}
.content-box {
padding:
1
20rpx 24rpx 60rpx;
padding: 20rpx 24rpx 60rpx;
}
.tabsitem.active .tabname {
color: #FEA917;
...
...
src/pages/websiteindex/onlineclassroomplay.js
View file @
5baab9dc
...
...
@@ -304,6 +304,7 @@ Page({
break
;
}
})
console
.
log
(
content
,
'content'
);
this
.
setData
({
coursesDetail
:
data
})
...
...
src/pages/websiteindex/onlineclassroomplay.wxml
View file @
5baab9dc
...
...
@@ -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">
...
...
src/pages/websiteindex/onlineclassroomplay.wxss
View file @
5baab9dc
...
...
@@ -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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment