切换导航条
此项目
正在载入...
登录
李涵
/
integral
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
差异文件
浏览文件
作者
李涵
6 years ago
提交
960bbc4519d18215f96f56ae962642c671da374b
2 个父辈
c1269876
6f8d3a39
1 个管道 的构建
通过
耗费 0 秒
合并分支 'juanli' 到 'master'
Juanli 查看合并请求
!409
变更
1
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
48 行增加
和
12 行删除
public/themes/simpleboot3/cart/zj_cart/order_confirm.html
public/themes/simpleboot3/cart/zj_cart/order_confirm.html
查看文件 @
960bbc4
...
...
@@ -215,6 +215,18 @@
z-index
:
5
;
overflow
:
scroll
;
}
.newaddpositionwrapper
{
width
:
100%
;
height
:
100%
;
/*background-color: rgba(0,0,0,0.5);*/
background
:
RGBA
(
245
,
246
,
250
,
1
);
position
:
fixed
;
top
:
0
;
left
:
0
;
right
:
0
;
z-index
:
5
;
overflow
:
scroll
;
}
.select
{
background
:
#fff
;
}
...
...
@@ -476,8 +488,35 @@
<input
type=
"text"
placeholder=
"请填写联系电话"
class=
"detailplace"
id=
"phone"
>
</div>
</div>
<div
class=
"save editsave"
>
保存
</div>
</div>
<div
class=
"newaddpositionwrapper"
style=
"display:none"
>
<div
class=
"select"
>
<div
class=
"select_address"
>
<p
class=
"placeselect"
>
选择地区
</p>
<div
class=
"weui-cell"
style=
"padding: 0"
>
<!--<div class="weui-cell__hd"><label for="date" class="weui-label place">选择地区</label></div>-->
<div
class=
"weui-cell__bd"
>
<input
class=
"weui-input selectadd"
id=
"end"
type=
"text"
placeholder=
"请选择省市区"
>
</div>
</div>
<p
class=
"iconfont icon-xiaotuziCduan_"
id=
"select"
></p>
</div>
<div
class=
"detail_address"
>
<p
class=
"placeselect"
>
详细地址
</p>
<input
type=
"text"
placeholder=
"请填写详细地址"
class=
"detailplace"
id=
"place"
>
</div>
<div
class=
"detail_address"
>
<p
class=
"placeselect"
>
收货人
</p>
<input
type=
"text"
placeholder=
"请填写收货人"
class=
"detailplace"
id=
"name"
>
</div>
<div
class=
"detail_address"
>
<p
class=
"placeselect"
>
联系电话
</p>
<input
type=
"text"
placeholder=
"请填写联系电话"
class=
"detailplace"
id=
"phone"
>
</div>
</div>
<div
class=
"save newsave"
>
保存
</div>
<div
class=
"save editsave"
style=
"display:none"
>
保存
</div>
</div>
<!--选择地址-->
<div
class=
"addresswrapper"
style=
"display:none"
>
...
...
@@ -857,15 +896,13 @@
//新增收获地址
$
(
".addplace"
).
click
(
function
(){
$
(
".addpositionwrapper"
).
css
(
"display"
,
"block"
)
$
(
".newsave"
).
css
(
"display"
,
"block"
);
$
(
".editsave"
).
css
(
"display"
,
"none"
)
$
(
".newaddpositionwrapper"
).
css
(
"display"
,
"block"
)
})
$
(
".addressplus"
).
click
(
function
(){
$
(
".addpositionwrapper"
).
css
(
"display"
,
"block"
)
$
(
".newsave"
).
css
(
"display"
,
"block"
);
$
(
".editsave"
).
css
(
"display"
,
"none"
)
$
(
".newaddpositionwrapper"
).
css
(
"display"
,
"block"
)
})
//选择地址
$
(
".people_info"
).
click
(
function
(){
...
...
@@ -955,8 +992,6 @@
var
editdistrict
=
""
;
$
(
".managerplace"
).
on
(
"click"
,
".edit"
,
function
(){
window
.
event
.
stopPropagation
();
$
(
".newsave"
).
css
(
"display"
,
"none"
);
$
(
".editsave"
).
css
(
"display"
,
"block"
)
$
(
".addresswrapper"
).
css
(
"display"
,
"none"
);
$
(
".addpositionwrapper"
).
css
(
"display"
,
"block"
);
var
data_id
=
$
(
this
).
children
(
".defauledi"
).
attr
(
"data-id"
);
...
...
@@ -1097,7 +1132,7 @@
ajaxsend
(
url
,
params
,
function
(
res
)
{
-
console
.
log
(
res
);
if
(
res
.
code
==
"20000"
){
$
(
".addpositionwrapper"
).
css
(
"display"
,
"none"
);
$
(
".
new
addpositionwrapper"
).
css
(
"display"
,
"none"
);
$
(
".addresswrapper"
).
css
(
"display"
,
"block"
);
var
newplace
=
localStorage
.
getItem
(
"newplace"
);
...
...
@@ -1154,7 +1189,7 @@
var
delid
=
""
;
$
(
".managerplace"
).
on
(
"click"
,
".delect"
,
function
(){
window
.
event
.
stopPropagation
();
$
(
".addresswrapper"
).
show
(
);
$
(
".addresswrapper"
).
css
(
"display"
,
"block"
);
del_id
=
$
(
this
).
children
(
".defaultdel"
).
attr
(
"data-id"
);
delid
=
$
(
this
).
children
(
".defaultdel"
).
attr
(
"data-id"
);
$
(
".deletewrapper"
).
show
();
...
...
@@ -1183,7 +1218,8 @@
}
})
$
(
".deletewrapper"
).
css
(
"display"
,
"none"
)
$
(
".deletewrapper"
).
css
(
"display"
,
"none"
);
$
(
".addresswrapper"
).
show
();
});
$
(
".cancel"
).
click
(
function
(){
...
...
请
注册
或
登录
后发表评论