Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
op-web-service
Commits
aa629ec6
Commit
aa629ec6
authored
Jul 29, 2021
by
pengyunqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:管理列表
parent
4c5059a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
141 additions
and
6 deletions
+141
-6
index.less
src/pages/Activity/Manage/index.less
+5
-0
index.vue
src/pages/Activity/Manage/index.vue
+136
-6
No files found.
src/pages/Activity/Manage/index.less
0 → 100644
View file @
aa629ec6
.header {
width: 100%;
height: 100%;
padding: 0 30px;
}
\ No newline at end of file
src/pages/Activity/Manage/index.vue
View file @
aa629ec6
<
template
>
<
template
>
<div>
ssf
</div>
<div>
<el-card
class=
"header"
>
<el-form
ref=
"form"
:model=
"activity"
inline
label-width=
"80px"
>
<el-form-item
label=
"活动名称"
>
<el-input
v-model=
"activity.activityName"
></el-input>
</el-form-item>
<el-form-item
label=
"活动状态"
>
<el-select
v-model=
"value"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item
style=
"margin-left: 50px"
>
<el-button
type=
"primary"
>
搜索
</el-button>
</el-form-item>
<el-button
type=
"primary"
>
发布拼单
</el-button>
<!-- 列表 -->
<el-table
:data=
"data"
border
style=
"width: 100%"
>
<el-table-column
align=
"center"
prop=
"prop"
label=
"活动ID"
width=
"width"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"prop"
label=
"活动标题"
@
header-click=
"handleHeadline"
width=
"width"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"prop"
label=
"活动状态"
width=
"width"
>
<template
#
default=
"scope"
>
<span>
{{
scope
.
row
.
online_status
==
2
?
"进行中"
:
scope
.
row
.
online_status
==
1
?
"未开始"
:
"已结束"
}}
</span>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"prop"
label=
"订单数量"
width=
"width"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"prop"
label=
"已售商品数量"
width=
"width"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"prop"
label=
"支付金额"
width=
"width"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"prop"
label=
"优惠金额"
width=
"width"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"prop"
label=
"已退款金额"
width=
"width"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"prop"
label=
"实际收入"
width=
"width"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"prop"
label=
"操作"
width=
"width"
>
</el-table-column>
<
template
>
<el-button
type=
"primary"
>
修改
</el-button>
<el-button
type=
"primary"
>
结束
</el-button>
<el-button
type=
"primary"
>
开始
</el-button>
<el-button
type=
"primary"
>
查看订单
</el-button>
</
template
>
</el-table>
</el-form>
</el-card>
</div>
</template>
</template>
<
script
>
<
script
>
export
default
{
export
default
{
name
:
"Manage"
,
}
data
()
{
return
{
activity
:
{
activityName
:
""
,
},
options
:
[
{
value
:
'选项1'
,
label
:
"未开始"
,},
{
value
:
'选项2'
,
label
:
"进行中"
},
{
value
:
'选项3'
,
label
:
"已结束"
},
],
value
:
''
,
};
},
methods
:
{
// 点击活动标题
handleHeadline
()
{
}
}
};
</
script
>
</
script
>
<
style
lang=
"less"
scope
>
<
style
lang=
"less"
src=
"./index.less"
scope
></
style
>
\ No newline at end of file
</
style
>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment