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
a1f9bc1d
Commit
a1f9bc1d
authored
Mar 31, 2020
by
lvtz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b0948efa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
11 deletions
+15
-11
chooseclass.json
business/pages/themeeditor/chooseclass.json
+1
-0
chooseclass.wxml
business/pages/themeeditor/chooseclass.wxml
+14
-11
No files found.
business/pages/themeeditor/chooseclass.json
View file @
a1f9bc1d
...
...
@@ -9,6 +9,7 @@
"w-cell-group"
:
"/dist/w-cell-group/index"
,
"w-checkbox"
:
"/dist/w-checkbox/index"
,
"w-pane"
:
"/dist/w-pane/index"
,
"empty-content"
:
"../../../components/emptycontent"
,
"expiredTip"
:
"../../components/expiredTip"
}
}
\ No newline at end of file
business/pages/themeeditor/chooseclass.wxml
View file @
a1f9bc1d
...
...
@@ -6,20 +6,23 @@
<view class="themetypeitem {{type==2 ? 'active' : ''}}" data-type="2" bindtap="tabChange">只看我的</view>
</view>
</view>
<view class="courseitem" wx:for="{{courseList}}" wx:for-item="course" wx:key="id">
<view class="coursetitle">{{course.title}}</view>
<view class="listbox">
<view class="listitem" hover-class="none" hover-stop-propagation="false" wx:for="{{course.classes}}" wx:key="id" data-item="{{item}}" bindtap="chooseClass">
<view class="classtitle">{{item.title}}</view>
<view class="rightbox">
<view class="teachername">
<text wx:for="{{item.school_teachers}}" wx:key="id" wx:for-item="teacher" wx:if="{{teacherId == teacher.id}}" wx:for-index="tindex" class="{{teacherId == teacher.id ? 'my' : ''}}">{{teacher.nickname}}{{item.school_teachers.length > 1 ? '、': ''}}</text>
<text wx:for="{{item.school_teachers}}" wx:key="id" wx:for-item="teacher" wx:if="{{teacherId != teacher.id}}" wx:for-index="tindex" class="{{teacherId == teacher.id ? 'my' : ''}}">{{teacher.nickname}}{{item.school_teachers.length > 1 ? '、': ''}}</text>
<block wx:if="{{courseList.length>0}}">
<view class="courseitem" wx:for="{{courseList}}" wx:for-item="course" wx:key="id">
<view class="coursetitle">{{course.title}}</view>
<view class="listbox">
<view class="listitem" hover-class="none" hover-stop-propagation="false" wx:for="{{course.classes}}" wx:key="id" data-item="{{item}}" bindtap="chooseClass">
<view class="classtitle">{{item.title}}</view>
<view class="rightbox">
<view class="teachername">
<text wx:for="{{item.school_teachers}}" wx:key="id" wx:for-item="teacher" wx:if="{{teacherId == teacher.id}}" wx:for-index="tindex" class="{{teacherId == teacher.id ? 'my' : ''}}">{{teacher.nickname}}{{item.school_teachers.length > 1 ? '、': ''}}</text>
<text wx:for="{{item.school_teachers}}" wx:key="id" wx:for-item="teacher" wx:if="{{teacherId != teacher.id}}" wx:for-index="tindex" class="{{teacherId == teacher.id ? 'my' : ''}}">{{teacher.nickname}}{{item.school_teachers.length > 1 ? '、': ''}}</text>
</view>
<image class="selectedicon" src="{{imageRoot}}2b/common/{{filter.indexOf(classes, item.id) == -1 ? 'notselect' : 'select'}}.png"></image>
</view>
<image class="selectedicon" src="{{imageRoot}}2b/common/{{filter.indexOf(classes, item.id) == -1 ? 'notselect' : 'select'}}.png"></image>
</view>
</view>
</view>
</view>
</block>
<empty-content text="暂无数据~" emptyimg="" wx:else></empty-content>
<view class="savebtn" hover-class="none" hover-stop-propagation="false" bindtap="saveClass">保存</view>
</view>
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