|
|
@@ -63,6 +63,11 @@
|
|
|
>
|
|
|
<span slot="right-icon">元</span>
|
|
|
</van-field>
|
|
|
+ <div v-if="switchs" @click="navigateTo('/pages/addBlessing')">
|
|
|
+ <van-field label="福袋管理" is-link type="digit">
|
|
|
+ <span slot="right-icon">去添加</span>
|
|
|
+ </van-field>
|
|
|
+ </div>
|
|
|
</van-cell-group>
|
|
|
<div class="box-con">
|
|
|
<div class="box-top">
|
|
|
@@ -117,6 +122,7 @@
|
|
|
</div>
|
|
|
</div> -->
|
|
|
</div>
|
|
|
+
|
|
|
<div class="box" v-else>
|
|
|
<div class="top2">
|
|
|
<span>已售/总数</span>
|
|
|
@@ -149,6 +155,7 @@
|
|
|
</div>
|
|
|
</div> -->
|
|
|
</div>
|
|
|
+
|
|
|
<div class="label">卡牌详情描述</div>
|
|
|
<van-field
|
|
|
:value="form.description"
|
|
|
@@ -160,6 +167,7 @@
|
|
|
placeholder="多多介绍您的卡牌信息,更受欢迎哦"
|
|
|
/>
|
|
|
</div>
|
|
|
+
|
|
|
<div class="btn-list">
|
|
|
<div @click="submit">确认上架</div>
|
|
|
</div>
|
|
|
@@ -228,6 +236,7 @@ export default {
|
|
|
time: 0,
|
|
|
times: 1,
|
|
|
typeOptions: [
|
|
|
+ { id: 4, name: '福袋模式' },
|
|
|
{ id: 0, name: '组队模板(24队每队6人)', group: 24, groupCount: 6, special: false },
|
|
|
{ id: 1, name: '端盒模板(AB组24对)', group: 2, groupCount: 24, special: true },
|
|
|
{ id: 2, name: '端盒模板(单组24盒)', group: 1, groupCount: 24, special: false },
|
|
|
@@ -429,8 +438,12 @@ export default {
|
|
|
let cardBos = [...this.typeOptions].find(item => {
|
|
|
return item.id == this.time;
|
|
|
});
|
|
|
- this.initApi(cardBos);
|
|
|
- this.switchs = true;
|
|
|
+ if (this.time != 4) {
|
|
|
+ this.initApi(cardBos);
|
|
|
+ }
|
|
|
+ if (this.time == 4) {
|
|
|
+ this.switchs = true;
|
|
|
+ }
|
|
|
},
|
|
|
initApi(params) {
|
|
|
this.showLoading();
|