seyason пре 4 година
родитељ
комит
2b964a6636
28 измењених фајлова са 191 додато и 83 уклоњено
  1. 43 13
      cloud-socket/src/com/js/kbt/socket/UserHandler.java
  2. 7 1
      official_backend/src/main/java/com/hssx/ysofficial/entity/Cooperations.java
  3. 3 3
      official_backend/src/main/java/com/hssx/ysofficial/utility/CodeGenerator.java
  4. 2 2
      official_backend/src/main/resources/application.properties
  5. 2 1
      official_backend/src/main/resources/mapper/CooperationsMapper.xml
  6. 1 1
      official_frontend/src/utils/request.js
  7. 16 13
      official_frontend/src/views/cooperation/client.vue
  8. 21 0
      website/src/main/java/com/hssx/website/controller/CooperationsController.java
  9. 7 1
      website/src/main/java/com/hssx/website/entity/Cooperations.java
  10. 5 13
      website/src/main/java/com/hssx/website/service/impl/UserServiceImpl.java
  11. 3 3
      website/src/main/java/com/hssx/website/until/CodeGenerator.java
  12. 1 1
      website/src/main/resources/application-prod.properties
  13. 2 1
      website/src/main/resources/mapper/CooperationsMapper.xml
  14. 3 0
      website/src/main/resources/templates/about.html
  15. 3 0
      website/src/main/resources/templates/apply.html
  16. 3 0
      website/src/main/resources/templates/case.html
  17. 3 0
      website/src/main/resources/templates/caseDetail.html
  18. 3 0
      website/src/main/resources/templates/goods.html
  19. BIN
      website/src/main/resources/templates/img/china.jpg
  20. BIN
      website/src/main/resources/templates/img/logo-small.png
  21. BIN
      website/src/main/resources/templates/img/logo.png
  22. BIN
      website/src/main/resources/templates/img/logo_new.png
  23. 3 0
      website/src/main/resources/templates/index.html
  24. 3 0
      website/src/main/resources/templates/job.html
  25. 3 0
      website/src/main/resources/templates/login.html
  26. 48 30
      website/src/main/resources/templates/partner.html
  27. 3 0
      website/src/main/resources/templates/product.html
  28. 3 0
      website/src/main/resources/templates/vip.html

Разлика између датотеке није приказан због своје велике величине
+ 43 - 13
cloud-socket/src/com/js/kbt/socket/UserHandler.java


+ 7 - 1
official_backend/src/main/java/com/hssx/ysofficial/entity/Cooperations.java

@@ -16,7 +16,7 @@ import lombok.experimental.Accessors;
  * </p>
  *
  * @author Reiskuchen
- * @since 2020-02-05
+ * @since 2020-06-04
  */
 @Data
 @EqualsAndHashCode(callSuper = false)
@@ -59,6 +59,12 @@ public class Cooperations extends Model<Cooperations> {
     @TableField("sticky")
     private Integer sticky;
 
+    /**
+     * 网站url链接地址
+     */
+    @TableField("web_url")
+    private String webUrl;
+
 
     @Override
     protected Serializable pkVal() {

+ 3 - 3
official_backend/src/main/java/com/hssx/ysofficial/utility/CodeGenerator.java

@@ -82,11 +82,11 @@ public class CodeGenerator {
 
         //数据源配置
         DataSourceConfig dsc = new DataSourceConfig();
-        dsc.setUrl("jdbc:mysql://118.190.47.230:3306/cloud_model_website?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8");
+        dsc.setUrl("jdbc:mysql://47.100.37.243:7644/cloud_model_website?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8");
 //        dsc.setSchemaName("world");
         dsc.setDriverName("com.mysql.cj.jdbc.Driver");
         dsc.setUsername("root");
-        dsc.setPassword("p011430seya1026");
+        dsc.setPassword("Ziyu1026!@");
         ag.setDataSource(dsc);
 
         //包配置
@@ -188,7 +188,7 @@ public class CodeGenerator {
         //若想要生成的实体类继承某个Controller,则可打开下面注释。写上需要继承的Controller的位置即可
 //        strategy.setSuperControllerClass("com.baomidou.ant.common.BaseController");
         //单独生成逗号隔开
-        strategy.setInclude("qualification");
+        strategy.setInclude("cooperations");
         //全生成
 //        strategy.setInclude();//表名,多个英文逗号分割
         //多个英文逗号隔开

+ 2 - 2
official_backend/src/main/resources/application.properties

@@ -18,8 +18,8 @@ mybatis-plus.configuration.cache-enabled=false
 
 #Êý¾Ý¿â
 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
-spring.datasource.url=jdbc:mysql://118.190.47.230:3306/cloud_model_website?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
-spring.datasource.password=p011430seya1026
+spring.datasource.url=jdbc:mysql://47.100.37.243:7644/cloud_model_website?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
+spring.datasource.password=Ziyu1026!@
 #spring.datasource.url=jdbc:mysql://111.231.87.63:3306/cloud_model_website?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
 #spring.datasource.password=Hssx2019.!
 spring.datasource.username=root

+ 2 - 1
official_backend/src/main/resources/mapper/CooperationsMapper.xml

@@ -10,11 +10,12 @@
         <result column="image_url" property="imageUrl" />
         <result column="type" property="type" />
         <result column="sticky" property="sticky" />
+        <result column="web_url" property="webUrl" />
     </resultMap>
 
     <!-- 通用查询结果列 -->
     <sql id="Base_Column_List">
-        id, name, description, image_url, type, sticky
+        id, name, description, image_url, type, sticky, web_url
     </sql>
 
 </mapper>

+ 1 - 1
official_frontend/src/utils/request.js

@@ -8,7 +8,7 @@ const service = axios.create({
     // url = base url + request url
     // baseURL: process.env.VUE_APP_BASE_API,
     baseURL: "http://111.231.87.63:8088",
-    // baseURL: "http://192.168.5.184:8098",
+    // baseURL: "http://localhost:8098",
     // withCredentials: true, // send cookies when cross-domain requests
     timeout: 5000 // request timeout
 })

+ 16 - 13
official_frontend/src/views/cooperation/client.vue

@@ -13,12 +13,10 @@
       <el-table-column prop="description" label="描述"></el-table-column>
       <el-table-column label="类型" width="120">
         <template slot-scope="scope">
-            <span v-if="scope.row.type == 0">研发机构类</span>
-            <span v-else-if="scope.row.type == 1">材料供应商</span>
-            <span v-else-if="scope.row.type == 2">设备合作商</span>
-            <span v-else-if="scope.row.type == 3">系统授权商</span>
-            <span v-else-if="scope.row.type == 4">孵化中心</span>
-            <span v-else-if="scope.row.type == 5">平台合作单位</span>
+            <span v-if="scope.row.type == 0">材料/设备供应商</span>
+            <span v-else-if="scope.row.type == 1">战略合作伙伴</span>
+            <span v-else-if="scope.row.type == 2">销售代理</span>
+            <span v-else-if="scope.row.type == 3">会员企业</span>
             <span v-else>未知</span>
         </template>
       </el-table-column>
@@ -43,14 +41,15 @@
         </el-form-item>
         <el-form-item label="类型" prop="type">
           <el-select v-model="cooperationsForm.type" placeholder="请选择类型" style="width:380px">
-            <el-option label="研发机构类" :value="0"></el-option>
-            <el-option label="材料供应商" :value="1"></el-option>
-            <el-option label="设备合作商" :value="2"></el-option>
-            <el-option label="系统授权商" :value="3"></el-option>
-            <el-option label="孵化中心" :value="4"></el-option>
-            <el-option label="平台合作单位" :value="5"></el-option>
+            <el-option label="材料/设备供应商" :value="0"></el-option>
+            <el-option label="战略合作伙伴" :value="1"></el-option>
+            <el-option label="销售代理" :value="2"></el-option>
+            <el-option label="会员企业" :value="3"></el-option>
           </el-select>
         </el-form-item>
+        <el-form-item label="网址" prop="webUrl">
+          <el-input v-model="cooperationsForm.webUrl" placeholder="请输入描述" clearable></el-input>
+        </el-form-item>
         <el-form-item>
           <el-upload
             ref="upload"
@@ -85,7 +84,8 @@ export default {
         name: null,
         description: null,
         type: null,
-        image: null
+        image: null,
+        webUrl:null,
       },
       rules: {
         name: [{ required: true, message: "请输入活动名称", trigger: "blur" }],
@@ -107,12 +107,14 @@ export default {
         ].description;
         this.cooperationsForm.type = this.cooperations[index].type;
         this.cooperationsForm.image = null;
+        this.cooperationsForm.webUrl = this.cooperations[index].webUrl;
       } else {
         this.cooperationsForm.id = null;
         this.cooperationsForm.name = "";
         this.cooperationsForm.description = "";
         this.cooperationsForm.type = 0;
         this.cooperationsForm.image = null;
+        this.cooperationsForm.webUrl = null;
       }
       this.addDialogVisible = true;
     },
@@ -170,6 +172,7 @@ export default {
           form.append("name", this.cooperationsForm.name);
           form.append("description", this.cooperationsForm.description);
           form.append("type", this.cooperationsForm.type);
+          form.append("webUrl", this.cooperationsForm.webUrl);
           //新增记录 并且 没有图片时
           if (this.cooperationsForm.image == null && this.editing == false) {
             //如果没上传文件的话

+ 21 - 0
website/src/main/java/com/hssx/website/controller/CooperationsController.java

@@ -0,0 +1,21 @@
+package com.hssx.website.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 合作伙伴 前端控制器
+ * </p>
+ *
+ * @author 吴涛涛
+ * @since 2020-06-05
+ */
+@RestController
+@RequestMapping("/cooperations")
+public class CooperationsController {
+
+}
+

+ 7 - 1
website/src/main/java/com/hssx/website/entity/Cooperations.java

@@ -15,7 +15,7 @@ import lombok.experimental.Accessors;
  * </p>
  *
  * @author 吴涛涛
- * @since 2020-02-05
+ * @since 2020-06-05
  */
 @Data
 @EqualsAndHashCode(callSuper = false)
@@ -57,6 +57,12 @@ public class Cooperations extends Model<Cooperations> {
     @TableField("sticky")
     private Integer sticky;
 
+    /**
+     * 网站url链接地址
+     */
+    @TableField("web_url")
+    private String webUrl;
+
 
     @Override
     protected Serializable pkVal() {

+ 5 - 13
website/src/main/java/com/hssx/website/service/impl/UserServiceImpl.java

@@ -53,31 +53,23 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements Us
             String typeName;
             switch (type) {
                 case 0: {
-                    typeName = "研发机构类";
+                    typeName = "材料/设备供应商";
                     break;
                 }
                 case 1: {
-                    typeName = "材料供应商";
+                    typeName = "战略合作伙伴";
                     break;
                 }
                 case 2: {
-                    typeName = "设备合作商";
+                    typeName = "销售代理";
                     break;
                 }
                 case 3: {
-                    typeName = "系统授权商";
-                    break;
-                }
-                case 4: {
-                    typeName = "孵化中心";
-                    break;
-                }
-                case 5: {
-                    typeName = "平台合作单位";
+                    typeName = "会员企业";
                     break;
                 }
                 default: {
-                    typeName = "研发机构类";
+                    typeName = "未知";
                 }
             }
             cooperationsVO.setTypeName(typeName);

+ 3 - 3
website/src/main/java/com/hssx/website/until/CodeGenerator.java

@@ -91,11 +91,11 @@ public class CodeGenerator {
 
         // 数据源配置
         DataSourceConfig dsc = new DataSourceConfig();
-        dsc.setUrl("jdbc:mysql://118.190.47.230:3306/cloud_model_website?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8");
+        dsc.setUrl("jdbc:mysql://47.100.37.243:7644/cloud_model_website?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8");
 //        dsc.setSchemaName("public");
         dsc.setDriverName("com.mysql.cj.jdbc.Driver");
         dsc.setUsername("root");
-        dsc.setPassword("p011430seya1026");
+        dsc.setPassword("Ziyu1026!@");
         mpg.setDataSource(dsc);
 
         // 包配置
@@ -205,7 +205,7 @@ public class CodeGenerator {
         //此处user是表名,多个英文逗号分割
 //        strategy.setInclude("mould_down_packet");
 //        strategy.setExclude();//数据库表全生成
-        strategy.setInclude("qualification");//表名,多个英文逗号分割
+        strategy.setInclude("cooperations");//表名,多个英文逗号分割
         strategy.setControllerMappingHyphenStyle(true);
         //数据库表前缀,不配置这行的话,生成的类会带有T如:TUser,配置后即可将前缀去掉
 //        strategy.setTablePrefix("tb_");

+ 1 - 1
website/src/main/resources/application-prod.properties

@@ -1,6 +1,6 @@
 # ####################################################################################################
 # ·þÎñ¶ËÅäÖÃ
-server.port=9096
+server.port=80
 server.servlet.context-path=/
 server.tomcat.uri-encoding=UTF-8
 server.tomcat.max-http-post-size=-1

+ 2 - 1
website/src/main/resources/mapper/CooperationsMapper.xml

@@ -10,11 +10,12 @@
         <result column="image_url" property="imageUrl" />
         <result column="type" property="type" />
         <result column="sticky" property="sticky" />
+        <result column="web_url" property="webUrl" />
     </resultMap>
 
     <!-- 通用查询结果列 -->
     <sql id="Base_Column_List">
-        id, name, description, image_url, type, sticky
+        id, name, description, image_url, type, sticky, web_url
     </sql>
 
 </mapper>

+ 3 - 0
website/src/main/resources/templates/about.html

@@ -259,6 +259,9 @@
                     Copyright © 1998 - 2019 Tencent. All Rights Reserved. 塑维公司 版权所有
                 </div>
             </div>
+            <div style="width:300px;margin:0 auto; padding:20px 0;">
+                <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=32011502011179" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;"><img src="img/china.jpg" style="float:left;"/><p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;">苏公网安备 32011502011179号</p></a>
+            </div>
         </div>
     </footer>
     <div class="public">

+ 3 - 0
website/src/main/resources/templates/apply.html

@@ -154,6 +154,9 @@
                             Copyright © 1998 - 2019 Tencent. All Rights Reserved. 塑维公司 版权所有
                         </div>
                     </div>
+                    <div style="width:300px;margin:0 auto; padding:20px 0;">
+                        <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=32011502011179" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;"><img src="img/china.jpg" style="float:left;"/><p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;">苏公网安备 32011502011179号</p></a>
+                    </div>
                 </div>
             </footer>
         </div>

+ 3 - 0
website/src/main/resources/templates/case.html

@@ -125,6 +125,9 @@
                             Copyright © 1998 - 2019 Tencent. All Rights Reserved. 塑维公司 版权所有
                         </div>
                     </div>
+                    <div style="width:300px;margin:0 auto; padding:20px 0;">
+                        <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=32011502011179" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;"><img src="img/china.jpg" style="float:left;"/><p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;">苏公网安备 32011502011179号</p></a>
+                    </div>
                 </div>
             </footer>
         </div>

+ 3 - 0
website/src/main/resources/templates/caseDetail.html

@@ -126,6 +126,9 @@
                             Copyright © 1998 - 2019 Tencent. All Rights Reserved. 塑维公司 版权所有
                         </div>
                     </div>
+                    <div style="width:300px;margin:0 auto; padding:20px 0;">
+                        <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=32011502011179" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;"><img src="img/china.jpg" style="float:left;"/><p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;">苏公网安备 32011502011179号</p></a>
+                    </div>
                 </div>
             </footer>
         </div>

+ 3 - 0
website/src/main/resources/templates/goods.html

@@ -281,6 +281,9 @@
                             Copyright © 1998 - 2019 Tencent. All Rights Reserved. 塑维公司 版权所有
                         </div>
                     </div>
+                    <div style="width:300px;margin:0 auto; padding:20px 0;">
+                        <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=32011502011179" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;"><img src="img/china.jpg" style="float:left;"/><p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;">苏公网安备 32011502011179号</p></a>
+                    </div>
                 </div>
             </footer>
         </div>

BIN
website/src/main/resources/templates/img/china.jpg


BIN
website/src/main/resources/templates/img/logo-small.png


BIN
website/src/main/resources/templates/img/logo.png


BIN
website/src/main/resources/templates/img/logo_new.png


+ 3 - 0
website/src/main/resources/templates/index.html

@@ -215,6 +215,9 @@
                     Copyright © 1998 - 2019 Tencent. All Rights Reserved. 塑维公司 版权所有
                 </div>
             </div>
+            <div style="width:300px;margin:0 auto; padding:20px 0;">
+                <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=32011502011179" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;"><img src="img/china.jpg" style="float:left;"/><p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;">苏公网安备 32011502011179号</p></a>
+            </div>
         </div>
     </footer>
 </div>

+ 3 - 0
website/src/main/resources/templates/job.html

@@ -115,6 +115,9 @@
                     Copyright © 1998 - 2019 Tencent. All Rights Reserved. 塑维公司 版权所有
                 </div>
             </div>
+            <div style="width:300px;margin:0 auto; padding:20px 0;">
+                <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=32011502011179" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;"><img src="img/china.jpg" style="float:left;"/><p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;">苏公网安备 32011502011179号</p></a>
+            </div>
         </div>
     </footer>
 </div>

+ 3 - 0
website/src/main/resources/templates/login.html

@@ -131,6 +131,9 @@
                             Copyright © 1998 - 2019 Tencent. All Rights Reserved. 塑维公司 版权所有
                         </div>
                     </div>
+                    <div style="width:300px;margin:0 auto; padding:20px 0;">
+                        <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=32011502011179" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;"><img src="img/china.jpg" style="float:left;"/><p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;">苏公网安备 32011502011179号</p></a>
+                    </div>
                 </div>
             </footer>
         </div>

+ 48 - 30
website/src/main/resources/templates/partner.html

@@ -82,16 +82,27 @@
                         <div style="padding: 0 0.5rem">
                             <!-- type 0 -->
                             <div style="border-left: 2px solid #467fbf;padding-left: 1rem;">
-                                <h4>研发机构类</h4>
+                                <h4>材料/设备供应商</h4>
                             </div>
                             <div class="row mb-4">
                                 <div class="col-lg-2 col-md-6" th:each="item : ${partners}" th:if=" ${item.type}==0">
-                                    <div class="box-image-text">
+                                    <a th:href="${item.webUrl}" target="_blank" th:if=" ${item.webUrl} != null">
+                                    <div class="box-image-text" >
                                         <div class="image height-set"><img th:src="${{item.imageUrl}}" alt="..." class="img-fluid">
                                             <!--<div class="overlay d-flex align-items-center justify-content-center"><a href="#" class="btn btn-template-outlined-white"><i class="fa fa-chain"> </i> Read More</a></div>-->
                                         </div>
                                         <div class="content">
-                                            <h4><span href="#" th:text="${item.name}">Print</span></h4>
+                                            <h4><span th:text="${item.name}">Print</span></h4>
+                                            <p th:text="${item.description}"></p>
+                                        </div>
+                                    </div>
+                                    </a>
+                                    <div class="box-image-text" th:if=" ${item.webUrl} == null">
+                                        <div class="image height-set"><img th:src="${{item.imageUrl}}" alt="..." class="img-fluid">
+                                            <!--<div class="overlay d-flex align-items-center justify-content-center"><a href="#" class="btn btn-template-outlined-white"><i class="fa fa-chain"> </i> Read More</a></div>-->
+                                        </div>
+                                        <div class="content">
+                                            <h4><span th:text="${item.name}">Print</span></h4>
                                             <p th:text="${item.description}"></p>
                                         </div>
                                     </div>
@@ -100,10 +111,11 @@
                             <!-- type 0 end -->
                             <!-- type 1 -->
                             <div style="border-left: 2px solid #467fbf;padding-left: 1rem;">
-                                <h4>材料供应商</h4>
+                                <h4>战略合作伙伴</h4>
                             </div>
                             <div class="row mb-4">
                                 <div class="col-lg-2 col-md-6" th:each="item : ${partners}" th:if=" ${item.type}==1">
+                                    <a th:href="${item.webUrl}" target="_blank" th:if=" ${item.webUrl} != null">
                                     <div class="box-image-text">
                                         <div class="image height-set"><img th:src="${{item.imageUrl}}" alt="..." class="img-fluid">
                                             <!--<div class="overlay d-flex align-items-center justify-content-center"><a href="#" class="btn btn-template-outlined-white"><i class="fa fa-chain"> </i> Read More</a></div>-->
@@ -113,15 +125,26 @@
                                             <p th:text="${item.description}"></p>
                                         </div>
                                     </div>
+                                    </a>
+                                    <div class="box-image-text" th:if=" ${item.webUrl} == null">
+                                        <div class="image height-set"><img th:src="${{item.imageUrl}}" alt="..." class="img-fluid">
+                                            <!--<div class="overlay d-flex align-items-center justify-content-center"><a href="#" class="btn btn-template-outlined-white"><i class="fa fa-chain"> </i> Read More</a></div>-->
+                                        </div>
+                                        <div class="content">
+                                            <h4><span href="#" th:text="${item.name}">Print</span></h4>
+                                            <p th:text="${item.description}"></p>
+                                        </div>
+                                    </div>
                                 </div>
                             </div>
                             <!-- type 1 end -->
                             <!-- type 2 -->
                             <div style="border-left: 2px solid #467fbf;padding-left: 1rem;">
-                                <h4>设备合作商</h4>
+                                <h4>销售代理</h4>
                             </div>
                             <div class="row mb-4">
                                 <div class="col-lg-2 col-md-6" th:each="item : ${partners}" th:if=" ${item.type}==2">
+                                    <a th:href="${item.webUrl}" target="_blank" th:if=" ${item.webUrl} != null">
                                     <div class="box-image-text">
                                         <div class="image height-set"><img th:src="${{item.imageUrl}}" alt="..." class="img-fluid">
                                             <!--<div class="overlay d-flex align-items-center justify-content-center"><a href="#" class="btn btn-template-outlined-white"><i class="fa fa-chain"> </i> Read More</a></div>-->
@@ -131,16 +154,8 @@
                                             <p th:text="${item.description}"></p>
                                         </div>
                                     </div>
-                                </div>
-                            </div>
-                            <!-- type 2 end -->
-                            <!-- type 3 -->
-                            <div style="border-left: 2px solid #467fbf;padding-left: 1rem;">
-                                <h4>系统授权商</h4>
-                            </div>
-                            <div class="row mb-4">
-                                <div class="col-lg-2 col-md-6" th:each="item : ${partners}" th:if=" ${item.type}==3">
-                                    <div class="box-image-text">
+                                    </a>
+                                    <div class="box-image-text" th:if=" ${item.webUrl} == null">
                                         <div class="image height-set"><img th:src="${{item.imageUrl}}" alt="..." class="img-fluid">
                                             <!--<div class="overlay d-flex align-items-center justify-content-center"><a href="#" class="btn btn-template-outlined-white"><i class="fa fa-chain"> </i> Read More</a></div>-->
                                         </div>
@@ -151,13 +166,14 @@
                                     </div>
                                 </div>
                             </div>
-                            <!-- type 3 end -->
-                            <!-- type 4 -->
+                            <!-- type 2 end -->
+                            <!-- type 3 -->
                             <div style="border-left: 2px solid #467fbf;padding-left: 1rem;">
-                                <h4>孵化中心</h4>
+                                <h4>会员企业</h4>
                             </div>
                             <div class="row mb-4">
-                                <div class="col-lg-2 col-md-6" th:each="item : ${partners}" th:if=" ${item.type}==4">
+                                <div class="col-lg-2 col-md-6" th:each="item : ${partners}" th:if=" ${item.type}==3">
+                                    <a th:href="${item.webUrl}" target="_blank"  th:if=" ${item.webUrl} != null">
                                     <div class="box-image-text">
                                         <div class="image height-set"><img th:src="${{item.imageUrl}}" alt="..." class="img-fluid">
                                             <!--<div class="overlay d-flex align-items-center justify-content-center"><a href="#" class="btn btn-template-outlined-white"><i class="fa fa-chain"> </i> Read More</a></div>-->
@@ -167,16 +183,8 @@
                                             <p th:text="${item.description}"></p>
                                         </div>
                                     </div>
-                                </div>
-                            </div>
-                            <!-- type 4 end -->
-                            <!-- type 5 -->
-                            <div style="border-left: 2px solid #467fbf;padding-left: 1rem;">
-                                <h4>平台合作单位</h4>
-                            </div>
-                            <div class="row mb-4">
-                                <div class="col-lg-2 col-md-6" th:each="item : ${partners}" th:if=" ${item.type}==5">
-                                    <div class="box-image-text">
+                                    </a>
+                                    <div class="box-image-text" th:if=" ${item.webUrl} == null">
                                         <div class="image height-set"><img th:src="${{item.imageUrl}}" alt="..." class="img-fluid">
                                             <!--<div class="overlay d-flex align-items-center justify-content-center"><a href="#" class="btn btn-template-outlined-white"><i class="fa fa-chain"> </i> Read More</a></div>-->
                                         </div>
@@ -187,7 +195,6 @@
                                     </div>
                                 </div>
                             </div>
-                            <!-- type 5 end -->
                         </div>
                     </section>
                 </div>
@@ -218,6 +225,9 @@
                             Copyright © 1998 - 2019 Tencent. All Rights Reserved. 塑维公司 版权所有
                         </div>
                     </div>
+                    <div style="width:300px;margin:0 auto; padding:20px 0;">
+                        <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=32011502011179" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;"><img src="img/china.jpg" style="float:left;"/><p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;">苏公网安备 32011502011179号</p></a>
+                    </div>
                 </div>
             </footer>
         </div>
@@ -234,5 +244,13 @@
         <script src="vendor/bootstrap-select/js/bootstrap-select.min.js"></script>
         <script src="vendor/jquery.scrollto/jquery.scrollTo.min.js"></script>
         <script src="js/front.js"></script>
+    <script>
+        function gotoLink(webUrl) {
+            if (webUrl != null && webUrl != 'null') {
+                window.open(webUrl);
+            }
+        }
+
+    </script>
     </body>
 </html>

+ 3 - 0
website/src/main/resources/templates/product.html

@@ -112,6 +112,9 @@
                             Copyright © 1998 - 2019 Tencent. All Rights Reserved. 塑维公司 版权所有
                         </div>
                     </div>
+                    <div style="width:300px;margin:0 auto; padding:20px 0;">
+                        <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=32011502011179" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;"><img src="img/china.jpg" style="float:left;"/><p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;">苏公网安备 32011502011179号</p></a>
+                    </div>
                 </div>
             </footer>
         </div>

+ 3 - 0
website/src/main/resources/templates/vip.html

@@ -124,6 +124,9 @@
                     Copyright © 1998 - 2019 Tencent. All Rights Reserved. 塑维公司 版权所有
                 </div>
             </div>
+            <div style="width:300px;margin:0 auto; padding:20px 0;">
+                <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=32011502011179" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;"><img src="img/china.jpg" style="float:left;"/><p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;">苏公网安备 32011502011179号</p></a>
+            </div>
         </div>
     </footer>
 </div>