Browse Source

fix: 修改首页标题样式

liweimin 2 years ago
parent
commit
98021d25bc

+ 3 - 3
antbuilder/industry/hospitalV2/components/index-head/indexHead.acss

@@ -4,10 +4,10 @@
   padding-right: 24rpx !important;
 }
 .hospital-new-component .nav-header .index-head-title {
-  width: 55%;
-  font-size: 36rpx;
+  width: 70%;
+  font-size: 30rpx;
   font-weight: bold;
-  text-align: center;
+  /* text-align: center; */
 }
 .hospital-new-component .index-head-container {
   position: relative;

+ 1 - 0
antbuilder/industry/hospitalV2/components/patient-detail-edit/index.js

@@ -74,6 +74,7 @@ Component({
 			history.push({
 				query: {
 					id: this.data.patient.id,
+          relationShip: this.data.patient.relationShip,
 				},
 				title: "修改手机号",
 				pageType: "patient-detail-phone",

+ 2 - 1
antbuilder/industry/hospitalV2/components/patient-detail-phone/index.js

@@ -19,7 +19,7 @@ Component({
 		async onSave() {
 			const {
 				query = {
-					id: "",
+					id: "", relationShip: "",
 				},
 			} = this.$page.data;
 			const phoneNumber = this.data.phone;
@@ -27,6 +27,7 @@ Component({
 			if (/^[1]([3-9])[0-9]{9}$/.test(phoneNumber)) {
 				patientUpdate({
 					id: query.id,
+          // relationShip: query.relationShip,
 					phoneNumber: await getEncryptStr(this.data.phone),
 				}).then(() => {
 					EventHub.dispatchEvent("onPatienDetailUpdate", true);