This commit is contained in:
parent
2c6200a92a
commit
79f2a9d6b1
|
|
@ -23,7 +23,8 @@
|
|||
module.exports = {
|
||||
// baseUrl:'/prod-api',
|
||||
// http://192.168.0.14:19999
|
||||
loginBaseUrl:'http://112.29.103.165:1616',
|
||||
// loginBaseUrl:'http://112.29.103.165:1616',
|
||||
loginBaseUrl:'http://192.168.0.14:27018',
|
||||
// loginBaseUrl:'http://192.168.0.14:19999',
|
||||
// baseUrl:'http://192.168.0.14:2900',
|
||||
baseUrl:'http://192.168.0.14:19999',
|
||||
|
|
|
|||
119
pages.json
119
pages.json
|
|
@ -4,7 +4,7 @@
|
|||
},
|
||||
"pages": [
|
||||
// pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||||
// {
|
||||
// {
|
||||
// "path": "pages/YNEduApp/index/index",
|
||||
// "style": {
|
||||
// "navigationStyle" : "custom"
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
{
|
||||
"path": "pages/YNEduApp/index/index",
|
||||
"style": {
|
||||
"navigationStyle" : "custom"
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -123,98 +123,79 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/YNEduApp/learnProj/pdfStudy",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "pdf学习"
|
||||
}
|
||||
"path": "pages/YNEduApp/learnProj/pdfStudy",
|
||||
"style": {
|
||||
"navigationBarTitleText": "PDF学习"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/YNEduApp/prac/prac",
|
||||
"style" :
|
||||
{
|
||||
"navigationStyle" : "custom"
|
||||
}
|
||||
"path": "pages/YNEduApp/prac/prac",
|
||||
"style": {
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/YNEduApp/prac/exercises",
|
||||
"style" :
|
||||
{
|
||||
"navigationStyle" : "custom"
|
||||
}
|
||||
"path": "pages/YNEduApp/prac/exercises",
|
||||
"style": {
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/YNEduApp/learn/learn",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "学习"
|
||||
}
|
||||
"path": "pages/YNEduApp/learn/learn",
|
||||
"style": {
|
||||
"navigationBarTitleText": "学习"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/YNEduApp/exam/examination",
|
||||
"style" :
|
||||
{
|
||||
"navigationStyle" : "custom",
|
||||
"path": "pages/YNEduApp/exam/examination",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"app-plus": {
|
||||
"popGesture": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/YNEduApp/exam/examinationDetails",
|
||||
"style" :
|
||||
{
|
||||
"navigationStyle" : "custom"
|
||||
}
|
||||
"path": "pages/YNEduApp/exam/examinationDetails",
|
||||
"style": {
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/YNEduApp/exam/examinationList",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "考试记录"
|
||||
}
|
||||
"path": "pages/YNEduApp/exam/examinationList",
|
||||
"style": {
|
||||
"navigationBarTitleText": "考试记录"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/YNEduApp/exam/examinationResultDetails",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "考试结果详情"
|
||||
}
|
||||
"path": "pages/YNEduApp/exam/examinationResultDetails",
|
||||
"style": {
|
||||
"navigationBarTitleText": "考试结果详情"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/YNEduApp/learn/pdfStudy",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "pdf学习"
|
||||
}
|
||||
"path": "pages/YNEduApp/prac/pracDetail",
|
||||
"style": {
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/YNEduApp/prac/pracDetail",
|
||||
"style" :
|
||||
{
|
||||
"navigationStyle" : "custom"
|
||||
}
|
||||
"path": "pages/YNEduApp/user/faceScan",
|
||||
"style": {
|
||||
"navigationBarTitleText": "人脸识别"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/YNEduApp/user/faceScan",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "人脸识别"
|
||||
}
|
||||
"path": "pages/YNEduApp/user/myMsg",
|
||||
"style": {
|
||||
"navigationBarTitleText": "消息通知"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/YNEduApp/user/myMsg",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "消息通知"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/YNEduApp/user/msgDetail",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "消息详情"
|
||||
}
|
||||
"path": "pages/YNEduApp/user/msgDetail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "消息详情"
|
||||
}
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
// import face from '@/uni_modules/mcc-face/index.js'
|
||||
import face from '@/uni_modules/mcc-face/index.js'
|
||||
import {
|
||||
getExamQuestionList,
|
||||
insertQuestionAnswerById,
|
||||
|
|
@ -197,6 +197,9 @@ export default {
|
|||
this.random2 = Math.floor(Math.random() * 100000) + 900000 // random2 在 15-19分钟之间
|
||||
console.log('🚀 ~ mounted ~ this.random1:', this.random1, this.random2)
|
||||
},
|
||||
onUnload() {
|
||||
this.handleConfirmSubmit()
|
||||
},
|
||||
methods: {
|
||||
// 获取列表
|
||||
async getList() {
|
||||
|
|
@ -341,7 +344,7 @@ export default {
|
|||
this.showConfirmModal = true
|
||||
},
|
||||
// 确认提交
|
||||
async handleConfirmSubmit() {
|
||||
handleConfirmSubmit() {
|
||||
// 停止计时
|
||||
this.$refs.countDown.pause()
|
||||
const params = {
|
||||
|
|
@ -423,7 +426,7 @@ export default {
|
|||
params = JSON.stringify(params)
|
||||
|
||||
uni.request({
|
||||
url: config.baseUrl + '/personalCenter/getFaceRecognition',
|
||||
url: config.baseUrl + '/exam-student/personalCenter/getFaceRecognition',
|
||||
method: 'POST',
|
||||
header: {
|
||||
'content-type': 'application/json',
|
||||
|
|
@ -432,8 +435,8 @@ export default {
|
|||
data: params,
|
||||
success: res => {
|
||||
console.log('🚀 ~ openFaceScan ~ res-人脸识别:', res)
|
||||
res = JSON.parse(res.data)
|
||||
if (res.data.code == 200) {
|
||||
res = res.data
|
||||
if (res.code == 200) {
|
||||
this.$refs.uToast.show({
|
||||
message: '人脸识别成功',
|
||||
duration: 1000
|
||||
|
|
|
|||
|
|
@ -110,6 +110,7 @@ export default {
|
|||
// const res = await getStudentStudyWorkList(params)
|
||||
// console.log('🚀 ~ getList ~ res:', res)
|
||||
// this.taskList = res.data
|
||||
console.log('🚀 ~ toggleSearch ~ params:', params)
|
||||
uni.request({
|
||||
url: config.baseUrl + '/exam-student/personalCenter/getStudentStudyWorkList',
|
||||
method: 'post',
|
||||
|
|
|
|||
|
|
@ -70,6 +70,11 @@ export default {
|
|||
this.studyDuration = opt.studyDuration
|
||||
this.allStudyDuration = opt.allStudyDuration
|
||||
},
|
||||
onUnload() {
|
||||
console.log('🚀 ~ onUnload ~ 页面关闭')
|
||||
// 关闭页面时,修改项目进度
|
||||
this.handleEnd()
|
||||
},
|
||||
methods: {
|
||||
videoErrorCallback(e) {
|
||||
console.log('视频错误信息:', e)
|
||||
|
|
@ -122,7 +127,9 @@ export default {
|
|||
success: res => {
|
||||
console.log('🚀 ~ handleEnd ~ res:', res)
|
||||
this.showModal = false
|
||||
uni.navigateBack()
|
||||
uni.navigateTo({
|
||||
url: '/pages/YNEduApp/learnProj/learnProjDetail?id=' + this.studyId
|
||||
})
|
||||
},
|
||||
fail: err => {
|
||||
console.log('🚀 ~ handleEnd ~ err:', err)
|
||||
|
|
|
|||
|
|
@ -1,19 +0,0 @@
|
|||
<template>
|
||||
<view>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
url: '/static/pdf.html?http://qp118.bmwae.cn/preview/file?pageCount=4&file_type=pdf&id=1117542&url=https%3A%2F%2Fbmwfileres.bmwax.cn%2Fmqrcode%2Fmqrfile%2F586413%2F1723517907_3080034644_%E6%B5%8B%E8%AF%95.pdf&preview_url=convert%2Fmqrcode%2Fmqrfile%2F586413%2F1723517907_3080034644_%E6%B5%8B%E8%AF%95&short=xmQqgA&domain=w.afbcs.cn&sign=&d=true&t=%E6%B5%8B%E8%AF%95&tips=',
|
||||
};
|
||||
},
|
||||
onLoad(params){
|
||||
// let {url} = params
|
||||
// this.url = `/static/pdf.html?url=${url}`
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
<template>
|
||||
<pdf-view>
|
||||
<web-view :src="url"></web-view>
|
||||
</pdf-view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
path: {
|
||||
type: String,
|
||||
default: ''
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
url: ''
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.url = '/static/jsFile/readPdf.html?pdfUrl=' + this.path
|
||||
console.log('🚀 ~ mounted ~ this.url:', this.url)
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
|
|
@ -233,7 +233,7 @@ export default {
|
|||
methods: {
|
||||
// 获取学习项目详情
|
||||
async getStudyWorkAll() {
|
||||
let params = { userId: '31', id: this.projId, type: '1' }
|
||||
let params = { userId: uni.getStorageSync('userId'), id: this.projId, type: '1' }
|
||||
uni.request({
|
||||
method: 'post',
|
||||
url: config.bmwUrl + '/studyWork/StudyWorkAll',
|
||||
|
|
@ -276,9 +276,15 @@ export default {
|
|||
if (item.studyName.includes('.mp4')) {
|
||||
url = '/pages/YNEduApp/learn/learn'
|
||||
} else if (item.studyName.includes('.pdf')) {
|
||||
// url = '/pages/YNEduApp/learn/pdfStudy'
|
||||
url = '/pages/YNEduApp/learnProj/pdfStudy'
|
||||
// uni.removeStorageSync('pdfUrl')
|
||||
// uni.removeStorageSync('studyDuration')
|
||||
// uni.removeStorageSync('allStudyDuration')
|
||||
// uni.setStorageSync('pdfUrl', config.fileUrl + item.path)
|
||||
// uni.setStorageSync('studyDuration', item.studyDuration || 0)
|
||||
// uni.setStorageSync('allStudyDuration', item.allStudyDuration || 0)
|
||||
// 暂时没有
|
||||
return
|
||||
// return
|
||||
}
|
||||
|
||||
uni.navigateTo({
|
||||
|
|
|
|||
|
|
@ -1,19 +1,119 @@
|
|||
<template>
|
||||
<view>
|
||||
|
||||
</view>
|
||||
<view>
|
||||
<div>
|
||||
<PdfView v-if="isShow" :path="path" />
|
||||
</div>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
import PdfView from './components/PdfView.vue'
|
||||
import config from '@/config'
|
||||
|
||||
export default {
|
||||
components: { PdfView },
|
||||
data() {
|
||||
return {
|
||||
isShow: true,
|
||||
path: '',
|
||||
params: {},
|
||||
timer: null
|
||||
}
|
||||
},
|
||||
onLoad(opt) {
|
||||
opt = JSON.parse(opt.params)
|
||||
console.log('🚀 ~ onLoad ~ opt:', opt)
|
||||
this.params = JSON.parse(JSON.stringify(opt))
|
||||
this.params.studyDuration = Number(opt.studyDuration)
|
||||
this.params.allStudyDuration = Number(opt.allStudyDuration)
|
||||
this.path =
|
||||
config.fileUrl + opt.path + `&studyDuration=${opt.studyDuration}&allStudyDuration=${opt.allStudyDuration}`
|
||||
console.log('🚀 ~ onLoad ~ this.params:', this.path)
|
||||
console.log('🚀 ~ onLoad ~ this.params:', Number(opt.studyDuration), Number(opt.allStudyDuration))
|
||||
|
||||
if (Number(opt.studyDuration) <= Number(opt.allStudyDuration)) {
|
||||
setTimeout(() => {
|
||||
this.countDown()
|
||||
}, 1000)
|
||||
} else {
|
||||
// 提示-学习时长已满
|
||||
uni.showToast({
|
||||
title: '学习时长已满, 随时可以结束学习',
|
||||
icon: 'none'
|
||||
})
|
||||
}
|
||||
},
|
||||
// 卸载
|
||||
onUnload() {
|
||||
console.log('🚀 ~ onUnload ~ 页面关闭')
|
||||
clearInterval(this.timer)
|
||||
// 关闭页面时,修改项目进度
|
||||
this.updStudyDuration()
|
||||
},
|
||||
methods: {
|
||||
// 根据allStudyDuration 倒计时
|
||||
countDown() {
|
||||
let allStudyDuration = Number(this.params.allStudyDuration) - Number(this.params.studyDuration)
|
||||
// let studyDuration = Number(this.params.studyDuration)
|
||||
this.timer = setInterval(() => {
|
||||
allStudyDuration--
|
||||
// studyDuration++
|
||||
this.params.studyDuration++
|
||||
// this.$set(this.params, 'studyDuration', studyDuration)
|
||||
console.log('🚀 ~ countDown ~ this.params.studyDuration:', this.params.studyDuration)
|
||||
if (allStudyDuration <= 0) {
|
||||
clearInterval(this.timer)
|
||||
// 提示-学习时长已满
|
||||
uni.showToast({
|
||||
title: '学习时长已满',
|
||||
icon: 'none'
|
||||
})
|
||||
setTimeout(() => {
|
||||
this.updStudyDuration()
|
||||
}, 1000)
|
||||
}
|
||||
console.log('🚀 ~ countDown ~ 剩余时间-->:', allStudyDuration)
|
||||
console.log('🚀 ~ countDown ~ this.params.studyDuration:', this.params.studyDuration)
|
||||
}, 1000)
|
||||
},
|
||||
// 修改项目进度
|
||||
updStudyDuration() {
|
||||
const params = {
|
||||
userId: this.params.userId,
|
||||
studyId: this.params.studyId,
|
||||
stageId: this.params.stageId,
|
||||
stageContentId: this.params.stageContentId,
|
||||
stageType: this.params.stageType,
|
||||
studyCourseId: this.params.studyCourseId,
|
||||
sourceId: this.params.sourceId,
|
||||
studyDuration: this.params.studyDuration,
|
||||
studyPercentage: Math.round(
|
||||
(Number(this.params.studyDuration) / Number(this.params.allStudyDuration)) * 100
|
||||
).toFixed(2)
|
||||
}
|
||||
console.log('🚀 ~ updStudyDuration ~ params:', params)
|
||||
uni.request({
|
||||
url: config.baseUrl + '/exam-student/student/updStudyDuration',
|
||||
method: 'post',
|
||||
data: params,
|
||||
header: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
Authorization: uni.getStorageSync('access_token')
|
||||
},
|
||||
success: res => {
|
||||
console.log('🚀 ~ handleEnd ~ res:', res)
|
||||
this.isShow = false
|
||||
uni.navigateTo({
|
||||
url: '/pages/YNEduApp/learnProj/learnProjDetail?id=' + this.params.studyId
|
||||
})
|
||||
},
|
||||
fail: err => {
|
||||
console.log('🚀 ~ handleEnd ~ err:', err)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
<style lang="scss" scoped></style>
|
||||
|
|
|
|||
|
|
@ -227,7 +227,8 @@ export default {
|
|||
// 题目列表-弹框
|
||||
questionListSelect: [],
|
||||
studyId: '', // 学习id
|
||||
fileUrl: config.fileUrl
|
||||
fileUrl: config.fileUrl,
|
||||
intervalId: ''
|
||||
}
|
||||
},
|
||||
onLoad(opt) {
|
||||
|
|
@ -244,9 +245,10 @@ export default {
|
|||
this.getPracticeItData()
|
||||
this.getPracticeQuestion()
|
||||
},
|
||||
unmounted() {
|
||||
onUnload() {
|
||||
// 清除计时器
|
||||
clearInterval()
|
||||
clearInterval(this.intervalId)
|
||||
this.handleClose()
|
||||
},
|
||||
methods: {
|
||||
// 获取题目-上方数量
|
||||
|
|
@ -390,7 +392,7 @@ export default {
|
|||
},
|
||||
// 开始计时 - 实时更新已用时间
|
||||
startTimer() {
|
||||
setInterval(() => {
|
||||
this.intervalId = setInterval(() => {
|
||||
const time = this.usedTime.split(':')
|
||||
let hours = parseInt(time[0])
|
||||
let minutes = parseInt(time[1])
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
// import face from '@/uni_modules/mcc-face/index.js'
|
||||
import face from '@/uni_modules/mcc-face/index.js'
|
||||
import config from 'config.js'
|
||||
|
||||
export default {
|
||||
|
|
@ -101,19 +101,23 @@ export default {
|
|||
}
|
||||
params = JSON.stringify(params)
|
||||
uni.request({
|
||||
url: config.baseUrl + '/personalCenter/uploadFaceRecognition',
|
||||
url: config.baseUrl + '/exam-student/personalCenter/uploadFaceRecognition',
|
||||
method: 'POST',
|
||||
data: params,
|
||||
header: {
|
||||
'content-type': 'application/json'
|
||||
'content-type': 'application/json',
|
||||
Authorization: this.token
|
||||
},
|
||||
success: res => {
|
||||
res = res.data
|
||||
console.log('🚀 ~ this.uploadFaceRecognition ~ res上传成功:', res)
|
||||
if (res.data.code === 200) {
|
||||
if (res.code == 200) {
|
||||
uni.showToast({
|
||||
title: '人脸信息录入成功',
|
||||
icon: 'none'
|
||||
})
|
||||
uni.removeStorageSync('facePath')
|
||||
uni.setStorageSync('facePath', this.facePath)
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: '人脸信息录入失败',
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
<view class="user-avatar">
|
||||
<image :src="facePath"></image>
|
||||
</view>
|
||||
<view class="user-info">
|
||||
<view class="user-info" style="height: 120px;">
|
||||
<span style="font-size: 24px">{{ userName }}</span>
|
||||
<span style="font-size: 12px; color: #8a8a8b">{{ className }}</span>
|
||||
<span style="font-size: 12px; color: #8a8a8b; overflow: auto;">{{ className }}</span>
|
||||
</view>
|
||||
<view class="edit-btn">
|
||||
<view @click="handleEdit">修改资料</view>
|
||||
|
|
@ -47,7 +47,7 @@ export default {
|
|||
return {
|
||||
userName: uni.getStorageSync('userName'),
|
||||
className: uni.getStorageSync('className'),
|
||||
facePath: uni.getStorageSync('facePath'),
|
||||
facePath: config.fileUrl + uni.getStorageSync('facePath'),
|
||||
tabbar: TabbarConfig,
|
||||
// 信息参数
|
||||
learnStats: {
|
||||
|
|
|
|||
|
|
@ -213,14 +213,19 @@
|
|||
uni.setStorageSync('userName', req.data.loginUser.userName)
|
||||
uni.setStorageSync('className', req.data.loginUser.sysUser.className)
|
||||
uni.setStorageSync('facePath', req.data.loginUser.sysUser.facePath)
|
||||
setTimeout(() => {
|
||||
uni.reLaunch({
|
||||
url: '/pages/YNEduApp/index/index'
|
||||
})
|
||||
}, 500)
|
||||
},
|
||||
fail: err => {
|
||||
console.log(err)
|
||||
}
|
||||
})
|
||||
uni.reLaunch({
|
||||
url: '/pages/YNEduApp/index/index'
|
||||
})
|
||||
// uni.reLaunch({
|
||||
// url: '/pages/YNEduApp/index/index'
|
||||
// })
|
||||
}
|
||||
/* uni.navigateTo({
|
||||
url: '/pages/webview?webviewUrl=' + encodeURIComponent(url)
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/js-base64@3.6.0/base64.min.js"></script>
|
||||
<meta charset="utf-8" />
|
||||
<title></title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<button id="btn">打开</button>
|
||||
</body>
|
||||
<script type="text/javascript">
|
||||
|
||||
var bt = document.getElementById('btn');
|
||||
bt.onclick = function () {
|
||||
var url = 'http://112.29.103.165:1616/exam-bmw/ynExam/sourceMaterialFile/2023/11/15/227e1a716d504338a8241b17bbeff7ef---000.pdf';
|
||||
|
||||
baseUrl=encodeURIComponent(Base64.encode(url));
|
||||
|
||||
// window.open('http://140.210.195.210:8012/onlinePreview?url='+baseUrl);
|
||||
window.location.href='http://112.29.103.165:8012/onlinePreview?url='+baseUrl;
|
||||
};
|
||||
function open(){
|
||||
|
||||
}
|
||||
</script>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,177 @@
|
|||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,3 @@
|
|||
àRCopyright 1990-2009 Adobe Systems Incorporated.
|
||||
All rights reserved.
|
||||
See ./LICENSEáCNS2-H
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,3 @@
|
|||
àRCopyright 1990-2009 Adobe Systems Incorporated.
|
||||
All rights reserved.
|
||||
See ./LICENSEá ETen-B5-H` ^
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,4 @@
|
|||
àRCopyright 1990-2009 Adobe Systems Incorporated.
|
||||
All rights reserved.
|
||||
See ./LICENSE!!<21>º]aX!!]`<60>21<32>> <09>p<0B>z<EFBFBD>$]‚<06>"R‚d<E2809A>-Uƒ7<C692>*„
4„%<25>+ „Z „{<7B>/…%…<<3C>9K…b<E280A6>1]†.<2E>"‡‰`]‡,<2C>"]ˆ
|
||||
<EFBFBD>"]ˆh<CB86>"]‰F<E280B0>"]Š$<24>"]‹<02>"]‹`<60>"]Œ><3E>"]<5D><1C>"]<5D>z<EFBFBD>"]ŽX<C5BD>"]<5D>6<EFBFBD>"]<5D><14>"]<5D>r<EFBFBD>"]‘P<E28098>"]’.<2E>"]“<0C>"]“j<E2809C>"]”H<E2809D>"]•&<26>"]–<04>"]–b<E28093>"]—@<40>"]˜<1E>"]˜|<7C>"]™Z<E284A2>"]š8<C5A1>"]›<16>"]›t<E280BA>"]œR<C593>"]<5D>0<EFBFBD>"]ž<0E>"]žl<C5BE>"]ŸJ<C5B8>"] (<28>"]¡<06>"]¡d<C2A1>"]¢B<C2A2>"]£ <20>"X£~<7E>']¤W<C2A4>"]¥5<C2A5>"]¦<13>"]¦q<C2A6>"]§O<C2A7>"]¨-<2D>"]©<0B>"]©i<C2A9>"]ªG<C2AA>"]«%<25>"]¬<03>"]¬a<C2AC>"]?<3F>"]®<1D>"]®{<7B>"]¯Y<C2AF>"]°7<C2B0>"]±<15>"]±s<C2B1>"]²Q<C2B2>"]³/<2F>"]´
<0A>"]´k<C2B4>"]µI<C2B5>"]¶'<27>"]·<05>"]·c<C2B7>"]¸A<C2B8>"]¹<1F>"]¹}<7D>"]º[<5B>"]»9
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue