修改开房间邀请对战的提示

This commit is contained in:
zhl 2019-03-06 20:03:54 +08:00
parent 9f27eae322
commit fd52bb4cf0
7 changed files with 20 additions and 9 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@ rev-manifest.json
/nohup.out /nohup.out
/package-lock.json /package-lock.json
/dist.tar.gz /dist.tar.gz
/roms

20
fc/dist/gbajs.min.css vendored
View File

@ -526,13 +526,23 @@ canvas {
right: 0; right: 0;
} }
.info-mask { .info-mask {
position: fixed; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
bottom: 0; width: 110vw;
right: 0; height: 250vw;
background-color: #fff; background-color: #000;
background-image:url(../resources/invite-mask.png); overflow-x: hidden;
overflow-y: auto;
background-image:url(../resources/invite-mask.jpg);
background-repeat:no-repeat; background-repeat:no-repeat;
background-size: 100% background-size: 100%
} }
#mask-img {
width: 100%;
height: 100%;
opacity: 0;
}
.container::-webkit-scrollbar {
display: none; //Safari and Chrome
}

View File

@ -54,7 +54,7 @@
</div> </div>
</div> </div>
<div class='info-mask' id='info-mask' style="display: none;"> <div class='info-mask' id='info-mask' style="display: none;">
<!-- <img id='mask-img' src='resources/invite-mask.jpg'> -->
</div> </div>
</body> </body>

View File

@ -151,8 +151,8 @@ window.vm = {
window.onload = function(){ window.onload = function(){
var gameId = getParameter("id") var gameId = getParameter("id")
var path = "http://h5games-al.kingsome.cn/emulator-static/roms/" + gameId + ".nes" // var path = "http://h5games-al.kingsome.cn/emulator-static/roms/" + gameId + ".nes"
// var path = "http://192.168.100.228:7000/emu/roms/" + gameId + ".nes" var path = "http://192.168.100.229:7008/roms/" + gameId + ".nes"
nes_load_url("screen", path) nes_load_url("screen", path)
vm.initCtrl() vm.initCtrl()

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 KiB

View File

@ -29,7 +29,7 @@ var gulp = require('gulp'),
})) }))
.pipe(stripDebug()) .pipe(stripDebug())
.pipe(gulp.dest('fc/dist/js')) .pipe(gulp.dest('fc/dist/js'))
.pipe(notify({message: 'finished dist'})); .pipe(notify({message: 'finished minifyjsfc'}));
}); });
gulp.task('default', ['jslint'], function() { gulp.task('default', ['jslint'], function() {