|
|
|
@ -42,7 +42,7 @@ |
|
|
|
</view> |
|
|
|
<view v-for="(item, itemIndex) in page" :key="itemIndex" class="text-content"> |
|
|
|
<image class="card-image" v-if="item && item.type === 'image'" :src="item.imageUrl" |
|
|
|
mode="aspectFill"></image> |
|
|
|
mode="widthFix"></image> |
|
|
|
<!-- <view :class="['english-text-container', 'clickable-text', { 'lead-text': isCardTextHighlighted(page, itemIndex) }]" v-else-if="item && item.type === 'text' && item.language === 'en' && item.content" @click.stop="handleTextClick(item.content, item, index)" > |
|
|
|
<text |
|
|
|
v-for="(token, tokenIndex) in splitEnglishSentence(item.content)" |
|
|
|
@ -1912,7 +1912,7 @@ export default { |
|
|
|
.content-image { |
|
|
|
width: 100%; |
|
|
|
height: auto; |
|
|
|
max-width: 600rpx; |
|
|
|
//max-width: 600rpx; |
|
|
|
/* 限制最大宽度,避免在大屏设备上过大 */ |
|
|
|
display: block; |
|
|
|
border-radius: 12rpx; |
|
|
|
@ -1921,9 +1921,9 @@ export default { |
|
|
|
/* 添加阴影,增强层次感 */ |
|
|
|
|
|
|
|
/* 平板设备适配 */ |
|
|
|
@media screen and (min-width: 768px) { |
|
|
|
max-width: 500rpx; |
|
|
|
} |
|
|
|
// @media screen and (min-width: 768px) { |
|
|
|
// max-width: 500rpx; |
|
|
|
// } |
|
|
|
} |
|
|
|
|
|
|
|
.video-content { |
|
|
|
@ -1935,6 +1935,7 @@ export default { |
|
|
|
.video-player { |
|
|
|
// height: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 60vw; |
|
|
|
// margin: 0 auto; |
|
|
|
// height: auto; |
|
|
|
} |
|
|
|
@ -1989,7 +1990,8 @@ export default { |
|
|
|
} |
|
|
|
|
|
|
|
.card-image { |
|
|
|
width: 590rpx; |
|
|
|
// width: 590rpx; |
|
|
|
width: 100%; |
|
|
|
height: 268rpx; |
|
|
|
border-radius: 24rpx; |
|
|
|
margin: 30rpx auto; |
|
|
|
|