| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
50a2fbd5db | 修复首页更新后样式缓存问题 | 3 years ago |
|
|
08f4688934 | 修复首页移动端左划出现空白的问题 | 3 years ago |
|
|
b391ddebbc | 调整首页社区活动广告移动端展示问题 | 3 years ago |
|
|
38cfbf79d3 | 调整首页智算网络区域移动端展示形式 | 3 years ago |
| @@ -312,18 +312,26 @@ | |||
| .i-env > div{ | |||
| position: relative; | |||
| } | |||
| .event-list{ | |||
| overflow: hidden; | |||
| } | |||
| .event-list .ui.card>.image>img{ | |||
| height: 146px !important; | |||
| } | |||
| .appmob{ | |||
| display: none; | |||
| } | |||
| @media only screen and (max-width: 767px) { | |||
| .am-mt-30{ margin-top: 1.5rem !important;} | |||
| .ui.secondary.hometop.segment{ | |||
| margin-bottom: 5.0rem; | |||
| } | |||
| .bannerpic{ | |||
| .bannerpic, #app{ | |||
| display: none; | |||
| } | |||
| .appmob{ | |||
| display: block; | |||
| } | |||
| #homenews{ | |||
| bottom: -3em; | |||
| } | |||
| @@ -378,7 +386,7 @@ | |||
| .leftline02, .leftline02-2{ | |||
| left: 6.0em; | |||
| top: calc(-4.0em - 2px); | |||
| border-radius: 0 3.0em 3.0em 0; | |||
| border-radius: 0 3.0em 0 0; | |||
| width: calc(50% - 6.0em); | |||
| } | |||
| .leftline02-2 { | |||
| @@ -17,7 +17,7 @@ var swiperNewMessage = new Swiper(".newslist", { | |||
| }, | |||
| }); | |||
| var swiperEvent = new Swiper(".event-list", { | |||
| slidesPerView: 3, | |||
| slidesPerView: 1, | |||
| spaceBetween: 30, | |||
| pagination: { | |||
| el: ".swiper-pagination", | |||
| @@ -27,6 +27,14 @@ var swiperEvent = new Swiper(".event-list", { | |||
| delay: 2500, | |||
| disableOnInteraction: false, | |||
| }, | |||
| breakpoints: { | |||
| 768: { | |||
| slidesPerView: 2, | |||
| }, | |||
| 1024: { | |||
| slidesPerView: 3, | |||
| }, | |||
| }, | |||
| }); | |||
| var swiperRepo = new Swiper(".homepro-list", { | |||
| slidesPerView: 1, | |||
| @@ -121,7 +121,7 @@ | |||
| <link rel="stylesheet" href="{{StaticUrlPrefix}}/vendor/assets/font-awesome/css/font-awesome.min.css"> | |||
| <link rel="preload" as="font" href="{{StaticUrlPrefix}}/fomantic/themes/default/assets/fonts/icons.woff2" type="font/woff2" crossorigin="anonymous"> | |||
| <link rel="preload" as="font" href="{{StaticUrlPrefix}}/fomantic/themes/default/assets/fonts/outline-icons.woff2" type="font/woff2" crossorigin="anonymous"> | |||
| <link rel="stylesheet" href="/css/git.openi.css"> | |||
| <link rel="stylesheet" href="/css/git.openi.css?v={{MD5 AppVer}}"> | |||
| {{if .RequireSimpleMDE}} | |||
| <link rel="stylesheet" href="{{StaticUrlPrefix}}/vendor/plugins/simplemde/simplemde.min.css"> | |||
| {{end}} | |||
| @@ -93,6 +93,7 @@ | |||
| <p><span class="ui text grey">{{.i18n.Tr "home.c2net_desc"}}</p> | |||
| </div> | |||
| <div class="appmob"><img class="ui fluid image" src="/rotation3D/img/baseimg.png"></div> | |||
| <div id="app" v-cloak> | |||
| <!--底座--> | |||
| <div class="rotation3D-baseMap"></div> | |||