Browse Source

修改产品样式问题、跳转bug解决

linehang 6 years ago
parent
commit
27b7e4b542

+ 21 - 5
app/recover/css/new_recover.css

@ -1,3 +1,6 @@
body {
	font-family: "microsoft yahei";
}
#app {
	min-width: 1024px;
	height: 100%;
@ -20,20 +23,21 @@ p {margin-bottom: 0; margin-top: 0;}
.h30 {height: 30px; line-height: 30px}
.lh40 {line-height: 40px}
.cur-pit {cursor: pointer;}
.content {
	height: calc(100% - 41px);
}
.set-photo, .set-photo img {
	height: 45px;
	width: 45px;
	border-radius: 50%;
	margin: 0 auto;
}
.set-photo.imgw80, .set-photo.imgw80 img {
	width: 80px;
	height: 80px;
}
.w300 {width: 300px;}
.c-h100 {height: 100%;}
.c-h100-41 {height: calc(100% - 41px);}
.c-h100-99 {height: calc(100% - 99px);}
.c-h100-80 {height: calc(100% - 79px);}
.c-h100-79 {height: calc(100% - 79px);}
.w-100-66 {width: calc(100% - 66px);}
.w-100-78 {width: calc(100% - 78px);}
.w-100-300 {width: calc(100% - 301px);}
@ -86,7 +90,8 @@ ul {
.border-c12b7f5 {
	border-color: #12b7f5;
}
.bgc-green {background-color: #00bb00;}
.bgc-green {background-color: #4dcd70;}
.bgc-d7dce6 {background-color: #d7dce6;}
.b-r-3 {border-radius: 3px;}
.txt-ells {
	overflow: hidden;
@ -134,3 +139,14 @@ ul {
.doc_list li:hover {
	background-color: #e1e1e1;
}
.set-blue-span {
	top: 10px;
	left: 0px;
	width: 3px;
	height: 20px;
	background-color:#12b7f5;;
}
.set-right-arraw {
	background: url(../images/zhixiang_icon.png) no-repeat no-repeat right center;
	background-size: 14px 14px;
}

+ 1 - 0
app/recover/css/select-patient.css

@ -55,6 +55,7 @@
.cur-pit {cursor: pointer;}
.b-r-3 {border-radius: 3px;}
.disease-list li.active {
	color: #12b7f5;
	border: 1px solid #12b7f5;
	background: url(../images/jiaobiao_xuanzhe_img.png) no-repeat no-repeat bottom right;
}

+ 11 - 11
app/recover/html/new_recover.html

@ -11,14 +11,11 @@
	<body class="m0">
	<div id="app" v-cloak>
		<div class="c-position-a" style="top: -999px; left: -999px;" v-show="isTest"></div>
		<div class="re-title no-select">
			<div class="name">新增康复安排</div>
		</div>
		<div class="content clearfix">
		<div class="c-h100 clearfix">
	        <div class="fl c-h100 w300 person_info c-border-r" style="overflow: hidden;">
	        	<div v-if="!patiInfo" class="c-h100" style="overflow: auto;">
		        	<div  class="c-border-b c-t-center pt20">
		        		<div class="set-photo">
		        		<div class="set-photo imgw80">
		        			<img src="../../../images/p-female.png" alt="居民头像" />
		        		</div>
		        		<p class="ptb10">患者名</p>
@ -35,7 +32,7 @@
	        	</div>
	        	<div v-else class="c-h100 plr10" style="overflow: auto;">
	        		<div  class="c-t-center pt20 c-position-r">
		        		<div class="set-photo">
		        		<div class="set-photo imgw80">
		        			<img :src="setPatImg(patiInfo.photo)" alt="居民头像" />
		        		</div>
		        		<h3 class="ptb10 m0 c-f16">{{patiInfo.name}}</h3>
@ -68,7 +65,7 @@
	        </div>
	        <div class="fl c-h100 w-100-300">
	        	<div class="c-h100 plr5" v-if="!isPlan">
		        	<h4 class="m0 pl10 lh40 c-border-b">配置康复计划</h4>
		        	<h4 class="m0 pl15 lh40 c-border-b c-position-r"><span class="c-position-a set-blue-span"></span>配置康复计划</h4>
		        	<div style="overflow: hidden; height: calc(100% - 41px);">
		        		<div style="overflow: auto; height: 100%;">
				        	<div class="un-select c-t-center pt45" v-if="!patiInfo">
@ -84,8 +81,10 @@
		        </div>
		        <div class="clearfix c-h100" v-else>
		        	<div class="fl w-100-300 c-h100">
		        		<div class="plr5 c-h100-80">
		        			<h4 class="m0 pl10 lh40 c-border-b set-label">配置康复计划
		        		<div class="plr5 c-h100-79">
		        			<h4 class="m0 pl15 lh40 c-border-b set-label c-position-r">
		        				<em class="c-position-a set-blue-span"></em>
		        				配置康复计划
		        				<span v-for="(label, index) in spanLabel" :key="index" class="fr ml20 pl20 c-f14 c-999 cur-pit" :class="{'active': index == labelIndex}" @click="setLabelIndex(index, label)">{{label.labelName}}</span>
		        			</h4>
		        			<div class="c-h100-41" style="overflow: hidden;">
@ -121,7 +120,7 @@
		        						</div>
		        					</li>
		        					<li class="pt100 c-t-center" v-if="!templateDetail.length">
		        						请在右侧“服务项”列表中选择
		        						<span class="set-right-arraw pr20">请在右侧“服务项”列表中选择</span>
		        					</li>
		        				</ul>
		        			</div>
@ -130,7 +129,7 @@
	        				<p class="m0 p0 pl20 ptb10 c-border-b set-label">支付方式:<span class="ml10 pl20 active">按服务支付</span><em class="c-red ml20">(按选择支付方式完成收费)</em></p>
	        				<div class="pl20 lh40">总费用:
	        					<span class="c-red c-f16">¥{{allFee}}</span>
	        					<span class="fr lh30 cur-pit w80 c-t-center c-fff" :class="allFee ? 'bgc-12b7f5' : 'bgc-999'" @click="createRehabilitationPlan()">生成计划</span>
	        					<span class="fr lh30 cur-pit w80 c-t-center c-fff" :class="allFee ? 'bgc-12b7f5' : 'bgc-d7dce6'" @click="createRehabilitationPlan()">生成计划</span>
	        					<span class="fr lh30 cur-pit w80 c-t-center bgc-green c-fff" @click="canclePlan()">取消</span>
	        				</div>
	        			</div>
@ -502,6 +501,7 @@
                	},
                	canclePlan: function(obj) {
                		this.isPlan = false
                		this.allFee = 0
                	},
                	newPlan: function(disease, templateId) {
                		this.diseaseObj = disease

+ 1 - 1
app/recover/html/personal-manage.html

@ -219,7 +219,7 @@
                		this.isMobile = false
                	},
                	jumpPlan: function(plan) {
                		location.href = "../../rehabilitation/html/rehabilitation_management.html?planId=" + plan.id
                		location.href = "../../rehabilitation/html/rehabilitation_management.html?planId=" + plan.planId
                	},
					lookProject: function(obj) {
						layer.open({

+ 3 - 3
app/recover/html/select-patient.html

@ -30,7 +30,7 @@
			<ul class="label-list p0 m0" style="overflow: auto; height: 100%;" v-if="isLabel">
				<li v-for="(label, index) in labelList" :key="index">
					<h4 class="c-border-b m0 lh40 pl10 pr50 clearfix" @click="selectIndexFn(index, label)" :class="{'active':selectIndex == index}">{{label.labelName}}<span class="fr">{{label.count}}</span></h4>
					<ul class="pat-list p0 m0" v-if="selectIndex == index">
					<ul class="pat-list p0 m0 c-border-b" v-if="selectIndex == index">
						<li class="clearfix lh40 plr20 ptb10" v-for="(pati, ind) in patiList" @click="getPatientInfo(pati)">
							<div class="fl set-img">
								<img :src="setPatImg(pati.photo)" alt="居民头像" />
@ -47,8 +47,8 @@
						<img :src="setPatImg(patiInfo.photo)" alt="居民头像" />
					</div>
					<div class="fl ml10 set-txt c-999 clearfix">
						<p class="m0 lh22 clearfix"><span class="c-333 c-f16">{{patiInfo.patientName}}</span>&emsp;{{patiInfo.sex}}&emsp;{{patiInfo.age}}岁<strong class="fr mr20 c-333">出院医嘱:<span>0</span></strong></p>
						<p class="m0">身份证号: <span class="c-333">{{patiInfo.idcard}}</span></p>
						<div class="m0 lh22 clearfix"><span class="c-333 c-f16">{{patiInfo.patientName}}</span>&emsp;{{patiInfo.sex}}&emsp;{{patiInfo.age}}岁<p class="fr m0 p0 c-f14 mr20 c-333">出院医嘱:<span>0</span></p></div>
						<p class="m0">身份证号: <span class="c-333 c-f14">{{patiInfo.idcard}}</span></p>
					</div>
				</div>
				<div class="result plr20" style="overflow: hidden; height: calc(100% - 60px);">

BIN
app/recover/images/zhixiang_icon.png