Commit e6571a75 authored by spc's avatar spc

fixed

parent b47bbaae
......@@ -9,10 +9,11 @@
<!-- 结果标题和图标 -->
<view class="result-header">
<text class="result-title">{{ isCorrect ? '你太棒了,回答正确!' : '快来补课吧,回答错误哦!' }}</text>
<text class="result-title">{{ isCorrect ? '你太棒了,回答正确!' : '快来补课吧回答错误哦!' }}</text>
<view class="result-icon">
<image v-if="isCorrect" :src="`${$baseUrl}homepage/Q3Res/eat_goodIcon.png`" mode="aspectFit"></image>
<image v-else :src="`${$baseUrl}homepage/Q3Res/eat_cryIcon.png`" mode="aspectFit"></image>
<image class="correct" v-if="isCorrect" :src="`${$baseUrl}homepage/Q3Res/eat_goodIcon.png`"
mode="aspectFit"></image>
<image class="incorrect" v-else :src="`${$baseUrl}homepage/Q3Res/eat_cryIcon.png`" mode="aspectFit"></image>
</view>
</view>
......@@ -191,9 +192,9 @@ export default {
<style scoped>
.answer-popup-container {
width: 750rpx;
height: 986rpx;
position: relative;
margin: 0 auto;
bottom: 0rpx;
overflow: visible;
}
......@@ -244,7 +245,20 @@ export default {
line-height: 1.4;
}
.result-icon {
.result-icon .correct {
width: 164rpx;
height: 164rpx;
display: flex;
align-items: center;
justify-content: center;
position: relative;
top: -20rpx;
left: -170rpx;
}
.result-icon .incorrect {
width: 164rpx;
height: 164rpx;
display: flex;
......@@ -252,7 +266,7 @@ export default {
justify-content: center;
position: relative;
top: 0rpx;
left: -140rpx;
left: -120rpx;
}
.result-icon image {
......@@ -356,7 +370,7 @@ export default {
.analysis-section {
background: #FFFFFF;
height: 446rpx;
max-height: 446rpx;
padding: 40rpx;
border-radius: 36rpx;
margin-bottom: 40rpx;
......
......@@ -31,7 +31,7 @@
<text class="product-name">{{ order.productName }}</text>
<text class="product-points">{{ order.points }}{{ order.creditsTypeName }}</text>
</view>
<text class="product-description">{{ order.description }}</text>
<!-- <text class="product-description">{{ order.description }}</text> -->
<!-- 卡券有效期 -->
<text v-if="order.productType === 'coupon' && order.validUntil" class="validity-period">
......@@ -548,6 +548,7 @@ export default {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.product-name-row {
......@@ -558,11 +559,15 @@ export default {
}
.product-name {
width: 350rpx;
font-size: 30rpx;
color: #333333;
font-weight: 600;
flex: 1;
margin-right: 20rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.product-points {
......
......@@ -106,7 +106,7 @@
<!-- 完成任务模块 -->
<view class="task-module"
v-if="!cfgStatus.isRegister || (babyInfo?.allBabyBaseInfo && babyInfo.allBabyBaseInfo.length > 0)">
v-if="cfgStatus.isRegister && (babyInfo?.allBabyBaseInfo && babyInfo.allBabyBaseInfo.length > 0)">
<image class="task-guide-bg" :src="$baseUrl + 'homepage/Q3Res/my_taskGuideBg.png'"></image>
<image class="task-do-btn" :src="$baseUrl + 'homepage/Q3Res/my_taskDoBtn.png'" @tap="handleTaskClick"></image>
</view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment