修改引导页首页在线报修样式

This commit is contained in:
zhouyanli
2026-04-20 11:48:17 +08:00
parent fc7ef36a93
commit 05307a5d58
3 changed files with 30 additions and 15 deletions

View File

@@ -36,11 +36,12 @@
<view class="bannarClass">
<up-swiper :list="bannerList" indicator indicatorMode="dot" ></up-swiper>
</view>
<view class="noticeClass">
<image src="/static/首页/公告.png" style="width: 38px;height: 38px;position: absolute;top: 21px;left: 23px;"></image>
<view class="noticeClass" @click="getNoticeMore">
<image src="/static/首页/公告.png" style="width: 38px;height: 38px;position: absolute;top: 21px;left: 17px;"></image>
<uni-notice-bar show-icon :text="noticeText" type="line"
:showIcon="true" show-get-more scrollable color="#000" background-color="#fff" moreColor="#000" @getmore="getNoticeMore"/>
<!-- <up-notice-bar class="notice-bar" :text="noticeText" mode="link" speed="100" bgColor="#FFF" color="#000" url="pages/notice-list/noticeList"></up-notice-bar> -->
:showIcon="false" show-get-more scrollable color="#000" background-color="#fff" moreColor="#000">
</uni-notice-bar>
</view>
<!-- 一键开门 -->
<view class="u-demo-block__content bg-card-open">
@@ -334,6 +335,10 @@ const moreClick = () =>{
left: 0;
padding: 40rpx 36rpx;
}
// 修改通知栏样式
::v-deep .uni-noticebar__content-wrapper--scrollable{
left: 20px;
}
.noticeClass.uni-noticebar{
padding: 10px 15px 10px 45px;
}