diff --git a/blxc-admin/src/main/java/com/ruoyi/portal/back/mapper/NdNewMapper.java b/blxc-admin/src/main/java/com/ruoyi/portal/back/mapper/NdNewMapper.java index 0a2ac78..6da0d3d 100644 --- a/blxc-admin/src/main/java/com/ruoyi/portal/back/mapper/NdNewMapper.java +++ b/blxc-admin/src/main/java/com/ruoyi/portal/back/mapper/NdNewMapper.java @@ -63,4 +63,6 @@ public interface NdNewMapper public List getNewsTypes(Long parentId); + + List selectTplbList(NdNew tplb); } diff --git a/blxc-admin/src/main/java/com/ruoyi/portal/back/service/INdNewService.java b/blxc-admin/src/main/java/com/ruoyi/portal/back/service/INdNewService.java index b07808e..9a752c7 100644 --- a/blxc-admin/src/main/java/com/ruoyi/portal/back/service/INdNewService.java +++ b/blxc-admin/src/main/java/com/ruoyi/portal/back/service/INdNewService.java @@ -62,4 +62,6 @@ public interface INdNewService public int deleteNdNewById(Long id); public List getNewsTypes(Long parentId); + + List selectTplbList(NdNew tplb); } diff --git a/blxc-admin/src/main/java/com/ruoyi/portal/back/service/impl/NdNewServiceImpl.java b/blxc-admin/src/main/java/com/ruoyi/portal/back/service/impl/NdNewServiceImpl.java index 96c1f39..ea56d8c 100644 --- a/blxc-admin/src/main/java/com/ruoyi/portal/back/service/impl/NdNewServiceImpl.java +++ b/blxc-admin/src/main/java/com/ruoyi/portal/back/service/impl/NdNewServiceImpl.java @@ -104,5 +104,10 @@ public class NdNewServiceImpl implements INdNewService return ndNewMapper.getNewsTypes(parentId); } + @Override + public List selectTplbList(NdNew tplb) { + return ndNewMapper.selectTplbList(tplb); + } + } diff --git a/blxc-admin/src/main/java/com/ruoyi/portal/system/controller/NdLbtController.java b/blxc-admin/src/main/java/com/ruoyi/portal/system/controller/NdLbtController.java new file mode 100644 index 0000000..c1ec3e0 --- /dev/null +++ b/blxc-admin/src/main/java/com/ruoyi/portal/system/controller/NdLbtController.java @@ -0,0 +1,120 @@ +package com.ruoyi.system.controller; + +import java.util.List; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.system.domain.NdLbt; +import com.ruoyi.system.service.INdLbtService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 轮播图Controller + * + * @author ruoyi + * @date 2024-09-20 + */ +@Controller +@RequestMapping("/system/lbt") +public class NdLbtController extends BaseController +{ + private String prefix = "lbt"; + + @Autowired + private INdLbtService ndLbtService; + + @GetMapping() + public String lbt() + { + return prefix + "/lbt"; + } + + /** + * 查询轮播图列表 + */ + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(NdLbt ndLbt) + { + startPage(); + List list = ndLbtService.selectNdLbtList(ndLbt); + return getDataTable(list); + } + + /** + * 导出轮播图列表 + */ + @Log(title = "轮播图", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(NdLbt ndLbt) + { + List list = ndLbtService.selectNdLbtList(ndLbt); + ExcelUtil util = new ExcelUtil(NdLbt.class); + return util.exportExcel(list, "轮播图数据"); + } + + /** + * 新增轮播图 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存轮播图 + */ + @Log(title = "轮播图", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(NdLbt ndLbt) + { + return toAjax(ndLbtService.insertNdLbt(ndLbt)); + } + + /** + * 修改轮播图 + */ + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Long id, ModelMap mmap) + { + NdLbt ndLbt = ndLbtService.selectNdLbtById(id); + mmap.put("ndLbt", ndLbt); + return prefix + "/edit"; + } + + /** + * 修改保存轮播图 + */ + @Log(title = "轮播图", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(NdLbt ndLbt) + { + return toAjax(ndLbtService.updateNdLbt(ndLbt)); + } + + /** + * 删除轮播图 + */ + @Log(title = "轮播图", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(ndLbtService.deleteNdLbtByIds(ids)); + } +} diff --git a/blxc-admin/src/main/java/com/ruoyi/portal/system/domain/NdLbt.java b/blxc-admin/src/main/java/com/ruoyi/portal/system/domain/NdLbt.java new file mode 100644 index 0000000..9c4936b --- /dev/null +++ b/blxc-admin/src/main/java/com/ruoyi/portal/system/domain/NdLbt.java @@ -0,0 +1,61 @@ +package com.ruoyi.system.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 轮播图对象 nd_lbt + * + * @author ruoyi + * @date 2024-09-20 + */ +public class NdLbt extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** */ + private Long id; + + /** 轮播图 */ + @Excel(name = "轮播图") + private String filePath; + private String sort; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setFilePath(String filePath) + { + this.filePath = filePath; + } + + public String getFilePath() + { + return filePath; + } + + public String getSort() { + return sort; + } + + public void setSort(String sort) { + this.sort = sort; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("filePath", getFilePath()) + .append("sort", getSort()) + .toString(); + } +} diff --git a/blxc-admin/src/main/java/com/ruoyi/portal/system/mapper/NdLbtMapper.java b/blxc-admin/src/main/java/com/ruoyi/portal/system/mapper/NdLbtMapper.java new file mode 100644 index 0000000..22d32bd --- /dev/null +++ b/blxc-admin/src/main/java/com/ruoyi/portal/system/mapper/NdLbtMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.system.mapper; + +import java.util.List; +import com.ruoyi.system.domain.NdLbt; + +/** + * 轮播图Mapper接口 + * + * @author ruoyi + * @date 2024-09-20 + */ +public interface NdLbtMapper +{ + /** + * 查询轮播图 + * + * @param id 轮播图主键 + * @return 轮播图 + */ + public NdLbt selectNdLbtById(Long id); + + /** + * 查询轮播图列表 + * + * @param ndLbt 轮播图 + * @return 轮播图集合 + */ + public List selectNdLbtList(NdLbt ndLbt); + + /** + * 新增轮播图 + * + * @param ndLbt 轮播图 + * @return 结果 + */ + public int insertNdLbt(NdLbt ndLbt); + + /** + * 修改轮播图 + * + * @param ndLbt 轮播图 + * @return 结果 + */ + public int updateNdLbt(NdLbt ndLbt); + + /** + * 删除轮播图 + * + * @param id 轮播图主键 + * @return 结果 + */ + public int deleteNdLbtById(Long id); + + /** + * 批量删除轮播图 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteNdLbtByIds(String[] ids); +} diff --git a/blxc-admin/src/main/java/com/ruoyi/portal/system/service/INdLbtService.java b/blxc-admin/src/main/java/com/ruoyi/portal/system/service/INdLbtService.java new file mode 100644 index 0000000..03a2e88 --- /dev/null +++ b/blxc-admin/src/main/java/com/ruoyi/portal/system/service/INdLbtService.java @@ -0,0 +1,61 @@ +package com.ruoyi.system.service; + +import java.util.List; +import com.ruoyi.system.domain.NdLbt; + +/** + * 轮播图Service接口 + * + * @author ruoyi + * @date 2024-09-20 + */ +public interface INdLbtService +{ + /** + * 查询轮播图 + * + * @param id 轮播图主键 + * @return 轮播图 + */ + public NdLbt selectNdLbtById(Long id); + + /** + * 查询轮播图列表 + * + * @param ndLbt 轮播图 + * @return 轮播图集合 + */ + public List selectNdLbtList(NdLbt ndLbt); + + /** + * 新增轮播图 + * + * @param ndLbt 轮播图 + * @return 结果 + */ + public int insertNdLbt(NdLbt ndLbt); + + /** + * 修改轮播图 + * + * @param ndLbt 轮播图 + * @return 结果 + */ + public int updateNdLbt(NdLbt ndLbt); + + /** + * 批量删除轮播图 + * + * @param ids 需要删除的轮播图主键集合 + * @return 结果 + */ + public int deleteNdLbtByIds(String ids); + + /** + * 删除轮播图信息 + * + * @param id 轮播图主键 + * @return 结果 + */ + public int deleteNdLbtById(Long id); +} diff --git a/blxc-admin/src/main/java/com/ruoyi/portal/system/service/impl/NdLbtServiceImpl.java b/blxc-admin/src/main/java/com/ruoyi/portal/system/service/impl/NdLbtServiceImpl.java new file mode 100644 index 0000000..5adebe1 --- /dev/null +++ b/blxc-admin/src/main/java/com/ruoyi/portal/system/service/impl/NdLbtServiceImpl.java @@ -0,0 +1,94 @@ +package com.ruoyi.system.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.system.mapper.NdLbtMapper; +import com.ruoyi.system.domain.NdLbt; +import com.ruoyi.system.service.INdLbtService; +import com.ruoyi.common.core.text.Convert; + +/** + * 轮播图Service业务层处理 + * + * @author ruoyi + * @date 2024-09-20 + */ +@Service +public class NdLbtServiceImpl implements INdLbtService +{ + @Autowired + private NdLbtMapper ndLbtMapper; + + /** + * 查询轮播图 + * + * @param id 轮播图主键 + * @return 轮播图 + */ + @Override + public NdLbt selectNdLbtById(Long id) + { + return ndLbtMapper.selectNdLbtById(id); + } + + /** + * 查询轮播图列表 + * + * @param ndLbt 轮播图 + * @return 轮播图 + */ + @Override + public List selectNdLbtList(NdLbt ndLbt) + { + return ndLbtMapper.selectNdLbtList(ndLbt); + } + + /** + * 新增轮播图 + * + * @param ndLbt 轮播图 + * @return 结果 + */ + @Override + public int insertNdLbt(NdLbt ndLbt) + { + return ndLbtMapper.insertNdLbt(ndLbt); + } + + /** + * 修改轮播图 + * + * @param ndLbt 轮播图 + * @return 结果 + */ + @Override + public int updateNdLbt(NdLbt ndLbt) + { + return ndLbtMapper.updateNdLbt(ndLbt); + } + + /** + * 批量删除轮播图 + * + * @param ids 需要删除的轮播图主键 + * @return 结果 + */ + @Override + public int deleteNdLbtByIds(String ids) + { + return ndLbtMapper.deleteNdLbtByIds(Convert.toStrArray(ids)); + } + + /** + * 删除轮播图信息 + * + * @param id 轮播图主键 + * @return 结果 + */ + @Override + public int deleteNdLbtById(Long id) + { + return ndLbtMapper.deleteNdLbtById(id); + } +} diff --git a/blxc-admin/src/main/java/com/ruoyi/web/controller/common/CommonController.java b/blxc-admin/src/main/java/com/ruoyi/web/controller/common/CommonController.java index afb1b52..e2d8213 100644 --- a/blxc-admin/src/main/java/com/ruoyi/web/controller/common/CommonController.java +++ b/blxc-admin/src/main/java/com/ruoyi/web/controller/common/CommonController.java @@ -83,7 +83,8 @@ public class CommonController String filePath = RuoYiConfig.getUploadPath(); // 上传并返回新文件名称 String fileName = FileUploadUtils.upload(filePath, file); - String url = serverConfig.getUrl() + fileName; +// String url = serverConfig.getUrl() + fileName; + String url = "https://iceae.jlau.edu.cn" + fileName; AjaxResult ajax = AjaxResult.success(); ajax.put("url", url); ajax.put("fileName", fileName); diff --git a/blxc-admin/src/main/java/com/ruoyi/web/controller/system/SysLoginController.java b/blxc-admin/src/main/java/com/ruoyi/web/controller/system/SysLoginController.java index 957a057..fb9aa63 100644 --- a/blxc-admin/src/main/java/com/ruoyi/web/controller/system/SysLoginController.java +++ b/blxc-admin/src/main/java/com/ruoyi/web/controller/system/SysLoginController.java @@ -8,6 +8,8 @@ import com.ruoyi.portal.back.domain.NdNew; import com.ruoyi.portal.back.domain.NdNewType; import com.ruoyi.portal.back.service.INdNewService; import com.ruoyi.portal.back.service.INdNewTypeService; +import com.ruoyi.system.domain.NdLbt; +import com.ruoyi.system.service.INdLbtService; import org.apache.shiro.SecurityUtils; import org.apache.shiro.authc.AuthenticationException; import org.apache.shiro.authc.UsernamePasswordToken; @@ -52,6 +54,8 @@ public class SysLoginController extends BaseController @Autowired private INdNewTypeService ndNewTypeService; + @Autowired + private INdLbtService ndLbtService; @GetMapping("/") public String index(HttpServletRequest request, HttpServletResponse response, ModelMap mmap) @@ -77,11 +81,22 @@ public class SysLoginController extends BaseController ndNew = new NdNew(); ndNew.setNewType("13"); List yqljList = ndNewService.selectNdNewList(ndNew); - mmap.put("yqljList", yqljList); + + NdNew tplb = new NdNew(); + tplb.setNewType("10"); + tplb.setParamLimitno("5"); + List tplbList = ndNewService.selectTplbList(tplb); + + NdLbt ndLbt = new NdLbt(); + List lbtList = ndLbtService.selectNdLbtList(ndLbt); + + mmap.put("yqljList", yqljList); mmap.put("xwdtList", xwdtList); mmap.put("tztgList", tztgList); mmap.put("hdygList", hdygList); + mmap.put("tplbList", tplbList); + mmap.put("lbtList", lbtList); return "portal/index"; } @@ -194,26 +209,31 @@ public class SysLoginController extends BaseController ndNew.setClickRate(ndNew.getClickRate()+1); ndNewService.updateNdNew(ndNew); - String newType = ndNew.getNewType(); + String newType =request.getParameter("newType"); - NdNewType oneType = ndNewTypeService.selectNdNewTypeById(Long.parseLong(newType)); + if(StringUtils.isNotEmpty(newType)){ + NdNewType oneType = ndNewTypeService.selectNdNewTypeById(Long.parseLong(newType)); - NdNewType twoType = ndNewTypeService.selectNdNewTypeById(oneType.getParentId()); + NdNewType twoType = ndNewTypeService.selectNdNewTypeById(oneType.getParentId()); - String twoCode = twoType.getId()+""; - String twoName = twoType.getName(); - String threeCode = oneType.getId()+""; - String threeName = oneType.getName(); + String twoCode = twoType.getId()+""; + String twoName = twoType.getName(); + String threeCode = oneType.getId()+""; + String threeName = oneType.getName(); - if(!StringUtils.equals("1",twoCode)){ - mmap.put("twoName",twoName); - mmap.put("twoCode",twoCode); - }else{ - mmap.put("twoName","-1"); - mmap.put("twoCode","-1"); + if(!StringUtils.equals("1",twoCode)){ + mmap.put("twoName",twoName); + mmap.put("twoCode",twoCode); + }else{ + mmap.put("twoName","-1"); + mmap.put("twoCode","-1"); + } + mmap.put("threeName",threeName); + mmap.put("threeCode",threeCode); } - mmap.put("threeName",threeName); - mmap.put("threeCode",threeCode); + + + mmap.put("info", ndNew); //友情链接 diff --git a/blxc-admin/src/main/resources/application.yml b/blxc-admin/src/main/resources/application.yml index 8f5063d..3e6e11e 100644 --- a/blxc-admin/src/main/resources/application.yml +++ b/blxc-admin/src/main/resources/application.yml @@ -64,9 +64,9 @@ spring: servlet: multipart: # 单个文件大小 - max-file-size: 10MB + max-file-size: 300MB # 设置总上传的文件大小 - max-request-size: 20MB + max-request-size: 500MB # 服务模块 devtools: restart: diff --git a/blxc-admin/src/main/resources/static/portal/css/index.css b/blxc-admin/src/main/resources/static/portal/css/index.css index a54fa2b..f1de802 100644 --- a/blxc-admin/src/main/resources/static/portal/css/index.css +++ b/blxc-admin/src/main/resources/static/portal/css/index.css @@ -188,8 +188,8 @@ html { background-position: 0 100%; background-size: 0 .04rem; background-repeat: no-repeat; - transition: background-size .3s -} + transition: background-size .3s; + } .titlin_w:hover .titline_w { background-size: 100% .04rem @@ -207,7 +207,7 @@ html { background-repeat: no-repeat; transition: background-size .3s; font-size: .86rem; -} + } .titlin_b:hover .titline_b { background-size: 100% .04rem @@ -386,7 +386,7 @@ html { letter-spacing: .0192rem; text-align: center; border: none; - font-size:1.1rem; + font-size:1.2rem; } .details_title ul { @@ -740,11 +740,12 @@ html { .main-wrapper { position: relative; width: 100%; - height: 100%; + height:100%; z-index: 1; display: flex; transition-property: transform; box-sizing: content-box; +/* height: calc((100vh - (24px + 76px + 24px)*var(--scale-num)) / var(--scale-num));*/ } .leftFix { @@ -1023,22 +1024,23 @@ html { } .homec .cleft { - width: 55%; + width: 58%; position:relative; } .homec .cleft img{ position:absolute; - -webkit-transition: all .4s;-o-transition: all .4s;transition: all .4s; +/* -webkit-transition: all .4s;-o-transition: all .4s;transition: all .4s;*/ z-index:999; } .homec .cleft:hover img{ - -webkit-transform: scale(1.05);-ms-transform: scale(1.05);transform: scale(1.05); +/* -webkit-transform: scale(1.05);-ms-transform: scale(1.05);transform: scale(1.05);*/ } .homec .cright { - width: 45%; + width: 42%; background: url("../images/yrbg.png") no-repeat center; background-size: cover; position: relative; + height: 27.7rem; } .homec .cright .item1 { @@ -2636,7 +2638,7 @@ html { } .syst{ align-items: center; -} + } /* 第一屏 */ .oneping { @@ -3039,7 +3041,7 @@ li.A_li9:hover p { .index-flash .list li { position: relative; - height: 31.1rem; + height: 32.3rem; } .index-flash .list li .img { @@ -3057,8 +3059,10 @@ li.A_li9:hover p { transition: all .4s; } + /*.bg-mask .pic .a{background-repeat: no-repeat;background-position: center;background-size: cover;height: 100%;display: block;-webkit-transition: all .4s;-o-transition: all .4s;transition: all .4s;} -*/.index-flash .list li .img a:hover{-webkit-transform: scale(1.05);-ms-transform: scale(1.05);transform: scale(1.05);} +*/ +.index-flash .list li .img a:hover{-webkit-transform: scale(1.05);-ms-transform: scale(1.05);transform: scale(1.05);} .index-flash .list li .img a:before { content: ""; @@ -3210,6 +3214,71 @@ li.A_li9:hover p { color: #fff; } +.fdimg:hover { + -webkit-transform: scale(1.05);-ms-transform: scale(1.05);transform: scale(1.05); +} + +/* 第四屏 */ +/*index*/ +.index-flash33 { + width: 100%; +} + + +.index-flash33 .wal2 { + width: 100%; +/* padding-top: .48rem;*/ +} +.index-flash33 .lsds{ + width: 58%; +} + +.index-flash33 .list { + width: 100%; + overflow: hidden; + position: relative; +} + +.index-flash33 .list li { + position: relative; +} + +.index-flash33 .list li .img { + height: 27.7rem; + min-height: 13.75rem; +} + +.index-flash33 .list li .img a { + position: relative; + display: block; + height: 100%; +} + +.index-flash33 .list li .img a:before { + content: ""; + display: block; + position: absolute; + left: 0; + bottom: 0; + right: 0; + top: 0; + /* background: url("../images/bg20_2.png") center bottom repeat-x; */ + background-size: auto 4.28rem; +} + +.index-flash33 .list li img { + height: 100%; + position:absolute;*/ + -webkit-transition: all .4s;-o-transition: all .4s;transition: all .4s;*/ + z-index:999;*/ +} +.index-flash33 .list li:hover img{ +-webkit-transform: scale(1.05);-ms-transform: scale(1.05);transform: scale(1.05);*/ +} + + + + /* 第4屏 */ .buju { display: flex; @@ -3509,17 +3578,17 @@ li.A_li9:hover p { } .homec .aleft { - width: 35.8%; + width: 37.8%; padding-right: 4% } .homed .aleft { - width: 35.8%; + width: 37.8%; padding-right: 4% } .homee .aleft { - width: 35.8%; + width: 37.8%; padding-right: 4% } @@ -3984,7 +4053,8 @@ li.A_li9:hover p { } .homef .home-footer .fright { - /* width: 100%; + + width: 100%; background: #062c7b */ } @@ -4433,7 +4503,7 @@ li.A_li9:hover p { height:3rem; padding:0.3rem 1rem; position:absolute; - bottom:2.4rem; + bottom:3.8rem; overflow: hidden; } .static-name h3{ @@ -4482,7 +4552,6 @@ li.A_li9:hover p { .clearfix{ zoom:1; } - .portal_list li{ border-bottom: .04rem dashed rgba(0,0,0,0.2); } diff --git a/blxc-admin/src/main/resources/static/portal/css/sys.css b/blxc-admin/src/main/resources/static/portal/css/sys.css index f7dedf7..3f363f5 100644 --- a/blxc-admin/src/main/resources/static/portal/css/sys.css +++ b/blxc-admin/src/main/resources/static/portal/css/sys.css @@ -1 +1,3 @@ -.pb_sys_common{font-size:.48rem;font-family:SimSun;line-height:.48rem;color:#222}.pb_sys_common a{text-decoration:none}.pb_sys_common .p_pages{margin-left:-0.2rem}.pb_sys_common .p_fun_d,.pb_sys_common .p_no_d,.pb_sys_common .p_no_o,.pb_sys_common .p_fun a,.pb_sys_common .p_no a{border:.04rem solid #ccc;padding:.2rem .32rem;margin:0 0 0 .2rem;height:.96rem;-height:auto;line-height:.48rem;box-sizing:border-box;display:inline-block;vertical-align:middle}.pb_sys_common .p_t{line-height:.48rem;margin:0;padding:0;display:inline-block;vertical-align:middle}.pb_sys_common .p_fun_d,.pb_sys_common .p_no_d,.pb_sys_common .p_no_o{color:#ccc}.pb_sys_common .p_fun a,.pb_sys_common .p_no a{color:#222}.pb_sys_common .p_dot{margin-left:.16rem;margin-right:-0.16rem;color:#222}.pb_sys_common .p_goto input,.pb_sys_common .p_search input{font-family:SimSun;font-size:.48rem;border:.04rem solid #aaa;height:.88rem;line-height:.8rem;box-sizing:border-box;vertical-align:middle;outline-width:thin;outline-color:#258cff;margin:0 .08rem;padding:0 .04rem}.pb_sys_common .p_goto input{width:.88rem;text-align:center}.pb_sys_common .p_search input{width:4rem;text-align:left}.pb_sys_common .p_goto input:hover,.pb_sys_common .p_goto input:focus,.pb_sys_common .p_search input:hover,.pb_sys_common .p_search input:focus{border:.04rem solid #258cff}.pb_sys_common .p_goto a,.pb_sys_common .p_search a{border:.04rem solid #ccc;padding:.2rem .24rem;color:#222;margin:0;height:.96rem;-height:auto;line-height:.48rem;display:inline-block;box-sizing:border-box;vertical-align:middle}.pb_sys_common .p_dosize_d,.pb_sys_common .p_dosize a{border-right:.04rem solid #ccc;padding:.04rem .2rem;color:#888}.pb_sys_common .p_dosize_d{color:#222}.pb_sys_common .p_dosize a:hover{color:#222}.pb_sys_common .p_dosize_last_d,.pb_sys_common .p_dosize_last a{border-right-width:0}.pb_sys_normal .p_first,.pb_sys_normal .p_first_d,.pb_sys_normal .p_last,.pb_sys_normal .p_last_d{display:none}.pb_sys_normal2 .p_first,.pb_sys_normal2 .p_first_d,.pb_sys_normal2 .p_last,.pb_sys_normal2 .p_last_d,.pb_sys_normal2 .p_prev_d,.pb_sys_normal2 .p_next_d{display:none}.pb_sys_full2 .p_first_d,.pb_sys_full2 .p_last_d,.pb_sys_full2 .p_prev_d,.pb_sys_full2 .p_next_d{display:none}.pb_sys_short .p_no,.pb_sys_short .p_no_d,.pb_sys_short .p_no_o,.pb_sys_short .p_dot{display:none}.pb_sys_short2 .p_no,.pb_sys_short2 .p_no_d,.pb_sys_short2 .p_no_o,.pb_sys_short2 .p_dot,.pb_sys_short2 .p_first,.pb_sys_short2 .p_first_d,.pb_sys_short2 .p_last,.pb_sys_short2 .p_last_d{display:none}.pb_sys_style1 .p_no a:hover,.pb_sys_style1 .p_fun a:hover,.pb_sys_style1 .p_goto a:hover,.pb_sys_style1 .p_search a:hover,.pb_sys_style2 .p_no a:hover,.pb_sys_style2 .p_fun a:hover,.pb_sys_style2 .p_goto a:hover,.pb_sys_style2 .p_search a:hover,.pb_sys_style3 .p_no a:hover,.pb_sys_style3 .p_fun a:hover,.pb_sys_style3 .p_goto a:hover,.pb_sys_style3 .p_search a:hover,.pb_sys_style4 .p_no a:hover,.pb_sys_style4 .p_fun a:hover,.pb_sys_style4 .p_goto a:hover,.pb_sys_style4 .p_search a:hover{background-color:#f5f5f5}.pb_sys_style1 .p_no_d{border:.04rem solid #258cff;color:#fff;background-color:#258cff}.pb_sys_style2 .p_no_d{border:.04rem solid #f04646;color:#fff;background-color:#f04646}.pb_sys_style3 .p_no_d{border:.04rem solid #32b907;color:#fff;background-color:#32b907}.pb_sys_style4 .p_no_d{border:.04rem solid #888;color:#fff;background-color:#888}.pb_sys_style5 .p_fun_d,.pb_sys_style5 .p_no_d,.pb_sys_style5 .p_no_o,.pb_sys_style5 .p_fun a,.pb_sys_style5 .p_no a,.pb_sys_style5 .p_goto a,.pb_sys_style5 .p_search a,.pb_sys_style6 .p_fun_d,.pb_sys_style6 .p_no_d,.pb_sys_style6 .p_no_o,.pb_sys_style6 .p_fun a,.pb_sys_style6 .p_no a,.pb_sys_style6 .p_goto a,.pb_sys_style6 .p_search a,.pb_sys_style7 .p_fun_d,.pb_sys_style7 .p_no_d,.pb_sys_style7 .p_no_o,.pb_sys_style7 .p_fun a,.pb_sys_style7 .p_no a,.pb_sys_style7 .p_goto a,.pb_sys_style7 .p_search a,.pb_sys_style8 .p_fun_d,.pb_sys_style8 .p_no_d,.pb_sys_style8 .p_no_o,.pb_sys_style8 .p_fun a,.pb_sys_style8 .p_no a,.pb_sys_style8 .p_goto a,.pb_sys_style8 .p_search a{border:.04rem solid transparent}.pb_sys_style5 .p_no_d,.pb_sys_style5 .p_no a:hover,.pb_sys_style6 .p_no_d,.pb_sys_style6 .p_no a:hover,.pb_sys_style7 .p_no_d,.pb_sys_style7 .p_no a:hover,.pb_sys_style8 .p_no_d,.pb_sys_style8 .p_no a:hover{border-radius:.08rem;-webkit-border-radius:.08rem;-moz-border-radius:.08rem;-ms-border-radius:.08rem;-o-border-radius:.08rem}.pb_sys_style5 .p_fun a:hover,.pb_sys_style5 .p_goto a:hover,.pb_sys_style5 .p_search a:hover,.pb_sys_style6 .p_fun a:hover,.pb_sys_style6 .p_goto a:hover,.pb_sys_style6 .p_search a:hover,.pb_sys_style7 .p_fun a:hover,.pb_sys_style7 .p_goto a:hover,.pb_sys_style7 .p_search a:hover,.pb_sys_style8 .p_fun a:hover,.pb_sys_style8 .p_goto a:hover,.pb_sys_style8 .p_search a:hover{text-decoration:underline}.pb_sys_style5 .p_no_d,.pb_sys_style5 .p_no a:hover{border:.04rem solid #258cff;color:#fff;background-color:#258cff}.pb_sys_style6 .p_no_d,.pb_sys_style6 .p_no a:hover{border:.04rem solid #f04646;color:#fff;background-color:#f04646}.pb_sys_style7 .p_no_d,.pb_sys_style7 .p_no a:hover{border:.04rem solid #32b907;color:#fff;background-color:#32b907}.pb_sys_style8 .p_no_d,.pb_sys_style8 .p_no a:hover{border:.04rem solid #888;color:#fff;background-color:#888} \ No newline at end of file +.pb_sys_common{font-size:.48rem;font-family:SimSun;line-height:.48rem;color:#222} +.pb_sys_common a{text-decoration:none}.pb_sys_common .p_pages{margin-left:-0.2rem} +.pb_sys_common .p_fun_d,.pb_sys_common .p_no_d,.pb_sys_common .p_no_o,.pb_sys_common .p_fun a,.pb_sys_common .p_no a{border:.04rem solid #ccc;padding:.2rem .32rem;margin:0 0 0 .2rem;height:.96rem;-height:auto;line-height:.48rem;box-sizing:border-box;display:inline-block;vertical-align:middle}.pb_sys_common .p_t{line-height:.48rem;margin:0;padding:0;display:inline-block;vertical-align:middle}.pb_sys_common .p_fun_d,.pb_sys_common .p_no_d,.pb_sys_common .p_no_o{color:#ccc}.pb_sys_common .p_fun a,.pb_sys_common .p_no a{color:#222}.pb_sys_common .p_dot{margin-left:.16rem;margin-right:-0.16rem;color:#222}.pb_sys_common .p_goto input,.pb_sys_common .p_search input{font-family:SimSun;font-size:.48rem;border:.04rem solid #aaa;height:.88rem;line-height:.8rem;box-sizing:border-box;vertical-align:middle;outline-width:thin;outline-color:#258cff;margin:0 .08rem;padding:0 .04rem}.pb_sys_common .p_goto input{width:.88rem;text-align:center}.pb_sys_common .p_search input{width:4rem;text-align:left}.pb_sys_common .p_goto input:hover,.pb_sys_common .p_goto input:focus,.pb_sys_common .p_search input:hover,.pb_sys_common .p_search input:focus{border:.04rem solid #258cff}.pb_sys_common .p_goto a,.pb_sys_common .p_search a{border:.04rem solid #ccc;padding:.2rem .24rem;color:#222;margin:0;height:.96rem;-height:auto;line-height:.48rem;display:inline-block;box-sizing:border-box;vertical-align:middle}.pb_sys_common .p_dosize_d,.pb_sys_common .p_dosize a{border-right:.04rem solid #ccc;padding:.04rem .2rem;color:#888}.pb_sys_common .p_dosize_d{color:#222}.pb_sys_common .p_dosize a:hover{color:#222}.pb_sys_common .p_dosize_last_d,.pb_sys_common .p_dosize_last a{border-right-width:0}.pb_sys_normal .p_first,.pb_sys_normal .p_first_d,.pb_sys_normal .p_last,.pb_sys_normal .p_last_d{display:none}.pb_sys_normal2 .p_first,.pb_sys_normal2 .p_first_d,.pb_sys_normal2 .p_last,.pb_sys_normal2 .p_last_d,.pb_sys_normal2 .p_prev_d,.pb_sys_normal2 .p_next_d{display:none}.pb_sys_full2 .p_first_d,.pb_sys_full2 .p_last_d,.pb_sys_full2 .p_prev_d,.pb_sys_full2 .p_next_d{display:none}.pb_sys_short .p_no,.pb_sys_short .p_no_d,.pb_sys_short .p_no_o,.pb_sys_short .p_dot{display:none}.pb_sys_short2 .p_no,.pb_sys_short2 .p_no_d,.pb_sys_short2 .p_no_o,.pb_sys_short2 .p_dot,.pb_sys_short2 .p_first,.pb_sys_short2 .p_first_d,.pb_sys_short2 .p_last,.pb_sys_short2 .p_last_d{display:none}.pb_sys_style1 .p_no a:hover,.pb_sys_style1 .p_fun a:hover,.pb_sys_style1 .p_goto a:hover,.pb_sys_style1 .p_search a:hover,.pb_sys_style2 .p_no a:hover,.pb_sys_style2 .p_fun a:hover,.pb_sys_style2 .p_goto a:hover,.pb_sys_style2 .p_search a:hover,.pb_sys_style3 .p_no a:hover,.pb_sys_style3 .p_fun a:hover,.pb_sys_style3 .p_goto a:hover,.pb_sys_style3 .p_search a:hover,.pb_sys_style4 .p_no a:hover,.pb_sys_style4 .p_fun a:hover,.pb_sys_style4 .p_goto a:hover,.pb_sys_style4 .p_search a:hover{background-color:#f5f5f5}.pb_sys_style1 .p_no_d{border:.04rem solid #258cff;color:#fff;background-color:#258cff}.pb_sys_style2 .p_no_d{border:.04rem solid #f04646;color:#fff;background-color:#f04646}.pb_sys_style3 .p_no_d{border:.04rem solid #32b907;color:#fff;background-color:#32b907}.pb_sys_style4 .p_no_d{border:.04rem solid #888;color:#fff;background-color:#888}.pb_sys_style5 .p_fun_d,.pb_sys_style5 .p_no_d,.pb_sys_style5 .p_no_o,.pb_sys_style5 .p_fun a,.pb_sys_style5 .p_no a,.pb_sys_style5 .p_goto a,.pb_sys_style5 .p_search a,.pb_sys_style6 .p_fun_d,.pb_sys_style6 .p_no_d,.pb_sys_style6 .p_no_o,.pb_sys_style6 .p_fun a,.pb_sys_style6 .p_no a,.pb_sys_style6 .p_goto a,.pb_sys_style6 .p_search a,.pb_sys_style7 .p_fun_d,.pb_sys_style7 .p_no_d,.pb_sys_style7 .p_no_o,.pb_sys_style7 .p_fun a,.pb_sys_style7 .p_no a,.pb_sys_style7 .p_goto a,.pb_sys_style7 .p_search a,.pb_sys_style8 .p_fun_d,.pb_sys_style8 .p_no_d,.pb_sys_style8 .p_no_o,.pb_sys_style8 .p_fun a,.pb_sys_style8 .p_no a,.pb_sys_style8 .p_goto a,.pb_sys_style8 .p_search a{border:.04rem solid transparent}.pb_sys_style5 .p_no_d,.pb_sys_style5 .p_no a:hover,.pb_sys_style6 .p_no_d,.pb_sys_style6 .p_no a:hover,.pb_sys_style7 .p_no_d,.pb_sys_style7 .p_no a:hover,.pb_sys_style8 .p_no_d,.pb_sys_style8 .p_no a:hover{border-radius:.08rem;-webkit-border-radius:.08rem;-moz-border-radius:.08rem;-ms-border-radius:.08rem;-o-border-radius:.08rem}.pb_sys_style5 .p_fun a:hover,.pb_sys_style5 .p_goto a:hover,.pb_sys_style5 .p_search a:hover,.pb_sys_style6 .p_fun a:hover,.pb_sys_style6 .p_goto a:hover,.pb_sys_style6 .p_search a:hover,.pb_sys_style7 .p_fun a:hover,.pb_sys_style7 .p_goto a:hover,.pb_sys_style7 .p_search a:hover,.pb_sys_style8 .p_fun a:hover,.pb_sys_style8 .p_goto a:hover,.pb_sys_style8 .p_search a:hover{text-decoration:underline}.pb_sys_style5 .p_no_d,.pb_sys_style5 .p_no a:hover{border:.04rem solid #258cff;color:#fff;background-color:#258cff}.pb_sys_style6 .p_no_d,.pb_sys_style6 .p_no a:hover{border:.04rem solid #f04646;color:#fff;background-color:#f04646}.pb_sys_style7 .p_no_d,.pb_sys_style7 .p_no a:hover{border:.04rem solid #32b907;color:#fff;background-color:#32b907}.pb_sys_style8 .p_no_d,.pb_sys_style8 .p_no a:hover{border:.04rem solid #888;color:#fff;background-color:#888} \ No newline at end of file diff --git a/blxc-admin/src/main/resources/static/portal/picture/777910.png b/blxc-admin/src/main/resources/static/portal/picture/777910.png index c6cb62c..4f0cc65 100644 Binary files a/blxc-admin/src/main/resources/static/portal/picture/777910.png and b/blxc-admin/src/main/resources/static/portal/picture/777910.png differ diff --git a/blxc-admin/src/main/resources/templates/lbt/add.html b/blxc-admin/src/main/resources/templates/lbt/add.html new file mode 100644 index 0000000..ac99868 --- /dev/null +++ b/blxc-admin/src/main/resources/templates/lbt/add.html @@ -0,0 +1,52 @@ + + + + + + + +
+
+
+ +
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ + + + + \ No newline at end of file diff --git a/blxc-admin/src/main/resources/templates/lbt/edit.html b/blxc-admin/src/main/resources/templates/lbt/edit.html new file mode 100644 index 0000000..3a2ec09 --- /dev/null +++ b/blxc-admin/src/main/resources/templates/lbt/edit.html @@ -0,0 +1,59 @@ + + + + + + + +
+
+ +
+ +
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ + + + + \ No newline at end of file diff --git a/blxc-admin/src/main/resources/templates/lbt/lbt.html b/blxc-admin/src/main/resources/templates/lbt/lbt.html new file mode 100644 index 0000000..a85e2ff --- /dev/null +++ b/blxc-admin/src/main/resources/templates/lbt/lbt.html @@ -0,0 +1,89 @@ + + + + + + +
+
+ + + + + + + + + + + + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/blxc-admin/src/main/resources/templates/portal/details.html b/blxc-admin/src/main/resources/templates/portal/details.html index a355571..d94807b 100644 --- a/blxc-admin/src/main/resources/templates/portal/details.html +++ b/blxc-admin/src/main/resources/templates/portal/details.html @@ -35,7 +35,7 @@ @@ -43,7 +43,8 @@

[[${info.title}]]

  • 日期:[[${#dates.format(info.publishTime, 'YYYY-MM-dd')}]]
  • -
  • 编辑:[[${info.sourceAuthor}]]
  • + +
  •  
  • 点击率:[[${info.clickRate}]]
diff --git a/blxc-admin/src/main/resources/templates/portal/headerAndFooter.html b/blxc-admin/src/main/resources/templates/portal/headerAndFooter.html index 3c2981a..d0dc825 100644 --- a/blxc-admin/src/main/resources/templates/portal/headerAndFooter.html +++ b/blxc-admin/src/main/resources/templates/portal/headerAndFooter.html @@ -14,7 +14,7 @@ - 吉林省新农科长白山创新学院 + 吉林省新农科长白山创新学院 @@ -37,17 +37,17 @@ @@ -193,9 +190,9 @@ @@ -205,9 +202,9 @@
-

- 电话:17790028444 -

+ + +

邮箱:ICEAE@jlau.edu.cn

@@ -234,27 +231,6 @@
友情链接: [[${item.title}]] - - - - - - - - - - - - - - - - - - - - -
diff --git a/blxc-admin/src/main/resources/templates/portal/index.html b/blxc-admin/src/main/resources/templates/portal/index.html index b0bffba..4bf839c 100644 --- a/blxc-admin/src/main/resources/templates/portal/index.html +++ b/blxc-admin/src/main/resources/templates/portal/index.html @@ -68,7 +68,7 @@