Browse Source

Merge remote-tracking branch 'origin/test' into dev

wanghui 8 years ago
parent
commit
d396ef3f6e

+ 25 - 25
src/main/java/com/goafanti/common/controller/PortalController.java

@@ -808,33 +808,33 @@ public class PortalController extends BaseController {
 		;
 
 		// 判断登录没登录. 登录了.查找用户喜欢的. 没登录就随机查四个.
-		boolean isLogin = TokenManager.isLogin();
-		List<DemandListBo> demandlist = demandService.selectDemandList(0);// 查询所有专利
-		List<DemandListBo> redemandlist = new ArrayList<DemandListBo>();
-
-		if (demandlist.size() >= 5) {
-			int idx = new Random().nextInt(demandlist.size() - 4);
-			redemandlist.add(demandlist.get(idx));
-			redemandlist.add(demandlist.get(idx + 1));
-			redemandlist.add(demandlist.get(idx + 2));
-			redemandlist.add(demandlist.get(idx + 3));
-		} else {
-			redemandlist.addAll(demandlist);
-		}
+				boolean isLogin = TokenManager.isLogin();
+				List<DemandListBo> demandlist = demandService.selectDemandList(0);// 查询所有专利
+				List<DemandListBo> redemandlist = new ArrayList<DemandListBo>();
+
+				if (demandlist.size() >= 5) {
+					int idx = new Random().nextInt(demandlist.size() - 4);
+					redemandlist.add(demandlist.get(idx));
+					redemandlist.add(demandlist.get(idx + 1));
+					redemandlist.add(demandlist.get(idx + 2));
+					redemandlist.add(demandlist.get(idx + 3));
+				} else {
+					redemandlist.addAll(demandlist);
+				}
 
-		if (isLogin) {
-			List<DemandListBo> customerlikelist = demandService.selectCsutomerLike();// 猜你喜欢专利
-			int size;
-			if (customerlikelist.size() < redemandlist.size()) {
-				size = customerlikelist.size();
-			} else {
-				size = redemandlist.size();
-			}
+				if (isLogin) {
+					List<DemandListBo> customerlikelist = demandService.selectCsutomerLike();// 猜你喜欢专利
+					int size;
+					if (customerlikelist.size() < redemandlist.size()) {
+						size = customerlikelist.size();
+					} else {
+						size = redemandlist.size();
+					}
 
-			for (int i = 0; i < size; i++) {
-				redemandlist.set(i, customerlikelist.get(i));
-			}
-		}
+					for (int i = 0; i < size; i++) {
+						redemandlist.set(i, customerlikelist.get(i));
+					}
+				}
 
 		for (int i = 0; i < redemandlist.size(); i++) {
 			Integer demandType = redemandlist.get(i).getDemandType();

+ 5 - 1
src/main/java/com/goafanti/common/controller/WebpageController.java

@@ -536,6 +536,10 @@ public class WebpageController extends BaseController {
 	public ModelAndView portalTechnologyTradingIndex(HttpServletRequest request, ModelAndView modelview) {
 		modelview.setViewName("/portal/technologyTrading/index");
 		handleBanners(modelview, BannersType.JI_SHU_JIAO_YI);
+		List<NewsPortalList> newsPortalList=newsService.portalNewsPolicy();		
+		modelview.addObject("newsPortalList", newsPortalList);
+		List<NewsPortalList> portalNewsQuestion=newsService.portalNewsQuestion();		
+		modelview.addObject("portalNewsQuestion", portalNewsQuestion);
 		return modelview;
 	}
 
@@ -602,7 +606,7 @@ public class WebpageController extends BaseController {
 	@RequestMapping(value="/portal/technologyTrading/assessMent")
 	public ModelAndView assessMent(HttpServletRequest request, ModelAndView modelview){
 		modelview.setViewName("/portal/technologyTrading/assessMent");
-		modelview.addObject("zcfg", newsService.findIndexNewsList(0, NewsType.JTDT.getCode(), 4));
+		modelview.addObject("zcfg", newsService.findIndexNewsList(0, NewsType.KJZX.getCode(), 4));
 		return modelview;
 	}
 	

+ 6 - 0
src/main/java/com/goafanti/common/dao/NewsMapper.java

@@ -31,4 +31,10 @@ public interface NewsMapper {
 	List<NewsSummary> findIndexNewsList(Map<String, Object> params);
 	
 	List<NewsSummary> findJmrhNewsList(Map<String, Object> params);
+	
+	List<NewsPortalList> portalNewsPolicy();
+	
+	List<NewsPortalList> portalNewsQuestion();
+	
+	List<NewsSummary> findIndexNewsLists(Map<String, Object> params);
 }

+ 1 - 1
src/main/java/com/goafanti/common/mapper/AchievementMapper.xml

@@ -1166,7 +1166,7 @@
   		a.field_b as fieldB,
   		a.transfer_price as transferPrice,
   		a.maturity,
-  		a.introduction,
+  		a.introduction,a.boutique,
   		a.transfer_mode as transferMode,
   		a.technical_picture_url as technicalPictureUrl,
   		b.name as fieldAs

+ 4 - 4
src/main/java/com/goafanti/common/mapper/DemandMapper.xml

@@ -863,14 +863,14 @@
   		d.picture_url as pictureUrl, d.text_file_url as textFileUrl, d.video_url as videoUrl,
   		d.budget_cost as budgetCost, d.fixed_cycle as fixedCycle, d.people_number as peopleNumber,
   		d.fixed_scheme as fixedScheme, d.cost_escrow as costEscrow, d.employer_id as employerId,
-  		info.postal_address as address, u.email as mailbox,  u.mobile as mobile, d.audit_status as auditStatus,
+  		u.postal_address as address, u.email as mailbox,  u.mobile as mobile, d.audit_status as auditStatus,
   		d.employer_address as employerAddress, d.employer_contacts_mobile as employerContactsMobile,
   		d.employer_contacts_mailbox as employerContactsMailbox, d.employer_name as employerName,
   		d.tech_broker_id as techBrokerId,  u.mobile as contactsName,
   		d.boutique,ifnull(mm.effective,0) as hot,mm.cover_img as coverImg
   	from demand d 
   	left join user_identity ui on ui.uid = d.employer_id
-  	left join user_info info on info.uid = d.employer_id
+  	<!-- left join user_info info on info.uid = d.employer_id -->
   	left join user u on u.id = d.employer_id
   	left join marketing_management mm on d.id = mm.product_id
   	where d.data_category = 0 and d.id = #{id,jdbcType=VARCHAR}
@@ -1026,7 +1026,7 @@
 	  		d.id, d.name, d.keyword,d.data_category as dataCategory,d.picture_url as pictureUrl,
 	  		d.serial_number as serialNumber, d.data_category as dataCategory, d.industry_category_a as industryCategoryA,
 	  		d.industry_category_b as industryCategoryB, d.demand_type as demandType, d.budget_cost as budgetCost,
-	  		d.problem_des as problemDes, d.release_date as releaseDate, d.employer_name as employerName,
+	  		d.problem_des as problemDes, d.release_date as releaseDate, d.employer_name as employerName,d.boutique,
 	  	 u.lvl as level
   		from demand d
   		left join user u on u.id = d.employer_id
@@ -1392,7 +1392,7 @@
 		LEFT JOIN field_glossory fgg on fgg.id = d.industry_category_b 
 		LEFT JOIN demand_interest interest on interest.demand_id = d.id 
 		where
-		interest.uid = #{_parameter,jdbcType=INTEGER}
+		interest.uid = #{uid,jdbcType=INTEGER}
 		limit 0,4
 	</select>
 	

+ 9 - 0
src/main/java/com/goafanti/common/mapper/NewsMapperExt.xml

@@ -166,4 +166,13 @@
 			create_time desc
 		limit 3;
   </select>
+  <select id="findIndexNewsLists" resultMap="SummaryResultMap">
+		select
+		<include refid="Summary_Column_List" />
+		from news
+		where 
+		type = 1
+		order by create_time desc
+		limit #{pageNo,jdbcType=INTEGER}, #{pageSize,jdbcType=INTEGER}
+  </select>
 </mapper>

+ 3 - 3
src/main/java/com/goafanti/common/mapper/StarMapper.xml

@@ -118,13 +118,13 @@
   		uc.professional_title as professionalTitle,
   		uc.work_unit as workUnit,
   		adc.achievement_count as achievementNum,
-  		info.person_portrait_url as personPortraitUrl
+  		u.head_portrait_url as personPortraitUrl
   	from star s
   	left join user u on u.id = s.uid
   	left join user_identity ui on ui.uid = s.uid
   	left join user_career uc on uc.uid = s.uid
   	left join achievement_demand_count adc on adc.uid = s.uid 
-  	left join user_info info on info.uid = s.uid
+  	<!-- left join user_info info on info.uid = s.uid -->
   	left join user_interest interest on interest.to_uid = s.uid and interest.from_uid = #{uid,jdbcType=VARCHAR}
   	where s.star = 1 and ui.celebrity = 1
   	order by adc.achievement_count desc
@@ -154,7 +154,7 @@
   		uc.professional_title as professionalTitle,
   		uc.work_unit as workUnit,
   		adc.achievement_count as achievementNum,
-  		info.person_portrait_url as personPortraitUrl,
+  		u.head_portrait_url as personPortraitUrl,
   		interest.id as interestId
   	from star s
   	left join user u on u.id = s.uid

+ 3 - 3
src/main/java/com/goafanti/common/mapper/UserIdentityMapper.xml

@@ -916,11 +916,11 @@
 			u.id as uid, ui.username, u.number,
 			ui.id as identityId, ui.province,
 			u.head_portrait_url as personPortraitUrl,
-			adc.achievement_count as achievementNum,
+			u.introduction as achievementNum,
 			adc.demand_count as demandNum,
 			uc.engaged_field as engagedField,
 			uc.work_unit as workUnit,
-			uc.position,
+			ui.professional_title as position,
 			ui.international
 		FROM
 			<![CDATA[ user ]]> u
@@ -1000,7 +1000,7 @@
 			a.id,
 			b.username as ownerName,
 			c.ability_label as abilityLabel,
-			a.head_portrait_url personPortraitUrl,
+			a.head_portrait_url as personPortraitUrl,
 			e.education
 		from user a 
 		left join user_identity b 

+ 2 - 2
src/main/java/com/goafanti/common/mapper/UserInterestMapper.xml

@@ -99,7 +99,7 @@
 			ui.create_time AS createTime,
 			uii.province AS userProvince,
 			oi.licence_province AS orgProvince,
-			uinfo.person_portrait_url AS personPortraitUrl,
+			u.head_portrait_url AS personPortraitUrl,
 			oinfo.logo_url AS logoUrl,
 			adc.achievement_count AS achievementNum,
 			adc.demand_count AS demandNum
@@ -108,7 +108,7 @@
 	LEFT JOIN user_identity uii ON uii.uid = ui.to_uid
 	LEFT JOIN organization_identity oi ON oi.uid = ui.to_uid
 	LEFT JOIN `user` u ON u.id = ui.to_uid
-	LEFT JOIN user_info uinfo ON uinfo.uid = ui.to_uid
+	<!-- LEFT JOIN user_info uinfo ON uinfo.uid = ui.to_uid -->
 	LEFT JOIN organization_info oinfo ON oinfo.uid = ui.to_uid
 	LEFT JOIN achievement_demand_count adc ON adc.uid = ui.to_uid
 	WHERE

+ 5 - 4
src/main/java/com/goafanti/common/mapper/UserMapper.xml

@@ -1202,13 +1202,13 @@
   
  	<select id="findUserPartnerDetail" parameterType="java.lang.String" resultType="com.goafanti.user.bo.UserPartnerDetailBo">
 		select
-		u.id,i.username,c.work_unit as work_unit,c.position,c.achievement,
+		u.id,i.username,i.work_unit as workUnit,i.professional_title as position,u.introduction as achievement,
 		u.head_portrait_url as personPortraitUrl,
 		i.province,
 		u.introduction as personalProfile,
-		ua.ability_label as abilityLabel,c.qualification,
-		e.graduate_school,e.major_category,c.work_unit as workUnit,
-		c.engaged_field as engagedField
+		ua.ability_label as abilityLabel,i.qualification,
+		i.graduate_school,i.major_category,i.work_unit as workUnit,
+		ic.name as engagedField
 		from `user` u
 		left join user_identity i on u.id=i.uid
 		left join
@@ -1216,6 +1216,7 @@
 		<!-- left join user_info info on u.id=info.uid -->
 		left join user_ability ua on u.id=ua.uid
 		left join user_edu e on u.id=e.uid
+		left join industry_category ic on i.industry=ic.id
 		WHERE
 		u.type = 0
 		<if test="_parameter!= null">

+ 10 - 1
src/main/java/com/goafanti/news/service/NewsService.java

@@ -42,7 +42,7 @@ public class NewsService extends BaseMybatisDao<NewsMapper> {
 		params.put("type", type);
 		params.put("pageSize", pageSize);
 		params.put("pageNo", pageNo);
-		return newsMapper.findIndexNewsList(params);
+		return newsMapper.findIndexNewsLists(params);
 	}
 
 	@CacheEvict(value = "IndexNewsListCache", allEntries = true)
@@ -187,4 +187,13 @@ public class NewsService extends BaseMybatisDao<NewsMapper> {
 		return newsMapper.findJmrhNewsList(params);
 	}
 
+	public List<NewsPortalList> portalNewsPolicy(){
+		
+		return newsMapper.portalNewsPolicy();
+	}
+	public List<NewsPortalList> portalNewsQuestion(){
+		
+		return newsMapper.portalNewsQuestion();
+	}
+	
 }

+ 10 - 0
src/main/java/com/goafanti/portal/bo/AchievementSearchListBo.java

@@ -107,6 +107,8 @@ public class AchievementSearchListBo {
 	
 	/** 是否国际*/
 	private Integer internationalFlag;
+	/** 是否精品*/
+	private Integer boutique;
 	
 	public Integer getLevel() {
 		return level;
@@ -296,5 +298,13 @@ public class AchievementSearchListBo {
 	public void setInternationalFlag(Integer internationalFlag) {
 		this.internationalFlag = internationalFlag;
 	}
+
+	public Integer getBoutique() {
+		return boutique;
+	}
+
+	public void setBoutique(Integer boutique) {
+		this.boutique = boutique;
+	}
 	
 }

+ 12 - 0
src/main/java/com/goafanti/portal/bo/DemandSearchListBo.java

@@ -76,6 +76,10 @@ public class DemandSearchListBo {
 	 * 用户等级
 	 */
 	private String		pictureUrl;
+	/**
+	 * 是否精品
+	 */
+	private Integer 	boutique;
 	
 	public String getEmployerName() {
 		return employerName;
@@ -205,5 +209,13 @@ public class DemandSearchListBo {
 		this.pictureUrl = pictureUrl;
 	}
 
+	public Integer getBoutique() {
+		return boutique;
+	}
+
+	public void setBoutique(Integer boutique) {
+		this.boutique = boutique;
+	}
+
 	
 }

+ 3 - 3
src/main/java/com/goafanti/portal/bo/UserSubscriberListBo.java

@@ -9,7 +9,7 @@ public class UserSubscriberListBo {
 
 	private String	personPortraitUrl;
 
-	private Integer	achievementNum;
+	private String	achievementNum;
 
 	private Integer	demandNum;
 
@@ -87,11 +87,11 @@ public class UserSubscriberListBo {
 		this.personPortraitUrl = personPortraitUrl;
 	}
 
-	public Integer getAchievementNum() {
+	public String getAchievementNum() {
 		return achievementNum;
 	}
 
-	public void setAchievementNum(Integer achievementNum) {
+	public void setAchievementNum(String achievementNum) {
 		this.achievementNum = achievementNum;
 	}
 

+ 9 - 3
src/main/webapp/WEB-INF/views/common.html

@@ -71,6 +71,12 @@
 								th:href="${basePath + '/portal/financial/investmentInstitution.html'}">投资机构</a>
 							</li>
 						</ol></li>
+					<li><a th:href="${basePath + '/portal/aboutUs.html'}">关于公司</a>
+						<ol class="subnavigation">
+							<li><a
+								th:href="${basePath + '/portal/contactUs.html'}">联系我们</a>
+							</li>
+					</ol></li>						
 					<!-- <li><a href="#">科技活动</a></li> <li><a href="#">平台共建</a></li> 	-->
 				</ul>
 			</div>
@@ -79,14 +85,14 @@
 					th:src="${portalHost+'/img/index_resiter.png'}" alt="" />
 				</a> 
 				<a href="javascript:;" class="head_login">登录</a> 
-				<a th:href="${basePath + '/portal/aboutUs.html'}">关于我们</a>
+				<a th:href="${basePath + '/portal/aboutUs.html'}">关于公司</a>
 				<div></div>
 			</div>
 			<div class="nav_right" th:if="${isLogin}">
 				<a th:href="${basePath + (isAdmin? '/admin/index.html':'/user/account/index.html')}"
 					th:text="${#strings.isEmpty(userName)?'个人中心':userName}">个人中心</a> 
 				<a th:href="${basePath + '/user/logout'}">退出</a> 
-				<a th:href="${basePath + '/portal/aboutUs.html'}">关于我们</a>
+				<a th:href="${basePath + '/portal/aboutUs.html'}">关于公司</a>
 				<div></div>
 			</div>
 		</div>
@@ -125,7 +131,7 @@
 			<div class="bottom">
 				<div class="bottom_text">
 					<div class="text_top">
-						<a th:href="${basePath + '/portal/aboutUs.html'}">关于我们</a>
+						<a th:href="${basePath + '/portal/aboutUs.html'}">关于公司</a>
 						<a th:href="${basePath + '/portal/contactUs.html'}">联系我们</a>
 						<p>Copyright &copy 2016-2017 科德 版权所有 湘ICP备15019731号 -2
 							技术支持:湖南阿凡提科技有限公司</p>

+ 4 - 4
src/main/webapp/WEB-INF/views/portal/financial/index.html

@@ -125,21 +125,21 @@
 		<div id="info">
 			<div class="info">
 				<div>
-					<img th:src="${avatarUploadHost + '/default/inverDatails.jpg'}" alt="" />
+					<img th:src="${avatarUploadHost + '/default/inverDatails1.jpg'}" alt="" />
 					<h3>高新创投</h3>
 					<p>湖南高新创业投资集团有限公司(简称:高新创投)成立于2007年9月,系省委、省政府批准设立的全省唯一的省级国有创投机构,
 					是为创新财政投入方式、推进战略新兴产业和高新技术产业发展而打造的政府性投融资平台。</p>
 					<div><a th:href="${basePath + '/portal/financial/investmentDetail.html?organizationId=bc1c9b64-a285-47ca-b783-db7dfdde4b93'}">MORE+</a></div>
 				</div>
 				<div>
-					<img th:src="${avatarUploadHost + '/default/inverDatails.jpg'}" alt="" />
+					<img th:src="${avatarUploadHost + '/default/inverDatails2.jpg'}" alt="" />
 					<h3>北极光</h3>
 					<p>北极光创投基金成立于2004年,资本来源于公益金、基金会、养老基金、联合基金,以及美国、欧洲和亚洲的个体投资人。
 					基金将集中投资于与TMT领域(通讯、新媒体、高科技)相关的、具有中国战略的企业。</p>
 					<div><a th:href="${basePath + '/portal/financial/investmentDetail.html?organizationId=3443f6eb-c077-453e-b542-9215f97b61ea'}">MORE+</a></div>
 				</div>
 				<div>
-					<img th:src="${avatarUploadHost + '/default/inverDatails.jpg'}" alt="" />
+					<img th:src="${avatarUploadHost + '/default/inverDatails3.jpg'}" alt="" />
 					<h3>华兴资本</h3>
 					<p>华兴资本于2004年在北京成立,是中国领先的专注于为快速成长的中国创业型企业家提供顶级财务顾问服务的投资银行。
 					公司关注的行业包括:高科技、媒体、电信、医疗和消费品等行业。</p>
@@ -228,7 +228,7 @@
 				<div class="part">所属行业</div>
 				<div class="place_city">
 					<ul>
-						<li class="thon" value="464">教育休闲</li>
+						<li class="thon" value="null">全部行业</li>
 						<li value="463">包装印刷</li>
 						<li value="462">电气自动化</li>
 						<li value="460">航天航空</li>

+ 2 - 0
src/main/webapp/WEB-INF/views/portal/technologyTrading/achievementOrder.html

@@ -93,6 +93,8 @@
 									交易方式:<span
 										th:text="${reachievementlist.transferModeS}?${reachievementlist.transferModeS}:暂无"></span>
 								</p>
+								<p class="likeId" th:text="${reachievementlist.id}"></p>
+								<p class="likeType" th:text="${reachievementlist.ownerType}"></p>
 								<a href="#">了解详情</a>
 							</div></li>
 					</ul>

+ 28 - 13
src/main/webapp/WEB-INF/views/portal/technologyTrading/demandOrder.html

@@ -74,27 +74,42 @@
 				<div class="line">猜你喜欢</div>
 				<div class="main_introduce">
 					<ul>
-						<li th:each="reachievementlist:${reachievementlist}"><img
-							th:src="${portalHost+'/img/detail_img4.jpg'}" alt="" />
+						<li th:each="redemandlist:${redemandlist}"> 
+							<div th:if="${redemandlist.pictureUrl} == null " >
+								<img th:src="${avatarUploadHost+ '/default/xuqiuimg_null.png'}" alt=""/>
+							</div>
+							<div th:if="${redemandlist.pictureUrl} != null" >
+								<img th:src="${avatarUploadHost+redemandlist.pictureUrl}" alt=""/>
+							</div>
+						 
 							<div class="list_text">
 								<p>
-									行业:<span
-										th:text="${redemandlist.industryCategoryAS}?${redemandlist.industryCategoryAS}:暂无行业分类"></span>
+									行业:<span th:text="${redemandlist.industryCategoryAS}?${redemandlist.industryCategoryAS}:暂无行业分类"></span>
 								</p>
-								<p>
-									名称:<span
-										th:text="${redemandlist.name}?${redemandlist.name}:暂无名称"></span>
+								<p >
+									名称:<span th:text="${redemandlist.name}?${redemandlist.name}:暂无名称"></span>
 								</p>
 								<p>
-									类型:<span
-										th:text="${redemandlist.demandTypeS}?${redemandlist.demandTypeS}:暂无分类"></span>
+									类型:<span th:text="${redemandlist.demandTypeS}?${redemandlist.demandTypeS}:暂无分类"></span>
 								</p>
-								<p>
-									预算:<span
-										th:text="${redemandlist.fixedbudget}?${redemandlist.fixedbudget}:价格面议"></span>
+								<p class="money">
+									预算:<span th:text="${redemandlist.fixedbudget}?${redemandlist.fixedbudget}:价格面议"></span>
 								</p>
+								<p th:text="${redemandlist.id}" class="demandId"></p>
+								<p th:text="${redemandlist.dataCategory}" class="demandTyp"></p>
 								<a href="#">了解详情</a>
-							</div></li>
+							</div>
+							<!-- <div class="star">
+								<p>精品:</p>
+								<ol>
+									<li></li>
+									<li></li>
+									<li></li>
+									<li></li>
+									<li></li>
+								</ol>
+							</div> -->
+							</li>
 					</ul>
 				</div>
 			</div>

+ 16 - 16
src/main/webapp/WEB-INF/views/portal/technologyTrading/index.html

@@ -68,20 +68,20 @@
 				<div>
 					<div class="clear_line"></div>
 					<div class="technolo_text">
-						<div val="116936328830402560">
-							<h5>长沙市科技局进行技术交易合同认定登记上门服务</h5>
+						<div th:val="${newsPortalList[0].id}">
+							<h5 th:text="${newsPortalList[0].title}">长沙市科技局进行技术交易合同认定登记上门服务</h5>
 							<a href="#">了解更多</a>
 						</div>
-						<div val="116935341277331456 ">
-							<h5>长沙市科技局印发《长沙市技术交易奖励暂行办法》</h5>
+						<div th:val="${newsPortalList[1].id}">
+							<h5 th:text="${newsPortalList[1].title}">长沙市科技局印发《长沙市技术交易奖励暂行办法》</h5>
 							<a href="#">了解更多</a>
 						</div>
-						<div val="116933097148530688">
-							<h5>常德市网上技术交易专项补助暂行办法</h5>
+						<div th:val="${newsPortalList[2].id}">
+							<h5 th:text="${newsPortalList[2].title}">常德市网上技术交易专项补助暂行办法</h5>
 							<a href="#">了解更多</a>
 						</div>
-						<div val="104164708885872640">
-							<h5>国家税务总局关于进一步做好企业研发费用加计扣除政策落实工作的通知 </h5>
+						<div th:val="${newsPortalList[3].id}">
+							<h5 th:text="${newsPortalList[3].title}">国家税务总局关于进一步做好企业研发费用加计扣除政策落实工作的通知 </h5>
 							<a href="#">了解更多</a>
 						</div>
 					</div>
@@ -94,21 +94,21 @@
 				<div>
 					<div class="clear_line"></div>
 					<div class="technolo_text">
-						<div val="120088780303908864">
+						<div th:val="${portalNewsQuestion[0].id}">
 							<a href="#">查看答案</a>
-							<h5>技淘网平台交易违规处罚</h5>
+							<h5 th:text="${portalNewsQuestion[0].title}">技淘网平台交易违规处罚</h5>
 						</div>
-						<div val="120088955617427456">
+						<div th:val="${portalNewsQuestion[1].id}">
 							<a href="#">查看答案</a>
-							<h5>技术需求发布规范</h5>
+							<h5 th:text="${portalNewsQuestion[1].title}">技术需求发布规范</h5>
 						</div>
-						<div val="120089164124667904">
+						<div th:val="${portalNewsQuestion[2].id}">
 							<a href="#">查看答案</a>
-							<h5>争议纠纷发起流程及规则</h5>
+							<h5 th:text="${portalNewsQuestion[2].title}">争议纠纷发起流程及规则</h5>
 						</div>
-						<div val="120089403078361088">
+						<div th:val="${portalNewsQuestion[3].id}">
 							<a href="#">查看答案</a>
-							<h5>交易安全保障</h5>
+							<h5 th:text="${portalNewsQuestion[3].title}">交易安全保障</h5>
 						</div>
 					</div>
 					<img th:src="${portalHost + '/img/technology_question.png'}" alt="" />