Commit 345a25e8 by 杨明

fixed

1 parent 0e78a1fe
......@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-01-31 15:41:18
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-02-22 16:02:00
* @LastEditTime: 2023-02-28 10:39:49
* @FilePath: \h5Demo\src\components\KnowledgeSports\guessPic.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%A
-->
......@@ -75,7 +75,7 @@ export default {
<style lang="less" scoped>
.question {
width: auto;
height: 15vh;
height: 16.5vh;
display: block;
margin: 10px auto;
object-fit: contain;
......
......@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-01-31 15:41:18
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-02-22 16:02:13
* @LastEditTime: 2023-02-28 10:41:17
* @FilePath: \h5Demo\src\components\KnowledgeSports\guessPic.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%A
-->
......@@ -75,7 +75,7 @@ export default {
<style lang="less" scoped>
.question {
width: auto;
height: 15vh;
height: 16.5vh;
display: block;
margin: 10px auto;
object-fit: contain;
......
......@@ -22,7 +22,10 @@
class="question-time"
:class="{ 'question-time-red': answerData.body.timeLimit < 6 }"
>
{{ answerData.body.timeLimit }}s
<div class="question-time-c">
<div class="inner_circle"></div>
{{ answerData.body.timeLimit }}s
</div>
</div>
<div class="popup-main">
<template>
......@@ -33,13 +36,13 @@
<div class="popup-end" v-if="isEnd && !isFinish">
<div class="popup-end-banner">
<img
src="https://img02.glsx.com.cn/weapp/resource/miniprogram/game/nprize.png"
src="https://img02.glsx.com.cn/weapp/resource/miniprogram/game/nprize.png?v=1.0"
/>
</div>
<div class="popup-end-btn">
<img
@click="againStart"
src="https://img02.glsx.com.cn/weapp/resource/miniprogram/game/again-btn.png"
src="https://img02.glsx.com.cn/weapp/resource/miniprogram/game/again-btn.png?v=1.0"
/>
</div>
</div>
......@@ -71,11 +74,11 @@
</div>
<div class="popup-success-btn">
<img
src="https://img02.glsx.com.cn/weapp/resource/miniprogram/game/card-package.png"
src="https://img02.glsx.com.cn/weapp/resource/miniprogram/game/card-package.png?v=1.0"
@click="jumpPackage"
/>
<img
src="https://img02.glsx.com.cn/weapp/resource/miniprogram/game/use-btn.png"
src="https://img02.glsx.com.cn/weapp/resource/miniprogram/game/use-btn.png?v=1.0"
@click="jumpDetail"
/>
</div>
......@@ -242,7 +245,7 @@ export default {
}
.prize-content {
position: absolute;
left: 68px;
left: 56px;
top: 170px;
.prize-title {
font-weight: 600;
......@@ -257,26 +260,25 @@ export default {
-webkit-line-clamp: 2;
}
.prize-time {
font-size: 9px;
font-size: 10px;
color: #eb5638;
}
}
.prize-price {
position: absolute;
right: 45px;
top: 155px;
right: 40px;
top: 160px;
width: 108px;
text-align: center;
.prize-num {
font-weight: 700;
font-size: 36px;
color: #8f1d1d;
color: #ff4757;
letter-spacing: 0;
line-height: 55px;
height: 55px;
line-height: 50px;
height: 50px;
span {
font-size: 16px;
color: #8f1d1d;
line-height: 24px;
}
}
......@@ -317,12 +319,44 @@ export default {
top: 45px;
width: 68px;
height: 68px;
line-height: 68px;
text-align: center;
border-radius: 50%;
background: #fffef5;
box-shadow: 0 2px 2px 0 rgba(235, 160, 103, 0.65),
inset 0 -3px 2px 0 #ffffff;
background: #ffffff;
z-index: 10;
.question-time-c {
position: relative;
background: #fffef5;
width: 50px;
height: 50px;
border-radius: 50%;
margin: 9px;
line-height: 50px;
text-align: center;
.inner_circle {
content: "";
position: absolute;
top: -4px;
bottom: -4px;
right: -4px;
left: -4px;
z-index: -1;
border-radius: inherit;
background-image: linear-gradient(
to right,
#2fcaff,
#d7fbab,
#fec215
);
}
}
// &::after {
// content: "";
// position: absolute;
// left: 153px;
// top: 45px;
// background-image: linear-gradient(to right, #2fcaff, #d7fbab, #fec215);
// }
&.question-time-red {
color: #e61e1c;
}
......@@ -343,7 +377,7 @@ export default {
border-radius: 8px;
text-align: center;
color: rgba(27, 35, 61, 1);
font-size: 16px;
font-size: 14px;
&-num {
color: #2155a3;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!