Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
scrm-wx-merchant-game
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0e78a1fe
authored
Feb 24, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
aad36907
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
src/components/KnowledgeSports/guessRiddle.vue
src/mixins/fill.js
src/components/KnowledgeSports/guessRiddle.vue
View file @
0e78a1f
<!--
<!--
* @Author: 前端 qianduan01@didihu.com.cn
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2023-01-31 15:41:18
* @Date: 2023-01-31 15:41:18
* @LastEditors:
前端 qianduan01
@didihu.com.cn
* @LastEditors:
yangming yangming
@didihu.com.cn
* @LastEditTime: 2023-02-
16 16:06:46
* @LastEditTime: 2023-02-
23 13:56:05
* @FilePath: \h5Demo\src\components\KnowledgeSports\guessRiddle.vue
* @FilePath: \h5Demo\src\components\KnowledgeSports\guessRiddle.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
-->
...
@@ -74,6 +74,9 @@ export default {
...
@@ -74,6 +74,9 @@ export default {
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
/
deep
/
.slot
{
/
deep
/
.slot
{
width
:
100%
;
width
:
100%
;
.next-btn
{
margin
:
10vh
auto
0px
;
}
&
-question
{
&
-question
{
width
:
304px
;
width
:
304px
;
margin
:
0
auto
;
margin
:
0
auto
;
...
...
src/mixins/fill.js
View file @
0e78a1f
...
@@ -119,14 +119,20 @@ export default {
...
@@ -119,14 +119,20 @@ export default {
i
++
;
i
++
;
}
}
}
}
if
(
this
.
selectResult
[
this
.
isSelectSeat
])
{
this
.
cursorEven
(
this
.
isSelectSeat
,
true
);
}
// 填入答案
// 填入答案
if
(
!
this
.
answerOption
[
index
].
isSelect
)
{
if
(
!
this
.
answerOption
[
index
].
isSelect
)
{
this
.
answerOption
[
index
].
isSelect
=
true
;
this
.
answerOption
[
index
].
isSelect
=
true
;
this
.
selectResult
[
this
.
isSelectSeat
]
=
item
.
val
;
this
.
selectResult
[
this
.
isSelectSeat
]
=
item
.
val
;
}
}
if
(
this
.
selectResult
.
length
-
1
==
this
.
isSelectSeat
)
{
// if (
this
.
cursorEven
(
this
.
isSelectSeat
,
true
);
// this.selectResult.length ==
}
// this.selectResult.filter((item) => item).length
// ) {
// this.cursorEven(this.isSelectSeat, true);
// }
// 判断光标位置
// 判断光标位置
if
(
this
.
isSelectSeat
<=
answerLength
--
)
{
if
(
this
.
isSelectSeat
<=
answerLength
--
)
{
this
.
selectResult
.
some
((
v
,
idx
)
=>
{
this
.
selectResult
.
some
((
v
,
idx
)
=>
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment