Compare commits

...

4 Commits

5 changed files with 22 additions and 5 deletions
Split View
  1. +11
    -3
      custom/public/css/git.openi.css
  2. BIN
      custom/public/rotation3D/img/baseimg.png
  3. +9
    -1
      public/home/home.js
  4. +1
    -1
      templates/base/head_home.tmpl
  5. +1
    -0
      templates/home.tmpl

+ 11
- 3
custom/public/css/git.openi.css View File

@@ -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 {


BIN
custom/public/rotation3D/img/baseimg.png View File

Before After
Width: 976  |  Height: 850  |  Size: 353 kB Width: 976  |  Height: 850  |  Size: 353 kB

+ 9
- 1
public/home/home.js View File

@@ -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,


+ 1
- 1
templates/base/head_home.tmpl View File

@@ -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}}


+ 1
- 0
templates/home.tmpl View File

@@ -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>


Loading…
Cancel
Save