소스 검색

提交成功样式修改

luolei 4 년 전
부모
커밋
0205ecc778
4개의 변경된 파일29개의 추가작업 그리고 22개의 파일을 삭제
  1. 4 4
      config/index.js
  2. 11 5
      package-lock.json
  3. 14 13
      src/common/Submit.vue
  4. BIN
      src/images/complete.png

+ 4 - 4
config/index.js

@@ -4,8 +4,8 @@
 
 const path = require('path')
 //const proxy_path = 'http://192.168.2.121:5050';
-// const proxy_path = 'http://192.168.2.236:5050';
-const proxy_path = 'http://127.0.0.1:5050';
+const proxy_path = 'http://192.168.2.236:5050';
+// const proxy_path = 'http://127.0.0.1:5050';
 // const proxy_path = 'http://223.93.170.82:23650';
 // const proxy_path = 'http://223.93.170.82:24182';
 
@@ -24,8 +24,8 @@ module.exports = {
 
     // Various Dev Server settings
     port: 8083, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
-    // host: '192.168.0.101',
-    host: '127.0.0.1',
+    host: '192.168.3.106',
+    // host: '127.0.0.1',
     autoOpenBrowser: true,
     errorOverlay: true,
     notifyOnErrors: true,

+ 11 - 5
package-lock.json

@@ -306,7 +306,8 @@
     "assert-plus": {
       "version": "1.0.0",
       "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
-      "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
+      "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
+      "optional": true
     },
     "assign-symbols": {
       "version": "1.0.0",
@@ -2106,6 +2107,7 @@
       "version": "1.0.8",
       "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
       "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
+      "optional": true,
       "requires": {
         "delayed-stream": "~1.0.0"
       }
@@ -3431,7 +3433,8 @@
     "delayed-stream": {
       "version": "1.0.0",
       "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
-      "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
+      "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=",
+      "optional": true
     },
     "depd": {
       "version": "1.1.2",
@@ -4169,7 +4172,8 @@
     "extsprintf": {
       "version": "1.3.0",
       "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
-      "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU="
+      "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=",
+      "optional": true
     },
     "fast-deep-equal": {
       "version": "2.0.1",
@@ -5887,7 +5891,8 @@
     "jsbn": {
       "version": "0.1.1",
       "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
-      "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM="
+      "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=",
+      "optional": true
     },
     "json-loader": {
       "version": "0.5.7",
@@ -11046,7 +11051,8 @@
     "tweetnacl": {
       "version": "0.14.5",
       "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
-      "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="
+      "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=",
+      "optional": true
     },
     "type": {
       "version": "1.0.1",

+ 14 - 13
src/common/Submit.vue

@@ -12,7 +12,7 @@
         >
         <p class="success">{{msg}}</p>
         <p class="tip">{{tip}}</p>
-        <span @click="goStart">完 成</span>
+        <span @click="goStart">重新填写</span>
       </div>
       <div
         v-if="showType=='fail'"
@@ -38,7 +38,7 @@ export default {
   data() {
     return {
       msg: '提交成功',
-      tip: '您的病历信息已提交至医生问诊系统,点击完成按钮结束本次预问诊服务。'
+      tip: '病历已提交给医生,可点击左上角“X”退出问诊'
     }
   },
   methods: {
@@ -109,22 +109,23 @@ export default {
     margin-bottom: 0.5rem;
   }
   span {
-    width: 4.9rem;
+    width: 2.9rem;
     height: 0.88rem;
     line-height: 0.88rem;
     font-size: 0.32rem;
-    color: #ffffff;
+    color: #colors[btn];
     font-weight: bold;
     display: inline-block;
-    background: -webkit-gradient(
-      linear,
-      right top,
-      left top,
-      from(#4f8bff),
-      to(#4f4fff)
-    );
-    background: #colors[btn];
-    border-radius: 0.2rem;
+    border: 1px solid #colors[btn];
+    // background: -webkit-gradient(
+    //   linear,
+    //   right top,
+    //   left top,
+    //   from(#4f8bff),
+    //   to(#4f4fff)
+    // );
+    // background: #colors[btn];
+    border-radius: 0.44rem;
   }
 }
 .submitFail {

BIN
src/images/complete.png