diff --git a/IOReportSysMP/miniprogram/pages/index/index.scss b/IOReportSysMP/miniprogram/pages/index/index.scss index 5a40a4c..8a4cd2c 100644 --- a/IOReportSysMP/miniprogram/pages/index/index.scss +++ b/IOReportSysMP/miniprogram/pages/index/index.scss @@ -1,47 +1,57 @@ -.banner { - display: flex; - - image { - width: 200px; - height: 150px; - margin: 30px auto; - } -} - -.btn-list { +.index-container { display: flex; flex-direction: column; - $btn-item-height: 120rpx; - $btn-item-icon: 116rpx; - .btn-item { + justify-content: center; + align-items: center; + height: 80vh; + .banner { display: flex; - // border-bottom: 1px solid gray; - justify-content: center; - align-items: center; + image { - background-color: rgb(146, 206, 248); - width: $btn-item-icon; - height: $btn-item-icon; - border-radius: 100%; - position: relative; - right: 15px; - margin: ($btn-item-height - $btn-item-icon) / 2; - box-shadow: rgba(128, 128, 128, 0.3) 1px 4px 5px 0.5px; + width: 200px; + height: 150px; + margin: 30px auto; } } - text { - border-radius: 25rpx; - height: $btn-item-height; - line-height: $btn-item-height; - font-size: 32px; - font-weight: 600; - color: black; - display: block; - &::after{ - content: ""; - border-bottom: rgba(128, 128, 128, 0.3) solid 1px; + .btn-list { + display: flex; + flex-direction: column; + $btn-item-height: 120rpx; + $btn-item-icon: 116rpx; + + .btn-item { + display: flex; + // border-bottom: 1px solid gray; + justify-content: center; + align-items: center; + + image { + background-color: rgb(146, 206, 248); + width: $btn-item-icon; + height: $btn-item-icon; + border-radius: 100%; + position: relative; + right: 15px; + margin: ($btn-item-height - $btn-item-icon) / 2; + box-shadow: rgba(128, 128, 128, 0.3) 1px 4px 5px 0.5px; + } + } + + text { + border-radius: 25rpx; + height: $btn-item-height; + line-height: $btn-item-height; + font-size: 32px; + font-weight: 600; + color: black; display: block; + + &::after { + content: ""; + border-bottom: rgba(128, 128, 128, 0.3) solid 1px; + display: block; + } } } } \ No newline at end of file diff --git a/IOReportSysMP/miniprogram/pages/index/index.wxml b/IOReportSysMP/miniprogram/pages/index/index.wxml index a1432ff..1504612 100644 --- a/IOReportSysMP/miniprogram/pages/index/index.wxml +++ b/IOReportSysMP/miniprogram/pages/index/index.wxml @@ -1,6 +1,6 @@ - +