| 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{ | .i-env > div{ | ||||
| position: relative; | position: relative; | ||||
| } | } | ||||
| .event-list{ | |||||
| overflow: hidden; | |||||
| } | |||||
| .event-list .ui.card>.image>img{ | .event-list .ui.card>.image>img{ | ||||
| height: 146px !important; | height: 146px !important; | ||||
| } | } | ||||
| .appmob{ | |||||
| display: none; | |||||
| } | |||||
| @media only screen and (max-width: 767px) { | @media only screen and (max-width: 767px) { | ||||
| .am-mt-30{ margin-top: 1.5rem !important;} | .am-mt-30{ margin-top: 1.5rem !important;} | ||||
| .ui.secondary.hometop.segment{ | .ui.secondary.hometop.segment{ | ||||
| margin-bottom: 5.0rem; | margin-bottom: 5.0rem; | ||||
| } | } | ||||
| .bannerpic{ | |||||
| .bannerpic, #app{ | |||||
| display: none; | display: none; | ||||
| } | } | ||||
| .appmob{ | |||||
| display: block; | |||||
| } | |||||
| #homenews{ | #homenews{ | ||||
| bottom: -3em; | bottom: -3em; | ||||
| } | } | ||||
| @@ -378,7 +386,7 @@ | |||||
| .leftline02, .leftline02-2{ | .leftline02, .leftline02-2{ | ||||
| left: 6.0em; | left: 6.0em; | ||||
| top: calc(-4.0em - 2px); | 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); | width: calc(50% - 6.0em); | ||||
| } | } | ||||
| .leftline02-2 { | .leftline02-2 { | ||||
| @@ -17,7 +17,7 @@ var swiperNewMessage = new Swiper(".newslist", { | |||||
| }, | }, | ||||
| }); | }); | ||||
| var swiperEvent = new Swiper(".event-list", { | var swiperEvent = new Swiper(".event-list", { | ||||
| slidesPerView: 3, | |||||
| slidesPerView: 1, | |||||
| spaceBetween: 30, | spaceBetween: 30, | ||||
| pagination: { | pagination: { | ||||
| el: ".swiper-pagination", | el: ".swiper-pagination", | ||||
| @@ -27,6 +27,14 @@ var swiperEvent = new Swiper(".event-list", { | |||||
| delay: 2500, | delay: 2500, | ||||
| disableOnInteraction: false, | disableOnInteraction: false, | ||||
| }, | }, | ||||
| breakpoints: { | |||||
| 768: { | |||||
| slidesPerView: 2, | |||||
| }, | |||||
| 1024: { | |||||
| slidesPerView: 3, | |||||
| }, | |||||
| }, | |||||
| }); | }); | ||||
| var swiperRepo = new Swiper(".homepro-list", { | var swiperRepo = new Swiper(".homepro-list", { | ||||
| slidesPerView: 1, | slidesPerView: 1, | ||||
| @@ -121,7 +121,7 @@ | |||||
| <link rel="stylesheet" href="{{StaticUrlPrefix}}/vendor/assets/font-awesome/css/font-awesome.min.css"> | <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/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="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}} | {{if .RequireSimpleMDE}} | ||||
| <link rel="stylesheet" href="{{StaticUrlPrefix}}/vendor/plugins/simplemde/simplemde.min.css"> | <link rel="stylesheet" href="{{StaticUrlPrefix}}/vendor/plugins/simplemde/simplemde.min.css"> | ||||
| {{end}} | {{end}} | ||||
| @@ -93,6 +93,7 @@ | |||||
| <p><span class="ui text grey">{{.i18n.Tr "home.c2net_desc"}}</p> | <p><span class="ui text grey">{{.i18n.Tr "home.c2net_desc"}}</p> | ||||
| </div> | </div> | ||||
| <div class="appmob"><img class="ui fluid image" src="/rotation3D/img/baseimg.png"></div> | |||||
| <div id="app" v-cloak> | <div id="app" v-cloak> | ||||
| <!--底座--> | <!--底座--> | ||||
| <div class="rotation3D-baseMap"></div> | <div class="rotation3D-baseMap"></div> | ||||