Commit 345a25e8 by 杨明

fixed

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