Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
semour
/
semour_web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4a0caec5
authored
Nov 24, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'dev/ver/1.0.0' of
http://git.ichunt.net/semour/semour_web
into dev/ver/1.0.0
parents
79cb7813
409941dd
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
48 additions
and
19 deletions
public/assets/js/auth/reg.js
public/assets/js/car/confirm.js
public/assets/js/user/account.js
resources/views/auth/register.blade.php
resources/views/car/confirm.blade.php
resources/views/user/account.blade.php
public/assets/js/auth/reg.js
View file @
4a0caec5
...
@@ -14,7 +14,7 @@ define('reg', ['form', 'liexin_pop', 'tool'], function (require, exports, module
...
@@ -14,7 +14,7 @@ define('reg', ['form', 'liexin_pop', 'tool'], function (require, exports, module
$
(
".verifyBox"
).
find
(
".check-group"
).
removeClass
(
"act"
)
$
(
".verifyBox"
).
find
(
".check-group"
).
removeClass
(
"act"
)
$
(
this
).
addClass
(
"act"
);
$
(
this
).
addClass
(
"act"
);
if
(
$
(
this
).
attr
(
"guid"
)
==
2
){
if
(
$
(
this
).
attr
(
"guid"
)
==
1
){
//个人
//个人
$
(
".grshow"
).
hide
();
$
(
".grshow"
).
hide
();
$
(
".company_name"
).
removeClass
(
"verify"
)
$
(
".company_name"
).
removeClass
(
"verify"
)
...
@@ -93,6 +93,7 @@ define('reg', ['form', 'liexin_pop', 'tool'], function (require, exports, module
...
@@ -93,6 +93,7 @@ define('reg', ['form', 'liexin_pop', 'tool'], function (require, exports, module
post_code
:
$
(
".post_code3"
).
val
(),
post_code
:
$
(
".post_code3"
).
val
(),
},
function
(
res
)
{
},
function
(
res
)
{
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
liexin_pop
.
Tip
({
title
:
"Success"
})
liexin_pop
.
Tip
({
title
:
"Success"
})
setTimeout
(
function
(){
setTimeout
(
function
(){
reg
.
successJump
()
reg
.
successJump
()
...
...
public/assets/js/car/confirm.js
View file @
4a0caec5
...
@@ -133,6 +133,7 @@ define('confirm', ['liexin_pop','form','artTemplate'], function (require, export
...
@@ -133,6 +133,7 @@ define('confirm', ['liexin_pop','form','artTemplate'], function (require, export
$
(
"body"
).
on
(
"click"
,
".choosetrs"
,
function
()
{
$
(
"body"
).
on
(
"click"
,
".choosetrs"
,
function
()
{
$
(
".choosetbodys .choosetrs"
).
removeClass
(
"act"
)
$
(
".choosetbodys .choosetrs"
).
removeClass
(
"act"
)
$
(
this
).
addClass
(
"act"
)
$
(
this
).
addClass
(
"act"
)
})
})
$
(
"body"
).
on
(
"click"
,
".choosesubmit"
,
function
()
{
$
(
"body"
).
on
(
"click"
,
".choosesubmit"
,
function
()
{
if
(
!
$
(
".choosetbodys .choosetrs.act"
).
hasClass
(
"choosetrs"
))
{
if
(
!
$
(
".choosetbodys .choosetrs.act"
).
hasClass
(
"choosetrs"
))
{
...
@@ -233,6 +234,14 @@ define('confirm', ['liexin_pop','form','artTemplate'], function (require, export
...
@@ -233,6 +234,14 @@ define('confirm', ['liexin_pop','form','artTemplate'], function (require, export
$
(
"body"
).
on
(
"click"
,
".check-group-addressp"
,
function
()
{
$
(
"body"
).
on
(
"click"
,
".check-group-addressp"
,
function
()
{
$
(
".check-group-addressp"
).
removeClass
(
"act"
)
$
(
".check-group-addressp"
).
removeClass
(
"act"
)
$
(
this
).
addClass
(
"act"
)
$
(
this
).
addClass
(
"act"
)
if
(
$
(
this
).
attr
(
"guid"
)
==
1
){
//个人
$
(
".grshow"
).
hide
();
$
(
".company_name6"
).
removeClass
(
"verify"
)
}
else
{
$
(
".company_name6"
).
addClass
(
"verify"
)
$
(
".grshow"
).
show
()
}
})
})
...
@@ -269,9 +278,14 @@ define('confirm', ['liexin_pop','form','artTemplate'], function (require, export
...
@@ -269,9 +278,14 @@ define('confirm', ['liexin_pop','form','artTemplate'], function (require, export
$
.
liexin_ajax
(
'/api/user_address/detail'
,
'GET'
,
{
address_id
:
guid_
},
function
(
res
)
{
$
.
liexin_ajax
(
'/api/user_address/detail'
,
'GET'
,
{
address_id
:
guid_
},
function
(
res
)
{
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
$
(
".addressPop .check-group"
).
removeClass
(
"act"
)
$
(
".addressPop .check-group"
).
removeClass
(
"act"
)
$
(
".addressPop .check-group[guid='1']"
).
addClass
(
"act"
)
$
(
".addressPop .check-group[guid='"
+
res
.
data
.
address_type
+
"']"
).
addClass
(
"act"
)
if
(
res
.
data
.
address_type
==
2
){
if
(
res
.
data
.
address_type
==
1
){
$
(
".addressPop .check-group[guid='2']"
).
addClass
(
"act"
)
//个人
$
(
".grshow"
).
hide
();
$
(
".company_name6"
).
removeClass
(
"verify"
)
}
else
{
$
(
".company_name6"
).
addClass
(
"verify"
)
$
(
".grshow"
).
show
()
}
}
$
(
".addressPop .email6"
).
val
(
res
.
data
.
email
)
$
(
".addressPop .email6"
).
val
(
res
.
data
.
email
)
$
(
".addressPop .telephone6"
).
val
(
res
.
data
.
phone
)
$
(
".addressPop .telephone6"
).
val
(
res
.
data
.
phone
)
...
@@ -319,8 +333,9 @@ define('confirm', ['liexin_pop','form','artTemplate'], function (require, export
...
@@ -319,8 +333,9 @@ define('confirm', ['liexin_pop','form','artTemplate'], function (require, export
}
}
$
.
liexin_ajax
(
url_
,
'POST'
,
obj_
,
function
(
res
)
{
$
.
liexin_ajax
(
url_
,
'POST'
,
obj_
,
function
(
res
)
{
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
liexin_pop
.
Tip
({
title
:
res
.
msg
},
function
(){
openHide
()
openHide
()
liexin_pop
.
Tip
({
title
:
res
.
msg
},
function
(){
var
guid_
=
ele
.
attr
(
"guid"
)?
ele
.
attr
(
"guid"
):
res
.
data
var
guid_
=
ele
.
attr
(
"guid"
)?
ele
.
attr
(
"guid"
):
res
.
data
confirm
.
getAddress
(
guid_
)
confirm
.
getAddress
(
guid_
)
})
})
...
...
public/assets/js/user/account.js
View file @
4a0caec5
...
@@ -62,9 +62,17 @@ define('account', ['tool', 'liexin_pop', 'form', 'artTemplate'], function (requi
...
@@ -62,9 +62,17 @@ define('account', ['tool', 'liexin_pop', 'form', 'artTemplate'], function (requi
}
}
})
})
//切换属性
//切换属性
$
(
"body"
).
on
(
"click"
,
".check-group"
,
function
()
{
$
(
"body"
).
on
(
"click"
,
".check-group
-addressp
"
,
function
()
{
$
(
".changeInfoPop"
).
find
(
".check-group"
).
removeClass
(
"act"
)
$
(
".changeInfoPop"
).
find
(
".check-group
-addressp
"
).
removeClass
(
"act"
)
$
(
this
).
addClass
(
"act"
);
$
(
this
).
addClass
(
"act"
);
if
(
$
(
this
).
attr
(
"guid"
)
==
1
){
//个人
$
(
".grshow"
).
hide
();
$
(
".company_name6"
).
removeClass
(
"verify"
)
}
else
{
$
(
".company_name6"
).
addClass
(
"verify"
)
$
(
".grshow"
).
show
()
}
})
})
//修改密码
//修改密码
$
(
".infobase .changepasswordbtn"
).
click
(
function
()
{
$
(
".infobase .changepasswordbtn"
).
click
(
function
()
{
...
@@ -281,9 +289,14 @@ define('account', ['tool', 'liexin_pop', 'form', 'artTemplate'], function (requi
...
@@ -281,9 +289,14 @@ define('account', ['tool', 'liexin_pop', 'form', 'artTemplate'], function (requi
$
.
liexin_ajax
(
'/api/user_address/detail'
,
'GET'
,
{
address_id
:
guid_
},
function
(
res
)
{
$
.
liexin_ajax
(
'/api/user_address/detail'
,
'GET'
,
{
address_id
:
guid_
},
function
(
res
)
{
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
$
(
".addressPop .check-group"
).
removeClass
(
"act"
)
$
(
".addressPop .check-group"
).
removeClass
(
"act"
)
$
(
".addressPop .check-group[guid='1']"
).
addClass
(
"act"
)
$
(
".addressPop .check-group[guid='"
+
res
.
data
.
address_type
+
"']"
).
addClass
(
"act"
)
if
(
res
.
data
.
address_type
==
2
){
if
(
res
.
data
.
address_type
==
1
){
$
(
".addressPop .check-group[guid='2']"
).
addClass
(
"act"
)
//个人
$
(
".grshow"
).
hide
();
$
(
".company_name6"
).
removeClass
(
"verify"
)
}
else
{
$
(
".company_name6"
).
addClass
(
"verify"
)
$
(
".grshow"
).
show
()
}
}
$
(
".addressPop .email6"
).
val
(
res
.
data
.
email
)
$
(
".addressPop .email6"
).
val
(
res
.
data
.
email
)
$
(
".addressPop .telephone6"
).
val
(
res
.
data
.
phone
)
$
(
".addressPop .telephone6"
).
val
(
res
.
data
.
phone
)
...
@@ -331,8 +344,8 @@ define('account', ['tool', 'liexin_pop', 'form', 'artTemplate'], function (requi
...
@@ -331,8 +344,8 @@ define('account', ['tool', 'liexin_pop', 'form', 'artTemplate'], function (requi
}
}
$
.
liexin_ajax
(
url_
,
'POST'
,
obj_
,
function
(
res
)
{
$
.
liexin_ajax
(
url_
,
'POST'
,
obj_
,
function
(
res
)
{
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
liexin_pop
.
Tip
({
title
:
res
.
msg
},
function
(){
openHide
()
openHide
()
liexin_pop
.
Tip
({
title
:
res
.
msg
},
function
(){
account
.
getAddress
()
account
.
getAddress
()
})
})
}
else
{
}
else
{
...
...
resources/views/auth/register.blade.php
View file @
4a0caec5
...
@@ -15,13 +15,13 @@
...
@@ -15,13 +15,13 @@
<div class="
inputboxp
boxsiz
verifyBox
">
<div class="
inputboxp
boxsiz
verifyBox
">
<p class="
headtips
">WHO IS THIS ACCOUNT FOR?</p>
<p class="
headtips
">WHO IS THIS ACCOUNT FOR?</p>
<div class="
checkbox
row
">
<div class="
checkbox
row
">
<div class="
check
-
group
row
act
" guid="
1
">
<div class="
check
-
group
row
act
" guid="
2
">
<p class="
row
verCenter
rowCenter
">
<p class="
row
verCenter
rowCenter
">
<font></font>
<font></font>
</p>
</p>
<span>For Business</span>
<span>For Business</span>
</div>
</div>
<div class="
check
-
group
row
" guid="
2
">
<div class="
check
-
group
row
" guid="
1
">
<p class="
row
verCenter
rowCenter
">
<p class="
row
verCenter
rowCenter
">
<font></font>
<font></font>
</p>
</p>
...
...
resources/views/car/confirm.blade.php
View file @
4a0caec5
...
@@ -123,13 +123,13 @@
...
@@ -123,13 +123,13 @@
<div class="
addressPop
" style="
display
:
none
;
">
<div class="
addressPop
" style="
display
:
none
;
">
<div class="
inputboxp
">
<div class="
inputboxp
">
<div class="
checkbox
row
">
<div class="
checkbox
row
">
<div class="
check
-
group
row
act
check
-
group
-
addressp
" guid="
1
">
<div class="
check
-
group
row
act
check
-
group
-
addressp
" guid="
2
">
<p class="
row
verCenter
rowCenter
">
<p class="
row
verCenter
rowCenter
">
<font></font>
<font></font>
</p>
</p>
<span>Company</span>
<span>Company</span>
</div>
</div>
<div class="
check
-
group
row
check
-
group
-
addressp
" guid="
2
">
<div class="
check
-
group
row
check
-
group
-
addressp
" guid="
1
">
<p class="
row
verCenter
rowCenter
">
<p class="
row
verCenter
rowCenter
">
<font></font>
<font></font>
</p>
</p>
...
@@ -157,7 +157,7 @@
...
@@ -157,7 +157,7 @@
<input type="
text
" class="
last_name6
verify
" verifyTip='{"
type
":"
null
","
text
":"
LAST
NAME
"}'>
<input type="
text
" class="
last_name6
verify
" verifyTip='{"
type
":"
null
","
text
":"
LAST
NAME
"}'>
</div>
</div>
<div class="
input
-
group
-
auth
ml30
">
<div class="
input
-
group
-
auth
ml30
">
<p class="
labelp
"><span>*</span>COMPANY NAME</p>
<p class="
labelp
"><span
class="
grshow
"
>*</span>COMPANY NAME</p>
<input type="
text
" class="
company_name6
verify
" verifyTip='{"
type
":"
null
","
text
":"
COMPANY
NAME
"}'>
<input type="
text
" class="
company_name6
verify
" verifyTip='{"
type
":"
null
","
text
":"
COMPANY
NAME
"}'>
</div>
</div>
</div>
</div>
...
...
resources/views/user/account.blade.php
View file @
4a0caec5
...
@@ -221,13 +221,13 @@
...
@@ -221,13 +221,13 @@
<div class="
addressPop
" style="
display
:
none
;
">
<div class="
addressPop
" style="
display
:
none
;
">
<div class="
inputboxp
">
<div class="
inputboxp
">
<div class="
checkbox
row
">
<div class="
checkbox
row
">
<div class="
check
-
group
row
act
check
-
group
-
addressp
" guid="
1
">
<div class="
check
-
group
row
act
check
-
group
-
addressp
" guid="
2
">
<p class="
row
verCenter
rowCenter
">
<p class="
row
verCenter
rowCenter
">
<font></font>
<font></font>
</p>
</p>
<span>Company</span>
<span>Company</span>
</div>
</div>
<div class="
check
-
group
row
check
-
group
-
addressp
" guid="
2
">
<div class="
check
-
group
row
check
-
group
-
addressp
" guid="
1
">
<p class="
row
verCenter
rowCenter
">
<p class="
row
verCenter
rowCenter
">
<font></font>
<font></font>
</p>
</p>
...
@@ -255,7 +255,7 @@
...
@@ -255,7 +255,7 @@
<input type="
text
" class="
last_name6
verify
" verifyTip='{"
type
":"
null
","
text
":"
LAST
NAME
"}'>
<input type="
text
" class="
last_name6
verify
" verifyTip='{"
type
":"
null
","
text
":"
LAST
NAME
"}'>
</div>
</div>
<div class="
input
-
group
-
auth
ml30
">
<div class="
input
-
group
-
auth
ml30
">
<p class="
labelp
"><span>*</span>COMPANY NAME</p>
<p class="
labelp
"><span
class="
grshow
"
>*</span>COMPANY NAME</p>
<input type="
text
" class="
company_name6
verify
" verifyTip='{"
type
":"
null
","
text
":"
COMPANY
NAME
"}'>
<input type="
text
" class="
company_name6
verify
" verifyTip='{"
type
":"
null
","
text
":"
COMPANY
NAME
"}'>
</div>
</div>
</div>
</div>
...
...
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