Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5494756a
authored
Sep 11, 2023
by
xingyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: eslint
parent
56a71f64
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
29 additions
and
20 deletions
+29
-20
src/components/Card/src/CardTitle.vue
+5
-4
src/components/Descriptions/src/DescriptionsItemLabel.vue
+1
-0
src/layout/components/Menu/src/Menu.vue
+4
-4
src/views/mall/product/comment/CommentForm.vue
+5
-4
src/views/mall/promotion/coupon/template/CouponTemplateForm.vue
+8
-6
src/views/member/user/detail/UserAccountInfo.vue
+1
-0
src/views/member/user/detail/index.vue
+4
-1
src/views/pay/order/index.vue
+1
-1
No files found.
src/components/Card/src/CardTitle.vue
View file @
5494756a
...
@@ -19,17 +19,18 @@ const { title } = defineProps({
...
@@ -19,17 +19,18 @@ const { title } = defineProps({
.card-title
{
.card-title
{
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
600
;
font-weight
:
600
;
&::before
{
&::before
{
content
:
''
;
position
:
relative
;
top
:
8px
;
left
:
-5px
;
display
:
inline-block
;
display
:
inline-block
;
width
:
3px
;
width
:
3px
;
height
:
14px
;
height
:
14px
;
//
background-color
:
#105cfb
;
//
background-color
:
#105cfb
;
background
:
var
(
--el-color-primary
);
background
:
var
(
--el-color-primary
);
position
:
relative
;
left
:
-5px
;
top
:
8px
;
border-radius
:
5px
;
border-radius
:
5px
;
content
:
''
;
transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
);
}
}
}
}
...
...
src/components/Descriptions/src/DescriptionsItemLabel.vue
View file @
5494756a
...
@@ -22,6 +22,7 @@ const { label } = defineProps({
...
@@ -22,6 +22,7 @@ const { label } = defineProps({
.cell-item
{
.cell-item
{
display
:
inline
;
display
:
inline
;
}
}
.cell-item
::after
{
.cell-item
::after
{
content
:
':'
;
content
:
':'
;
}
}
...
...
src/layout/components/Menu/src/Menu.vue
View file @
5494756a
...
@@ -172,7 +172,7 @@ $prefix-cls: #{$namespace}-menu;
...
@@ -172,7 +172,7 @@ $prefix-cls: #{$namespace}-menu;
.
#
{
$elNamespace
}
-menu-item
.is-active
{
.
#
{
$elNamespace
}
-menu-item
.is-active
{
position
:
relative
;
position
:
relative
;
&:after
{
&:
:
after
{
@extend
.is-active--after;
@extend
.is-active--after;
}
}
}
}
...
@@ -195,7 +195,7 @@ $prefix-cls: #{$namespace}-menu;
...
@@ -195,7 +195,7 @@ $prefix-cls: #{$namespace}-menu;
position
:
relative
;
position
:
relative
;
background-color
:
var
(
--left-menu-collapse-bg-active-color
)
!important
;
background-color
:
var
(
--left-menu-collapse-bg-active-color
)
!important
;
&:after
{
&:
:
after
{
@extend
.is-active--after;
@extend
.is-active--after;
}
}
}
}
...
@@ -226,7 +226,7 @@ $prefix-cls: #{$namespace}-menu;
...
@@ -226,7 +226,7 @@ $prefix-cls: #{$namespace}-menu;
.
#
{
$elNamespace
}
-menu-item
.is-active
{
.
#
{
$elNamespace
}
-menu-item
.is-active
{
position
:
relative
;
position
:
relative
;
&:after
{
&:
:
after
{
display
:
none
!important
;
display
:
none
!important
;
}
}
}
}
...
@@ -282,7 +282,7 @@ $prefix-cls: #{$namespace}-menu-popper;
...
@@ -282,7 +282,7 @@ $prefix-cls: #{$namespace}-menu-popper;
background-color
:
var
(
--left-menu-bg-active-color
)
!important
;
background-color
:
var
(
--left-menu-bg-active-color
)
!important
;
}
}
&
:after
{
&
:
:
after
{
@extend
.is-active--after;
@extend
.is-active--after;
}
}
}
}
...
...
src/views/mall/product/comment/CommentForm.vue
View file @
5494756a
...
@@ -150,6 +150,7 @@ const resetForm = () => {
...
@@ -150,6 +150,7 @@ const resetForm = () => {
userNickname
:
undefined
,
userNickname
:
undefined
,
userAvatar
:
undefined
,
userAvatar
:
undefined
,
spuId
:
undefined
,
spuId
:
undefined
,
spuName
:
undefined
,
skuId
:
undefined
,
skuId
:
undefined
,
descriptionScores
:
5
,
descriptionScores
:
5
,
benefitScores
:
5
,
benefitScores
:
5
,
...
@@ -182,11 +183,11 @@ const handleSkuChange = (sku: ProductSpuApi.Sku) => {
...
@@ -182,11 +183,11 @@ const handleSkuChange = (sku: ProductSpuApi.Sku) => {
<
style
>
<
style
>
.select-box
{
.select-box
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
border
:
1px
dashed
var
(
--el-border-color-darker
);
border-radius
:
8px
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
border
:
1px
dashed
var
(
--el-border-color-darker
);
border-radius
:
8px
;
align-items
:
center
;
justify-content
:
center
;
}
}
</
style
>
</
style
>
src/views/mall/promotion/coupon/template/CouponTemplateForm.vue
View file @
5494756a
...
@@ -423,22 +423,24 @@ const handleRemoveSpu = (index: number) => {
...
@@ -423,22 +423,24 @@ const handleRemoveSpu = (index: number) => {
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.select-box
{
.select-box
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
border
:
1px
dashed
var
(
--el-border-color-darker
);
border-radius
:
8px
;
width
:
60px
;
width
:
60px
;
height
:
60px
;
height
:
60px
;
border
:
1px
dashed
var
(
--el-border-color-darker
);
border-radius
:
8px
;
align-items
:
center
;
justify-content
:
center
;
}
}
.spu-pic
{
.spu-pic
{
position
:
relative
;
position
:
relative
;
}
}
.del-icon
{
.del-icon
{
position
:
absolute
;
position
:
absolute
;
top
:
-10px
;
right
:
-10px
;
z-index
:
1
;
z-index
:
1
;
width
:
20px
!important
;
width
:
20px
!important
;
height
:
20px
!important
;
height
:
20px
!important
;
right
:
-10px
;
top
:
-10px
;
}
}
</
style
>
</
style
>
src/views/member/user/detail/UserAccountInfo.vue
View file @
5494756a
...
@@ -54,6 +54,7 @@ const { user } = defineProps<{ user: UserApi.UserVO }>()
...
@@ -54,6 +54,7 @@ const { user } = defineProps<{ user: UserApi.UserVO }>()
.cell-item
{
.cell-item
{
display
:
inline
;
display
:
inline
;
}
}
.cell-item
::after
{
.cell-item
::after
{
content
:
':'
;
content
:
':'
;
}
}
...
...
src/views/member/user/detail/index.vue
View file @
5494756a
...
@@ -63,12 +63,13 @@ import UserAddressList from './UserAddressList.vue'
...
@@ -63,12 +63,13 @@ import UserAddressList from './UserAddressList.vue'
import
UserPointList
from
'./UserPointList.vue'
import
UserPointList
from
'./UserPointList.vue'
import
UserSignList
from
'./UserSignList.vue'
import
UserSignList
from
'./UserSignList.vue'
import
{
CardTitle
}
from
'@/components/Card/index'
import
{
CardTitle
}
from
'@/components/Card/index'
import
{
ElMessage
}
from
'element-plus'
defineOptions
({
name
:
'MemberDetail'
})
defineOptions
({
name
:
'MemberDetail'
})
const
activeName
=
ref
(
'point'
)
// 账户明细 选中的 tabs
const
activeName
=
ref
(
'point'
)
// 账户明细 选中的 tabs
const
loading
=
ref
(
true
)
// 加载中
const
loading
=
ref
(
true
)
// 加载中
let
user
=
ref
<
UserApi
.
UserVO
>
({}
)
const
user
=
ref
<
UserApi
.
UserVO
>
(
)
/** 添加/修改操作 */
/** 添加/修改操作 */
const
formRef
=
ref
()
const
formRef
=
ref
()
...
@@ -104,10 +105,12 @@ onMounted(() => {
...
@@ -104,10 +105,12 @@ onMounted(() => {
.detail-info-item
:first-child
{
.detail-info-item
:first-child
{
padding-left
:
0
!important
;
padding-left
:
0
!important
;
}
}
/* first-child 不生效有没有大佬给看下q.q */
/* first-child 不生效有没有大佬给看下q.q */
.detail-info-item
:nth-child
(
2
)
{
.detail-info-item
:nth-child
(
2
)
{
padding-right
:
0
!important
;
padding-right
:
0
!important
;
}
}
.card-header
{
.card-header
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
...
...
src/views/pay/order/index.vue
View file @
5494756a
...
@@ -267,7 +267,7 @@ onMounted(async () => {
...
@@ -267,7 +267,7 @@ onMounted(async () => {
</
script
>
</
script
>
<
style
>
<
style
>
.order-font
{
.order-font
{
font-size
:
12px
;
padding
:
2px
0
;
padding
:
2px
0
;
font-size
:
12px
;
}
}
</
style
>
</
style
>
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