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
c42f2a87
Commit
c42f2a87
authored
Sep 01, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式
parent
1c2339fe
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
3 deletions
+39
-3
phone.scss
public/css/phone.scss
+26
-0
detail.vue
src/views/mobile/guess/detail.vue
+6
-1
list.vue
src/views/mobile/guess/list.vue
+7
-2
No files found.
public/css/phone.scss
View file @
c42f2a87
...
...
@@ -2970,6 +2970,32 @@ i, em {
width
:
66%
;
text-align
:
justify
;
}
>
span
:last-of-type
{
font-size
:
.24rem
;
color
:
#7A7A7A
;
span
{
color
:
#ff5d5d
;
}
}
}
.answerSelectionLength
{
font-size
:
.28rem
;
//display: flex;
//justify-content: space-between;
line-height
:
.48rem
;
>
span
:first-of-type
{
padding-right
:
.2rem
;
// width: 66%;
text-align
:
justify
;
}
p
{
text-align
:
right
;
font-size
:
.24rem
;
color
:
#7A7A7A
;
>
span
{
color
:
#ff5d5d
;
}
}
}
.progress
{
.el-progress-bar
{
...
...
src/views/mobile/guess/detail.vue
View file @
c42f2a87
...
...
@@ -42,11 +42,16 @@
<div
v-for=
"(answerItem,answerIndex) in detailInfo.guessOptionsList"
@
click=
"handleBetting(answerItem)"
:class=
"[detailInfo.guessState==3?'hasBgColor':'',detailInfo.guessState==3&&detailInfo.guessAnswerId==answerItem.id?'answerColor':'']"
>
<div
class=
"answerSelection"
>
<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"
>
{{
(
answerItem
.
optionsPercentage
?
answerItem
.
optionsPercentage
:
"0"
)
+
'%'
}}
{{
answerItem
.
optionOdds
}}
</span>
</div>
<div
class=
"answerSelectionLength"
v-else
>
<span>
{{
publicFun
.
getTextfInRichtext
(
answerIndex
)
}}
、
{{
answerItem
.
optionsContent
}}
</span>
<p
v-if=
"detailInfo.guessState==1"
>
当前赔率:
<span>
{{
answerItem
.
optionOdds
}}
</span>
倍
</p>
<p
v-if=
"detailInfo.guessState>1"
>
{{
(
answerItem
.
optionsPercentage
?
answerItem
.
optionsPercentage
:
"0"
)
+
'%'
}}
{{
answerItem
.
optionOdds
}}
</p>
</div>
<div
class=
"progress"
v-if=
"detailInfo.guessState>1"
>
<el-progress
:percentage=
"answerItem.optionsPercentage?answerItem.optionsPercentage:0"
:format=
"formatPercent"
></el-progress>
...
...
src/views/mobile/guess/list.vue
View file @
c42f2a87
...
...
@@ -43,11 +43,16 @@
</div>
<div
class=
"contentItem"
>
<div
v-for=
"(answerItem,answerIndex) in item.guessOptionsList"
@
click=
"handleBetting(item,answerItem)"
:class=
"[item.guessState==3?'hasBgColor':'',item.guessState==3&&item.guessAnswerId==answerItem.id?'answerColor':'']"
>
<div
class=
"answerSelection"
>
<div
class=
"answerSelection"
v-if=
"answerItem.optionsContent.length
<16
"
>
<span>
{{
answerItem
.
optionsCode
}}
、
{{
answerItem
.
optionsContent
}}
</span>
<span
v-if=
"item.guessState==1"
>
当前赔率:
{{
answerItem
.
optionOdds
}}
倍
</span>
<span
v-if=
"item.guessState==1"
>
当前赔率:
<span>
{{
answerItem
.
optionOdds
}}
</span>
倍
</span>
<span
v-if=
"item.guessState>1"
>
{{
(
answerItem
.
optionsPercentage
?
answerItem
.
optionsPercentage
:
"0"
)
+
'%'
}}
{{
answerItem
.
optionOdds
}}
</span>
</div>
<div
class=
"answerSelectionLength"
v-else
>
<span>
{{
answerItem
.
optionsCode
}}
、
{{
answerItem
.
optionsContent
}}
</span>
<p
v-if=
"item.guessState==1"
>
当前赔率:
<span>
{{
answerItem
.
optionOdds
}}
</span>
倍
</p>
<p
v-if=
"item.guessState>1"
>
{{
(
answerItem
.
optionsPercentage
?
answerItem
.
optionsPercentage
:
"0"
)
+
'%'
}}
{{
answerItem
.
optionOdds
}}
</p>
</div>
<div
class=
"progress"
v-if=
"item.guessState>1"
>
<el-progress
:percentage=
"answerItem.optionsPercentage?answerItem.optionsPercentage:0"
:format=
"formatPercent"
></el-progress>
</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