Browse Source

kya项目

See999 5 years ago
parent
commit
20e7bedc95
100 changed files with 1048 additions and 104 deletions
  1. 15 0
      .eslintrc.js
  2. 12 3
      babel.config.js
  3. 991 68
      package-lock.json
  4. 9 2
      package.json
  5. 12 5
      public/index.html
  6. 1 26
      src/App.vue
  7. BIN
      src/assets/images/add.png
  8. BIN
      src/assets/images/add2.png
  9. BIN
      src/assets/images/add3.png
  10. BIN
      src/assets/images/add4.png
  11. BIN
      src/assets/images/b1.png
  12. BIN
      src/assets/images/b2.png
  13. BIN
      src/assets/images/b3.png
  14. BIN
      src/assets/images/b4.png
  15. BIN
      src/assets/images/banner.png
  16. BIN
      src/assets/images/homebanner.jpg
  17. BIN
      src/assets/images/hospital.png
  18. BIN
      src/assets/images/i1.png
  19. BIN
      src/assets/images/i10.png
  20. BIN
      src/assets/images/i2.png
  21. BIN
      src/assets/images/i3.png
  22. BIN
      src/assets/images/i4.png
  23. BIN
      src/assets/images/i5.png
  24. BIN
      src/assets/images/i6.png
  25. BIN
      src/assets/images/i7.png
  26. BIN
      src/assets/images/i8.png
  27. BIN
      src/assets/images/i9.png
  28. BIN
      src/assets/images/icon.png
  29. BIN
      src/assets/images/icon1.png
  30. BIN
      src/assets/images/icon2.png
  31. BIN
      src/assets/images/icon3.png
  32. BIN
      src/assets/images/icon4.png
  33. BIN
      src/assets/images/icon5.png
  34. BIN
      src/assets/images/icon6.png
  35. BIN
      src/assets/images/icon7.png
  36. BIN
      src/assets/images/icon8.png
  37. BIN
      src/assets/images/icon9 (1)/._10搜索样式.psd
  38. BIN
      src/assets/images/icon9 (1)/._10搜索样式_1.psd
  39. BIN
      src/assets/images/icon9 (1)/._11搜索结果.psd
  40. BIN
      src/assets/images/icon9 (1)/._11搜索结果_1.psd
  41. BIN
      src/assets/images/icon9 (1)/._12病人管理.psd
  42. BIN
      src/assets/images/icon9 (1)/._12病人管理_1.psd
  43. BIN
      src/assets/images/icon9 (1)/._13新增病人.psd
  44. BIN
      src/assets/images/icon9 (1)/._13新增病人_1.psd
  45. BIN
      src/assets/images/icon9 (1)/._14病人详情.psd
  46. BIN
      src/assets/images/icon9 (1)/._14病人详情_1.psd
  47. BIN
      src/assets/images/icon9 (1)/._15医嘱管理.psd
  48. BIN
      src/assets/images/icon9 (1)/._15医嘱管理_1.psd
  49. BIN
      src/assets/images/icon9 (1)/._16病程管理.psd
  50. BIN
      src/assets/images/icon9 (1)/._16病程管理_1.psd
  51. BIN
      src/assets/images/icon9 (1)/._17检验检查.psd
  52. BIN
      src/assets/images/icon9 (1)/._17检验检查_1.psd
  53. BIN
      src/assets/images/icon9 (1)/._1启动页.psd
  54. BIN
      src/assets/images/icon9 (1)/._1启动页_1.psd
  55. BIN
      src/assets/images/icon9 (1)/._1首页.psd
  56. BIN
      src/assets/images/icon9 (1)/._2医院介绍-查看更多.psd
  57. BIN
      src/assets/images/icon9 (1)/._2登录页.psd
  58. BIN
      src/assets/images/icon9 (1)/._2登录页_1.psd
  59. BIN
      src/assets/images/icon9 (1)/._3免密码登录.psd
  60. BIN
      src/assets/images/icon9 (1)/._3免密码登录_1.psd
  61. BIN
      src/assets/images/icon9 (1)/._3名医介绍-查看更多 .psd
  62. BIN
      src/assets/images/icon9 (1)/._4名医介绍-医生详情.psd
  63. BIN
      src/assets/images/icon9 (1)/._4忘记密码.psd
  64. BIN
      src/assets/images/icon9 (1)/._4忘记密码_1.psd
  65. BIN
      src/assets/images/icon9 (1)/._5新闻动态.psd
  66. BIN
      src/assets/images/icon9 (1)/._5注册.psd
  67. BIN
      src/assets/images/icon9 (1)/._5注册_1.psd
  68. BIN
      src/assets/images/icon9 (1)/._6新闻详情.psd
  69. BIN
      src/assets/images/icon9 (1)/._6注册-机构信息.psd
  70. BIN
      src/assets/images/icon9 (1)/._6注册-机构信息_1.psd
  71. BIN
      src/assets/images/icon9 (1)/._6活动动态.psd
  72. BIN
      src/assets/images/icon9 (1)/._7拨打客服.psd
  73. BIN
      src/assets/images/icon9 (1)/._7拨打客服_1.psd
  74. BIN
      src/assets/images/icon9 (1)/._7活动详情.psd
  75. BIN
      src/assets/images/icon9 (1)/._8报名.psd
  76. BIN
      src/assets/images/icon9 (1)/._8首页-第一步.psd
  77. BIN
      src/assets/images/icon9 (1)/._8首页-第一步_1.psd
  78. BIN
      src/assets/images/icon9 (1)/._8首页-第三步.psd
  79. BIN
      src/assets/images/icon9 (1)/._8首页-第三步_1.psd
  80. BIN
      src/assets/images/icon9 (1)/._8首页-第二步.psd
  81. BIN
      src/assets/images/icon9 (1)/._8首页-第二步_1.psd
  82. BIN
      src/assets/images/icon9 (1)/._8首页.psd
  83. BIN
      src/assets/images/icon9 (1)/._8首页_1.psd
  84. BIN
      src/assets/images/icon9 (1)/._9下拉机构弹窗.psd
  85. BIN
      src/assets/images/icon9 (1)/._9下拉机构弹窗_1.psd
  86. BIN
      src/assets/images/icon9 (1)/._医嘱.png
  87. BIN
      src/assets/images/icon9 (1)/._宣教.png
  88. BIN
      src/assets/images/icon9 (1)/._抢救.png
  89. BIN
      src/assets/images/icon9 (1)/._排班.png
  90. BIN
      src/assets/images/icon9 (1)/._检查.png
  91. BIN
      src/assets/images/icon9 (1)/._病程.png
  92. BIN
      src/assets/images/icon9 (1)/._耗材.png
  93. BIN
      src/assets/images/icon9 (1)/._血管通路.png
  94. BIN
      src/assets/images/icon9 (1)/._透析记录.png
  95. BIN
      src/assets/images/icon9 (1)/._长期.png
  96. BIN
      src/assets/images/logo.png
  97. BIN
      src/assets/images/one.jpg
  98. BIN
      src/assets/images/wave.png
  99. 8 0
      src/assets/style/base.scss
  100. 0 0
      src/assets/style/common/mixin.scss

+ 15 - 0
.eslintrc.js View File

@@ -0,0 +1,15 @@
1
+module.exports = {
2
+  root: true,
3
+  env: {
4
+    node: true
5
+  },
6
+  extends: ["plugin:vue/essential", "eslint:recommended"],
7
+  rules: {
8
+    "no-console": process.env.NODE_ENV === "production" ? "error" : "off",
9
+    "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
10
+    "no-unused-vars": 0
11
+  },
12
+  parserOptions: {
13
+    parser: "babel-eslint"
14
+  }
15
+};

+ 12 - 3
babel.config.js View File

@@ -1,5 +1,14 @@
1 1
 module.exports = {
2
-  presets: [
3
-    '@vue/cli-plugin-babel/preset'
2
+  presets: ["@vue/cli-plugin-babel/preset"],
3
+  plugins: [
4
+    [
5
+      "import",
6
+      {
7
+        libraryName: "vant",
8
+        libraryDirectory: "es",
9
+        style: true
10
+      },
11
+      "vant"
12
+    ]
4 13
   ]
5
-}
14
+};

File diff suppressed because it is too large
+ 991 - 68
package-lock.json


+ 9 - 2
package.json View File

@@ -3,21 +3,28 @@
3 3
   "version": "0.1.0",
4 4
   "private": true,
5 5
   "scripts": {
6
-    "serve": "vue-cli-service serve",
6
+    "dev": "vue-cli-service serve",
7 7
     "build": "vue-cli-service build",
8 8
     "lint": "vue-cli-service lint"
9 9
   },
10 10
   "dependencies": {
11 11
     "core-js": "^3.3.2",
12
-    "vue": "^2.6.10"
12
+    "element-ui": "^2.12.0",
13
+    "vant": "^2.2.10",
14
+    "vue": "^2.6.10",
15
+    "vue-router": "^3.1.3"
13 16
   },
14 17
   "devDependencies": {
15 18
     "@vue/cli-plugin-babel": "^4.0.0",
16 19
     "@vue/cli-plugin-eslint": "^4.0.0",
17 20
     "@vue/cli-service": "^4.0.0",
18 21
     "babel-eslint": "^10.0.3",
22
+    "babel-plugin-import": "^1.12.2",
19 23
     "eslint": "^5.16.0",
20 24
     "eslint-plugin-vue": "^5.0.0",
25
+    "node-sass": "^4.13.0",
26
+    "sass-loader": "^8.0.0",
27
+    "swiper": "^5.2.0",
21 28
     "vue-template-compiler": "^2.6.10"
22 29
   },
23 30
   "eslintConfig": {

+ 12 - 5
public/index.html View File

@@ -1,15 +1,22 @@
1 1
 <!DOCTYPE html>
2 2
 <html lang="en">
3 3
   <head>
4
-    <meta charset="utf-8">
5
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
-    <meta name="viewport" content="width=device-width,initial-scale=1.0">
7
-    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
4
+    <meta charset="utf-8" />
5
+    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
+    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
+    <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
8
+    <link
9
+      rel="stylesheet"
10
+      href="//at.alicdn.com/t/font_1480998_rnn2332fqo.css"
11
+    />
8 12
     <title>kya</title>
9 13
   </head>
10 14
   <body>
11 15
     <noscript>
12
-      <strong>We're sorry but kya doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
16
+      <strong
17
+        >We're sorry but kya doesn't work properly without JavaScript enabled.
18
+        Please enable it to continue.</strong
19
+      >
13 20
     </noscript>
14 21
     <div id="app"></div>
15 22
     <!-- built files will be auto injected -->

+ 1 - 26
src/App.vue View File

@@ -1,28 +1,3 @@
1 1
 <template>
2
-  <div id="app">
3
-    <img alt="Vue logo" src="./assets/logo.png">
4
-    <HelloWorld msg="Welcome to Your Vue.js App"/>
5
-  </div>
2
+  <router-view />
6 3
 </template>
7
-
8
-<script>
9
-import HelloWorld from './components/HelloWorld.vue'
10
-
11
-export default {
12
-  name: 'app',
13
-  components: {
14
-    HelloWorld
15
-  }
16
-}
17
-</script>
18
-
19
-<style>
20
-#app {
21
-  font-family: 'Avenir', Helvetica, Arial, sans-serif;
22
-  -webkit-font-smoothing: antialiased;
23
-  -moz-osx-font-smoothing: grayscale;
24
-  text-align: center;
25
-  color: #2c3e50;
26
-  margin-top: 60px;
27
-}
28
-</style>

BIN
src/assets/images/add.png View File


BIN
src/assets/images/add2.png View File


BIN
src/assets/images/add3.png View File


BIN
src/assets/images/add4.png View File


BIN
src/assets/images/b1.png View File


BIN
src/assets/images/b2.png View File


BIN
src/assets/images/b3.png View File


BIN
src/assets/images/b4.png View File


BIN
src/assets/images/banner.png View File


BIN
src/assets/images/homebanner.jpg View File


BIN
src/assets/images/hospital.png View File


BIN
src/assets/images/i1.png View File


BIN
src/assets/images/i10.png View File


BIN
src/assets/images/i2.png View File


BIN
src/assets/images/i3.png View File


BIN
src/assets/images/i4.png View File


BIN
src/assets/images/i5.png View File


BIN
src/assets/images/i6.png View File


BIN
src/assets/images/i7.png View File


BIN
src/assets/images/i8.png View File


BIN
src/assets/images/i9.png View File


BIN
src/assets/images/icon.png View File


BIN
src/assets/images/icon1.png View File


BIN
src/assets/images/icon2.png View File


BIN
src/assets/images/icon3.png View File


BIN
src/assets/images/icon4.png View File


BIN
src/assets/images/icon5.png View File


BIN
src/assets/images/icon6.png View File


BIN
src/assets/images/icon7.png View File


BIN
src/assets/images/icon8.png View File


BIN
src/assets/images/icon9 (1)/._10搜索样式.psd View File


BIN
src/assets/images/icon9 (1)/._10搜索样式_1.psd View File


BIN
src/assets/images/icon9 (1)/._11搜索结果.psd View File


BIN
src/assets/images/icon9 (1)/._11搜索结果_1.psd View File


BIN
src/assets/images/icon9 (1)/._12病人管理.psd View File


BIN
src/assets/images/icon9 (1)/._12病人管理_1.psd View File


BIN
src/assets/images/icon9 (1)/._13新增病人.psd View File


BIN
src/assets/images/icon9 (1)/._13新增病人_1.psd View File


BIN
src/assets/images/icon9 (1)/._14病人详情.psd View File


BIN
src/assets/images/icon9 (1)/._14病人详情_1.psd View File


BIN
src/assets/images/icon9 (1)/._15医嘱管理.psd View File


BIN
src/assets/images/icon9 (1)/._15医嘱管理_1.psd View File


BIN
src/assets/images/icon9 (1)/._16病程管理.psd View File


BIN
src/assets/images/icon9 (1)/._16病程管理_1.psd View File


BIN
src/assets/images/icon9 (1)/._17检验检查.psd View File


BIN
src/assets/images/icon9 (1)/._17检验检查_1.psd View File


BIN
src/assets/images/icon9 (1)/._1启动页.psd View File


BIN
src/assets/images/icon9 (1)/._1启动页_1.psd View File


BIN
src/assets/images/icon9 (1)/._1首页.psd View File


BIN
src/assets/images/icon9 (1)/._2医院介绍-查看更多.psd View File


BIN
src/assets/images/icon9 (1)/._2登录页.psd View File


BIN
src/assets/images/icon9 (1)/._2登录页_1.psd View File


BIN
src/assets/images/icon9 (1)/._3免密码登录.psd View File


BIN
src/assets/images/icon9 (1)/._3免密码登录_1.psd View File


BIN
src/assets/images/icon9 (1)/._3名医介绍-查看更多 .psd View File


BIN
src/assets/images/icon9 (1)/._4名医介绍-医生详情.psd View File


BIN
src/assets/images/icon9 (1)/._4忘记密码.psd View File


BIN
src/assets/images/icon9 (1)/._4忘记密码_1.psd View File


BIN
src/assets/images/icon9 (1)/._5新闻动态.psd View File


BIN
src/assets/images/icon9 (1)/._5注册.psd View File


BIN
src/assets/images/icon9 (1)/._5注册_1.psd View File


BIN
src/assets/images/icon9 (1)/._6新闻详情.psd View File


BIN
src/assets/images/icon9 (1)/._6注册-机构信息.psd View File


BIN
src/assets/images/icon9 (1)/._6注册-机构信息_1.psd View File


BIN
src/assets/images/icon9 (1)/._6活动动态.psd View File


BIN
src/assets/images/icon9 (1)/._7拨打客服.psd View File


BIN
src/assets/images/icon9 (1)/._7拨打客服_1.psd View File


BIN
src/assets/images/icon9 (1)/._7活动详情.psd View File


BIN
src/assets/images/icon9 (1)/._8报名.psd View File


BIN
src/assets/images/icon9 (1)/._8首页-第一步.psd View File


BIN
src/assets/images/icon9 (1)/._8首页-第一步_1.psd View File


BIN
src/assets/images/icon9 (1)/._8首页-第三步.psd View File


BIN
src/assets/images/icon9 (1)/._8首页-第三步_1.psd View File


BIN
src/assets/images/icon9 (1)/._8首页-第二步.psd View File


BIN
src/assets/images/icon9 (1)/._8首页-第二步_1.psd View File


BIN
src/assets/images/icon9 (1)/._8首页.psd View File


BIN
src/assets/images/icon9 (1)/._8首页_1.psd View File


BIN
src/assets/images/icon9 (1)/._9下拉机构弹窗.psd View File


BIN
src/assets/images/icon9 (1)/._9下拉机构弹窗_1.psd View File


BIN
src/assets/images/icon9 (1)/._医嘱.png View File


BIN
src/assets/images/icon9 (1)/._宣教.png View File


BIN
src/assets/images/icon9 (1)/._抢救.png View File


BIN
src/assets/images/icon9 (1)/._排班.png View File


BIN
src/assets/images/icon9 (1)/._检查.png View File


BIN
src/assets/images/icon9 (1)/._病程.png View File


BIN
src/assets/images/icon9 (1)/._耗材.png View File


BIN
src/assets/images/icon9 (1)/._血管通路.png View File


BIN
src/assets/images/icon9 (1)/._透析记录.png View File


BIN
src/assets/images/icon9 (1)/._长期.png View File


BIN
src/assets/images/logo.png View File


BIN
src/assets/images/one.jpg View File


BIN
src/assets/images/wave.png View File


+ 8 - 0
src/assets/style/base.scss View File

@@ -0,0 +1,8 @@
1
+// import reset.scss
2
+@import './common/reset.scss';
3
+
4
+// ===== 全局样式
5
+html,
6
+body {
7
+  height: 100%;
8
+}

+ 0 - 0
src/assets/style/common/mixin.scss View File


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