diff --git a/src/views/commodity/vipcard/components/AddOrEdit.vue b/src/views/commodity/vipcard/components/AddOrEdit.vue
index 55489e4..dae115f 100644
--- a/src/views/commodity/vipcard/components/AddOrEdit.vue
+++ b/src/views/commodity/vipcard/components/AddOrEdit.vue
@@ -54,7 +54,7 @@
-
+
@@ -69,12 +69,12 @@
@@ -112,15 +112,13 @@
placeholder="限时卡第一部分的卡ID"
v-model.number="dialogForm.firstPartCardId"
clearable
- @clear="onRemove('firstPartCardId')"
- >
+ @clear="onRemove('firstPartCardId')">
+ style="width: 180px"/>
@@ -130,15 +128,13 @@
placeholder="限时卡第二部分ID"
v-model.number="dialogForm.secondPartCardId"
clearable
- @clear="onRemove('secondPartCardId')"
- >
+ @clear="onRemove('secondPartCardId')">
+ style="width: 180px"/>
@@ -165,7 +161,7 @@
-
+
@@ -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,
- isActivityCard: undefined, // 是否活动卡
- isCheckinCashback:undefined, // 是否签到返额
+ isJoinFirstExpandActivity: undefined,
+ isActivityCard: undefined, // 是否活动卡
+ isCheckinCashback: undefined, // 是否签到返额
activityEndAt: undefined // 活动到期时间
},
rules: {
diff --git a/src/views/commodity/vipcard/index.vue b/src/views/commodity/vipcard/index.vue
index e32959f..aea57e3 100644
--- a/src/views/commodity/vipcard/index.vue
+++ b/src/views/commodity/vipcard/index.vue
@@ -21,7 +21,12 @@
-
{{ scope.row.id }}
@@ -49,7 +54,8 @@
-
@@ -69,12 +75,12 @@
scope.row.isJoinFirstExpandActivity ? '是' : '否' }}
-
+
{{ scope.row.canUseCoin ? '允许' : '不允许' }}
@@ -133,7 +139,7 @@
{{ scope.row.activityEndAt }}
-
+
{{ scope.row.activityDesc }}
@@ -193,12 +199,20 @@
-
@@ -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 => {