罗世杰:feat&fix:修复notice处的bug,完成商铺展示列表

This commit is contained in:
LuoShijie
2023-11-04 22:43:39 +08:00
parent b94ebd5486
commit 5010fb8538
11 changed files with 200 additions and 19 deletions

View File

@@ -3,21 +3,24 @@
<InputAndSwiper></InputAndSwiper>
<view class="home-content">
<HomeNavCard></HomeNavCard>
<view class="news-box"><u-notice-bar :text="newsTextLists" bgColor="#fff"></u-notice-bar></view>
<ShowShopList></ShowShopList>
<HomeNoticeBar></HomeNoticeBar>
<ShowShopList/>
<SearchShopListItem></SearchShopListItem>
<SearchShopListItem></SearchShopListItem>
</view>
<TabBar :current-page="0"></TabBar>
</view>
</template>
<script>
import HomeNoticeBar from "./HomeNoticeBar.vue"
export default {
components: {
HomeNoticeBar
},
data() {
return {
newsTextLists: '寒雨连江夜入吴 平明送客楚山孤 洛阳亲友如相问 一片冰心在玉壶'
}
},
onLoad() {
@@ -37,8 +40,5 @@
margin: 0 10px;
}
}
.news-box {
border-radius: 8px;
box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.10);
}
</style>