切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
anyv
6 years ago
提交
8662ecae5387ea00431676bb052dd83bab93eff4
1 个父辈
c3dbb92a
1 个管道 的构建
通过
耗费 0 秒
4
变更
1
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
23 行增加
和
4 行删除
public/themes/simpleboot3/portal/personalcenter/add_shop_address.html
public/themes/simpleboot3/portal/personalcenter/add_shop_address.html
查看文件 @
8662eca
...
...
@@ -24,18 +24,18 @@
<div
class=
"ad_top"
style=
"background-color:white;"
>
<img
class=
"ad_topImg"
src=
"__TMPL__/public/assets/images/left.png"
alt=
""
>
<h1>
收货地址
</h1>
<p
style=
"color:#FF7700;"
>
保存
</p>
<p
style=
"color:#FF7700;"
onclick=
"add_save()"
>
保存
</p>
</div>
<!-- 内容 -->
<div
class=
"add_con"
>
<ul>
<li>
<label
for=
""
>
姓名
</label>
<input
type=
"text"
placeholder=
"请输入姓名"
>
<input
type=
"text"
placeholder=
"请输入姓名"
id=
"name"
>
</li>
<li>
<label
for=
""
>
手机号
</label>
<input
type=
"text"
placeholder=
"请输入手机号"
>
<input
type=
"text"
placeholder=
"请输入手机号"
id=
"phone"
>
</li>
<li
class=
"add_conThere"
>
<label
for=
""
>
地区
</label>
...
...
@@ -44,7 +44,7 @@
</li>
<li>
<label
for=
""
>
详细地址
</label>
<input
type=
"text"
placeholder=
"街道、小区、门牌号码"
>
<input
type=
"text"
placeholder=
"街道、小区、门牌号码"
id=
"address_content"
>
</li>
</ul>
<div
class=
"add_detailAddress"
>
...
...
@@ -58,6 +58,25 @@
<script
src=
"__TMPL__/public/assets/js/mui.picker.min.js"
></script>
<script
src=
"__TMPL__/public/assets/js/city.data-3.js"
></script>
<script>
/**
*保存
*/
function
add_save
(){
if
(
$
(
'#name'
).
val
()
==
''
){
alert
(
'姓名不能为空'
);
}
else
if
(
$
(
'#phone'
).
val
()
==
''
){
alert
(
'手机号不能为空'
);
}
else
if
(
$
(
'#city_text'
).
val
()
==
''
){
alert
(
'地区不能为空'
);
}
else
if
(
$
(
'#address_content'
).
val
()
==
''
){
alert
(
'详细地址不能为空'
);
}
else
{
}
}
</script>
<script>
//mui 地址
var
city_picker
=
new
mui
.
PopPicker
({
layer
:
3
...
...
请
注册
或
登录
后发表评论