Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
marketing-web
marketing
Commits
b44a5390
Commit
b44a5390
authored
Jun 07, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
udpate: dist
parent
611276e7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
base-config.vue
src/views/game/cmh/base-config.vue
+4
-4
form.vue
src/views/game/cmh/form.vue
+2
-2
info.vue
src/views/game/cmh/info.vue
+1
-1
prize-config.vue
src/views/game/cmh/prize-config.vue
+3
-3
No files found.
src/views/game/cmh/base-config.vue
View file @
b44a5390
...
...
@@ -141,11 +141,11 @@ export default {
baseForm
:
{
gameName
:
''
,
gameTime
:
[],
gameRule
:
'1、幸运盲盒大抽奖,惊喜好礼抽不停。2、活动最终解释权归品牌方所有。'
,
gameRule
:
'1、幸运盲盒大抽奖,惊喜好礼抽不停。
\
n
2、活动最终解释权归品牌方所有。'
,
templateId
:
''
,
backMusicFlag
:
1
,
adsFlag
:
1
,
bulletFlag
:
1
,
backMusicFlag
:
0
,
adsFlag
:
0
,
bulletFlag
:
0
,
backMusicUrlObj
:
''
},
gameExt
:
{},
...
...
src/views/game/cmh/form.vue
View file @
b44a5390
...
...
@@ -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
(()
=>
{});
},
...
...
src/views/game/cmh/info.vue
View file @
b44a5390
...
...
@@ -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
>
...
...
src/views/game/cmh/prize-config.vue
View file @
b44a5390
...
...
@@ -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
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment