Commit b44a5390 by crushh

udpate: dist

parent 611276e7
......@@ -141,11 +141,11 @@ export default {
baseForm: {
gameName: '',
gameTime: [],
gameRule: '1、幸运盲盒大抽奖,惊喜好礼抽不停。2、活动最终解释权归品牌方所有。',
gameRule: '1、幸运盲盒大抽奖,惊喜好礼抽不停。\n2、活动最终解释权归品牌方所有。',
templateId: '',
backMusicFlag: 1,
adsFlag: 1,
bulletFlag: 1,
backMusicFlag: 0,
adsFlag: 0,
bulletFlag: 0,
backMusicUrlObj: ''
},
gameExt: {},
......
......@@ -43,7 +43,7 @@
</div>
<links :show.sync="linkShow" :obj="linksObj" gameTypeName="幸运盲盒" :isNew="true" :showFooter="true" :showClose="false">
<el-button @click="editRenew">重新编辑</el-button>
<el-button type="primary" @click="$router.push('/game/cmh')">进入游戏列表</el-button>
<el-button type="primary" @click="$router.go(-1)">进入游戏列表</el-button>
</links>
</div>
</template>
......@@ -235,7 +235,7 @@ export default {
type: 'warning'
})
.then(() => {
this.$router.push('/game/cmh');
this.$router.go(-1);
})
.catch(() => {});
},
......
......@@ -150,7 +150,7 @@
<p>邀请机制: 每成功邀请{{ item.conditionJson.inviteNum }}人可获得{{ item.conditionJson.value }} 次游戏</p>
<p>成功邀请条件:{{ item.conditionJson.type == 11 ? '注册新会员' : '首次关注服务号' }}</p>
<div v-show="item.conditionJson.type == 11" class="shareApp">
<div class="shareApp">
<div class="shareTitle">邀请分享样式</div>
<p>小程序卡片标题: {{ item.conditionJson.shareTitle }}</p>
<p class="flex">小程序卡片图片: <img :src="item.conditionJson.shareCard" alt="游戏背景" style="width: 100px;height: 75px;margin-left: 10px;" /></p>
......
......@@ -2,7 +2,7 @@
<el-form size="small" class="tableForm" :model="prizeForm" :rules="rules" ref="prizeForm" label-width="80px">
<dm-sub-title type="line" class="mb20">奖项配置</dm-sub-title>
<el-form-item label="总中奖率" prop="winChance">
<el-input class="w180" v-model.number="prizeForm.winChance" :disabled="isDisabled" @change="calculateRate">
<el-input class="w180" v-model.number="prizeForm.winChance" @change="calculateRate">
<template slot="append">%</template>
</el-input>
</el-form-item>
......@@ -52,7 +52,7 @@
<template slot-scope="{ row, $index }">
<div v-if="row.prizeType == 1 || row.prizeType == 2">
<el-form-item :prop="'gamePrizeList.' + $index + '.' + 'prizeName'" :rules="rules.prizeName" label-width="0">
<el-input v-model="row.prizeName" maxlength="10" />
<el-input v-model="row.prizeName" maxlength="10" :disabled="isDisabled && row.isOld" />
</el-form-item>
</div>
<el-form-item label-width="0" v-else>
......@@ -72,7 +72,7 @@
<template slot-scope="{ row, $index }">
<div v-if="row.prizeType == 1 || row.prizeType == 2" style="width:60px;height:62px">
<el-form-item :prop="'gamePrizeList.' + $index + '.' + 'prizeImageUrl'" :rules="rules.prizeImageUrl" label-width="0">
<dm-upload-avatar class="upload-avatar" width="60" height="60" :limit="{ type: false, maxSize: 1 }" fileType="img" :model.sync="row.prizeImageUrl" tips="" :unused="row.isInfo"></dm-upload-avatar>
<dm-upload-avatar class="upload-avatar" width="60" height="60" :limit="{ type: false, maxSize: 1 }" fileType="img" :model.sync="row.prizeImageUrl" tips="" :unused="isDisabled && row.isOld ? true : false"></dm-upload-avatar>
</el-form-item>
</div>
<el-form-item label-width="0" v-else>
......
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