Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
官美宏
/
aiqiyi-program
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
e641b803
...
e641b803350c7047501ce570fd1f323b35e07364
authored
2021-09-24 15:02:16 +0800
by
官美宏
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
爱奇艺小卡table宽度调整
1 parent
7f20cf2b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
src/views/aiqiyi/index.vue
src/views/aiqiyi/index.vue
View file @
e641b80
...
...
@@ -50,16 +50,16 @@
:max-height=
"tableHeight"
:data=
"smallSellList"
>
<el-table-column
label=
"ID"
width=
"
125
px"
prop=
"id"
/>
<el-table-column
label=
"vip类型"
width=
"
125
px"
prop=
"vipType"
>
<el-table-column
label=
"ID"
width=
"
50
px"
prop=
"id"
/>
<el-table-column
label=
"vip类型"
width=
"
80
px"
prop=
"vipType"
>
<template
slot-scope=
"scope"
>
<span
v-if=
"Number(scope.row.vipType) === 1"
>
爱奇艺包月
</span>
<span
v-if=
"Number(scope.row.vipType) === 4"
>
爱奇艺包年
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"卡号"
width=
"
125
px"
prop=
"cardNum"
/>
<el-table-column
label=
"卡密"
width=
"
125
px"
prop=
"cardKey"
/>
<el-table-column
label=
"vip类型"
width=
"
125
px"
prop=
"status"
>
<el-table-column
label=
"卡号"
width=
"
70
px"
prop=
"cardNum"
/>
<el-table-column
label=
"卡密"
width=
"
250
px"
prop=
"cardKey"
/>
<el-table-column
label=
"vip类型"
width=
"
80
px"
prop=
"status"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"Number(scope.row.status) === 0"
>
未兑换
</span>
<span
v-if=
"Number(scope.row.status) === 1"
>
已兑换
</span>
...
...
@@ -67,14 +67,14 @@
<span
v-if=
"Number(scope.row.status) === 3"
>
已失效
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"地区"
width=
"125px"
prop=
"region"
/>
<el-table-column
label=
"渠道"
width=
"
125
px"
prop=
"channel"
/>
<el-table-column
label=
"批次"
width=
"
125
px"
prop=
"batch"
/>
<el-table-column
label=
"产品id"
width=
"
125
px"
prop=
"productId"
/>
<el-table-column
label=
"产品"
width=
"1
25
px"
prop=
"productName"
/>
<el-table-column
label=
"大屏账号"
width=
"
125
px"
prop=
"account"
/>
<el-table-column
label=
"订单号"
width=
"1
25
px"
prop=
"bossOrderNo"
/>
<el-table-column
label=
"备注"
width=
"125px"
prop=
"remark"
/>
<el-table-column
label=
"地区"
show-overflow-tooltip
prop=
"region"
/>
<el-table-column
label=
"渠道"
width=
"
80
px"
prop=
"channel"
/>
<el-table-column
label=
"批次"
width=
"
60
px"
prop=
"batch"
/>
<el-table-column
label=
"产品id"
width=
"
60
px"
prop=
"productId"
/>
<el-table-column
label=
"产品"
width=
"1
00
px"
prop=
"productName"
/>
<el-table-column
label=
"大屏账号"
width=
"
260
px"
prop=
"account"
/>
<el-table-column
label=
"订单号"
width=
"1
50
px"
prop=
"bossOrderNo"
/>
<el-table-column
label=
"备注"
show-overflow-tooltip
prop=
"remark"
/>
<el-table-column
label=
"领取手机号"
width=
"125px"
prop=
"rcvMobile"
/>
</el-table>
<el-pagination
...
...
@@ -109,7 +109,7 @@ export default {
vipTypeList
:
[{
label
:
'爱奇艺包月'
,
value
:
'1'
},
{
label
:
'爱奇艺包年'
,
value
:
'4'
}],
statusList
:
[{
label
:
'未兑换'
,
value
:
'0'
},
{
label
:
'已兑换'
,
value
:
'1'
},
{
label
:
'兑换失败'
,
value
:
'2'
},
{
label
:
'已失效'
,
value
:
'3'
}],
total
:
0
,
tableHeight
:
80
0
,
tableHeight
:
0
,
searchObj
:
{
page
:
0
,
size
:
20
,
...
...
@@ -134,7 +134,7 @@ export default {
},
mounted
()
{
this
.
$nextTick
(()
=>
{
this
.
tableHeight
=
window
.
innerHeight
-
(
window
.
innerWidth
<
1200
?
280
:
26
0
)
this
.
tableHeight
=
window
.
innerHeight
-
(
window
.
innerWidth
<
1200
?
320
:
30
0
)
})
},
methods
:
{
...
...
Please
register
or
sign in
to post a comment