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
3cbb3e8c
Commit
3cbb3e8c
authored
Sep 19, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺编辑修改
parent
53cab8ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
edit.html
application/index/view/houses/edit.html
+1
-1
shop_edit.js
public/resource/js/shop_edit.js
+12
-0
No files found.
application/index/view/houses/edit.html
View file @
3cbb3e8c
...
@@ -403,7 +403,7 @@
...
@@ -403,7 +403,7 @@
<input
type=
"text"
class=
"form-control input-100-width address-relate area-choose-btn-modal"
data-toggle=
"modal"
data-target=
".bs-example-modal-lg"
title=
"通过地址定位获取"
readonly=
"readonly"
id=
"province_internal"
/>
<input
type=
"text"
class=
"form-control input-100-width address-relate area-choose-btn-modal"
data-toggle=
"modal"
data-target=
".bs-example-modal-lg"
title=
"通过地址定位获取"
readonly=
"readonly"
id=
"province_internal"
/>
<input
type=
"text"
class=
"form-control input-100-width address-relate area-choose-btn-modal"
data-toggle=
"modal"
data-target=
".bs-example-modal-lg"
title=
"通过地址定位获取"
readonly=
"readonly"
id=
"city_internal"
/>
<input
type=
"text"
class=
"form-control input-100-width address-relate area-choose-btn-modal"
data-toggle=
"modal"
data-target=
".bs-example-modal-lg"
title=
"通过地址定位获取"
readonly=
"readonly"
id=
"city_internal"
/>
<input
type=
"text"
class=
"form-control input-100-width address-relate area-choose-btn-modal"
data-toggle=
"modal"
data-target=
".bs-example-modal-lg"
title=
"通过地址定位获取"
readonly=
"readonly"
id=
"disc_internal"
/>
<input
type=
"text"
class=
"form-control input-100-width address-relate area-choose-btn-modal"
data-toggle=
"modal"
data-target=
".bs-example-modal-lg"
title=
"通过地址定位获取"
readonly=
"readonly"
id=
"disc_internal"
/>
<input
type=
"text"
class=
"form-control area-choose-btn-modal"
id=
"address_internal"
placeholder=
"
请输入详细地址"
data-alert=
"请填写对内详细地址
!"
>
<input
type=
"text"
class=
"form-control area-choose-btn-modal"
id=
"address_internal"
placeholder=
"
详细地址(格式xx路xx号xx)"
data-alert=
"请填写正确格式的对内详细地址(xx路xx号xx)
!"
>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
for=
"longitude"
>
经度
</label>
<label
for=
"longitude"
>
经度
</label>
...
...
public/resource/js/shop_edit.js
View file @
3cbb3e8c
...
@@ -1210,6 +1210,18 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -1210,6 +1210,18 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
return
false
;
return
false
;
}
else
{}
}
else
{}
};
};
if
(
item
===
_addressInternalObj
){
var
_vv
=
$
.
trim
(
item
.
val
());
var
_index1
=
_vv
.
indexOf
(
'路'
);
var
_index2
=
_vv
.
indexOf
(
'号'
);
if
(
_index1
>
0
&&
_index2
>
2
&&
/^
[
1-9
]\d
*$/
.
test
(
_vv
.
slice
(
_index1
+
1
,
_index2
))){
}
else
{
alert
(
item
.
attr
(
'data-alert'
));
_isBreakFlag
=
true
;
return
false
;
}
};
}
}
});
});
if
(
_isBreakFlag
)
{
if
(
_isBreakFlag
)
{
...
...
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