Sfoglia il codice sorgente

Merge remote-tracking branch 'remotes/origin/developer' into developerB

# Conflicts:
#	src/main/resources/static/js/product/instruement.js
#	src/main/resources/static/js/product/produce-list.js
#	src/main/resources/templates/supplier/list.html
zhengjinyi 4 anni fa
parent
commit
7692d25917
36 ha cambiato i file con 196 aggiunte e 124 eliminazioni
  1. 29 15
      src/main/java/com/caimei/www/controller/RedirectController.java
  2. 0 1
      src/main/java/com/caimei/www/controller/authorized/document/DocumentAuthController.java
  3. 3 0
      src/main/java/com/caimei/www/controller/unlimited/ArticleController.java
  4. 3 2
      src/main/java/com/caimei/www/controller/unlimited/EquipmentController.java
  5. 7 8
      src/main/java/com/caimei/www/controller/unlimited/ProductController.java
  6. 5 4
      src/main/java/com/caimei/www/controller/unlimited/SinglePageController.java
  7. 3 2
      src/main/java/com/caimei/www/controller/unlimited/SupplierController.java
  8. 9 4
      src/main/java/com/caimei/www/service/page/impl/BaseServiceImpl.java
  9. 6 5
      src/main/resources/static/css/product/qualityauthorize.css
  10. 1 1
      src/main/resources/static/js/activity/activityTopic.js
  11. 20 1
      src/main/resources/static/js/base.js
  12. 1 1
      src/main/resources/static/js/document/list.js
  13. 11 10
      src/main/resources/static/js/index.js
  14. 1 1
      src/main/resources/static/js/product/beautytopic.js
  15. 13 5
      src/main/resources/static/js/product/instruement.js
  16. 13 4
      src/main/resources/static/js/product/produce-list.js
  17. 4 1
      src/main/resources/static/js/product/qualityauthorize.js
  18. 1 1
      src/main/resources/static/js/product/temporary.js
  19. 1 1
      src/main/resources/static/js/supplier-center/shop/preview.js
  20. 3 1
      src/main/resources/static/js/supplier/index.js
  21. 1 0
      src/main/resources/static/js/user-center/setting/information.js
  22. 1 1
      src/main/resources/templates/article/components/article-footer.html
  23. 3 3
      src/main/resources/templates/components/footer.html
  24. 11 11
      src/main/resources/templates/components/header.html
  25. 1 1
      src/main/resources/templates/document/details.html
  26. 1 1
      src/main/resources/templates/document/list.html
  27. 1 1
      src/main/resources/templates/document/more-content.html
  28. 1 1
      src/main/resources/templates/equipment/list.html
  29. 3 3
      src/main/resources/templates/product/detail.html
  30. 10 10
      src/main/resources/templates/product/instrument.html
  31. 18 13
      src/main/resources/templates/product/qualityauthorize.html
  32. 1 1
      src/main/resources/templates/shopping/cart.html
  33. 1 1
      src/main/resources/templates/shopping/confirm.html
  34. 4 4
      src/main/resources/templates/single-page/investment.html
  35. 2 2
      src/main/resources/templates/supplier-center/components/tableft.html
  36. 3 3
      src/main/resources/templates/supplier/list.html

+ 29 - 15
src/main/java/com/caimei/www/controller/RedirectController.java

@@ -18,20 +18,19 @@ public class RedirectController {
      */
     @GetMapping("/supplier/prolist-{id}.html")
     public String toSupplier(@PathVariable("id") Integer supplierId) {
-        return "redirect:/supplier/index.html?id=" + supplierId;
+        return "redirect:/supplier-"+ supplierId +".html";
     }
-
     @GetMapping("/web/supplier/view/supplierHomePage.jsp")
     public String toSupplier2(Integer shopId) {
-        return "redirect:/supplier/index.html?id=" + shopId;
+        return "redirect:/supplier-"+ shopId +".html";
     }
-
-    /**
-     * 供应商商品页【旧】
-     */
     @GetMapping("/supplier/productlist-{id}.html")
     public String toSupplierProduct(@PathVariable("id") Integer supplierId) {
-        return "redirect:/supplier/index.html?id=" + supplierId;
+        return "redirect:/supplier-"+ supplierId +".html";
+    }
+    @GetMapping("/supplier/index.html")
+    public String toSupplier3(@RequestParam("id") Integer supplierId) {
+        return "redirect:/supplier-"+ supplierId +".html";
     }
 
     /**
@@ -43,17 +42,25 @@ public class RedirectController {
         if (Integer.valueOf("189").equals(type)) {
             return "redirect:/flea-market/list.html";
         }
-        return "redirect:/topic.html?type=" + type;
+        return "redirect:/topic-"+type+".html";
+    }
+    @GetMapping("/topic.html")
+    public String toTopic2(@RequestParam("type") Integer type) {
+        return "redirect:/topic-"+type+".html";
     }
 
+
     /**
      * 项目仪器详情【旧】
      */
     @GetMapping("/cmpage/info-2-{id}.html")
     public String toequipment(@PathVariable("id") Integer equipmentId) {
-        return "redirect:/equipment/detail.html?id=" + equipmentId;
+        return "redirect:/equipment/"+equipmentId+".html";
+    }
+    @GetMapping("/equipment/detail.html")
+    public String toequipment2(@RequestParam("id") Integer equipmentId) {
+        return "redirect:/equipment/"+equipmentId+".html";
     }
-
     /**
      * 直播页面【旧】
      */
@@ -67,11 +74,15 @@ public class RedirectController {
      */
     @GetMapping("/cmpage/info-4-{id}.html")
     public String toFreePage(@PathVariable("id") Integer id) {
-        return "redirect:/page.html?id=" + id;
+        return "redirect:/page-"+id+".html";
+    }
+    @GetMapping("/page.html")
+    public String toFreePage2(Integer id) {
+        return "redirect:/page-"+id+".html";
     }
 
     /**
-     * 分类详情
+     * 产品仪器
      */
     @GetMapping("/cmpage/info-5-{id}.html")
     public String classificationDetails(@PathVariable("id") Integer id,String name) {
@@ -79,9 +90,12 @@ public class RedirectController {
         if (id == 301) {
             return "redirect:/product/temporary.html?id=" + id + "&name=" + name;
         }
-        return "redirect:/product/instrument.html?id=" + id+"&name="+name;
+        return "redirect:/product/type-"+id+".html?name="+name;
+    }
+    @GetMapping("/product/instrument.html")
+    public String classificationDetails2(Integer id) {
+        return "redirect:/product/type-"+id+".html";
     }
-
 
     /**
      * 活动专题

+ 0 - 1
src/main/java/com/caimei/www/controller/authorized/document/DocumentAuthController.java

@@ -7,7 +7,6 @@ import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.http.ResponseEntity;
 import org.springframework.http.server.reactive.ServerHttpRequest;
 import org.springframework.http.server.reactive.ServerHttpResponse;
-import org.springframework.scheduling.annotation.Scheduled;
 import org.springframework.util.StringUtils;
 import org.springframework.web.bind.annotation.*;
 import reactor.core.publisher.Mono;

+ 3 - 0
src/main/java/com/caimei/www/controller/unlimited/ArticleController.java

@@ -42,6 +42,7 @@ public class ArticleController extends BaseController {
         model.addAttribute("articleType", typeList);
         model.addAttribute("typeId", id);
         model.addAttribute("labelId", 0);
+        //model.addAttribute("pagePath", String.format("/info/center-%s-1.html", id));
         return ARTICLE_LIST_PATH;
     }
 
@@ -54,6 +55,7 @@ public class ArticleController extends BaseController {
         model.addAttribute("articleType", typeList);
         model.addAttribute("typeId", 0);
         model.addAttribute("labelId", id);
+        //model.addAttribute("pagePath", String.format("/info/label-%s-1.html", id));
         return ARTICLE_LIST_PATH;
     }
 
@@ -66,6 +68,7 @@ public class ArticleController extends BaseController {
         model.addAttribute("articleType", typeList);
         model.addAttribute("typeId", 0);
         model.addAttribute("labelId", 0);
+        //model.addAttribute("pagePath", "/info/search.html");
         return ARTICLE_LIST_PATH;
     }
 

+ 3 - 2
src/main/java/com/caimei/www/controller/unlimited/EquipmentController.java

@@ -9,6 +9,7 @@ import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Controller;
 import org.springframework.ui.Model;
 import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
 import org.springframework.web.bind.annotation.RequestParam;
 import org.springframework.web.bind.annotation.ResponseBody;
 
@@ -45,8 +46,8 @@ public class EquipmentController extends BaseController {
     /**
      * 项目仪器详情页
      */
-    @GetMapping("/equipment/detail.html")
-    public String home(final Model model, @RequestParam("id") Integer equipmentId) {
+    @GetMapping("/equipment/{id}.html")
+    public String home(final Model model, @PathVariable("id") Integer equipmentId) {
         PageContent detail = equipmentService.getEquipmentById(equipmentId);
         if(detail== null){
             return super.errorPath();

+ 7 - 8
src/main/java/com/caimei/www/controller/unlimited/ProductController.java

@@ -1,7 +1,6 @@
 package com.caimei.www.controller.unlimited;
 
 import com.caimei.www.controller.BaseController;
-import com.caimei.www.pojo.page.PageContent;
 import com.caimei.www.pojo.page.ProductDetail;
 import com.caimei.www.service.page.ProductService;
 import com.caimei.www.service.page.SinglePageService;
@@ -10,7 +9,6 @@ import org.springframework.stereotype.Controller;
 import org.springframework.ui.Model;
 import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.PathVariable;
-import org.springframework.web.bind.annotation.RequestParam;
 
 /**
  * 商品(product)
@@ -49,7 +47,7 @@ public class ProductController extends BaseController {
     }
 
     /**
-     * 商品分类列表/搜索结果 页面
+     * 搜索结果 页面
      */
     @GetMapping("/product/list.html")
     public String list() {
@@ -81,12 +79,13 @@ public class ProductController extends BaseController {
     /**
      * 仪器页
      */
-    @GetMapping("/product/instrument.html")
-    public String instrument(Integer id) {
+    @GetMapping("/product/type-{id}.html")
+    public String instrument(final Model model, @PathVariable("id") Integer id) {
         Integer pageId = singlePageService.getInstrumentPageIdById(id);
         if (pageId == null) {
             return super.errorPath();
         }
+        model.addAttribute("pageId", id);
         return INSTRUMENT_PAGE_PATH;
     }
 
@@ -103,10 +102,10 @@ public class ProductController extends BaseController {
     }
 
     /**
-     * 仪器列表页
+     * 商品分类列表页面
      */
-    @GetMapping("/product/instruelist.html")
-    public String instruelist() {
+    @GetMapping("/product/classify{ids}.html")
+    public String instruelist(@PathVariable("ids") String ids) {
         return INSTRUMENT_LIST_PATH;
     }
 

+ 5 - 4
src/main/java/com/caimei/www/controller/unlimited/SinglePageController.java

@@ -12,6 +12,7 @@ import org.springframework.http.server.reactive.ServerHttpResponse;
 import org.springframework.stereotype.Controller;
 import org.springframework.ui.Model;
 import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
 import org.springframework.web.bind.annotation.RequestParam;
 import org.springframework.web.bind.annotation.ResponseBody;
 import reactor.core.publisher.Mono;
@@ -50,8 +51,8 @@ public class SinglePageController extends BaseController {
     /**
      * 二级页面(找产品/找仪器/找项目/正品联盟)
      */
-    @GetMapping("/topic.html")
-    public String topic(final Model model, @RequestParam("type") Integer id) {
+    @GetMapping("/topic-{id}.html")
+    public String topic(final Model model, @PathVariable("id") Integer id) {
         PageContent topicPage = singlePageService.getTopicPageById(id);
         if (topicPage == null){
             return super.errorPath();
@@ -71,8 +72,8 @@ public class SinglePageController extends BaseController {
     /**
      * 自由页面
      */
-    @GetMapping("/page.html")
-    public String freePage(final Model model, Integer id) {
+    @GetMapping("/page-{id}.html")
+    public String freePage(final Model model, @PathVariable("id") Integer id) {
         PageContent freePage = singlePageService.getFreePageById(id);
         if (freePage == null){
             return super.errorPath();

+ 3 - 2
src/main/java/com/caimei/www/controller/unlimited/SupplierController.java

@@ -7,6 +7,7 @@ import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Controller;
 import org.springframework.ui.Model;
 import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
 import org.springframework.web.bind.annotation.RequestParam;
 
 
@@ -39,8 +40,8 @@ public class SupplierController extends BaseController {
     /**
      * 供应商首页
      */
-    @GetMapping("/supplier/index.html")
-    public String home(final Model model, @RequestParam("id") Integer supplierId) {
+    @GetMapping("/supplier-{id}.html")
+    public String home(final Model model, @PathVariable("id") Integer supplierId) {
         SupplierDetail detail = supplierService.getSupplierById(supplierId);
         if(detail== null){
             return super.errorPath();

+ 9 - 4
src/main/java/com/caimei/www/service/page/impl/BaseServiceImpl.java

@@ -60,10 +60,15 @@ public class BaseServiceImpl implements BaseService {
         menuList.forEach(item -> {
             String link = item.getLink();
             if (!StringUtils.isEmpty(link)) {
-                if (link.contains("?")) {
-                    link = link + "&name=" + item.getName();
-                } else {
-                    link = link + "?name=" + item.getName();
+                boolean seoFlag = link.indexOf("/product/type") >= 0 || link.indexOf("/info/center") >= 0
+                              || link.indexOf("/flea-market") >= 0 || link.indexOf("/investment") >= 0
+                              || link.indexOf("/repair") >= 0;
+                if (!seoFlag) {
+                    if (link.contains("?")) {
+                        link = link + "&name=" + item.getName();
+                    } else {
+                        link = link + "?name=" + item.getName();
+                    }
                 }
                 item.setLinkType(AppletsLinkUtil.getLinkType(link));
                 item.setLinkParam(AppletsLinkUtil.getLinkParam(item.getLinkType(), link));

+ 6 - 5
src/main/resources/static/css/product/qualityauthorize.css

@@ -20,8 +20,8 @@ ul{margin:0;padding:0;list-style-type:none}
 .container-content .content-top-left{width:50%;float:left;height:100%}
 .container-main{width:1184px;height:590px;margin:0 auto;padding:25px;background:#FFF;border-radius:2px;-webkit-box-sizing:border-box;box-sizing:border-box}
 .container-main .img-box{float:left;position:relative;width:540px;height:540px;border:1px solid #ececec;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}
-.container-main .img-box .origin-logo-box{text-align:center;width:140px;position:absolute;top:45px;left:26px;z-index:10}
-.container-main .img-box .product-brand{max-width:140px;height:auto}
+.container-main .img-box .origin-logo-box{text-align:center;width:80px;position:absolute;top:26px;left:26px;z-index:10}
+.container-main .img-box .product-brand{max-width:80px;height:auto}
 .container-main .img-box .product-img{width:100%;height:100%}
 .container-main .img-box .product-authorize{width:72px;height:72px;position:absolute;bottom:20px;right:30px;z-index:10}
 .product-desc{width:570px;line-height:30px;color:#101010;float:right}
@@ -30,6 +30,7 @@ ul{margin:0;padding:0;list-style-type:none}
 .product-desc .pink-box a{color:#bc1724}
 .product-desc .default-box{padding:10px 0;border-top:1px solid #eee;border-bottom:1px solid #eee}
 .product-desc .dls{color:#999}
+.product-desc .statement{padding-right: 15px;text-align: right}
 .product-desc .statement a{color:#bc1724}
 .product-desc .statement a .icon-wenhao{font-weight: bold;margin-left: 5px}
 /*.product-desc .statement a::after{content:'?';display:inline-block;width:14px;height:14px;text-align:center;line-height:16px;font-size:14px;border:1px solid #bc1724;border-radius:50%;margin-left:5px}*/
@@ -72,14 +73,14 @@ ul{margin:0;padding:0;list-style-type:none}
 .container-main{width:100vw}
 .container-main .img-box{width:100vw;position:relative}
 .container-main .product-img{width:100vw}
-.container-main .img-box .origin-logo-box{position:absolute;top:4vw;left:4vw;max-width:30vw;text-align:center;z-index:9}
-.container-main .img-box .origin-logo-box img{max-width:30vw}
+.container-main .img-box .origin-logo-box{position:absolute;top:4vw;left:4vw;max-width:16vw;text-align:center;z-index:9}
+.container-main .img-box .origin-logo-box img{max-width:16vw}
 .container-main .img-box .product-authorize{width:13.8vw;height:13.8vw;position:absolute;bottom:3.2vw;right:4vw}
 .product-desc a{color:#bc1724}
 .product-desc h3{background:-o-linear-gradient(left,#101010,#404040);background:-webkit-gradient(linear,left top,right top,from(#101010),to(#404040));background:linear-gradient(to right,#101010,#404040);color:#fefefe;padding:4vw;font-size:4.4vw}
 .product-desc .pink-box{padding:3.2vw 4vw;background:rgb(251,241,242);color:#bc1724;line-height:8vw}
 .product-desc .default-box{width:92.3vw;margin:0 auto;padding:3.2vw 0;border-bottom:0.4vw solid #eee;line-height:8vw}
-.product-desc .statement a{display:block;padding-right:20px;width:23.6vw;}
+.product-desc .statement a{display:block;text-align: right}
 .product-desc .statement a .icon-wenhao{font-weight: bold;margin-left: 5px;}
 .product-desc p{padding:3.2vw 4vw;line-height:6vw}
 .product-desc .sn-number{padding:3.2vw 0;background:#f5f5f5}

+ 1 - 1
src/main/resources/static/js/activity/activityTopic.js

@@ -57,7 +57,7 @@ var activity = new Vue({
             }
         },
         toserch: function (item) {
-            window.location.href = '/product/instruelist.html?bigTypeID=' + item.bigTypeID + '&typeSort=' + this.typeSort + '&name=' + this.nav_linkName
+            window.location.href = '/product/classify-'+this.typeSort+'-'+item.bigTypeID+'.html?name='+this.nav_linkName
         },
         //查看更多
         showMore: function (page) {

+ 20 - 1
src/main/resources/static/js/base.js

@@ -142,7 +142,7 @@ var globalHead = new Vue({
             });
         },
         pageLinkSupplier: function(){//预览商品
-            window.open('/supplier/index.html?id='+this.shopId);
+            window.open('/supplier-'+this.shopId+'.html');
         },
         // 退出登录
         userLogOut: function(){
@@ -200,6 +200,25 @@ var globalHead = new Vue({
         }
         console.log('hello')
         _self.nav_linkName = decodeURI(CAIMEI.getUrlParam('name'));
+        if(!_self.nav_linkName || _self.nav_linkName.length === 0 || _self.nav_linkName == "undefined") {
+             var paramsArr = window.location.pathname.split(".")[0].split("-");
+             if (paramsArr[0].indexOf('/product/type') >= 0) {
+                 var pageId =  paramsArr.length>=1 ? paramsArr[1] : '';
+                 if (pageId*1 === 287) {
+                    _self.nav_linkName = "产品";
+                 } else if (pageId*1 === 286) {
+                    _self.nav_linkName = "仪器";
+                 }
+             } else if (paramsArr[0].indexOf('/info/center') >= 0){
+                _self.nav_linkName = "信息平台";
+             } else if (paramsArr[0].indexOf('/flea-market') >= 0 && (paramsArr.length>=1 && paramsArr[1].indexOf('market') >= 0)){
+                _self.nav_linkName = "二手市场";
+             } else if (paramsArr[0].indexOf('/investment') >= 0){
+                _self.nav_linkName = "品牌招商";
+             } else if (paramsArr[0].indexOf('/repair') >= 0){
+                _self.nav_linkName = "维修";
+             }
+        }
         // _self.nav_linkName = window.localStorage.getItem('name');
         setTimeout(function(){
             $('.navBox li').each(function () {

+ 1 - 1
src/main/resources/static/js/document/list.js

@@ -61,7 +61,7 @@ var documentList = new Vue({
         },
         supplierDetails:function(id){//供应商主页
             if(id){
-                location.href = '/supplier/index.html?id='+id;
+                location.href = '/supplier-'+id+'.html';
             }
         },
         keyupSearch: function(event) {

+ 11 - 10
src/main/resources/static/js/index.js

@@ -321,16 +321,17 @@ var homeData = new Vue({
         $('#advertising').on('click','.close',function () {
             $(this).parents('.item').hide();
         });
-        var isActivityStatus =  localStorage.getItem('isActivityStatus');
-        //新加优惠券弹窗
-        if(isActivityStatus){
-            var  lockTime = localStorage.getItem('lockTime');
-            _this.popupFlag = this.diffTime(lockTime);
-        }else{
-            setTimeout(function () {
-                 _this.popupFlag = true;
-            },1000);
-        }
+        // var isActivityStatus =  localStorage.getItem('isActivityStatus');
+        // //新加优惠券弹窗
+        // if(isActivityStatus){
+        //     var  lockTime = localStorage.getItem('lockTime');
+        //     var  eTime = this.diffTime(lockTime);
+        //     _this.showflag = eTime;
+        // }else{
+        //     setTimeout(function () {
+        //          _this.showflag = true;
+        //     },1000);
+        // }
     }
 });
 

+ 1 - 1
src/main/resources/static/js/product/beautytopic.js

@@ -81,7 +81,7 @@ var beautytopic = new Vue({
             }
         },
         gosupplier:function (id) {
-            window.location.href='/supplier/index.html?id='+id
+            window.location.href='/supplier-'+id+'.html';
         },
         bigImag:function (img) {
             this.image = img;

+ 13 - 5
src/main/resources/static/js/product/instruement.js

@@ -14,7 +14,8 @@
             userId:'',
             source:1
          },
-         nav_linkName:''
+         nav_linkName:'',
+         isPC:window.isPC
     },
     filters:{
          NumFormat:function(value) {//处理金额
@@ -49,7 +50,7 @@
             }
         },
         toserch:function(item){
-            window.location.href='/product/instruelist.html?bigTypeID='+item.bigTypeId+'&typeSort='+this.typeSort+'&name='+this.nav_linkName
+            window.location.href='/product/classify-'+this.typeSort+'-'+item.bigTypeID+'.html?name='+this.nav_linkName
         },
         seeMore:function(page){
              page.isPageMore = !page.isPageMore;
@@ -150,13 +151,20 @@
     },
     mounted: function(){
         var _self = this;
-         _self.nav_linkName = decodeURI(CAIMEI.getUrlParam('name'));
-         console.log(_self.nav_linkName);
+         //_self.nav_linkName = decodeURI(CAIMEI.getUrlParam('name'));
          var userInfo = localStorage.getItem('userInfo');
          if(userInfo){
              this.params.userId = JSON.parse(userInfo).userId;
          }
-         this.params.pageId = getUrlParam('id');
+         //this.params.pageId = getUrlParam('id');
+         var paramsArr = window.location.pathname.split(".")[0].split("-");
+         this.params.pageId =  paramsArr.length>=1 ? paramsArr[1] : '';
+         if (this.params.pageId*1 === 287) {
+            _self.nav_linkName = "产品";
+         } else if (this.params.pageId*1 === 286) {
+            _self.nav_linkName = "仪器";
+         }
+         console.log(_self.nav_linkName);
          this.GetHomeFloorData();
     }
  })

+ 13 - 4
src/main/resources/static/js/product/produce-list.js

@@ -185,9 +185,17 @@ var productList = new Vue({
     mounted:function () {
         var _self = this;
         this.nav_linkName = decodeURI(CAIMEI.getUrlParam('name'));
-        this.bigTypeID = getUrlParam('bigTypeID');
-        this.smallTypeID = getUrlParam('smallTypeID');
-        this.tinyTypeID = getUrlParam('tinyTypeID');
+        // this.bigTypeID = getUrlParam('bigTypeID');
+        // this.smallTypeID = getUrlParam('smallTypeID');
+        // this.tinyTypeID = getUrlParam('tinyTypeID');
+        // var typeSort =  getUrlParam('typeSort');
+        var paramsArr = window.location.pathname.split(".")[0].split("-");
+        var typeSort =  paramsArr.length>=1 ? paramsArr[1] : '';
+        this.bigTypeID = paramsArr.length>=2 ? paramsArr[2] : '';
+        this.smallTypeID = paramsArr.length>=3 ? paramsArr[3] : '';
+        this.tinyTypeID = paramsArr.length>=4 ? paramsArr[4] : '';
+        console.log( this.smallTypeID)
+        console.log( this.tinyTypeID)
         if(this.tinyTypeID==null &&  this.smallTypeID==null){
             this.params.id=this.bigTypeID;
             this.params.idType = 1;
@@ -201,7 +209,8 @@ var productList = new Vue({
             this.params.id=this.tinyTypeID;
             this.params.idType = 3;
         }
-        var typeSort =  getUrlParam('typeSort');
+
+
         PublicApi.GetProductClassify({typeSort:typeSort,source:'www'},function (res) {
                 if (res.code==0){
                     _self.classify = res.data;

+ 4 - 1
src/main/resources/static/js/product/qualityauthorize.js

@@ -7,7 +7,7 @@ var qualityAuthorize = new Vue({
         //是否显示声明对话框
         showStatement:false,
         //是否为手机屏幕
-        isMobile:false,
+        isPC:window.isPC,
         //产品id
         productId:'5',
         //产品参数对象
@@ -41,6 +41,9 @@ var qualityAuthorize = new Vue({
                 if(res.code === 0){
                     _that.parameters = res.data;
                     console.log(_that.parameters)
+                }else{
+                    //如果该产品不存在,跳转到404页面
+                    window.location.href = '/404.html'
                 }
            });
         },

+ 1 - 1
src/main/resources/static/js/product/temporary.js

@@ -49,7 +49,7 @@
             }
         },
         toserch:function(item){
-            window.location.href='/product/instruelist.html?bigTypeID='+item.bigTypeID+'&typeSort='+this.typeSort+'&name='+this.nav_linkName
+            window.location.href='/product/classify-'+this.typeSort+'-'+item.bigTypeID+'.html?name='+this.nav_linkName
         },
         seeMore:function(page){
              page.isPageMore = !page.isPageMore;

+ 1 - 1
src/main/resources/static/js/supplier-center/shop/preview.js

@@ -37,7 +37,7 @@ var previewContainer = new Vue({
             this.tabIndex = index;
         },
         homePageFn: function(){
-            window.open('/supplier/index.html?id='+this.shopId);
+            window.open('/supplier-'+this.shopId+'.html');
         },
         toFixedFn: function(text){
             return Number(text).toFixed(2);

+ 3 - 1
src/main/resources/static/js/supplier/index.js

@@ -166,7 +166,9 @@ var supplierHome = new Vue({
         }
     },
     created: function () {
-        this.params.id = getUrlParam("id") ? getUrlParam("id") * 1 : 0;
+        // this.params.id = getUrlParam("id") ? getUrlParam("id") * 1 : 0;
+        var paramsArr = window.location.pathname.split(".")[0].split("-");
+        this.params.id =  paramsArr.length>=1 ? paramsArr[1]*1 : 0;
         if(this.params.id !== 0) {
             this.getShopInfo();
             this.getBanners();

+ 1 - 0
src/main/resources/static/js/user-center/setting/information.js

@@ -306,6 +306,7 @@ var informationPage = new Vue({
             var inputDOM = _self.$refs.businessLicenseImage;
             var file = inputDOM.files;
             _self.formData.append('file', file[0]);
+            console.log(file)
             PublicApi.uploadimg(_self.formData,function(response){
                 _self.clubUpgradeUser.businessLicense = response.data;
                 event.target.value = '';

+ 1 - 1
src/main/resources/templates/article/components/article-footer.html

@@ -4,7 +4,7 @@
         <div class="logo"><img src="/img/info/foot-logo.png" /></div>
         <div class="dizhi">
             <p>Copyright©2015-2021 CAIMEI365.com All Rights Reserved.</p>
-            <p>深圳市采美网络信息有限公司版权所有<a href="https://beian.miit.gov.cn" target="_blank" style="color:#FFF;text-decoration:underline;">粤ICP备14019824号</a></p>
+            <p>深圳市采美网络信息有限公司版权所有<a href="https://beian.miit.gov.cn" target="_blank" rel="nofollow" style="color:#FFF;text-decoration:underline;">粤ICP备14019824号</a></p>
             <span>
                 <!-- CNZZ统计 start -->
                 <script type="text/javascript">document.write(unescape("%3Cspan id='cnzz_stat_icon_1279558759'%3E%3C/span%3E%3Cscript src='https://s9.cnzz.com/z_stat.php%3Fid%3D1279558759%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>

+ 3 - 3
src/main/resources/templates/components/footer.html

@@ -65,7 +65,7 @@
             <div class="item icon mIcon">
                 <p><span>Copyright © 2015-2021 CAIMEI365.com All Rights Reserved.</span><span>深圳市采美网络信息有限公司</span></p>
                 <p>
-                    <span>粤B1-20160129 备案号 <a href="https://beian.miit.gov.cn" target="_blank" style="color:#FFF;text-decoration:underline;">粤ICP备14019824号</a></span>
+                    <span>粤B1-20160129 备案号 <a href="https://beian.miit.gov.cn" target="_blank" rel="nofollow" style="color:#FFF;text-decoration:underline;">粤ICP备14019824号</a></span>
                     <span>中华人民共和国增值电信业务经营许可证</span>
                     <span>
                         <!-- CNZZ统计 start -->
@@ -81,8 +81,8 @@
             <span class="phone icon mIcon">咨询热线</span>
             <div class="phoneHover mFixed">
                 <div>
-                    <p><a href="tel:075522907771">0755-22907771<i class="h5Only">点击咨询</i></a></p>
-                    <p><a href="tel:15338851365">153-3885-1365<i class="h5Only">点击咨询</i></a></p>
+                    <p><a href="tel:075522907771" rel="nofollow">0755-22907771<i class="h5Only">点击咨询</i></a></p>
+                    <p><a href="tel:15338851365" rel="nofollow">153-3885-1365<i class="h5Only">点击咨询</i></a></p>
                     <p><span>工作日</span></p>
                     <p>周一 ~ 周五 / 09:00~18:00</p>
                     <i class="close"></i>

+ 11 - 11
src/main/resources/templates/components/header.html

@@ -37,12 +37,12 @@
                     <a class="cTab" href="javascript:void(0);" v-if="userIdentity == 3" v-text="userData.name"></a>
                     <a class="cTab" href="javascript:void(0);" v-else v-text="userData.name"></a>
                     <div class="cShow" v-if="userIdentity == 4 || userIdentity == 2">
-                        <a href="/user/dashboard.html">我的采美</a>
-                        <a href="/user/setting/information.html">机构资料</a>
+                        <a href="/user/dashboard.html" rel="nofollow">我的采美</a>
+                        <a href="/user/setting/information.html" rel="nofollow">机构资料</a>
                         <a href="javascript:void(0);" @click="userLogOut()">退出登录</a>
                     </div>
                     <div class="cShow" v-if="userIdentity == 3">
-                        <a href="/supplier/dashboard.html">我的采美</a>
+                        <a href="/supplier/dashboard.html" rel="nofollow">我的采美</a>
                         <a href="javascript:void(0);" @click="pageLinkSupplier()">店铺管理</a>
                         <a href="javascript:void(0);" @click="userLogOut()">退出登录</a>
                     </div>
@@ -63,9 +63,9 @@
                 <img class="h5Only" src="/img/base/logo_m.png" alt="采美 生美/医美采购服务平台"/>
             </a>
             <div class="mf h5Only mUserCenter">
-                <a :href="loginStatus?'/shopping/cart.html':'javascript:void(0);'" :class="loginStatus?'mAddCart mIcon':'mAddCart mIcon toLogin'" title="购物车"></a>
-                <a v-if="loginStatus" @click="showGlobalMenu()" class="mUserIcon mIcon" href="javascript:void(0);" title="个人中心"></a>
-                <a v-else class="mUserIcon mIcon toLogin" href="javascript:void(0);" title="个人中心"></a>
+                <a :href="loginStatus?'/shopping/cart.html':'javascript:void(0);'" :class="loginStatus?'mAddCart mIcon':'mAddCart mIcon toLogin'" title="购物车" rel="nofollow"></a>
+                <a v-if="loginStatus" @click="showGlobalMenu()" class="mUserIcon mIcon" href="javascript:void(0);" title="个人中心" rel="nofollow"></a>
+                <a v-else class="mUserIcon mIcon toLogin" href="javascript:void(0);" title="个人中心" rel="nofollow"></a>
             </div>
             <div class="searchBox" id="topSearch">
                 <div class="search">
@@ -150,7 +150,7 @@
                                 <th:block th:if="${big.containsKey('smallTypeList')} and ${big.get('smallTypeList')!=null}">
                                 <div class="line" th:each="small : *{smallTypeList}" th:object="${small}">
                                     <div class="lft show">
-                                        <a th:href="'/product/instruelist.html?bigTypeId=' + *{bigTypeId} +'&smallTypeId='+*{smallTypeId} + '&typeSort=' + ${big.getString('typeSort')}" target="_blank">
+                                        <a th:href="'/product/classify-'+${big.getString('typeSort')}+'-' + *{bigTypeId} +'-'+*{smallTypeId} + '.html'" target="_blank">
                                             <span v-if="isPC"> > </span>
                                             <p th:text="*{name}"></p>
                                         </a>
@@ -158,14 +158,14 @@
                                     <div class="rgt mfw" >
                                         <th:block th:if="${small.containsKey('tinyTypeList')} and ${small.get('smallTypeList')!=null}">
                                             <th:block th:each="tiny : *{tinyTypeList}" th:object="${tiny}">
-                                            <a th:href="'/product/instruelist.html?bigTypeId=' + ${big.getString('bigTypeId')} +'&smallTypeId='+*{smallTypeId} + '&tinyTypeID=' + *{tinyTypeId} + '&typeSort=' + ${big.getString('typeSort')}" target="_blank">
+                                            <a th:href="'/product/classify-'+ ${big.getString('typeSort')} +'-'+ ${big.getString('bigTypeId')} +'-'+ *{smallTypeId} +'-'+ *{tinyTypeId} + '.html'" target="_blank">
                                                 <img v-if="!isPC" th:src="*{crmIcon}" alt="*{name}">
                                                 <p th:text="*{name}"></p>
                                             </a>
                                             </th:block>
                                         </th:block>
                                         <th:block th:unless="${small.containsKey('tinyTypeList')} and ${small.get('smallTypeList')!=null}">
-                                            <a th:href="'/product/instruelist.html?bigTypeId=' + *{bigTypeId} +'&smallTypeId='+*{smallTypeId} + '&typeSort=' + ${big.getString('typeSort')}" target="_blank">
+                                            <a th:href="'/product/classify-'+ ${big.getString('typeSort')} +'-'+ *{bigTypeId} +'-'+ *{smallTypeId} + '.html'" target="_blank">
                                                 <img v-if="!isPC" th:src="*{crmIcon}" alt="全部商品"><p>全部商品</p>
                                             </a>
                                         </th:block>
@@ -174,13 +174,13 @@
                                 </th:block>
                                 <div class="line" th:unless="${big.containsKey('smallTypeList')} and ${big.get('smallTypeList')!=null}">
                                     <div class="lft none">
-                                        <a th:href="'/product/instruelist.html?bigTypeId=' + *{bigTypeId} + '&typeSort=' + ${big.getString('typeSort')}" target="_blank">
+                                        <a th:href="'/product/classify-'+ ${big.getString('typeSort')} +'-'+ *{bigTypeId} +'.html'" target="_blank">
                                             <span v-if="isPC"> > </span>
                                             <p th:text="*{name}"></p>
                                         </a>
                                     </div>
                                     <div class="rgt mfw" >
-                                        <a th:href="'/product/instruelist.html?bigTypeId=' + *{bigTypeId} + '&typeSort=' + ${big.getString('typeSort')}" target="_blank">
+                                        <a th:href="'/product/classify-'+ ${big.getString('typeSort')} +'-'+ *{bigTypeId} +'.html'" target="_blank">
                                             <img v-if="!isPC" th:src="*{crmIcon}" alt="全部商品"><p>全部商品</p>
                                         </a>
                                     </div>

+ 1 - 1
src/main/resources/templates/document/details.html

@@ -57,7 +57,7 @@
         <div class="wrap copyright clear">
             <div class="item icon mIcon">
                 <p><span>Copyright © 2015-2021 CAIMEI365.com All Rights Reserved.</span><span>深圳市采美网络信息有限公司</span></p>
-                <p><span>粤B1-20160129 备案号 <a href="https://beian.miit.gov.cn" target="_blank" style="color:#FFF;text-decoration:underline;">粤ICP备14019824号</a></span><span>中华人民共和国增值电信业务经营许可证</span></p>
+                <p><span>粤B1-20160129 备案号 <a href="https://beian.miit.gov.cn" target="_blank" rel="nofollow" style="color:#FFF;text-decoration:underline;">粤ICP备14019824号</a></span><span>中华人民共和国增值电信业务经营许可证</span></p>
             </div>
         </div>
     </div>

+ 1 - 1
src/main/resources/templates/document/list.html

@@ -58,7 +58,7 @@
         <div class="wrap copyright clear">
             <div class="item icon mIcon">
                 <p><span>Copyright © 2015-2021 CAIMEI365.com All Rights Reserved.</span><span>深圳市采美网络信息有限公司</span></p>
-                <p><span>粤B1-20160129 备案号 <a href="https://beian.miit.gov.cn" target="_blank" style="color:#FFF;text-decoration:underline;">粤ICP备14019824号</a></span><span>中华人民共和国增值电信业务经营许可证</span></p>
+                <p><span>粤B1-20160129 备案号 <a href="https://beian.miit.gov.cn" target="_blank" rel="nofollow" style="color:#FFF;text-decoration:underline;">粤ICP备14019824号</a></span><span>中华人民共和国增值电信业务经营许可证</span></p>
             </div>
         </div>
     </div>

+ 1 - 1
src/main/resources/templates/document/more-content.html

@@ -56,7 +56,7 @@
         <div class="wrap copyright clear">
             <div class="item icon mIcon">
                 <p><span>Copyright © 2015-2021 CAIMEI365.com All Rights Reserved.</span><span>深圳市采美网络信息有限公司</span></p>
-                <p><span>粤B1-20160129 备案号 <a href="https://beian.miit.gov.cn" target="_blank" style="color:#FFF;text-decoration:underline;">粤ICP备14019824号</a></span><span>中华人民共和国增值电信业务经营许可证</span></p>
+                <p><span>粤B1-20160129 备案号 <a href="https://beian.miit.gov.cn" target="_blank" rel="nofollow" style="color:#FFF;text-decoration:underline;">粤ICP备14019824号</a></span><span>中华人民共和国增值电信业务经营许可证</span></p>
             </div>
         </div>
     </div>

+ 1 - 1
src/main/resources/templates/equipment/list.html

@@ -28,7 +28,7 @@
     <div v-else class="equipmentList">
         <ul class="clear mfw">
             <li class="equipmentItem" v-for="ins in listData">
-                <a :href="'/equipment/detail.html?id='+ins.id" target="_blank">
+                <a :href="'/equipment/'+ins.id+'.html" target="_blank">
                     <img src="/img/base/placeholder.png" :data-original="ins.image">
                     <span class="name" v-html="ins.name"></span>
                 </a>

+ 3 - 3
src/main/resources/templates/product/detail.html

@@ -206,7 +206,7 @@
     </div>
     <div class="wrap clear">
         <div v-if="!isPC" class="mShopBox">
-            <a th:href="@{'/supplier/index.html?id=' + ${product.shopId}}">
+            <a th:href="@{'/supplier-'+${product.shopId}+'.html'}">
                 <span class="name"><em th:text="${product.shopTitle}"></em><i th:if="not${#strings.isEmpty(product.license)}" class="icon mIcon shop"></i></span>
                 <span>经营范围:<em th:text="${product.businessScope}"></em></span>
                 <span>所在地区:<em th:text="${product.shopAddress}"></em></span>
@@ -261,7 +261,7 @@
             <div class="shopBox">
                 <div class="hd">供应商信息</div>
                 <div class="bd">
-                    <a th:href="@{'/supplier/index.html?id=' + ${product.shopId}}">
+                    <a th:href="@{'/supplier-'+ ${product.shopId} +'.html'}">
                         <div class="name"><span th:text="${product.shopTitle}"></span><i th:if="not${#strings.isEmpty(product.license)}" class="icon shop"></i></div>
                     </a>
                     <template th:if="not${#strings.isEmpty(product.businessScope)}">
@@ -273,7 +273,7 @@
                         <div class="con" th:text="${product.shopAddress}"></div>
                     </template>
                     <div class="tit">满意度:<i th:each="i:${#numbers.sequence(1,5)}" class="icon heart"></i></div>
-                    <a th:href="@{'/supplier/index.html?id=' + ${product.shopId}}" class="btn">查看主页</a>
+                    <a th:href="@{'/supplier-'+ ${product.shopId} +'.html'}" class="btn">查看主页</a>
                 </div>
             </div>
             <div class="contact">

+ 10 - 10
src/main/resources/templates/product/instrument.html

@@ -53,7 +53,7 @@
                                     <div class="section_page_main clear mfw" :class="page.isPageMore ? '' : 'max'">
                                         <a  class="img01 page_main_item" :href="page.floorContent.adsLink1!='' ? page.floorContent.adsLink1 : 'javascript:void(0)'"
                                         :class="page.floorContent.adsLink1!='' ? '' : 'default' " >
-                                        <img :src="page.floorContent.pcAdsImage1"/></a>
+                                        <img :src="isPC?page.floorContent.pcAdsImage1:page.floorContent.appletsAdsImage1"/></a>
                                         <a class="productItem" :href="pros.link" v-for="(pros,index) in page.floorImageList" >
                                             <img :src="pros.image ? pros.image : '/img/base/placeholder.png'" :data-original="pros.image" :alt="pros.name">
                                             <span class="brand" v-if="pros.listType == 2">{{ pros.label }}</span>
@@ -124,8 +124,8 @@
                                     <div class="section_page_main clear mfw" :class="page.isPageMore ? '' : 'max'">
                                         <a :href="page.floorContent.adsLink1!='' ? page.floorContent.adsLink1 : 'javascript:void(0)'"
                                         class="img01 page_main_item" :class="page.floorContent.adsLink1!='' ? '' : 'default' ">
-                                        <img  :src="page.floorContent.pcAdsImage1" alt=""> </a>
-                                        <a :href="page.floorContent.adsLink2" class="img02 page_main_item"><img  :src="page.floorContent.pcAdsImage2" alt=""> </a>
+                                        <img  :src="isPC?page.floorContent.pcAdsImage1:page.floorContent.appletsAdsImage1" alt=""> </a>
+                                        <a :href="page.floorContent.adsLink2" class="img02 page_main_item"><img  :src="isPC?page.floorContent.pcAdsImage2:page.floorContent.appletsAdsImage2" alt=""> </a>
                                         <a class="productItem" :href="pros.link"  v-for="(pros,index) in page.floorImageList">
                                             <img src="/img/base/placeholder.png" :data-original="pros.image" :alt="pros.name">
                                             <span class="brand" v-if="pros.listType == 2">{{ pros.label }}</span>
@@ -195,9 +195,9 @@
                                 <div class="hotList">
                                     <div class="section_page_main type clear mfw" :class="page.isPageMore ? '' : 'max'">
                                         <a class='imgbaner page_main_item' :href="page.floorContent.adsLink1!='' ? page.floorContent.adsLink1 : 'javascript:void(0)'"
-                                         :class="page.floorContent.adsLink1!='' ? '' : 'default' "><img :src="page.floorContent.pcAdsImage1"></a>
+                                         :class="page.floorContent.adsLink1!='' ? '' : 'default' "><img :src="isPC?page.floorContent.pcAdsImage1:page.floorContent.appletsAdsImage1"></a>
                                         <a class="img01 page_main_item" :href="page.floorContent.adsLink2!='' ? page.floorContent.adsLink2 : 'javascript:void(0)'"
-                                        :class="page.floorContent.adsLink2!='' ? '' : 'default' "><img :src="page.floorContent.pcAdsImage2"/></a>
+                                        :class="page.floorContent.adsLink2!='' ? '' : 'default' "><img :src="isPC?page.floorContent.pcAdsImage2:page.floorContent.appletsAdsImage2"/></a>
                                         <a class="productItem" :href="pros.link"  v-for="(pros,index) in page.floorImageList">
                                             <img src="/img/base/placeholder.png" :data-original="pros.image" :alt="pros.name">
                                             <span class="brand" v-if="pros.listType == 2">{{ pros.label }}</span>
@@ -268,13 +268,13 @@
                                     <div class="section_page_main type clear mfw"  :class="page.isPageMore ? '' : 'max'">
                                         <a class='imgbaner page_main_item' :href="page.floorContent.adsLink1!='' ? page.floorContent.adsLink1 : 'javascript:void(0)'"
                                          :class="page.floorContent.adsLink1!='' ? '' : 'default' ">
-                                         <img :src="page.floorContent.pcAdsImage1"></a>
+                                         <img :src="isPC?page.floorContent.pcAdsImage1:page.floorContent.appletsAdsImage1"></a>
                                         <a class="img01 page_main_item" :href="page.floorContent.adsLink2!='' ? page.floorContent.adsLink1 : 'javascript:void(0)'"
                                         :class="page.floorContent.adsLink2!='' ? '' : 'default' ">
-                                        <img :src="page.floorContent.pcAdsImage2"/></a>
+                                        <img :src="isPC?page.floorContent.pcAdsImage2:page.floorContent.appletsAdsImage2"/></a>
                                         <a class="img02 page_main_item" :href="page.floorContent.adsLink3!='' ? page.floorContent.adsLink1 : 'javascript:void(0)'"
                                         :class="page.floorContent.adsLink3!='' ? '' : 'default' ">
-                                        <img :src="page.floorContent.pcAdsImage3"/></a>
+                                        <img :src="isPC?page.floorContent.pcAdsImage3:page.floorContent.appletsAdsImage3"/></a>
                                         <a class="productItem" :href="pros.link"  v-for="(pros,index) in page.floorImageList">
                                             <img src="/img/base/placeholder.png" :data-original="pros.image" :alt="pros.name">
                                             <span class="brand" v-if="pros.listType == 2">{{ pros.label }}</span>
@@ -344,7 +344,7 @@
                                 <div class="hotList">
                                     <div class="section_page_main type clear mfw" :class="page.isPageMore ? '' : 'max'">
                                         <a class='imgbaner page_main_item' :href="page.floorContent.adsLink1!='' ? page.floorContent.adsLink1 : 'javascript:void(0)'"
-                                        :class="page.floorContent.adsLink1!='' ? '' : 'default' "><img :src="page.floorContent.pcAdsImage1"></a>
+                                        :class="page.floorContent.adsLink1!='' ? '' : 'default' "><img :src="isPC?page.floorContent.pcAdsImage1:page.floorContent.appletsAdsImage1"></a>
                                         <a class="productItem" :href="pros.link"  v-for="(pros,index) in page.floorImageList">
                                             <img src="/img/base/placeholder.png" :data-original="pros.image" :alt="pros.name">
                                             <span class="brand" v-if="pros.listType == 2">{{ pros.label }}</span>
@@ -474,7 +474,7 @@
                                         </a>
                                     </div>
                                      <a class='imgbaner page_main_item' :href="page.floorContent.adsLink1!='' ? page.floorContent.adsLink1 : 'javascript:void(0)'"
-                                     :class="page.floorContent.adsLink1!='' ? '' : 'default' "><img :src="page.floorContent.pcAdsImage1"></a>
+                                     :class="page.floorContent.adsLink1!='' ? '' : 'default' "><img :src="isPC?page.floorContent.pcAdsImage1:page.floorContent.appletsAdsImage1"></a>
                                     <div class="unfold" @click="seeMore(page)" v-if="page.isPageMore">查看更多 ∨</div>
                                 </div>
                              </div>

+ 18 - 13
src/main/resources/templates/product/qualityauthorize.html

@@ -25,31 +25,36 @@
             <div class="container-main fl-clear">
                 <!-- 图片区域 -->
                 <div class="img-box">
-                    <img class="product-img" :src="parameters.image">
+                    <img class="product-img" :src="isPC?parameters.pcImage:parameters.appletsImage">
                     <div class="origin-logo-box"><img class="product-brand" :src="parameters.authLogo"></div>
                     <img class="product-authorize" src="/img/quality/pro-authorization.png">
-                    <img class="sq-book" @click="showSqBookModal" v-show="!isShowSqBookModal" :src="parameters.certificateImage">
+                    <img class="sq-book" @click="showSqBookModal" v-show="!isShowSqBookModal" :src="isPC?parameters.pcCertificateImage:parameters.appletsCertificateImage">
                 </div>
                 <!-- 商品介绍区域 -->
                 <div class="product-desc">
                     <!-- 商品介绍区域 -->
-                    <h3>{{parameters.name}}</h3>
+                    <h3>{{parameters.productName}}</h3>
                     <div class="pink-box">
                         <div class="item-row"><span>品牌:{{parameters.brandName}}</span></div>
                         <div class="fl-clear">
                             <span class="fl-left">产地:{{parameters.productionPlace}}</span>
-                            <a class="fl-right" target="_blank" :href="parameters.securityLink" v-if="parameters.securityLink">防伪官网>></a></div>
+                            <a class="fl-right" target="_blank" :href="parameters.securityLink" v-if="parameters.securityLink">官网认证>></a></div>
                     </div>
                     <!-- 代理声明区域-->
-                    <div class="default-box" v-if="parameters.agentFlag === 1">
-                        <div class="item-row"><span class="dls">代理商:</span><span>{{parameters.agentName}}</span></div>
+                    <div class="default-box" v-if="parameters.shopType === 2">
+                        <div class="item-row"><span class="dls">代理商:</span><span>{{parameters.shopName}}</span></div>
                         <div class="item-row statement">
-                            <!-- 链接 -->
-                            <a :href="parameters.statementLink" v-if="parameters.statementType === 2">代理声明<i class="iconfont icon-wenhao"></i></a>
                             <!-- 弹窗 -->
-                            <a href="#" @click.prevent="openStatementDialog(1)" v-else>代理声明<i class="iconfont icon-wenhao"></i></a></div>
+                            <a href="#" @click.prevent="openStatementDialog(1)" v-if="parameters.statementType === 1">代理声明>></a>
+                            <!-- 链接 -->
+                            <a :href="parameters.statementLink" target="_blank" v-if="parameters.statementType === 2">代理声明>></a>
+                            <!-- 图片 -->
+                            <a :href="parameters.statementImage" target="_blank" v-if="parameters.statementType === 3">代理声明>></a>
+                            <!-- 文件 -->
+                            <a :href="parameters.statementFile.url" target="_blank" v-if="parameters.statementType === 4" :download="parameters.statementFile.name">代理声明>></a>
+                        </div>
                     </div>
-                    <p>该仪器由{{parameters.agentFlag !== 0 ? parameters.agentName : parameters.brandName}}授予{{parameters.authParty}}正品拥有</p>
+                    <p>该仪器由{{parameters.agentFlag !== 0 ? parameters.shopName : parameters.brandName}}授予{{parameters.authParty}}正品拥有</p>
                     <div class="pink-box sn-number">
                         <div class="item-row"><span>SN码:{{parameters.snCode | snCode}}</span></div>
                     </div>
@@ -61,7 +66,7 @@
                 <table class="params mobile">
                     <tbody>
                     <tr v-for="(item , index) in parameters.paramList" :key="index">
-                        <td style="width: 80px;">{{item.name}}</td>
+                        <td style="width: 80px;">{{item.name}}</td>
                         <td>{{item.content}}</td>
                     </tr>
                     </tbody>
@@ -93,14 +98,14 @@
                 <div class="content" v-html="cmContent" else></div>
             </div>
         </div>
-        <div class="float-zplm"><a target="_blank" href="https://www-b.caimei365.com/topic.html?type=6&name=%E6%AD%A3%E5%93%81%E8%81%94%E7%9B%9F"><img src="/img/quality/float-img.png"></a></div>
+        <div class="float-zplm"><a target="_blank" href="https://www-b.caimei365.com/topic-6.html?name=%E6%AD%A3%E5%93%81%E8%81%94%E7%9B%9F"><img src="/img/quality/float-img.png"></a></div>
 
         <!--授权图模态框-->
         <div class="sq-book-modal" @click="hideSqBookModal" v-show="isShowSqBookModal" id="sq-book-modal"></div>
         <transition enter-active-class="myZoomIn" leave-active-class="myZoomOut">
             <div class="sq-book-img myZoomIn"  v-show="isShowSqBookModal">
                     <i class="close" @click="hideSqBookModal"></i>
-                    <img :src="parameters.certificateImage">
+                    <img :src="isPC?parameters.pcCertificateImage:parameters.appletsCertificateImage">
             </div>
         </transition>
     </template>

+ 1 - 1
src/main/resources/templates/shopping/cart.html

@@ -49,7 +49,7 @@
                     <div class="c0">
                         <input class="check" type="checkbox" @change="ckeckSupplier($event, supplier.checked)" v-model="supplier.checked">
                     </div>
-                    <a  :href="'/supplier/index.html?id='+supplier.id" target="_blank">
+                    <a  :href="'/supplier-'+supplier.id+'.html'" target="_blank">
                         <img class="img" :src="supplier.logo">
                         <span class="name" v-text="supplier.name"></span>
                     </a>

+ 1 - 1
src/main/resources/templates/shopping/confirm.html

@@ -305,7 +305,7 @@
         <div class="summary">
             <div v-if="isPC" class="left">
                 <div class="item">
-                    <a href="/shopping/cart.html" class="back"><i class="icon mIcon"></i>返回购物车</a>
+                    <a href="/shopping/cart.html" class="back" rel="nofollow"><i class="icon mIcon"></i>返回购物车</a>
                 </div>
             </div>
             <div class="right mfbt">

+ 4 - 4
src/main/resources/templates/single-page/investment.html

@@ -40,14 +40,14 @@
                 <img src="/img/investment/pc_3.jpg">
                 <div class="btn">
                     <a href="javascript:void(0);" class="more" @click="showMore()"></a>
-                    <a href="https://www.caimei365.com/page.html?id=223" class="bank" target="_blank"></a>
+                    <a href="https://www.caimei365.com/page-223.html" class="bank" target="_blank"></a>
                 </div>
             </template>
             <template v-else>
                 <img src="/img/investment/pc_4.jpg">
                 <div class="btn">
                     <a href="javascript:void(0);" class="back" @click="goBack()"></a>
-                    <a href="https://www.caimei365.com/page.html?id=223" class="bank" target="_blank"></a>
+                    <a href="https://www.caimei365.com/page-223.html" class="bank" target="_blank"></a>
                 </div>
             </template>
         </div>
@@ -58,7 +58,7 @@
                 <img src="/img/investment/h5_3.jpg">
                 <div class="btn">
                     <a href="javascript:void(0);" class="more" @click="showMore()"></a>
-                    <a href="https://www.caimei365.com/page.html?id=223" class="bank"></a>
+                    <a href="https://www.caimei365.com/page-223.html" class="bank"></a>
                 </div>
             </template>
             <template v-else>
@@ -66,7 +66,7 @@
                 <img src="/img/investment/h5_5.jpg">
                 <div class="btn">
                     <a href="javascript:void(0);" class="back" @click="goBack()"></a>
-                    <a href="https://www.caimei365.com/page.html?id=223" class="bank"></a>
+                    <a href="https://www.caimei365.com/page-223.html" class="bank"></a>
                 </div>
             </template>
         </div>

+ 2 - 2
src/main/resources/templates/supplier-center/components/tableft.html

@@ -12,7 +12,7 @@
     <div class="navList">
         <span class="tab">我的店铺</span>
         <div class="con" style="display:none">
-            <a :href="'/supplier/index.html?id='+GLOBAL_SHOP_ID">查看店铺</a>
+            <a :href="'/supplier-'+GLOBAL_SHOP_ID+'.html'">查看店铺</a>
             <a href="/supplier/decoration.html">装扮主页</a>
             <a href="/supplier/release.html">发布商品</a>
             <a href="/supplier/goods.html">我的商品</a>
@@ -52,7 +52,7 @@
             <div class="centerList">
                 <span class="tab mIcon sh">我的店铺</span>
                 <div class="con">
-                    <a :href="'/supplier/index.html?id='+GLOBAL_SHOP_ID">查看店铺</a>
+                    <a :href="'/supplier-'+GLOBAL_SHOP_ID+'.html'">查看店铺</a>
                     <a href="/supplier/decoration.html">装扮主页</a>
                     <a href="/supplier/release.html">发布商品</a>
                     <a href="/supplier/goods.html">我的商品</a>

+ 3 - 3
src/main/resources/templates/supplier/list.html

@@ -28,10 +28,10 @@
     <ul v-else class="supplierList">
         <li class="supplierItem clear" v-for="shop in listData">
             <div class="left">
-                <a :href="'/supplier/index.html?id='+shop.shopId" target="_blank" class="logo">
+                <a :href="'/supplier-'+shop.id+'.html'" target="_blank" class="logo">
                     <img :src="shop.logo" onerror="javascript:this.src='/img/default/suppliver.jpg';">
                 </a>
-                <h5><a :href="'/supplier/index.html?id='+shop.shopId" :title="shop.name" target="_blank">
+                <h5><a :href="'/supplier-'+shop.id+'.html'" :title="shop.name" target="_blank">
                     <span v-html="shop.name"></span>
                 </a>
                 <a v-if="shop.license" :href="shop.license" target="_blank" class="icon mIcon shop"></a>
@@ -55,7 +55,7 @@
                     </template>
                     <li v-else-if="isPC" v-for="i in 3"></li>
                 </ul>
-                <a v-if="isPC" :href="'/supplier/index.html?id='+shop.shopId" target="_blank" class="four">进入本店铺>>></a>
+                <a v-if="isPC" :href="'/supplier-'+shop.id+'.html'" target="_blank" class="four">进入本店铺>>></a>
             </div>
         </li>
     </ul>