Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
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 4a824b43
authored
Jan 13, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
无忧卡片,配置样式优化
1 parent
95d21bdd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
214 additions
and
20 deletions
src/views/addCards/index.vue
src/views/config/addConfig.vue
src/views/config/index.vue
src/views/worryFree/index.vue
src/views/addCards/index.vue
View file @
4a824b4
...
@@ -251,12 +251,42 @@ export default {
...
@@ -251,12 +251,42 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.equity-wrap
{
padding-right
:
20px
;
}
.addGood
{
.addGood
{
margin-bottom
:
20px
;
margin-bottom
:
20px
;
margin-left
:
40px
;
margin-left
:
40px
;
padding
:
8px
16px
;
padding
:
8px
16px
;
//
margin-bottom
:
20px
;
//
margin-bottom
:
20px
;
}
}
/
deep
/
.el-dialog
{
.el-dialog__body
{
padding
:
40px
20px
;
display
:
flex
;
justify-content
:
center
;
.el-form-item__label
{
color
:
#333
;
}
input
{
height
:
36px
;
width
:
320px
;
font-size
:
14px
;
}
}
.el-dialog__footer
{
height
:
70px
;
padding
:
16px
20px
;
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
;
border-top
:
1px
solid
#e6e6e6
;
text-align
:
center
;
.el-button
{
width
:
72px
;
margin
:
0
10px
;
}
}
}
/
deep
/
.contain
.el-input--small
.el-input__inner
{
/
deep
/
.contain
.el-input--small
.el-input__inner
{
width
:
215px
;
width
:
215px
;
}
}
...
@@ -268,11 +298,7 @@ export default {
...
@@ -268,11 +298,7 @@ export default {
float
:
right
;
float
:
right
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
/
deep
/
.el-dialog__footer
{
/
deep
/
.el-pagination
{
padding
:
16px
20px
;
margin-top
:
20px
;
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
;
border-top
:
1px
solid
#e6e6e6
;
text-align
:
center
;
}
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/config/addConfig.vue
View file @
4a824b4
<
template
>
<
template
>
<div
class=
"equity-wrap"
>
<div
class=
"equity-wrap
container
"
>
<div
class=
"equity-wrap contain"
>
<div
class=
"equity-wrap contain"
style=
"padding:0;margin-bottom:0;"
>
<div
class=
"top"
>
开通配置
</div>
<div
class=
"top"
>
开通配置
</div>
</div>
</div>
<div
class=
"equity-wrap contain"
>
<div
class=
"equity-wrap contain"
style=
"padding-left:72px;"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-position=
"left"
size=
"medium"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-position=
"left"
size=
"medium"
>
<el-form-item
v-if=
"add"
label=
"商户明细"
>
<el-form-item
v-if=
"add"
label=
"商户明细"
>
<el-button
size=
"small"
@
click=
"openDialog"
>
{{
selectedTable
==
true
?
'修改商户'
:
'选择商户'
}}
</el-button>
<el-button
size=
"small"
@
click=
"openDialog"
>
{{
selectedTable
==
true
?
'修改商户'
:
'选择商户'
}}
</el-button>
...
@@ -423,6 +423,10 @@ export default {
...
@@ -423,6 +423,10 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.container
{
padding-right
:
20px
;
padding-bottom
:
74px
;
}
.allWrap
{
.allWrap
{
padding-bottom
:
80px
;
padding-bottom
:
80px
;
}
}
...
@@ -447,11 +451,23 @@ export default {
...
@@ -447,11 +451,23 @@ export default {
margin-right
:
40px
;
margin-right
:
40px
;
}
}
}
}
.el-button
{
width
:
88px
;
height
:
40px
;
}
>
.el-button
{
border
:
1px
solid
#d1d1d1
;
color
:
#666
;
}
}
}
.top
{
.top
{
padding-left
:
20px
;
height
:
58px
;
height
:
58px
;
border-bottom
:
1px
solid
black
;
border-bottom
:
1px
solid
#D8D8D8
;
line-height
:
58px
;
line-height
:
58px
;
font-size
:
16px
;
font-weight
:
600
;
color
:
#333333
;
}
}
.fr-mr0
{
.fr-mr0
{
float
:
right
;
float
:
right
;
...
@@ -476,4 +492,41 @@ export default {
...
@@ -476,4 +492,41 @@ export default {
margin
:
-10px
-20px
;
margin
:
-10px
-20px
;
width
:
120px
;
width
:
120px
;
}
}
/
deep
/
.el-form
{
.
el-form-item
:
nth-child
(
-n
+
2
)
{
.
el-form-item__label
{
font-size
:
14px
;
font-weight
:
600
;
color
:
#3E3E3E
;
}
}
.el-form-item
{
margin-bottom
:
8px
;
}
.el-form-item
:first-child
{
margin-bottom
:
20px
;
.el-button{
border
:
1px
solid
#5850FF
;
color
:
#5850FF
;
}
}
.el-form-item
:nth-child
(
2
)
{
margin-bottom
:
0
;
}
.el-form-item
:nth-child
(
n
+
2
)
{
.el-form-item__content{
>div{
margin-left
:
20px
;
&,
.el-checkbox__label,
.el-radio__label
{
color
:
#666
;
}
}
>
label
{
.el-checkbox__label
{
color
:
#3E3E3E
;
}
}
}
}
}
</
style
>
</
style
>
src/views/config/index.vue
View file @
4a824b4
<
template
>
<
template
>
<div
class=
"equity-wrap"
>
<div
class=
"equity-wrap"
>
<GLButton
fn=
"开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"jump('add')"
>
开通配置
</GLButton>
<GLButton
fn=
"开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"jump('add')"
>
开通配置
</GLButton>
<
!--
<el-button
fn=
"开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"jump('add')"
>
开通配置
</el-button>
--
>
<
el-button
fn=
"开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-right"
@
click=
"jump('add')"
>
开通配置
</el-button
>
<div
class=
"equity-wrap contain"
>
<div
class=
"equity-wrap contain
merchant-select
"
>
<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>
<el-row>
<el-form-item
size=
"small"
label=
""
>
<el-form-item
size=
"small"
label=
""
>
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
</el-select>
</el-select>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
size=
"small"
label=
"开通状态"
style=
"margin-left: -10px"
>
<el-form-item
class=
"open-status"
size=
"small"
label=
"开通状态"
style=
"margin-left: -10px"
>
<el-select
size=
"small"
v-model=
"openFlag"
>
<el-select
size=
"small"
v-model=
"openFlag"
>
<el-option
v-for=
"item in openFlagList"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
<el-option
v-for=
"item in openFlagList"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</el-select>
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
<el-button
fn=
"修改配置"
type=
"text"
@
click=
"jump(scope.scope.merchantId)"
>
修改配置
</el-button>
<el-button
fn=
"修改配置"
type=
"text"
@
click=
"jump(scope.scope.merchantId)"
>
修改配置
</el-button>
</span>
</span>
<span
slot=
"openFlag"
slot-scope=
"scope"
>
<span
slot=
"openFlag"
slot-scope=
"scope"
>
<el-switch
:value=
"scope.scope.openFlag == 1"
active-color=
"#
13ce66"
inactive-color=
"#ff4949
"
@
change=
"changStatus(scope.scope.openFlag, scope.scope.id)"
></el-switch>
<el-switch
:value=
"scope.scope.openFlag == 1"
active-color=
"#
5850ff"
inactive-color=
"#eee
"
@
change=
"changStatus(scope.scope.openFlag, scope.scope.id)"
></el-switch>
</span>
</span>
</GLTable>
</GLTable>
</div>
</div>
...
@@ -321,21 +321,73 @@ export default {
...
@@ -321,21 +321,73 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.equity-wrap
{
padding-right
:
20px
;
}
.addGood
{
.addGood
{
margin-bottom
:
2
0px
;
margin-bottom
:
1
0px
;
margin-left
:
40px
;
margin-left
:
40px
;
padding
:
8px
16px
;
padding
:
8px
16px
;
//
margin-bottom
:
20px
;
//
margin-bottom
:
20px
;
}
}
/
deep
/
.contain
.el-input--small
.el-input__inner
{
.merchant-select
{
width
:
215px
;
margin-bottom
:
10px
!important
;
}
}
/
deep
/
.equity-wrap
{
.el-button+.el-button
{
margin-left
:
20px
;
}
.el-form--inline
.el-form-item
{
margin-bottom
:
0
;
}
.open-status
{
.el-input__inner
{
width
:
215px
;
color
:
#999
;
}
.el-form-item__label
{
color
:
#333333
;
display
:
inline
;
padding-right
:
15px
;
}
}
.el-input-group--prepend
.el-select
.el-input__inner
,
.el-input-group__append
{
width
:
120px
;
color
:
#333333
;
}
.el-input-group--prepend
.el-input__inner
,
.el-input-group__append
:last-child
{
width
:
166px
;
color
:
#999
;
}
.el-form-item__content
.el-button--small
:first-child
,
.row-btns
>
div
.el-button--small
:first-child
{
border-color
:
#5850ff
;
color
:
#5850ff
;
}
.el-form-item__content
.el-button--small
:last-child
,
.row-btns
>
div
.el-button--small
:last-child
{
border-color
:
#999
;
color
:
#666666
;
}
.row-btns
.el-checkbox__label
{
color
:
#333
;
padding-left
:
8px
;
}
.cell
.el-button--text
{
color
:
#666
;
}
.el-pagination
{
margin-top
:
20px
;
}
}
.row-btns
{
.row-btns
{
margin-top
:
5px
;
height
:
32px
;
line-height
:
32px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
.fr-mr0
{
.fr-mr0
{
float
:
right
;
float
:
right
;
margin-right
:
0px
!important
;
margin-right
:
0px
!important
;
}
}
/
deep
/
.el-input-group__prepend
{
background-color
:
#fff
;
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/worryFree/index.vue
View file @
4a824b4
...
@@ -31,8 +31,8 @@
...
@@ -31,8 +31,8 @@
<el-option
v-for=
"(item, index) in lifeOptions"
:key=
"index"
:label=
"item.label"
:value=
"item.value"
></el-option>
<el-option
v-for=
"(item, index) in lifeOptions"
:key=
"index"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
size=
"small"
style=
"float: right; margin-right: 0px !important"
>
<el-form-item
size=
"small"
style=
"float: right; margin-right: 0px !important
; padding-top: 5px;
"
>
<el-button
class=
"selectBtn"
size=
"small"
@
click=
"detailSelect('reset')"
>
重置
</el-button>
<el-button
class=
"selectBtn"
size=
"small"
@
click=
"detailSelect('reset')"
style=
"border-color:#5850FF;color:#5850FF;margin-right:10px;"
>
重置
</el-button>
<el-button
class=
"selectBtn"
size=
"small"
type=
"primary"
@
click=
"detailSelect('select')"
style=
""
>
查询
</el-button>
<el-button
class=
"selectBtn"
size=
"small"
type=
"primary"
@
click=
"detailSelect('select')"
style=
""
>
查询
</el-button>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
...
@@ -418,6 +418,9 @@ export default {
...
@@ -418,6 +418,9 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.equity-wrap
{
padding-right
:
20px
;
}
.addGood
{
.addGood
{
margin-bottom
:
20px
;
margin-bottom
:
20px
;
margin-left
:
40px
;
margin-left
:
40px
;
...
@@ -427,6 +430,44 @@ export default {
...
@@ -427,6 +430,44 @@ export default {
/
deep
/
.contain
.el-input--small
.el-input__inner
{
/
deep
/
.contain
.el-input--small
.el-input__inner
{
width
:
215px
;
width
:
215px
;
}
}
/
deep
/
.el-dialog
{
.el-dialog__body{
padding
:
40px
20px
;
display
:
flex
;
justify-content
:
center
;
.el-form-item__label
{
color
:
#333
;
}
input
{
height
:
36px
;
width
:
320px
;
font-size
:
14px
;
}
}
.el-dialog__footer
{
height
:
70px
;
.el-button{
width
:
72px
;
margin
:
0
10px
;
}
}
}
.contain
:first-child
{
margin-bottom
:
10px
;
.
el-row
:
first-child
{
margin-bottom
:
20px
;
}
/
deep
/
.el-form-item
{
margin-bottom
:
0
;
.el-form-item__label
{
color
:
#333
;
height
:
32px
;
}
.el-input__inner
{
height
:
32px
;
}
}
}
.row-btns
{
.row-btns
{
margin-top
:
5px
;
margin-top
:
5px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
...
@@ -438,4 +479,26 @@ export default {
...
@@ -438,4 +479,26 @@ export default {
border-top
:
1px
solid
#e6e6e6
;
border-top
:
1px
solid
#e6e6e6
;
text-align
:
center
;
text-align
:
center
;
}
}
/
deep
/
.el-alert
{
height
:
40px
;
background
:
#E6E9FF
;
border
:
1px
solid
#5850FF
;
padding
:
0
15px
;
line-height
:
40px
;
p{
font-size
:
14px
;
color
:
rgba
(
0
,
0
,
0
,
0.65
);
}
.el-alert__description
{
margin
:
0
;
}
.el-alert__icon
{
color
:
#5850FF
;
font-size
:
18px
;
width
:
18px
;
}
}
/
deep
/
.el-pagination
{
margin-top
:
20px
;
}
</
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