Commit e6571a75 authored by spc's avatar spc

fixed

parent b47bbaae
...@@ -9,10 +9,11 @@ ...@@ -9,10 +9,11 @@
<!-- 结果标题和图标 --> <!-- 结果标题和图标 -->
<view class="result-header"> <view class="result-header">
<text class="result-title">{{ isCorrect ? '你太棒了,回答正确!' : '快来补课吧,回答错误哦!' }}</text> <text class="result-title">{{ isCorrect ? '你太棒了,回答正确!' : '快来补课吧回答错误哦!' }}</text>
<view class="result-icon"> <view class="result-icon">
<image v-if="isCorrect" :src="`${$baseUrl}homepage/Q3Res/eat_goodIcon.png`" mode="aspectFit"></image> <image class="correct" v-if="isCorrect" :src="`${$baseUrl}homepage/Q3Res/eat_goodIcon.png`"
<image v-else :src="`${$baseUrl}homepage/Q3Res/eat_cryIcon.png`" mode="aspectFit"></image> mode="aspectFit"></image>
<image class="incorrect" v-else :src="`${$baseUrl}homepage/Q3Res/eat_cryIcon.png`" mode="aspectFit"></image>
</view> </view>
</view> </view>
...@@ -164,9 +165,9 @@ export default { ...@@ -164,9 +165,9 @@ export default {
// 添加曝光埋点 // 添加曝光埋点
this.$nextTick(() => { this.$nextTick(() => {
md.sensorPopLogTake({ md.sensorPopLogTake({
xcxPopExposure: "true", xcxPopExposure: "true",
toolName: "能不能吃", toolName: "能不能吃",
popName: "解析弹窗" popName: "解析弹窗"
}); });
}); });
}, },
...@@ -191,9 +192,9 @@ export default { ...@@ -191,9 +192,9 @@ export default {
<style scoped> <style scoped>
.answer-popup-container { .answer-popup-container {
width: 750rpx; width: 750rpx;
height: 986rpx;
position: relative; position: relative;
margin: 0 auto; margin: 0 auto;
bottom: 0rpx;
overflow: visible; overflow: visible;
} }
...@@ -244,7 +245,20 @@ export default { ...@@ -244,7 +245,20 @@ export default {
line-height: 1.4; 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; width: 164rpx;
height: 164rpx; height: 164rpx;
display: flex; display: flex;
...@@ -252,7 +266,7 @@ export default { ...@@ -252,7 +266,7 @@ export default {
justify-content: center; justify-content: center;
position: relative; position: relative;
top: 0rpx; top: 0rpx;
left: -140rpx; left: -120rpx;
} }
.result-icon image { .result-icon image {
...@@ -356,7 +370,7 @@ export default { ...@@ -356,7 +370,7 @@ export default {
.analysis-section { .analysis-section {
background: #FFFFFF; background: #FFFFFF;
height: 446rpx; max-height: 446rpx;
padding: 40rpx; padding: 40rpx;
border-radius: 36rpx; border-radius: 36rpx;
margin-bottom: 40rpx; margin-bottom: 40rpx;
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<text class="product-name">{{ order.productName }}</text> <text class="product-name">{{ order.productName }}</text>
<text class="product-points">{{ order.points }}{{ order.creditsTypeName }}</text> <text class="product-points">{{ order.points }}{{ order.creditsTypeName }}</text>
</view> </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"> <text v-if="order.productType === 'coupon' && order.validUntil" class="validity-period">
...@@ -115,8 +115,8 @@ export default { ...@@ -115,8 +115,8 @@ export default {
// 遍历订单列表,为显示"查看详情"按钮的订单添加曝光埋点 // 遍历订单列表,为显示"查看详情"按钮的订单添加曝光埋点
this.orderList.forEach((order) => { this.orderList.forEach((order) => {
// 只有当订单状态不是 pending_payment、pending_use、pending_take 时才显示"查看详情"按钮 // 只有当订单状态不是 pending_payment、pending_use、pending_take 时才显示"查看详情"按钮
if (order.status !== 'pending_payment' && if (order.status !== 'pending_payment' &&
order.status !== 'pending_use' && order.status !== 'pending_use' &&
order.status !== 'pending_take') { order.status !== 'pending_take') {
md.sensorComponentLogTake({ md.sensorComponentLogTake({
xcxComponentExposure: "true", xcxComponentExposure: "true",
...@@ -548,6 +548,7 @@ export default { ...@@ -548,6 +548,7 @@ export default {
flex: 1; flex: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between;
} }
.product-name-row { .product-name-row {
...@@ -558,11 +559,15 @@ export default { ...@@ -558,11 +559,15 @@ export default {
} }
.product-name { .product-name {
width: 350rpx;
font-size: 30rpx; font-size: 30rpx;
color: #333333; color: #333333;
font-weight: 600; font-weight: 600;
flex: 1; flex: 1;
margin-right: 20rpx; margin-right: 20rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} }
.product-points { .product-points {
......
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
<!-- 完成任务模块 --> <!-- 完成任务模块 -->
<view class="task-module" <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-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> <image class="task-do-btn" :src="$baseUrl + 'homepage/Q3Res/my_taskDoBtn.png'" @tap="handleTaskClick"></image>
</view> </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