diff --git a/resources/web/model/model.css b/resources/web/model/model.css index 6f7d3b92a..464d71c36 100644 --- a/resources/web/model/model.css +++ b/resources/web/model/model.css @@ -338,4 +338,8 @@ body height: 480px; } +.viewer-button +{ + background-color: rgba(255,0,0,.5)!important; +} diff --git a/resources/web/model/model.js b/resources/web/model/model.js index caa91d29d..d876097e1 100644 --- a/resources/web/model/model.js +++ b/resources/web/model/model.js @@ -2,7 +2,7 @@ var ModelSwiper=null; var ProfileSwiper=null; function OnInit() -{ +{ console.log(" 页面加载完成 "); //翻译页面 TranslatePage(); @@ -156,7 +156,6 @@ function HandleStudio(pVal) } } - function ShowProjectInfo( p3MF ) { if(p3MF==null) @@ -311,7 +310,7 @@ function ShowModelInfo( pModel ) $('#Model_Preview_Image .swiper-pagination').show(); ModelSwiper = new Swiper('#Model_Preview_Image.swiper', { - loop:true, + loop:false, spaceBetween: 8, navigation: { nextEl: '.swiper-button-next', @@ -320,7 +319,6 @@ function ShowModelInfo( pModel ) autoplay: { delay: 3000, stopOnLastSlide: false, - disableOnInteraction: true, disableOnInteraction: false }, pagination: { @@ -529,7 +527,7 @@ function ShowProfilelInfo( pProfile ) $('#Profile_Preview_Image .swiper-pagination').show(); ProfileSwiper = new Swiper('#Profile_Preview_Image.swiper', { - loop:true, + loop:false, spaceBetween: 8, navigation: { nextEl: '.swiper-button-next', @@ -538,7 +536,6 @@ function ShowProfilelInfo( pProfile ) autoplay: { delay: 3000, stopOnLastSlide: false, - disableOnInteraction: true, disableOnInteraction: false }, pagination: {