You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

111 lines
2.2 KiB

<template>
<view class="content">
<view class="box-top">
<image src="../../static/img/index_bg.jpg" class="index_bg"></image>
</view>
<view class="box-notice">
<u-notice-bar mode="vertical" :list="list" more-icon color="#9E8F8B"></u-notice-bar>
</view>
<view class="box-body">
<view class="box-body-title">
<image src="../../static/img/index_name.png" class="box-body-title-img"></image>
<view class="box-body-sub-title">周一闭馆</view>
</view>
<view style="margin-top: 56rpx;">
<view class="box-row">
<view class="box-col">
<image src="../../static/img/index_icon_1.png" class="box-body-icon"></image>
</view>
<view class="box-col">
<image src="../../static/img/index_icon_2.png" class="box-body-icon"></image>
</view>
<view class="box-col">
<image src="../../static/img/index_icon_2-11.png" class="box-body-icon"></image>
</view>
</u-row>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
list: [
'寒雨连江夜入吴',
'平明送客楚山孤',
'洛阳亲友如相问',
'一片冰心在玉壶'
]
}
},
onLoad() {
},
methods: {
}
}
</script>
<style>
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.box-row {
display: flex;
justify-content: space-around;
}
.box-top {
width: 100%;
}
.index_bg {
width: 100%;
}
.box-notice {
width: 100%;
background-color: #F9F7F3;
height: 63rpx;
margin-top: -20rpx;
border-top-left-radius: 15rpx !important;
border-top-right-radius: 15rpx !important;
}
.u-notice-bar-wrap {
border-top-left-radius: 15rpx !important;
border-top-right-radius: 15rpx !important;
}
.box-body {
width: 100%;
padding: 82rpx 37rpx;
}
.box-body-title-img {
height: 36rpx;
width: 329rpx;
}
.box-body-sub-title {
font-size: 20rpx;
font-family: PingFang SC;
font-weight: 400;
color: #8A8A8A;
line-height: 40rpx;
}
.box-body-icon {
width: 217rpx;
height: 210rpx;
}
</style>