Kaynağa Gözat

顾问详情

liting2017 6 yıl önce
ebeveyn
işleme
17c4e05c5d

BIN
img/newMenu/adviserBanner.png


+ 181 - 0
src/css/newMenu/adviser.css

@@ -0,0 +1,181 @@
+/* 搜索 */
+.indexSearch{
+    width: 635px;
+    height: 36px;
+    margin: 37px auto 74px;;
+}
+.container{
+    overflow: hidden;
+}
+.indexSearch .search-inp{
+    clear: both;
+    width:635px;
+    height: 36px;
+}
+.searchBtn{
+    width: 104px;
+    font-size: 18px;
+}
+.indexSearch .demandSearch{
+    width: 530px;
+    height: 36px;
+    line-height: 34px;
+    border-color: #bbd5e5;
+}
+.indexSearch .searchBtn{
+    height: 36px;
+    line-height: 22px;
+    background: #1697e9;
+    border: 1px solid #1697e9;
+    color: #ffffff;
+}
+.indexSearch .searchBtn img{
+    width: 25px;height: 24px;
+    vertical-align: top
+}
+.indexSearch .search-inp{
+    float: left;
+}
+
+
+.indexSearch .search-inp .input-group{
+    width: 530px;
+}
+/* 列表 */
+.adviserList{
+    width: 100%;
+    margin-top: 50px;
+}
+.adviserList ul li {
+    float: left;
+    margin-left: 28px;
+    margin-bottom: 30px;
+    width: 380px;
+    height: 236px;
+    border-radius: 5px;
+    border: 1px solid #f0f0f0;
+}
+.adviserList ul li:hover{
+    box-shadow: 0 0 20px #ccc;
+}
+.adviserList ul li:nth-child(3n+1){
+    margin-left: 0;
+}
+
+.adviserList .headPortrait{
+    width: 120px;
+    height: 120px;
+    overflow: hidden;
+    float: left;
+    border-radius: 50%;
+    margin-top: 55px;
+    margin-left: 22px;
+}
+.adviserList .headPortrait img{
+    width: 100%;
+    height: 100%;
+}
+.adviserList .txt{
+    float: right;
+    width: 194px;
+    margin-top: 60px;
+    margin-right: 22px;
+}
+.adviserList .txt h4{
+    margin-bottom: 20px;
+    font-weight: normal;
+}
+.adviserList .txt h4 .name{
+    width: 90px;
+    display: inline-block;
+    font-size: 22px;
+    color: #1f1f1f;
+    overflow: hidden;
+    height: 30px;
+    /* white-space:nowrap; 
+    text-overflow:ellipsis; 
+    -o-text-overflow:ellipsis; */
+}
+.adviserList .txt h4 .position{
+    height: 22px;
+    line-height: 20px;
+    width: 100px;
+    display: inline-block;
+    font-size: 16px;
+    color: #1797e9;
+    overflow: hidden;
+    /* white-space:nowrap; 
+    text-overflow:ellipsis; 
+    -o-text-overflow:ellipsis; */
+}
+.adviserList .txt p{
+    color: #707070;
+    font-size: 14px;
+    font-family: "宋体";
+    overflow: hidden;
+    display: -webkit-box;              
+    text-overflow: ellipsis;            
+    -webkit-box-orient: vertical;       
+    -webkit-line-clamp:3;
+}
+
+.pagination_box {
+    width: 100%;
+    line-height: 74px
+}
+
+.pagination_box nav {
+    float: right;
+    clear: both;
+}
+
+.pagination_box ul li a {
+    color: #333
+}
+
+.pagination_box .pagination {
+    float: right;
+    margin-right: 20px;
+}
+
+.pagination_box .totalCount {
+    float: right;
+    line-height:84px;
+    display: inline-block;
+    margin-right: 15px;
+}
+.inp{
+    float: right;
+}
+.pagination_box{
+    display: none;
+}
+.list_none {
+    width: 550px;
+    height: 150px;
+    background: url("../../../img/all_null.png") no-repeat;
+    margin: 50px auto;
+}
+.inp{
+    display: none;
+}
+.inp input{
+    vertical-align:middle;
+    width:40px;
+    height: 32px;
+    text-align: center;
+    border-radius: 5px;
+    border:1px solid #ccc;
+}
+.inp button{
+    margin: 0 10px;
+    width: 50px;
+}
+
+.search{
+    width: 100%;
+    height: 52px;
+    line-height: 52px;
+    background: #f9f9f9;
+}
+

+ 265 - 0
src/css/newMenu/adviserDetail.css

@@ -0,0 +1,265 @@
+.componyLogo{
+    width:800px;
+    height: 80px;
+    z-index: 50;
+    position: relative;
+    margin-bottom: 10px;
+}
+.componyLogo div{
+    width: 120px;
+    height: 120px;
+    background: #ffffff;
+    padding: 4px;
+    box-shadow: 0 2px 10px #ccc;
+    position: absolute;
+    bottom: 0px;
+    z-index: 60;
+    overflow: hidden;
+    border-radius: 50%;
+}
+.componyLogo div img{
+    width: 100%;
+    height: 100%;
+    display: inline-block;
+    border-radius: 50%;
+}
+.componyLogo p{
+    position: absolute;
+    left:138px;
+    top: 0;
+    height: 80px;
+    line-height: 80px;
+    font-size: 22px;
+    color: #1f1f1f;
+}
+.componyLogo p .name{
+    display: inline-block;
+    font-size: 22px;
+    margin-right: 18px;
+}
+.componyLogo p .position{
+    font-size: 18px;
+    color: #1797e9;
+}
+.collectionN .heart{
+    vertical-align: top;
+    margin-right: 10px;
+    margin-top: 5px;
+    width: 19px;
+    height: 18px;
+    display: inline-block;
+    background: url(../../../img/newMenu/serviceDetal_03.jpg) no-repeat;
+    background-size: 100% 100%;
+}
+.collectionN .heart.active{
+    background: url(../../../img/newMenu/serviceDetal_Ok.jpg) no-repeat;
+}
+.collectionN{
+    margin-left: 16px;
+    line-height: 30px;
+    height: 30px;
+}
+.collectionN span{
+    display: inline-block;
+    height: 30px;
+    line-height: 30px;
+}
+.collectionN.active{
+    color: #ff6b26;
+}
+.adviserContent{
+    width: 100%;
+    margin-top: 30px;
+    margin-bottom: 16px;
+}
+.adviserContent p{
+    text-align: justify;
+    font-size: 16px;
+    color: #7a7878;
+    line-height: 30px;
+}
+.adviser_consultation{
+    clear: both;
+}
+.adviser_consultation a{
+    cursor: pointer;
+    float: right;
+    display: inline-block;
+    width: 140px;
+    line-height: 53px;
+    height: 55px;
+    border: 1px solid #ff580e;
+    color: #ff580e;
+    background: #ffeee6;
+    text-align: center;
+    font-size: 18px;
+    margin-bottom: 90px;
+}
+.adviser_consultation a:hover{
+    border-color:#fff;
+    color: #fff;
+    background: #ff580e;
+}
+/* 评论 */
+.adviser_list {
+    clear: both;
+    height: 40px;
+    line-height: 40px;
+    background: #fcfcfc;
+    border: 1px solid #efefef;
+    margin-bottom: 20px;
+}
+.adviser_list p{
+    width: 120px;
+   text-align: center;
+   font-size: 16px;
+   background: #1797e9;
+   color: #ffffff;
+}
+.pagination_box{
+    /* display: none; */
+}
+.evaluateList .list_none{
+    padding-top: 20px;
+    text-align: center;
+    padding-bottom: 100px;
+}
+.evaluateList{
+    /* display: none; */
+    clear: both;
+}
+.evaluateList>ul>li {
+    border-bottom: 1px dotted #c6c2c2;
+    padding-left: 26px;
+    overflow: hidden;
+} 
+.evaluateList>ul>li p{
+    font-size: 14px;
+    color: #1f1f1f;
+    float: left;
+}  
+.evaluateList>ul>li>div.stasf{
+    width: 370px;
+    overflow: hidden;
+    padding: 25px 0 10px;;
+}
+.evaluateList>ul>li>div.stasf>p{
+    margin-right: 50px;
+}
+.evaluateList ul>li .satisfied{
+    float: left;
+}
+.evaluateList .uName{
+    margin-left: 10px;
+}
+.commentDetails{
+    padding-left: 26px;
+}
+.commentDetails span{
+    display: inline-block;
+    margin-left: 10px;
+}
+.satisfied ol li {
+    float: left;
+}
+.satisfied ol li span{
+    color: #ff580e;
+}
+.satisfied ol{
+    float: right;
+    margin-left: 8px;
+    font-size: 16px;
+}
+.satisfiedContent {
+    clear: both;
+    overflow: hidden;
+    margin-top: 8px;
+    padding-bottom: 27px;
+}
+.satisfiedContent p{
+    padding-right:20px;
+    font-size: 12px;
+   color: #707070!important;
+}
+.satisfiedContent time{
+    font-size: 12px;
+    color: #707070!important;
+    float: right;
+}
+.pagination{
+    float: right;
+}
+.totalCount {
+    float: right;
+    margin-top: 28px;
+    margin-right: 15px;
+}
+.pagination_box{
+margin-bottom: 100px;
+}
+.pagination_box .pagePre a{
+    margin-right: 10px
+}
+.pagination_box .pageNext a{
+    margin-left: 10px;
+}
+
+#commentArea{
+    width: 1000px;
+    height: 80px;
+    outline: none;
+    margin-left: 26px;
+    resize: none;
+    margin-top: 10px;
+    text-indent:1em;
+    line-height: 20px;
+    padding-top: 5px;
+}
+#commentArea:focus{
+    border-color:transparent; 
+    box-shadow: 0 0 10px #1697ea ;
+}
+.CommentSend button{
+    width: 150px;
+    height: 34px;
+    margin-left: 26px;
+    margin-top: 6px;
+}
+.commentStar{
+    overflow: hidden;
+    margin-left: 26px;
+    margin-top: 10px;
+    line-height: 20px;
+}
+.commentStar>span{
+    display: inline-block;
+    float: left;
+    color: #ff570c
+}
+.commentStar .ulStar{
+    float: left;
+    margin-left: 6px;
+}
+.commentStar .ulStar span{
+    display: inline-block;
+    cursor: pointer;
+    margin-right: 4px;
+    font-size: 20px;
+    float: left;
+    color: #ff570c
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+ 14 - 13
src/css/newMenu/patent.css

@@ -5,24 +5,26 @@
 
 .menuPosition {
     width: 100%;
-    height: 500px;
+    height: 480px;
     position: relative;
     z-index: 10;
 }
 .menuPosition .carousel{
     width: 100%;
-    height: 500px;
+    height: 475px;
+}
+.carousel-inner{
+    height: 100%!important;
 }
 .menuPosition .carousel img{
     width: 100%;
-    height: 100%;
     display: inline-block;
     position: absolute;
     top: 0;
     left: 0;
 }
 .patentMenu{
-     width: 1164px; 
+    width: 1164px; 
     position: absolute;
     top: 0;
     left: 50%; 
@@ -35,12 +37,9 @@
     overflow: hidden;
     width: 198px;
     height: 452px;
-    top: -12px;
+    top: 0px;
     left: 15px; 
     background: #fff;
-    border-radius: 10px 10px 0 0 ;
-    border-left: 1px solid #e0e0e0;
-    border-bottom: 1px solid #e0e0e0;
 }
 .patentMenu .firstMenu a{
     color: #7a7878;
@@ -48,7 +47,6 @@
 .patentMenu .firstMenu>p{
     width: 100%;
     height: 72px;
-    border-radius: 10px 10px 0 0 ;
     text-align: center;
     background: url(../../../img/patent/patent_menu1.png)no-repeat;
     background-size:100% 100%; 
@@ -57,11 +55,12 @@
     width: 100%;
     height: 127px;
     text-align: center;
-    border-right: 1px solid #e0e0e0;
-    border-bottom: 1px solid #e0e0e0; 
+    padding: 0 20px;
+    transition: all .3s ease-in;
 }
-.firstMenu ul li.active{
-    border-right: 1px solid transparent;
+.firstMenu ul li.active {
+    margin-left: 15px;
+    transition: all .3s ease-in-out;
 }
 .firstMenu ul li.active  a{
     color: #1797e9;
@@ -78,6 +77,7 @@
     font-size: 18px;
     color: #7a7878;
     line-height: 126px;
+    border-bottom: 1px solid #e0e0e0;
 }
 .firstMenu ul li>p span:nth-child(1){
     display: inline-block;
@@ -660,6 +660,7 @@
     color: #1697e9;
 }
 
+/* 测试 */
 
 
 

+ 1 - 1
src/js/newMenu/achievement.js

@@ -1,4 +1,4 @@
-// import 'css/bootstrap.less';
+import 'css/bootstrap.less';
 import 'bootstrap/dist/js/bootstrap.js';
 import 'css/newMenu/public.css';
 import 'css/newMenu/header.css'

+ 194 - 0
src/js/newMenu/adviser.js

@@ -0,0 +1,194 @@
+/*
+ *	@author:liting
+ * 	@update:2018/09/07
+ * 
+ */
+import 'css/bootstrap.less';
+import 'bootstrap/dist/js/bootstrap.js';
+import 'css/newMenu/public.css';
+import 'css/newMenu/header.css'
+import 'css/newMenu/adviser.css';
+import 'js/public.js';
+
+
+"use strict";
+$(function () {
+    var thePageNo = 1,
+        thePageLength = 1,
+        dataList = {},
+        pageSize = 15;
+    init();
+
+    function init() {
+        pages();
+        inpFun();
+        search();
+    };
+    //一级界面跳转此页面
+
+    function jump() {
+        let hash = window.location.search;
+        if (hash) {
+            if (hash.indexOf('name') > -1 || hash.indexOf('topId') > -1 || hash.indexOf('secondId') > -1) {
+                let newHash = hash.substr(1, hash.length)
+                    if (newHash.indexOf('name') > -1) {
+                        let names = newHash.split('=')
+                        dataList.name = decodeURIComponent(names[1])
+                        $('.demandSearch').val(dataList.name);
+                    }
+                loadDate()
+            }
+        } else {
+                dataList.name = "",
+            loadDate();
+        }
+    }
+    function loadDate(pageNo) {
+        $('.loading').show();
+        $.ajax({
+            method: "get",
+            dataType: "json",
+            url: globalConfig.context + "/api/portal/identity/consultantList",
+            data: {
+                pageNo: pageNo || 1,
+                pageSize: 15,
+                name: dataList.name,
+            },
+            success: function (data) {
+                var theArrs = [];
+                if (data && data.error.length) {
+                    msg(data.error[0].message)
+                };
+                let times = new Date().getTime();
+                if (data.data && data.data.list.length) {
+                    let nub = data.data.list.length;
+                    for (let i = 0; i < nub; i++) {
+                        let thisdata = data.data.list[i],txtCont='';
+                            switch(thisdata.consultantType){
+                                case 0:
+                                    txtCont='专利代理人';
+                                    break;
+                                case 1:
+                                    txtCont='专利顾问';
+                                    break;
+                                case 2:
+                                    txtCont='版权顾问';
+                                    break;
+                                case 3:
+                                    txtCont='商标顾问';
+                                    break;
+                                default:
+                                    txtCont="暂无";
+                            }
+                        theArrs.push(`
+                        <li>
+                            <a href="${globalConfig.context}/portal/adviser/adviserDetail?id=${thisdata.id}">
+                                <div class="headPortrait">
+                                    ${thisdata.personPortraitUrl&&thisdata.personPortraitUrl!=null?'<img src="'+globalConfig.avatarHost+'/upload'+thisdata.personPortraitUrl+'"/>':''}
+                                </div>
+                                <div class="txt">
+                                    <h4><span class="name">${thisdata.username}</span><span class="position">${txtCont}</span></h4>
+                                    <p>${thisdata.introduction?thisdata.introduction:'暂无描述'}</p>
+                                </div>
+                            </a>
+                        </li>
+                        `);
+                    };
+                };
+                $('.loading').hide().stop(true, true);
+                $('.adviserList ul').empty();
+                $('.adviserList ul').append(theArrs.join(''));
+                $('.pagination_box').css('display', 'block');
+                $('.inp').css('display', 'block');
+                if (data.data.list.length === 0) {
+                    $('.adviserList ul').html("<div class='list_none'></div>");
+                    $('.pagination_box').css('display', 'none');
+                    $('.inp').css('display', 'none');
+                };
+                thePageLength = data.data.totalCount ? Math.ceil(data.data.totalCount / pageSize) : 1;
+                $('.totalCount').html(`共${data.data.totalCount}条数据 ${thePageLength}页`)
+                var pageArr = [],
+                    firstNo = 1,
+                    endNo = 5;
+                if (thePageNo > 3) {
+                    firstNo = thePageNo - 2;
+                    endNo = Math.min((Number(thePageNo) + 2), thePageLength);
+                } else {
+                    endNo = Math.min(thePageLength, 5);
+                };
+                for (let i = firstNo; i <= endNo; i++) {
+                    if (i == thePageNo) {
+                        pageArr.push(
+                            '<li class="pageNumber active"><a href="#" value=' + i + ' >' + i + '</a></li>'
+                        );
+                    } else {
+                        pageArr.push(
+                            '<li class="pageNumber"><a href="#" value=' + i + ' >' + i + '</a></li>'
+                        );
+                    }
+                };
+                $('.pageNumber').remove();
+                $('.pagePre').after(pageArr.join(''));
+            }
+        });
+    }
+    //f分页
+    function pages() {
+        $('.pagination').on('click', 'li', function (e) {
+            e.preventDefault();
+            if (this.className === 'pagePre') {
+                if (thePageNo > 1) {
+                    thePageNo = 1;
+                    loadDate(thePageNo);
+                }
+            } else if (this.className === 'pageNext') {
+                if (thePageNo < thePageLength) {
+                    thePageNo = thePageLength;
+                    loadDate(thePageNo);
+                }
+            } else {
+                var nextPageNo = $(this).children()[0].text;
+                if (thePageNo != nextPageNo) {
+                    $(this).siblings("li").removeClass("active");
+                    $(this).addClass("active");
+                    thePageNo = nextPageNo;
+                    loadDate(thePageNo);
+                };
+            };
+        });
+    }
+    //输入跳转
+    function inpFun() {
+        $('.inp .btn').on('click', function () {
+            let val = $(this).siblings().val();
+            if (!isNaN(val) && val <= thePageLength && val > 0) {
+                thePageNo = val;
+                loadDate(thePageNo);
+            } else {
+                msg('请输入正确页码')
+            }
+        })
+    }
+    //搜索
+    function search() {
+        $('.searchBtn').click(function () {
+            let val = $('.demandSearch').val();
+            dataList.name = val;
+            loadDate();
+        })
+    }
+    /* 提示 */
+    //提示框渐隐函数    
+    function msg(txt) {
+        if ($('.smg').hasClass('active')) {
+            return;
+        }
+        $('.smg').addClass('active');
+        var lit = $('#msg').val(txt);
+        setTimeout(function () {
+            $('.smg').removeClass('active')
+            $('#msg').val('');
+        }, 2000)
+    }
+
+})

+ 247 - 0
src/js/newMenu/adviserDetail.js

@@ -0,0 +1,247 @@
+/*
+ *	@author:liting
+ * 	@update:2018/06/20
+ * 
+ */
+import 'css/bootstrap.less';
+import 'bootstrap/dist/js/bootstrap.js';
+import 'css/newMenu/public.css';
+import 'css/newMenu/header.css'
+import 'css/newMenu/adviserDetail.css';
+import 'js/public.js';
+
+"use strict";
+$(function () {
+    init();
+    function init(){
+        pages();
+    }
+    $('.collectionN .heart').click(function () {
+        let heart = $('.heart');
+        if (heart.hasClass('active')) {
+            collectionApi(0) //取消收藏
+        } else {
+            collectionApi(1) //收藏
+        }
+    })
+    let hash = window.location.search,
+        hashArr =hash.split('='),
+        ids =hashArr[1];
+    function collectionApi(index) {
+        let nub=parseInt($('.nubCollect').text());
+        let url = index?'/api/user/portal/projectInterest':'/api/user/portal/projectCancelInterest'
+        $.ajax({
+            method: "post",
+            dataType: "json",
+            url: globalConfig.context + url,
+            data: {
+                id:ids
+            },
+            success: function (data) {
+                if (data.error && data.error.length) {
+		            msg(data.error[0].message);
+                }else{
+                    if(!index){
+                        $('.heart').removeClass('active');
+                        $('.collectionN').removeClass('active');
+                        $('.nubCollect').text((nub-1))
+                        $('#msg').val('撤销收藏')
+                    }else{
+                        $('.heart').addClass('active');
+                        $('.collectionN').addClass('active');
+                        $('.nubCollect').text((nub+1));
+                        $('#msg').val('收藏成功,请至个人中心查看.')
+                    }
+		            msg(index?'收藏成功,请至个人中心查看.':'撤销收藏');
+                }
+            }
+        })
+    }
+    //评论列表
+    loadDate();
+    var thePageNo = 1,
+        thePageLength = 1,
+        pageSize = 4;
+    function loadDate(pageNo) {
+        $.ajax({
+            method: "get",
+            dataType: "json",
+            url: globalConfig.context + "/open/unlanded/comment/list",
+            data: {
+                pageNo: pageNo || 1,
+                pageSize:4,
+                commodityId:ids
+            },
+            success: function (data) {
+                var theArrs = [];
+                if(data&&data.error.length){
+                    msg(data.error[0].message)
+                };
+                if(data.data.totalCommentCount>0){
+                    let good = (((data.data.positiveCommentCount)/(data.data.totalCommentCount))*100).toFixed(1),
+                    middle = (((data.data.ordinaryCommentCount)/(data.data.totalCommentCount))*100).toFixed(1),
+                    bad = (100-good-middle).toFixed(1);
+                    $('.commentDetails').html(`
+                        评价 :<span>好评(${good+'%'})</span><span>中评(${middle+'%'})</span><span>差评(${bad+'%'})</span>
+                        `)
+                }else{
+                    $('.commentDetails').html(`
+                        评价 :<span>好评(100%)</span><span>中评(0%)</span><span>差评(0%)</span>
+                    `)
+                }
+                if (data.data && data.data.comments.list.length) {
+                    let nub = data.data.comments.list.length;
+                    for (let i = 0; i < nub; i++) {
+                        let thisdata = data.data.comments.list[i],name;
+                        let times =thisdata.createTime?new Date(thisdata.createTime).toLocaleString():'',
+                            star=thisdata.star;
+                            if(thisdata.uname.indexOf('游客')>-1){
+                                name='匿名'
+                            }else{
+                                name=thisdata.uname
+                            };
+                        theArrs.push(`
+                        <li>
+                        <div class="stasf">
+                            <p>用户名 :<span class="uName">${name}</span></p>
+                            <div class="satisfied">
+                                <span>满意度:</span>
+                                <ol>
+                                    <li><span class="glyphicon ${star>=1?'glyphicon-star':'glyphicon-star-empty'} "></span></li>
+                                    <li><span class="glyphicon ${star>=2?'glyphicon-star':'glyphicon-star-empty'}"></span></li>
+                                    <li><span class="glyphicon ${star>=3?'glyphicon-star':'glyphicon-star-empty'}"></span></li>
+                                    <li><span class="glyphicon ${star>=4?'glyphicon-star':'glyphicon-star-empty'}"></span></li>
+                                    <li><span class="glyphicon ${star>=5?'glyphicon-star':'glyphicon-star-empty'}"></span></li>
+                                </ol>
+                            </div>
+                        </div>
+                        <div><time>${times}</time></div>
+                        <div class="satisfiedContent">
+                            <p>${thisdata.content}</p> 
+                        </div>
+                    </li>`);
+                    };
+                    
+                };
+               
+                $('.numberBars').html(data.data.totalCommentCount>10?'10+':data.data.totalCommentCount)
+                $('.evaluateList>ul').empty();
+                $('.evaluateList>ul').append(theArrs.join(''));
+                
+                if (!(data.data.comments.list.length)) {
+                    $('.evaluateList>ul').html("<div class='list_none'>暂无评论</div>");
+                    $('.pagination_box').css('display', 'none')
+                }else{
+                    $('.pagination_box').css('display', 'block');
+                }
+                thePageLength = data.data.comments.totalCount ? Math.ceil(data.data.comments.totalCount / pageSize) : 1;
+                $('.totalCount').html(`共${data.data.comments.totalCount}条数据 ${thePageLength}页`)
+                var pageArr = [],
+                    firstNo = 1,
+                    endNo = 5;
+                if (thePageNo > 3) {
+                    firstNo = thePageNo - 2;
+                    endNo = Math.min((Number(thePageNo) + 2), thePageLength);
+                } else {
+                    endNo = Math.min(thePageLength, 5);
+                };
+                for (let i = firstNo; i <= endNo; i++) {
+                    if (i == thePageNo) {
+                        pageArr.push(
+                            '<li class="pageNumber active"><a href="#" value=' + i + ' >' + i + '</a></li>'
+                        );
+                    } else {
+                        pageArr.push(
+                            '<li class="pageNumber"><a href="#" value=' + i + ' >' + i + '</a></li>'
+                        );
+                    }
+                };
+                $('.pageNumber').remove();
+                $('.pagePre').after(pageArr.join(''));
+            }
+        });
+    }
+    //f分页
+    function pages() {
+        $('.pagination').on('click', 'li', function (e) {
+            e.preventDefault();
+            if (this.className === 'pagePre') {
+                if (thePageNo > 1) {
+                    thePageNo = 1;
+                    loadDate(thePageNo);
+                }
+            } else if (this.className === 'pageNext') {
+                if (thePageNo < thePageLength) {
+                    thePageNo = thePageLength;
+                    loadDate(thePageNo);
+                }
+            } else {
+                var nextPageNo = $(this).children()[0].text;
+                if (thePageNo != nextPageNo) {
+                    $(this).siblings("li").removeClass("active");
+                    $(this).addClass("active");
+                    thePageNo = nextPageNo;
+                    loadDate(thePageNo);
+                };
+            };
+        });
+    }
+     //提示框渐隐函数    
+     function msg(txt) {
+        if($('.smg').hasClass('active')){
+			return ;
+        }
+        txt?$('#msg').val(txt):'';
+        $('.smg').addClass('active');
+        var lit = $('#msg').val(txt);
+        setTimeout(function () {
+            $('.smg').removeClass('active');
+            $('#msg').val('');
+        }, 2000)
+    }
+    //评论星星
+    star();
+    function star(){
+        $('.commentStar .ulStar span').hover(function(){
+            $(this).addClass('glyphicon-star').removeClass('glyphicon-star-empty').prevAll().addClass('glyphicon-star').removeClass('glyphicon-star-empty');
+            $(this).nextAll().removeClass('glyphicon-star').addClass('glyphicon-star-empty').stop(true);
+        })
+    }
+    //新建评论
+    addComment();
+    function addComment(){
+        $('.CommentSend .btn').click(function(e){
+            e.preventDefault();
+            let starNum = $('.commentStar .ulStar span.glyphicon-star').length,
+                textVal = $('#commentArea').val();
+            if(!starNum){
+                msg('请您选择星级!');
+                return;
+            }
+            if(!textVal){
+                msg('请您填写评论内容!');
+                return;
+            }
+            $.ajax({
+                method:'post',
+                url: globalConfig.context + "/open/addComment",
+                dataType:'json',
+                data:{
+                    commodityId:ids,
+					content:textVal,
+                    star:starNum,
+                    commodityType:4
+                }
+            }).done(function(data){
+                if(data&&data.error.length){
+                    msg(data.error[0].message);
+                    return;
+                }  
+                msg('评论成功,感谢您的评论。');
+                $('#commentArea').val('');
+                $('.ulStar span').removeClass('glyphicon-star').addClass('glyphicon-star-empty');
+                loadDate();
+            })
+        })
+    }
+})

+ 11 - 1
src/js/newMenu/patent.js

@@ -43,12 +43,22 @@ $(function(){
             $('.secondMenu ul li').removeClass('active')
             $('.secondMenu').removeClass('active');
         })
-    }
+    };
     function searchFun(){
         $('.searchBtn').on('click',function(){
             let sVal = $('.search-inp .demandSearch').val();
             window.location.href = globalConfig.context + `/portal/service/patentList?name=${sVal}`
         });
        
+    };
+    //菜单高度处理
+    menuH();
+    function menuH(){
+        let imgH = $('#myCarousel img').height();
+         //$('.firstMenu').css('height',imgH+'px');
+        // let liH = imgH - $('.firstMenu>p').height();
+        // $('.firstMenu ul li').css({
+        //     'height':(liH/3)+'px'
+        // })
     }
 })

+ 441 - 0
template/newMenu/adviser.html

@@ -0,0 +1,441 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <meta http-equiv="X-UA-Compatible" content="ie=edge">
+    <title>知识产权顾问</title>
+    <link rel="stylesheet" href="../../src/css/bootstrap.css">
+    <link rel="stylesheet" href="../../src/css/newMenu/public.css">
+    <link rel="stylesheet" href="../../src/css/newMenu/adviser.css">
+    <link rel="stylesheet" href="../../src/css/newMenu/header.css">
+</head>
+<body>
+        <div class="topFixHeight">
+                <div class="topNav">
+                    <div class="header">
+                        <div class="container">
+                            <div>
+                                <a href="#">网站导航</a>
+                            </div>
+                            <div>
+                                <ul>
+                                    <li>
+                                        <a href="javascript:void(0)" class="head_login">登录</a>
+                                    </li>
+                                    <li>
+                                        <a href="#">注册</a>
+                                    </li>
+                                    <li>
+                                        <a href="#">我的订单</a>
+                                    </li>
+                                    <li>
+                                        <a href="#">我的关注</a>
+                                    </li>
+                                    <li>
+                                        <a href="#">我的消息</a>
+                                    </li>
+                                </ul>
+                            </div>
+                            <div class="colorRed">
+                                全国统一服务热线:400-8800-962
+                            </div>
+                        </div>
+                    </div>
+                    <!-- search -->
+                    <div class="topHeader">
+                        <div class="container">
+                            <div class="navHeader">
+                                <div class="logo">
+                                    <a href="#">
+                                        <img src="../../img/Logo111.png" alt="" title="技淘">
+                                    </a>
+                                </div>
+                                <div class="logo_right"></div>
+                                <div class="nav">
+                                    <ul>
+                                        <li>
+                                            <div>
+                                                <a href="#">科技服务</a>
+                                                <ol class="subnavigation">
+                                                    <li>
+                                                        <a href="#">高企认定</a>
+                                                    </li>
+                                                    <li>
+                                                        <a href="#">知识产权</a>
+                                                    </li>
+                                                </ol>
+                                            </div>
+                                        </li>
+                                        <li>
+                                            <div>
+                                                <a href="#">技术交易</a>
+                                                <ol class="subnavigation">
+                                                    <li>
+                                                        <a href="#">专利产品</a>
+                                                    </li>
+                                                    <li>
+                                                        <a href="#">技术成果</a>
+                                                    </li>
+                                                    <li>
+                                                        <a href="#">技术需求</a>
+                                                    </li>
+                                                    <li>
+                                                        <a href="#">技术评估</a>
+                                                    </li>
+                                                </ol>
+                                            </div>
+                                        </li>
+                                        <li>
+                                            <div>
+                                                <a href="#">智库咨询</a>
+                                                <ol class="subnavigation">
+                                                    <li>
+                                                        <a href="#">智政</a>
+                                                    </li>
+                                                    <li>
+                                                        <a href="/portal/thinkTank/index.html#zizone">智者</a>
+                                                    </li>
+                                                </ol>
+                                            </div>
+                                        </li>
+        
+                                        <li>
+                                            <div>
+                                                <a href="/portal/aboutUs.html">关于公司</a>
+                                                <ol class="subnavigation" style="display: none;">
+                                                    <li>
+                                                        <a href="#">联系我们</a>
+                                                    </li>
+                                                </ol>
+                                            </div>
+                                        </li>
+                                    </ul>
+                                </div>
+                                <div class="nav_right">
+                                    <img src="../../img/newMenu/navImg.jpg" alt="">
+                                    <span>国家技术转移示范机构</span>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+            </div>
+    <!-- 公共头部  省略 -->
+    <!-- 中间内容开始 -->
+    <div class="container">
+        <div class="indexSearch">
+            <div class="search-inp">
+                <div class="input-group">
+                    <input type="text" class="form-control demandSearch" placeholder="搜索您要找的顾问。。">
+                    <span class="input-group-btn">
+                        <button class="btn btn-default searchBtn" type="button">
+                            <img src="../../img/newMenu/search-icon.jpg" alt=""> 搜索
+                        </button>
+                    </span>
+                </div>
+            </div>
+        </div>
+        <div class="adviserList">
+            <ul>
+                <li>
+                    <div class="headPortrait">
+                        <img src="../../img/order_1.png" alt="">
+                    </div>
+                    <div class="txt">
+                        <h4><span class="name">李四光2121</span><span class="position">专利代理人2121</span></h4>
+                        <p>专利代理人专利代理人专利代理人专利代理人专利代理人专利代理人</p>
+                    </div>
+                </li>
+                <li>
+                    <div class="headPortrait">
+                        <img src="../../img/name.jpg" alt="">
+                    </div>
+                    <div class="txt">
+                        <h4>李四光<span>专利代理人</span></h4>
+                        <p>专利代理人专利代理人专利代理人专利代理人专利代理人专利代理人</p>
+                    </div>
+                </li>
+                <li>
+                    <div class="headPortrait">
+                        <img src="../../img/name.jpg" alt="">
+                    </div>
+                    <div class="txt">
+                        <h4>李四光<span>专利代理人</span></h4>
+                        <p>专利代理人专利代理人专利代理人专利代理人专利代理人专利代理人</p>
+                    </div>
+                </li>
+                <li>
+                    <div class="headPortrait">
+                        <img src="../../img/name.jpg" alt="">
+                    </div>
+                    <div class="txt">
+                        <h4>李四光<span>专利代理人</span></h4>
+                        <p>专利代理人专利代理人专利代理人专利代理人专利代理人专利代理人</p>
+                    </div>
+                </li>
+                <li>
+                    <div class="headPortrait">
+                        <img src="../../img/name.jpg" alt="">
+                    </div>
+                    <div class="txt">
+                        <h4>李四光<span>专利代理人</span></h4>
+                        <p>专利代理人专利代理人专利代理人专利代理人专利代理人专利代理人</p>
+                    </div>
+                </li>
+                <li>
+                    <div class="headPortrait">
+                        <img src="../../img/name.jpg" alt="">
+                    </div>
+                    <div class="txt">
+                        <h4>李四光<span class="position">专利代理人</span></h4>
+                        <p>专利代理人专利代理人专利代理人专利代理人专利代理人专利代理人</p>
+                    </div>
+                </li>
+            </ul>
+        </div>
+        <div class="pagination_box">
+                <nav aria-label="Page navigation" class="clearfix">
+                    <ul class="pagination">
+                        <li class="pagePre">
+                            <a href="#" aria-label="Previous">
+                                <span aria-hidden="true">&laquo;</span>
+                            </a>
+                        </li>
+                        <li class="pageNumber"><a href="#" value="1">1</a></li>
+                        <li class="pageNext">
+                            <a href="#" aria-label="Next">
+                                <span aria-hidden="true">&raquo;</span>
+                            </a>
+                        </li>
+                    </ul>
+                    <div class="inp">
+                        <input type="text" class=""><button class="btn btn-default">跳转</button>
+                    </div>
+                    <span class="totalCount">共0条数据</span>
+                </nav>
+            </div>
+    </div>
+    <!-- 中间内容结束 -->
+    <!-- 公共底部  省略 -->
+    <footer>
+            <div id="bottom">
+                <div class="bottom">
+                    <div class="bottom_text">
+                        <div class="text_top">
+                            <a href="/portal/aboutUs.html">关于公司</a>
+                            <a href="/portal/contactUs.html">联系我们</a>
+                            <p>Copyright © 2016-2017 科德 版权所有 湘ICP备15019731号 -2 技术支持:湖南阿凡提科技有限公司
+                            </p>
+                        </div>
+                        <div class="text_center" id="qrCode">
+                            <div class="cont_left">
+                                <img src="../../img/dizhi.jpg" alt="">
+                                <p>湖南省长沙市营盘东路19号金山大厦八楼</p>
+                            </div>
+                            <div class="cont_center">
+                                <img src="../../img/dianhua.jpg" alt="">
+                                <p>合作电话:400-8800-962</p>
+                            </div>
+                            <div class="cont_guanli">
+                                <a href="/admin/login">
+                                    <img src="../../img/guanli.png" alt="">
+                                    <p>管理员入口</p>
+                                </a>
+                            </div>
+                            <div class="cont_rightapp">
+                                <img src="../../img/erweima_iphone.png" alt="">
+                                <p>iPhone版</p>
+                            </div>
+                            <div class="cont_right android">
+                                <img src="../../img/erweima_android.jpg" alt="">
+                                <p>Android版</p>
+                            </div>
+                            <div class="cont_right">
+                                <img src="../../img/erweima.jpg" alt="">
+                                <p>微信公众号</p>
+                            </div>
+                        </div>
+                        <div class="text_bottom">
+                            <p>友情链接</p>
+                            <a href="http://www.hnst.gov.cn/" target="_blank">湖南省科技厅/</a>
+                            <a href="http://www.cssti.cn/" target="_blank">长沙市科技局/</a>
+                            <a href="http://www.cast.org.cn/" target="_blank">中国科学技术协会/</a>
+                            <a href="http://www.chinatorch.gov.cn/" target="_blank">科技部火炬中心/</a>
+                            <a href="http://www.nosta.gov.cn/web/index.aspx" target="_blank">国家科技成果奖励办/</a>
+                            <a href="http://www.nast.org.cn/" target="_blank">国家科技成果网/</a>
+                            <a href="http://www.hnast.org.cn/portal/comm/index.action" target="_blank">湖南省科学技术协会/</a>
+                            <a href="http://www.hncgw.gov.cn/" target="_blank">湖南省科技成果转化公共服务平台/</a>
+                            <a href="http://www.hnjxw.gov.cn/" target="_blank">湖南省经济信息化委员会/</a>
+                            <a href="http://kyy.hnu.cn/" target="_blank">湖南大学科学技术研究院/</a>
+                            <a href="http://www.gxst.gov.cn/gxkjt/" target="_blank">广西省科技厅/</a>
+                            <a href="http://www.nmkjt.gov.cn/" target="_blank">内蒙古自治区科技厅/</a>
+                            <a href="http://www.cshtz.gov.cn/" target="_blank">长沙市高新区管委会/</a>
+                            <a href="http://www.jxas.ac.cn/" target="_blank">江西省科学院/</a>
+                            <a href="http://www.cnic.cn/front/index.html#/cnicSite/home" target="_blank">中科院计算机网络信息中心/</a>
+                            <a href="http://kxyjb.csu.edu.cn/" target="_blank">中南大学科学研究部/</a>
+                            <a href="http://www.cast.org.cn/" target="_blank">中国科协创新创业服务中心/</a>
+                            <a href="http://www.hbstd.gov.cn/" target="_blank">湖北省科技厅/</a>
+                            <a href="http://www.gdstc.gov.cn/" target="_blank">广东省科技厅/</a>
+                            <a href="http://www.hnkjt.gov.cn/" target="_blank">河南省科技厅/</a>
+                            <a href="http://www.cbtm.gov.cn/" target="_blank">技术合同登记官网</a>
+                        </div>
+                    </div>
+                </div>
+            </div>
+            <div onclick="_MEIQIA('showPanel')" id="lxkf" style="display:none"></div>
+            <div class="pub_fix">
+                <span class="index_blur"></span>
+                <ul class="ret_top">
+                    <li class="head_login">
+                        <a href="javascript:;">
+                            <img src="../../img/index_fix0.png" alt="">
+                            <p>申请会员</p>
+                        </a>
+                    </li>
+                    <li>
+                        <a onclick="_MEIQIA('showPanel')">
+                            <img src="../../img/index_fix3.png" alt="">
+                            <p>联系客服</p>
+                        </a>
+                    </li>
+                    <li>
+                        <a href="" class="pendent_box">
+                            <img src="../../img/index_fix4.png" alt="">
+                            <p>返回顶部</p>
+                        </a>
+                    </li>
+                </ul>
+                <span class="index_orange"></span>
+            </div>
+            <div class="message">
+                <span></span>
+            </div>
+            <div class="login">
+                <div class="login_mian">
+                    <div class="login_left">
+                        <div class="login_ewm">
+                            <img src="../../img/Android.jpg" alt="二维码" />
+                            <p>Android版</p>
+                            <p>客户端</p>
+                        </div>
+                        <div class="login_ewm">
+                            <img src="../../img/iPhone.jpg" alt="二维码" />
+                            <p>iPhone版</p>
+                            <p>客户端</p>
+                        </div>
+                    </div>
+                    <div class="login_right">
+                        <h5>用户登陆
+                            <a href="">免费注册有好礼呦!!</a>
+                        </h5>
+                        <form id="form_login">
+                            <div class="login_uesr">
+                                <label for="uesname">
+                                    <img src="../../img/login_use.png" />
+                                </label>
+                                <input type="text" name="uesname" id="Lo_user" placeholder="用户名" />
+                                <img src="../../img/login_del.png" class="log_del" />
+                            </div>
+                            <div class="login_pass">
+                                <label for="pass">
+                                    <img src="../../img/login_password.png" />
+                                </label>
+                                <input type="password" name="pass" id="Lo_pass" placeholder="请输入密码" />
+                            </div>
+                            <div class="login_check">
+                                <a href="">忘记密码?</a>
+                            </div>
+                            <input type="submit" value="登 陆" class="login_submit" />
+                        </form>
+                        <img src="../../img/login_hua.png" alt="" class="login_hua" />
+                        <img src="../../img/login_shadow.png" alt="阴影效果" class="login_shadow" />
+                        <img src="../../img/login_close.png" alt="" class="login_close" />
+                    </div>
+                </div>
+            </div>
+            <div id="forget">
+                <div class="forget">
+                    <form id="forget_form">
+                        <div class="forget_top">
+                            <a href="">忘记密码?</a>
+                            <div class="login_check">
+                                <label for="forget_checks" class="lab_check">
+                                    <input type="checkbox" name="type" id="forget_checks" />专家登录
+                                </label>
+                                <label for="forget_checkst" class="lab_checkno">
+                                    <input type="checkbox" name="type" id="forget_checkst" />企业登录
+                                </label>
+                            </div>
+                        </div>
+                        <div class="forget_center">
+                            <div class="phone">
+                                <label for="forget_phone">
+                                    手机号码:
+                                    <input type="text" name="type" id="forget_phone" placeholder="请输入您的手机号码..." />
+                                </label>
+                            </div>
+                            <div class="yanzheng">
+                                <label for="forget_yanzheng">
+                                    图形验证码:
+                                    <input type="text" name="type" id="forget_yanzheng" />
+                                </label>
+                                <div class="yanzhengma_cont_">
+                                    <img th:src="${basePath+'/open/getVCode'}" />
+                                </div>
+                            </div>
+                            <div class="cellcode_">
+                                <div>
+                                    验证码:
+                                    <input type="text" name="cellCode" placeholder="手机验证码" id="photo_n" />
+                                </div>
+                                <input type="button" id="photo_m" value="获取验证码" disabled/>
+                            </div>
+                            <div class="fastener">
+                                <input type="submit" class="forget_sub" value="确认" />
+                                <div class="fastener_right">
+                                    取消
+                                </div>
+                            </div>
+                        </div>
+                    </form>
+                    <img src="../../img/login_close.png" alt="" class="login_close" />
+                </div>
+            </div>
+            <div id="new_password">
+                <div class="new_password">
+                    <form id="new_password_form">
+                        <div class="password_top">
+                            <h4>设置新密码</h4>
+                            <span>密码长度为6-20个字符,区分大小写</span>
+                        </div>
+                        <div class="password_center">
+                            <div>
+                                <label for="new_pass">
+                                    新密码:
+                                    <input type="text" name="type" id="new_pass" placeholder="请输入您的新密码..." />
+                                </label>
+                            </div>
+                            <div>
+                                <label for="new_pass_again">
+                                    确认密码:
+                                    <input type="text" name="type" id="new_pass_again" placeholder="请确认您的密码..." />
+                                </label>
+                            </div>
+                            <div class="fastener">
+                                <input type="submit" class="new_password_sub" value="确认" />
+                                <div class="fastener_right">
+                                    取消
+                                </div>
+                            </div>
+                        </div>
+                    </form>
+                    <img src="../../img/login_close.png" alt="" class="login_close" />
+                </div>
+            </div>
+            <div class="smg">
+                <input type="text" name="msg" value="111" id="msg" />
+            </div>
+        </footer>
+</body>
+</html>

Dosya farkı çok büyük olduğundan ihmal edildi
+ 569 - 0
template/newMenu/adviserDetail.html


+ 1 - 1
template/newMenu/evaluate.html

@@ -16,7 +16,7 @@
 		<div class="container ">
 			<div class="row clearfix">
 				<div class="col-md-3 logo">
-					<img src="../../img/Logo11.png" />
+					<img src="../../img/Logo111.png" />
 				</div>
 				<div class="col-md-8">
 					<ul class="nav_content">

+ 18 - 0
webpack.config.js

@@ -325,6 +325,24 @@ module.exports = (function () {
             template: './template/newMenu/safeguarding.html',
             chunks: ['newMenu/safeguarding', 'vendors']
         }),
+        new HtmlWebpackPlugin({
+            title: '高企自评',
+            filename: 'html/evaluation/evaluate.html',
+            template: './template/newMenu/evaluate.html',
+            chunks: ['evaluation/evaluate', 'vendors']
+        }),
+        new HtmlWebpackPlugin({
+            title: '知识产权顾问列表',
+            filename: 'html/newMenu/adviser.html',
+            template: './template/newMenu/adviser.html',
+            chunks: ['newMenu/adviser', 'vendors']
+        }),
+        new HtmlWebpackPlugin({
+            title: '知识产权顾问详情',
+            filename: 'html/newMenu/adviserDetail.html',
+            template: './template/newMenu/adviserDetail.html',
+            chunks: ['newMenu/adviserDetail', 'vendors']
+        }),
         //app
         // new HtmlWebpackPlugin({
         //     title: '评估',

+ 23 - 116
webpack/entry.config.js

@@ -2,31 +2,14 @@ module.exports = {
     prod: {
         'index': './src/js/newMenu/index.js',
         'aboutUs': './src/js/aboutUs.js',
-        // 'APPaboutUs': './src/js/APPaboutUs.js',
         'contactUs': './src/js/contactUs.js',
-        // 'toPayment': './src/js/toPayment.js',
-        // 'service': './src/js/service.js',
         'register': './src/js/register.js',
-        // 'member': './src/js/member.js',
-        // 'technologyTrading': './src/js/technologyTrading.js',
         'thinkTank': './src/js/thinkTank.js',
-        // 'financialIndex': './src/js/financialIndex.js',
-        // 'technologyTrading/achievement': './src/js/technologyTrading/achievement.js',
-        // 'technologyTrading/demand': './src/js/technologyTrading/demand.js',
         'technologyTrading/achievementDetail': './src/js/technologyTrading/achievementDetail.js',
         'technologyTrading/demandDetail': './src/js/technologyTrading/demandDetail.js',
-        // 'technologyTrading/assessMent': './src/js/technologyTrading/assessMent.js',
-        // 'technologyTrading/achievementOrder': './src/js/technologyTrading/achievementOrder.js',
-        // 'technologyTrading/demandOrder': './src/js/technologyTrading/demandOrder.js',
         'thinkTank/policyDetail': './src/js/thinkTank/policyDetail.js',
         'thinkTank/policyList': './src/js/thinkTank/policyList.js',
         'thinkTank/thinkerDetail': './src/js/thinkTank/thinkerDetail.js',
-        // 'financial/investmentInstitution': './src/js/financial/investmentInstitution.js',
-        // 'financial/investmentDetail': './src/js/financial/investmentDetail.js',
-        // 'service/propertyRight': './src/js/service/propertyRight.js',
-        // 'service/projectDetails': './src/js/service/projectDetails.js',
-        // 'service/purpose': './src/js/service/purpose.js',
-        // 'service/highTechCognizance': './src/js/service/highTechCognizance.js',
         //newsApp
         'news/newsDetailApp': './src/js/news/newsDetailApp.js',
         'news/appCognizance': './src/js/news/appCognizance.js',
@@ -47,14 +30,11 @@ module.exports = {
         'newMenu/continueHigh': './src/js/newMenu/continueHigh.js',
         'newMenu/practicalPatent': './src/js/newMenu/continueHigh.js',
         'newMenu/militaryProject': './src/js/newMenu/continueHigh.js',
-        // 'newMenu/continueHighApp': './src/js/newMenu/continueHighApp.js',
-        // 'newMenu/militaryProjectApp': './src/js/newMenu/continueHighApp.js',
-        // 'newMenu/practicalPatentApp': './src/js/newMenu/continueHighApp.js',
         'newMenu/safeguarding': './src/js/newMenu/safeguarding.js',
-        //app
-        // 'newMenu/app/assessment': './src/js/newMenu/app/assessment.js',
-        // 'newMenu/app/trusteeship': './src/js/newMenu/app/trusteeship.js',
-        // 'newMenu/app/safeguardApp': './src/js/newMenu/app/safeguardApp.js'
+        'evaluation/evaluate': './src/js/newMenu/evaluate.js',
+        'newMenu/adviser': './src/js/newMenu/adviser.js',
+        'newMenu/adviserDetail': './src/js/newMenu/adviserDetail.js',
+        
     },
     watch: {
         'index': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
@@ -65,66 +45,27 @@ module.exports = {
             'webpack/hot/only-dev-server',
             './src/js/aboutUs.js'
         ], 
-        // 'APPaboutUs': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        //     'webpack/hot/only-dev-server',
-        //     './src/js/APPaboutUs.js'
-        // ],  
+      
         'contactUs': ['webpack-dev-server/client?http://192.168.0.188',
             'webpack/hot/only-dev-server',
             './src/js/contactUs.js'
         ],
-        // 'toPayment': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        //     'webpack/hot/only-dev-server',
-        //     './src/js/toPayment.js'
-        // ],
-        // 'service': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        //     'webpack/hot/only-dev-server',
-        //     './src/js/service.js'
-        // ],
+       
         'register': ['webpack-dev-server/client?http://192.168.0.188',
             'webpack/hot/only-dev-server',
             './src/js/register.js'
         ],
-        // 'member': ['webpack-dev-server/client?http://192.168.0.188',
-        //     'webpack/hot/only-dev-server',
-        //     './src/js/member.js'
-        // ],
-        // 'technologyTrading': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        //     'webpack/hot/only-dev-server',
-        //     './src/js/technologyTrading.js'
-        // ],
+       
         'thinkTank': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
             'webpack/hot/only-dev-server',
             './src/js/thinkTank.js'
         ],
-        // 'financialIndex': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        //     'webpack/hot/only-dev-server',
-        //     './src/js/financialIndex.js'
-        // ],
-        // 'technologyTrading/achievement': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        //     'webpack/hot/only-dev-server',
-        //     './src/js/technologyTrading/achievement.js'
-        // ],
-        // 'technologyTrading/demand': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        //     'webpack/hot/only-dev-server',
-        //     './src/js/technologyTrading/demand.js'
-        // ],
+       
         'technologyTrading/achievementDetail': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
             'webpack/hot/only-dev-server',
             './src/js/technologyTrading/achievementDetail.js'
         ],
-        // 'technologyTrading/assessMent': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        //     'webpack/hot/only-dev-server',
-        //     './src/js/technologyTrading/assessMent.js'
-        //  ],   
-        // 'technologyTrading/achievementOrder': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        //     'webpack/hot/only-dev-server',
-        //     './src/js/technologyTrading/achievementOrder.js'
-        // ],
-        // 'technologyTrading/demandOrder': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        //     'webpack/hot/only-dev-server',
-        //     './src/js/technologyTrading/demandOrder.js'
-        // ],
+       
         'technologyTrading/demandDetail': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
             'webpack/hot/only-dev-server',
             './src/js/technologyTrading/demandDetail.js'
@@ -141,30 +82,7 @@ module.exports = {
             'webpack/hot/only-dev-server',
             './src/js/thinkTank/policyList.js'
         ],
-        // 'financial/investmentInstitution': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        //     'webpack/hot/only-dev-server',
-        //     './src/js/financial/investmentInstitution.js'
-        // ],
-        // 'financial/investmentDetail': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        //     'webpack/hot/only-dev-server',
-        //     './src/js/financial/investmentDetail.js'
-        // ],
-        // 'service/highTechCognizance': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        //     'webpack/hot/only-dev-server',
-        //     './src/js/service/highTechCognizance.js'
-        // ],
-        // 'service/propertyRight': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        //     'webpack/hot/only-dev-server',
-        //     './src/js/service/propertyRight.js'
-        // ],
-		// 'service/projectDetails': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        //     'webpack/hot/only-dev-server',
-        //     './src/js/service/projectDetails.js'
-        // ],
-        // 'service/purpose': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        //     'webpack/hot/only-dev-server',
-        //     './src/js/service/purpose.js'
-        // ],
+      
         // newsApp 
         'news/newsDetailApp': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
             'webpack/hot/only-dev-server',
@@ -239,33 +157,22 @@ module.exports = {
         'webpack/hot/only-dev-server',
         './src/js/newMenu/continueHigh.js'
         ],
-        // 'newMenu/continueHighApp': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        // 'webpack/hot/only-dev-server',
-        // './src/js/newMenu/continueHighApp.js'
-        // ],
-        // 'newMenu/militaryProjectApp': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        // 'webpack/hot/only-dev-server',
-        // './src/js/newMenu/continueHighApp.js'
-        // ],
-        // 'newMenu/practicalPatentApp': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        // 'webpack/hot/only-dev-server',
-        // './src/js/newMenu/continueHighApp.js'
-        // ],
+       
         'newMenu/safeguarding': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
         'webpack/hot/only-dev-server',
         './src/js/newMenu/safeguarding.js'
         ],
-        // 'newMenu/app/assessment': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        // 'webpack/hot/only-dev-server',
-        // './src/js/newMenu/app/assessment.js'
-        // ],
-        // 'newMenu/app/trusteeship': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        // 'webpack/hot/only-dev-server',
-        // './src/js/newMenu/app/trusteeship.js'
-        // ],
-        // 'newMenu/app/safeguardApp': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
-        // 'webpack/hot/only-dev-server',
-        // './src/js/newMenu/app/safeguardApp.js'
-        // ]
+        'evaluation/evaluate': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
+        'webpack/hot/only-dev-server',
+        './src/js/newMenu/evaluate.js'
+        ],
+        'newMenu/adviser': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
+        'webpack/hot/only-dev-server',
+        './src/js/newMenu/adviser.js'
+        ],
+        'newMenu/adviserDetail': ['webpack-dev-server/client?http://192.168.0.188', // WebpackDevServer host and port
+        'webpack/hot/only-dev-server',
+        './src/js/newMenu/adviserDetail.js'
+        ],
     }
 };