Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
sso-equity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f38a5ecc
authored
Dec 02, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
权益管理页面样式修改
1 parent
a7eaa765
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
150 additions
and
60 deletions
src/assets/css/public.scss
src/views/financial/index.vue
src/views/goods/index.vue
src/views/sale/detail.vue
src/views/sale/index.vue
src/assets/css/public.scss
View file @
f38a5ec
.equity-wrap
.contain
{
.equity-wrap
.contain
{
background
:
#FFFFFF
;
background
:
#FFFFFF
;
margin
:
2
0px
20px
20px
40px
;
margin
:
0px
20px
20px
40px
;
padding
:
20px
;
padding
:
20px
;
box-shadow
:
0
1px
5px
0
rgba
(
38
,
38
,
38
,
0
.10
);
box-shadow
:
0
1px
5px
0
rgba
(
38
,
38
,
38
,
0
.10
);
}
}
...
...
src/views/financial/index.vue
View file @
f38a5ec
...
@@ -8,15 +8,18 @@
...
@@ -8,15 +8,18 @@
<div
class=
"balanceWrap"
>
<div
class=
"balanceWrap"
>
<span>
账户余额
</span>
<span>
账户余额
</span>
<div>
<div>
<span>
{{
price
}}
</span>
<span>
{{
price
}}
</span>
<span
class=
"yuan"
>
元
</span>
<span
class=
"yuan"
>
元
</span>
</div>
</div>
</div>
</div>
<el-button
class=
"special-btn"
>
刷新余额
</el-button>
<el-button
class=
"refreshBtn"
v-if=
"loading"
:loading=
"loading"
></el-button>
<div
class=
"statusBtnWrap"
>
<el-button
class=
"special-btn"
@
click=
"getHwAccount(1)"
v-else
>
刷新余额
</el-button>
<!--
<div
class=
"statusBtnWrap"
>
<div>
刷新状态
</div>
<div>
刷新状态
</div>
<el-button
icon=
"el-icon-refresh"
class=
"refreshBtn"
></el-button>
<el-button
icon=
"el-icon-refresh"
class=
"refreshBtn"
></el-button>
</div>
</div>
-->
</div>
</div>
<el-form
:inline=
"true"
style=
"width: 100%"
:model=
"searchForm"
label-width=
"70px"
label-position=
"right"
>
<el-form
:inline=
"true"
style=
"width: 100%"
:model=
"searchForm"
label-width=
"70px"
label-position=
"right"
>
<el-row
style=
"display: flex; align-items: center"
>
<el-row
style=
"display: flex; align-items: center"
>
...
@@ -70,6 +73,7 @@ export default {
...
@@ -70,6 +73,7 @@ export default {
mixins
:
[
orderMixin
,
searchMixin
],
mixins
:
[
orderMixin
,
searchMixin
],
data
()
{
data
()
{
return
{
return
{
loading
:
false
,
size
:
'small'
,
size
:
'small'
,
pickerOptions
:
{
pickerOptions
:
{
disabledDate
(
time
)
{
disabledDate
(
time
)
{
...
@@ -163,7 +167,7 @@ export default {
...
@@ -163,7 +167,7 @@ export default {
{
{
label
:
'下单时间'
,
label
:
'下单时间'
,
prop
:
'orderDate'
,
prop
:
'orderDate'
,
width
:
95
,
width
:
95
,
formatter
(
cell
)
{
formatter
(
cell
)
{
return
cell
.
orderDate
?
new
Date
(
cell
.
orderDate
).
format
(
'yyyy-MM-dd hh:mm:ss'
)
:
'- -'
return
cell
.
orderDate
?
new
Date
(
cell
.
orderDate
).
format
(
'yyyy-MM-dd hh:mm:ss'
)
:
'- -'
}
}
...
@@ -189,10 +193,21 @@ export default {
...
@@ -189,10 +193,21 @@ export default {
resolve
()
resolve
()
})
})
},
},
getHwAccount
()
{
getHwAccount
(
type
)
{
this
.
$apis
.
orderApi
.
getHwAccount
().
then
(
res
=>
{
if
(
type
)
{
this
.
price
=
res
// this.price=0
})
this
.
loading
=
true
}
this
.
$apis
.
orderApi
.
getHwAccount
()
.
then
(
res
=>
{
this
.
loading
=
false
this
.
price
=
res
})
.
catch
(
err
=>
{
this
.
loading
=
false
console
.
log
(
err
)
})
},
},
exportExcel
()
{
exportExcel
()
{
this
.
$apis
.
orderApi
.
exportBalanceList
(
this
.
searchObj
).
then
(({
code
,
data
,
message
})
=>
{
this
.
$apis
.
orderApi
.
exportBalanceList
(
this
.
searchObj
).
then
(({
code
,
data
,
message
})
=>
{
...
@@ -262,16 +277,13 @@ export default {
...
@@ -262,16 +277,13 @@ export default {
width
:
100%
;
width
:
100%
;
align-items
:
center
;
align-items
:
center
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
.imgWrap{
.imgWrap
{
width
:
52px
;
width
:
52px
;
height
:
52px
;
height
:
52px
;
}
}
.special-btn
{
padding
:
8px
15px
;
}
.balanceWrap
{
.balanceWrap
{
margin-left
:
10px
;
margin-left
:
10px
;
>
span
{
>
span
{
height
:
20px
;
height
:
20px
;
font-size
:
14px
;
font-size
:
14px
;
...
@@ -280,43 +292,48 @@ export default {
...
@@ -280,43 +292,48 @@ export default {
line-height
:
20px
;
line-height
:
20px
;
}
}
>
div
{
>
div
{
height
:
30px
;
height
:
30px
;
font-size
:
22px
;
font-size
:
22px
;
font-weight
:
500
;
font-weight
:
500
;
color
:
#333333
;
color
:
#333333
;
line-height
:
30px
;
line-height
:
30px
;
.yuan{
.yuan
{
height
:
20px
;
height
:
20px
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
500
;
font-weight
:
500
;
color
:
#333333
;
color
:
#333333
;
line-height
:
20px
;
line-height
:
20px
;
}
}
}
}
}
}
.special-btn
{
.special-btn
{
margin-left
:
32px
;
margin-left
:
32px
;
padding
:
8px
20px
;
}
}
.statusBtnWrap
{
.refreshBtn
{
text-align
:
center
;
margin-left
:
32px
;
margin-left
:
30px
;
width
:
88px
;
padding-bottom
:
20px
;
padding
:
8px
20px
;
.refreshBtn{
width
:
88px
;
padding
:
8px
20px
;
}
>
div
{
height
:
20px
;
font-size
:
14px
;
font-weight
:
400
;
color
:
#000000
;
line-height
:
20px
;
}
}
}
//
.statusBtnWrap
{
//
text-align
:
center
;
//
margin-left
:
30px
;
//
padding-bottom
:
20px
;
//
.refreshBtn
{
//
width
:
88px
;
//
padding
:
8px
20px
;
//
}
//
>
div
{
//
height
:
20px
;
//
font-size
:
14px
;
//
font-weight
:
400
;
//
color
:
#000000
;
//
line-height
:
20px
;
//
}
//
}
}
}
}
}
</
style
>
</
style
>
src/views/goods/index.vue
View file @
f38a5ec
...
@@ -352,6 +352,7 @@ export default {
...
@@ -352,6 +352,7 @@ export default {
.addGood
{
.addGood
{
margin-left
:
40px
;
margin-left
:
40px
;
padding
:
8px
16px
;
padding
:
8px
16px
;
margin-bottom
:
20px
;
}
}
/
deep
/
.contain
.el-input--small
.el-input__inner
{
/
deep
/
.contain
.el-input--small
.el-input__inner
{
width
:
215px
;
width
:
215px
;
...
...
src/views/sale/detail.vue
View file @
f38a5ec
<
template
>
<
template
>
<div
class=
"layout"
>
<div
class=
"layout"
>
<div
class=
"box
"
>
<div
class=
"box
topBox"
>
<!--
<back
/>
-->
<!--
<back
/>
-->
<el-button
type=
"primary"
class=
"backBtn"
size=
"small"
@
click=
"$router.go(-1)"
>
返回
</el-button>
<div
class=
"grid"
>
<div
class=
"grid"
>
<template
v-for=
"(item,index) in detailInfoObj"
>
<template
v-for=
"(item,index) in detailInfoObj"
>
<div
<div
class=
"grid-item"
class=
"grid-item
top-grid-item
"
:key=
"index"
:key=
"index"
>
>
<template
v-for=
"(i,ind) in item.list"
>
<template
v-for=
"(i,ind) in item.list"
>
...
@@ -13,8 +14,8 @@
...
@@ -13,8 +14,8 @@
class=
"item"
class=
"item"
:key=
"ind"
:key=
"ind"
>
>
<div
class=
"label"
>
{{
i
.
label
}}
:
</div>
<div
class=
"label"
:class=
"
{firstRow:i.class}"
>
{{
i
.
label
}}
:
</div>
<div
class=
"value"
>
<div
class=
"value"
:class=
"
{firstRow:i.class}"
>
<template
v-if=
"i.format"
>
<template
v-if=
"i.format"
>
{{
i
.
format
(
detailInfo
)
}}
{{
i
.
format
(
detailInfo
)
}}
</
template
>
</
template
>
...
@@ -28,7 +29,8 @@
...
@@ -28,7 +29,8 @@
</template>
</template>
</div>
</div>
</div>
</div>
<div
class=
"box"
>
<div
class=
"box"
id=
"bottomBox"
>
<div
class=
"grayRow"
></div>
<div
class=
"grid"
>
<div
class=
"grid"
>
<div
class=
"grid-item"
>
<div
class=
"grid-item"
>
<div
class=
"sub-title"
>
售后描述
</div>
<div
class=
"sub-title"
>
售后描述
</div>
...
@@ -53,7 +55,7 @@
...
@@ -53,7 +55,7 @@
</el-image>
</el-image>
<div
class=
"info"
>
<div
class=
"info"
>
<div
class=
"item"
>
<div
class=
"item"
>
<div
class=
"label"
>
品牌:
</div>
<div
class=
"label"
>
商品
品牌:
</div>
<div
class=
"value"
>
{{detailInfo.brandName}}
</div>
<div
class=
"value"
>
{{detailInfo.brandName}}
</div>
</div>
</div>
<div
class=
"item"
>
<div
class=
"item"
>
...
@@ -69,21 +71,21 @@
...
@@ -69,21 +71,21 @@
</div>
</div>
<div
class=
"grid-item"
>
<div
class=
"grid-item"
>
<div
class=
"sub-title"
>
购买信息
</div>
<div
class=
"sub-title"
>
购买信息
</div>
<div
class=
"item"
>
<div
class=
"item"
>
<div
class=
"label"
>
商品销售价
:
</div>
<div
class=
"label"
>
订单编号
:
</div>
<div
class=
"value"
>
{{detailInfo.order
Prices
}}
</div>
<div
class=
"value"
>
{{detailInfo.order
Code
}}
</div>
</div>
</div>
<div
class=
"item"
>
<div
class=
"item"
>
<div
class=
"label"
>
实付金额
:
</div>
<div
class=
"label"
>
购买数量
:
</div>
<div
class=
"value"
>
{{detailInfo.orderPrices}}
</div>
<div
class=
"value"
>
1张
</div>
</div>
</div>
<div
class=
"item"
>
<div
class=
"item"
>
<div
class=
"label"
>
购买数量
:
</div>
<div
class=
"label"
>
商品销售价
:
</div>
<div
class=
"value
"
>
1
</div>
<div
class=
"value
money"
>
{{detailInfo.orderPrices}}元
</div>
</div>
</div>
<div
class=
"item"
>
<div
class=
"item"
>
<div
class=
"label"
>
订单编号
:
</div>
<div
class=
"label"
>
实付金额
:
</div>
<div
class=
"value
"
>
{{detailInfo.orderCode}}
</div>
<div
class=
"value
money"
>
{{detailInfo.orderPrices}}元
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -102,7 +104,8 @@ export default {
...
@@ -102,7 +104,8 @@ export default {
list
:
[
list
:
[
{
{
label
:
'售后编号'
,
label
:
'售后编号'
,
key
:
'refundCode'
key
:
'refundCode'
,
class
:
1
},
},
{
{
label
:
'申请人'
,
label
:
'申请人'
,
...
@@ -114,7 +117,8 @@ export default {
...
@@ -114,7 +117,8 @@ export default {
list
:
[
list
:
[
{
{
label
:
'订单渠道'
,
label
:
'订单渠道'
,
key
:
'channelName'
key
:
'channelName'
,
class
:
1
},
},
{
{
label
:
'申请时间'
,
label
:
'申请时间'
,
...
@@ -128,6 +132,7 @@ export default {
...
@@ -128,6 +132,7 @@ export default {
list
:
[
list
:
[
{
{
label
:
'售后状态'
,
label
:
'售后状态'
,
class
:
1
,
format
(
cell
)
{
format
(
cell
)
{
const
refundStatusList
=
{
const
refundStatusList
=
{
1
:
'售后中'
,
1
:
'售后中'
,
...
@@ -145,6 +150,11 @@ export default {
...
@@ -145,6 +150,11 @@ export default {
mounted
()
{
mounted
()
{
let
params
=
{
orderCode
:
this
.
$route
.
query
.
orderCode
}
let
params
=
{
orderCode
:
this
.
$route
.
query
.
orderCode
}
this
.
getDetail
(
params
)
this
.
getDetail
(
params
)
this
.
$nextTick
(()
=>
{
let
clientHeight
=
document
.
documentElement
.
clientHeight
let
offsettop
=
document
.
getElementById
(
'bottomBox'
).
offsetTop
document
.
getElementById
(
'bottomBox'
).
style
.
minHeight
=
clientHeight
-
offsettop
-
120
+
'px'
})
},
},
methods
:
{
methods
:
{
// jump(){
// jump(){
...
@@ -162,7 +172,7 @@ export default {
...
@@ -162,7 +172,7 @@ export default {
}
}
</
script
>
</
script
>
<
style
src=
"@a/css/tao.css"
></
style
>
<
style
src=
"@a/css/tao.css"
></
style
>
<
style
scoped
>
<
style
lang=
"scss"
scoped
>
.flex
.info
{
.flex
.info
{
margin-left
:
10px
;
margin-left
:
10px
;
width
:
calc
(
100%
-
110px
);
width
:
calc
(
100%
-
110px
);
...
@@ -175,4 +185,66 @@ export default {
...
@@ -175,4 +185,66 @@ export default {
.layout
.box
.grid
.grid-item
.item
{
.layout
.box
.grid
.grid-item
.item
{
align-items
:
center
;
align-items
:
center
;
}
}
.layout
{
margin
:
0
20px
0
40px
;
width
:
auto
;
.topBox{
padding-top
:
32px
!important
;
}
.box
{
position
:
relative
;
padding-top
:
20px
;
padding-left
:
52px
;
.top-grid-item{
.item{
font-size
:
14px
;
font-weight
:
400
;
color
:
#333333
;
.label{
width
:
71px
;
text-align
:
right
;
}
.firstRow
{
margin-bottom
:
14px
;
}
}
}
.grid-item
{
.item{
font-size
:
14px
;
font-weight
:
400
;
color
:
#333333
;
.money{
color
:
#EB4E4E
;
}
}
}
.backBtn
{
position
:
absolute
;
right
:
20px
;
top
:
20px
;
}
.grayRow
{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
background-color
:
#F4F6FC
;
z-index
:
0
;
height
:
54px
;
}
.sub-title
{
position
:
relative
;
z-index
:
1
;
margin-bottom
:
35px
!important
;
font-size
:
14px
;
font-weight
:
500
;
color
:
#333333
;
}
.grid
{
padding
:
0
;
}
}
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/sale/index.vue
View file @
f38a5ec
...
@@ -298,7 +298,7 @@ export default {
...
@@ -298,7 +298,7 @@ export default {
{
{
label
:
'售后时间'
,
label
:
'售后时间'
,
minWidth
:
'100'
,
minWidth
:
'100'
,
sortable
:
true
,
//
sortable: true,
formatter
:
cell
=>
{
formatter
:
cell
=>
{
return
cell
.
createDate
?
new
Date
(
cell
.
createDate
).
format
(
'yyyy-MM-dd hh:mm:ss'
)
:
'- -'
return
cell
.
createDate
?
new
Date
(
cell
.
createDate
).
format
(
'yyyy-MM-dd hh:mm:ss'
)
:
'- -'
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment