Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
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
front-end-dev
techbook
Commits
3ec68ff2
Commit
3ec68ff2
authored
Sep 01, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式
parent
e3bb36fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
detail.vue
src/views/mobile/guess/detail.vue
+5
-3
list.vue
src/views/mobile/guess/list.vue
+4
-2
No files found.
src/views/mobile/guess/detail.vue
View file @
3ec68ff2
...
...
@@ -44,7 +44,7 @@
:class=
"[detailInfo.guessState==3?'hasBgColor':'',detailInfo.guessState==3&&detailInfo.guessAnswerId==answerItem.id?'answerColor':'']"
>
<div
class=
"answerSelection"
v-if=
"answerItem.optionsContent.length
<16
"
>
<span>
{{
publicFun
.
getTextfInRichtext
(
answerIndex
)
}}
、
{{
answerItem
.
optionsContent
}}
</span>
<span
v-if=
"detailInfo.guessState==1"
>
当前赔率:
{{
answerItem
.
optionOdds
}}
倍
</span>
<span
v-if=
"detailInfo.guessState==1"
>
当前赔率:
<span>
{{
answerItem
.
optionOdds
}}
</span>
倍
</span>
<span
v-if=
"detailInfo.guessState>1"
>
{{
(
answerItem
.
optionsPercentage
?
answerItem
.
optionsPercentage
:
"0"
)
+
'%'
}}
{{
answerItem
.
optionOdds
}}
</span>
</div>
<div
class=
"answerSelectionLength"
v-else
>
...
...
@@ -202,8 +202,10 @@
if
(
this
.
userInfo
){
commonApi
.
hasTaskIntegralAxios
(
data
).
then
((
res
)
=>
{
if
(
res
.
code
==
0
){
this
.
getIntegralVisible
=
true
;
this
.
integral
=
res
.
result
;
if
(
res
.
result
>
0
){
this
.
integral
=
res
.
result
;
this
.
getIntegralVisible
=
true
;
}
}
else
{
this
.
$toast
(
res
.
msg
);
}
...
...
src/views/mobile/guess/list.vue
View file @
3ec68ff2
...
...
@@ -258,8 +258,10 @@
if
(
this
.
userInfo
){
commonApi
.
hasTaskIntegralAxios
(
data
).
then
((
res
)
=>
{
if
(
res
.
code
==
0
){
this
.
getIntegralVisible
=
true
;
this
.
integral
=
res
.
result
;
if
(
res
.
result
>
0
){
this
.
integral
=
res
.
result
;
this
.
getIntegralVisible
=
true
;
}
}
else
{
this
.
$toast
(
res
.
msg
);
}
...
...
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