Commit 8149b0b0 by 周添尉

添加了网盘的分享,共享,分享码和首页地图的搜索地址功能

parent 63d633c3
......@@ -57,6 +57,15 @@ $.extend({
window.event.cancelBubble = true;
}
},
//阻止默认行为
preventDefualt:function(){
var event = event || window.event;
if (typeof event.preventDefault != 'undefined') {//w3c
event.preventDefault();
} else{
event.returnValue = false;//ie
}
},
//返回屏幕分辨率的宽和高
getViewSizeWithScrollbar:function(){//包含滚动条
if (window.innerWidth) {
......@@ -154,7 +163,48 @@ $.extend({
str = str.replace(/ss|SS/, date.getSeconds() > 9 ? date.getSeconds().toString() : '0' + date.getSeconds());
str = str.replace(/s|S/g, date.getSeconds());
return str;
}
},
//文件的大小转为B,KB,MB,GB
fileSizeToStr : function(limit){
var size = "";
if( limit < 0.1 * 1024 ){ //如果小于0.1KB转化成B
size = limit.toFixed(2) + "B";
}else if(limit < 0.1 * 1024 * 1024 ){//如果小于0.1MB转化成KB
size = (limit / 1024).toFixed(2) + "KB";
}else if(limit < 0.1 * 1024 * 1024 * 1024){ //如果小于0.1GB转化成MB
size = (limit / (1024 * 1024)).toFixed(2) + "MB";
}else{ //其他转化成GB
size = (limit / (1024 * 1024 * 1024)).toFixed(2) + "GB";
}
var sizestr = size + "";
var len = sizestr.indexOf("\.");
var dec = sizestr.substr(len + 1, 2);
if(dec == "00"){//当小数点后为00时 去掉小数部分
return sizestr.substring(0,len) + sizestr.substr(len + 3,2);
}
return sizestr;
},
/*
** randomWord 产生任意长度随机字母数字组合
** randomFlag-是否任意长度 min-任意长度最小位[固定位数] max-任意长度最大位
** xuanfeng 2014-08-28
*/
randomWord : function(randomFlag, min, max){
var str = "",
range = min,
arr = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'];
// 随机产生
if(randomFlag){
range = Math.round(Math.random() * (max-min)) + min;
}
for(var i=0; i<range; i++){
pos = Math.round(Math.random() * (arr.length-1));
str += arr[pos];
}
return str;
}
//
}
});
\ No newline at end of file
......@@ -139,7 +139,7 @@ a{
text-align:center;
color:white;
line-height: 40px;
border-radius: 20px;
border-radius:5px;
margin:0 auto 13px;
}
.login_item_login:hover{
......
......@@ -257,6 +257,10 @@ a{
.index_container_header{
border-bottom:2px solid #1887f6;
height:30px;
position:relative;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.index_container_header>label{
display:inline-block;
......@@ -274,18 +278,26 @@ a{
line-height:28px;
}
.index_container_header>label+span+span{
font-size:12px;
color:#1887f6;
vertical-align: middle;
font-size: 12px;
color: #1887f6;
vertical-align:middle;
}
.index_container_header>img{
float: right;
background: #b9dbfc;
margin-left: 7px;
border-radius: 3px;
padding: 1px;
margin-top: 5px;
display: none;
top: 5px;
display: none;
position: absolute;
}
.index_container_header>img:first-of-type{
right:0;
}
.index_container_header>img:first-of-type+img{
right:24px;
}
.index_container_header>img:first-of-type+img+img{
right: 48px;
}
.index_container_header>img:hover{
background:#ddeefd;
......@@ -1013,9 +1025,13 @@ a{
border:1px solid #ABD6EA !important;
border-radius: 5px;
}
.disk_rubbish_fileName:hover{
cursor: default !important;
color:#333 !important;
}
.disk_content_lump_click>div:hover{
cursor: pointer !important;
color:#2CA4F0 !important;
cursor: pointer;
color:#2CA4F0;
}
.disk_content_lump img{
width:100%;
......@@ -1105,6 +1121,14 @@ a{
background:#93D5FF;
font-weight:bold;
}
.disk_move_title>span:first-child{
display: inline-block;
/* width: 345px; */
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: top;
}
.disk_move_title>span:first-child+span{
float:right;
margin-top:10px;
......@@ -1187,7 +1211,7 @@ a{
}
.disk_upload_content>div{
padding:0px;
height:274px;
height:374px;
}
.disk_upload_content>div:first-child{
background:#fafbf6;
......@@ -1218,8 +1242,10 @@ a{
text-align: center;
}
.disk_upload_left_content_container{
border:2px dashed #ccc;
margin:53px 60px 10px;
border:2px dashed #eee;
margin:52px 40px 0px;
padding:40px 0;
border-radius: 5px;
}
.disk_upload_left_content_container>img{
margin-top:15px;
......@@ -1239,9 +1265,10 @@ a{
color:#bbb;
margin-bottom:15px;
}
.disk_upload_left_content_container+div{
.disk_upload_left_content_container>img+div+div+div{
font-size:12px;
color:#bbb;
margin-bottom:15px;
}
.disk_upload_right_header{
padding:0 7px;
......@@ -1257,7 +1284,7 @@ a{
padding:0 0 0 10px;
}
.disk_upload_right_content{
height:219px;
height:319px;
overflow: auto;
padding:4px 7px 0;
}
......@@ -1266,7 +1293,7 @@ a{
border:1px solid transparent;
border-radius:3px;
height:24px;
line-height:24px;
line-height:22px;
color:#999;
margin-top: 3px;
}
......@@ -1317,12 +1344,14 @@ a{
padding: 2px;
font-size: 12px;
box-shadow: 0 2px 4px rgba(126,205,255,0.6);
margin-left:3px;
margin-top: 2px;
}
.disk_upload_right_content>div>div:first-child+div>.glyphicon:hover{
background:#3AA2E0;
}
.disk_upload_right_content>div>div:first-child+div>.glyphicon-ok{
margin-left:46px;
margin-left:50px;
display: none;
background:#3AA2E0;
cursor: default;
......@@ -1333,6 +1362,284 @@ a{
color:#333;
border-top: 1px solid #f3f0f0;
}
.disk_rubbishBtn,.disk_shareCodeBtn{
display: none;
}
.disk_createShare{
overflow: hidden;
}
.disk_createShare_content{
padding:30px 30px 0;
}
.disk_createShare_content>div{
padding:0;
height:40px;
line-height:40px;
}
.disk_createShare_content select,.disk_createShare_content input{
height:40px;
color:#333;
background:#eee;
}
.disk_createShare_content span{
display: inline-block;
height: 40px;
line-height: 40px;
background: #93D5FF;
color: white;
border-radius: 4px;
margin-left:5%;
cursor: pointer;
width:95%;
text-align: center;
}
.disk_createShare_content span:hover{
opacity: 0.8;
}
.disk_createShare_content>div:first-child{
font-size:14px;
color:#bbb;
}
.disk_createShare_btn{
margin-top:30px;
}
.disk_createShare_btn:after{
content:'';
display: block;
width:50%;
height:40px;
background: #93D5FF;
float: left;
}
.disk_createShare_btn{
padding:0px;
text-align: right;
}
.disk_createShare_btn>span{
cursor: pointer;
display: inline-block;
width:25%;
height:40px;
line-height:40px;
text-align: center;
background: #93D5FF;
color:white;
}
.disk_createShare_btn>span:first-child{
background: #36ACF7;
}
.disk_createShare_btn>span:hover{
opacity: 0.8;
}
.disk_createShare_after{
overflow: hidden;
display:none;
}
.disk_createShare_after_title{
margin:30px 30px 0;
}
.disk_createShare_after_title>span:first-child{
background: #7EC1ED;
color: white;
border-radius: 50%;
padding: 2px;
font-size: 12px;
box-shadow: 0 2px 4px rgba(126,205,255,0.6);
margin-right:5px;
}
.disk_createShare_after_title>span{
color:#2ba0ea;
}
.disk_createShare_content>div>div{
padding:0px;
}
/*******************分享的样式*******************/
.share_cotainer{
width:400px;
height:276px;
position:absolute;
top:50%;
left:50%;
margin-top:-138px;
margin-left:-200px;
background:white;
border-radius: 5px;
}
.share_cotainer_header{
height:75px;
line-height:75px;
background: #9AD8FF;
border-radius: 5px 5px 0 0;
color:white;
padding-left:35px;
font-size:16px;
}
.share_cotainer_header>img+span{
font-size:18px;
font-weight: bold;
margin-right:8px;
margin-left:12px;
}
.share_cotainer_code{
padding:0 30px;
}
.share_cotainer_code>div:first-child{
color:#999;
margin:28px 0 18px;
}
.share_cotainer_code>div:first-child+div>input{
background: #eee;
border-radius: 4px;
height:40px;
width:100%;
border: none;
color:#333;
}
.share_cotainer_code>div:first-child+div+div{
margin:22px 0 40px;
display: inline-block;
width:134px;
height:40px;
line-height:40px;
background: #9AD8FF;
text-align: center;
border-radius: 4px;
color:white;
cursor: pointer;
}
.share_cotainer_code>div:first-child+div+div:hover{
opacity: 0.8;
}
.share_clound{
position:absolute;
bottom:0;
height:300px;
width:100%;
}
.shareDetail_container{
background: white;
min-height:100%;
border-radius: 5px;
padding:20px 15px 20px;
}
.shareDetail_container_header{
height:40px;
line-height: 40px;
padding-left:10px;
}
.shareDetail_container_header>img{
margin-right:7px;
}
.shareDetail_container_header>label{
color: #424e67;
font-weight: 200;
}
.shareDetail_container_header>span{
float:right;
height: 32px;
line-height: 32px;
text-align: center;
cursor: pointer;
margin-left:10px;
border: 1px solid #c0d9fe;
border-radius: 4px;
padding:0 10px;
color: #3b8cff;
}
.shareDetail_container_header i{
margin-right:3px;
}
.shareDetail_container_header>span:hover{
color: #77afff ;
}
.shareDetail_container_time{
border-bottom:1px solid #f1f5fb;
padding:10px 0 15px 10px;
font-size: 12px;
}
.shareDetail_container_time>span:first-child{
color:#999;
font-size: 14px;
vertical-align: bottom;
}
.shareDetail_container_time>span:first-child+span{
margin-right:16px;
margin-left:6px;
}
.shareDetail_container_mulu{
height:26px;
line-height:40px;
padding-left:10px;
font-size:12px;
}
.shareDetail_container_mulu>label{
font-weight: normal;
cursor: text;
}
.shareDetail_container_mulu>span:not(.shareDetail_container_mulu_shuxian){
color:#3b8cff;
cursor: pointer;
}
.shareDetail_container_mulu>span:not(.shareDetail_container_mulu_shuxian):hover{
text-decoration: underline;
}
.shareDetail_container_mulu_shuxian{
color:#c5d8f3;
padding: 0 5px;
}
.shareDetail_container_mulu_noClick{
color:#666 !important;
cursor: text !important;
}
.shareDetail_container_mulu_noClick:hover{
text-decoration: none !important;
}
/*************分享的列表样式***************/
.shareDetail_table tbody>tr:hover td{
background:#f6faff;
border-top: 1px solid #daebfe !important;
border-bottom: 1px solid #daebfe;
}
.shareDetail_table tbody .selected td {
background-color: #f6faff;
border-top: 1px solid #daebfe !important;
border-bottom: 1px solid #daebfe;
}
.shareDetail_table tbody td,.shareDetail_table thead th{
border-left:0px;
}
.shareDetail_table tbody>tr>td,.shareDetail_table tbody>tr>th,.shareDetail_table tfoot>tr>td,.shareDetail_table tfoot>tr>th,.shareDetail_table thead>tr>td, .table>thead>tr>th{
border-top:1px solid #f1f5fb;
}
.shareDetail_table .fixed-table-body{
height:auto;
}
.shareDetail_table .bootstrap-table .table > thead > tr > th{
border-bottom:0px;
}
.shareDetail_table .fixed-table-container{
border:0px;
}
/* .shareDetail_table thead>tr>th{
border-bottom:1px solid #f1f5fb;
} */
.shareDetail_table .bootstrap-table .table{
border-bottom:1px solid #f1f5fb;
}
.shareDetail_table tbody>tr:first-child td{
border-top:1px solid #f1f5fb;
}
/********************/
.shareDetail_downLoad{
cursor: pointer;
}
.shareDetail_downLoad:hover{
text-decoration: underline;
color:#3b8cff;
}
......@@ -17,7 +17,7 @@
<div class="index_search">
<div class="index_search_content">
<input type="text" value="大数据搜索引擎" onclick="index_search(this)"/>
<div class="index_search_img"><img src="${ctx}/custom/images/index4_search.png" height="22"/></div>
<div class="index_search_img" onclick="init_index_map($(this).prev().val())"><img src="${ctx}/custom/images/index4_search.png" height="22"/></div>
<div class="index_search_show">
<div class="index_search_show_content">
<div><label>所属区:</label></div>
......
......@@ -330,7 +330,9 @@ function init_index_search(){
})
}
//初始化地图
function init_index_map(){
function init_index_map(key){
//先显示加载图片
$('#index_map').prev().show();
/*var map = new BMap.Map("index_map");
map.centerAndZoom(new BMap.Point(116.404, 39.915), 11);
map.addControl(new BMap.MapTypeControl({mapTypes: [BMAP_NORMAL_MAP,BMAP_HYBRID_MAP]})); //2D图,卫星图 右上角
......@@ -342,51 +344,32 @@ function init_index_map(){
var geolocation = new BMap.Geolocation();
geolocation.getCurrentPosition(function(r){
if(this.getStatus() == BMAP_STATUS_SUCCESS){
var mk = new BMap.Marker(r.point);
map.addOverlay(mk);
/*map.panTo(r.point);//地图中心点移到当前位置*/
/*alert('您的位置:'+r.point.lng+','+r.point.lat);*/
var point = new BMap.Point(r.point.lng,r.point.lat);
map.centerAndZoom(point,12);
/*map.enableScrollWheelZoom(true); //开启鼠标滚轮缩放*/
// 创建地理编码实例
var myGeo = new BMap.Geocoder();
// 根据坐标得到地址描述
myGeo.getLocation(point, function(result){
if (result){
var opts = {
/*width : 80, // 信息窗口宽度
height: 50, // 信息窗口高度 */
title : "您所在的位置:", // 信息窗口标题
height:80
}
//创建信息窗口对象
if(result.addressComponents.province==result.addressComponents.city){
var infoWindow = new BMap.InfoWindow(result.addressComponents.province + " - " + result.addressComponents.district +"<div style='float:right;margin-top:30px;color:#1887f6' class='index_map_more'><a href='javascript:window.open(\"http://www.edushi.com/mapcity.html\")'>查看三维地图详情</a></div>", opts);
}
else{
var infoWindow = new BMap.InfoWindow(result.addressComponents.province + " - " + result.addressComponents.city + " - " + result.addressComponents.district +"<div style='float:right;margin-top:30px;color:#1887f6' class='index_map_more'><a href='javascript:window.open(\"http://www.edushi.com/mapcity.html\")'>查看三维地图详情</a></div>", opts);
}
//map.addControl(new BMap.NavigationControl()); //左上角移动控件
map.addControl(new BMap.ScaleControl()); //左下角标尺控件
map.addControl(new BMap.OverviewMapControl()); //右下角缩略地图,注意观察,不然看不到
map.addControl(new BMap.MapTypeControl({mapTypes: [BMAP_NORMAL_MAP,BMAP_HYBRID_MAP]})); //右上角 地图控件
if(result.addressComponents.city=="北京市"||result.addressComponents.city=="上海市"||result.addressComponents.city=="广州市"||result.addressComponents.city=="深圳市"){
map.addControl(new BMap.MapTypeControl({anchor: BMAP_ANCHOR_TOP_LEFT})); //左上角 地图控件
map.setCurrentCity(result.addressComponents.city); //由于有3D图,需要设置城市哦 ,目前支持北京、上海、广州、深圳4个城市3D图
}
else{
map.addControl(new BMap.MapTypeControl({anchor: BMAP_ANCHOR_TOP_LEFT,mapTypes: [BMAP_NORMAL_MAP,BMAP_SATELLITE_MAP,BMAP_HYBRID_MAP]})); //左上角 地图控件
if(key){
// 将地址解析结果显示在地图上,并调整地图视野
myGeo.getPoint(key, function(result){
point = result;
map.centerAndZoom(point, 12);
if(result){
//如果存在时则添加一个标注
map.addOverlay(new BMap.Marker(point));
}
//打开信息窗口
map.openInfoWindow(infoWindow, map.getCenter());
}
});
//文字提示
index_show_mapTip(map,myGeo,point);
});
}
else{
var mk = new BMap.Marker(r.point);
map.addOverlay(mk);
//文字提示
index_show_mapTip(map,myGeo,point);
}
}
else {
alert('failed'+this.getStatus());
......@@ -407,6 +390,44 @@ function init_index_map(){
});
}
//显示地图的提示文字
function index_show_mapTip(map,myGeo,point){
// 根据坐标得到地址描述
myGeo.getLocation(point, function(result){
if (result){
var opts = {
width : 80, // 信息窗口宽度
height: 90, // 信息窗口高度
title : "您所在的位置:", // 信息窗口标题
}
//创建信息窗口对象
if(result.addressComponents.province==result.addressComponents.city){
var infoWindow = new BMap.InfoWindow(result.addressComponents.province + " - " + result.addressComponents.district +"<div style='float:right;margin-top:30px;' class='index_map_more'><a style='color:#1887f6' href='javascript:window.open(\"http://www.edushi.com/mapcity.html\")'>查看三维地图详情</a></div>", opts);
}
else{
var infoWindow = new BMap.InfoWindow(result.addressComponents.province + " - " + result.addressComponents.city + " - " + result.addressComponents.district +"<div style='float:right;margin-top:30px;' class='index_map_more'><a style='color:#1887f6' href='javascript:window.open(\"http://www.edushi.com/mapcity.html\")'>查看三维地图详情</a></div>", opts);
}
//map.addControl(new BMap.NavigationControl()); //左上角移动控件
map.addControl(new BMap.ScaleControl()); //左下角标尺控件
map.addControl(new BMap.OverviewMapControl()); //右下角缩略地图,注意观察,不然看不到
map.addControl(new BMap.MapTypeControl({mapTypes: [BMAP_NORMAL_MAP,BMAP_HYBRID_MAP]})); //右上角 地图控件
if(result.addressComponents.city=="北京市"||result.addressComponents.city=="上海市"||result.addressComponents.city=="广州市"||result.addressComponents.city=="深圳市"){
map.addControl(new BMap.MapTypeControl({anchor: BMAP_ANCHOR_TOP_LEFT})); //左上角 地图控件
map.setCurrentCity(result.addressComponents.city); //由于有3D图,需要设置城市哦 ,目前支持北京、上海、广州、深圳4个城市3D图
}
else{
map.addControl(new BMap.MapTypeControl({anchor: BMAP_ANCHOR_TOP_LEFT,mapTypes: [BMAP_NORMAL_MAP,BMAP_SATELLITE_MAP,BMAP_HYBRID_MAP]})); //左上角 地图控件
}
//打开信息窗口
map.openInfoWindow(infoWindow, map.getCenter());
}
});
}
//点击搜索时
function index_search(handler){
$('.index_search_content>input').val('');
......
//提交分享码
function share_sendCode(handler){
/*//1.验证分享码过期
var $error_message = $(handler).parent().next();
$error_message.find('a').text('请正确填写分享码');
$error_message.fadeIn();
setTimeout(function() {
$error_message.fadeOut();
}, 3000)*/
//2.跳转到详情
var old_href = location.href;
var new_href = old_href.substring(0, old_href.lastIndexOf('/'));
location.href= new_href +'/shareDetail';
}
\ No newline at end of file
......@@ -139,7 +139,7 @@ a{
text-align:center;
color:white;
line-height: 40px;
border-radius: 20px;
border-radius:5px;
margin:0 auto 13px;
}
.login_item_login:hover{
......@@ -282,7 +282,7 @@ form input:focus{
<p>Powered By © 2014-<%=jt.now_year() %> www.jfbrother.com </p>
</div>
<div class="footer_links">
<p>建议使用IE8.0及以上版本浏览器/现代浏览器访问本站</p>
<p>建议使用IE9.0及以上版本浏览器/现代浏览器访问本站</p>
</div>
</div>
</div>
......
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
<title>分享</title>
<jsp:include page="header.jsp"></jsp:include>
<script type="text/javascript" src="${pageContext.request.contextPath}/jwapp/pages/portlet/js/jwAppPortletModule.js" charset="utf-8"></script>
<script src="${ctx}/jfcas04/js/share.js"></script>
</head>
<body style="width:100%;background:#E8F6FF">
<!-- 头部 -->
<div class="share_cotainer">
<div class="share_cotainer_header">
<img src="${ctx}/custom/images/share_user.png" width="44" height="44"/><span>薛博文</span><span>向你分享了文件</span>
</div>
<div class="share_cotainer_code">
<div>请输入分享码 : </div>
<div><input type="text" class="form-control"/></div>
<div onclick="share_sendCode(this)">提交分享码</div>
</div>
<div style="text-align: center;margin-bottom: 0px;display: none;" class="alert alert-danger" role="alert">
<a href="#" class="alert-link">分享码已过期</a>
</div>
</div>
<div class="share_clound" style="background:url(${ctx}/custom/images/share_bg.png);"></div>
</body>
</html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
<title>分享</title>
<jsp:include page="header.jsp"></jsp:include>
<script type="text/javascript" src="${pageContext.request.contextPath}/jwapp/pages/portlet/js/jwAppPortletModule.js" charset="utf-8"></script>
<script src="${ctx}/jfcas04/js/shareDetail.js"></script>
</head>
<body style="padding:30px;background:#EDF1F5;width:100%;">
<div class="shareDetail_container">
<div class="shareDetail_container_header">
<img src="${ctx}/custom/images/disk_rar.png" width="26" height="26" />
<label>新建文件夹等</label>
<span onclick="shareDetail_downLoad()"><i class="glyphicon glyphicon-download-alt"></i>下载</span>
<span onclick="shareDetail_cancelShare()"><i class="glyphicon glyphicon-ban-circle"></i>取消分享</span>
</div>
<div class="shareDetail_container_time">
<span class="glyphicon glyphicon-time"></span><span>2018-07-06 10:14</span><span>失效时间 : 永久有效</span>
</div>
<div class="shareDetail_container_mulu">
<label>全部文件</label>
<!-- <span>返回上一级</span>
<span class="shareDetail_container_mulu_shuxian">|</span>
<span>全部文件</span>
<span class="shareDetail_container_mulu_shuxian">></span>
<span>新建文件夹</span> -->
</div>
<div class="disk_table shareDetail_table">
<table id="shareDetail_list"></table>
</div>
</div>
</body>
</html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
<title>首页</title>
</head>
<body>
<body style="margin:0;padding:0;">
<!-- 头部 -->
<div style="background:url(${ctx}/custom/images/index2_img.jpg)"></div>
<img src="${ctx}/custom/images/index2_img.jpg" />
</body>
</html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
<title>首页</title>
</head>
<body>
<body style="margin:0;padding:0;">
<!-- 头部 -->
首页3
<img src="${ctx}/custom/images/index3_img.jpg" />
</body>
</html>
......@@ -70,8 +70,16 @@
method="disk">
<result name="disk">/jfcas04/disk.jsp</result>
</action>
<!-- 分享 -->
<action name="share" class="com.jw.app.portlet.action.viewAction"
method="share">
<result name="share">/jfcas04/share.jsp</result>
</action>
<!-- 分享 -->
<action name="shareDetail" class="com.jw.app.portlet.action.viewAction"
method="shareDetail">
<result name="shareDetail">/jfcas04/shareDetail.jsp</result>
</action>
</package>
<package name="caslogin" extends="struts-default,json-default">
<action name="jfcas" class="com.gaowj.system.login.CasAction">
......
......@@ -45,4 +45,12 @@ public class viewAction extends BasicAction {
return "disk";
}
public String share() throws BusinessException {
return "share";
}
public String shareDetail() throws BusinessException {
return "shareDetail";
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment