feat: 一些调整
This commit is contained in:
@@ -50,7 +50,7 @@ const props = defineProps({
|
||||
|
||||
.main-image {
|
||||
width: 160px;
|
||||
height: 180px;
|
||||
height: 160px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
|
||||
@@ -168,8 +168,7 @@
|
||||
|
||||
<template v-else>
|
||||
<ChatCardOther class="flex flex-justify-center" :text="item.msg">
|
||||
<ChatGuide v-if="chatMsgList.length < 8" :hasMessage="chatMsgList.length > 1" />
|
||||
|
||||
<ChatGuide v-if="chatMsgList.length > 1" />
|
||||
<ActivityListComponent
|
||||
v-if="
|
||||
mainPageDataModel.activityList &&
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
</view>
|
||||
|
||||
<!-- 隐藏 -->
|
||||
<view class="flex-full h-full flex flex-items-center flex-justify-center">
|
||||
<view v-if="false" class="flex-full h-full flex flex-items-center flex-justify-center">
|
||||
<!-- ChatTopWelcome不在可视区:显示并添加动画;在可视区:隐藏 -->
|
||||
<SpriteAnimator v-show="show" class="image-animated" :src="spriteStyle.ipSmallImage"
|
||||
:frameWidth="spriteStyle.frameWidth" :frameHeight="spriteStyle.frameHeight"
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
@@ -13,7 +13,7 @@
|
||||
<view class="tab-content">
|
||||
<view class="tab-label">
|
||||
<text class="tab-text">{{ tab.label }}</text>
|
||||
<image v-if="modelValue === idx && indicatorSrc" :src="indicatorSrc" class="tab-indicator" mode="widthFix" />
|
||||
<image v-if="modelValue === idx && (isZhiNian ? indicatorSrcB : indicatorSrc)" :src="isZhiNian ? indicatorSrcB : indicatorSrc" class="tab-indicator" mode="widthFix" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -23,7 +23,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { isZhiNian } from "@/constant/base";
|
||||
import indicatorSrc from "./images/selected_tabs_icon.png";
|
||||
import indicatorSrcB from "./images/selected_tabs_icon_b.png";
|
||||
|
||||
const props = defineProps({
|
||||
modelValue: { type: Number, default: 0 },
|
||||
|
||||
Reference in New Issue
Block a user