44 lines
818 B
Vue
44 lines
818 B
Vue
<template>
|
|
<view class="home-base-bg">
|
|
<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>
|
|
</view>
|
|
<TabBar :current-page="0"></TabBar>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
components: {
|
|
|
|
},
|
|
data() {
|
|
return {
|
|
newsTextLists: '寒雨连江夜入吴 平明送客楚山孤 洛阳亲友如相问 一片冰心在玉壶'
|
|
}
|
|
},
|
|
onLoad() {
|
|
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.home-base-bg {
|
|
background-color: $uni-bg-color-grey;
|
|
width: 100%;
|
|
.home-content {
|
|
margin: 0 10px;
|
|
}
|
|
}
|
|
.news-box {
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.10);
|
|
}
|
|
</style> |