Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
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
hujun
tl_estate
Commits
46e39441
Commit
46e39441
authored
Apr 17, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下载链接区分
parent
0cbd8df0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
app_jump.js
public/app/js/app_jump.js
+3
-1
common.js
public/app/js/common.js
+1
-1
No files found.
public/app/js/app_jump.js
View file @
46e39441
...
@@ -78,10 +78,12 @@ function readUrlIos(isFutang, fn){
...
@@ -78,10 +78,12 @@ function readUrlIos(isFutang, fn){
function
jumpEvent
(){
function
jumpEvent
(){
console
.
log
(
'下载页'
);
console
.
log
(
'下载页'
);
var
_clientType
=
getUrlParam
(
'client'
);
$
(
'#jump_link'
).
click
(
function
(
e
){
$
(
'#jump_link'
).
click
(
function
(
e
){
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
location
.
href
=
'download'
;
var
_ym
=
(
~
ServerHost
.
indexOf
(
'estate.'
))?
'https://admin.tonglianjituan.com/mobile4.0/xiazai.html'
:
'https://develop.tonglianjituan.com/mobile4.0/xiazai.html'
;
location
.
href
=
_clientType
===
'b'
?
_ym
:
'download'
;
});
});
// var _ft = getUrlParam('ft');
// var _ft = getUrlParam('ft');
...
...
public/app/js/common.js
View file @
46e39441
var
ServerHost
=
location
.
origin
;
var
ServerHost
=
location
.
origin
;
var
ServerHostTempC
=
'https://pre2.tonglianjituan.com'
;
var
ServerHostTempC
=
'https://pre2.tonglianjituan.com'
;
//var ServerHostTempC = 'http://192.168.2.13';
//var ServerHostTempC = 'http://192.168.2.13';
if
(
~
ServerHost
.
indexOf
(
'
admin
.'
)){
if
(
~
ServerHost
.
indexOf
(
'
estate
.'
)){
ServerHostTempC
=
'https://estate.tonglianjituan.com'
;
ServerHostTempC
=
'https://estate.tonglianjituan.com'
;
};
};
//从location.href里获取参数
//从location.href里获取参数
...
...
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