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
cb74827d
Commit
cb74827d
authored
Nov 22, 2018
by
xinyuandu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
百度推广
parent
5a1de22e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
baidu_send.js
public/app/js/baidu_send.js
+3
-4
No files found.
public/app/js/baidu_send.js
View file @
cb74827d
...
...
@@ -8,15 +8,15 @@
var
type
=
$
(
"input[name='type']:checked"
).
val
();
var
number
=
$
(
'#phone'
).
val
();
if
(
number
==
""
){
alert
(
"请输入电话号码"
);
$
.
alert
(
"请输入电话号码"
);
return
false
;
}
if
(
!
(
number
-
0
>
-
1
)
){
alert
(
"请输入正确的电话号码"
)
;
$
.
alert
(
"请输入正确的电话号码"
)
;
return
false
;
}
if
(
number
.
length
>
11
){
alert
(
"请输入正确的电话号码"
)
;
$
.
alert
(
"请输入正确的电话号码"
)
;
return
false
;
}
var
params
=
{
...
...
@@ -45,7 +45,6 @@
$
(
document
).
ready
(
function
(){
console
.
log
(
"12312312321"
)
$
.
get
(
'/broker/getVolume'
,
function
(
data
){
console
.
log
(
data
);
$
(
'#shopNum'
).
text
(
data
.
data
.
shop_num
+
"套"
);
$
(
'#finishNum'
).
text
(
data
.
data
.
volume_last_week
+
"套"
);
})
...
...
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