Browse Source

第一次提交拷贝zlxc官网

master
unknown 10 months ago
commit
6cd09884aa
  1. 9
      .editorconfig
  2. 3
      .env.development
  3. 2
      .env.production
  4. 2
      .env.test
  5. 4
      .eslintignore
  6. 16
      .gitignore
  7. 21
      README.md
  8. 19
      babel.config.js
  9. 24
      debug.log
  10. 14943
      package-lock.json
  11. 81
      package.json
  12. BIN
      public/favicon.ico
  13. 31
      public/index.html
  14. BIN
      public/logo.ico
  15. 37
      src/App.vue
  16. 110
      src/api/herbalMedicine.js
  17. 93
      src/api/login.js
  18. 423
      src/assets/common.css
  19. 1
      src/assets/hangzhou.json
  20. BIN
      src/assets/images/address.png
  21. BIN
      src/assets/images/address_icon@2x.png
  22. BIN
      src/assets/images/arrow_down_icon@2x.png
  23. BIN
      src/assets/images/arrow_left.png
  24. BIN
      src/assets/images/arrow_right.png
  25. BIN
      src/assets/images/beian.png
  26. BIN
      src/assets/images/bg-login.png
  27. BIN
      src/assets/images/carLogo.png
  28. BIN
      src/assets/images/location_icon@2x.png
  29. BIN
      src/assets/images/logo.png
  30. BIN
      src/assets/images/phone_icon@2x.png
  31. BIN
      src/assets/images/placeholder.png
  32. BIN
      src/assets/images/right_mobile_swiper.png
  33. BIN
      src/assets/images/right_mobile_swiper_no.png
  34. BIN
      src/assets/images/sm_left.png
  35. BIN
      src/assets/images/sm_right.png
  36. BIN
      src/assets/images/swiper_left.png
  37. BIN
      src/assets/images/swiper_right.png
  38. BIN
      src/assets/logo.png
  39. 58
      src/assets/medic.scss
  40. 8
      src/assets/styles/element-variables.scss
  41. 49
      src/assets/yxj.js
  42. BIN
      src/assets/zlxcimgs/category_icon01@2x.png
  43. BIN
      src/assets/zlxcimgs/category_icon@2x.png
  44. BIN
      src/assets/zlxcimgs/close_@2x.png
  45. BIN
      src/assets/zlxcimgs/home_icon_Issuecertificates@2x.png
  46. BIN
      src/assets/zlxcimgs/home_icon_appxiazai@2x.png
  47. BIN
      src/assets/zlxcimgs/home_icon_daweizhi@2x.png
  48. BIN
      src/assets/zlxcimgs/home_icon_facetoface@2x.png
  49. BIN
      src/assets/zlxcimgs/home_icon_findadrivingschool@2x.png
  50. BIN
      src/assets/zlxcimgs/home_icon_location@2x.png
  51. BIN
      src/assets/zlxcimgs/home_icon_science@2x.png
  52. BIN
      src/assets/zlxcimgs/home_icon_shoujixiazai.png
  53. BIN
      src/assets/zlxcimgs/home_icon_signup@2x.png
  54. BIN
      src/assets/zlxcimgs/home_icon_technicaldepartment@2x.png
  55. BIN
      src/assets/zlxcimgs/home_icon_tell@2x.png
  56. BIN
      src/assets/zlxcimgs/home_icon_time@2x.png
  57. BIN
      src/assets/zlxcimgs/home_icon_wIssuecertificates@2x.png
  58. BIN
      src/assets/zlxcimgs/home_icon_wfacetoface@2x.png
  59. BIN
      src/assets/zlxcimgs/home_icon_wfindadrivingschool@2x.png
  60. BIN
      src/assets/zlxcimgs/home_icon_winspect@2x.png
  61. BIN
      src/assets/zlxcimgs/home_icon_wscience@2x.png
  62. BIN
      src/assets/zlxcimgs/home_icon_wsignup@2x.png
  63. BIN
      src/assets/zlxcimgs/home_icon_wtechnicaldepartment@2x.png
  64. BIN
      src/assets/zlxcimgs/home_icon_xiayige@2x.png
  65. BIN
      src/assets/zlxcimgs/home_icon_xinspect@2x.png
  66. BIN
      src/assets/zlxcimgs/home_image-logoquan@2x.png
  67. BIN
      src/assets/zlxcimgs/home_image_background@2x.png
  68. BIN
      src/assets/zlxcimgs/home_image_banner@2x.png
  69. BIN
      src/assets/zlxcimgs/home_image_bannertwo@2x.png
  70. BIN
      src/assets/zlxcimgs/home_image_jiaxiaofenbu@2x.png
  71. BIN
      src/assets/zlxcimgs/home_image_jinribaom@2x.png
  72. BIN
      src/assets/zlxcimgs/home_image_jinriprixun@2x.png
  73. BIN
      src/assets/zlxcimgs/home_image_liucheng@2x.png
  74. BIN
      src/assets/zlxcimgs/home_image_logo.png
  75. BIN
      src/assets/zlxcimgs/home_image_xuejiaren@2x.png
  76. BIN
      src/assets/zlxcimgs/second_icon_jiashichangshi@2x.png
  77. BIN
      src/assets/zlxcimgs/second_icon_xuanzhong@2x.png
  78. BIN
      src/assets/zlxcimgs/second_icon_xuechexuzhi@2x.png
  79. BIN
      src/assets/zlxcimgs/second_icon_zhaopian@2x.png
  80. BIN
      src/assets/zlxcimgs/second_image_bg@2x.png
  81. BIN
      src/assets/zlxcimgs/second_image_bger@2x.png
  82. BIN
      src/assets/zlxcimgs/second_image_bger@2x02.png
  83. BIN
      src/assets/zlxcimgs/second_image_bggongshi.png
  84. BIN
      src/assets/zlxcimgs/second_image_bgsan@2x03.png
  85. BIN
      src/assets/zlxcimgs/second_image_jiaxiao@2x.png
  86. BIN
      src/assets/zlxcimgs/second_image_xinwentu@2x.png
  87. BIN
      src/assets/zlxcimgs/second_image_xueyuan@2x.png
  88. BIN
      src/assets/zlxcimgs/second_image_zhaojiaxiao@2x.png
  89. BIN
      src/assets/zlxcimgs/zlxclogo.jpg
  90. BIN
      src/assets/zlxctheory/home_icon_huoche@2x.png
  91. BIN
      src/assets/zlxctheory/home_icon_keche@2x.png
  92. BIN
      src/assets/zlxctheory/home_icon_quanzhen@2x.png
  93. BIN
      src/assets/zlxctheory/home_icon_shunxu@2x.png
  94. BIN
      src/assets/zlxctheory/home_icon_suiji@2x.png
  95. BIN
      src/assets/zlxctheory/home_icon_whuoche@2x.png
  96. BIN
      src/assets/zlxctheory/home_icon_wkeche@2x.png
  97. BIN
      src/assets/zlxctheory/home_icon_wxiaoche@2x.png
  98. BIN
      src/assets/zlxctheory/home_icon_xiaoche@2x.png
  99. BIN
      src/assets/zlxctheory/home_icon_zhangjie@2x.png
  100. BIN
      src/assets/zlxctheory/home_icon_zhuanti@2x.png

9
.editorconfig

@ -0,0 +1,9 @@
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

3
.env.development

@ -0,0 +1,3 @@
VUE_APP_URL = "https://www.jaxc.cn"
VUE_APP_URL1 = "https://www.hzsjspx.com/theoryapi/"
VUE_APP_PAGE = ""

2
.env.production

@ -0,0 +1,2 @@
VUE_APP_URL = "www.jaxc.cn"
VUE_APP_PAGE = ""

2
.env.test

@ -0,0 +1,2 @@
VUE_APP_URL = ""
VUE_APP_PAGE = ""

4
.eslintignore

@ -0,0 +1,4 @@
/build/
/config/
/dist/
/*.js

16
.gitignore

@ -0,0 +1,16 @@
.DS_Store
node_modules/
/dist/
/dist-dev/
/dist-test/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln

21
README.md

@ -0,0 +1,21 @@
# yxj-website
> A Vue.js project
## Build Setup
``` bash
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
```
For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).

19
babel.config.js

@ -0,0 +1,19 @@
/*
* @Author: your name
* @Date: 2020-12-03 09:37:12
* @LastEditTime: 2020-12-04 16:52:34
* @LastEditors: your name
* @Description: In User Settings Edit
* @FilePath: \yxj-web\babel.config.js
*/
// 生产环境下清除console打印
const plugins = []
if (process.env.NODE_ENV === 'production') {
plugins.push('transform-remove-console')
}
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
],
plugins
}

24
debug.log

@ -0,0 +1,24 @@
[1013/195238.214:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1020/202247.696:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1021/093922.156:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1023/142157.682:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1025/215536.983:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1026/210011.845:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1028/195019.428:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1028/205121.768:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1029/173341.746:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1029/213132.127:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1030/093422.714:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1031/190627.867:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1102/092631.722:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1111/093631.145:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1112/093731.130:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1113/094323.635:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1113/230203.724:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1114/093534.735:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1115/151357.080:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1115/175423.738:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1127/093912.580:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1201/191317.535:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1202/094620.255:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统锟揭诧拷锟斤拷指锟斤拷锟斤拷路锟斤拷锟斤拷 (0x3)
[1203/094828.098:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3)

14943
package-lock.json
File diff suppressed because it is too large
View File

81
package.json

@ -0,0 +1,81 @@
{
"name": "learns-to-drive-pc",
"version": "1.0.0",
"description": "A Vue.js project",
"author": "",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"build-dev": "vue-cli-service build --mode development",
"build-test": "vue-cli-service build --mode test",
"lint": "vue-cli-service lint"
},
"dependencies": {
"animate.css": "^3.7.2",
"axios": "^0.19.0",
"core-js": "^3.19.1",
"cropperjs": "^1.5.1",
"crypto-js": "^4.0.0",
"echarts": "^5.1.2",
"element-ui": "^2.9.1",
"normalize.css": "^8.0.1",
"nprogress": "^0.2.0",
"qrcode2": "^1.2.3",
"sa-sdk-javascript": "^1.15.24",
"sortable": "^2.0.0",
"storejs": "^1.0.25",
"tcplayer": "^2.2.1",
"vue": "^2.6.10",
"vue-awesome-swiper": "^3.1.3",
"vue-baidu-map": "^0.21.22",
"vue-count-to": "^1.0.13",
"vue-cropper": "^0.4.9",
"vue-router": "^3.0.1",
"vue-seamless-scroll": "^1.1.16",
"vuedraggable": "^2.24.3",
"vuex": "^3.1.1"
},
"devDependencies": {
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"babel-eslint": "^10.1.0",
"babel-plugin-transform-remove-console": "^6.9.4",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-plugin-transform-vue-jsx": "^3.7.0",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-2": "^6.24.1",
"eslint": "^6.7.2",
"eslint-plugin-html": "^6.1.0",
"eslint-plugin-vue": "^6.2.2",
"node-sass": "^4.14.1",
"normalize.css": "^8.0.1",
"nprogress": "^0.2.0",
"sass-loader": "^10.0.3",
"svg-sprite-loader": "^5.0.0",
"vue-router": "^3.4.6",
"vue-template-compiler": "^2.6.11",
"vuex": "^3.5.1"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended"
],
"rules": {
"no-debugger": "off",
"no-console": "off"
}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}

BIN
public/favicon.ico

31
public/index.html

@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
<meta name="allkeywords" content="浙里学车,杭州市机动车驾驶人培训公众服务平台">
<meta name="alldescription" content="浙里学车官网">
<meta name="keywords" content="浙里学车">
<meta name="description" content="浙里学车官网">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>浙里学车官网</title>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?f96a3b24d4fa85575d9eb1470afc76da";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
<!-- 杭州市机动车驾驶人培训公众服务平台 -->
</body>
</html>

BIN
public/logo.ico

37
src/App.vue

@ -0,0 +1,37 @@
<template>
<div id="app" @click="$store.commit('CHANGE_OPENMENU', false)">
<router-view/>
</div>
</template>
<script>
export default {
name: 'App',
created() {
},
}
</script>
<style>
#app {
width: 100%!important;
font-family: '微软雅黑';
background: #ffffff;
}
html{
overflow-y: scroll
}
@media only screen and (min-width: 1200px) {
#app {
min-height: 100vh;
}
}
* {
margin: 0;
padding: 0;
}
[v-cloak] {
display: none;
}
</style>

110
src/api/herbalMedicine.js

@ -0,0 +1,110 @@
import { api } from '@/utils/fetch'
/** 查询简单行业动态/曝光台列表 */
const querySimpleIndustryDynamics = params => api('/index/querySimpleIndustryDynamics.do', params)
/** 查询政策法规列表 */
const querySimpleLaws = params => api('/index/querySimpleLaws.do', params)
/** 查询行业动态/曝光台详情 */
const queryIndustryDynamicDetails = params => api('/index/getIndustryDynamicDetails.do', params, 'get')
/** 查询政策法规详情 */
const queryGetLawDetails = params => api('/index/getLawDetails.do', params, 'get')
/** 查询全部区域列表 */
const queryIndexOrignList = params => api('/index/indexOrignList.do', params)
/** 查询驾校列表||首页驾校查询 */
const queryTrainingSchoolList = params => api('/index/queryTrainingSchoolList.do', params)
/** 查询官网驾校信息 */
const queryGetSchoolDetailById = params => api('/index/getSchoolDetailById.do', params, 'get')
/** 查询驾校场地图片列表 */
const queryGetSiteBySchoolId = params => api('/index/getSiteBySchoolId.do', params, 'get')
/** 查询驾校教练员详情 */
const queryQueryList = params => api('/coach/manage/queryList.do', params, 'get')
/** 根据驾校查询班型列表 */
const queryTrainingClasss = params => api('/index/getTrainingClasss.do', params, 'get')
/** 地图驾校搜索 */
const queryGetSchoolByName = params => api('/index/getSchoolByName.do', params, 'get', false)
/** 创建投诉咨询 */
const queryCreateComplaint = params => api('/index/createComplaint.do', params)
/** 首页驾培统计 */
const queryIndexCollectList = params => api('/index/indexCollectList.do', params, 'post', false)
/** 查询体检地址列表 */
const queryGetHospitalList = params => api('/index/getHospitalList.do', params, 'get')
/** 查询体检地址列表无loading */
const queryNoLoadingGetHospitalList = params => api('/index/getHospitalList.do', params, 'get', false)
/** 根据区域分组查询驾校数量 */
const queryIndexSchoolGroupList = params => api('/index/indexSchoolGroupList.do', params, 'get')
/** 学车须知或者驾驶常识列表接口 */
const queryEssayList = params => api('/ar/essay/essayList.do', params, 'get')
/** 学车须知或者驾驶常识详情接口 */
const queryEssayDetail = params => api('/ar/essay/essayDetail.do', params, 'get')
/** 首页评价 */
const queryHomeEvaluate = params => api('/index/evaluate', params, 'get')
/** 获取章节目录 */
const queryGetChapterList = params => api('/index/theoryCenter/getChapterList', params, 'get')
/** 获取模拟考试题 */
const queryGetMockExam = params => api('/index/theoryCenter/getMockExam', params, 'get')
/** 通过条件获取题目ID列表 */
const queryGetQuestionIdList = params => api('/index/theoryCenter/getQuestionIdList', params, 'get')
/** 通过id获取题目 */
const queryGetQuestionById = params => api('/index/theoryCenter/getQuestionById', params, 'get')
/** */
const getTestCenterList = params => api('/index/theoryCenter/getTestCenterList', params, 'get')
//http://localhost:9100/gzpt/index/theoryCenter/getTestCenterList?carType=car&stepType=1
/** 公示栏 */
const queryPublicNotice = params => api('/index/queryPublicNotice.do', params, 'post', false)
/** 公示栏详情 */
const getPublicNoticeByDetails = params => api('/index/getPublicNoticeByDetails.do', params, 'post', false)
export {
querySimpleIndustryDynamics,
queryIndustryDynamicDetails,
querySimpleLaws,
queryGetLawDetails,
queryIndexOrignList,
queryTrainingSchoolList,
queryGetSchoolDetailById,
queryGetSiteBySchoolId,
queryQueryList,
queryTrainingClasss,
queryGetSchoolByName,
queryCreateComplaint,
queryIndexCollectList,
queryGetHospitalList,
queryNoLoadingGetHospitalList,
queryIndexSchoolGroupList,
queryEssayList,
queryEssayDetail,
queryHomeEvaluate,
queryGetChapterList,
queryGetMockExam,
queryGetQuestionIdList,
queryGetQuestionById,
getTestCenterList,
queryPublicNotice,
getPublicNoticeByDetails
}

93
src/api/login.js

@ -0,0 +1,93 @@
import { api } from '@/utils/fetch'
/** 手机号密码登录 */
const signIn = params => api('user/signIn', params)
/** 获取短信验证码 */
const getSMSCode = params => api('user/getSMSCode', params)
/** 验证码注册/登录 */
const registerLogin = params => api('user/registerLogin', params)
/** 设置邀请码 */
const confirmInviteCode = params => api('user/confirmInviteCode', params)
/** 设置密码 */
const setPassword = params => api('user/setPassword', params)
/** 忘记密码 */
const forgetPassword = params => api('user/forgetPassword', params)
/** 检查登录状态 */
const checkSession = params => api('user/checkSession', params)
/** 保存用户基本信息 */
const saveUserInfo = params => api('user/saveUserInfo', params)
/** 获取科室信息 */
const getDepartmentList = params => api('user/getDepartmentList', params)
/** 获取频道列表(用户未登录) */
const getCategoryList = params => api('content/getCategoryList', params)
/** 设置关注频道 */
const setCategoryFocus = params => api('content/setCategoryFocus', params)
/** 获取用户信息 */
const getUserInfo = params => api('user/getUserInfo', params)
/** 获取标签列表 */
const getClassifyList = params => api('content/getClassifyList', params)
/** 设置用户标签 */
const setUserClassify = params => api('content/setUserClassify', params)
/** 用户信息同步 */
const synchroUserInfo = params => api('user/synchroUserInfo', params)
/** 获取职称列表 */
const getTitleList = params => api('user/getTitleList', params)
/** 获取地区列表 */
const getProvinceList = params => api('user/getProvinceList', params)
/** 获取城市列表 */
const getCityList = params => api('user/getCityList', params)
/** 获取城市列表 */
const getDistrictList = params => api('user/getDistrictList', params)
/** 获取城市列表 */
const getHospitalList = params => api('user/getHospitalList', params)
/** 获取学校列表 */
const getSchoolList = params => api('user/getSchoolList', params)
/** 获取专业列表 */
const getMajorList = params => api('user/getMajorList', params)
export {
signIn,
getSMSCode,
registerLogin,
confirmInviteCode,
setPassword,
forgetPassword,
checkSession,
saveUserInfo,
getDepartmentList,
setCategoryFocus,
getUserInfo,
getCategoryList,
getClassifyList,
setUserClassify,
synchroUserInfo,
getTitleList,
getProvinceList,
getCityList,
getDistrictList,
getHospitalList,
getSchoolList,
getMajorList
}

423
src/assets/common.css

@ -0,0 +1,423 @@
ul,li{
list-style: none;
}
.yxj-flex {
display: flex;
align-items: center;
}
.yxj-center {
display: flex;
align-items: center;
justify-content: center;
}
.yxj-col {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.yxj-space {
display: flex;
align-items: center;
justify-content: space-between;
}
.yxj-wrapper {
display: flex;
flex-wrap: wrap;
align-content: flex-start;
}
.yxj-overflow {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.yxj-full {
width: 100vw;
height: 100vh;
overflow-y: auto;
box-sizing: border-box;
}
.yxj-border{
border-bottom: 1px solid #e7e7e7;
}
.yxj-container{
width: 1200px;
margin: 0 auto;
/* overflow: hidden; */
}
.zlxc-container{
min-width: 1000px;
max-width: 1200px;
margin: 0 auto;
}
.flex {
display: flex;
}
.deposit .el-form {
width: 488px;
margin: 0 auto;
}
.deposit .el-dialog {
border-radius: 4px;
}
.deposit .el-dialog__header {
padding: 28px 28px 20px 28px;
}
.deposit .el-dialog__title {
line-height: 28px;
font-size: 20px;
color: #333;
}
.deposit .el-input__inner {
height: 50px;
line-height: 50px;
font-size: 16px;
color: #666;
}
.deposit .el-form-item:first-of-type {
margin-bottom: 48px;
}
.deposit .el-form-item:nth-of-type(2) {
margin-bottom: 33px;
}
.deposit .el-form-item:last-of-type {
margin-bottom: 3px;
}
.deposit .el-form .el-button--primary {
width: 100%;
height: 45px;
line-height: 45px;
text-align: center;
background-color: #d9534f;
border-radius: 22px;
color: #ffffff;
cursor: pointer;
padding: 0;
border: none;
font-size: 18px;
}
.home .swiper-area li.is-active .el-carousel__button {
background-color: #ee1c24;
}
.home .swiper-area li .el-carousel__button {
background-color: #979797;
}
.join .main-area li.is-active .el-carousel__button {
background-color: #ee1c24;
}
.join .main-area li .el-carousel__button {
background-color: #979797;
}
.swiper-pagination-bullet-active {
background-color: #cd1134;
opacity: 1;
}
.banner-item {
display: block;
width: 100%;
height: 397px;
}
.swiper-wrapper .swiper-slide {
position: relative;
overflow: hidden;
}
/* .swiper-wrapper .swiper-slide.swiper-slide-active .banner-item:hover,
.banner-area img:hover{
cursor: pointer;
transition: all 5s;
transform: scale(1.1) translateZ(0);
animation-timing-function: linear;
} */
.swiper-wrapper .swiper-slide .sinfo{
position: absolute;
bottom: 0;
right: 0;
padding: 0 25px 0 23px;
min-width: 389px;
height: 43px;
line-height: 43px;
font-size: 16px;
color: #FFFFFF;
background: rgba(215, 0, 15, 0.9);
box-sizing: border-box;
}
.bullet-active {
background-color: #cc0000;
opacity: 1;
}
.swiper-area {
position: relative;
}
.swiper-pagination {
position: relative;
/* margin-top: 18px; */
}
.swiper-pagination-fraction, .swiper-pagination-custom, .swiper-container-horizontal > .swiper-pagination-bullets{
bottom: 30px;
}
.swiper-pagination-bullet{
width: 16px;
height: 16px;
background: transparent;
border: 2px solid transparent;
opacity: 1;
position: relative;
top: 0;
left: 0;
box-sizing: border-box;
}
.swiper-pagination-bullet::before{
content: '';
width: 6px;
height: 6px;
border-radius: 50%;
background: #ffffff;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
margin: auto;
}
.swiper-pagination-bullet-active {
/* background-color: #cc0000; */
border-color: #ffffff;
opacity: 1;
}
.banner-area{
width: 100%;
}
.banner-area img{
width: 100%;
}
.title-wrapper{
text-align: center;
margin-bottom: 38px;
}
.title-label{
margin: 0;
margin-bottom: 15px;
font-size: 20px;
font-weight: 600;
color: #333333;
line-height: 36px;
letter-spacing: 1px;
}
.title-label>span{
display: inline-block;
padding-bottom: 3px;
border-bottom: 1px solid #1989FA;
}
.sub-title-label{
font-size: 14px;
font-weight: 400;
color: #515151;
line-height: 25px;
}
.sub-title-label>span{
display: inline-block;
width: 852px;
}
.yxj-btn{
position: relative;
border: 1px solid #333333;
color: #333333;
transition: all .5s ease;
}
.yxj-btn::after{
background: #1989FA;
position: absolute;
top: 0;
left: 0;
width: 0;
height: 100%;
content: '';
opacity: 0;
transition: all .5s ease;
}
.swiper-button-prev, .swiper-button-next{
outline: none;
}
.swiper-button{
padding: 20px;
width: 100px;
height: 100px;
margin-top: -85px;
transition: all .3s;
}
.swiper-button.swiper-button-prev{
background-image: url('../assets/images/swiper_left.png');
background-size: 90px 90px;
margin-left: -200px;
}
.swiper-button.swiper-button-next{
background-image: url('../assets/images/swiper_right.png');
background-size: 90px 90px;
margin-right: -200px;
}
.swiper-area:hover .swiper-button.swiper-button-prev,
.swiper-area:hover .swiper-button.swiper-button-next{
margin-left: 0;
margin-right: 0;
}
:focus{
outline: none;
}
.el-message-box button.el-button--primary{
border-color: #4497F8;
background: #4497F8;
}
.el-message-box button.el-button--primary:hover{
border-color: #4497F8;
background: #4497F8;
opacity: 0.6;
}
@media only screen and (min-width: 1200px) {
.swiper-area{
min-width: 1200px;
overflow: hidden;
}
.yxj-btn:hover{
border-color: #1989FA!important;
color: #FFFFFF!important;
}
.yxj-btn:hover::after{
opacity: 1;
width: 100%;
z-index: -1;
}
}
@media only screen and (max-width: 1199px) {
/* -webkit-tap-highlight-color:transparent;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
tap-highlight-color: rgba(0, 0, 0, 0); */
.swiper-wrapper .swiper-slide .sinfo{
min-width: 100%;
max-width: 100%;
padding: 0 5px;
height: 24px;
line-height: 24px;
font-size: 10px;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.yxj-container{
width: 100%;
overflow: hidden;
}
.swiper-pagination{
margin-top: 10px;
}
.swiper-pagination-bullet{
width: 6px;
height: 6px;
}
.page-container{
padding: 60px 0;
display: block;
}
.page-container.swer{
margin-top: -29px;
}
.page-container .mobile-qr{
padding: 0 32px;
margin: 0 auto;
margin-bottom: 48px;
}
.page-container .mobile-qr.sm{
margin-bottom: 44px;
}
.page-container .mobile-qr:hover{
box-shadow: none;
}
.page-container .mobile-qr:last-child{
margin-bottom: 0;
}
.page-container .mobile-qr .wx-tips,
.content-title{
position: relative;
text-align: left;
color: #333333;
border-left: 3px solid #1989FA;
font-weight: 600;
padding-left: 8px;
margin: 2.5px 0 12px;
font-size: 17px;
line-height: 20px;
}
.page-container .mobile-qr .wx-label>p{
color: #666666;
line-height: 27px;
font-size: 14px;
text-align: left;
}
}
/* 弹性盒子公共样式 */
/* 排列方向-横向排列 */
.flex {
display: flex;
}
/* 纵向排列 */
.flex2 {
display: flex;
flex-direction: column;
}
/* 水平居中,垂直居中 */
.fcc {
display: flex;
justify-content: center;
align-items: center;
}
.floatLeft{
float: left;
}
/* 两端对齐 */
.jc-sb {
justify-content: space-between;
}
/* 分散对齐 */
.jc-sa {
justify-content: space-around;
}
/* 垂直居中 */
.aic {
align-items: center;
}
/* 水平居中 */
.jcc {
justify-content: center;
}
.mt-25 {
margin-top: 25px;
}
.mt-12 {
margin-top: 12px;
}
.ml-25 {
margin-left: 25px;
}
.mr-25 {
margin-right: 25px;
}
.div-25{
height: 25px;
}
.div-50{
height: 50px;
}

1
src/assets/hangzhou.json
File diff suppressed because it is too large
View File

BIN
src/assets/images/address.png

After

Width: 44  |  Height: 56  |  Size: 1.7 KiB

BIN
src/assets/images/address_icon@2x.png

After

Width: 64  |  Height: 66  |  Size: 1.9 KiB

BIN
src/assets/images/arrow_down_icon@2x.png

After

Width: 96  |  Height: 96  |  Size: 847 B

BIN
src/assets/images/arrow_left.png

After

Width: 225  |  Height: 225  |  Size: 12 KiB

BIN
src/assets/images/arrow_right.png

After

Width: 150  |  Height: 150  |  Size: 7.0 KiB

BIN
src/assets/images/beian.png

After

Width: 36  |  Height: 40  |  Size: 1.4 KiB

BIN
src/assets/images/bg-login.png

After

Width: 3840  |  Height: 1516  |  Size: 1.4 MiB

BIN
src/assets/images/carLogo.png

After

Width: 754  |  Height: 622  |  Size: 212 KiB

BIN
src/assets/images/location_icon@2x.png

After

Width: 76  |  Height: 92  |  Size: 4.4 KiB

BIN
src/assets/images/logo.png

After

Width: 1024  |  Height: 1024  |  Size: 305 KiB

BIN
src/assets/images/phone_icon@2x.png

After

Width: 64  |  Height: 64  |  Size: 1.8 KiB

BIN
src/assets/images/placeholder.png

After

Width: 460  |  Height: 260  |  Size: 257 KiB

BIN
src/assets/images/right_mobile_swiper.png

After

Width: 64  |  Height: 64  |  Size: 1.9 KiB

BIN
src/assets/images/right_mobile_swiper_no.png

After

Width: 64  |  Height: 64  |  Size: 1.6 KiB

BIN
src/assets/images/sm_left.png

After

Width: 45  |  Height: 45  |  Size: 1.8 KiB

BIN
src/assets/images/sm_right.png

After

Width: 45  |  Height: 45  |  Size: 1.8 KiB

BIN
src/assets/images/swiper_left.png

After

Width: 300  |  Height: 300  |  Size: 11 KiB

BIN
src/assets/images/swiper_right.png

After

Width: 300  |  Height: 300  |  Size: 11 KiB

BIN
src/assets/logo.png

After

Width: 200  |  Height: 200  |  Size: 6.7 KiB

58
src/assets/medic.scss

@ -0,0 +1,58 @@
.medic-drop {
.el-dropdown-menu__item{
display: flex;
width: 234px;
padding: 0 12px;
height: 43px;
line-height: 43px;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
}
.el-dropdown-menu__item--divided{
margin-top: 0;
}
.el-dropdown-menu__item--divided:before{
display: none;
}
.num {
font-size: 14px;
font-weight: 400;
color: #333333;
line-height: 20px;
}
.price {
font-size: 14px;
font-weight: 600;
color: #f58c23;
line-height: 20px;
}
}
.el-dropdown-menu.el-popper{
.el-dropdown-menu__item{
&:not(.is-disabled):hover{
background-color: #ffffff;
color: #1989FA;
}
}
}
.el-cascader-node.in-active-path, .el-cascader-node.is-active, .el-cascader-node.is-selectable.in-checked-path{
color: #1989FA;
}
.notify-success.el-notification .el-icon-success{
color: #1989FA;
}
.el-popup-parent--hidden {
padding-right: 0 !important;
}
.medic-hover-info:hover{
color: #1989FA!important;
}
.medic-hover-primary:hover{
opacity: 0.7;
}

8
src/assets/styles/element-variables.scss

@ -0,0 +1,8 @@
// /* 改变主题色变量 */
$--color-primary: #1989FA;
$--color-success: #1989FA;
/* 改变 icon 字体路径变量,必需 */
$--font-path: '~element-ui/lib/theme-chalk/fonts';
@import "~element-ui/packages/theme-chalk/src/index";

49
src/assets/yxj.js

@ -0,0 +1,49 @@
import { Message, MessageBox } from 'element-ui'
const baseUrl = 'http://192.168.0.122'
export default {
install (Vue) {
Vue.prototype.$baseUrl = baseUrl
Vue.prototype.$errorToast = (msg) => {
Message({
message: msg,
type: 'error',
duration: 3000
})
}
Vue.prototype.$warningToast = (msg) => {
Message({
message: msg,
type: 'warning',
duration: 3000
})
}
Vue.prototype.$successToast = (msg) => {
Message({
message: msg,
type: 'success',
duration: 3000
})
}
Vue.prototype.$confirmDelete = (msg, callback, title = '提示', type = 'warning') => {
MessageBox.confirm(msg, title, {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: type
}).then(() => {
callback()
}).catch(() => {
})
}
Vue.prototype.$formatDate = (date) => {
const dateTime = typeof date === 'object' ? date : new Date(date)
const year = dateTime.getFullYear()
const month = dateTime.getMonth() + 1 < 10 ? `0${dateTime.getMonth() + 1}` : dateTime.getMonth() + 1
const day = dateTime.getDate() < 10 ? `0${dateTime.getDate()}` : dateTime.getDate()
const hour = dateTime.getHours() < 10 ? `0${dateTime.getHours()}` : dateTime.getHours()
const minute = dateTime.getMinutes() < 10 ? `0${dateTime.getMinutes()}` : dateTime.getMinutes()
const second = dateTime.getSeconds() < 10 ? `0${dateTime.getSeconds()}` : dateTime.getSeconds()
return `${year}-${month}-${day} ${hour}:${minute}:${second}`
}
}
}

BIN
src/assets/zlxcimgs/category_icon01@2x.png

After

Width: 216  |  Height: 216  |  Size: 23 KiB

BIN
src/assets/zlxcimgs/category_icon@2x.png

After

Width: 96  |  Height: 96  |  Size: 546 B

BIN
src/assets/zlxcimgs/close_@2x.png

After

Width: 110  |  Height: 110  |  Size: 2.1 KiB

BIN
src/assets/zlxcimgs/home_icon_Issuecertificates@2x.png

After

Width: 110  |  Height: 88  |  Size: 2.9 KiB

BIN
src/assets/zlxcimgs/home_icon_appxiazai@2x.png

After

Width: 216  |  Height: 216  |  Size: 38 KiB

BIN
src/assets/zlxcimgs/home_icon_daweizhi@2x.png

After

Width: 62  |  Height: 100  |  Size: 3.1 KiB

BIN
src/assets/zlxcimgs/home_icon_facetoface@2x.png

After

Width: 100  |  Height: 110  |  Size: 3.1 KiB

BIN
src/assets/zlxcimgs/home_icon_findadrivingschool@2x.png

After

Width: 100  |  Height: 110  |  Size: 3.5 KiB

BIN
src/assets/zlxcimgs/home_icon_location@2x.png

After

Width: 36  |  Height: 48  |  Size: 2.1 KiB

BIN
src/assets/zlxcimgs/home_icon_science@2x.png

After

Width: 104  |  Height: 108  |  Size: 4.8 KiB

BIN
src/assets/zlxcimgs/home_icon_shoujixiazai.png

After

Width: 40  |  Height: 58  |  Size: 571 B

BIN
src/assets/zlxcimgs/home_icon_signup@2x.png

After

Width: 110  |  Height: 110  |  Size: 4.7 KiB

BIN
src/assets/zlxcimgs/home_icon_technicaldepartment@2x.png

After

Width: 110  |  Height: 108  |  Size: 4.7 KiB

BIN
src/assets/zlxcimgs/home_icon_tell@2x.png

After

Width: 46  |  Height: 50  |  Size: 2.2 KiB

BIN
src/assets/zlxcimgs/home_icon_time@2x.png

After

Width: 48  |  Height: 46  |  Size: 757 B

BIN
src/assets/zlxcimgs/home_icon_wIssuecertificates@2x.png

After

Width: 110  |  Height: 88  |  Size: 2.9 KiB

BIN
src/assets/zlxcimgs/home_icon_wfacetoface@2x.png

After

Width: 100  |  Height: 110  |  Size: 3.4 KiB

BIN
src/assets/zlxcimgs/home_icon_wfindadrivingschool@2x.png

After

Width: 100  |  Height: 110  |  Size: 3.5 KiB

BIN
src/assets/zlxcimgs/home_icon_winspect@2x.png

After

Width: 100  |  Height: 110  |  Size: 5.1 KiB

BIN
src/assets/zlxcimgs/home_icon_wscience@2x.png

After

Width: 104  |  Height: 108  |  Size: 6.0 KiB

BIN
src/assets/zlxcimgs/home_icon_wsignup@2x.png

After

Width: 110  |  Height: 110  |  Size: 5.6 KiB

BIN
src/assets/zlxcimgs/home_icon_wtechnicaldepartment@2x.png

After

Width: 110  |  Height: 108  |  Size: 6.2 KiB

BIN
src/assets/zlxcimgs/home_icon_xiayige@2x.png

After

Width: 48  |  Height: 48  |  Size: 1.3 KiB

BIN
src/assets/zlxcimgs/home_icon_xinspect@2x.png

After

Width: 100  |  Height: 110  |  Size: 4.3 KiB

BIN
src/assets/zlxcimgs/home_image-logoquan@2x.png

After

Width: 490  |  Height: 124  |  Size: 6.5 KiB

BIN
src/assets/zlxcimgs/home_image_background@2x.png

After

Width: 3840  |  Height: 796  |  Size: 407 KiB

BIN
src/assets/zlxcimgs/home_image_banner@2x.png

After

Width: 3840  |  Height: 794  |  Size: 444 KiB

BIN
src/assets/zlxcimgs/home_image_bannertwo@2x.png

After

Width: 3840  |  Height: 794  |  Size: 285 KiB

BIN
src/assets/zlxcimgs/home_image_jiaxiaofenbu@2x.png

After

Width: 1782  |  Height: 1242  |  Size: 361 KiB

BIN
src/assets/zlxcimgs/home_image_jinribaom@2x.png

After

Width: 288  |  Height: 288  |  Size: 6.8 KiB

BIN
src/assets/zlxcimgs/home_image_jinriprixun@2x.png

After

Width: 288  |  Height: 288  |  Size: 7.3 KiB

BIN
src/assets/zlxcimgs/home_image_liucheng@2x.png

After

Width: 2800  |  Height: 876  |  Size: 109 KiB

BIN
src/assets/zlxcimgs/home_image_logo.png

After

Width: 1554  |  Height: 156  |  Size: 41 KiB

BIN
src/assets/zlxcimgs/home_image_xuejiaren@2x.png

After

Width: 288  |  Height: 288  |  Size: 6.7 KiB

BIN
src/assets/zlxcimgs/second_icon_jiashichangshi@2x.png

After

Width: 1376  |  Height: 240  |  Size: 180 KiB

BIN
src/assets/zlxcimgs/second_icon_xuanzhong@2x.png

After

Width: 290  |  Height: 22  |  Size: 447 B

BIN
src/assets/zlxcimgs/second_icon_xuechexuzhi@2x.png

After

Width: 1376  |  Height: 240  |  Size: 213 KiB

BIN
src/assets/zlxcimgs/second_icon_zhaopian@2x.png

After

Width: 480  |  Height: 340  |  Size: 170 KiB

BIN
src/assets/zlxcimgs/second_image_bg@2x.png

After

Width: 1920  |  Height: 290  |  Size: 736 KiB

BIN
src/assets/zlxcimgs/second_image_bger@2x.png

After

Width: 3840  |  Height: 580  |  Size: 938 KiB

BIN
src/assets/zlxcimgs/second_image_bger@2x02.png

After

Width: 1920  |  Height: 290  |  Size: 463 KiB

BIN
src/assets/zlxcimgs/second_image_bggongshi.png

After

Width: 1920  |  Height: 290  |  Size: 263 KiB

BIN
src/assets/zlxcimgs/second_image_bgsan@2x03.png

After

Width: 1920  |  Height: 290  |  Size: 382 KiB

BIN
src/assets/zlxcimgs/second_image_jiaxiao@2x.png

After

Width: 3840  |  Height: 1538  |  Size: 765 KiB

BIN
src/assets/zlxcimgs/second_image_xinwentu@2x.png

After

Width: 1348  |  Height: 946  |  Size: 807 KiB

BIN
src/assets/zlxcimgs/second_image_xueyuan@2x.png

After

Width: 3840  |  Height: 1924  |  Size: 732 KiB

BIN
src/assets/zlxcimgs/second_image_zhaojiaxiao@2x.png

After

Width: 272  |  Height: 274  |  Size: 33 KiB

BIN
src/assets/zlxcimgs/zlxclogo.jpg

After

Width: 900  |  Height: 332  |  Size: 77 KiB

BIN
src/assets/zlxctheory/home_icon_huoche@2x.png

After

Width: 74  |  Height: 60  |  Size: 1.8 KiB

BIN
src/assets/zlxctheory/home_icon_keche@2x.png

After

Width: 80  |  Height: 56  |  Size: 1.9 KiB

BIN
src/assets/zlxctheory/home_icon_quanzhen@2x.png

After

Width: 56  |  Height: 56  |  Size: 2.5 KiB

BIN
src/assets/zlxctheory/home_icon_shunxu@2x.png

After

Width: 74  |  Height: 62  |  Size: 2.7 KiB

BIN
src/assets/zlxctheory/home_icon_suiji@2x.png

After

Width: 64  |  Height: 56  |  Size: 2.7 KiB

BIN
src/assets/zlxctheory/home_icon_whuoche@2x.png

After

Width: 74  |  Height: 60  |  Size: 1.8 KiB

BIN
src/assets/zlxctheory/home_icon_wkeche@2x.png

After

Width: 80  |  Height: 56  |  Size: 1.9 KiB

BIN
src/assets/zlxctheory/home_icon_wxiaoche@2x.png

After

Width: 110  |  Height: 56  |  Size: 2.8 KiB

BIN
src/assets/zlxctheory/home_icon_xiaoche@2x.png

After

Width: 110  |  Height: 56  |  Size: 2.8 KiB

BIN
src/assets/zlxctheory/home_icon_zhangjie@2x.png

After

Width: 60  |  Height: 50  |  Size: 1.5 KiB

BIN
src/assets/zlxctheory/home_icon_zhuanti@2x.png

After

Width: 70  |  Height: 68  |  Size: 3.2 KiB

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save