Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yybyyhtml
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
aloneshen
yybyyhtml
Commits
78ed43fd
Commit
78ed43fd
authored
Sep 19, 2023
by
“wpwuhaogit config --global user.email“wpwuhao@semir.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
order menu
parent
c7c3b97d
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
231 additions
and
3 deletions
+231
-3
css/custom.css
css/custom.css
+6
-0
layout/footer.php
layout/footer.php
+17
-1
layout/innerHeader.php
layout/innerHeader.php
+2
-2
order-menu.php
order-menu.php
+206
-0
No files found.
css/custom.css
View file @
78ed43fd
...
...
@@ -286,6 +286,8 @@ h2.slogen{text-align: center; font-size: 50px; letter-spacing: 2px; font-weight:
.data-group.cateory-type
li
{
width
:
16.6%
;
}
.data-group.cateory-type
li
.data-item
.data-name
{
line-height
:
18px
;
height
:
36px
;
text-align
:
center
;}
.leftmenu
~
.content-box
.data-group.data-type
li
{
width
:
33.3%
;}
.sort-button
.sort
{
cursor
:
pointer
;
}
.sort-button
.sorting
:after
,
.sort-button
.sorting_asc
::after
,
.sort-button
.sorting_desc
::after
{
font-family
:
'FontAwesome'
;
font-size
:
12px
;
margin-left
:
5px
;
position
:
relative
;
speak
:
none
;}
.sort-button
.sorting
::after
{
content
:
"\f0dc"
;}
...
...
@@ -354,6 +356,8 @@ h2.slogen{text-align: center; font-size: 50px; letter-spacing: 2px; font-weight:
.innerPage
.header
.headerLink
.innerButton
{
padding
:
5px
;
font-size
:
14px
;
margin-left
:
5px
;
letter-spacing
:
0
;}
.card-radio
{
width
:
100px
;
padding
:
5px
;
font-size
:
14px
;}
.leftmenu
~
.content-box
.data-group.data-type
li
{
width
:
100%
;}
}
@media
(
max-width
:
767px
)
{
.aside-menu
,
.hot-words
{
display
:
none
;}
...
...
@@ -441,6 +445,8 @@ h2.slogen{text-align: center; font-size: 50px; letter-spacing: 2px; font-weight:
.data-group
li
{
width
:
50%
;}
.data-group.data-type
li
{
width
:
100%
;}
.leftmenu
~
.content-box
.data-group.data-type
li
{
width
:
100%
;}
.brand-group
li
{
width
:
50%
;}
.patent-content
{
padding-top
:
20px
;
padding-bottom
:
20px
;}
...
...
layout/footer.php
View file @
78ed43fd
...
...
@@ -149,7 +149,23 @@
$
(
"
#modalLogin .btn-confirm
"
).
click
();
}
});
//角色菜单切换
checkUserMenu
();
$
(
"
input[name='userType']
"
).
on
(
"
click
"
,
function
(
e
){
checkUserMenu
();
});
});
</script>
var
checkUserMenu
=
function
(){
var
userType
=
$
(
"
input[name='userType']:checked
"
).
val
();
if
(
$
(
"
#leftmenu
"
).
length
){
$
(
"
#leftmenu li[data-type]
"
).
hide
();
let
targetLi
=
$
(
"
#leftmenu li[data-type='
"
+
userType
+
"
']
"
);
if
(
targetLi
.
length
)
targetLi
.
show
();
}
}
</script>
</body>
</html>
\ No newline at end of file
layout/innerHeader.php
View file @
78ed43fd
...
...
@@ -58,9 +58,9 @@
<a
href=
"index.php"
class=
"logo"
><img
src=
"image/logo.png"
alt=
"研易宝"
/></a>
<div
class=
"headerLink"
>
<div
class=
"form-stack xs-hidden"
>
<input
class=
"radio-card"
type=
"radio"
value=
"
1
"
name=
"userType"
id=
"user1"
checked=
"checked"
>
<input
class=
"radio-card"
type=
"radio"
value=
"
seller
"
name=
"userType"
id=
"user1"
checked=
"checked"
>
<label
for=
"user1"
class=
"card-radio pct50 first"
>
我要卖产品
</label>
<input
class=
"radio-card"
type=
"radio"
value=
"
2
"
name=
"userType"
id=
"user2"
>
<input
class=
"radio-card"
type=
"radio"
value=
"
buyer
"
name=
"userType"
id=
"user2"
>
<label
for=
"user2"
class=
"card-radio pct50 last"
>
我要买产品
</label>
</div>
...
...
order-menu.php
0 → 100644
View file @
78ed43fd
This diff is collapsed.
Click to expand it.
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