Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
saasio
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
reyun
saasio
Commits
c2fd26a8
Commit
c2fd26a8
authored
Mar 22, 2018
by
carrieyzzhang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.minrow.com:reyun/saasio
parents
bd6a94b1
6e7a396f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
73 additions
and
25 deletions
+73
-25
whiteArrow.png
src/main/websrc/images/whiteArrow.png
+0
-0
index.html
src/main/websrc/index.html
+1
-0
app.js
src/main/websrc/js/app/app.js
+7
-1
app.js
src/main/websrc/js/manage/app.js
+27
-3
style.scss
src/main/websrc/styles/style.scss
+36
-19
app.html
src/main/websrc/template/manage/app.html
+2
-2
No files found.
src/main/websrc/images/whiteArrow.png
0 → 100644
View file @
c2fd26a8
180 Bytes
src/main/websrc/index.html
View file @
c2fd26a8
...
@@ -89,6 +89,7 @@
...
@@ -89,6 +89,7 @@
</a>
</a>
</div>
</div>
<div
class=
"rightHeader clearfix"
>
<div
class=
"rightHeader clearfix"
>
<div
class=
"toggleBtn"
><a
href=
"{{trackUrl}}"
target=
"_blank"
>
进入TrackingIO
</a></div>
<div
class=
"flowinfo"
>
<div
class=
"flowinfo"
>
<div
class=
"flowCircle"
ng-if=
"flowKnow && !flowRestrict"
></div>
<div
class=
"flowCircle"
ng-if=
"flowKnow && !flowRestrict"
></div>
</div>
</div>
...
...
src/main/websrc/js/app/app.js
View file @
c2fd26a8
...
@@ -245,10 +245,16 @@
...
@@ -245,10 +245,16 @@
});
});
}
}
$scope
.
queryTrackUrl
=
function
(){
var
urlPM
=
HttpService
.
getInfo
(
"/index/trackingio"
,
{});
urlPM
.
then
(
function
(
data
)
{
$scope
.
trackUrl
=
data
;
});
}
$scope
.
initpage
=
function
(){
$scope
.
initpage
=
function
(){
$scope
.
queryLimit
();
$scope
.
queryLimit
();
$scope
.
queryApp
();
$scope
.
queryApp
();
$scope
.
queryTrackUrl
();
}
}
var
lpath
=
$location
.
path
();
var
lpath
=
$location
.
path
();
...
...
src/main/websrc/js/manage/app.js
View file @
c2fd26a8
...
@@ -73,10 +73,32 @@
...
@@ -73,10 +73,32 @@
return
false
;
return
false
;
}
}
}
}
var
panelH
=
$
(
".rightWrap"
);
$
(
".rightWrap"
).
scroll
(
function
(
event
){
if
(
panelH
.
get
(
0
).
scrollHeight
<=
panelH
.
height
())
return
;
var
_this
=
this
;
$timeout
(
function
()
{
if
(
$scope
.
isShow
()
&&
$scope
.
filterResult
.
length
>
0
){
var
viewH
=
$
(
_this
).
height
(),
//可见高度
contentH
=
$
(
_this
).
get
(
0
).
scrollHeight
,
//内容高度
scrollTop
=
$
(
_this
).
scrollTop
();
//滚动高度
if
(
scrollTop
>=
contentH
-
viewH
){
//到达底部100px时,加载新内容
$scope
.
getMore
();
}
}
},
10
);
});
$
(
".rightWrap"
).
on
(
'mousewheel'
,
function
(
event
){
if
(
panelH
.
get
(
0
).
scrollHeight
>
panelH
.
height
()
||
event
.
originalEvent
.
deltaY
<=
0
)
return
;
if
(
$scope
.
isShow
()
&&
$scope
.
filterResult
.
length
>
0
){
$timeout
(
function
()
{
$scope
.
getMore
();
},
10
);
}
});
$scope
.
getMore
=
function
(){
$scope
.
getMore
=
function
(){
$scope
.
limitCount
+=
$scope
.
limitCount
+
9
;
$scope
.
limitCount
+=
9
;
};
}
$scope
.
gopage
=
function
(
id
,
flag
){
$scope
.
gopage
=
function
(
id
,
flag
){
if
(
flag
){
if
(
flag
){
isLog
=
true
;
isLog
=
true
;
...
@@ -94,6 +116,8 @@
...
@@ -94,6 +116,8 @@
$scope
.
goReport
=
function
(
info
,
e
){
$scope
.
goReport
=
function
(
info
,
e
){
if
(
$
(
e
.
target
).
hasClass
(
'copyBtn'
))
return
;
if
(
$
(
e
.
target
).
hasClass
(
'copyBtn'
))
return
;
$rootScope
.
isweb
=
info
.
platform
==
'H5'
;
$rootScope
.
isweb
=
info
.
platform
==
'H5'
;
$
(
'.rightWrap'
).
unbind
(
"scroll"
);
$
(
'.rightWrap'
).
unbind
(
"mousewheel"
);
$scope
.
$emit
(
"mngappTo"
,
info
.
id
);
$scope
.
$emit
(
"mngappTo"
,
info
.
id
);
var
url
=
$rootScope
.
firstMeau
.
substring
(
1
).
replace
(
'/'
,
'.'
);
var
url
=
$rootScope
.
firstMeau
.
substring
(
1
).
replace
(
'/'
,
'.'
);
...
...
src/main/websrc/styles/style.scss
View file @
c2fd26a8
...
@@ -32,6 +32,30 @@ html,body{
...
@@ -32,6 +32,30 @@ html,body{
.sidebarNav
li
:not
(
.activemore
)
:hover
.iconfont
{
.sidebarNav
li
:not
(
.activemore
)
:hover
.iconfont
{
color
:
$menulihoverft
;
color
:
$menulihoverft
;
}
}
.toggleBtn
{
border-left
:
1px
solid
#ffffff
;
margin-left
:
-102px
;
display
:inline-block
;
margin-top
:
4px
;
a
{
border
:
1px
solid
#ffffff
;
border-radius
:
100px
;
color
:
#ffffff
;
width
:
118px
;
height
:
24px
;
color
:
#ffffff
;
text-align
:center
;
line-height
:
24px
;
display
:inline-block
;
margin-left
:
20px
;
&
:before
{
content
:url
(
..
/
images
/
whiteArrow
.png
)
;
width
:
7px
;
height
:
6px
;
padding-right
:
6px
;
}
}
}
.icon-logo
{
.icon-logo
{
font-size
:
25px
;
font-size
:
25px
;
color
:
#fff
;
color
:
#fff
;
...
@@ -6935,7 +6959,6 @@ pre{
...
@@ -6935,7 +6959,6 @@ pre{
margin-right
:
-14px
;
margin-right
:
-14px
;
.appWrap
{
.appWrap
{
width
:
33
.333%
;
width
:
33
.333%
;
float
:
left
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding-right
:
14px
;
padding-right
:
14px
;
padding-top
:
14px
;
padding-top
:
14px
;
...
@@ -6952,15 +6975,17 @@ pre{
...
@@ -6952,15 +6975,17 @@ pre{
box-shadow
:
0
1px
4px
0
rgba
(
0
,
0
,
0
,
0
.10
);
box-shadow
:
0
1px
4px
0
rgba
(
0
,
0
,
0
,
0
.10
);
}
}
.setting
{
.setting
{
background
:
url(../images/settings.png)
no-repeat
;
background
:
url(../images/settings.png)
no-repeat
center
center
;
width
:
16px
;
width
:
16px
;
height
:
16px
;
height
:
16px
;
cursor
:
pointer
;
cursor
:
pointer
;
margin-right
:
20px
;
margin-right
:
13px
;
margin-top
:
-5px
;
padding
:
7px
;
float
:
right
;
float
:
right
;
position
:
relative
;
position
:
relative
;
&
:hover
{
&
:hover
{
background
:
url(../images/settings_hover.png)
no-repeat
;
background
:
url(../images/settings_hover.png)
no-repeat
center
center
;
}
}
ul
{
ul
{
background
:
#ffffff
;
background
:
#ffffff
;
...
@@ -6969,7 +6994,7 @@ pre{
...
@@ -6969,7 +6994,7 @@ pre{
border-radius
:
3px
;
border-radius
:
3px
;
width
:
78px
;
width
:
78px
;
position
:
absolute
;
position
:
absolute
;
top
:
17
px
;
top
:
25
px
;
right
:
0px
;
right
:
0px
;
li
{
li
{
height
:
32px
;
height
:
32px
;
...
@@ -7020,24 +7045,16 @@ pre{
...
@@ -7020,24 +7045,16 @@ pre{
}
}
.more
{
.more
{
text-align
:
center
;
text-align
:
center
;
background
:
#fafafa
;
margin
:
auto
;
margin
:
auto
;
color
:
#
1964d4
;
color
:
#
666666
;
cursor
:
pointer
;
cursor
:
pointer
;
clear
:
both
;
clear
:
both
;
padding-top
:
20px
;
margin-top
:
20px
;
margin-right
:
15px
;
width
:
auto
;
width
:
auto
;
span
:before
{
height
:
32px
;
content
:
""
;
line-height
:
32px
;
background
:
url(../images/drop.png)
no-repeat
;
width
:
10px
;
height
:
11px
;
display
:
inline-block
;
}
label
{
padding-left
:
5px
;
color
:
#b5b0b0
;
display
:
inline-block
;
}
}
}
.noData
{
.noData
{
text-align
:
center
;
text-align
:
center
;
...
...
src/main/websrc/template/manage/app.html
View file @
c2fd26a8
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<div
class=
"iconfont platform"
ng-class=
"{'iOS':'icon-ios','Android':'icon-android','H5':'icon-wrap'}[info.platform]"
></div>
<div
class=
"iconfont platform"
ng-class=
"{'iOS':'icon-ios','Android':'icon-android','H5':'icon-wrap'}[info.platform]"
></div>
<span
class=
"title"
>
{{info.name}}
</span>
<span
class=
"title"
>
{{info.name}}
</span>
<span
class=
"copyBtnIcon copyBtn"
data-clipboard-text=
"{{info.name}}"
title=
"点击复制"
></span>
<span
class=
"copyBtnIcon copyBtn"
data-clipboard-text=
"{{info.name}}"
title=
"点击复制"
></span>
<span
class=
"setting"
ng-click=
"info.isShow=!info.isShow"
stop-event
>
<span
class=
"setting"
ng-click=
"info.isShow=!info.isShow"
stop-event
ng-mouseleave=
"info.isShow=false"
>
<ul
ng-show=
"info.isShow"
ng-mouseleave=
"info.isShow=false"
>
<ul
ng-show=
"info.isShow"
ng-mouseleave=
"info.isShow=false"
>
<li
ng-click=
"gopage(info.id)"
>
编辑
</li>
<li
ng-click=
"gopage(info.id)"
>
编辑
</li>
<li
ng-click=
"doRemove(info.id)"
ng-if=
"specialsAppkey.indexOf(info.appkey)==-1 && !isAppManage"
>
删除
</li>
<li
ng-click=
"doRemove(info.id)"
ng-if=
"specialsAppkey.indexOf(info.appkey)==-1 && !isAppManage"
>
删除
</li>
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"more"
ng-click=
"getMore()"
ng-show=
"isShow() && filterResult.length>0"
><span>
更多产品
<label>
(共{{resultList.length}}个产品)
</label>
</span></div>
<div
class=
"more"
ng-click=
"getMore()"
ng-show=
"isShow() && filterResult.length>0"
><span>
滑动/点击加载更多(共{{resultList.length}}个产品)
</span></div>
<div
class=
"noData"
ng-if=
"resultList.length==0"
>
<div
class=
"noData"
ng-if=
"resultList.length==0"
>
<span></span>
<span></span>
<div>
暂无产品
</div>
<div>
暂无产品
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment