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
2cfa7f67
Commit
2cfa7f67
authored
May 25, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 编辑时不可修改的表单
parent
3cb6cf26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
rule-config.vue
src/views/game/cmh/rule-config.vue
+4
-4
No files found.
src/views/game/cmh/rule-config.vue
View file @
2cfa7f67
...
...
@@ -33,13 +33,13 @@
<div
class=
"shareBox"
v-show=
"ruleForm.playConditionFlag == 1"
>
<div
v-for=
"(item, index) in ruleForm.gameRuleConditionList"
:key=
"item.conditionType"
>
<div
v-show=
"index == 0"
>
<div
class=
"flex mb10"
><el-checkbox
v-model=
"item.conditionType"
:true-label=
"2"
:false-label=
"-1"
/>
<span
class=
"ml10"
>
赠与免费游戏次数
</span></div>
<div
class=
"flex mb10"
><el-checkbox
v-model=
"item.conditionType"
:true-label=
"2"
:false-label=
"-1"
:disabled=
"isDisabled"
/>
<span
class=
"ml10"
>
赠与免费游戏次数
</span></div>
<el-form-item
:prop=
"'gameRuleConditionList.' + index + '.' + 'value'"
v-show=
"item.conditionType == 2"
>
<el-select
class=
"w140"
v-model=
"item.conditionJson.type"
>
<el-select
class=
"w140"
v-model=
"item.conditionJson.type"
:disabled=
"isDisabled"
>
<el-option
:value=
"21"
label=
"总赠送"
></el-option>
<el-option
:value=
"22"
label=
"每日赠送"
></el-option>
</el-select>
<el-input-number
class=
"w140"
placeholder=
"请输入次数"
v-model=
"item.conditionJson.value"
:min=
"1"
controls-position=
"right"
/>
<el-input-number
class=
"w140"
:disabled=
"isDisabled"
placeholder=
"请输入次数"
v-model=
"item.conditionJson.value"
:min=
"1"
controls-position=
"right"
/>
<span
class=
"ml10"
>
次游戏次数
</span>
</el-form-item>
</div>
...
...
@@ -108,7 +108,7 @@
</div>
</div>
</el-form-item>
<el-form-item
label=
"每人最多可玩次数"
prop=
"playTimes"
>
<el-input
v-model=
"ruleForm.playTimes"
class=
"w140"
placeholder=
"上限1000"
/>
次游戏次数
</el-form-item>
<el-form-item
label=
"每人最多可玩次数"
prop=
"playTimes"
>
<el-input
v-model=
"ruleForm.playTimes"
class=
"w140"
placeholder=
"上限1000"
:disabled=
"isDisabled"
/>
次游戏次数
</el-form-item>
<el-form-item
label=
"分享"
prop=
"shareFlag"
>
<el-switch
v-model=
"ruleForm.shareFlag"
:active-value=
"1"
:inactive-value=
"0"
/>
<div
class=
"tips"
>
关闭后用户无法分享小程序
</div>
...
...
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