lhl 2 سال پیش
والد
کامیت
7aef62a303

+ 24 - 22
pages/applic/know.vue

@@ -5,17 +5,11 @@
 		</view>
 		<view class="list-box">
 			<view class="list-item">
-				<view class="list-tpl">
+				<view class="list-tpl paragraph">
 					很多有爱心的小伙伴在后台问小编:什么是造血干细胞造血干细胞能治疗什么病、联系哪进行登记捐献造血干细胞等等。本期细胞日志为大家普及一下,捐献造血干细胞的流程。让爱生根,让爱发芽。
 				</view>
 			</view>	
 		</view>
-		<!-- <view class="vediobg">
-			<video id="myVideo" src="http://xuebang.oss-cn-beijing.aliyuncs.com/edf7pyxpng4ns63sr1w3l443619vpvlh.mp4"
-			      @error="videoErrorCallback"  controls autoplay show-mute-btn>
-			</video>
-		</view> -->
-		
 		<view class="box-1">
 			伸出你我双手点燃生命希望
 		</view>
@@ -42,7 +36,7 @@
 			
 			<view class="list-box">
 				<view class="list-item">
-					<view class="list-tpl">
+					<view class="list-tpl paragraph">
 						入库年龄在18-45周岁,捐献年龄在18~55周岁,身体健康,符合无偿献血条件,可与所在地省级管理中心或红十字会联系。
 					</view>
 				</view>	
@@ -67,7 +61,7 @@
 			
 			<view class="list-box">
 				<view class="list-item">
-					<view class="list-tpl">
+					<view class="list-tpl paragraph">
 						可以直接到献血车上抽取约8毫升血液,进行HLA分型检验。
 					</view>
 				</view>	
@@ -83,7 +77,9 @@
 						<view class="title-1">
 							HLA低分辨分型
 						</view>
-						反映了HLA抗原水平的等位基因类型,用于骨髓、器官移植组织配型的初筛。
+						<view class="paragraph">
+							反映了HLA抗原水平的等位基因类型,用于骨髓、器官移植组织配型的初筛。
+						</view>
 					</view>
 				</view>	
 			</view>
@@ -103,7 +99,7 @@
 			
 			<view class="list-box">
 				<view class="list-item">
-					<view class="list-tpl">
+					<view class="list-tpl paragraph">
 						数据资料将在"静思期"过后,被录入中国造血干细胞捐献者资料库等待患者查询。
 					</view>
 				</view>	
@@ -125,7 +121,9 @@
 						<view class="title-1">
 							静思期?
 						</view>
-						抽取血样后,我们留给您一周时间。一周内如果您改变主意,请立即通知所在地省级管理中心或当地红十字会,终止HLA分型检测及数据录入,从而避免资源浪费及未来可能对患者造成的伤害。
+						<view class="paragraph">
+							抽取血样后,我们留给您一周时间。一周内如果您改变主意,请立即通知所在地省级管理中心或当地红十字会,终止HLA分型检测及数据录入,从而避免资源浪费及未来可能对患者造成的伤害。
+						</view>
 					</view>
 				</view>	
 			</view>
@@ -145,7 +143,7 @@
 			
 			<view class="list-box">
 				<view class="list-item">
-					<view class="list-tpl">
+					<view class="list-tpl paragraph">
 						如果一旦检索配型成功,在征得捐献者的同意后,将会对捐献者和患者的血样进行<text style="font-weight: 700;">HLA高分辨检测</text>。
 					</view>
 				</view>	
@@ -186,7 +184,7 @@
 			
 			<view class="list-box">
 				<view class="list-item">
-					<view class="list-tpl">
+					<view class="list-tpl paragraph">
 						完成体检并完成注射动员剂,每天打两针动员剂,上午一针,下午一针,一共打四天,第五天进行采集。
 					</view>
 				</view>	
@@ -231,7 +229,9 @@
 						<view class="title-1">
 							为什么要注射动员剂?
 						</view>
-							进行外周造血干细胞采集。在采集时,从一处静脉引出血,通过仪器把<text style="font-weight: 700;">造血干细胞提取出来</text>用于移植,不需要的成分再<text style="font-weight: 700;">"送"</text>回供者的体内。		
+						<view class="paragraph">
+							进行外周造血干细胞采集。在采集时,从一处静脉引出血,通过仪器把<text style="font-weight: 700;">造血干细胞提取出来</text>用于移植,不需要的成分再<text style="font-weight: 700;">"送"</text>回供者的体内。
+						</view>
 					</view>
 				</view>	
 			</view>
@@ -242,7 +242,7 @@
 			
 			<view class="list-box">
 				<view class="list-item">
-					<view class="list-tpl">
+					<view class="list-tpl paragraph">
 						注:移植前,尤其是签署捐献同意书后就不能改变捐献的决定,因为在这个时候,患者为准备移植已经进行了大剂量的放疗和化疗,丧失了造血能力,此期间若终止捐献,再临时寻找配型相合者已来不及,患者将有生命危险。
 					</view>
 				</view>	
@@ -263,7 +263,7 @@
 			
 			<view class="list-box">
 				<view class="list-item">
-					<view class="list-tpl">
+					<view class="list-tpl paragraph">
 						医护人员将造血干细胞输注患者体内完成移植手术。
 					</view>
 				</view>	
@@ -288,7 +288,7 @@
 			
 			<view class="list-box">
 				<view class="list-item">
-					<view class="list-tpl">
+					<view class="list-tpl paragraph">
 						在捐献后30天到半年之内,将会对捐献者的健康状况进行<text style="font-weight: 700;">跟踪随访</text>,还会为捐献者提供一年的相关保险。
 					</view>
 				</view>	
@@ -403,15 +403,13 @@
 				color: #222222;
 				font-size: 28rpx;
 				border-radius: 25rpx;
+				text-align: justify;
 				.title-1{
 					font-size: 32rpx;
 					text-align: center;
 					margin-bottom: 15rpx;
 				}
-				.paragraph{
-					margin-top: 2rpx;
-					text-indent:52rpx;
-				}
+				
 			}
 		}
 		video{
@@ -555,4 +553,8 @@
 			}
 		}
 	}
+	.paragraph{
+		margin-top: 2rpx;
+		// text-indent:52rpx;
+	}
 </style>

+ 11 - 0
pages/applic/science.vue

@@ -39,6 +39,7 @@
 				science:[],
 				page: 1,
 				limit: 10,
+				loadingType:'more'
 			}
 		},
 		onLoad() {
@@ -70,9 +71,19 @@
 			},
 			loadData(){
 				let obj = this;
+				if(obj.loadingType == 'noMore' || obj.loadingType == 'loading') {
+					return
+				}
+				obj.loadingType = 'loading'
 				getArticList({ifyid:65}).then(({ data }) => {
 					console.log(data,123456);
 					obj.science = obj.science.concat(data.list);
+					obj.page++
+					if(obj.limit == data.list.length) {
+						obj.loadingType = 'more'
+					}else {
+						obj.loadingType = 'noMore'
+					}
 					console.log(obj.science,'999999999999999999')
 				});
 			},

+ 20 - 36
pages/applic/toknowledge.vue

@@ -4,7 +4,7 @@
 		<view class="list-box">
 			<view class="list-item">
 				<view class="list-title flex_item">
-					<image src="../../static/icon/icon2.png"></image>
+					<image src="../../static/icon/zxkp1.png"></image>
 					<view class="name">捐献造血干细胞的意义</view>
 				</view>
 				<view class="list-tpl">
@@ -13,7 +13,7 @@
 			</view>
 			<view class="list-item">
 				<view class="list-title flex_item">
-					<image src="../../static/icon/icon2.png"></image>
+					<image src="../../static/icon/zxkp1.png"></image>
 					<view class="name">从外周血中采集造血干细胞</view>
 				</view>
 				<view class="list-tpl">
@@ -22,7 +22,7 @@
 			</view>
 			<view class="list-item">
 				<view class="list-title flex_item">
-					<image src="../../static/icon/icon2.png"></image>
+					<image src="../../static/icon/zxkp1.png"></image>
 					<view class="name">采集造血干细胞有没有危险?</view>
 				</view>
 				<view class="list-tpl">
@@ -31,7 +31,7 @@
 			</view>
 			<view class="list-item">
 				<view class="list-title flex_item">
-					<image src="../../static/icon/icon2.png"></image>
+					<image src="../../static/icon/zxkp1.png"></image>
 					<view class="name">捐献造血干细胞影响身体健康吗?</view>
 				</view>
 				<view class="list-tpl">
@@ -40,16 +40,16 @@
 			</view>
 			<view class="list-item">
 				<view class="list-title flex_item">
-					<image src="../../static/icon/icon2.png"></image>
+					<image src="../../static/icon/zxkp1.png"></image>
 					<view class="name">怎样成为造血干细胞志愿捐献者??</view>
 				</view>
 				<view class="list-tpl">
-					您可与咸宁市红十字会联系报名。到指定地点抽取6-8毫升血液,经HLA分型检验,把相关资料录入到中华骨髓库的数据库中,这样您就成为造血干细胞志愿捐献者了。
+					您可与{{$store.state.baseName}}联系报名。到指定地点抽取6-8毫升血液,经HLA分型检验,把相关资料录入到中华骨髓库的数据库中,这样您就成为造血干细胞志愿捐献者了。
 				</view>
 			</view>
 			<view class="list-item">
 				<view class="list-title flex_item">
-					<image src="../../static/icon/icon2.png"></image>
+					<image src="../../static/icon/zxkp1.png"></image>
 					<view class="name">报名前有哪些特别需要注意的事项? </view>
 				</view>
 				<view class="list-tpl">
@@ -58,7 +58,7 @@
 			</view>
 			<view class="list-item">
 				<view class="list-title flex_item">
-					<image src="../../static/icon/icon2.png"></image>
+					<image src="../../static/icon/zxkp1.png"></image>
 					<view class="name">填写“造血干细胞志愿捐献者同意书”注意什么? </view>
 				</view>
 				<view class="list-tpl">
@@ -67,7 +67,7 @@
 			</view>
 			<view class="list-item">
 				<view class="list-title flex_item">
-					<image src="../../static/icon/icon2.png"></image>
+					<image src="../../static/icon/zxkp1.png"></image>
 					<view class="name">健康者在多大年龄适合捐献造血干细胞? </view>
 				</view>
 				<view class="list-tpl">
@@ -76,7 +76,7 @@
 			</view>
 			<view class="list-item">
 				<view class="list-title flex_item">
-					<image src="../../static/icon/icon2.png"></image>
+					<image src="../../static/icon/zxkp1.png"></image>
 					<view class="name">什么时候能够捐献? </view>
 				</view>
 				<view class="list-tpl">
@@ -85,7 +85,7 @@
 			</view>
 			<view class="list-item">
 				<view class="list-title flex_item">
-					<image src="../../static/icon/icon2.png"></image>
+					<image src="../../static/icon/zxkp1.png"></image>
 					<view class="name">捐献者需要承担费用吗?有报酬吗? </view>
 				</view>
 				<view class="list-tpl">
@@ -95,31 +95,12 @@
 			<view class="list-tips">
 				<text style="color: #C53335;">温馨提示</text>:每个志愿者抽取一次血样即可,您的资料将储存在中国造血干细胞捐献者资料库中。
 			</view>
-			<!-- <view class="list-tips">
-				<text style="color: #C53335; text-align: center;" >江夏区造血干细胞捐献咨询电话:</text>
-			</view> -->
-			<view class="list-tips" style="color: #C53335;text-align: center;">
-				咸宁市造血干细胞捐献咨询电话:
+			<view class="list-tips" style="color: #C53335;text-align: center;text-indent: 0;">
+				{{$store.state.baseName}}造血干细胞捐献咨询电话:
 			</view>
-			<view class="list-tips" style="text-align: center;">
-				0715-8111765
+			<view class="list-tips" style="text-align: center;text-indent: 0;">
+				{{$store.state.zxphone}}
 			</view>
-			<!-- <view class="list01">
-				具体入库办法:
-			</view> -->
-		<!-- 	<view class="list-info">
-				一、直接到余姚市红十字会(余姚市兰江街道新西门路219-1号)报名登记、抽取血样,每个工作日均可(8:30-16:00);
-			</view>
-			<view class="list-info">
-				二、到余姚市桐江桥献血屋或者献血车上参加无偿献血,一并参加报名登记、留取血样;
-			</view>
-			<view class="list-info">
-				三、每年“五·八”世界红十字日前后,市红十字会会在市中心开展包括造血干细胞捐献在内的系列活动,届时可前往报名抽样。请留意新闻媒体的报道。
-			</view>
-			<view class="phone">
-				余姚市红十字会报名咨询电话:62619095
-			</view> -->
-				<!-- <jyf-parser :html="description" ref="article"></jyf-parser> -->
 		</view>
 	</view>
 </template>
@@ -180,9 +161,10 @@ page {
 		font-size: 34rpx;
 		display: flex;
 		image{
-			width: 56rpx;
-			height: 44rpx;
+			width: 60rpx;
+			height: 60rpx;
 			margin-right: 15rpx;
+			flex-shrink: 0;
 		}
 	}
 	.list-tpl{
@@ -193,6 +175,8 @@ page {
 		color: #222222;
 		font-size: 28rpx;
 		border-radius: 25rpx;
+		text-align: justify;
+		// text-indent:2em;
 	}
 }
 .list-tips{

+ 2 - 2
pages/form/certificates.vue

@@ -180,8 +180,8 @@
 
 				context.setFontSize(31 * obj.ratio)
 
-				context.fillText('您已完成咸宁市红十字会普及培训', 105 * obj.ratio, 670 * obj.ratio)
-				context.fillText('的全部课程,特发此证。', 105 * obj.ratio, 720 * obj.ratio)
+				context.fillText('您已完成咸宁市红十字会普及培训', 160* obj.ratio, 670 * obj.ratio)
+				context.fillText('全部课程,特发此证。', 97 * obj.ratio, 720 * obj.ratio)
 				context.setFontSize(22 * obj.ratio)
 				context.fillText('签发人:', 300 * obj.ratio, 800 * obj.ratio)
 				context.fillText('Siger:', 300 * obj.ratio, 830 * obj.ratio)

+ 74 - 53
pages/index/index.vue

@@ -11,60 +11,69 @@
 		<!-- 分类 -->
 		<view class="cate-section flex">
 			<view class="cate-item flex" @click="aixin">
-				<view class="img-wrapper flex">
+				<!-- <view class="img-wrapper flex">
 					<image src="../../static/index/index10.png" mode="" class="img"></image>
 				</view>
-				<view class="item-title">爱心捐款</view>
+				<view class="item-title">爱心捐款</view> -->
+				<image src="../../static/index/in1.png" mode=""></image>
 			</view>
-			<view class="cate-item flex" @click="tocontribution">
-				<view class="img-wrapper flex">
+			<view class="cate-item flex" @click="navTo('https://register.codac.org.cn/wx/html/notice.htm')">
+				<!-- <view class="img-wrapper flex">
 					<image src="../../static/index/index04.png" mode="" class="img" style="width: 110rpx;"></image>
 				</view>
-				<view class="item-title">遗体器官捐献</view>
+				<view class="item-title">遗体器官捐献</view> -->
+				<image src="../../static/index/in2.png" mode=""></image>
 			</view>
 			<view class="cate-item flex" @click="toapplic">
-				<view class="img-wrapper flex">
+				<!-- <view class="img-wrapper flex">
 					<image src="../../static/index/index03.png" mode="" class="img"></image>
 				</view>
-				<view class="item-title">造血干细胞捐献</view>
+				<view class="item-title">造血干细胞捐献</view> -->
+				<image src="../../static/index/in3.png" mode=""></image>
 			</view>
-			<view class="cate-item flex" @click="toOrgan">
-				<view class="img-wrapper flex">
+			<view class="cate-item flex" @click="navTo('http://www.hszzyz.cn/index.php/index/index')">
+				<!-- <view class="img-wrapper flex">
 					<image src="../../static/index/index02.png" mode="" class="img"></image>
 				</view>
-				<view class="item-title">红十字志愿者</view>
+				<view class="item-title">红十字志愿者</view> -->
+				<image src="../../static/index/in4.png" mode=""></image>
 			</view>
 			<view class="cate-item flex" @click="navTo('/pages/train/index')">
-				<view class="img-wrapper flex">
+				<!-- <view class="img-wrapper flex">
 					<image src="../../static/index/index01.png" mode="" class="img"></image>
 				</view>
-				<view class="item-title">培训报名</view>
+				<view class="item-title">培训报名</view> -->
+				<image src="../../static/index/in5.png" mode=""></image>
 			</view>
-			<view class="cate-item flex" @click="tohelpActi1">
-				<view class="img-wrapper flex">
+			<view class="cate-item flex" @click="navTo('http://www.hszzyz.cn/index.php/index/index')">
+				<!-- <view class="img-wrapper flex">
 					<image src="../../static/index/index07.png" mode="" class="img"></image>
 				</view>
-				<view class="item-title">红十字会员</view>
+				<view class="item-title">红十字会员</view> -->
+				<image src="../../static/index/in6.png" mode=""></image>
 			</view>
 
 			<view class="cate-item flex" @click="tohelpActi2">
-				<view class="img-wrapper flex">
+				<!-- <view class="img-wrapper flex">
 					<image src="../../static/index/index09.png" mode="" class="img"></image>
 				</view>
-				<view class="item-title">救在身边系统</view>
+				<view class="item-title">救在身边系统</view> -->
+				<image src="../../static/index/in7.png" mode=""></image>
 			</view>
 
 			<view class="cate-item flex" @click="tohelpActi3">
-				<view class="img-wrapper flex">
+				<!-- <view class="img-wrapper flex">
 					<image src="../../static/index/index08.png" mode="" class="img"></image>
 				</view>
-				<view class="item-title">AED智能系统</view>
+				<view class="item-title">AED智能系统</view> -->
+				<image src="../../static/index/in8.png" mode=""></image>
 			</view>
 			<view class="cate-item flex" @click="navTo('/pages/applic/aid')">
-				<view class="img-wrapper flex">
+				<!-- <view class="img-wrapper flex">
 					<image src="../../static/index/index06.png" mode="" class="img"></image>
 				</view>
-				<view class="item-title">救护站智能系统</view>
+				<view class="item-title">救护站智能系统</view> -->
+				<image src="../../static/index/in9.png" mode=""></image>
 			</view>
 
 		<!-- 	 <view class="cate-item flex" @click="tohelpActi4">
@@ -77,7 +86,8 @@
 			</view> 
 			</view> -->
 			<view class="redkp flex" @click="navTo('/pages/applic/science')">
-				<image src="../../static/index/index05.png" mode="" class="redkp-img"></image>
+				<image src="../../static/index/in10.png" mode=""></image>
+				<!-- <image src="../../static/index/index05.png" mode="" class="redkp-img"></image>
 				<view class="redkp-center">
 					<view class="">
 						红会科普
@@ -86,7 +96,7 @@
 						一起学习救援知识
 					</view>
 				</view>
-				<image src="../../static/icon/goto.png" mode="" class="goto"></image>
+				<image src="../../static/icon/goto.png" mode="" class="goto"></image> -->
 			</view>
 		</view>
 	</view>
@@ -630,9 +640,15 @@
 				this.$refs.popup.close();
 			},
 			navTo(url) {
-				uni.navigateTo({
-					url
-				});
+				if(url.indexOf('http') != -1) {
+					//https://register.codac.org.cn/wx/html/notice.htm
+					window.location.href = url
+				}else {
+					uni.navigateTo({
+						url
+					});
+				}
+				
 			},
 			space(lat1, lng1, lat2, lng2) {
 				console.log(lat1, lng1, lat2, lng2);
@@ -801,37 +817,40 @@
 				align-items: center;
 				justify-content: center;
 				margin-bottom: 20rpx;
+				image {
+					width: 227rpx;
+					height: 192rpx;
+				}
+				// .img-wrapper {
+				// 	width: 90rpx;
+				// 	height: 90rpx;
+				// 	background: #eef4ff;
+				// 	border-radius: 14rpx;
+				// 	position: relative;
 
-				.img-wrapper {
-					width: 90rpx;
-					height: 90rpx;
-					background: #eef4ff;
-					border-radius: 14rpx;
-					position: relative;
-
-					image {
-						position: absolute;
-						left: 50%;
-						top: 50%;
-						transform: translate(-50%, -50%);
-					}
+				// 	image {
+				// 		position: absolute;
+				// 		left: 50%;
+				// 		top: 50%;
+				// 		transform: translate(-50%, -50%);
+				// 	}
 
-					.img {
-						width: 90rpx;
-						height: 90rpx;
-					}
+				// 	.img {
+				// 		width: 90rpx;
+				// 		height: 90rpx;
+				// 	}
 
 
 
-				}
+				// }
 
-				.item-title {
-					margin-top: 15rpx;
-					font-size: 28rpx;
-					font-family: PingFang SC;
-					font-weight: bold;
-					color: #333333;
-				}
+				// .item-title {
+				// 	margin-top: 15rpx;
+				// 	font-size: 28rpx;
+				// 	font-family: PingFang SC;
+				// 	font-weight: bold;
+				// 	color: #333333;
+				// }
 			}
 		}
 
@@ -1331,9 +1350,11 @@
 		box-shadow: 0 0 20rpx 0 rgba(50, 50, 52, 0.06);
 		border-radius: 25rpx;
 		margin: auto;
-		padding: 25rpx 45rpx;
 		align-items: center;
-
+		image {
+			width: 706rpx;
+			height: 158rpx;
+		}
 		.redkp-img {
 			width: 70rpx;
 			height: 89rpx;

+ 13 - 4
pages/train/index.vue

@@ -27,7 +27,7 @@
 										结束时间:{{ item.reg_end }}
 									</view>
 								</view>
-								<view class="flex">
+								<view class="flex" v-if="item.title != '救护员培训'">
 									<view class="list-info" style="width: 50%;">
 										<image src="../../static/img/people.png" mode=""></image>
 										<view class="list-font">
@@ -81,6 +81,9 @@ export default {
 		this.loadData();
 	},
 	methods: {
+		nactt() {
+			// @click="navTo('http://www.crcntc.org.cn/spring/wx/user/main/outLogin?userId=2c91ebf16f0c3201016f0dc5cebc23a3')"
+		},
 		//获取订单列表
 		loadData(type) {
 			let obj = this;
@@ -121,9 +124,15 @@ export default {
 				})
 				return
 			}
-			uni.navigateTo({
-				url: '/pages/train/sign?id=' + id
-			});
+			// if(e.)
+			if(e.title == '救护员培训') {
+				window.location.href = 'http://www.crcntc.org.cn/spring/wx/user/main/outLogin?userId=2c91ebf16f0c3201016f0dc5cebc23a3'
+			}else {
+				uni.navigateTo({
+					url: '/pages/train/sign?id=' + id
+				});
+			}
+			
 		}
 	}
 };

+ 9 - 3
pages/train/sign.vue

@@ -66,6 +66,12 @@ export default {
 		}
 		this.loadData();
 	},
+	onBackPress(e){
+		uni.switchTab({
+			url: '/pages/index/index'
+		});
+		return true;  
+	},
 	onReady() {},
 	computed: {
 		...mapState('user', ['hasLogin', 'userInfo']),
@@ -113,12 +119,12 @@ export default {
 					console.log(data.type);
 					let type = data.type;
 					uni.setStorageSync('type', type);
-					obj.$api.msg(e.msg);
+					obj.$api.msg('提交成功,请等待审核',2000);
 					setTimeout(function() {
 						uni.navigateTo({
 							url: '/pages/train/index'
 						});
-					}, 1000);
+					}, 2000);
 				})
 				.catch(e => {
 					obj.$api.msg(e.message);
@@ -126,7 +132,7 @@ export default {
 						uni.navigateTo({
 							url: '/pages/train/index'
 						});
-					}, 1000);
+					}, 2000);
 				});
 		},
 		getRecTime(timestamp, fmt) {

BIN
static/icon/zxkp1.png


BIN
static/index/in1.png


BIN
static/index/in10.png


BIN
static/index/in2.png


BIN
static/index/in3.png


BIN
static/index/in4.png


BIN
static/index/in5.png


BIN
static/index/in6.png


BIN
static/index/in7.png


BIN
static/index/in8.png


BIN
static/index/in9.png


+ 2 - 1
store/index.js

@@ -26,7 +26,8 @@ const store = new Vuex.Store({
 		sys_appid: 'xns2022324',//系统AppID
 		sys_appsecret: '2022324xns',//系统AppSecret
 		baseName: '咸宁市红十字会',
-		shareDesc: '弘扬红十字精神,传播红十字观念,宣传红十字工作,这是一个汇聚爱心、救助之家力量的平台!'
+		shareDesc: '弘扬红十字精神,传播红十字观念,宣传红十字工作,这是一个汇聚爱心、救助之家力量的平台!',
+		zxphone: '0715-8111765'
 	},
 	mutations: {