ENH: Change Close Button of previewDialog to red

Change-Id: Id742a0e20affcd6c414e6c27e475ae8ed8c32bdd
(cherry picked from commit d080c902d3364a5dbbe9a074117b932acf7c0937)
This commit is contained in:
zorro.zhang 2023-05-23 23:10:47 +08:00 committed by Lane.Wei
parent cdae0ac2b5
commit 226e18254c
2 changed files with 7 additions and 6 deletions

View File

@ -338,4 +338,8 @@ body
height: 480px; height: 480px;
} }
.viewer-button
{
background-color: rgba(255,0,0,.5)!important;
}

View File

@ -2,7 +2,7 @@ var ModelSwiper=null;
var ProfileSwiper=null; var ProfileSwiper=null;
function OnInit() function OnInit()
{ {
console.log(" 页面加载完成 "); console.log(" 页面加载完成 ");
//翻译页面 //翻译页面
TranslatePage(); TranslatePage();
@ -156,7 +156,6 @@ function HandleStudio(pVal)
} }
} }
function ShowProjectInfo( p3MF ) function ShowProjectInfo( p3MF )
{ {
if(p3MF==null) if(p3MF==null)
@ -311,7 +310,7 @@ function ShowModelInfo( pModel )
$('#Model_Preview_Image .swiper-pagination').show(); $('#Model_Preview_Image .swiper-pagination').show();
ModelSwiper = new Swiper('#Model_Preview_Image.swiper', { ModelSwiper = new Swiper('#Model_Preview_Image.swiper', {
loop:true, loop:false,
spaceBetween: 8, spaceBetween: 8,
navigation: { navigation: {
nextEl: '.swiper-button-next', nextEl: '.swiper-button-next',
@ -320,7 +319,6 @@ function ShowModelInfo( pModel )
autoplay: { autoplay: {
delay: 3000, delay: 3000,
stopOnLastSlide: false, stopOnLastSlide: false,
disableOnInteraction: true,
disableOnInteraction: false disableOnInteraction: false
}, },
pagination: { pagination: {
@ -529,7 +527,7 @@ function ShowProfilelInfo( pProfile )
$('#Profile_Preview_Image .swiper-pagination').show(); $('#Profile_Preview_Image .swiper-pagination').show();
ProfileSwiper = new Swiper('#Profile_Preview_Image.swiper', { ProfileSwiper = new Swiper('#Profile_Preview_Image.swiper', {
loop:true, loop:false,
spaceBetween: 8, spaceBetween: 8,
navigation: { navigation: {
nextEl: '.swiper-button-next', nextEl: '.swiper-button-next',
@ -538,7 +536,6 @@ function ShowProfilelInfo( pProfile )
autoplay: { autoplay: {
delay: 3000, delay: 3000,
stopOnLastSlide: false, stopOnLastSlide: false,
disableOnInteraction: true,
disableOnInteraction: false disableOnInteraction: false
}, },
pagination: { pagination: {