Commit 96fe0e52 authored by liwenhong's avatar liwenhong

add:活动管理适配h5端

parent dfafbc36
......@@ -29,11 +29,11 @@
></el-option>
</el-select>
</el-form-item>
<el-form-item style="margin-left: 50px">
<el-button type="primary" @click="getActivityList">搜索</el-button>
<el-form-item>
<el-button type="primary" size="small" @click="getActivityList">搜索</el-button>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="goReleaseProduc"
<el-button type="primary" size="small" @click="goReleaseProduc"
>发布拼单</el-button
>
</el-form-item>
......@@ -88,13 +88,13 @@
align="center"
prop="scope"
label="操作"
width="250"
fixed="right"
>
<template #default="scope">
<div class="button-one">
<el-button
type="primary"
size="small"
size="mini"
@click="handleModify(scope.row)"
>修改</el-button
>
......@@ -106,7 +106,7 @@
<el-button
v-show="scope.row.status === 1"
type="primary"
size="small"
size="mini"
@click="handleEnd(scope.row)"
>结束</el-button
>
......@@ -122,7 +122,7 @@
scope.row.status === 2 || scope.row.status === 3
"
type="primary"
size="small"
size="mini"
@click="handleStart(scope.row)"
>开始</el-button
>
......@@ -133,7 +133,7 @@
<el-button
class="checkButton"
type="primary"
size="small"
size="mini"
@click="handleLook(scope.row)"
>查看订单</el-button
>
......@@ -331,6 +331,7 @@ export default {
<style lang="less" scoped>
.manage-wrapper {
height: 100%;
padding: 30px;
}
.header {
height: 100%;
......
......@@ -36,7 +36,7 @@
<el-table-column prop="total_amount_sold" label="已售数量">
</el-table-column>
<el-table-column prop="inventory_rest" label="剩余库存"></el-table-column>
<el-table-column label="操作" width="120">
<el-table-column label="操作" fixed="right">
<template #default="scope">
<el-button
type="text"
......@@ -54,7 +54,7 @@
<el-dialog
:title="addCommodityTitle"
v-model="addCommodityPopup"
width="40%"
width="60%"
>
<el-form
:inline="true"
......@@ -166,7 +166,7 @@
<el-dialog
title="选择商品"
v-model="selCommodityPopup"
width="60%"
width="80%"
top="2%"
>
<div>
......@@ -212,7 +212,7 @@
prop="inventory_rest"
label="剩余库存"
></el-table-column>
<el-table-column label="操作" width="100">
<el-table-column label="操作" fixed="right">
<template #default="scope">
<el-button
@click="commodity('update', scope.row)"
......
......@@ -223,11 +223,9 @@ export default {
}
.stepsBtn {
display: flex;
margin: 20px auto;
justify-content: center;
}
.stepsBtn {
width: 64%;
text-align: center;
margin-top: 50px;
}
</style>
......@@ -3,7 +3,8 @@
height: 100%;
padding: 0 30px;
.header {
text-align: right;
display: flex;
justify-content: flex-end;
margin-bottom: 30px;
}
.dioFor {
......
......@@ -32,7 +32,7 @@
{{ scope.row.list.map((item) => item.deliverer_name).join("、") }}
</template>
</el-table-column>
<el-table-column prop="prop" label="操作" width="width" align="center">
<el-table-column label="操作" fixed="right">
<template #default="scope">
<el-button type="primary" @click="handleModify(scope.row)"
>修改</el-button
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment