调整首页样式
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 5.9 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 7.3 KiB |
@@ -1,9 +1,23 @@
|
|||||||
|
.header{
|
||||||
|
padding-top:.5rem;
|
||||||
|
height:5rem;
|
||||||
|
text-align: center;
|
||||||
|
color:#fafafa;
|
||||||
|
background-image: url(../../lib/icon/headerbg.png);
|
||||||
|
background-size:contain;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
.header-text{
|
||||||
|
padding-top: .3rem;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
/* banner */
|
/* banner */
|
||||||
.banner{
|
.banner{
|
||||||
|
margin-top: .3rem;
|
||||||
padding-top:50%;
|
padding-top:50%;
|
||||||
width: 100%;
|
width: 94%;
|
||||||
background: #ddd;
|
margin-left: 3%;
|
||||||
|
background:transparent;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -18,6 +32,7 @@
|
|||||||
.banner-swiper-img{
|
.banner-swiper-img{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
border-radius:3%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 工作台 */
|
/* 工作台 */
|
||||||
@@ -37,8 +52,8 @@
|
|||||||
|
|
||||||
.grid-icon{
|
.grid-icon{
|
||||||
background: #fafafa;
|
background: #fafafa;
|
||||||
width: 68rpx;
|
width: 120rpx;
|
||||||
height: 68rpx;
|
height: 120rpx;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
margin-bottom: 15rpx;
|
margin-bottom: 15rpx;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<!-- banner -->
|
<view class="header">
|
||||||
|
<view class="header-text">工作台</view>
|
||||||
<view class="banner">
|
<view class="banner">
|
||||||
<swiper class="banner-swiper" indicator-dots circular autoplay indicator-color="rgba(0,0,0,.1)" indicator-active-color="#ff6600">
|
<swiper class="banner-swiper" indicator-dots circular autoplay indicator-color="rgba(0,0,0,.1)" indicator-active-color="#ff6600">
|
||||||
<swiper-item a:for="{{adverts}}" a:key="banner">
|
<swiper-item a:for="{{adverts}}" a:key="banner">
|
||||||
@@ -6,6 +7,10 @@
|
|||||||
</swiper-item>
|
</swiper-item>
|
||||||
</swiper>
|
</swiper>
|
||||||
</view>
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- banner -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- 通知公告 -->
|
<!-- 通知公告 -->
|
||||||
<notice
|
<notice
|
||||||
|
|||||||