Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
snow-guizhou-web-frontend
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
雪花
snow-guizhou-web-frontend
Commits
a3af0174
提交
a3af0174
authored
5月 10, 2022
作者:
郁骅焌
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优惠券审核列表
上级
08f6250e
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
275 行增加
和
219 行删除
+275
-219
index.scss
src/assets/styles/index.scss
+261
-217
detail.vue
src/views/coupon/audit/detail.vue
+6
-1
index.vue
src/views/coupon/audit/index.vue
+8
-1
没有找到文件。
src/assets/styles/index.scss
浏览文件 @
a3af0174
@import
'./variables.scss'
;
@import
'./mixin.scss'
;
@import
'./transition.scss'
;
@import
'./element-ui.scss'
;
@import
'./sidebar.scss'
;
@import
'./btn.scss'
;
body
{
height
:
100%
;
-moz-osx-font-smoothing
:
grayscale
;
-webkit-font-smoothing
:
antialiased
;
text-rendering
:
optimizeLegibility
;
font-family
:
Helvetica
Neue
,
Helvetica
,
PingFang
SC
,
Hiragino
Sans
GB
,
Microsoft
YaHei
,
Arial
,
sans-serif
;
}
label
{
font-weight
:
700
;
}
html
{
height
:
100%
;
box-sizing
:
border-box
;
}
#app
{
height
:
100%
;
}
*,
*
:before
,
*
:after
{
box-sizing
:
inherit
;
}
.no-padding
{
padding
:
0px
!
important
;
}
.padding-content
{
padding
:
4px
0
;
}
a
:focus
,
a
:active
{
outline
:
none
;
}
a
,
a
:focus
,
a
:hover
{
cursor
:
pointer
;
color
:
inherit
;
text-decoration
:
none
;
}
div
:focus
{
outline
:
none
;
}
.fr
{
float
:
right
;
}
.fl
{
float
:
left
;
}
.pr-5
{
padding-right
:
5px
;
}
.pl-5
{
padding-left
:
5px
;
}
.block
{
display
:
block
;
}
.pointer
{
cursor
:
pointer
;
}
.inlineBlock
{
display
:
block
;
}
.clearfix
{
&
:after
{
visibility
:
hidden
;
display
:
block
;
font-size
:
0
;
content
:
" "
;
clear
:
both
;
height
:
0
;
}
}
aside
{
background
:
#eef1f6
;
padding
:
8px
24px
;
margin-bottom
:
20px
;
border-radius
:
2px
;
display
:
block
;
line-height
:
32px
;
font-size
:
16px
;
font-family
:
-
apple-system
,
BlinkMacSystemFont
,
"Segoe UI"
,
Roboto
,
Oxygen
,
Ubuntu
,
Cantarell
,
"Fira Sans"
,
"Droid Sans"
,
"Helvetica Neue"
,
sans-serif
;
color
:
#2c3e50
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
a
{
color
:
#337ab7
;
cursor
:
pointer
;
&
:hover
{
color
:
rgb
(
32
,
160
,
255
);
}
}
}
//main-container全局样式
.app-container
{
padding
:
20px
;
}
.components-container
{
margin
:
30px
50px
;
position
:
relative
;
}
.pagination-container
{
margin-top
:
30px
;
}
.text-center
{
text-align
:
center
}
.sub-navbar
{
height
:
50px
;
line-height
:
50px
;
position
:
relative
;
width
:
100%
;
text-align
:
right
;
padding-right
:
20px
;
transition
:
600ms
ease
position
;
background
:
linear-gradient
(
90deg
,
rgba
(
32
,
182
,
249
,
1
)
0%
,
rgba
(
32
,
182
,
249
,
1
)
0%
,
rgba
(
33
,
120
,
241
,
1
)
100%
,
rgba
(
33
,
120
,
241
,
1
)
100%
);
.subtitle
{
font-size
:
20px
;
color
:
#fff
;
}
&
.draft
{
background
:
#d0d0d0
;
}
&
.deleted
{
background
:
#d0d0d0
;
}
}
.link-type
,
.link-type
:focus
{
color
:
#337ab7
;
cursor
:
pointer
;
&
:hover
{
color
:
rgb
(
32
,
160
,
255
);
}
}
.filter-container
{
padding-bottom
:
10px
;
.filter-item
{
display
:
inline-block
;
vertical-align
:
middle
;
margin-bottom
:
10px
;
}
}
//refine vue-multiselect plugin
.multiselect
{
line-height
:
16px
;
}
.multiselect--active
{
z-index
:
1000
!
important
;
}
// 表单标题
.titbox
{
margin-bottom
:
10px
;
display
:
-
webkit-box
;
display
:
-
ms-flexbox
;
display
:
flex
;
height
:
40px
;
-webkit-box-align
:
center
;
-ms-flex-align
:
center
;
align-items
:
center
;
width
:
100%
}
.titbox
.icons
{
display
:
block
;
background
:
#f8643f
;
height
:
20px
;
width
:
5px
;
margin-right
:
15px
}
.titbox
.text
{
font-size
:
16px
;
font-weight
:
700
}
@import
'./variables.scss'
;
@import
'./mixin.scss'
;
@import
'./transition.scss'
;
@import
'./element-ui.scss'
;
@import
'./sidebar.scss'
;
@import
'./btn.scss'
;
body
{
height
:
100%
;
-moz-osx-font-smoothing
:
grayscale
;
-webkit-font-smoothing
:
antialiased
;
text-rendering
:
optimizeLegibility
;
font-family
:
Helvetica
Neue
,
Helvetica
,
PingFang
SC
,
Hiragino
Sans
GB
,
Microsoft
YaHei
,
Arial
,
sans-serif
;
}
label
{
font-weight
:
700
;
}
html
{
height
:
100%
;
box-sizing
:
border-box
;
}
#app
{
height
:
100%
;
}
*,
*
:before
,
*
:after
{
box-sizing
:
inherit
;
}
.no-padding
{
padding
:
0px
!
important
;
}
.padding-content
{
padding
:
4px
0
;
}
a
:focus
,
a
:active
{
outline
:
none
;
}
a
,
a
:focus
,
a
:hover
{
cursor
:
pointer
;
color
:
inherit
;
text-decoration
:
none
;
}
div
:focus
{
outline
:
none
;
}
.fr
{
float
:
right
;
}
.fl
{
float
:
left
;
}
.pr-5
{
padding-right
:
5px
;
}
.pl-5
{
padding-left
:
5px
;
}
.block
{
display
:
block
;
}
.pointer
{
cursor
:
pointer
;
}
.inlineBlock
{
display
:
block
;
}
.clearfix
{
&
:after
{
visibility
:
hidden
;
display
:
block
;
font-size
:
0
;
content
:
" "
;
clear
:
both
;
height
:
0
;
}
}
aside
{
background
:
#eef1f6
;
padding
:
8px
24px
;
margin-bottom
:
20px
;
border-radius
:
2px
;
display
:
block
;
line-height
:
32px
;
font-size
:
16px
;
font-family
:
-
apple-system
,
BlinkMacSystemFont
,
"Segoe UI"
,
Roboto
,
Oxygen
,
Ubuntu
,
Cantarell
,
"Fira Sans"
,
"Droid Sans"
,
"Helvetica Neue"
,
sans-serif
;
color
:
#2c3e50
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
a
{
color
:
#337ab7
;
cursor
:
pointer
;
&
:hover
{
color
:
rgb
(
32
,
160
,
255
);
}
}
}
//main-container全局样式
.app-container
{
padding
:
20px
;
}
.components-container
{
margin
:
30px
50px
;
position
:
relative
;
}
.pagination-container
{
margin-top
:
30px
;
}
.text-center
{
text-align
:
center
}
.sub-navbar
{
height
:
50px
;
line-height
:
50px
;
position
:
relative
;
width
:
100%
;
text-align
:
right
;
padding-right
:
20px
;
transition
:
600ms
ease
position
;
background
:
linear-gradient
(
90deg
,
rgba
(
32
,
182
,
249
,
1
)
0%
,
rgba
(
32
,
182
,
249
,
1
)
0%
,
rgba
(
33
,
120
,
241
,
1
)
100%
,
rgba
(
33
,
120
,
241
,
1
)
100%
);
.subtitle
{
font-size
:
20px
;
color
:
#fff
;
}
&
.draft
{
background
:
#d0d0d0
;
}
&
.deleted
{
background
:
#d0d0d0
;
}
}
.link-type
,
.link-type
:focus
{
color
:
#337ab7
;
cursor
:
pointer
;
&
:hover
{
color
:
rgb
(
32
,
160
,
255
);
}
}
.filter-container
{
padding-bottom
:
10px
;
.filter-item
{
display
:
inline-block
;
vertical-align
:
middle
;
margin-bottom
:
10px
;
}
}
//refine vue-multiselect plugin
.multiselect
{
line-height
:
16px
;
}
.multiselect--active
{
z-index
:
1000
!
important
;
}
// 表单标题
.titbox
{
margin-bottom
:
10px
;
display
:
-
webkit-box
;
display
:
-
ms-flexbox
;
display
:
flex
;
height
:
40px
;
-webkit-box-align
:
center
;
-ms-flex-align
:
center
;
align-items
:
center
;
width
:
100%
}
.titbox
.icons
{
display
:
block
;
background
:
#f8643f
;
height
:
20px
;
width
:
5px
;
margin-right
:
15px
}
.titbox
.text
{
font-size
:
16px
;
font-weight
:
700
}
// 详情页样式
.hr-detail
{
width
:
100%
;
height
:
1px
;
border-bottom
:
1px
dashed
#d9d9d9
;
}
.detail-title
{
display
:
flex
;
align-items
:
center
;
font-size
:
18px
;
font-family
:
SourceHanSansCN-Medium
,
SourceHanSansCN
;
font-weight
:
500
;
color
:
#353d63
;
}
.detail-card-title
{
margin-bottom
:
20px
;
font-size
:
16px
;
font-family
:
SourceHanSansCN-Medium
,
SourceHanSansCN
;
font-weight
:
500
;
color
:
#353d63
;
}
.detail-title-tip
{
height
:
48px
;
display
:
flex
;
align-items
:
center
;
font-size
:
16px
;
font-weight
:
400
;
color
:
#333333
;
&
:
:
before
{
content
:
""
;
display
:
inline-block
;
width
:
4px
;
height
:
24px
;
background
:
#353d63
;
border-radius
:
1px
;
margin-right
:
10px
;
position
:
relative
;
}
}
src/views/coupon/audit/detail.vue
浏览文件 @
a3af0174
<
template
>
<div>
111
</div>
<div
class=
"app-container"
>
<el-card
class=
"card-layout"
>
<div
class=
"detail-title"
>
标题
</div>
</el-card>
</div>
</
template
>
<
script
>
...
...
src/views/coupon/audit/index.vue
浏览文件 @
a3af0174
...
...
@@ -9,7 +9,14 @@
{{
scope
.
row
.
validityType
===
'1'
?
`${scope.row.validityStartDate
}
~ ${scope.row.validityEndDate
}
`
:
`领取后${scope.row.validityNum
}
天内`
}}
<
/template
>
<
template
#
examineStatus
=
"{ scope
}
"
>
<
dict
-
tag
:
options
=
"dict.type.examine_status"
:
value
=
"scope.row.examineStatus"
/>
<
div
style
=
"display: flex; align-items: center; justify-content: center;"
>
<
xy
-
status
-
indicator
:
status
=
"scope.row.examineStatus === 0 ? 'warning' : scope.row.examineStatus === 1 ? 'success' : scope.row.examineStatus === 2 ? 'error' : '' "
pulse
/>
<
dict
-
tag
style
=
"margin-left: 4px; "
:
options
=
"dict.type.examine_status"
:
value
=
"scope.row.examineStatus"
/>
<
/div
>
<
/template
>
<
/xy-table
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论