feat: 提示词优化
This commit is contained in:
@@ -3,10 +3,10 @@
|
|||||||
<view class="flex flex-col flex-full min-width-0 mr-12">
|
<view class="flex flex-col flex-full min-width-0 mr-12">
|
||||||
<view class="flex flex-row flex-items-center flex-justify-between min-width-0">
|
<view class="flex flex-row flex-items-center flex-justify-between min-width-0">
|
||||||
<text class="flex-full min-width-0 font-size-20 font-600 color-white ellipsis-1">{{ mainPageDataModel.welcomeContent }}</text>
|
<text class="flex-full min-width-0 font-size-20 font-600 color-white ellipsis-1">{{ mainPageDataModel.welcomeContent }}</text>
|
||||||
<text class="flex-shrink-0 font-size-20 font-500 color-white mt-4"> {{ weatherText }} </text>
|
<text class="flex-shrink-0 font-size-20 font-600 color-white mt-4"> {{ weatherText }} </text>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<NoticeMessage :sceneName="props.mainPageDataModel.sceneName" />
|
<NoticeMessage :tipsMessage="props.mainPageDataModel.tipsMessage" />
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<SpriteAnimator :src="spriteStyle.ipLargeImage" :frameWidth="spriteStyle.frameWidth"
|
<SpriteAnimator :src="spriteStyle.ipLargeImage" :frameWidth="spriteStyle.frameWidth"
|
||||||
|
|||||||
@@ -25,10 +25,10 @@
|
|||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view v-else-if="props.sceneName">
|
<view v-else-if="props.tipsMessage">
|
||||||
<view class="noMessage">
|
<view class="noMessage">
|
||||||
<text class="noMessage-text text-color font-size-12 font-600">
|
<text class="noMessage-text text-color font-size-12 font-600">
|
||||||
{{ props.sceneName }}
|
{{ props.tipsMessage }}
|
||||||
</text>
|
</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -41,9 +41,9 @@ import { getTimeNoticeList } from "@/request/api/MainPageDataApi";
|
|||||||
import { NOTICE_EVENT_LOGIN_SUCCESS } from "@/constant/constant";
|
import { NOTICE_EVENT_LOGIN_SUCCESS } from "@/constant/constant";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
sceneName: {
|
tipsMessage: {
|
||||||
type: String,
|
type: String,
|
||||||
default: "",
|
default: "随时吩咐,懂你的旅游搭子",
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user