| 
					
				 | 
			
			
				@@ -12,6 +12,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				radius="0" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				indicator 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				circular 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				@click="bannerClick" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			></u-swiper> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<!-- 占位 banner --> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -64,7 +65,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						<image class="img" :src="item.showImg||staticUrl+'/img/newsdetails-banner.png'"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						<view class="text"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							<view class="name u-line-1">{{item.title}}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							<view class="con u-line-1">{{item.centent}}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<view class="con u-line-1" v-html="item.centent"></view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							<view class="time u-flex u-row-between"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								<view class="left">{{$u.timeFormat(item.onlineTime, 'yyyy-mm-dd')}}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								<image class="icon" :src="staticUrl+'/img/arrow-right-ico.png'" ></image> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -125,7 +126,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				posterShow:false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				posterStyle:{}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				posterSrc:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				templateIdList:[],//微信小程序订阅消息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			} 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -147,8 +148,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			// console.log('navHeight',this.navHeight); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			// console.log('vuex_member_info=======',this.vuex_member_info); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			this.getClientIndex(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			this.getTemplateIdList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		onReady() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -289,63 +288,16 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					type:'news' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			getTemplateIdList(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				this.$u.api.templateIdList().then(res=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					console.log('res',res.data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					if(this.templateIdList.length>0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						this.templateEven(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}).catch(err=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					console.log('getTemplateIdList',err); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			// 订阅消息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			templateEven(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				let that = this 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				wx.showModal({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					  title: '温馨提示', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					  content: '为更好的促进与您的交流,服务号需要实时向您发送消息', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					  confirmText:"同意", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					  cancelText:"拒绝", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					  success: function (res) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						  if (res.confirm) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							 //调用订阅消息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							  console.log('用户点击确定'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							  //调用订阅 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							  that.setTemplate(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						  } else if (res.cancel) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							  console.log('用户点击取消'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							  ///显示第二个弹说明一下 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							  wx.showModal({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								title: '温馨提示', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								content: '拒绝后您将无法获取实时的消息', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								confirmText:"知道了", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								showCancel:false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								success: function (res) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								  ///点击知道了的后续操作  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								  ///如跳转首页面  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				  }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			// 设置小程序订阅消息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			setTemplate() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// console.log('templateIdList',this.templateIdList); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				wx.requestSubscribeMessage({   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					tmplIds: this.templateIdList,   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					success (res) {   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						console.log("success:",res);   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					},   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					fail (res) {   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						console.log("fail:",res);   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					},   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					complete (res) {   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						console.log("complete:",res);   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					}   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				})   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			bannerClick(e){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				let item = this.bannerList[e]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				// console.log('bannerClick',this.bannerList[e]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				uni.$u.route('/pages/newsdetails', { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					id: item.id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					type:'swiperDetail' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </script> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -422,7 +374,8 @@ $pagegap:32rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		position: relative; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		border-radius: 30rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		overflow: hidden; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		background: radial-gradient(circle at -26rpx 230rpx, transparent 10%, #fff 4%) left, radial-gradient(circle at calc( 100% + 26rpx ) 232rpx, transparent 10%, #fff 4%) right; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		// background: radial-gradient(circle at -26rpx 230rpx, transparent 10%, #fff 4%) left, radial-gradient(circle at calc( 100% + 26rpx ) 232rpx, transparent 10%, #fff 4%) right; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		background-color: #fff; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		background-size: 50% 100%; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		background-repeat: no-repeat; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		.img{ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -432,15 +385,16 @@ $pagegap:32rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		.text{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			position: relative; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			&:before{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				content: ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				width: calc( 100% - 32rpx ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				height: 1px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				position: absolute; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				left: 20rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				top: -2rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				border-top: 4rpx dashed #931E0C; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			// &:before{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			// 	content: ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			// 	// width: calc( 100% - 32rpx ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			// 	width: 100%; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			// 	height: 1px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			// 	position: absolute; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			// 	left: 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			// 	top: -2rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			// 	border-top: 4rpx dashed #931E0C; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			// } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			padding: 32rpx 30rpx; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			.name{ 
			 |