切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
anyv
6 years ago
提交
07ea2ca60138c0ea3095b6b19c3cc02867b9bf67
1 个父辈
a9e66b3b
1 个管道 的构建
通过
耗费 0 秒
5
变更
3
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
87 行增加
和
1 行删除
app/portal/controller/PersonalcenterController.php
public/themes/simpleboot3/portal/personalcenter/add_shop_address.html
public/themes/simpleboot3/portal/personalcenter/shop_address.html
app/portal/controller/PersonalcenterController.php
查看文件 @
07ea2ca
...
...
@@ -145,6 +145,14 @@ class PersonalcenterController extends WeChatBaseController{
}
/**
* 新增地址页
*/
public
function
add_shop_address
(){
return
$this
->
fetch
();
}
...
...
public/themes/simpleboot3/portal/personalcenter/add_shop_address.html
0 → 100644
查看文件 @
07ea2ca
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html;charset=UTF-8"
>
<meta
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;"
name=
"viewport"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"ie=edge"
>
<title>
学考无忧-新增地址
</title>
<link
rel=
"stylesheet"
href=
"__TMPL__/public/assets/css/mui.min.css"
>
<link
rel=
"stylesheet"
href=
"__TMPL__/public/assets/css/mui.picker.min.css"
>
<link
rel=
"stylesheet"
href=
"__TMPL__/public/assets/css/reset.css"
>
<link
rel=
"stylesheet"
href=
"__TMPL__/public/assets/css/base.css"
>
<style>
.mui-poppicker-header
,
.mui-picker
{
background-color
:
white
;
}
</style>
</head>
<body>
<div
class=
"add_addressBox"
>
<!-- 顶部 -->
<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>
</div>
<!-- 内容 -->
<div
class=
"add_con"
>
<ul>
<li>
<label
for=
""
>
姓名
</label>
<input
type=
"text"
placeholder=
"请输入姓名"
>
</li>
<li>
<label
for=
""
>
手机号
</label>
<input
type=
"text"
placeholder=
"请输入手机号"
>
</li>
<li
class=
"add_conThere"
>
<label
for=
""
>
地区
</label>
<div
class=
"add_city"
id=
"city_text"
type=
"text"
placeholder=
""
>
选择省市区
</div>
<img
src=
"__TMPL__/public/assets/images/29.png"
alt=
""
>
</li>
<li>
<label
for=
""
>
详细地址
</label>
<input
type=
"text"
placeholder=
"街道、小区、门牌号码"
>
</li>
</ul>
<div
class=
"add_detailAddress"
>
<textarea
placeholder=
"请输入详细地址,不少于15字"
maxlength=
"200"
></textarea>
</div>
</div>
</div>
<script
src=
"__TMPL__/public/assets/js/jquery.js"
></script>
<script
src=
"__TMPL__/public/assets/js/base.js"
></script>
<script
src=
"__TMPL__/public/assets/js/mui.min.js"
></script>
<script
src=
"__TMPL__/public/assets/js/mui.picker.min.js"
></script>
<script
src=
"__TMPL__/public/assets/js/city.data-3.js"
></script>
<script>
//mui 地址
var
city_picker
=
new
mui
.
PopPicker
({
layer
:
3
});
city_picker
.
setData
(
cityData3
);
$
(
"#city_text"
).
on
(
"tap"
,
function
()
{
setTimeout
(
function
()
{
city_picker
.
show
(
function
(
items
)
{
$
(
"#city_text"
).
text
((
items
[
0
]
||
{}).
text
+
","
+
(
items
[
1
]
||
{}).
text
+
","
+
(
items
[
2
]
||
{}).
text
);
//该ID为接收城市ID字段
$
(
'#city_text'
).
css
(
'color'
,
'black'
);
$
(
"#city_text"
).
html
((
items
[
0
]
||
{}).
text
+
" "
+
(
items
[
1
]
||
{}).
text
+
" "
+
(
items
[
2
]
||
{}).
text
);
});
},
200
);
});
</script>
</body>
</html>
\ No newline at end of file
...
...
public/themes/simpleboot3/portal/personalcenter/shop_address.html
查看文件 @
07ea2ca
...
...
@@ -16,7 +16,7 @@
<div
class=
"ad_top"
>
<img
class=
"ad_topImg"
src=
"__TMPL__/public/assets/images/left.png"
alt=
""
>
<h1>
收货地址
</h1>
<a
href=
"
add_address.html
"
>
<a
href=
"
{:url('Personalcenter/add_shop_address')}
"
>
<p>
新增地址
</p>
</a>
</div>
...
...
请
注册
或
登录
后发表评论