会员卡隐藏是否动漫/漫画/小说视频免费
This commit is contained in:
@@ -112,15 +112,13 @@
|
||||
placeholder="限时卡第一部分的卡ID"
|
||||
v-model.number="dialogForm.firstPartCardId"
|
||||
clearable
|
||||
@clear="onRemove('firstPartCardId')"
|
||||
>
|
||||
@clear="onRemove('firstPartCardId')">
|
||||
<el-option
|
||||
:key="item.id"
|
||||
:label="item.name"
|
||||
:value="item.id"
|
||||
v-for="item in cardList"
|
||||
style="width: 180px"
|
||||
/>
|
||||
style="width: 180px"/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@@ -130,15 +128,13 @@
|
||||
placeholder="限时卡第二部分ID"
|
||||
v-model.number="dialogForm.secondPartCardId"
|
||||
clearable
|
||||
@clear="onRemove('secondPartCardId')"
|
||||
>
|
||||
@clear="onRemove('secondPartCardId')">
|
||||
<el-option
|
||||
:key="item.id"
|
||||
:label="item.name"
|
||||
:value="item.id"
|
||||
v-for="item in cardList"
|
||||
style="width: 180px"
|
||||
/>
|
||||
style="width: 180px"/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@@ -219,8 +215,7 @@
|
||||
active-text="是"
|
||||
inactive-text="否"
|
||||
active-color="#13ce66"
|
||||
inactive-color="#ff4949"
|
||||
>
|
||||
inactive-color="#ff4949">
|
||||
</el-switch>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@@ -247,11 +242,11 @@
|
||||
<el-switch v-model="dialogForm.isNewUserCard" active-color="#13ce66" inactive-color="#ff4949"> </el-switch>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<!-- <el-col :span="12">
|
||||
<el-form-item label="是否动漫/漫画/小说视频免费" label-width="200px" prop="isCartoonMediaFree">
|
||||
<el-switch v-model="dialogForm.isCartoonMediaFree" active-color="#13ce66" inactive-color="#ff4949"> </el-switch>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-col> -->
|
||||
<el-col :span="12">
|
||||
<el-form-item label="是否追踪售卖" label-width="200px" prop="isTrack">
|
||||
<el-switch v-model="dialogForm.isTrack" active-color="#13ce66"> </el-switch>
|
||||
@@ -300,7 +295,7 @@ import { vipTypeList } from '@/filters/user/userList'
|
||||
import UploadImg from '@/components/UploadImg/index'
|
||||
export default {
|
||||
name: 'AddOrEdit',
|
||||
props: ['data', 'cardType','vipGradeList'],
|
||||
props: ['data', 'cardType', 'vipGradeList'],
|
||||
components: {
|
||||
UploadImg
|
||||
},
|
||||
@@ -331,7 +326,7 @@ export default {
|
||||
rigtTitle: undefined, // 权益标题
|
||||
sort: undefined, // 0,排序
|
||||
status: 1, // 0,状态
|
||||
activityDesc:undefined, // 活动倒计时文案
|
||||
activityDesc: undefined, // 活动倒计时文案
|
||||
title: undefined, // "string",标题
|
||||
vipType: undefined, // 0会员卡所属等级
|
||||
giftCoin: undefined,
|
||||
@@ -352,9 +347,9 @@ export default {
|
||||
isNewUserCard: undefined, // 是否新人24小时卡
|
||||
aiFreeRemoveClothCount: undefined,
|
||||
aiFreeChangeFaceCount: undefined,
|
||||
isJoinFirstExpandActivity:undefined,
|
||||
isJoinFirstExpandActivity: undefined,
|
||||
isActivityCard: undefined, // 是否活动卡
|
||||
isCheckinCashback:undefined, // 是否签到返额
|
||||
isCheckinCashback: undefined, // 是否签到返额
|
||||
activityEndAt: undefined // 活动到期时间
|
||||
},
|
||||
rules: {
|
||||
|
||||
@@ -21,7 +21,12 @@
|
||||
<el-row>
|
||||
<el-col>
|
||||
<!-- 展示列表 -->
|
||||
<el-table :data="tableData" border height="750" highlight-current-row style="width: 100%"
|
||||
<el-table
|
||||
:data="tableData"
|
||||
border
|
||||
height="750"
|
||||
highlight-current-row
|
||||
style="width: 100%"
|
||||
:row-style="{ height: '70px' }">
|
||||
<el-table-column align="center" label="id" width="80">
|
||||
<template slot-scope="scope">{{ scope.row.id }}</template>
|
||||
@@ -49,7 +54,8 @@
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="会员头像框">
|
||||
<template slot-scope="scope">
|
||||
<ShowImg style="width: 40px; height: 40px; margin: 0 auto; line-height: 40px"
|
||||
<ShowImg
|
||||
style="width: 40px; height: 40px; margin: 0 auto; line-height: 40px"
|
||||
:urls="scope.row.avatarFrame"></ShowImg>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -69,12 +75,12 @@
|
||||
scope.row.isJoinFirstExpandActivity ? '是' : '否' }}</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="是否动漫/漫画/小说视频免费" width="100">
|
||||
<!-- <el-table-column align="center" label="是否动漫/漫画/小说视频免费" width="100">
|
||||
<template slot-scope="scope">
|
||||
<el-button :type="scope.row.isCartoonMediaFree ? 'success' : 'danger'" plain size="mini">{{
|
||||
scope.row.isCartoonMediaFree ? '免费' : '收费' }}</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table-column> -->
|
||||
<el-table-column align="center" label="是否允许金币购买" width="100">
|
||||
<template slot-scope="scope">{{ scope.row.canUseCoin ? '允许' : '不允许' }}</template>
|
||||
</el-table-column>
|
||||
@@ -193,12 +199,20 @@
|
||||
</el-row>
|
||||
<!-- 分页 -->
|
||||
<div class="table-pagination">
|
||||
<el-pagination :current-page="searchData.pageNum" :page-sizes="[10, 20, 30, 50, 100]" :total="total"
|
||||
@current-change="handleCurrentChange" @size-change="handleSizeChange"
|
||||
<el-pagination
|
||||
:current-page="searchData.pageNum"
|
||||
:page-sizes="[10, 20, 30, 50, 100]"
|
||||
:total="total"
|
||||
@current-change="handleCurrentChange"
|
||||
@size-change="handleSizeChange"
|
||||
layout="total, sizes, prev, pager, next, jumper" />
|
||||
</div>
|
||||
<!-- 新增/编辑弹出框 -->
|
||||
<Edit :cardType="cardType" :vipGradeList="vipGradeList" :data="editData" v-if="dialogFormVisible"
|
||||
<Edit
|
||||
:cardType="cardType"
|
||||
:vipGradeList="vipGradeList"
|
||||
:data="editData"
|
||||
v-if="dialogFormVisible"
|
||||
@close="closeEdit">
|
||||
</Edit>
|
||||
</div>
|
||||
@@ -226,9 +240,9 @@ export default {
|
||||
id: 1, name: '暗网会员卡'
|
||||
}, {
|
||||
id: 2, name: '全网通会员卡'
|
||||
},{
|
||||
}, {
|
||||
id: 3, name: '直播卡'
|
||||
},
|
||||
}
|
||||
],
|
||||
vipGradeList: [{ id: 0, name: '普通VIP' }, { id: 1, name: '至尊VIP' }],
|
||||
vipCardStatus: vipCardStatus(),
|
||||
@@ -285,8 +299,6 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
|
||||
// TODO:请求会员礼包列表数据
|
||||
getGiftbagList() {
|
||||
giftbagList({ pageNum: 1, pageSize: 100 }).then(res => {
|
||||
|
||||
Reference in New Issue
Block a user