Browse Source

功能调整

yin_yu820 8 hours ago
parent
commit
bf7da9e4e5

+ 2 - 2
jp-console/jeeplus-module/ly/src/main/java/com/jeeplus/enterpriseelectricity/controller/EnterpriseElectricityController.java

@@ -82,7 +82,7 @@ public class EnterpriseElectricityController {
 	public  ResponseEntity <String> save(@Valid @RequestBody EnterpriseElectricityDTO enterpriseElectricityDTO) {
 	public  ResponseEntity <String> save(@Valid @RequestBody EnterpriseElectricityDTO enterpriseElectricityDTO) {
 		//新增或编辑表单保存
 		//新增或编辑表单保存
 		enterpriseElectricityService.saveOrUpdate (enterpriseElectricityWrapper.toEntity (enterpriseElectricityDTO));
 		enterpriseElectricityService.saveOrUpdate (enterpriseElectricityWrapper.toEntity (enterpriseElectricityDTO));
-        return ResponseEntity.ok ( "保存企业电费成功" );
+        return ResponseEntity.ok ( "保存成功" );
 	}
 	}
 
 
 
 
@@ -96,7 +96,7 @@ public class EnterpriseElectricityController {
 	public ResponseEntity <String> delete(String ids) {
 	public ResponseEntity <String> delete(String ids) {
 		String idArray[] = ids.split(",");
 		String idArray[] = ids.split(",");
         enterpriseElectricityService.removeByIds ( Lists.newArrayList ( idArray ) );
         enterpriseElectricityService.removeByIds ( Lists.newArrayList ( idArray ) );
-		return ResponseEntity.ok( "删除企业电费成功" );
+		return ResponseEntity.ok( "删除成功" );
 	}
 	}
 
 
 	/**
 	/**

+ 1 - 1
jp-mobile/manifest.json

@@ -1,7 +1,7 @@
 {
 {
     "name" : "huidu",
     "name" : "huidu",
     "appid" : "__UNI__09A1C76",
     "appid" : "__UNI__09A1C76",
-    "description" : "’都企供需‘线上平台",
+    "description" : "大走访+都企供需线上平台",
     "versionName" : "huidu mobile 1.0",
     "versionName" : "huidu mobile 1.0",
     "versionCode" : 1,
     "versionCode" : 1,
     "transformPx" : false,
     "transformPx" : false,

+ 1 - 1
jp-mobile/pages.json

@@ -514,7 +514,7 @@
 				"ly-tree-node": "/components/ly-tree/ly-tree-node"
 				"ly-tree-node": "/components/ly-tree/ly-tree-node"
 			},
 			},
 		"navigationBarBackgroundColor": "#0081ff",
 		"navigationBarBackgroundColor": "#0081ff",
-		"navigationBarTitleText": "‘都企供需’线上平台",
+		"navigationBarTitleText": "大走访+都企供需线上平台",
 		"navigationStyle": "custom",
 		"navigationStyle": "custom",
 		"navigationBarTextStyle": "white"
 		"navigationBarTextStyle": "white"
 	},
 	},

+ 1 - 1
jp-mobile/pages/buildList/buildList.vue

@@ -349,7 +349,7 @@
 				}else if(query && query.w=='4'){
 				}else if(query && query.w=='4'){
 					this.md = "4";
 					this.md = "4";
 					this.searchForm.des11="1";
 					this.searchForm.des11="1";
-					//this.searchForm.totalNumber="";					
+					this.searchForm.totalNumber="";					
 					this.isshowMoreFilters=false;
 					this.isshowMoreFilters=false;
 					this.title="双50强企业";
 					this.title="双50强企业";
 				}	
 				}	

+ 1 - 1
jp-mobile/pages/comEdit/comEdit.vue

@@ -459,7 +459,7 @@
 			          }
 			          }
 			          //分享数据,这段主要是为了在hash模式下分享出去的链接不被浏览器截取,保证完全把链接分享出去(link的链接可以自己拼,无须与当前页面的后缀参数之类的内容完全一致)
 			          //分享数据,这段主要是为了在hash模式下分享出去的链接不被浏览器截取,保证完全把链接分享出去(link的链接可以自己拼,无须与当前页面的后缀参数之类的内容完全一致)
 			          let shareData = {
 			          let shareData = {
-			            title: '‘都企供需’线上平台',
+			            title: '大走访+都企供需线上平台',
 			            desc: '点击直接登录',
 			            desc: '点击直接登录',
 			            imgUrl: 'https://miniapp.huidutech.com.cn/yd_qycpfbH5/static/img/titlebg.jpg',
 			            imgUrl: 'https://miniapp.huidutech.com.cn/yd_qycpfbH5/static/img/titlebg.jpg',
 			            link: 'https://miniapp.huidutech.com.cn/yd_qycpfbH5/#/pages/index/index?loginid='+data.Id + "&t=" + data.timestamp + "&Content=1", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致																		
 			            link: 'https://miniapp.huidutech.com.cn/yd_qycpfbH5/#/pages/index/index?loginid='+data.Id + "&t=" + data.timestamp + "&Content=1", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致																		

+ 1 - 1
jp-mobile/pages/comInfo/comInfo.vue

@@ -415,7 +415,7 @@
 			          }
 			          }
 			          //分享数据,这段主要是为了在hash模式下分享出去的链接不被浏览器截取,保证完全把链接分享出去(link的链接可以自己拼,无须与当前页面的后缀参数之类的内容完全一致)
 			          //分享数据,这段主要是为了在hash模式下分享出去的链接不被浏览器截取,保证完全把链接分享出去(link的链接可以自己拼,无须与当前页面的后缀参数之类的内容完全一致)
 			          let shareData = {
 			          let shareData = {
-			            title: '‘都企供需’线上平台',
+			            title: '大走访+都企供需线上平台',
 			            desc: '点击直接登录',
 			            desc: '点击直接登录',
 			            imgUrl: 'https://miniapp.huidutech.com.cn/yd_qycpfbH5/static/img/titlebg.jpg',
 			            imgUrl: 'https://miniapp.huidutech.com.cn/yd_qycpfbH5/static/img/titlebg.jpg',
 			            link: 'https://miniapp.huidutech.com.cn/yd_qycpfbH5/#/pages/index/index?loginid='+data.Id + "&t=" + data.timestamp + "&Content=1", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致																		
 			            link: 'https://miniapp.huidutech.com.cn/yd_qycpfbH5/#/pages/index/index?loginid='+data.Id + "&t=" + data.timestamp + "&Content=1", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致																		

+ 65 - 11
jp-mobile/pages/index/Dzfindex.vue

@@ -1,14 +1,14 @@
 <template name="apps">
 <template name="apps">
 	<view>
 	<view>
 
 
-		<!-- <swiper class="swiper" circular :indicator-dots="true" :autoplay="true" :interval="3000" :duration="800">
-			<swiper-item>
-				<image src="../../static/img/titlebg.jpg" class="swiper-item"></image>
-			</swiper-item>
-			<swiper-item>
-				<image src="../../static/img/titlebg.jpg" class="swiper-item"></image>
-			</swiper-item>			
-		</swiper> -->
+		<view :class="['custom-header', { 'is-back': isBack }, bgColor]">
+			<view class="back-container" @click="handleBack">
+			  <view class="back-text">返回</view>
+			</view>
+			<view class="content-container">
+			  <view class="content-text">企业大走访</view>
+			</view>
+		  </view>
 		
 		
 		<swiper class="swiper" circular :indicator-dots="true" :autoplay="true" :interval="3000" :duration="800">
 		<swiper class="swiper" circular :indicator-dots="true" :autoplay="true" :interval="3000" :duration="800">
 		  <swiper-item v-for="(item, index) in picture" :key="index">
 		  <swiper-item v-for="(item, index) in picture" :key="index">
@@ -16,7 +16,7 @@
 		  </swiper-item>
 		  </swiper-item>
 		</swiper>
 		</swiper>
 
 
-		<view >
+		<!-- <view >
 			<view class="btn-box-1-1 mart-t">
 			<view class="btn-box-1-1 mart-t">
 				涉企政策集锦
 				涉企政策集锦
 			</view>
 			</view>
@@ -30,10 +30,10 @@
 			  </swiper-item>
 			  </swiper-item>
 			</swiper>
 			</swiper>
 			
 			
-		</view>
+		</view> -->
 				
 				
 
 
-		<view class="line-box">
+		<view class="line-box" style="margin-top: 80rpx;">
 			
 			
 			
 			
 			<view class="center-box">
 			<view class="center-box">
@@ -111,6 +111,10 @@
 		},
 		},
 		data() {
 		data() {
 			return {
 			return {
+				isBack: true, // 是否显示返回按钮
+				backText: '返回', // 返回按钮的文本
+				bgColor: 'bg-blue', // 背景颜色
+				
 				isLogin:"",
 				isLogin:"",
 				roleIds:'',
 				roleIds:'',
 				pageInfo: {},
 				pageInfo: {},
@@ -452,6 +456,11 @@
 					this.modalName = null
 					this.modalName = null
 				}
 				}
 				this.listTouchDirection = null
 				this.listTouchDirection = null
+			},
+			handleBack() {
+			      // 返回逻辑,比如跳转至上一页
+				  this.$router.go(-1);
+			      console.log('返回按钮被点击');
 			}
 			}
 		}
 		}
 	}
 	}
@@ -902,4 +911,49 @@
 		width: 100rpx;
 		width: 100rpx;
 		height: 100rpx;
 		height: 100rpx;
 	}
 	}
+	
+	/* 返回 */
+	.item-img {
+		width: 160rpx;
+		height: 160rpx;
+	}
+	
+	.custom-header {
+	  display: flex;
+	  align-items: center;
+	  justify-content: center;
+	  padding: 10px;
+	  width: 100%;
+	}
+	
+	.is-back {
+	  position: relative;
+	}
+	
+	.back-container {
+	  position: absolute;
+	  left: 10px;
+	  cursor: pointer;
+	}
+	
+	.back-text {
+	  color: white; /* 返回按钮文本颜色 */
+	}
+	.back-text {
+	  color: white; /* 返回按钮文本颜色 */
+	}
+	.content-container {
+	  flex: 1;
+	  text-align: center;
+	}
+	
+	.content-text {
+	  color: white; /* 标题文本颜色 */
+	  font-weight: bold;
+	}
+	
+	/* 背景颜色 */
+	.bg-blue {
+	  background-color: #4285f4; /* 假设这是一个蓝色背景 */
+	}
 </style>
 </style>

+ 1 - 1
jp-mobile/pages/index/Tabindex.vue

@@ -104,7 +104,7 @@
 					industry:"",
 					industry:"",
 					name:"",
 					name:"",
 				},
 				},
-				picture:["https://miniapp.huidutech.com.cn/yd_qycpfbH5/workBenchBannar.jpg",
+				picture:[
 				"https://miniapp.huidutech.com.cn/yd_qycpfbH5/bg1.jpg",
 				"https://miniapp.huidutech.com.cn/yd_qycpfbH5/bg1.jpg",
 				"https://miniapp.huidutech.com.cn/yd_qycpfbH5/bg2.jpg",
 				"https://miniapp.huidutech.com.cn/yd_qycpfbH5/bg2.jpg",
 				"https://miniapp.huidutech.com.cn/yd_qycpfbH5/bg3.jpg",
 				"https://miniapp.huidutech.com.cn/yd_qycpfbH5/bg3.jpg",

+ 63 - 8
jp-mobile/pages/index/index.vue

@@ -1,14 +1,15 @@
 <template name="apps">
 <template name="apps">
 	<view>
 	<view>
 
 
-		<!-- <swiper class="swiper" circular :indicator-dots="true" :autoplay="true" :interval="3000" :duration="800">
-			<swiper-item>
-				<image src="../../static/img/titlebg.jpg" class="swiper-item"></image>
-			</swiper-item>
-			<swiper-item>
-				<image src="../../static/img/titlebg.jpg" class="swiper-item"></image>
-			</swiper-item>			
-		</swiper> -->
+		
+		<view :class="['custom-header', { 'is-back': isBack }, bgColor]">
+			<view class="back-container" @click="handleBack">
+			  <view class="back-text">返回</view>
+			</view>
+			<view class="content-container">
+			  <view class="content-text">都企供需</view>
+			</view>
+		  </view>
 		
 		
 		<swiper class="swiper" circular :indicator-dots="true" :autoplay="true" :interval="3000" :duration="800">
 		<swiper class="swiper" circular :indicator-dots="true" :autoplay="true" :interval="3000" :duration="800">
 		  <swiper-item v-for="(item, index) in picture" :key="index">
 		  <swiper-item v-for="(item, index) in picture" :key="index">
@@ -258,6 +259,10 @@
 		},
 		},
 		data() {
 		data() {
 			return {
 			return {
+				isBack: true, // 是否显示返回按钮
+				backText: '返回', // 返回按钮的文本
+				bgColor: 'bg-blue', // 背景颜色
+				
 				isLogin:"",
 				isLogin:"",
 				pageInfo: {},
 				pageInfo: {},
 				loginid:"",
 				loginid:"",
@@ -629,6 +634,11 @@
 					this.modalName = null
 					this.modalName = null
 				}
 				}
 				this.listTouchDirection = null
 				this.listTouchDirection = null
+			},
+			handleBack() {
+			      // 返回逻辑,比如跳转至上一页
+				  this.$router.go(-1);
+			      console.log('返回按钮被点击');
 			}
 			}
 		}
 		}
 	}
 	}
@@ -1008,4 +1018,49 @@
 	  bottom: 20px; /* 距离底部的距离 */
 	  bottom: 20px; /* 距离底部的距离 */
 	  right: 20px; /* 距离右侧的距离 */
 	  right: 20px; /* 距离右侧的距离 */
 	}
 	}
+	
+	/* 返回 */
+	.item-img {
+		width: 160rpx;
+		height: 160rpx;
+	}
+	
+	.custom-header {
+	  display: flex;
+	  align-items: center;
+	  justify-content: center;
+	  padding: 10px;
+	  width: 100%;
+	}
+	
+	.is-back {
+	  position: relative;
+	}
+	
+	.back-container {
+	  position: absolute;
+	  left: 10px;
+	  cursor: pointer;
+	}
+	
+	.back-text {
+	  color: white; /* 返回按钮文本颜色 */
+	}
+	.back-text {
+	  color: white; /* 返回按钮文本颜色 */
+	}
+	.content-container {
+	  flex: 1;
+	  text-align: center;
+	}
+	
+	.content-text {
+	  color: white; /* 标题文本颜色 */
+	  font-weight: bold;
+	}
+	
+	/* 背景颜色 */
+	.bg-blue {
+	  background-color: #4285f4; /* 假设这是一个蓝色背景 */
+	}
 </style>
 </style>

+ 12 - 3
jp-mobile/pages/policy/policyInfo.vue

@@ -309,7 +309,7 @@
 			          }
 			          }
 			          //分享数据,这段主要是为了在hash模式下分享出去的链接不被浏览器截取,保证完全把链接分享出去(link的链接可以自己拼,无须与当前页面的后缀参数之类的内容完全一致)
 			          //分享数据,这段主要是为了在hash模式下分享出去的链接不被浏览器截取,保证完全把链接分享出去(link的链接可以自己拼,无须与当前页面的后缀参数之类的内容完全一致)
 			          let shareData = {
 			          let shareData = {
-			            title: '‘都企供需’线上平台',
+			            title: '大走访+都企供需线上平台',
 			            desc: '点击直接登录',
 			            desc: '点击直接登录',
 			            imgUrl: 'https://miniapp.huidutech.com.cn/yd_qycpfbH5/static/img/titlebg.jpg',
 			            imgUrl: 'https://miniapp.huidutech.com.cn/yd_qycpfbH5/static/img/titlebg.jpg',
 			            link: 'https://miniapp.huidutech.com.cn/yd_qycpfbH5/#/pages/index/index?loginid='+data.Id + "&t=" + data.timestamp + "&Content=1", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致																		
 			            link: 'https://miniapp.huidutech.com.cn/yd_qycpfbH5/#/pages/index/index?loginid='+data.Id + "&t=" + data.timestamp + "&Content=1", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致																		
@@ -363,8 +363,17 @@
 				}
 				}
 				
 				
 				//替换图片样式
 				//替换图片样式
-				data.des6=data.des6.replace(/\<img/gi, '<img style="max-width:100%;height:auto" ')
-				data.des4=data.des4.replace(/\<img/gi, '<img style="max-width:100%;height:auto" ')
+				if(data.des6!=undefined){
+					data.des6=data.des6.replace(/\<img/gi, '<img style="max-width:100%;height:auto" ')
+				}else{
+					data.des6="";
+				}
+				
+				if(data.des4!=undefined){
+					data.des4=data.des4.replace(/\<img/gi, '<img style="max-width:100%;height:auto" ')
+				}
+				console.log(data.des4)
+				
 				this.inputForm = this.recover(this.inputForm, data)
 				this.inputForm = this.recover(this.inputForm, data)
 				
 				
 				
 				

+ 14 - 3
jp-mobile/pages/policy/policyList.vue

@@ -55,6 +55,17 @@
 						<view class="item-title-L">
 						<view class="item-title-L">
 							
 							
 							<view class="item-title">
 							<view class="item-title">
+								
+								<span v-if="item.des2 === '1'">【工业】</span>
+								<span v-else-if="item.des2 === '2'">【科技】</span>
+								<span v-else-if="item.des2 === '3'">【发改】</span>
+								<span v-else-if="item.des2 === '4'">【商务】</span>
+								<span v-else-if="item.des2 === '5'">【人才政策】</span>
+								
+								<span v-if="item.des3 === '1'">【国家】</span>
+								<span v-else-if="item.des3 === '2'">【省级】</span>
+								<span v-else-if="item.des3 === '3'">【市级】</span>
+								<span v-else-if="item.des3 === '4'">【区级】</span>
 								{{item.des1}}
 								{{item.des1}}
 							</view>
 							</view>
 
 
@@ -87,7 +98,6 @@
 			
 			
 			
 			
 			this.isLogin=this.$auth.checkisLogin();
 			this.isLogin=this.$auth.checkisLogin();
-			console.log("是否登录:"+this.isLogin);
 		},
 		},
 		components: {
 		components: {
 			uniFab
 			uniFab
@@ -208,7 +218,6 @@
 			},
 			},
 			/*获取数据列表 */
 			/*获取数据列表 */
 			upCallback(page) {
 			upCallback(page) {
-				console.log("upCallback")
 				this.loading = true
 				this.loading = true
 				loginService.policyList({
 				loginService.policyList({
 					current: page.num,
 					current: page.num,
@@ -218,6 +227,9 @@
 				}).then(({
 				}).then(({
 					data
 					data
 				}) => {
 				}) => {
+					
+					
+					
 					let curPageData = data.records
 					let curPageData = data.records
 					this.mescroll.endBySize(curPageData.length, data.total);
 					this.mescroll.endBySize(curPageData.length, data.total);
 					//如果是第一页需手动制空列表
 					//如果是第一页需手动制空列表
@@ -276,7 +288,6 @@
 			handleBack() {
 			handleBack() {
 			      // 返回逻辑,比如跳转至上一页
 			      // 返回逻辑,比如跳转至上一页
 				  this.$router.go(-1);
 				  this.$router.go(-1);
-			      console.log('返回按钮被点击');
 			}
 			}
 		}
 		}
 	}
 	}

+ 1 - 1
jp-mobile/pages/product/productInfo.vue

@@ -337,7 +337,7 @@
 			          }
 			          }
 			          //分享数据,这段主要是为了在hash模式下分享出去的链接不被浏览器截取,保证完全把链接分享出去(link的链接可以自己拼,无须与当前页面的后缀参数之类的内容完全一致)
 			          //分享数据,这段主要是为了在hash模式下分享出去的链接不被浏览器截取,保证完全把链接分享出去(link的链接可以自己拼,无须与当前页面的后缀参数之类的内容完全一致)
 			          let shareData = {
 			          let shareData = {
-			            title: '‘都企供需’线上平台',
+			            title: '大走访+都企供需线上平台',
 			            desc: '点击直接登录',
 			            desc: '点击直接登录',
 			            imgUrl: 'https://miniapp.huidutech.com.cn/yd_qycpfbH5/static/img/titlebg.jpg',
 			            imgUrl: 'https://miniapp.huidutech.com.cn/yd_qycpfbH5/static/img/titlebg.jpg',
 			            link: 'https://miniapp.huidutech.com.cn/yd_qycpfbH5/#/pages/index/index?loginid='+data.Id + "&t=" + data.timestamp + "&Content=1", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致																		
 			            link: 'https://miniapp.huidutech.com.cn/yd_qycpfbH5/#/pages/index/index?loginid='+data.Id + "&t=" + data.timestamp + "&Content=1", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致