This repository has been archived by the owner on Apr 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
621 additions
and
471 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
.DS_Store | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,46 @@ | ||
{ | ||
"pages": [ | ||
"pages/index/index", | ||
"pages/iclass/iclass", | ||
"pages/document/document", | ||
"pages/my/my", | ||
"pages/feedback/feedback", | ||
"pages/webview/webview", | ||
"pages/aboutus/aboutus", | ||
"pages/homework/homework", | ||
"pages/myFavor/myFavor" | ||
], | ||
"window": { | ||
"backgroundTextStyle": "light", | ||
"navigationBarBackgroundColor": "#ffffff", | ||
"navigationBarTitleText": "我的北方", | ||
"navigationBarTextStyle": "black" | ||
}, | ||
"tabBar": { | ||
"color": "#a9b7b7", | ||
"selectedColor": "#000000", | ||
"borderStyle": "black", | ||
"list": [ | ||
{ | ||
"selectedIconPath": "imgs/index/teach_y.png", | ||
"iconPath": "imgs/index/teach_n.png", | ||
"pagePath": "pages/index/index", | ||
"text": "教务" | ||
}, | ||
{ | ||
"selectedIconPath": "imgs/index/model_y.png", | ||
"iconPath": "imgs/index/model_n.png", | ||
"pagePath": "pages/iclass/iclass", | ||
"text": "多模式" | ||
}, | ||
{ | ||
"selectedIconPath": "imgs/index/my_y.png", | ||
"iconPath": "imgs/index/my_n.png", | ||
"pagePath": "pages/my/my", | ||
"text": "我的" | ||
} | ||
] | ||
}, | ||
"sitemapLocation": "sitemap.json", | ||
"resizable": true | ||
{ | ||
"pages": [ | ||
"pages/index/index", | ||
"pages/iclass/iclass", | ||
"pages/document/document", | ||
"pages/my/my", | ||
"pages/feedback/feedback", | ||
"pages/webview/webview", | ||
"pages/aboutus/aboutus", | ||
"pages/homework/homework", | ||
"pages/myFavor/myFavor" | ||
], | ||
"window": { | ||
"backgroundTextStyle": "light", | ||
"navigationBarBackgroundColor": "#ffffff", | ||
"navigationBarTitleText": "我的北方", | ||
"navigationBarTextStyle": "black" | ||
}, | ||
"tabBar": { | ||
"color": "#a9b7b7", | ||
"selectedColor": "#000000", | ||
"borderStyle": "black", | ||
"list": [ | ||
{ | ||
"selectedIconPath": "imgs/index/teach_y.png", | ||
"iconPath": "imgs/index/teach_n.png", | ||
"pagePath": "pages/index/index", | ||
"text": "教务" | ||
}, | ||
{ | ||
"selectedIconPath": "imgs/index/model_y.png", | ||
"iconPath": "imgs/index/model_n.png", | ||
"pagePath": "pages/iclass/iclass", | ||
"text": "多模式" | ||
}, | ||
{ | ||
"selectedIconPath": "imgs/index/my_y.png", | ||
"iconPath": "imgs/index/my_n.png", | ||
"pagePath": "pages/my/my", | ||
"text": "我的" | ||
} | ||
] | ||
}, | ||
"sitemapLocation": "sitemap.json", | ||
"resizable": true | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,44 @@ | ||
<view class='inform'> | ||
<view wx:if='{{inform_loading}}' class='inform'> | ||
<image class='informIMG' src='../../imgs/document/waiting.gif' mode="widthFix"></image> | ||
<text>我们不生产课件</text> | ||
<text>我们只是知识的搬运工</text> | ||
<text>loading...</text> | ||
</view> | ||
|
||
|
||
<view style='height:20rpx;'></view> | ||
<view class='main'> | ||
<block class='coursewareList' wx:for='{{courseList}}'> | ||
<view class='coursewareBlock'> | ||
<view class='name_favor'> | ||
<view class='courseware_name'>{{item.file_name}}</view> | ||
<view class='favorView'> | ||
<image wx:if='{{!item.favourite}}' bindtap='favourites' data-index='{{index}}' class='unfavor_img' src='../../imgs/document/unfavourate.png'></image> | ||
<image wx:else class='favor_img' bindtap='unfavourites' data-index='{{index}}' src='../../imgs/document/favourate.png'></image> | ||
<view wx:else class='main'> | ||
<view class='mySearch'> | ||
<input placeholder="请输入关键字" placeholder-class="place-holder" confirm-type='search' value="{{inputValue}}" bindinput='search'></input> | ||
</view> | ||
<view wx:if='{{searchInfo}}' class='search_inform'> | ||
<text class='txtInfo'>---无相关内容---</text> | ||
</view> | ||
<view wx:else> | ||
<view style='height:20rpx;'></view> | ||
<block class='coursewareList' wx:for='{{courseList}}'> | ||
<view class='coursewareBlock'> | ||
<view class='name_favor'> | ||
<view class='courseware_name'>{{item.file_name}}</view> | ||
<view class='favorView'> | ||
<image wx:if='{{!item.favourite}}' bindtap='favourites' data-index='{{index}}' class='unfavor_img' src='../../imgs/document/unfavourate.png'></image> | ||
<image wx:else class='favor_img' bindtap='unfavourites' data-index='{{index}}' src='../../imgs/document/favourate.png'></image> | ||
</view> | ||
</view> | ||
</view> | ||
<image class='line' src='../../imgs/document/line.jpg'></image> | ||
<view class='doWare'> | ||
<view class='imgView' hover="true" hover-class="imghover"> | ||
<image class='img' bindtap='lookFile' data-index='{{index}}' src='../../imgs/document/look.jpg'></image> | ||
</view> | ||
<view class='imgView' hover="true" hover-class="imghover"> | ||
<image class='img' bindtap='downFile' data-index='{{index}}' src='../../imgs/document/download.jpg'></image> | ||
</view> | ||
<view class='imgView' hover="true" hover-class="imghover"> | ||
<button class='imgBTN' id='sendBTN' hover="true" open-type="share" data-index='{{index}}'></button> | ||
<image class='sendimg' src='../../imgs/document/send.jpg'></image> | ||
<image class='line' src='../../imgs/document/line.jpg'></image> | ||
<view class='doWare'> | ||
<view class='imgView' hover="true" hover-class="imghover"> | ||
<image class='img' bindtap='lookFile' data-index='{{index}}' src='../../imgs/document/look.jpg'></image> | ||
</view> | ||
<view class='imgView' hover="true" hover-class="imghover"> | ||
<image class='img' bindtap='downFile' data-index='{{index}}' src='../../imgs/document/download.jpg'></image> | ||
</view> | ||
<view class='imgView' hover="true" hover-class="imghover"> | ||
<button class='imgBTN' id='sendBTN' hover="true" open-type="share" data-index='{{index}}'></button> | ||
<image class='sendimg' src='../../imgs/document/send.jpg'></image> | ||
</view> | ||
</view> | ||
</view> | ||
</view> | ||
</block> | ||
<view style='height:40rpx'></view> | ||
</block> | ||
<view style='height:40rpx'></view> | ||
</view> | ||
</view> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
// pages/homework/homework.js | ||
import { | ||
myURL | ||
} from "../../setting.js" | ||
const app = getApp() | ||
|
||
Page({ | ||
|
||
/** | ||
* 页面的初始数据 | ||
*/ | ||
data: { | ||
// homeList_all:'', | ||
homeList: '', | ||
course_name: '', | ||
// joint: '', | ||
}, | ||
|
||
/** | ||
* 生命周期函数--监听页面加载 | ||
*/ | ||
onLoad: function (options) { | ||
let that = this | ||
// console.log(options.homeList_all) | ||
that.setData({ | ||
course_name: options.course_name, | ||
homeList_all: JSON.parse(options.homeList_all) | ||
}) | ||
wx.setNavigationBarTitle({ | ||
title: that.data.course_name, | ||
}) | ||
for (var key in that.data.homeList_all) { | ||
if (that.data.course_name == key) { | ||
that.setData({ | ||
homeList: that.data.homeList_all[key], | ||
// end_date: that.data.homeList_all[key].end_date | ||
}) | ||
break | ||
} | ||
} | ||
}, | ||
// pages/homework/homework.js | ||
import { | ||
myURL | ||
} from "../../setting.js" | ||
const app = getApp() | ||
|
||
Page({ | ||
|
||
/** | ||
* 页面的初始数据 | ||
*/ | ||
data: { | ||
// homeList_all:'', | ||
homeList: '', | ||
course_name: '', | ||
// joint: '', | ||
}, | ||
|
||
/** | ||
* 生命周期函数--监听页面加载 | ||
*/ | ||
onLoad: function (options) { | ||
let that = this | ||
// console.log(options.homeList_all) | ||
that.setData({ | ||
course_name: options.course_name, | ||
homeList_all: JSON.parse(options.homeList_all) | ||
}) | ||
wx.setNavigationBarTitle({ | ||
title: that.data.course_name, | ||
}) | ||
for (var key in that.data.homeList_all) { | ||
if (that.data.course_name == key) { | ||
that.setData({ | ||
homeList: that.data.homeList_all[key], | ||
// end_date: that.data.homeList_all[key].end_date | ||
}) | ||
break | ||
} | ||
} | ||
}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"usingComponents": {} | ||
{ | ||
"usingComponents": {} | ||
} |
Oops, something went wrong.