JLBA202505130001_关于吉林银行新建AI智能培训系统的需求_0120开发完成

This commit is contained in:
田岩
2026-01-09 17:32:32 +08:00
parent 8d89b52042
commit e8ef127f92
11 changed files with 167 additions and 132 deletions
+7 -4
View File
@@ -1,5 +1,5 @@
<template>
<view class="item">
<view class="item" :class="{'no-touch':qnsTyp === 'ES' && !isDisabled}">
<view class="top">
<view class="type">{{ subject_type_text }}</view>
<view class="score" v-if="['settlement', 'examination', 'pk_in'].includes(props.mode)">
@@ -190,7 +190,9 @@
const wrapperRef = ref(null);
const contentRef = ref(null);
const judgeResultStatus = computed(() => props.item.judgeResult === 'P');
const isDisabled = computed(() => {
return props.item?.es_status !== '' && props.item?.es_status !== undefined;
});
// 不是错题本就默认不折叠,错题本默认折叠
const animationState = ref(props.mode !== 'mistake' ? true : false);
const animationHeight = ref(props.mode !== 'mistake' ? '' : '0px');
@@ -380,7 +382,6 @@
left: 0;
/* 初始状态非激活文本透明且轻微下移 */
opacity: 0;
// transform: translateY(15rpx);
/* 添加过渡动画 */
transition: all 0.2s ease-out;
/* 确保文本占据空间一致 */
@@ -490,7 +491,9 @@
display: flex;
flex-direction: column;
padding-bottom: 40rpx;
user-select: none !important; /* 禁用文本选择 */
-webkit-user-select: none !important; /* iOS兼容 */
-webkit-touch-callout: none !important; /* 禁用iOS长按菜单 */
.top {
display: flex;
align-items: center;
+51 -54
View File
@@ -32,26 +32,24 @@
:src="holidayInfo.backgroundOssAddr"
></image-preview>
</view>
<!-- 顶部的字随机还是大额 -->
<view class="festival-text-div">{{ holidayInfo.holidayDesc }}</view>
<!-- 顶部的字-->
<view class="festival-main-div">
<image
class="festival-main-img"
mode="widthFix"
src="@/static/images/pointsAndRank/festival-main.png"
src="@/static/images/pointsAndRank/gift.png"
></image>
<view class="festival-text-div">{{ holidayInfo.holidayDesc }}</view>
<view class="festival-main-text">
<view class="festival-main-title">
{{ done.tipText }}
</view>
<view class="festival-main-number-div">
<text class="festival-main-number">
{{ score }}
</text>
<text class="festival-main-number-text">积分</text>
{{ score }}积分
</view>
</view>
</view>
<view class="festival-button-div" @click="startLottery()">{{ done.buttonText }}</view>
</view>
<view class="close-div" @click="close(false)"></view>
@@ -197,8 +195,8 @@
completeCallback = completeCb; // 关闭弹窗的回调
Object.assign(holidayInfo, holidayBody);
// if (!holidayInfo.rewardFlag || holidayInfo.obtainFlag) {
if (!holidayInfo.rewardFlag) {
if (!holidayInfo.rewardFlag || holidayInfo.obtainFlag) {
// if (!holidayInfo.rewardFlag) {
// 如果当前没有节日窗口,立刻返回回调函数
completeCallback({ status: false });
return;
@@ -238,68 +236,66 @@
// height: 56rpx;
// }
// }
.festival-text-div {
position: relative;
margin-left: 25rpx;
z-index: 60;
margin-top: 28rpx;
color: #ffffff;
font-style: normal;
font-weight: 600;
font-size: 58rpx;
color: #fffae8;
letter-spacing: 0.05em;
line-height: 77rpx;
text-shadow: 0px 4px 8px #d6061b;
text-align: left;
font-style: italic;
transform: skewX(2deg);
}
.festival-main-div {
// margin-top: 8rpx;
z-index: 20;
position: relative;
width: 530rpx;
height: 270rpx;
width: 444rpx;
height: 292rpx;
background: linear-gradient(0deg, #fce87e 0%, #fff298 38.9%, #ffffd4 100%);
box-shadow: 0px 4 8px 0px #e13520;
border-radius: 18rpx;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.5)) 2 2;
margin: 36rpx auto 0 auto;
.festival-main-img {
margin-left: 16rpx;
width: 530rpx;
width: 328rpx;
position: absolute;
left: 0;
top: 0;
right: -54rpx;
bottom: -80rpx;
}
.festival-main-text {
position: absolute;
left: 40rpx;
top: 50rpx;
left: 38rpx;
bottom: 10rpx;
width: 150rpx;
// background-color:red;
.festival-main-title {
font-weight: 600;
font-size: 34rpx;
color: #b24325;
line-height: 46rpx;
text-align: right;
font-weight: normal;
font-size: 30rpx;
color: #B24325;
line-height: 40rpx;
text-align: center;
}
.festival-main-number-div {
margin-top: 10rpx;
font-family: DINAlternate, DINAlternate;
color: #b24325;
line-height: 64rpx;
margin-top: 16rpx;
margin-bottom: 42rpx;
margin-right: 8rpx;
text-align: right;
white-space: nowrap;
.festival-main-number {
font-size: 64rpx;
font-weight: bold;
}
.festival-main-number-text {
font-size: 26rpx;
white-space: nowrap;
}
font-weight: 600;
font-size: 30rpx;
color: #B24325;
line-height: 25rpx;
text-align: center;
}
}
.festival-text-div {
z-index: 60;
width: 338rpx;
height: 136rpx;
padding-top: 0;
margin: 0 auto;
font-weight: 600;
font-size: 42rpx;
color: #B24325;
line-height: 62rpx;
text-align: center;
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: center;
}
}
.festival-button-div {
position: relative;
@@ -307,13 +303,14 @@
width: 360rpx;
height: 80rpx;
margin: 0 auto;
margin-top: 80rpx;
background-image: url('@/static/images/pointsAndRank/festival-button.png');
background-size: 100%;
background-repeat: no-repeat;
font-weight: 600;
text-align: center;
font-size: 32rpx;
color: #B24325;
color: #b24325;
line-height: 80rpx;
}