@ -0,0 +1,14 @@
|
||||
VUE_APP_ENV = 'development' |
||||
VUE_APP_NAME = 学院 |
||||
VUE_APP_API_URL = https://testapi |
||||
#VUE_APP_API_URL = https://api.shequ.fanruan.com |
||||
NEW_VUE_APP_API_URL = http://47.103.147.140:9094 |
||||
VUE_APP_EDU_URL = http://localhost:8084 |
||||
VUE_APP_TOKEN_URL = http://localhost |
||||
VUE_APP_SHEQU_URL = https://frbbs |
||||
VUE_APP_ID_URL = https://id |
||||
#VUE_APP_ID_URL = https://passport.fanruan.com |
||||
#VUE_APP_CIDAPI_URL = https://cid.fanruan.com/api |
||||
VUE_APP_CIDAPI_URL = https://test-cid/api |
||||
VUE_APP_PASS_URL = http://localhost:8080 |
||||
VUE_APP_CERT_URL = https://admin.shequ.fanruan.com |
@ -0,0 +1,12 @@
|
||||
NODE_ENV = production |
||||
VUE_APP_ENV = dist |
||||
outputDir = dist |
||||
VUE_APP_NAME = 学院 |
||||
VUE_APP_API_URL = https://api.shequ.fanruan.com |
||||
VUE_APP_EDU_URL = https://edu.fanruan.com |
||||
VUE_APP_TOKEN_URL = https://edu.fanruan.com |
||||
VUE_APP_SHEQU_URL = https://bbs.fanruan.com |
||||
VUE_APP_ID_URL = https://fanruanclub.com |
||||
VUE_APP_CIDAPI_URL = https://cid.fanruan.com/api |
||||
VUE_APP_PASS_URL = https://fanruanclub.com |
||||
VUE_APP_CERT_URL = https://cert.fanruan.com/ |
@ -0,0 +1,12 @@
|
||||
NODE_ENV = 'production' |
||||
VUE_APP_ENV = 'test' |
||||
outputDir = 'test' |
||||
VUE_APP_NAME = 学院 |
||||
VUE_APP_API_URL = https://testapi.shequ.fanruan.com |
||||
VUE_APP_EDU_URL = https://testedu.fanruan.com |
||||
VUE_APP_TOKEN_URL = https://testedu.fanruan.com |
||||
VUE_APP_SHEQU_URL = https://cu.fanruan.com |
||||
VUE_APP_ID_URL = https://passport.fanruan.com |
||||
VUE_APP_CIDAPI_URL = https://testcid.fanruan.com/api |
||||
VUE_APP_PASS_URL = https://passport.fanruan.com |
||||
VUE_APP_CERT_URL = https://admin.shequ.fanruan.com |
@ -0,0 +1,24 @@
|
||||
.DS_Store |
||||
node_modules |
||||
/dist |
||||
/test |
||||
|
||||
|
||||
# local env files |
||||
.env.local |
||||
.env.*.local |
||||
|
||||
# Log files |
||||
npm-debug.log* |
||||
yarn-debug.log* |
||||
yarn-error.log* |
||||
pnpm-debug.log* |
||||
|
||||
# Editor directories and files |
||||
.idea |
||||
.vscode |
||||
*.suo |
||||
*.ntvs* |
||||
*.njsproj |
||||
*.sln |
||||
*.sw? |
@ -0,0 +1,29 @@
|
||||
# map-demo |
||||
|
||||
## Project setup |
||||
``` |
||||
yarn install |
||||
``` |
||||
|
||||
### Compiles and hot-reloads for development |
||||
``` |
||||
yarn serve |
||||
``` |
||||
|
||||
### Compiles and minifies for production |
||||
``` |
||||
yarn build |
||||
``` |
||||
|
||||
### Lints and fixes files |
||||
``` |
||||
yarn lint |
||||
``` |
||||
|
||||
### 本地运行测试环境 |
||||
``` |
||||
yarn serve:test |
||||
``` |
||||
|
||||
### Customize configuration |
||||
See [Configuration Reference](https://cli.vuejs.org/config/). |
@ -0,0 +1,5 @@
|
||||
module.exports = { |
||||
presets: [ |
||||
'@vue/cli-plugin-babel/preset' |
||||
] |
||||
} |
@ -0,0 +1,11 @@
|
||||
FROM nginx:1.21.6-alpine |
||||
|
||||
ARG DIST_DIR |
||||
WORKDIR /data |
||||
|
||||
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf |
||||
COPY $DIST_DIR /data |
||||
|
||||
EXPOSE 80 |
||||
|
||||
CMD ["nginx", "-g", "daemon off;"] |
@ -0,0 +1,15 @@
|
||||
server { |
||||
listen 80; |
||||
location / { |
||||
root /data; |
||||
try_files $uri /index.html; |
||||
} |
||||
} |
||||
gzip on; |
||||
gzip_min_length 1k; |
||||
gzip_buffers 4 16k; |
||||
gzip_http_version 1.1; |
||||
gzip_comp_level 9; |
||||
gzip_types text/plain application/x-javascript text/css application/xml text/javascript application/x-httpd-php application/javascript application/json; |
||||
gzip_disable "MSIE [1-6]\."; |
||||
gzip_vary on; |
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash |
||||
|
||||
# fine-digit-edu-webui-old |
||||
set -ex \ |
||||
&& yarn build:test \ |
||||
&& docker build -f docker/Dockerfile \ |
||||
-t registry.cn-shanghai.aliyuncs.com/frbbs/fine-digit-edu-webui-old:latest-snapshot \ |
||||
--build-arg DIST_DIR=test \ |
||||
. \ |
||||
&& docker push registry.cn-shanghai.aliyuncs.com/frbbs/fine-digit-edu-webui-old:latest-snapshot |
@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash |
||||
|
||||
# fine-digit-edu-webui-old |
||||
VERSION=$(date "+%Y%m%d") |
||||
set -ex \ |
||||
&& yarn build \ |
||||
&& docker build -f docker/Dockerfile \ |
||||
-t registry.cn-shanghai.aliyuncs.com/frbbs/fine-digit-edu-webui-old:latest \ |
||||
-t registry.cn-shanghai.aliyuncs.com/frbbs/fine-digit-edu-webui-old:"$VERSION" \ |
||||
--build-arg DIST_DIR=dist \ |
||||
. \ |
||||
&& docker push registry.cn-shanghai.aliyuncs.com/frbbs/fine-digit-edu-webui-old:latest \ |
||||
&& docker push registry.cn-shanghai.aliyuncs.com/frbbs/fine-digit-edu-webui-old:"$VERSION" |
@ -0,0 +1,13 @@
|
||||
{ |
||||
"compilerOptions": { |
||||
"baseUrl": "./", |
||||
"paths": { |
||||
"@/*": [ |
||||
"src/*" |
||||
] |
||||
} |
||||
}, |
||||
"exclude": [ |
||||
"node_modules" |
||||
] |
||||
} |
@ -0,0 +1,65 @@
|
||||
{ |
||||
"name": "edu.fanruan.com", |
||||
"version": "1.1.0", |
||||
"private": true, |
||||
"scripts": { |
||||
"serve": "vue-cli-service serve", |
||||
"serve:test": "vue-cli-service serve --mode test", |
||||
"build:prod": "vue-cli-service build --mode prod", |
||||
"build:test": "vue-cli-service build --mode test", |
||||
"build": "vue-cli-service build", |
||||
"lint": "vue-cli-service lint" |
||||
}, |
||||
"dependencies": { |
||||
"axios": "^0.21.1", |
||||
"bezier-easing": "^2.1.0", |
||||
"clipboard": "^2.0.8", |
||||
"core-js": "^3.6.5", |
||||
"echarts": "^4.8.0", |
||||
"element-plus": "^1.0.2-beta.70", |
||||
"js-base64": "^3.6.0", |
||||
"js-cookie": "^2.2.1", |
||||
"jsonp": "^0.2.1", |
||||
"jsonp-promise": "^0.1.2", |
||||
"qrcode": "^1.4.4", |
||||
"svg-sprite-loader": "^6.0.11", |
||||
"vant": "^3.4.9", |
||||
"vue": "^3.0.0", |
||||
"vue-router": "4", |
||||
"vue-wechat-title": "^2.0.7", |
||||
"vue3-seamless-scroll": "^1.0.6", |
||||
"vuex": "^4.0.0-rc.2" |
||||
}, |
||||
"devDependencies": { |
||||
"@vue/cli-plugin-babel": "~4.5.0", |
||||
"@vue/cli-plugin-eslint": "~4.5.0", |
||||
"@vue/cli-service": "~4.5.0", |
||||
"@vue/compiler-sfc": "^3.0.0", |
||||
"babel-eslint": "^10.1.0", |
||||
"eslint": "^6.7.2", |
||||
"eslint-plugin-vue": "^7.0.0-0", |
||||
"sass": "^1.32.4", |
||||
"sass-loader": "^10.1.1" |
||||
}, |
||||
"eslintConfig": { |
||||
"root": true, |
||||
"env": { |
||||
"node": true |
||||
}, |
||||
"extends": [ |
||||
"plugin:vue/vue3-essential", |
||||
"eslint:recommended" |
||||
], |
||||
"parserOptions": { |
||||
"parser": "babel-eslint" |
||||
}, |
||||
"rules": { |
||||
"no-undef": "off" |
||||
} |
||||
}, |
||||
"browserslist": [ |
||||
"> 1%", |
||||
"last 2 versions", |
||||
"not dead" |
||||
] |
||||
} |
@ -0,0 +1,12 @@
|
||||
{ |
||||
"code": 200, |
||||
"message": "success", |
||||
"data": [ |
||||
{ |
||||
"city": 56, |
||||
"class": 444, |
||||
"student": 17352 |
||||
} |
||||
], |
||||
"status": 0 |
||||
} |
After Width: | Height: | Size: 4.2 KiB |
@ -0,0 +1,105 @@
|
||||
{ |
||||
"config": { |
||||
"fullInteractive": true, |
||||
"delay": 30, |
||||
"timeFrequency": 100, |
||||
"autoLoad": true, |
||||
"loadNext": 0, |
||||
"definition": false, |
||||
"subtitle": false, |
||||
"playbackRate": true, |
||||
"smartRemove": true, |
||||
"bufferTime": 200, |
||||
"rtmpBufferTime": 0, |
||||
"click": true, |
||||
"doubleClick": true, |
||||
"doubleClickInterval": 200, |
||||
"keyDown": { |
||||
"space": true, |
||||
"left": true, |
||||
"right": true, |
||||
"up": true, |
||||
"down": true |
||||
}, |
||||
"timeJump": 10, |
||||
"volumeJump": 0.1, |
||||
"timeScheduleAdjust": 1, |
||||
"previewDefaultLoad": true, |
||||
"promptSpotTime": true, |
||||
"buttonMode": { |
||||
"player": false, |
||||
"controlBar": false, |
||||
"timeSchedule": true, |
||||
"volumeSchedule": true |
||||
}, |
||||
"liveAndVod": { |
||||
"open": false, |
||||
"vodTime": 2, |
||||
"start": "start" |
||||
}, |
||||
"usehardwareeecoder": false, |
||||
"errorNum": 1, |
||||
"playCorrect": false, |
||||
"timeCorrect": true, |
||||
"m3u8Definition": {}, |
||||
"m3u8MaxBufferLength": 30, |
||||
"split": ",", |
||||
"timeStamp": "", |
||||
"videoDrawImage": false, |
||||
"errorTime": 10, |
||||
"addCallback": "adPlay,adPause,playOrPause,videoPlay,videoPause,videoMute,videoEscMute,videoClear,changeVolume,fastBack,fastNext,videoSeek,newVideo,getMetaDate,videoRotation,videoBrightness,videoContrast,videoSaturation,videoHue,videoZoom,videoProportion,videoError,addListener,removeListener,addElement,getElement,deleteElement,elementShow,animate,animateResume,animatePause,deleteAnimate,changeConfig,getConfig,openUrl,fullScreen,quitFullScreen,switchFull,screenshot,custom,changeControlBarShow,getCurrentSrc,changeDefinition,changeSubtitles,changeSubtitlesSize" |
||||
}, |
||||
"menu": { |
||||
"ckkey": "97b6a7181e0bdbe69e692383e1071ba1", |
||||
"name": "ckplayer", |
||||
"link": "http://www.ckplayer.com", |
||||
"domain": "", |
||||
"version": "version:X2", |
||||
"more":[] |
||||
}, |
||||
"languagePath": "", |
||||
"stylePath": "", |
||||
"style": { |
||||
"loading": { |
||||
"file": "data:image/gif;base64,R0lGODlhPAAeALMIAPRqMPRmK/RqMfNkKPRyPPV+TPRpL/NfIf///wAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjg3OTQ3RDUzRTEwMTExRUFCNkQxRDI3Mzc1NTY5OUQ3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjg3OTQ3RDU0RTEwMTExRUFCNkQxRDI3Mzc1NTY5OUQ3Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9In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VkqAWbW6Hhqdkaal/mq2nsaWTs5FZWiKbuZZQqLiyCEBBwsOMxcnLxM1bgC8w0CGw1SnX2CQRACH5BAkKAAgALAAAAAA8AB4AAAStEMlJq7046827/2AoZkNpjuh3rGzqbmx7BXT9bkCuxyvGHzfN7+fjBTND44VoETifqWSsOLUwR1KZVVm5VnS6ZRYorna5ZzNlTN6qJ941Gj6mauVveh7Btvfcd3iBEn1lg3xzeoeFgH9ph4h7jI+OgpWWbZhxipeEiZ6SdYadkZBgORenAJugi58orKWksVivrE9QR7G0R5SZFDU2vRy8wyDFxh4mJ8nNzs/QHREAIfkECQoACAAsAAAAADwAHgAABKEQyUmrvTjrzbv/YCiOZGmeaKCuaLqqRyy3p2zfdGbs/HX/B4xgSCz9fEAb5khiVpJKZLQCqFqXOAt0JuU+s1owZRvDTsdi9HlCDnbL4TU7LWmbvWp8Hv7d3vl7bnF6dWR/goGHb0CKg4CJjoyLk5R9UI1UVlWYgU6WjyCec36VIqKFpBZERU10CHY5FwWztIsvKrEktwG5vb6/wMHCw8QTEQAh+QQFCgAIACwAAAAAPAAeAAAErBDJSau9OOvNu/9gKI5kOQ1oaq7Z4b5sXL2w7NHuhR824f+YnQ4nKBpLwiFNuauNkhYopYnDAK5YZk7Li1Kds6p3yeVKp+IweQyefNvuNHqthiPeW3Z+br/L429BfxJngHZ4XXqJfHuMi4ZUgnSQj5Rmg4SYhZmTnF9WWFdlo3WRJJt+namfp5irjZ4uRketqq+Vtz0/PpKHrjaKpMAam6jDIcbHHykqys7PKxEAOw==", |
||||
"align": "center", |
||||
"vAlign": "middle", |
||||
"width": 60, |
||||
"height": 30, |
||||
"offsetX": -30, |
||||
"offsetY": -15 |
||||
}, |
||||
"logo": { |
||||
"file": "", |
||||
"align": "right", |
||||
"vAlign": "top", |
||||
"width": 87, |
||||
"height": 30, |
||||
"offsetX": -100, |
||||
"offsetY": 10 |
||||
}, |
||||
"advertisement": { |
||||
"time": 5, |
||||
"method": "get", |
||||
"videoForce": false, |
||||
"videoVolume": 0.8, |
||||
"skipButtonShow": true, |
||||
"linkButtonShow": true, |
||||
"muteButtonShow": true, |
||||
"closeButtonShow": true, |
||||
"closeOtherButtonShow": true, |
||||
"frontSkipButtonDelay": 2, |
||||
"insertSkipButtonDelay": 0, |
||||
"endSkipButtonDelay": 0, |
||||
"frontStretched": 1, |
||||
"insertStretched": 2, |
||||
"pauseStretched": 2, |
||||
"endStretched": 2 |
||||
}, |
||||
"videoDefault": { |
||||
"defaultWidth": 4, |
||||
"defaultHeight": 3 |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,105 @@
|
||||
{ |
||||
"config": { |
||||
"fullInteractive": true, |
||||
"delay": 30, |
||||
"timeFrequency": 100, |
||||
"autoLoad": true, |
||||
"loadNext": 0, |
||||
"definition": false, |
||||
"subtitle": false, |
||||
"playbackRate": true, |
||||
"smartRemove": true, |
||||
"bufferTime": 200, |
||||
"rtmpBufferTime": 0, |
||||
"click": true, |
||||
"doubleClick": true, |
||||
"doubleClickInterval": 200, |
||||
"keyDown": { |
||||
"space": true, |
||||
"left": true, |
||||
"right": true, |
||||
"up": true, |
||||
"down": true |
||||
}, |
||||
"timeJump": 10, |
||||
"volumeJump": 0.1, |
||||
"timeScheduleAdjust": "1", |
||||
"previewDefaultLoad": true, |
||||
"promptSpotTime": true, |
||||
"buttonMode": { |
||||
"player": false, |
||||
"controlBar": false, |
||||
"timeSchedule": true, |
||||
"volumeSchedule": true |
||||
}, |
||||
"liveAndVod": { |
||||
"open": false, |
||||
"vodTime": 2, |
||||
"start": "start" |
||||
}, |
||||
"usehardwareeecoder": false, |
||||
"errorNum": 1, |
||||
"playCorrect": false, |
||||
"timeCorrect": true, |
||||
"m3u8Definition": {}, |
||||
"m3u8MaxBufferLength": 30, |
||||
"split": ",", |
||||
"timeStamp": "", |
||||
"videoDrawImage": false, |
||||
"errorTime": 10, |
||||
"addCallback": "adPlay,adPause,playOrPause,videoPlay,videoPause,videoMute,videoEscMute,videoClear,changeVolume,fastBack,fastNext,videoSeek,newVideo,getMetaDate,videoRotation,videoBrightness,videoContrast,videoSaturation,videoHue,videoZoom,videoProportion,videoError,addListener,removeListener,addElement,getElement,deleteElement,elementShow,animate,animateResume,animatePause,deleteAnimate,changeConfig,getConfig,openUrl,fullScreen,quitFullScreen,switchFull,screenshot,custom,changeControlBarShow,getCurrentSrc,changeDefinition,changeSubtitles,changeSubtitlesSize" |
||||
}, |
||||
"menu": { |
||||
"ckkey": "97b6a7181e0bdbe69e692383e1071ba1", |
||||
"name": "ckplayer", |
||||
"link": "http://www.ckplayer.com", |
||||
"domain": "", |
||||
"version": "version:X2", |
||||
"more":[] |
||||
}, |
||||
"languagePath": "", |
||||
"stylePath": "", |
||||
"style": { |
||||
"loading": { |
||||
"file": "data:image/gif;base64,R0lGODlhPAAeALMIAPRqMPRmK/RqMfNkKPRyPPV+TPRpL/NfIf///wAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlw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mTnF9WWFdlo3WRJJt+namfp5irjZ4uRketqq+Vtz0/PpKHrjaKpMAam6jDIcbHHykqys7PKxEAOw==", |
||||
"align": "center", |
||||
"vAlign": "middle", |
||||
"width": 60, |
||||
"height": 30, |
||||
"offsetX": -30, |
||||
"offsetY": -15 |
||||
}, |
||||
"logo": { |
||||
"file": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFcAAAAUCAYAAAD4BKGuAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAVTSURBVHja1Fl/aJVVGP4cw/mH5tUWi3I53cA0WbeIzMgaq6lQoVawm0S6glHhIKM/TELICotqCxMSGWQRdFfRLEhc9mMxqA0rbdS2wsV0GkZXuaKUWlHvgeeNh7f3u1du3Ft74eGcnXu+c873vD/Pt0nZbDZyZL2gWZAQTBH8IjggeEjgPZASPIB+g/P7EsGT6J/BfHfjHFIv2Jpjj/+dlDskvCm42Jk7X3C7YJOgw/z2oOBGwdEYRW0RVAjOCZ4ugNggqwU3CTLRBJFyQ+xuwVRY14igB78tE9QKpgmeEHwkGKRnq9AeMesHRWwEsYGUxwSdBZ51ecweE4Lct0DsOVjaZvptA8jfC4JfghWpXIJ2jMY+EDShf1pwh6DvX5x1GtpDE43cNFlfhyFWpQ9xd5FgFo3fRi++C+2nCBNBRgU3O6RsEyyEQv4QLMb4CcE9RlFBLqS1WZ6BZ83A35ofVhuvfE5QJrjWebdgCJOx51qM1QgewbMzsO57MDQrB9DeC8ObHd5Xyb2eiNiQQxmtgkZBr+OuZwV7BIcF1RgbF1wTE2MbEccX48VY9sMzBilhTke/m+b1Q9lefpgruI7OsYhIGzPJuAnn3+6EM7vu1YKl5vkrYRSfCGZivCxoMklk7M5j6eFlXyRNRSAvAoFf0Fo/CC7LkbwuQjsZsf0qwbuI9wlYgIqGl6NEzDYibJ/gbmAfxpKoMDRcaSK8xZzjZbK+NMhSYoNSngV5e+ksKXp+JdqZwD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AElFTkSuQmCC", |
||||
"align": "right", |
||||
"vAlign": "top", |
||||
"width": 87, |
||||
"height": 30, |
||||
"offsetX": -100, |
||||
"offsetY": 10 |
||||
}, |
||||
"advertisement": { |
||||
"time": 5, |
||||
"method": "get", |
||||
"videoForce": false, |
||||
"videoVolume": 0.8, |
||||
"skipButtonShow": true, |
||||
"linkButtonShow": true, |
||||
"muteButtonShow": true, |
||||
"closeButtonShow": true, |
||||
"closeOtherButtonShow": true, |
||||
"frontSkipButtonDelay": 2, |
||||
"insertSkipButtonDelay": 0, |
||||
"endSkipButtonDelay": 0, |
||||
"frontStretched": 1, |
||||
"insertStretched": 2, |
||||
"pauseStretched": 2, |
||||
"endStretched": 2 |
||||
}, |
||||
"videoDefault": { |
||||
"defaultWidth": 4, |
||||
"defaultHeight": 3 |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,28 @@
|
||||
Copyright (c) 2017 Dailymotion (http://www.dailymotion.com) |
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); |
||||
you may not use this file except in compliance with the License. |
||||
You may obtain a copy of the License at |
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0 |
||||
|
||||
Unless required by applicable law or agreed to in writing, software |
||||
distributed under the License is distributed on an "AS IS" BASIS, |
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
See the License for the specific language governing permissions and |
||||
limitations under the License. |
||||
|
||||
src/remux/mp4-generator.js and src/demux/exp-golomb.js implementation in this project |
||||
are derived from the HLS library for video.js (https://github.com/videojs/videojs-contrib-hls) |
||||
|
||||
That work is also covered by the Apache 2 License, following copyright: |
||||
Copyright (c) 2013-2015 Brightcove |
||||
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
||||
THE SOFTWARE. |
@ -0,0 +1,42 @@
|
||||
{ |
||||
"adCountdown": "[$Second]", |
||||
"skipDelay": "[$Second]", |
||||
"buttonOver": { |
||||
"play": "点击播放", |
||||
"pause": "暂停播放", |
||||
"mute": "静音", |
||||
"escMute": "恢复音量", |
||||
"full": "全屏", |
||||
"escFull": "退出全屏", |
||||
"previousPage": "上一集", |
||||
"nextPage": "下一集", |
||||
"definition": "选择清晰度", |
||||
"subtitles": "选择字幕", |
||||
"playbackrate": "倍速播放" |
||||
}, |
||||
"volumeSliderOver": "音量:[$volume]%", |
||||
"buffer": "[$percentage]%", |
||||
"timeSliderOver": "[$timeh]:[$timei]:[$times]", |
||||
"liveAndVod": "[$timeh]:[$timei]:[$times]", |
||||
"vod":"[$timeh]:[$timei]:[$times] / [$durationh]:[$durationi]:[$durations]", |
||||
"live": "直播中 [$liveTimeY]-[$liveTimem]-[$liveTimed] [$liveTimeh]:[$liveTimei]:[$liveTimes]", |
||||
"m3u8Definition": { |
||||
"name": [ |
||||
"流畅", |
||||
"低清", |
||||
"标清", |
||||
"高清", |
||||
"超清", |
||||
"蓝光", |
||||
"未知" |
||||
] |
||||
}, |
||||
"error": { |
||||
"cannotFindUrl": "视频地址不存在", |
||||
"streamNotFound": "加载失败", |
||||
"formatError": "视频格式错误" |
||||
}, |
||||
"definition": "自动", |
||||
"subtitle": "默认", |
||||
"playbackrate": "默认" |
||||
} |
@ -0,0 +1,19 @@
|
||||
<template> |
||||
<router-view /> |
||||
</template> |
||||
|
||||
<script> |
||||
</script> |
||||
|
||||
<style> |
||||
* { |
||||
margin: 0; |
||||
padding: 0; |
||||
box-sizing: border-box; |
||||
} |
||||
a.active { |
||||
color: #0082fc; |
||||
} |
||||
|
||||
|
||||
</style> |
@ -0,0 +1,10 @@
|
||||
import request from "@/utils/request"; |
||||
|
||||
|
||||
// 意向调查
|
||||
export function adurl(adid) { |
||||
return request({ |
||||
url: `/v1/help/getComAds/${adid}/`, |
||||
method: "get", |
||||
}) |
||||
} |
@ -0,0 +1,89 @@
|
||||
/* |
||||
* @Author: xiaowei |
||||
* @Date: 2021-01-21 10:28:41 |
||||
* @LastEditTime: 2021-02-02 19:26:01 |
||||
* @Description: 认证 |
||||
*/ |
||||
|
||||
import request from "@/utils/request"; |
||||
import { getUid, getRefreshToken, getAppId } from '@/utils/cookie'; |
||||
|
||||
/** |
||||
* @description: 获取token |
||||
* @param {*} params |
||||
*/ |
||||
export function getNewToken() { |
||||
return request({ |
||||
url:"/idapi/token/", |
||||
method: "get" |
||||
}) |
||||
} |
||||
|
||||
/** |
||||
* @description: 获取token |
||||
* @param {*} params |
||||
*/ |
||||
export function getToken() { |
||||
return request({ |
||||
url:"/idapi/accesstoken/", |
||||
method: "get" |
||||
}) |
||||
} |
||||
|
||||
/** |
||||
* @description: 刷新token |
||||
* @param {*} params |
||||
*/ |
||||
export function refreshToken() { |
||||
return request({ |
||||
url:`/v1/token/new/refresh/?appid=${getAppId()}&uid=${getUid()}&refresh_token=${getRefreshToken()}`, |
||||
method: "get" |
||||
}) |
||||
} |
||||
|
||||
/** |
||||
* @description: 获取用户信息 |
||||
* @param {*} params |
||||
*/ |
||||
export function getInfo() { |
||||
// return Promise.resolve(
|
||||
// {"code":200,"message":"success","data":{"avatar":"https://bbs.fanruan.com/uc_server/avatar.php?uid=55549","fr_uid":55549,"username":null,"regdate":null,"position":null,"location":"","signature":null,"fr_expires_time":1661313258}}
|
||||
// )
|
||||
return request({ |
||||
url:"/idapi/userinfo/", |
||||
method: "get" |
||||
}) |
||||
} |
||||
|
||||
/** |
||||
* @description: 通过sid获取code |
||||
* @param {*} params |
||||
*/ |
||||
export function getUserCode(sid) { |
||||
return request({ |
||||
url:`/idapi/sid/?sid=${sid}`, |
||||
method: "get" |
||||
}) |
||||
} |
||||
|
||||
/** |
||||
* @description: 通过sid获取code |
||||
* @param {*} params |
||||
*/ |
||||
export function getWxjssdk() { |
||||
return request({ |
||||
url:'/idapi/wxjssdk/', |
||||
method: "get" |
||||
}) |
||||
} |
||||
|
||||
/** |
||||
* @description: cas登录注册 |
||||
* @param {*} params |
||||
*/ |
||||
export function casLogin(ticket) { |
||||
return request({ |
||||
url:`/v1/user/cas/login/?ticket=${ticket}&service=${process.env.VUE_APP_EDU_URL}/`, |
||||
method: "get" |
||||
}) |
||||
} |
@ -0,0 +1,27 @@
|
||||
/* |
||||
* @Author: XiaoWei |
||||
* @Date: 2021-01-19 18:16:45 |
||||
* @LastEditors: xiaowei |
||||
* @LastEditTime: 2021-03-30 01:39:59 |
||||
* @Description: 视频相关接口 |
||||
*/ |
||||
|
||||
import request from "@/utils/request"; |
||||
|
||||
|
||||
// 获取优惠券
|
||||
export function getCoupon(params) { |
||||
return request({ |
||||
url: '/v1/user/coupon/getCoupon', |
||||
method: "get", |
||||
params |
||||
}) |
||||
} |
||||
// 兑换优惠券
|
||||
export function exchCoupon(params) { |
||||
return request({ |
||||
url: '/v1/user/coupon/exchCoupon', |
||||
method: "get", |
||||
params |
||||
}) |
||||
} |
@ -0,0 +1,35 @@
|
||||
|
||||
import request from "@/utils/request"; |
||||
|
||||
|
||||
// 意向调查
|
||||
export function intention(type) { |
||||
return request({ |
||||
url: `/v1/edu/guide/index/intention?type=${type}`, |
||||
method: "get", |
||||
}) |
||||
} |
||||
// 获取意向调查数量
|
||||
export function getIntentionCount(type) { |
||||
return request({ |
||||
url: `/v1/edu/guide/index/getIntentionCount?type=${type}`, |
||||
method: "get", |
||||
}) |
||||
} |
||||
|
||||
// 来源埋点
|
||||
export function addUrlFrom(params) { |
||||
return request({ |
||||
url: '/v1/edu/guide/index/addUrlFrom/', |
||||
method: "post", |
||||
params |
||||
}) |
||||
} |
||||
|
||||
// 获取学习人数
|
||||
export function studentCount(type) { |
||||
return request({ |
||||
url: `/v1/edu/guide/index/studentCount/?type=${type}`, |
||||
method: "get" |
||||
}) |
||||
} |
@ -0,0 +1,35 @@
|
||||
import request from "@/utils/request"; |
||||
|
||||
// 最新直播
|
||||
export function getNewlive() { |
||||
return request({ |
||||
url:"/v1/edu/live/getNewlive/", |
||||
method: "get", |
||||
}) |
||||
} |
||||
|
||||
// 各种视频
|
||||
export function getvideo(params) { |
||||
return request({ |
||||
url:"/v1/edu/index/video/", |
||||
method: "get", |
||||
params |
||||
}) |
||||
} |
||||
|
||||
// 指定分类热门推荐
|
||||
export function getcateHot(class1) { |
||||
return request({ |
||||
url:`/v1/edu/index/cateHot/?class1=${class1}`, |
||||
method: "get", |
||||
}) |
||||
} |
||||
// 获取图片
|
||||
export function getCover() { |
||||
return request({ |
||||
url:"/v1/edu/index/getCover/", |
||||
method: "get", |
||||
}) |
||||
} |
||||
|
||||
|
@ -0,0 +1,63 @@
|
||||
|
||||
import request from "@/utils/request"; |
||||
|
||||
/** |
||||
* @description: 获取直播焦点 |
||||
*/ |
||||
export function getLiveFocus(params) { |
||||
return request({ |
||||
url:"/v1/edu/live/liveFocus/", |
||||
method: "get", |
||||
params |
||||
}) |
||||
} |
||||
|
||||
/** |
||||
* @description: 获取直播列表 |
||||
*/ |
||||
export function getLiveList(params) { |
||||
return request({ |
||||
url:"/v1/edu/live/liveList/", |
||||
method: "get", |
||||
params |
||||
}) |
||||
} |
||||
|
||||
/** |
||||
* 直播详情页 |
||||
*/ |
||||
|
||||
// 基础信息
|
||||
export function liveBasic(liveid,params) { |
||||
return request({ |
||||
url:`/v1/edu/live/liveBasic/${liveid}/`, |
||||
method: "get", |
||||
params |
||||
}) |
||||
} |
||||
|
||||
// 获取学员
|
||||
export function getStudent(liveid) { |
||||
return request({ |
||||
url:`/v1/edu/live/getStudent/${liveid}/`, |
||||
method: "get", |
||||
}) |
||||
} |
||||
|
||||
// 直播报名
|
||||
export function addLiveApply(liveid,params) { |
||||
return request({ |
||||
url:`/v1/edu/live/addLiveApply/${liveid}/`, |
||||
method: "post", |
||||
params |
||||
}) |
||||
} |
||||
|
||||
// 观看直播
|
||||
export function livePlay(liveid) { |
||||
return request({ |
||||
url:`/v1/edu/live/livePlay/${liveid}/`, |
||||
method: "get", |
||||
}) |
||||
} |
||||
|
@ -0,0 +1,27 @@
|
||||
/* |
||||
* @Author: xiaowei |
||||
* @Date: 2021-02-04 16:51:01 |
||||
* @LastEditTime: 2021-02-04 16:53:25 |
||||
* @Description: 地图相关接口 |
||||
*/ |
||||
|
||||
import request from "@/utils/request"; |
||||
|
||||
/** |
||||
* @description: 获取地图列表 |
||||
*/ |
||||
export function getMapList(days) { |
||||
return request({ |
||||
url:"/v1/edu/edulist/cityclasslist/", |
||||
method: "get", |
||||
params: { |
||||
days |
||||
} |
||||
}) |
||||
} |
||||
export function geoCoding(v,city) { |
||||
return request({ |
||||
url:`https://bird.ioliu.cn/${v}?url=https://api.map.baidu.com/geocoding/v3/?address=${city}&output=json&ak=FvIYykqgB0i9dbTXWGf79nlyKT996zmj`, |
||||
method: "get" |
||||
}) |
||||
} |
@ -0,0 +1,16 @@
|
||||
/* |
||||
* @Author: xiaowei |
||||
* @Description: 菜单相关接口 |
||||
*/ |
||||
|
||||
import request from "@/utils/request"; |
||||
|
||||
/** |
||||
* @description: 获取菜单列表 |
||||
*/ |
||||
export function getMenuList() { |
||||
return request({ |
||||
url:"/nav/topnav", |
||||
method: "get", |
||||
}) |
||||
} |
@ -0,0 +1,138 @@
|
||||
/* |
||||
* @Author: XiaoWei |
||||
* @Date: 2021-01-27 14:20:05 |
||||
* @LastEditors: XiaoWei |
||||
* @LastEditTime: 2021-03-25 23:38:53 |
||||
* @Description: 学习班接口 |
||||
*/ |
||||
|
||||
import request from "@/utils/request"; |
||||
|
||||
// 获取个人学习课程列表
|
||||
export function getPersonalStudyList() { |
||||
return request({ |
||||
url: "/v1/edu/studyclass/myStudyClass/", |
||||
method: "get", |
||||
// headers
|
||||
}) |
||||
} |
||||
|
||||
// 获取学习课程列表
|
||||
export function getStudyList(headers) { |
||||
return request({ |
||||
url: "/v1/edu/studyclass/courselist/", |
||||
method: "get", |
||||
headers |
||||
}) |
||||
} |
||||
|
||||
// 列表公用头部
|
||||
export function getPublicTop(classid) { |
||||
return request({ |
||||
url: `/v1/edu/studyclass/getPublicTop/${classid}/` |
||||
}) |
||||
} |
||||
|
||||
// 列表公用右侧
|
||||
export function getClassInfo(classid) { |
||||
return request({ |
||||
url: `/v1/edu/studyclass/classInfo/${classid}/`, |
||||
method: "get" |
||||
}) |
||||
} |
||||
|
||||
// 课程章节列表
|
||||
export function getLessonList(classid) { |
||||
return request({ |
||||
url: `/v1/edu/studyclass/getLessonList/${classid}/`, |
||||
method: "get" |
||||
}) |
||||
} |
||||
|
||||
// 获取视频
|
||||
export function getVideo(classid, videoid) { |
||||
return request({ |
||||
url: `/v1/edu/studyclass/getVideo/${classid}/${videoid}/`, |
||||
method: "get" |
||||
}) |
||||
} |
||||
|
||||
// 获取视频播放列表
|
||||
export function getPlayList(classid) { |
||||
return request({ |
||||
url: `/v1/edu/studyclass/getPlayList/${classid}/`, |
||||
method: "get" |
||||
}) |
||||
} |
||||
|
||||
// 右侧招聘
|
||||
export function getJobNew(classid) { |
||||
return request({ |
||||
url: `/v1/edu/studyclass/getJobNew/?perpage=5&classid=${classid}`, |
||||
method: "get" |
||||
}) |
||||
} |
||||
|
||||
// 视频播放埋点
|
||||
export function classlog(data,params) { |
||||
return request({ |
||||
url: `/v1/edu/studyclass/classlog/?logid=${data.logid}&pytime=${data.pytime}&duration=${data.duration}&videoid=${data.videoid}`, |
||||
method: "post", |
||||
params |
||||
}) |
||||
} |
||||
|
||||
// 获取我的作业
|
||||
export function myHomeWork(classid) { |
||||
return request({ |
||||
url: `/v1/edu/studyclass/myHomeWork/${classid}/`, |
||||
method: "get" |
||||
}) |
||||
} |
||||
|
||||
// 获取班级论坛列表
|
||||
export function bbsList(classid,params) { |
||||
return request({ |
||||
url: `/v1/edu/studyclass/bbsList/${classid}/`, |
||||
method: "get", |
||||
params |
||||
}) |
||||
} |
||||
|
||||
// 获取班级论坛帖子详情
|
||||
export function bbsView(classid,tid,params) { |
||||
return request({ |
||||
url: `/v1/edu/studyclass/bbsView/${classid}/${tid}/`, |
||||
method: "get", |
||||
params |
||||
}) |
||||
} |
||||
|
||||
// 回复帖子
|
||||
export function postComment(params) { |
||||
return request({ |
||||
url: `/v1/edu/studyclass/bbsView/`, |
||||
method: "post", |
||||
params |
||||
}) |
||||
} |
||||
// 提交作业-已废弃
|
||||
export function fileUpload(params) { |
||||
return request({ |
||||
url: `/v1/edu/studyclass/fileUpload/`, |
||||
method: "post", |
||||
headers: { |
||||
'Content-Type': 'multipart/form-data', |
||||
//'authentication':'c2hlcXVhcHAuTTJCQVN0dkQwRU43YjZDTHFKb0Y3M21QNmVZOXA4MmYuNzM4NTE='
|
||||
}, |
||||
params |
||||
}) |
||||
} |
||||
|
||||
// 获取学习班指定课程学习人数
|
||||
export function getCourseNum(pid,tmp) { |
||||
return request({ |
||||
url: `/v1/edu/studyclass/getCourseNum/?pid=${pid}&tmp=${tmp}`, |
||||
method: "get" |
||||
}) |
||||
} |
@ -0,0 +1,135 @@
|
||||
/* |
||||
* @Author: XiaoWei |
||||
* @Date: 2021-01-27 14:20:05 |
||||
* @LastEditors: XiaoWei |
||||
* @LastEditTime: 2021-03-25 23:38:53 |
||||
* @Description: 学习班接口 |
||||
*/ |
||||
|
||||
import request from "@/utils/request"; |
||||
|
||||
// 公用鉴权
|
||||
export function isAuth(classid) { |
||||
return request({ |
||||
url: `/v1/edu/admin/classroom/isAuth/${classid}`, |
||||
method: "get", |
||||
}) |
||||
} |
||||
|
||||
// 获取学生列表
|
||||
export function studentList(classid,params) { |
||||
return request({ |
||||
url: `/v1/edu/admin/classroom/studentList/${classid}`, |
||||
method: "get", |
||||
params |
||||
}) |
||||
} |
||||
// 添加学生
|
||||
export function addStudent(classid,params) { |
||||
return request({ |
||||
url: `/v1/edu/admin/classroom/addStudent/${classid}`, |
||||
method: "get", |
||||
params |
||||
}) |
||||
} |
||||
// 获取某个学生
|
||||
export function getStudent(classid,id) { |
||||
return request({ |
||||
url: `/v1/edu/admin/classroom/getStudent/${classid}/?id=${id}`, |
||||
method: "get", |
||||
}) |
||||
} |
||||
// 编辑
|
||||
export function editStudent(classid,params) { |
||||
return request({ |
||||
url: `/v1/edu/admin/classroom/editStudent/${classid}`, |
||||
method: "post", |
||||
params |
||||
}) |
||||
} |
||||
// 删除
|
||||
export function delStudent(classid,id) { |
||||
return request({ |
||||
url: `/v1/edu/admin/classroom/delStudent/${classid}/?id=${id}`, |
||||
method: "get", |
||||
}) |
||||
} |
||||
// 观看记录
|
||||
export function studyLog(classid,uid) { |
||||
return request({ |
||||
url: `/v1/edu/admin/classroom/studyLog/${classid}/?uid=${uid}`, |
||||
method: "get", |
||||
}) |
||||
} |
||||
|
||||
/** |
||||
* 批改作业 |
||||
*/ |
||||
// 作业列表
|
||||
export function worklist(classid,params) { |
||||
return request({ |
||||
url: `/v1/edu/admin/classroom/worklist/${classid}`, |
||||
method: "get", |
||||
params |
||||
}) |
||||
} |
||||
// 批改作业
|
||||
export function workUpdate(classid,params) { |
||||
return request({ |
||||
url: `/v1/edu/admin/classroom/workUpdate/${classid}`, |
||||
method: "post", |
||||
params |
||||
}) |
||||
} |
||||
|
||||
/** |
||||
* 公告 |
||||
*/ |
||||
// 列表
|
||||
export function notice(classid) { |
||||
return request({ |
||||
url: `/v1/edu/admin/classroom/notice/${classid}`, |
||||
method: "get", |
||||
}) |
||||
} |
||||
// add
|
||||
export function noticeAdd(classid,params) { |
||||
return request({ |
||||
url: `/v1/edu/admin/classroom/noticeAdd/${classid}`, |
||||
method: "post", |
||||
params |
||||
}) |
||||
} |
||||
// del
|
||||
export function noticeDel(classid,id) { |
||||
return request({ |
||||
url: `/v1/edu/admin/classroom/noticeDel/${classid}/?id=${id}`, |
||||
method: "get", |
||||
}) |
||||
} |
||||
|
||||
// edit
|
||||
export function noticeEdit(classid,params) { |
||||
return request({ |
||||
url: `/v1/edu/admin/classroom/noticeEdit/${classid}`, |
||||
method: "post", |
||||
params |
||||
}) |
||||
} |
||||
|
||||
/** |
||||
* 进度 |
||||
*/ |
||||
export function scheduleList(classid) { |
||||
return request({ |
||||
url: `/v1/edu/admin/classroom/scheduleList/${classid}`, |
||||
method: "get", |
||||
}) |
||||
} |
||||
export function scheduleUpdate(classid,params) { |
||||
return request({ |
||||
url: `/v1/edu/admin/classroom/scheduleUpdate/${classid}`, |
||||
method: "get", |
||||
params |
||||
}) |
||||
} |
@ -0,0 +1,21 @@
|
||||
import {requestPost, requestGet, requestPut} from "@/utils/newrequest"; |
||||
|
||||
// 获取用户信息
|
||||
export function getUserInfo(){ |
||||
return requestGet('/api/user/info'); |
||||
} |
||||
|
||||
// 获取讲师资料
|
||||
export function getTeacherInfo() { |
||||
return requestGet('/api/lecturer/self'); |
||||
} |
||||
|
||||
// 讲师申请
|
||||
export function addTeacher(params) { |
||||
return requestPost('/api/lecturer/apply',params); |
||||
} |
||||
|
||||
// 修改讲师申请
|
||||
export function editTeacher(id, params) { |
||||
return requestPut(`/api/lecturer/${id}`,params); |
||||
} |
@ -0,0 +1,40 @@
|
||||
|
||||
import request from "@/utils/request"; |
||||
|
||||
// 获取用户的f豆,f币,信用积分
|
||||
export function getCredit() { |
||||
return request({ |
||||
url: "/v1/user/credit/", |
||||
method: "get" |
||||
}) |
||||
} |
||||
// 获取获取通知数量
|
||||
export function getNotice() { |
||||
return request({ |
||||
url: "/v1/user/notice/getNoticeNum/", |
||||
method: "get" |
||||
}) |
||||
} |
||||
// 头像下拉
|
||||
export function avatarMenu() { |
||||
return request({ |
||||
url: "/v1/user/menu/avatarMenu/", |
||||
method: "get" |
||||
}) |
||||
} |
||||
// 收藏
|
||||
export function addCollection(params) { |
||||
return request({ |
||||
url: "/v1/user/Collection/addCollection", |
||||
method: "get", |
||||
params |
||||
}) |
||||
} |
||||
// 是否收藏
|
||||
export function isCollection(params) { |
||||
return request({ |
||||
url: "/v1/user/Collection/isCollection", |
||||
method: "get", |
||||
params |
||||
}) |
||||
} |
@ -0,0 +1,259 @@
|
||||
/* |
||||
* @Author: XiaoWei |
||||
* @Date: 2021-01-19 18:16:45 |
||||
* @LastEditors: xiaowei |
||||
* @LastEditTime: 2021-03-30 01:39:59 |
||||
* @Description: 视频相关接口 |
||||
*/ |
||||
|
||||
import request from "@/utils/request"; |
||||
|
||||
import {requestGet} from "@/utils/newrequest"; |
||||
|
||||
// 渠道和设备埋点
|
||||
export function sourceDeviceLog(params) { |
||||
return request({ |
||||
url: '/v1/edu/video/source/log/', |
||||
method: "post", |
||||
params |
||||
}) |
||||
} |
||||
|
||||
// 课程方向 v2
|
||||
export function getCourseDirection() { |
||||
return requestGet('/api/tag/list?usage=0'); |
||||
} |
||||
|
||||
// 课程标签 v2
|
||||
export function getCourseTag(params) { |
||||
return requestGet('/api/tag/list/by/direction', params); |
||||
} |
||||
|
||||
// 视频分类
|
||||
export function getCategories(params) { |
||||
return request({ |
||||
url:"/v1/edu/video/getCategory/", |
||||
method: "get", |
||||
params |
||||
}) |
||||
} |
||||
|
||||
|
||||
// 获取视频列表
|
||||
export function getVideoList(params) { |
||||
return request({ |
||||
url:"/v1/edu/video/getVideoList/", |
||||
method: "get", |
||||
params |
||||
}) |
||||
} |
||||
|
||||
// 顶部课程信息+课程介绍
|
||||
export function videoBasic(courseid,params) { |
||||
return request({ |
||||
url:`/v1/edu/video/videoBasic/${courseid}/`, |
||||
method: "get", |
||||
params |
||||
}) |
||||
} |
||||
|
||||
|
||||
// 课程章节目录
|
||||
export function getLessonList(courseid,params) { |
||||
return request({ |
||||
url:`/v1/edu/video/getLessonList/${courseid}/`, |
||||
method: "get", |
||||
params |
||||
}) |
||||
} |
||||
|
||||
// 获取学员
|
||||
export function getStudent(courseid) { |
||||
return request({ |
||||
url:`/v1/edu/video/getStudent/${courseid}/`, |
||||
method: "get", |
||||
}) |
||||
} |
||||
|
||||
// 7天热门课程
|
||||
export function gethotVideo() { |
||||
return request({ |
||||
url:"/v1/edu/video/gethotVideo/", |
||||
method: "get", |
||||
}) |
||||
} |
||||
|
||||
// 讲师其他课程
|
||||
export function getLecturerVideo(ltuid) { |
||||
return request({ |
||||
url:`/v1/edu/video/getLecturerVideo/${ltuid}/`, |
||||
method: "get", |
||||
}) |
||||
} |
||||
|
||||
// 获取视频
|
||||
export function getVideo(playid) { |
||||
return request({ |
||||
url: `/v1/edu/video/getVideo/${playid}/`, |
||||
method: "get" |
||||
}) |
||||
} |
||||
|
||||
// 获取视频播放列表
|
||||
export function getPlayList(videoid) { |
||||
return request({ |
||||
url: `/v1/edu/video/getPlayList/${videoid}/`, |
||||
method: "get" |
||||
}) |
||||
} |
||||
|
||||
|
||||
// 视频播放埋点
|
||||
export function classlog(params) { |
||||
return request({ |
||||
url: '/v1/edu/video/classlog/', |
||||
method: "post", |
||||
params |
||||
}) |
||||
} |
||||
|
||||
// 添加到订单
|
||||
export function createOrder(params) { |
||||
return request({ |
||||
url: `/v1/buy/order/createOrder/`, |
||||
method: "post", |
||||
params |
||||
}) |
||||
} |
||||
// 获取评论
|
||||
export function getComment(videoid,params) { |
||||
return request({ |
||||
url: `/v1/edu/video/getComment/${videoid}/`, |
||||
method: "get", |
||||
params |
||||
}) |
||||
} |
||||
// 添加评论
|
||||
export function addComment(videoid,params) { |
||||
return request({ |
||||
url: `/v1/edu/video/addComment/${videoid}/`, |
||||
method: "post", |
||||
params |
||||
}) |
||||
} |
||||
|
||||
/** |
||||
* finereport路径学习状态 |
||||
*/ |
||||
|
||||
// 获取finereport路径学习状态
|
||||
export function getNode() { |
||||
return request({ |
||||
url: '/v1/edu/guide/finereport/getNode', |
||||
method: "get", |
||||
}) |
||||
} |
||||
|
||||
// 添加finereport路径学习状态
|
||||
export function updateNode(params) { |
||||
return request({ |
||||
url: '/v1/edu/guide/finereport/updateNode', |
||||
method: "post", |
||||
params |
||||
}) |
||||
} |
||||
|
||||
// 添加finereport路径学习状态
|
||||
export function luckDraw() { |
||||
return request({ |
||||
url: '/v1/edu/guide/finereport/luckDraw', |
||||
method: "get", |
||||
}) |
||||
} |
||||
// 获取完成的学员
|
||||
export function getStudentList() { |
||||
return request({ |
||||
url: '/v1/edu/guide/finereport/getStudentList', |
||||
method: "get", |
||||
}) |
||||
} |
||||
|
||||
/** |
||||
* finebi路径学习状态 |
||||
*/ |
||||
|
||||
// 获取finebi路径学习状态
|
||||
export function getNode_bi() { |
||||
return request({ |
||||
url: '/v1/edu/guide/finebi/getNode', |
||||
method: "get", |
||||
}) |
||||
} |
||||
|
||||
// 添加finebi路径学习状态
|
||||
export function updateNode_bi(params) { |
||||
return request({ |
||||
url: '/v1/edu/guide/finebi/updateNode', |
||||
method: "post", |
||||
params |
||||
}) |
||||
} |
||||
// 添加finebi路径学习状态
|
||||
export function luckDraw_bi() { |
||||
return request({ |
||||
url: '/v1/edu/guide/finebi/luckDraw', |
||||
method: "get", |
||||
}) |
||||
} |
||||
// 获取完成的学员
|
||||
export function getStudentList_bi() { |
||||
return request({ |
||||
url: '/v1/edu/guide/finebi/getStudentList', |
||||
method: "get", |
||||
}) |
||||
} |
||||
|
||||
// ma观看埋点
|
||||
export function maLookVideoTracking(videoid) { |
||||
return request({ |
||||
url: `/v1/edu/video/maLookVideoTracking/${videoid}`, |
||||
method: "get" |
||||
}) |
||||
} |
||||
|
||||
|
||||
/** |
||||
* jiandaoyun路径学习状态 |
||||
*/ |
||||
|
||||
// 获取jiandaoyun路径学习状态
|
||||
export function getNode_jiandaoyun() { |
||||
return request({ |
||||
url: '/v1/edu/guide/jiandaoyun/getNode', |
||||
method: "get", |
||||
}) |
||||
} |
||||
|
||||
// 添加jiandaoyun路径学习状态
|
||||
export function updateNode_jiandaoyun(params) { |
||||
return request({ |
||||
url: '/v1/edu/guide/jiandaoyun/updateNode', |
||||
method: "post", |
||||
params |
||||
}) |
||||
} |
||||
// 添加jiandaoyun路径学习状态
|
||||
export function luckDraw_jiandaoyun() { |
||||
return request({ |
||||
url: '/v1/edu/guide/jiandaoyun/luckDraw', |
||||
method: "get", |
||||
}) |
||||
} |
||||
// 获取完成的学员
|
||||
export function getStudentList_jiandaoyun() { |
||||
return request({ |
||||
url: '/v1/edu/guide/jiandaoyun/getStudentList', |
||||
method: "get", |
||||
}) |
||||
} |
||||
|
After Width: | Height: | Size: 172 KiB |
After Width: | Height: | Size: 227 KiB |
After Width: | Height: | Size: 413 KiB |
After Width: | Height: | Size: 194 KiB |
After Width: | Height: | Size: 3.0 KiB |
@ -0,0 +1,569 @@
|
||||
body, |
||||
button, |
||||
html, |
||||
input, |
||||
select, |
||||
textarea { |
||||
font-family: 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', |
||||
'Microsoft YaHei', '微软雅黑', Arial, sans-serif; |
||||
} |
||||
|
||||
body { |
||||
margin: 0; |
||||
padding: 0; |
||||
} |
||||
img { |
||||
backface-visibility: hidden; |
||||
-webkit-backface-visibility: hidden; |
||||
-moz-backface-visibility: hidden; |
||||
-ms-backface-visibility: hidden; |
||||
} |
||||
|
||||
li, |
||||
ol, |
||||
ul { |
||||
list-style: none; |
||||
} |
||||
|
||||
i { |
||||
font-style: normal; |
||||
} |
||||
|
||||
blockquote, |
||||
q { |
||||
quotes: none; |
||||
} |
||||
|
||||
table { |
||||
border-collapse: collapse; |
||||
border-spacing: 0; |
||||
} |
||||
|
||||
h1, |
||||
h2, |
||||
h3, |
||||
h4, |
||||
h5 { |
||||
font-weight: 500; |
||||
} |
||||
|
||||
a:focus { |
||||
outline: none; |
||||
-moz-outline: none; |
||||
} |
||||
|
||||
em { |
||||
font-style: normal; |
||||
} |
||||
|
||||
a { |
||||
color: #333; |
||||
text-decoration: none; |
||||
} |
||||
|
||||
a:hover { |
||||
color: #0082fc; |
||||
} |
||||
|
||||
.w1200 { |
||||
width: 1200px; |
||||
margin: 0 auto; |
||||
} |
||||
.dn { |
||||
display: none; |
||||
} |
||||
|
||||
/* 垂直居中 */ |
||||
|
||||
.flex-1 { |
||||
display: flex; |
||||
align-items: center; |
||||
} |
||||
|
||||
/* 垂直平均分布 */ |
||||
|
||||
.flex-2 { |
||||
display: flex; |
||||
justify-content: space-around; |
||||
flex-direction: column; |
||||
} |
||||
|
||||
/* 水平两端对齐 */ |
||||
|
||||
.flex-3 { |
||||
display: flex; |
||||
justify-content: space-between; |
||||
} |
||||
|
||||
/* 水平居中 */ |
||||
|
||||
.flex-4 { |
||||
display: flex; |
||||
justify-content: center; |
||||
align-items: center; |
||||
} |
||||
|
||||
/* 垂直、水平居中 */ |
||||
|
||||
.flex-5 { |
||||
display: flex; |
||||
justify-content: space-around; |
||||
flex-direction: column; |
||||
align-items: center; |
||||
} |
||||
|
||||
/* 水平平均分布 */ |
||||
|
||||
.flex-6 { |
||||
display: flex; |
||||
justify-content: space-between; |
||||
align-items: center; |
||||
flex-direction: row; |
||||
} |
||||
|
||||
/* 文字居中 */ |
||||
|
||||
.font-center { |
||||
text-align: center; |
||||
} |
||||
|
||||
.half-width { |
||||
width: 47%; |
||||
} |
||||
|
||||
.mlf12 { |
||||
margin-left: 12px; |
||||
} |
||||
|
||||
.mt20 { |
||||
margin-top: 20px; |
||||
} |
||||
|
||||
.mt12 { |
||||
margin-top: 12px; |
||||
} |
||||
|
||||
.mb4 { |
||||
margin-bottom: 4px; |
||||
} |
||||
|
||||
.mb10 { |
||||
margin-bottom: 10px; |
||||
} |
||||
|
||||
.mb12 { |
||||
margin-bottom: 12px; |
||||
} |
||||
|
||||
.mb16 { |
||||
margin-bottom: 16px; |
||||
} |
||||
|
||||
.mb20 { |
||||
margin-bottom: 20px; |
||||
} |
||||
|
||||
.btn-008 { |
||||
background: #0082fc; |
||||
border-radius: 8px; |
||||
color: #fff; |
||||
text-align: center; |
||||
cursor: pointer; |
||||
} |
||||
|
||||
.btn-008-big { |
||||
padding: 15px 46px; |
||||
} |
||||
|
||||
.btn-008:hover { |
||||
color: #fff; |
||||
background: #0075df; |
||||
} |
||||
|
||||
.btn-fff { |
||||
background: #fff; |
||||
border-radius: 8px !important; |
||||
border: 1px solid #0082fc !important; |
||||
color: #0082fc !important; |
||||
text-align: center !important; |
||||
box-sizing: border-box !important; |
||||
cursor: pointer !important; |
||||
} |
||||
.btn-fff:hover { |
||||
background: #d5ebff; |
||||
} |
||||
.btn-jdy { |
||||
background: #fff; |
||||
border-radius: 8px; |
||||
border: 1px solid #0db3a6; |
||||
color: #0db3a6; |
||||
text-align: center; |
||||
box-sizing: border-box; |
||||
cursor: pointer; |
||||
} |
||||
.btn-jdy:hover { |
||||
color: #0db3a6; |
||||
background: #e7f7f6; |
||||
} |
||||
.btn-ddd { |
||||
background: #fff; |
||||
border-radius: 8px; |
||||
border: 1px solid #ddd; |
||||
color: #617288; |
||||
text-align: center; |
||||
box-sizing: border-box; |
||||
cursor: no-drop; |
||||
} |
||||
.br-3 { |
||||
border-radius: 3px; |
||||
} |
||||
.br-4 { |
||||
border-radius: 4px; |
||||
} |
||||
.br-5 { |
||||
border-radius: 5px; |
||||
} |
||||
.br-6 { |
||||
border-radius: 6px; |
||||
} |
||||
.br-8 { |
||||
border-radius: 8px; |
||||
} |
||||
|
||||
.fr-btn { |
||||
background: #0082fc; |
||||
border-color: #0082fc; |
||||
color: #fff; |
||||
border-radius: 4px; |
||||
padding: 6px 20px; |
||||
font-size: 14px; |
||||
transition: all 0.3s; |
||||
} |
||||
|
||||
.fr-btn:focus, |
||||
.fr-btn:hover { |
||||
color: #fff; |
||||
background: #0066ff; |
||||
border-color: #0066ff; |
||||
} |
||||
|
||||
.fr-btn.big { |
||||
padding: 10px 30px; |
||||
font-size: 16px; |
||||
border-radius: 4px; |
||||
} |
||||
|
||||
.fr-btn-jdy { |
||||
background: #0db3a6; |
||||
border-color: #0db3a6; |
||||
color: #fff; |
||||
border-radius: 4px; |
||||
padding: 6px 20px; |
||||
font-size: 14px; |
||||
transition: all 0.3s; |
||||
} |
||||
|
||||
.fr-btn-jdy:focus, |
||||
.fr-btn-jdy:hover { |
||||
color: #fff; |
||||
background: #56cac1; |
||||
border-color: #56cac1; |
||||
} |
||||
|
||||
.fw500 { |
||||
font-weight: 500; |
||||
} |
||||
|
||||
.fw600 { |
||||
font-weight: 600; |
||||
} |
||||
|
||||
.f12 { |
||||
font-size: 12px; |
||||
} |
||||
|
||||
.f13 { |
||||
font-size: 13px; |
||||
} |
||||
|
||||
.f14 { |
||||
font-size: 14px; |
||||
} |
||||
|
||||
.f15 { |
||||
font-size: 15px; |
||||
} |
||||
|
||||
.f16 { |
||||
font-size: 16px; |
||||
} |
||||
|
||||
.f18 { |
||||
font-size: 18px; |
||||
} |
||||
|
||||
.f20 { |
||||
font-size: 20px; |
||||
} |
||||
|
||||
.f24 { |
||||
font-size: 24px; |
||||
} |
||||
|
||||
.f32 { |
||||
font-size: 32px; |
||||
} |
||||
|
||||
.ff12 { |
||||
font-size: 12px !important; |
||||
} |
||||
|
||||
.ff13 { |
||||
font-size: 13px !important; |
||||
} |
||||
|
||||
.ff14 { |
||||
font-size: 14px !important; |
||||
} |
||||
|
||||
.ff15 { |
||||
font-size: 15px !important; |
||||
} |
||||
|
||||
.ff16 { |
||||
font-size: 16px !important; |
||||
} |
||||
|
||||
.ff18 { |
||||
font-size: 18px !important; |
||||
} |
||||
|
||||
.ff20 { |
||||
font-size: 20px !important; |
||||
} |
||||
|
||||
.ff36 { |
||||
font-size: 36px !important; |
||||
} |
||||
.lht17 { |
||||
lint-height: 17px; |
||||
} |
||||
.lht18 { |
||||
line-height: 18px; |
||||
} |
||||
.lht20 { |
||||
line-height: 20px; |
||||
} |
||||
.lht22 { |
||||
line-height: 22px; |
||||
} |
||||
.lht24 { |
||||
line-height: 24px; |
||||
} |
||||
|
||||
.col008 { |
||||
color: #0082fc; |
||||
} |
||||
|
||||
.col-jdy { |
||||
color: #0db3a6; |
||||
} |
||||
.col-jdy:hover { |
||||
text-decoration: underline; |
||||
color: #0db3a6; |
||||
} |
||||
.col849 { |
||||
color: #8496ab; |
||||
} |
||||
|
||||
.col617 { |
||||
color: #617288; |
||||
} |
||||
|
||||
.col7e8 { |
||||
color: #7e8fa3; |
||||
} |
||||
|
||||
.colb3c { |
||||
color: #b3c1d3; |
||||
} |
||||
|
||||
.colfff { |
||||
color: #fff; |
||||
} |
||||
|
||||
.colff3 { |
||||
color: #ff3d23; |
||||
} |
||||
.colf26 { |
||||
color: #f26c4f; |
||||
} |
||||
|
||||
.col28c { |
||||
color: #28c346; |
||||
} |
||||
.col27c { |
||||
color: #27c346; |
||||
} |
||||
.col333 { |
||||
color: #333; |
||||
} |
||||
.col000 { |
||||
color: #000; |
||||
} |
||||
|
||||
.mt24 { |
||||
margin-top: 24px; |
||||
} |
||||
.mrt10 { |
||||
margin-right: 10px; |
||||
} |
||||
.mlf10 { |
||||
margin-left: 10px; |
||||
} |
||||
.mt10 { |
||||
margin-top: 10px; |
||||
} |
||||
.pt10 { |
||||
padding-top: 10px; |
||||
} |
||||
|
||||
.col-war { |
||||
color: #e6a23c; |
||||
} |
||||
|
||||
.col-err { |
||||
color: #f56c6c; |
||||
} |
||||
|
||||
.frbtn { |
||||
border: 1px solid #0082fc; |
||||
color: #0082fc; |
||||
} |
||||
|
||||
.frbtn:focus, |
||||
.frbtn:hover { |
||||
border: 1px solid #0082fc; |
||||
color: #fff; |
||||
background-color: #0082fc; |
||||
} |
||||
|
||||
.ico-lf { |
||||
margin-right: 6px; |
||||
} |
||||
|
||||
.ico-rt { |
||||
margin-left: 6px; |
||||
} |
||||
|
||||
.txt-c { |
||||
text-align: center; |
||||
} |
||||
.txt-r { |
||||
text-align: right; |
||||
} |
||||
.txt-l { |
||||
text-align: left; |
||||
} |
||||
|
||||
.cur-p { |
||||
cursor: pointer; |
||||
} |
||||
|
||||
.hide-txt { |
||||
display: inline-block; |
||||
width: 100%; |
||||
overflow: hidden; |
||||
text-overflow: ellipsis; |
||||
white-space: nowrap; |
||||
} |
||||
|
||||
.hide-txt2 { |
||||
display: -webkit-box; |
||||
overflow: hidden; |
||||
text-overflow: ellipsis; |
||||
-webkit-box-orient: vertical; |
||||
-webkit-line-clamp: 2; |
||||
} |
||||
|
||||
.hide-txt3 { |
||||
display: -webkit-box; |
||||
overflow: hidden; |
||||
text-overflow: ellipsis; |
||||
-webkit-box-orient: vertical; |
||||
-webkit-line-clamp: 3; |
||||
} |
||||
|
||||
.el-scrollbar__bar.is-vertical { |
||||
width: 8px; |
||||
} |
||||
|
||||
.el-scrollbar__thumb { |
||||
background-color: #d2dce7; |
||||
} |
||||
|
||||
.el-scrollbar__thumb:hover { |
||||
background-color: #adbfd3; |
||||
} |
||||
|
||||
.el-dialog { |
||||
border-radius: 8px; |
||||
} |
||||
|
||||
.el-dialog__headerbtn { |
||||
font-size: 20px; |
||||
color: #617288; |
||||
} |
||||
|
||||
.msg-box { |
||||
width: 800px; |
||||
margin: 50px auto 0 auto; |
||||
} |
||||
/* el 分页样式优化 */ |
||||
.el-pagination .btn-next .el-icon, |
||||
.el-pagination .btn-prev .el-icon { |
||||
display: inline-block; |
||||
} |
||||
.el-dialog__close { |
||||
font-size: 20px; |
||||
} |
||||
.btn-ff7-ff4 { |
||||
width: 100%; |
||||
height: 100%; |
||||
background: linear-gradient(270deg, #ff7c6b 0%, #ff4b72 100%); |
||||
border-radius: 8px; |
||||
color: #fff; |
||||
transition: all 0.2s; |
||||
border: none; |
||||
cursor: pointer; |
||||
} |
||||
|
||||
.btn-ff7-ff4:hover { |
||||
background: linear-gradient( |
||||
-45deg, |
||||
#eb443e, |
||||
#f12f59, |
||||
#fc9550, |
||||
#ff4b72, |
||||
#eb443e |
||||
); |
||||
background-size: 400% 400%; |
||||
animation: cpgradientBG 4s ease infinite; |
||||
} |
||||
.btn-ff7-ff4:active { |
||||
width: 96% !important; |
||||
height: 96% !important; |
||||
} |
||||
@keyframes cpgradientBG { |
||||
0% { |
||||
background-position: 0% 50%; |
||||
} |
||||
|
||||
50% { |
||||
background-position: 100% 50%; |
||||
} |
||||
|
||||
100% { |
||||
background-position: 0% 50%; |
||||
} |
||||
} |
@ -0,0 +1,36 @@
|
||||
@media screen and (max-width: 1200px) { |
||||
.mainbox { |
||||
width: 100%; |
||||
padding: 0 20px; |
||||
} |
||||
|
||||
.w1200 { |
||||
width: 100%; |
||||
} |
||||
|
||||
/* 头部 */ |
||||
.header, |
||||
.edu-nav-box { |
||||
display: none !important; |
||||
} |
||||
|
||||
.edu-nav-box-m, |
||||
.ad-m { |
||||
display: block; |
||||
} |
||||
|
||||
/* end 头部 */ |
||||
|
||||
.m-dn { |
||||
display: none !important; |
||||
} |
||||
|
||||
.m-db { |
||||
display: block !important; |
||||
} |
||||
} |
||||
|
||||
@media screen and (max-width: 800px) {} |
||||
:root { |
||||
--van-red: #0082fc; |
||||
} |
@ -0,0 +1,142 @@
|
||||
.mainbox { |
||||
width: 1200px; |
||||
margin: 0 auto; |
||||
} |
||||
|
||||
.lf-box { |
||||
width: 800px; |
||||
} |
||||
|
||||
.rt-box .rtbox { |
||||
width: 358px; |
||||
background: #fff; |
||||
border-radius: 8px; |
||||
border: 1px solid #ceddf2; |
||||
padding: 24px 32px; |
||||
} |
||||
|
||||
.dateFormat { |
||||
text-align: center; |
||||
} |
||||
|
||||
.dateFormat em { |
||||
font-style: normal; |
||||
padding: 0 14px 0 4px; |
||||
color: #617288; |
||||
} |
||||
|
||||
.dateFormat em.pr-0 { |
||||
padding-right: 0; |
||||
} |
||||
|
||||
.dateFormat i { |
||||
padding-right: 6px; |
||||
} |
||||
|
||||
.dateFormat big { |
||||
color: #ff3c23; |
||||
} |
||||
|
||||
.footer { |
||||
color: #8a9099; |
||||
font-size: 12px; |
||||
line-height: 18px; |
||||
background: #191e28; |
||||
padding: 24px 0; |
||||
margin-top: 40px; |
||||
} |
||||
|
||||
.footer a { |
||||
color: #8a9099; |
||||
text-decoration: none; |
||||
} |
||||
|
||||
.footer a:hover { |
||||
color: #fff; |
||||
} |
||||
|
||||
.pipe { |
||||
margin: 0 6px; |
||||
color: #8a9099; |
||||
} |
||||
|
||||
.myel-pg { |
||||
padding: 30px 0 10px; |
||||
text-align: center; |
||||
} |
||||
|
||||
.myel-pg-lf { |
||||
padding: 30px 0 10px; |
||||
} |
||||
|
||||
.el-btn { |
||||
background: #0082fc; |
||||
border-color: #0082fc; |
||||
color: #fff; |
||||
border-radius: 4px; |
||||
padding: 6px 20px; |
||||
font-size: 14px; |
||||
transition: all 0.3s; |
||||
} |
||||
|
||||
.el-btn:focus, |
||||
.el-btn:hover { |
||||
background: #0066ff; |
||||
border-color: #0066ff; |
||||
color: #fff; |
||||
} |
||||
|
||||
.el-btn.medium { |
||||
padding: 10px 20px; |
||||
font-size: 14px; |
||||
border-radius: 4px; |
||||
} |
||||
|
||||
.el-button--primary { |
||||
color: #fff; |
||||
background-color: #0082fc; |
||||
border-color: #0082fc; |
||||
border-radius: 4px; |
||||
} |
||||
|
||||
.el-button--primary:focus, |
||||
.el-button--primary:hover { |
||||
background: #0066ff; |
||||
border-color: #0066ff; |
||||
color: #fff; |
||||
} |
||||
|
||||
/* dialog对话框- 垂直居中布局 */ |
||||
/* |
||||
.el-overlay { |
||||
display: flex; |
||||
align-items: center; |
||||
justify-content: space-around; |
||||
} |
||||
.el-dialog{ |
||||
margin: 0 !important; |
||||
} |
||||
*/ |
||||
.el-overlay { |
||||
text-align: center; |
||||
} |
||||
.el-overlay::after { |
||||
content: ""; |
||||
display: inline-block; |
||||
height: 100%; |
||||
width: 0; |
||||
vertical-align: middle; |
||||
} |
||||
.el-dialog { |
||||
margin: 0 !important; |
||||
display: inline-block; |
||||
vertical-align: middle; |
||||
} |
||||
|
||||
.el-popconfirm__main { |
||||
padding: 10px 0; |
||||
} |
||||
.mybig-btn{ |
||||
font-size: 16px; |
||||
padding: 10px 28px; |
||||
} |
@ -0,0 +1,223 @@
|
||||
<!DOCTYPE html> |
||||
<html style="height: 100%"> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
</head> |
||||
<body style="height: 100%; margin: 0"> |
||||
<div id="container" style="height: 100%"></div> |
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@4/dist/echarts.min.js"></script> |
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts-gl@1/dist/echarts-gl.min.js"></script> |
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts-stat@1/dist/ecStat.min.js"></script> |
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@4/dist/extension/dataTool.min.js"></script> |
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@4/map/js/china.js"></script> |
||||
<!-- <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@4/map/js/world.js"></script> --> |
||||
<script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=xfhhaTThl11qYVrqLZii6w8qE5ggnhrY&__ec_v__=20190126"></script> |
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@4/dist/extension/bmap.min.js"></script> |
||||
<script type="text/javascript"> |
||||
var dom = document.getElementById("container"); |
||||
var myChart = echarts.init(dom); |
||||
var app = {}; |
||||
option = null; |
||||
var data = [ |
||||
{name: '海门', value: 9}, |
||||
{name: '鄂尔多斯', value: 12}, |
||||
{name: '招远', value: 12} |
||||
]; |
||||
var geoCoordMap = { |
||||
'海门':[121.15,31.89], |
||||
'鄂尔多斯':[109.781327,39.608266], |
||||
'招远':[120.38,37.35] |
||||
}; |
||||
|
||||
var convertData = function (data) { |
||||
var res = []; |
||||
for (var i = 0; i < data.length; i++) { |
||||
var geoCoord = geoCoordMap[data[i].name]; |
||||
if (geoCoord) { |
||||
res.push({ |
||||
name: data[i].name, |
||||
value: geoCoord.concat(data[i].value) |
||||
}); |
||||
} |
||||
} |
||||
return res; |
||||
}; |
||||
|
||||
option = { |
||||
title: { |
||||
text: '全国主要城市空气质量 - 百度地图', |
||||
subtext: 'data from PM25.in', |
||||
sublink: 'http://www.pm25.in', |
||||
left: 'center' |
||||
}, |
||||
tooltip : { |
||||
trigger: 'item' |
||||
}, |
||||
bmap: { |
||||
center: [104.114129, 37.550339], |
||||
zoom: 5, |
||||
roam: true, |
||||
mapStyle: { |
||||
styleJson: [{ |
||||
'featureType': 'water', |
||||
'elementType': 'all', |
||||
'stylers': { |
||||
'color': '#d1d1d1' |
||||
} |
||||
}, { |
||||
'featureType': 'land', |
||||
'elementType': 'all', |
||||
'stylers': { |
||||
'color': '#f3f3f3' |
||||
} |
||||
}, { |
||||
'featureType': 'railway', |
||||
'elementType': 'all', |
||||
'stylers': { |
||||
'visibility': 'off' |
||||
} |
||||
}, { |
||||
'featureType': 'highway', |
||||
'elementType': 'all', |
||||
'stylers': { |
||||
'color': '#fdfdfd' |
||||
} |
||||
}, { |
||||
'featureType': 'highway', |
||||
'elementType': 'labels', |
||||
'stylers': { |
||||
'visibility': 'off' |
||||
} |
||||
}, { |
||||
'featureType': 'arterial', |
||||
'elementType': 'geometry', |
||||
'stylers': { |
||||
'color': '#fefefe' |
||||
} |
||||
}, { |
||||
'featureType': 'arterial', |
||||
'elementType': 'geometry.fill', |
||||
'stylers': { |
||||
'color': '#fefefe' |
||||
} |
||||
}, { |
||||
'featureType': 'poi', |
||||
'elementType': 'all', |
||||
'stylers': { |
||||
'visibility': 'off' |
||||
} |
||||
}, { |
||||
'featureType': 'green', |
||||
'elementType': 'all', |
||||
'stylers': { |
||||
'visibility': 'off' |
||||
} |
||||
}, { |
||||
'featureType': 'subway', |
||||
'elementType': 'all', |
||||
'stylers': { |
||||
'visibility': 'off' |
||||
} |
||||
}, { |
||||
'featureType': 'manmade', |
||||
'elementType': 'all', |
||||
'stylers': { |
||||
'color': '#d1d1d1' |
||||
} |
||||
}, { |
||||
'featureType': 'local', |
||||
'elementType': 'all', |
||||
'stylers': { |
||||
'color': '#d1d1d1' |
||||
} |
||||
}, { |
||||
'featureType': 'arterial', |
||||
'elementType': 'labels', |
||||
'stylers': { |
||||
'visibility': 'off' |
||||
} |
||||
}, { |
||||
'featureType': 'boundary', |
||||
'elementType': 'all', |
||||
'stylers': { |
||||
'color': '#fefefe' |
||||
} |
||||
}, { |
||||
'featureType': 'building', |
||||
'elementType': 'all', |
||||
'stylers': { |
||||
'color': '#d1d1d1' |
||||
} |
||||
}, { |
||||
'featureType': 'label', |
||||
'elementType': 'labels.text.fill', |
||||
'stylers': { |
||||
'color': '#999999' |
||||
} |
||||
}] |
||||
} |
||||
}, |
||||
series : [ |
||||
{ |
||||
name: 'pm2.5', |
||||
type: 'scatter', |
||||
coordinateSystem: 'bmap', |
||||
data: convertData(data), |
||||
symbolSize: function (val) { |
||||
return val[2] / 10; |
||||
}, |
||||
encode: { |
||||
value: 2 |
||||
}, |
||||
label: { |
||||
formatter: '{b}', |
||||
position: 'right', |
||||
show: false |
||||
}, |
||||
itemStyle: { |
||||
color: 'purple' |
||||
}, |
||||
emphasis: { |
||||
label: { |
||||
show: true |
||||
} |
||||
} |
||||
}, |
||||
{ |
||||
name: 'Top 5', |
||||
type: 'effectScatter', |
||||
coordinateSystem: 'bmap', |
||||
data: convertData(data.sort(function (a, b) { |
||||
return b.value - a.value; |
||||
}).slice(0, 6)), |
||||
symbolSize: function (val) { |
||||
return val[2] / 10; |
||||
}, |
||||
encode: { |
||||
value: 2 |
||||
}, |
||||
showEffectOn: 'render', |
||||
rippleEffect: { |
||||
brushType: 'stroke' |
||||
}, |
||||
hoverAnimation: true, |
||||
label: { |
||||
formatter: '{b}', |
||||
position: 'right', |
||||
show: true |
||||
}, |
||||
itemStyle: { |
||||
color: 'purple', |
||||
shadowBlur: 10, |
||||
shadowColor: '#333' |
||||
}, |
||||
zlevel: 1 |
||||
} |
||||
] |
||||
};; |
||||
if (option && typeof option === "object") { |
||||
myChart.setOption(option, true); |
||||
} |
||||
</script> |
||||
</body> |
||||
</html> |
After Width: | Height: | Size: 330 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 83 KiB |
After Width: | Height: | Size: 76 KiB |
After Width: | Height: | Size: 78 KiB |
After Width: | Height: | Size: 71 KiB |
After Width: | Height: | Size: 65 KiB |
After Width: | Height: | Size: 60 KiB |
After Width: | Height: | Size: 143 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 64 KiB |
After Width: | Height: | Size: 132 KiB |
After Width: | Height: | Size: 99 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 129 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 126 KiB |
After Width: | Height: | Size: 65 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 73 KiB |
After Width: | Height: | Size: 76 KiB |
After Width: | Height: | Size: 70 KiB |
After Width: | Height: | Size: 88 KiB |
After Width: | Height: | Size: 80 KiB |
After Width: | Height: | Size: 65 KiB |
After Width: | Height: | Size: 60 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 330 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 78 KiB |
After Width: | Height: | Size: 62 KiB |
After Width: | Height: | Size: 73 KiB |