小程序优化和样式改版的发版

This commit is contained in:
Teng 2025-10-17 15:49:27 +08:00
parent 8eff2a01f5
commit 52748cc0fd
12 changed files with 13 additions and 13 deletions

View File

@ -72,7 +72,7 @@
align-items: center;
flex-direction: column;
position: relative;
background-color: rgb(239, 239, 239);
background-color: rgb(239, 241, 252);
.font-title {
margin-top: 0rpx;

View File

@ -168,7 +168,7 @@
align-items: center;
flex-direction: column;
position: relative;
background-color: rgb(239, 239, 239);
background-color: rgb(239, 241, 252);
.font-title {
margin-top: 0rpx;

View File

@ -60,7 +60,7 @@
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: #F7F7F7;
background-color: background-color: rgb(239, 241, 252);
justify-content: center;
align-items: center;

View File

@ -76,7 +76,7 @@
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: #F7F7F7;
background-color: background-color: rgb(239, 241, 252);
justify-content: center;
align-items: center;

View File

@ -68,7 +68,7 @@
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: #F7F7F7;
background-color: rgb(239, 241, 252)
justify-content: center;
align-items: center;

View File

@ -1,6 +1,6 @@
// 全局请求封装
export const base_url = 'http://192.168.2.26:8081/opeapi'
// export const base_url = 'https://www.focusnu.com/opeapi'
// export const base_url = 'http://192.168.2.26:8081/opeapi'
export const base_url = 'https://www.focusnu.com/opeapi'
// 请求超出时间
const timeout = 5000

View File

@ -1 +1 @@
{"version":3,"file":"successpush.js","sources":["pages/addstaff/successpush.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvYWRkc3RhZmYvc3VjY2Vzc3B1c2gudnVl"],"sourcesContent":["<template>\r\n\t<view class=\"font-father\">\r\n\r\n\t\t<view class=\"fixed\">\r\n\t\t\t<!-- <image v-if=\"!uni.getStorageSync('isstaffchange')\" class=\"title-photo\"\r\n\t\t\t\t:src=\"`https://www.focusnu.com/media/directive/index/blue111.png`\" /> -->\r\n\t\t\t<image class=\"title-photo\" style=\"width: 200rpx;height: 200rpx;\"\r\n\t\t\t\t:src=\"`https://www.focusnu.com/media/directive/index/jumpImge/yuangongruzhu.png`\" />\r\n\r\n\t\t\t<view style=\"font-size: 35rpx;font-weight: 600;margin: 30rpx 0;\">\r\n\t\t\t\t{{ uni.getStorageSync('isstaffchange') ? '变更信息已提交' : '提交成功' }}\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"small-title\">\r\n\t\t\t\t{{ uni.getStorageSync('isstaffchange') ? '尊敬的用户,您好!您的个人信息已提交' : '尊敬的用户,您的员工入驻申请已提交成功' }}\r\n\r\n\t\t\t</view>\r\n\t\t\t<view class=\"normal\">\r\n\t\t\t\t<text>\r\n\t\t\t\t\t{{ uni.getStorageSync('isstaffchange')?`请等待机构审核`:`欢迎加入护理单元大家庭` }}\r\n\t\t\t\t\t\r\n\t\t\t\t</text>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"bottom-button\" @click=\"jumpto\">\r\n\t\t\t我的机构\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script setup>\r\n\timport {\r\n\t\tonLoad\r\n\t} from '@dcloudio/uni-app'\r\n\timport {\r\n\t\treactive,\r\n\t\tref\r\n\t} from 'vue';\r\n\timport {\r\n\t\tgetMessage\r\n\t} from '@/api/loginApi.js'\r\n\tconst special = ref(false);\r\n\r\n\tconst jumpto = () => {\r\n\t\tgetMessage(uni.getStorageSync(\"openid\")).then(res => {\r\n\t\t\tuni.setStorageSync('tel', res.result.tel);\r\n\t\t\tuni.setStorageSync('token', res.result.token);\r\n\t\t\tuni.setStorageSync('serverUrl', res.result.serverUrl);\r\n\t\t\tuni.setStorageSync('platId', res.result.platId);\r\n\t\t\tuni.setStorageSync('izJg', res.result.izJg);\r\n\t\t\tuni.setStorageSync('izJs', res.result.izJs);\r\n\t\t\tuni.setStorageSync('izYg', res.result.izYg);\r\n\t\t\tuni.reLaunch({\r\n\t\t\t\turl: `/pages/yuangongindex/index`\r\n\t\t\t});\r\n\t\t})\r\n\r\n\t}\r\n\r\n\r\n\tonLoad(() => {\r\n\r\n\t})\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.font-father {\r\n\t\twidth: 100%;\r\n\t\tmin-height: 100vh;\r\n\t\tpadding: 0 30rpx;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tflex-direction: column;\r\n\t\tposition: relative;\r\n\t\tbackground-color: rgb(239, 239, 239);\r\n\r\n\t\t.font-title {\r\n\t\t\tmargin-top: 0rpx;\r\n\t\t\tmargin-bottom: 30rpx;\r\n\t\t\tfont-weight: 600;\r\n\t\t\tfont-size: 30rpx;\r\n\t\t\tdisplay: flex;\r\n\t\t\tflex-direction: column;\r\n\t\t\tfont-size: 80rpx;\r\n\t\t}\r\n\r\n\t\t.bottom-button {\r\n\t\t\tposition: absolute;\r\n\t\t\tleft: 50%;\r\n\t\t\ttransform: translateX(-50%);\r\n\t\t\tbottom: 0rpx;\r\n\t\t\tmargin-top: 80rpx;\r\n\t\t\tmargin-bottom: 90rpx;\r\n\t\t\twidth: 80%;\r\n\t\t\theight: 90rpx;\r\n\t\t\tborder-radius: 35rpx;\r\n\t\t\tbackground: linear-gradient(to bottom, #e7f4ff, #c5e5ff);\r\n\t\t\tborder: 2rpx solid #9AD1FF;\r\n\t\t\tcolor: #007CFF;\r\n\t\t\tfont-size: 33rpx;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t\tz-index: 3;\r\n\t\t}\r\n\t}\r\n\r\n\t.title-img {\r\n\t\tposition: absolute;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\twidth: 100%;\r\n\t\theight: 100vh;\r\n\t\tz-index: -1;\r\n\t}\r\n\r\n\t.fixed {\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\twidth: 100%;\r\n\t\tz-index: 2;\r\n\t\tpadding: 0 70rpx;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\talign-items: center;\r\n\t}\r\n\r\n\t.small-title {\r\n\t\tmargin-bottom: 10rpx;\r\n\t\tfont-size: 28rpx;\r\n\t}\r\n\r\n\t.normal {\r\n\t\tpadding: 0 70rpx;\r\n\t\tfont-size: 28rpx;\r\n\t\tmargin-bottom: 20rpx;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tline-height: 50rpx;\r\n\t\ttext-align: center\r\n\t}\r\n\r\n\t.title-photo {\r\n\t\tmargin-top: 500rpx;\r\n\t\twidth: 120rpx;\r\n\t\theight: 120rpx;\r\n\t\tz-index: 1;\r\n\t}\r\n</style>","import MiniProgramPage from 'D:/hldy_xcx/pages/addstaff/successpush.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","getMessage","uni","onLoad"],"mappings":";;;;;;AAyCiBA,kBAAAA,IAAI,KAAK;AAEzB,UAAM,SAAS,MAAM;AACpBC,mBAAU,WAACC,cAAG,MAAC,eAAe,QAAQ,CAAC,EAAE,KAAK,SAAO;AACpDA,sBAAG,MAAC,eAAe,OAAO,IAAI,OAAO,GAAG;AACxCA,sBAAG,MAAC,eAAe,SAAS,IAAI,OAAO,KAAK;AAC5CA,sBAAG,MAAC,eAAe,aAAa,IAAI,OAAO,SAAS;AACpDA,sBAAG,MAAC,eAAe,UAAU,IAAI,OAAO,MAAM;AAC9CA,sBAAG,MAAC,eAAe,QAAQ,IAAI,OAAO,IAAI;AAC1CA,sBAAG,MAAC,eAAe,QAAQ,IAAI,OAAO,IAAI;AAC1CA,sBAAG,MAAC,eAAe,QAAQ,IAAI,OAAO,IAAI;AAC1CA,sBAAAA,MAAI,SAAS;AAAA,UACZ,KAAK;AAAA,QACT,CAAI;AAAA,MACJ,CAAG;AAAA,IAED;AAGDC,kBAAAA,OAAO,MAAM;AAAA,IAEd,CAAE;;;;;;;;;;;;;AC7DF,GAAG,WAAW,eAAe;"}
{"version":3,"file":"successpush.js","sources":["pages/addstaff/successpush.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvYWRkc3RhZmYvc3VjY2Vzc3B1c2gudnVl"],"sourcesContent":["<template>\r\n\t<view class=\"font-father\">\r\n\r\n\t\t<view class=\"fixed\">\r\n\t\t\t<!-- <image v-if=\"!uni.getStorageSync('isstaffchange')\" class=\"title-photo\"\r\n\t\t\t\t:src=\"`https://www.focusnu.com/media/directive/index/blue111.png`\" /> -->\r\n\t\t\t<image class=\"title-photo\" style=\"width: 200rpx;height: 200rpx;\"\r\n\t\t\t\t:src=\"`https://www.focusnu.com/media/directive/index/jumpImge/yuangongruzhu.png`\" />\r\n\r\n\t\t\t<view style=\"font-size: 35rpx;font-weight: 600;margin: 30rpx 0;\">\r\n\t\t\t\t{{ uni.getStorageSync('isstaffchange') ? '变更信息已提交' : '提交成功' }}\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"small-title\">\r\n\t\t\t\t{{ uni.getStorageSync('isstaffchange') ? '尊敬的用户,您好!您的个人信息已提交' : '尊敬的用户,您的员工入驻申请已提交成功' }}\r\n\r\n\t\t\t</view>\r\n\t\t\t<view class=\"normal\">\r\n\t\t\t\t<text>\r\n\t\t\t\t\t{{ uni.getStorageSync('isstaffchange')?`请等待机构审核`:`欢迎加入护理单元大家庭` }}\r\n\t\t\t\t\t\r\n\t\t\t\t</text>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"bottom-button\" @click=\"jumpto\">\r\n\t\t\t我的机构\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script setup>\r\n\timport {\r\n\t\tonLoad\r\n\t} from '@dcloudio/uni-app'\r\n\timport {\r\n\t\treactive,\r\n\t\tref\r\n\t} from 'vue';\r\n\timport {\r\n\t\tgetMessage\r\n\t} from '@/api/loginApi.js'\r\n\tconst special = ref(false);\r\n\r\n\tconst jumpto = () => {\r\n\t\tgetMessage(uni.getStorageSync(\"openid\")).then(res => {\r\n\t\t\tuni.setStorageSync('tel', res.result.tel);\r\n\t\t\tuni.setStorageSync('token', res.result.token);\r\n\t\t\tuni.setStorageSync('serverUrl', res.result.serverUrl);\r\n\t\t\tuni.setStorageSync('platId', res.result.platId);\r\n\t\t\tuni.setStorageSync('izJg', res.result.izJg);\r\n\t\t\tuni.setStorageSync('izJs', res.result.izJs);\r\n\t\t\tuni.setStorageSync('izYg', res.result.izYg);\r\n\t\t\tuni.reLaunch({\r\n\t\t\t\turl: `/pages/yuangongindex/index`\r\n\t\t\t});\r\n\t\t})\r\n\r\n\t}\r\n\r\n\r\n\tonLoad(() => {\r\n\r\n\t})\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.font-father {\r\n\t\twidth: 100%;\r\n\t\tmin-height: 100vh;\r\n\t\tpadding: 0 30rpx;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tflex-direction: column;\r\n\t\tposition: relative;\r\n\t\tbackground-color: rgb(239, 241, 252);\r\n\r\n\t\t.font-title {\r\n\t\t\tmargin-top: 0rpx;\r\n\t\t\tmargin-bottom: 30rpx;\r\n\t\t\tfont-weight: 600;\r\n\t\t\tfont-size: 30rpx;\r\n\t\t\tdisplay: flex;\r\n\t\t\tflex-direction: column;\r\n\t\t\tfont-size: 80rpx;\r\n\t\t}\r\n\r\n\t\t.bottom-button {\r\n\t\t\tposition: absolute;\r\n\t\t\tleft: 50%;\r\n\t\t\ttransform: translateX(-50%);\r\n\t\t\tbottom: 0rpx;\r\n\t\t\tmargin-top: 80rpx;\r\n\t\t\tmargin-bottom: 90rpx;\r\n\t\t\twidth: 80%;\r\n\t\t\theight: 90rpx;\r\n\t\t\tborder-radius: 35rpx;\r\n\t\t\tbackground: linear-gradient(to bottom, #e7f4ff, #c5e5ff);\r\n\t\t\tborder: 2rpx solid #9AD1FF;\r\n\t\t\tcolor: #007CFF;\r\n\t\t\tfont-size: 33rpx;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t\tz-index: 3;\r\n\t\t}\r\n\t}\r\n\r\n\t.title-img {\r\n\t\tposition: absolute;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\twidth: 100%;\r\n\t\theight: 100vh;\r\n\t\tz-index: -1;\r\n\t}\r\n\r\n\t.fixed {\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\twidth: 100%;\r\n\t\tz-index: 2;\r\n\t\tpadding: 0 70rpx;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\talign-items: center;\r\n\t}\r\n\r\n\t.small-title {\r\n\t\tmargin-bottom: 10rpx;\r\n\t\tfont-size: 28rpx;\r\n\t}\r\n\r\n\t.normal {\r\n\t\tpadding: 0 70rpx;\r\n\t\tfont-size: 28rpx;\r\n\t\tmargin-bottom: 20rpx;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tline-height: 50rpx;\r\n\t\ttext-align: center\r\n\t}\r\n\r\n\t.title-photo {\r\n\t\tmargin-top: 500rpx;\r\n\t\twidth: 120rpx;\r\n\t\theight: 120rpx;\r\n\t\tz-index: 1;\r\n\t}\r\n</style>","import MiniProgramPage from 'D:/hldy_xcx/pages/addstaff/successpush.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","getMessage","uni","onLoad"],"mappings":";;;;;;AAyCiBA,kBAAAA,IAAI,KAAK;AAEzB,UAAM,SAAS,MAAM;AACpBC,mBAAU,WAACC,cAAG,MAAC,eAAe,QAAQ,CAAC,EAAE,KAAK,SAAO;AACpDA,sBAAG,MAAC,eAAe,OAAO,IAAI,OAAO,GAAG;AACxCA,sBAAG,MAAC,eAAe,SAAS,IAAI,OAAO,KAAK;AAC5CA,sBAAG,MAAC,eAAe,aAAa,IAAI,OAAO,SAAS;AACpDA,sBAAG,MAAC,eAAe,UAAU,IAAI,OAAO,MAAM;AAC9CA,sBAAG,MAAC,eAAe,QAAQ,IAAI,OAAO,IAAI;AAC1CA,sBAAG,MAAC,eAAe,QAAQ,IAAI,OAAO,IAAI;AAC1CA,sBAAG,MAAC,eAAe,QAAQ,IAAI,OAAO,IAAI;AAC1CA,sBAAAA,MAAI,SAAS;AAAA,UACZ,KAAK;AAAA,QACT,CAAI;AAAA,MACJ,CAAG;AAAA,IAED;AAGDC,kBAAAA,OAAO,MAAM;AAAA,IAEd,CAAE;;;;;;;;;;;;;AC7DF,GAAG,WAAW,eAAe;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -31,7 +31,7 @@
align-items: center;
flex-direction: column;
position: relative;
background-color: #efefef;
background-color: #eff1fc;
}
.font-father .font-title.data-v-4d0b1daa {
margin-top: 0rpx;

View File

@ -31,7 +31,7 @@
align-items: center;
flex-direction: column;
position: relative;
background-color: #efefef;
background-color: #eff1fc;
}
.font-father .font-title.data-v-186dd127 {
margin-top: 0rpx;

View File

@ -1,6 +1,6 @@
"use strict";
const common_vendor = require("../common/vendor.js");
const base_url = "http://192.168.2.26:8081/opeapi";
const base_url = "https://www.focusnu.com/opeapi";
const timeout = 5e3;
const request = (params) => {
let url = params.url;