Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-3
Commits
8dbe4a5d
Commit
8dbe4a5d
authored
Jun 20, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 样式调整
parent
4b3fec7e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
change-store.vue
src/components/layout/components/change-store.vue
+4
-9
user-info.vue
src/components/layout/components/user-info.vue
+1
-0
No files found.
src/components/layout/components/change-store.vue
View file @
8dbe4a5d
<
template
>
<div
v-if=
"storeList.length >
0
"
>
<el-dropdown
v-if=
"storeList.length > 1"
@
command=
"onChangeStore"
>
<div
v-if=
"storeList.length >
1
"
>
<el-dropdown
@
command=
"onChangeStore"
>
<span
class=
"change-store-btn"
>
{{
getActiveStoreName
}}
<i
class=
"iconfont-hb3 iconxiajiantou change-store-icon"
></i>
...
...
@@ -20,9 +20,6 @@
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<span
v-else
class=
"change-store-btn disabled"
>
{{
getActiveStoreName
}}
</span>
<el-dialog
:visible
.
sync=
"changeStore.show"
append-to-body
title=
"更改默认商户"
width=
"600px"
@
closed=
"onClosed"
>
<div
class=
"change-store-title"
>
选择商户
</div>
<el-select
class=
"change-store-selector"
v-model=
"changeStore.storeId"
>
...
...
@@ -137,12 +134,10 @@ export default {
color
:
#303133
;
border-radius
:
4px
;
cursor
:
pointer
;
&.disabled
{
cursor
:
default
;
}
.change-store-icon
{
display
:
inline-block
;
margin-left
:
5px
;
font-size
:
12px
;
transition
:
0.3s
;
}
&
::after
{
...
...
@@ -155,7 +150,7 @@ export default {
height
:
24px
;
border-left
:
1px
solid
#dcdfe6
;
}
&
:
not
(
.disabled
)
:
hover
{
&
:hover
{
background
:
#f2f3f5
;
.change-store-icon
{
transform
:
rotateZ
(
180deg
);
...
...
src/components/layout/components/user-info.vue
View file @
8dbe4a5d
...
...
@@ -96,6 +96,7 @@ export default {
font-size
:
14px
;
}
.user-info-arrow
{
font-size
:
12px
;
transition
:
all
0.3s
;
}
}
...
...
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