罗世杰:店铺列表组件初始化

This commit is contained in:
LuoShijie
2023-11-01 22:40:12 +08:00
parent f418c91de4
commit b30196c92a
3 changed files with 81 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
<template>
<view class="base-bg-color">
<view class="home-base-bg">
<InputAndSwiper></InputAndSwiper>
<TabBar :current-page="0"></TabBar>
<view class="nav-card">
@@ -44,6 +44,9 @@
:bg-color="$uni-bg-color"
></u-notice-bar>
</view>
<ShowShopListItem></ShowShopListItem>
</view>
</template>
@@ -74,17 +77,15 @@
}
},
computed:{
newsText() {
// return "寒雨连江夜入吴 平明送客楚山孤 洛阳亲友如相问 一片冰心在玉壶"
return this.newsTextLists.join('')
}
}
}
</script>
<style lang="scss">
.base-bg-color {
background-color: $u-bg-color;
<style lang="scss" scoped>
.home-base-bg {
background-color: $uni-bg-color-grey;
width: 100%;
}
.nav-card {
margin: 15px 7px;
@@ -93,7 +94,7 @@
border-radius: $uni-border-radius-lg;
box-shadow: 0 3px 3px 0 $u-border-color;
// border: solid 2px black;
.grid-text {
font-size: 14px;
}