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 969b68f9
authored
Jul 26, 2022
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:修改样式
1 parent
022ccfd6
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
83 additions
and
38 deletions
src/assets/css/tao.css
src/assets/css/tao.scss
src/views/collection/index.vue
src/views/sale/detail.vue
src/views/sale/index.vue
src/assets/css/tao.css
View file @
969b68f
...
@@ -81,8 +81,8 @@ img {
...
@@ -81,8 +81,8 @@ img {
.layout
.box
{
.layout
.box
{
background-color
:
#fff
;
background-color
:
#fff
;
margin
:
20px
0
;
margin
:
20px
0
;
-webkit-box-shadow
:
0
4px
20px
0
rgba
(
0
,
0
,
0
,
0.1
);
/*
-webkit-box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.1);
box-shadow
:
0
4px
20px
0
rgba
(
0
,
0
,
0
,
0.1
);
box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.1);
*/
padding
:
20px
;
padding
:
20px
;
margin
:
0
;
margin
:
0
;
padding
:
16px
20px
14px
20px
;
padding
:
16px
20px
14px
20px
;
...
@@ -92,8 +92,8 @@ img {
...
@@ -92,8 +92,8 @@ img {
vertical-align
:
baseline
;
vertical-align
:
baseline
;
background
:
transparent
;
background
:
transparent
;
background
:
#fff
;
background
:
#fff
;
-webkit-box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
/*
-webkit-box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
*/
}
}
.layout
.box
.title
{
.layout
.box
.title
{
...
...
src/assets/css/tao.scss
View file @
969b68f
...
@@ -56,7 +56,7 @@ img {
...
@@ -56,7 +56,7 @@ img {
.box
{
.box
{
background-color
:
#fff
;
background-color
:
#fff
;
margin
:
20px
0
;
margin
:
20px
0
;
box-shadow
:
0
4px
20px
0
rgba
(
0
,
0
,
0
,
0
.1
);
//
box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.1);
padding
:
20px
;
padding
:
20px
;
.title
{
.title
{
padding
:
20px
0
;
padding
:
20px
0
;
...
...
src/views/collection/index.vue
View file @
969b68f
...
@@ -860,8 +860,8 @@ h2 {
...
@@ -860,8 +860,8 @@ h2 {
vertical-align
:
baseline
;
vertical-align
:
baseline
;
background
:
transparent
;
background
:
transparent
;
background
:
#fff
;
background
:
#fff
;
-webkit-box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
/*
-webkit-box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
*/
padding
:
10px
;
padding
:
10px
;
}
}
/* .select {
/* .select {
...
@@ -922,8 +922,8 @@ flex-wrap: nowrap;
...
@@ -922,8 +922,8 @@ flex-wrap: nowrap;
background
:
#ffffff
;
background
:
#ffffff
;
margin
:
0px
0
20px
0
;
margin
:
0px
0
20px
0
;
padding
:
20px
;
padding
:
20px
;
-webkit-box-shadow
:
0
1px
5px
0
rgba
(
38
,
38
,
38
,
0.1
);
/*
-webkit-box-shadow: 0 1px 5px 0 rgba(38, 38, 38, 0.1);
box-shadow
:
0
1px
5px
0
rgba
(
38
,
38
,
38
,
0.1
);
box-shadow: 0 1px 5px 0 rgba(38, 38, 38, 0.1);
*/
}
}
.dialogtitleText
{
.dialogtitleText
{
font-size
:
16px
;
font-size
:
16px
;
...
...
src/views/sale/detail.vue
View file @
969b68f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"layout"
>
<div
class=
"layout"
>
<div
class=
"box topBox"
>
<div
class=
"box topBox"
>
<!--
<back
/>
-->
<!--
<back
/>
-->
<
el-button
type=
"primary"
class=
"backBtn"
size=
"small"
@
click=
"$router.go(-1)"
>
返回
</el-button
>
<
!--
<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
...
@@ -189,8 +189,6 @@ export default {
...
@@ -189,8 +189,6 @@ export default {
align-items
:
center
;
align-items
:
center
;
}
}
.layout
{
.layout
{
margin
:
0
20px
0
40px
;
width
:
auto
;
.topBox{
.topBox{
padding-top
:
32px
!important
;
padding-top
:
32px
!important
;
}
}
...
...
src/views/sale/index.vue
View file @
969b68f
<
template
>
<
template
>
<div
class=
"equity-wrap"
>
<div
class=
"equity-wrap"
>
<div
class=
"equity-wrap contain"
>
<div
class=
"equity-wrap contain"
>
<el-form
:inline=
"true"
style=
"width: 100%"
:model=
"searchForm"
label-width=
"85px"
label-position=
"right"
>
<
!--
<
el-form
:inline=
"true"
style=
"width: 100%"
:model=
"searchForm"
label-width=
"85px"
label-position=
"right"
>
<el-row
style=
"display: flex; align-items: center;margin-bottom:2px"
>
<el-row
style=
"display: flex; align-items: center;margin-bottom:2px"
>
<el-form-item
label=
"售后编号"
size=
"small"
>
<el-form-item
label=
"售后编号"
size=
"small"
>
<el-input
v-model=
"searchForm.refundCode"
placeholder=
"请输入"
size=
"small"
clearable
></el-input>
<el-input
v-model=
"searchForm.refundCode"
placeholder=
"请输入"
size=
"small"
clearable
></el-input>
...
@@ -28,19 +28,19 @@
...
@@ -28,19 +28,19 @@
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
</el-form>
</el-form>
-->
<GLCombiForm
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<div
class=
"choseRow"
>
<div
class=
"choseRow"
>
<div
class=
"choseItem"
:class=
"
{ active: currentIndex == index }" v-for="(item, index) in choseList" :key="index" @click="tabClick(index)">
<div
class=
"choseItem"
:class=
"
{ active: currentIndex == index }" v-for="(item, index) in choseList" :key="index" @click="tabClick(index)">
{{
item
}}
{{
item
}}
</div>
</div>
</div>
</div>
<!-- :noDataImg="url" -->
<!-- :noDataImg="url" -->
<GLTable
v-if=
"flag"
:noDataImg=
"url"
ref=
"table"
@
setTableFinishFun=
"setTableFinishFun"
:searchForm=
"searchFormTable"
:tableParams=
"tableParams"
:getListApi=
"tableParams.getListApi"
:hasNum=
"false"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
v-if=
"flag"
:noDataImg=
"url"
ref=
"table"
@
setTableFinishFun=
"setTableFinishFun"
:searchForm=
"searchFormTable"
:tableParams=
"tableParams"
:getListApi=
"tableParams.getListApi"
:hasNum=
"false"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<span
slot=
"desc"
slot-scope=
"scope"
>
<span
slot=
"desc"
slot-scope=
"scope"
>
<div
class=
"refund-box"
>
<div
class=
"refund-box"
>
<div
class=
"refund-img-box"
>
<div
class=
"refund-img-box"
>
<!-- getHttpsImgUrl(scope.scope.img) -->
<img
:src=
"scope.scope.img"
alt=
""
/>
<img
:src=
"scope.scope.img"
alt=
""
/>
</div>
</div>
<div>
{{
scope
.
scope
.
reason
}}
</div>
<div>
{{
scope
.
scope
.
reason
}}
</div>
...
@@ -85,13 +85,13 @@
...
@@ -85,13 +85,13 @@
<
script
>
<
script
>
// type='text/ecmascript-6'
// type='text/ecmascript-6'
// import { orderMixin, searchMixin } from '@/mixins'
// import { orderMixin, searchMixin } from '@/mixins'
import
url
from
"@/assets/empty.png"
import
url
from
'@/assets/empty.png'
export
default
{
export
default
{
name
:
''
,
name
:
''
,
// mixins: [orderMixin, searchMixin],
// mixins: [orderMixin, searchMixin],
data
()
{
data
()
{
return
{
return
{
url
:
url
,
url
:
url
,
choseList
:
[
'全部'
,
'售后中'
,
'售后完成'
],
choseList
:
[
'全部'
,
'售后中'
,
'售后完成'
],
currentIndex
:
0
,
currentIndex
:
0
,
size
:
'small'
,
size
:
'small'
,
...
@@ -103,7 +103,59 @@ export default {
...
@@ -103,7 +103,59 @@ export default {
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
flag
:
true
,
flag
:
true
,
tabIndex
:
''
,
tabIndex
:
''
,
searchForm
:
{},
// searchForm: {},
searchForm
:
{
orderCode
:
''
,
refundCode
:
''
,
productName
:
''
,
merchantName
:
''
,
userInfo
:
''
,
daterange
:
''
},
searchFormData
:
[
{
label
:
'售后编号'
,
name
:
'refundCode'
,
type
:
'input'
,
isClear
:
true
},
{
label
:
'订单编号'
,
name
:
'orderCode'
,
type
:
'input'
,
isClear
:
true
},
{
label
:
'商品名称'
,
name
:
'productName'
,
type
:
'input'
,
isClear
:
true
},
{
label
:
'门店名称'
,
name
:
'merchantName'
,
type
:
'input'
,
isClear
:
true
},
{
label
:
'用户信息'
,
name
:
'userInfo'
,
type
:
'input'
,
isClear
:
true
},
{
label
:
'下单时间'
,
name
:
'daterange'
,
type
:
'datePicker'
,
valueFormat
:
'yyyy-MM-dd'
,
isClear
:
true
,
customPickerOptions
:
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
'2017-12-31'
).
getTime
()
}
}
}
],
searchFormTable
:
{},
searchFormTable
:
{},
tableParams
:
{
tableParams
:
{
listName
:
'list'
,
listName
:
'list'
,
...
@@ -112,7 +164,6 @@ export default {
...
@@ -112,7 +164,6 @@ export default {
tableColumns
:
[
tableColumns
:
[
{
{
label
:
'售后描述'
,
label
:
'售后描述'
,
minWidth
:
'150'
,
minWidth
:
'150'
,
align
:
'left'
,
align
:
'left'
,
addHtml
:
'desc'
addHtml
:
'desc'
...
@@ -144,14 +195,12 @@ export default {
...
@@ -144,14 +195,12 @@ export default {
},
},
{
{
label
:
'实收金额'
,
label
:
'实收金额'
,
formatter
:
cell
=>
{
formatter
:
cell
=>
{
return
`
${
cell
.
orderPrices
}
元`
return
`
${
cell
.
orderPrices
}
元`
}
}
},
},
{
{
label
:
'售后状态'
,
label
:
'售后状态'
,
formatter
:
cell
=>
{
formatter
:
cell
=>
{
const
refundStatusList
=
{
const
refundStatusList
=
{
1
:
'售后中'
,
1
:
'售后中'
,
...
@@ -180,22 +229,22 @@ export default {
...
@@ -180,22 +229,22 @@ export default {
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
getHttpsImgUrl
(
url
){
getHttpsImgUrl
(
url
)
{
if
(
!
url
)
{
if
(
!
url
)
{
return
''
return
''
}
}
var
flag
=
url
.
startsWith
(
"http:"
)
var
flag
=
url
.
startsWith
(
'http:'
)
if
(
flag
){
// console.log(flag,'快快快')
var
newurl
=
url
.
replace
(
"http:"
,
"https:"
)
if
(
flag
)
{
var
newurl
=
url
.
replace
(
'http:'
,
'https:'
)
//去掉http自动带的端口 :7060,https不能有
//去掉http自动带的端口 :7060,https不能有
var
startPos
=
newurl
.
lastIndexOf
(
":"
)
var
startPos
=
newurl
.
lastIndexOf
(
':'
)
var
endPos
=
newurl
.
indexOf
(
"/"
,
startPos
)
var
endPos
=
newurl
.
indexOf
(
'/'
,
startPos
)
var
preStr
=
newurl
.
substring
(
0
,
startPos
)
var
preStr
=
newurl
.
substring
(
0
,
startPos
)
var
afterStr
=
newurl
.
substring
(
endPos
)
var
afterStr
=
newurl
.
substring
(
endPos
)
// console.log(preStr,'前部分')
// console.log(preStr,'前部分')
// console.log(afterStr,'后部分')
// console.log(afterStr,'后部分')
var
finalStr
=
preStr
+
afterStr
var
finalStr
=
preStr
+
afterStr
// console.log(finalStr,'6777777')
// console.log(finalStr,'6777777')
return
finalStr
return
finalStr
}
}
...
@@ -288,7 +337,6 @@ export default {
...
@@ -288,7 +337,6 @@ export default {
// }
// }
// </style>
// </style>
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.equity-wrap
.contain
{
.equity-wrap
.contain
{
.choseRow
{
.choseRow
{
...
@@ -301,7 +349,6 @@ export default {
...
@@ -301,7 +349,6 @@ export default {
line-height
:
34px
;
line-height
:
34px
;
text-align
:
center
;
text-align
:
center
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#333333
;
color
:
#333333
;
cursor
:
pointer
;
cursor
:
pointer
;
...
@@ -335,7 +382,7 @@ export default {
...
@@ -335,7 +382,7 @@ export default {
.el-range-editor--small.el-input__inner
{
.el-range-editor--small.el-input__inner
{
width
:
215px
;
width
:
215px
;
}
}
/
deep
/
.contain
.el-input--small
.el-input__inner
{
/
/
/
deep
/
.contain
.el-input--small
.el-input__inner
{
width
:
215px
;
//
width
:
215px
;
}
//
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
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