Jelajahi Sumber

feat: 修改表单提醒

zhaofeiyue 2 tahun lalu
induk
melakukan
8e0682310b
4 mengubah file dengan 12 tambahan dan 32 penghapusan
  1. 8 8
      env.js
  2. 0 20
      index.html
  3. 1 1
      manifest.json
  4. 3 3
      pages/addPatient/index.vue

+ 8 - 8
env.js

@@ -1,12 +1,12 @@
 
-// const env = {
-// 	BASE_ENV: 'production',
-// 	BASE_API: 'https://screen.bolineyecare.com'
-// }
-
-const env = { 
-	BASE_ENV: 'development',
-	BASE_API: 'https://tstscreen.bolineyecare.com'
+const env = {
+	BASE_ENV: 'production',
+	BASE_API: 'https://screen.bolineyecare.com'
 }
 
+// const env = { 
+// 	BASE_ENV: 'development',
+// 	BASE_API: 'https://tstscreen.bolineyecare.com'
+// }
+
 export default env

+ 0 - 20
index.html

@@ -1,20 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <script>
-      var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
-        CSS.supports('top: constant(a)'))
-      document.write(
-        '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
-        (coverSupport ? ', viewport-fit=cover' : '') + '" />')
-    </script>
-    <title></title>
-    <!--preload-links-->
-    <!--app-context-->
-  </head>
-  <body>
-    <div id="app"><!--app-html--></div>
-    <script type="module" src="/main.js"></script>
-  </body>
-</html>

+ 1 - 1
manifest.json

@@ -1,7 +1,7 @@
 {
     "name" : "bolinscreening",
     "appid" : "__UNI__DCBE383",
-    "description" : "",
+    "description" : "青少年视觉管家",
     "versionName" : "1.0.0",
     "versionCode" : "100",
     "transformPx" : false,

+ 3 - 3
pages/addPatient/index.vue

@@ -2,11 +2,11 @@
 	<div class="container">
 		<div class="cell-item">
 			<div class="cell-label"><span>*</span>姓名</div>
-			<input class="cell-input" type="text" :value="form.name" @input="inputMobile">
+			<input class="cell-input" type="text" :value="form.name" placeholder="请输入姓名" @input="inputMobile">
 		</div>
 		<div class="cell-item">
-			<div class="cell-label"><span>*</span>身份证号</div>
-			<input class="cell-input" type="idcard" :maxlength="18" :value="form.id_card" @input="inputIdCard">
+			<div class="cell-label"><span>*</span>身份证号/学籍号/唯一ID</div>
+			<input class="cell-input" type="idcard" :maxlength="18" :value="form.id_card" placeholder="请输入身份证号或学籍号或唯一ID" @input="inputIdCard">
 		</div>
 		<div class="submit" @click="onSubmit">立即绑定</div>
 	</div>