diff --git a/pages.json b/pages.json index 6801d3a..e67b836 100644 --- a/pages.json +++ b/pages.json @@ -21,7 +21,8 @@ { "path": "pages/login/threeselectone", "style": { - "navigationBarTitleText": "选择角色" + "navigationBarTitleText": "选择角色", + "navigationStyle": "custom" } }, @@ -429,6 +430,13 @@ { "navigationBarTitleText" : "" } + }, + { + "path" : "pages/oldmanindex/paybill", + "style" : + { + "navigationBarTitleText" : "" + } } ], "globalStyle": { diff --git a/pages/addjigou/all.vue b/pages/addjigou/all.vue index cbbf75e..333645e 100644 --- a/pages/addjigou/all.vue +++ b/pages/addjigou/all.vue @@ -136,19 +136,16 @@ 机构信息 - - - 头像 - - - - - - - + + + 负责人头像 + + + + {{item}} diff --git a/pages/addjigou/where.vue b/pages/addjigou/where.vue index f4bb63f..b357360 100644 --- a/pages/addjigou/where.vue +++ b/pages/addjigou/where.vue @@ -63,7 +63,7 @@ 机构信息 - + + + + 负责人头像(选填) + + + 机构位置 { if (element==2) { uni.previewImage({ - urls: [data.headPath], // 必填,所有要预览的图片地址数组 - current: data.headPath, // 可选,当前显示图片的地址,默认是 urls[0] + urls: [`${media_base_url}${form.headPath}`], // 必填,所有要预览的图片地址数组 + current: `${media_base_url}${form.headPath}`, // 可选,当前显示图片的地址,默认是 urls[0] indicator: 'default', // 可选,指示器样式,H5/App 有效,值为 'default'(圆点)或 'number'(数字) longPressActions: { // 可选,仅 App 支持,长按图片时弹出的操作项 itemList: ['保存图片到相册'], @@ -761,6 +771,7 @@ margin-left: 10rpx; font-size: 30rpx; width: 250rpx; + white-space: nowrap; } .one-right { diff --git a/pages/addstaff/IDcard.vue b/pages/addstaff/IDcard.vue index adc924a..f2d4f9a 100644 --- a/pages/addstaff/IDcard.vue +++ b/pages/addstaff/IDcard.vue @@ -85,10 +85,7 @@ 确认并继续 --> - - - 上一步 - + 下一步 @@ -725,14 +722,15 @@ display: flex; justify-content: center; align-items: center; - width: 44%; + width: 80%; height: 90rpx; - // margin: 0rpx auto; + margin: 0rpx auto; margin-bottom: 80rpx; + margin-top: 20rpx; background: linear-gradient(to bottom, #e7f4ff, #c5e5ff); border: 2rpx solid #9AD1FF; color: #007CFF; - border-radius: 37rpx; + border-radius: 35rpx; font-size: 33rpx; } diff --git a/pages/addstaff/healthcertificate.vue b/pages/addstaff/healthcertificate.vue index ee1b720..e992efe 100644 --- a/pages/addstaff/healthcertificate.vue +++ b/pages/addstaff/healthcertificate.vue @@ -333,7 +333,7 @@ data.healthFmPath = imgArray[1] data.qualificationPath = imgArray[2] data.noCrimeCertificate = imgArray[3] - data.headPath = imgArray[4] + data.headPath = data.headPath if (data.endTime == '长期') { data.endTime = swapLongTerm(data.endTime); } diff --git a/pages/addstaff/information.vue b/pages/addstaff/information.vue index 260a7ec..18c4d72 100644 --- a/pages/addstaff/information.vue +++ b/pages/addstaff/information.vue @@ -136,11 +136,15 @@ - + + + 上一步 + 下一步 + @@ -487,6 +491,7 @@ icon: 'none' }) } else { + form.headPath = headPath.value; const data = form const merged2 = { ...uni.getStorageSync('backhuancun'), @@ -499,12 +504,22 @@ }); } - - } const goBack = () => { + if (!uping.value) { + return + } + form.headPath = headPath.value; + const data = form + const merged2 = { + ...uni.getStorageSync('backhuancun'), + ...data + }; uni.navigateBack() } + // const goBack = () => { + // uni.navigateBack() + // } const sex = ref("") onLoad(() => { if (uni.getStorageSync('baddata')) { @@ -524,8 +539,8 @@ "currentAddress", 'auditContent', "applyStatus", - "modifyStatus" - + "modifyStatus", + "headPath" ] keys.forEach(key => { @@ -536,11 +551,11 @@ form.showheight = form.height + 'cm'; form.showweight = form.weight + 'kg'; sex.value = data.sex + headPath.value = data.headPath } else { uni.setStorageSync("isstaffchange", false) form.tel = uni.getStorageSync('tel') } - }) @@ -585,18 +600,27 @@ display: flex; justify-content: center; align-items: center; - width: 80%; + width: 44%; height: 90rpx; - margin: 0rpx auto; margin-bottom: 80rpx; - margin-top: 20rpx; background: linear-gradient(to bottom, #e7f4ff, #c5e5ff); border: 2rpx solid #9AD1FF; color: #007CFF; border-radius: 35rpx; font-size: 33rpx; } - + .back-button { + display: flex; + justify-content: center; + align-items: center; + width: 44%; + height: 90rpx; + margin-bottom: 80rpx; + border: 2rpx solid #c3cacd; + background: linear-gradient(to bottom, #f3f3f5, #dee4e9); + border-radius: 37rpx; + font-size: 33rpx; + } .title-back { background-color: #F7F7F7; width: 100%; diff --git a/pages/login/threeselectone.vue b/pages/login/threeselectone.vue index 482284a..a09c8f4 100644 --- a/pages/login/threeselectone.vue +++ b/pages/login/threeselectone.vue @@ -3,10 +3,10 @@