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
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
94 additions
and
49 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 {
.layout
.box
{
background-color
:
#fff
;
margin
:
20px
0
;
-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
);
/*
-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);
*/
padding
:
20px
;
margin
:
0
;
padding
:
16px
20px
14px
20px
;
...
...
@@ -92,8 +92,8 @@ img {
vertical-align
:
baseline
;
background
:
transparent
;
background
:
#fff
;
-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
);
/*
-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);
*/
}
.layout
.box
.title
{
...
...
src/assets/css/tao.scss
View file @
969b68f
...
...
@@ -56,7 +56,7 @@ img {
.box
{
background-color
:
#fff
;
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
;
.title
{
padding
:
20px
0
;
...
...
src/views/collection/index.vue
View file @
969b68f
...
...
@@ -860,8 +860,8 @@ h2 {
vertical-align
:
baseline
;
background
:
transparent
;
background
:
#fff
;
-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
);
/*
-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);
*/
padding
:
10px
;
}
/* .select {
...
...
@@ -922,8 +922,8 @@ flex-wrap: nowrap;
background
:
#ffffff
;
margin
:
0px
0
20px
0
;
padding
:
20px
;
-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
);
/*
-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);
*/
}
.dialogtitleText
{
font-size
:
16px
;
...
...
src/views/sale/detail.vue
View file @
969b68f
...
...
@@ -2,7 +2,7 @@
<div
class=
"layout"
>
<div
class=
"box topBox"
>
<!--
<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"
>
<template
v-for=
"(item,index) in detailInfoObj"
>
<div
...
...
@@ -189,8 +189,6 @@ export default {
align-items
:
center
;
}
.layout
{
margin
:
0
20px
0
40px
;
width
:
auto
;
.topBox{
padding-top
:
32px
!important
;
}
...
...
src/views/sale/index.vue
View file @
969b68f
<
template
>
<div
class=
"equity-wrap"
>
<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-form-item
label=
"售后编号"
size=
"small"
>
<el-input
v-model=
"searchForm.refundCode"
placeholder=
"请输入"
size=
"small"
clearable
></el-input>
...
...
@@ -28,20 +28,20 @@
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
</el-form-item>
</el-row>
</el-form>
</el-form>
-->
<GLCombiForm
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<div
class=
"choseRow"
>
<div
class=
"choseItem"
:class=
"
{ active: currentIndex == index }" v-for="(item, index) in choseList" :key="index" @click="tabClick(index)">
{{
item
}}
</div>
</div>
<!-- :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"
>
<div
class=
"refund-box"
>
<div
class=
"refund-img-box"
>
<img
:src=
"scope.scope.img"
alt=
""
/>
<!-- getHttpsImgUrl(scope.scope.img) -->
<img
:src=
"scope.scope.img"
alt=
""
/>
</div>
<div>
{{
scope
.
scope
.
reason
}}
</div>
</div>
...
...
@@ -73,7 +73,7 @@
<div
class=
"refund-title"
>
{{
scope
.
scope
.
orderCode
}}
</div>
</div>
</span>
<span
slot=
"stores"
slot-scope=
"scope"
>
<span
slot=
"stores"
slot-scope=
"scope"
>
<div
class=
"refund-box"
>
<div
class=
"refund-title"
>
{{
scope
.
scope
.
merchantName
}}
</div>
</div>
...
...
@@ -85,13 +85,13 @@
<
script
>
// type='text/ecmascript-6'
// import { orderMixin, searchMixin } from '@/mixins'
import
url
from
"@/assets/empty.png"
import
url
from
'@/assets/empty.png'
export
default
{
name
:
''
,
// mixins: [orderMixin, searchMixin],
data
()
{
return
{
url
:
url
,
url
:
url
,
choseList
:
[
'全部'
,
'售后中'
,
'售后完成'
],
currentIndex
:
0
,
size
:
'small'
,
...
...
@@ -103,7 +103,59 @@ export default {
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
flag
:
true
,
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
:
{},
tableParams
:
{
listName
:
'list'
,
...
...
@@ -112,7 +164,6 @@ export default {
tableColumns
:
[
{
label
:
'售后描述'
,
minWidth
:
'150'
,
align
:
'left'
,
addHtml
:
'desc'
...
...
@@ -144,14 +195,12 @@ export default {
},
{
label
:
'实收金额'
,
formatter
:
cell
=>
{
return
`
${
cell
.
orderPrices
}
元`
}
},
{
label
:
'售后状态'
,
formatter
:
cell
=>
{
const
refundStatusList
=
{
1
:
'售后中'
,
...
...
@@ -180,26 +229,26 @@ export default {
},
mounted
()
{},
methods
:
{
getHttpsImgUrl
(
url
){
if
(
!
url
)
{
getHttpsImgUrl
(
url
)
{
if
(
!
url
)
{
return
''
}
var
flag
=
url
.
startsWith
(
"http:"
)
if
(
flag
){
var
newurl
=
url
.
replace
(
"http:"
,
"https:"
)
//去掉http自动带的端口 :7060,https不能有
var
startPos
=
newurl
.
lastIndexOf
(
":"
)
var
endPos
=
newurl
.
indexOf
(
"/"
,
startPos
)
var
preStr
=
newurl
.
substring
(
0
,
startPos
)
var
afterStr
=
newurl
.
substring
(
end
Pos
)
// console.log(preStr,'前部分'
)
// console.log(afterStr,'后
部分')
var
finalStr
=
preStr
+
afterStr
// console.log(finalStr,'6777777')
return
finalStr
}
return
url
var
flag
=
url
.
startsWith
(
'http:'
)
// console.log(flag,'快快快')
if
(
flag
)
{
var
newurl
=
url
.
replace
(
'http:'
,
'https:'
)
//去掉http自动带的端口 :7060,https不能有
var
startPos
=
newurl
.
lastIndexOf
(
':'
)
var
endPos
=
newurl
.
indexOf
(
'/'
,
startPos
)
var
preStr
=
newurl
.
substring
(
0
,
start
Pos
)
var
afterStr
=
newurl
.
substring
(
endPos
)
// console.log(preStr,'前
部分')
// console.log(afterStr,'后部分')
var
finalStr
=
preStr
+
afterStr
// console.log(finalStr,'6777777')
return
finalStr
}
return
url
},
tabClick
(
index
)
{
this
.
currentIndex
=
index
...
...
@@ -288,7 +337,6 @@ export default {
// }
// </style>
</
script
>
<
style
lang=
"scss"
scoped
>
.equity-wrap
.contain
{
.choseRow
{
...
...
@@ -301,7 +349,6 @@ export default {
line-height
:
34px
;
text-align
:
center
;
font-size
:
14px
;
font-weight
:
400
;
color
:
#333333
;
cursor
:
pointer
;
...
...
@@ -335,7 +382,7 @@ export default {
.el-range-editor--small.el-input__inner
{
width
:
215px
;
}
/
deep
/
.contain
.el-input--small
.el-input__inner
{
width
:
215px
;
}
</
style
>
/
/
/
deep
/
.contain
.el-input--small
.el-input__inner
{
//
width
:
215px
;
//
}
</
style
>
\ 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