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
eb877eaa
Commit
eb877eaa
authored
Sep 04, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/sj-dev-optimize' into wxl-youhua
parents
291673ab
cfcb0194
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
49 deletions
+35
-49
index.wxml
business/pages/classmgt/index.wxml
+25
-33
index.wxml
src/pages/sharemoretheme/index.wxml
+10
-16
No files found.
business/pages/classmgt/index.wxml
View file @
eb877eaa
...
...
@@ -23,40 +23,32 @@
</view>
<view class="commonlist-bigwrap commonlist-bigwrap-round" wx:if="{{!emptyPage}}">
<view class="commonlist-box" wx:for="{{classList}}" wx:key="index" wx:for-item="pageItem">
<view class="commonlist-item" wx:for="{{pageItem}}" wx:key="idx" data-id="{{item.id}}" bindtap='goClassIndex'>
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton"></button>
</form>
<view class="item-titlebox">
<view class="item-title">{{item.title}}</view>
<view class="itme-state state-4" wx:if="{{item.graduation_status==2}}">已结业</view>
</view>
<view class="item-contentbox">
<view class="content-item">
<view class="item-label"><view class="text">老师</view>:</view>
<view class="item-text">{{item.school_teachers.length>0?item.teacherArr:'暂未分配老师'}}</view>
</view>
<view class="content-item">
<view class="item-label"><view class="text">学员</view>:</view>
<view class="item-text">{{item.class_student_count}}/{{item.capacity}}</view>
</view>
<!-- <view class="content-item">
<view class="item-label">开班时间:</view>
<view class="item-text"></view>
</view> -->
<view class="content-item">
<view class="item-label"><view class="text">教学进度</view>:</view>
<view class="item-text">{{item.expended}}/{{item.total}}</view>
</view>
<!-- <view class="content-item">
<view class="item-label">上课时间:</view>
<view class="item-text">
<view class="item-line" wx:for="{{item.clock_count}}" wx:key="">每周六 12:00-16:00</view>
<view class="commonlist-box" >
<block wx:for="{{classList}}" wx:key="index" wx:for-item="pageItem">
<view class="commonlist-item" wx:for="{{pageItem}}" wx:key="idx" data-id="{{item.id}}" bindtap='goClassIndex'>
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton"></button>
</form>
<view class="item-titlebox">
<view class="item-title">{{item.title}}</view>
<view class="itme-state state-4" wx:if="{{item.graduation_status==2}}">已结业</view>
</view>
</view> -->
</view>
</view>
<view class="item-contentbox">
<view class="content-item">
<view class="item-label"><view class="text">老师</view>:</view>
<view class="item-text">{{item.school_teachers.length>0?item.teacherArr:'暂未分配老师'}}</view>
</view>
<view class="content-item">
<view class="item-label"><view class="text">学员</view>:</view>
<view class="item-text">{{item.class_student_count}}/{{item.capacity}}</view>
</view>
<view class="content-item">
<view class="item-label"><view class="text">教学进度</view>:</view>
<view class="item-text">{{item.expended}}/{{item.total}}</view>
</view>
</view>
</view>
</block>
</view>
<list-loading loading="{{listLoading}}"></list-loading>
</view>
...
...
src/pages/sharemoretheme/index.wxml
View file @
eb877eaa
...
...
@@ -16,21 +16,15 @@
</button>
</form>
</view>
<view class="content-box1"
wx:if="{{tabIndex==0}}">
<view class="unlock-box"
>关卡总数:{{moreTheme.subject_count || 0}}关</view>
<view class="rule-box"
>闯关规则:每日可闯{{moreTheme.unlock_limit || 0}}关;每关最多挑战{{moreTheme.max_clock_count || 0}}次</view>
<view class="content-box1" wx:if="{{tabIndex==0}}">
<view class="unlock-box" >关卡总数:{{moreTheme.subject_count || 0}}关</view>
<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="content-box1 content-box2" wx:if="{{tabIndex==1}}">
<view class="list-item" wx:for="{{subjects}}" wx:key="{{index}}">{{item.title}}</view>
</view>
<!-- <view class="bottom-box" >
已有:<image binderror="" bindload="" class="" lazy-load=""
src="{{filter.imagify(item)}}" wx:for="{{student}}" wx:key="{{index}}">
</image>
<view class="text" >等{{moreTheme.clock_student_count}}名同学参加</view>
</view> -->
</view>
<view class="footer-box"
bindtap="goMoretheme">
<view class="footer-box" bindtap="goMoretheme">
开始闯关
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
...
...
@@ -38,10 +32,10 @@
</form>
</view>
</view>
<view class="dailog-box"
wx:if="{{dailogShow}}">
<view class="content-box"
>
<view class="title"
>该主题设有密码</view>
<view class="ipt-box"
>
<view class="dailog-box" wx:if="{{dailogShow}}">
<view class="content-box" >
<view class="title" >该主题设有密码</view>
<view class="ipt-box" >
<input type="number" placeholder-class="placeholderclass" class="iteminput" maxlength="6" value="{{password}}" bindinput="passwordInput" placeholder="请输入密码"></input>
</view>
<view class="dailog-footer-box" >
...
...
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