diff --git a/src/comp/message/message.js b/src/comp/message/message.js index d808d50..65d6bef 100644 --- a/src/comp/message/message.js +++ b/src/comp/message/message.js @@ -5,7 +5,7 @@ $.extend({ type:'default', content:'content', time:'2000', - autoClose:false, + autoClose:true, onClose:function(){}, define:function(){}, }; diff --git a/src/desktop/css/main.css b/src/desktop/css/main.css index 754a50b..ab2765d 100755 --- a/src/desktop/css/main.css +++ b/src/desktop/css/main.css @@ -801,7 +801,7 @@ span.swiper-pagination-bullet { .hero-d-p { position: absolute; bottom: 0px; - left: -8%; + left: 0; height: 1080px; overflow: hidden; } @@ -958,9 +958,6 @@ span.swiper-pagination-bullet { .market img{ height: 20px; } - .hero-d-p{ - left:-20%; - } .hero-d-jx { right: 5%; } diff --git a/src/desktop/gameplay.html b/src/desktop/gameplay.html index 6e0268f..41295f2 100755 --- a/src/desktop/gameplay.html +++ b/src/desktop/gameplay.html @@ -138,7 +138,7 @@

- +
diff --git a/src/desktop/img/game play/social_title.png b/src/desktop/img/game play/social_title.png new file mode 100755 index 0000000..68b9598 Binary files /dev/null and b/src/desktop/img/game play/social_title.png differ diff --git a/src/desktop/img/home/001.png b/src/desktop/img/home/001.png index 6e63b8d..5a7de9a 100755 Binary files a/src/desktop/img/home/001.png and b/src/desktop/img/home/001.png differ diff --git a/src/desktop/img/home/002.png b/src/desktop/img/home/002.png index 012bce8..96b2274 100755 Binary files a/src/desktop/img/home/002.png and b/src/desktop/img/home/002.png differ diff --git a/src/desktop/img/home/003.png b/src/desktop/img/home/003.png index 68b5c50..9086340 100755 Binary files a/src/desktop/img/home/003.png and b/src/desktop/img/home/003.png differ diff --git a/src/desktop/img/home/004.png b/src/desktop/img/home/004.png index 4e27be6..ffbb983 100755 Binary files a/src/desktop/img/home/004.png and b/src/desktop/img/home/004.png differ diff --git a/src/desktop/img/home/005.png b/src/desktop/img/home/005.png index 43c8890..653987b 100755 Binary files a/src/desktop/img/home/005.png and b/src/desktop/img/home/005.png differ diff --git a/src/desktop/img/home/006.png b/src/desktop/img/home/006.png index d142a5a..aefa831 100755 Binary files a/src/desktop/img/home/006.png and b/src/desktop/img/home/006.png differ diff --git a/src/desktop/img/home/007.png b/src/desktop/img/home/007.png index 024b1bd..ce44337 100755 Binary files a/src/desktop/img/home/007.png and b/src/desktop/img/home/007.png differ diff --git a/src/desktop/img/home/008.png b/src/desktop/img/home/008.png index a805650..3c63ae3 100755 Binary files a/src/desktop/img/home/008.png and b/src/desktop/img/home/008.png differ diff --git a/src/desktop/img/home/009.png b/src/desktop/img/home/009.png index 19b00fb..1b12037 100755 Binary files a/src/desktop/img/home/009.png and b/src/desktop/img/home/009.png differ diff --git a/src/desktop/img/home/010.png b/src/desktop/img/home/010.png index 9f0a5e7..2279e52 100755 Binary files a/src/desktop/img/home/010.png and b/src/desktop/img/home/010.png differ diff --git a/src/desktop/img/home/marketplace@2x.png b/src/desktop/img/home/marketplace@2x.png index 7f4cccd..935920c 100755 Binary files a/src/desktop/img/home/marketplace@2x.png and b/src/desktop/img/home/marketplace@2x.png differ diff --git a/src/desktop/img/nft/chip/chip-layer-bg@2x.png b/src/desktop/img/nft/chip/chip-layer-bg@2x.png old mode 100755 new mode 100644 index b5111c1..69331bd Binary files a/src/desktop/img/nft/chip/chip-layer-bg@2x.png and b/src/desktop/img/nft/chip/chip-layer-bg@2x.png differ diff --git a/src/desktop/img/nft/hero/hero1-d.png b/src/desktop/img/nft/hero/hero1-d.png index f6418f2..77956ad 100755 Binary files a/src/desktop/img/nft/hero/hero1-d.png and b/src/desktop/img/nft/hero/hero1-d.png differ diff --git a/src/desktop/img/nft/hero/hero10-d.png b/src/desktop/img/nft/hero/hero10-d.png old mode 100755 new mode 100644 index a243c56..4ba5b59 Binary files a/src/desktop/img/nft/hero/hero10-d.png and b/src/desktop/img/nft/hero/hero10-d.png differ diff --git a/src/desktop/img/nft/hero/hero2-d.png b/src/desktop/img/nft/hero/hero2-d.png index 9e54ce0..dc31b41 100755 Binary files a/src/desktop/img/nft/hero/hero2-d.png and b/src/desktop/img/nft/hero/hero2-d.png differ diff --git a/src/desktop/img/nft/hero/hero3-d.png b/src/desktop/img/nft/hero/hero3-d.png index d8ee67d..224d3cf 100755 Binary files a/src/desktop/img/nft/hero/hero3-d.png and b/src/desktop/img/nft/hero/hero3-d.png differ diff --git a/src/desktop/img/nft/hero/hero4-d.png b/src/desktop/img/nft/hero/hero4-d.png index b670f82..c2ff9c5 100755 Binary files a/src/desktop/img/nft/hero/hero4-d.png and b/src/desktop/img/nft/hero/hero4-d.png differ diff --git a/src/desktop/img/nft/hero/hero5-d.png b/src/desktop/img/nft/hero/hero5-d.png index e97bf47..9700f1e 100755 Binary files a/src/desktop/img/nft/hero/hero5-d.png and b/src/desktop/img/nft/hero/hero5-d.png differ diff --git a/src/desktop/img/nft/hero/hero6-d.png b/src/desktop/img/nft/hero/hero6-d.png index 0750f97..2269430 100755 Binary files a/src/desktop/img/nft/hero/hero6-d.png and b/src/desktop/img/nft/hero/hero6-d.png differ diff --git a/src/desktop/img/nft/hero/hero7-d.png b/src/desktop/img/nft/hero/hero7-d.png index 389ac0d..262acfe 100755 Binary files a/src/desktop/img/nft/hero/hero7-d.png and b/src/desktop/img/nft/hero/hero7-d.png differ diff --git a/src/desktop/img/nft/hero/hero8-d.png b/src/desktop/img/nft/hero/hero8-d.png index 02c03e1..aa75af4 100755 Binary files a/src/desktop/img/nft/hero/hero8-d.png and b/src/desktop/img/nft/hero/hero8-d.png differ diff --git a/src/desktop/img/nft/hero/hero9-d.png b/src/desktop/img/nft/hero/hero9-d.png index eac014a..f5e69e2 100755 Binary files a/src/desktop/img/nft/hero/hero9-d.png and b/src/desktop/img/nft/hero/hero9-d.png differ diff --git a/src/desktop/img/nft/hero/layerbg@2x.png b/src/desktop/img/nft/hero/layerbg@2x.png old mode 100755 new mode 100644 index 3f064df..c4b9a3e Binary files a/src/desktop/img/nft/hero/layerbg@2x.png and b/src/desktop/img/nft/hero/layerbg@2x.png differ diff --git a/src/desktop/img/nft/movie/001.mp4 b/src/desktop/img/nft/movie/001.mp4 new file mode 100755 index 0000000..ca14a39 Binary files /dev/null and b/src/desktop/img/nft/movie/001.mp4 differ diff --git a/src/desktop/img/nft/movie/002.mp4 b/src/desktop/img/nft/movie/002.mp4 new file mode 100755 index 0000000..9dceaac Binary files /dev/null and b/src/desktop/img/nft/movie/002.mp4 differ diff --git a/src/desktop/img/nft/movie/003.mp4 b/src/desktop/img/nft/movie/003.mp4 new file mode 100755 index 0000000..6037c57 Binary files /dev/null and b/src/desktop/img/nft/movie/003.mp4 differ diff --git a/src/desktop/img/nft/movie/006.mp4 b/src/desktop/img/nft/movie/006.mp4 new file mode 100755 index 0000000..f394e98 Binary files /dev/null and b/src/desktop/img/nft/movie/006.mp4 differ diff --git a/src/desktop/img/nft/movie/007.mp4 b/src/desktop/img/nft/movie/007.mp4 new file mode 100755 index 0000000..3ac1318 Binary files /dev/null and b/src/desktop/img/nft/movie/007.mp4 differ diff --git a/src/desktop/img/nft/movie/008.mp4 b/src/desktop/img/nft/movie/008.mp4 new file mode 100755 index 0000000..e30dd57 Binary files /dev/null and b/src/desktop/img/nft/movie/008.mp4 differ diff --git a/src/desktop/img/nft/movie/010.mp4 b/src/desktop/img/nft/movie/010.mp4 new file mode 100755 index 0000000..5149690 Binary files /dev/null and b/src/desktop/img/nft/movie/010.mp4 differ diff --git a/src/desktop/nft.html b/src/desktop/nft.html index 9307244..607d6f1 100755 --- a/src/desktop/nft.html +++ b/src/desktop/nft.html @@ -18,6 +18,11 @@ name="keywords" content="CEBG, CRYPTO ELITE‘S BATTLEGROUNDS, CEBG BATTLEGROUNDS, CE BATTLEGROUNDS, CRYPTO ELITE‘S, cebg Mobile, cebg official, free battle royale, cebg game, cec, ceg, cebg coin, cebg gold, cebg crypto, cebg p2e, play to earn, free to play, blockchain game" /> +
@@ -97,71 +102,78 @@
@@ -282,13 +294,17 @@
+ + + - - - -
+
+ +
@@ -502,15 +518,26 @@ $('.hero-item-c a').click(function () { var bigImg = $(this).data('bigimg') var imgDetail = $(this).data('imgdetail') + var movie = $(this).data('movie') $('.hero-view').find('.hero-d-data img').attr('src', '') $('.hero-view').find('.hero-d-p img').attr('src', '') $('.hero-view').find('.hero-d-data img').attr('src', imgDetail) $('.hero-view').find('.hero-d-p img').attr('src', bigImg) + if (movie) { + $('#hero_skill_movie').show(); + $('#hero_skill_movie').attr('src', movie); + document.getElementById("hero_skill_movie").play(); + } else { + $('#hero_skill_movie').hide(); + } + $('.hero-view').slideDown(250) }) $('.hero-d-close').click(function () { $(this).parents('.hero-d-layer').slideUp(250) + document.getElementById("hero_skill_movie").pause(); + $('#hero_skill_movie').attr('src', ''); }) $('.weapon-item-c a').click(function () { diff --git a/src/desktop/tokenomic.html b/src/desktop/tokenomic.html index a578009..aa36f87 100755 --- a/src/desktop/tokenomic.html +++ b/src/desktop/tokenomic.html @@ -20,10 +20,16 @@ Tokenomic | CEBG: CRYPTO ELITE‘S BATTLEGROUNDS @@ -133,7 +139,7 @@
-
+
USER CASE
-
+
RELEASE SCHEDULE
diff --git a/src/mobile/css/main.css b/src/mobile/css/main.css index db47c40..0617286 100755 --- a/src/mobile/css/main.css +++ b/src/mobile/css/main.css @@ -819,14 +819,13 @@ span.swiper-pagination-bullet { overflow: hidden; } .hero-d-p img{ - height: 140%; - margin-left: -20%; + width: 100%; } .hero-d-jx { width: 80%; position: absolute; - bottom: -5px; + bottom: 0; left: 0px; } .hero-d-jx img{ @@ -841,7 +840,7 @@ span.swiper-pagination-bullet { .hero-d-data { position: absolute; left: 15px; - bottom: 2px; + bottom: 5px; width: 50%; } .hero-d-data img{ @@ -881,9 +880,9 @@ span.swiper-pagination-bullet { } .swiper-slide .aniIcon { position: absolute; - left: 11vw; - top: 12vw; - width: 26vw; + left: 9vw; + top: 18vw; + width: 51vw; } .weapon-silder .weapon-silder-item { background: url('../imgMobile/nft/weapon/wpbg@2x.png') no-repeat center center; diff --git a/src/mobile/gamePlay.html b/src/mobile/gamePlay.html index 952e32f..88cfc9d 100755 --- a/src/mobile/gamePlay.html +++ b/src/mobile/gamePlay.html @@ -106,7 +106,8 @@
- + +
@@ -130,7 +131,7 @@
- +
diff --git a/src/mobile/img/home/001.png b/src/mobile/img/home/001.png index 6e63b8d..ddd53ef 100755 Binary files a/src/mobile/img/home/001.png and b/src/mobile/img/home/001.png differ diff --git a/src/mobile/img/home/002.png b/src/mobile/img/home/002.png index 012bce8..fe4aea5 100755 Binary files a/src/mobile/img/home/002.png and b/src/mobile/img/home/002.png differ diff --git a/src/mobile/img/home/003.png b/src/mobile/img/home/003.png index 68b5c50..97c0f9b 100755 Binary files a/src/mobile/img/home/003.png and b/src/mobile/img/home/003.png differ diff --git a/src/mobile/img/home/004.png b/src/mobile/img/home/004.png index 4e27be6..5c1e6e8 100755 Binary files a/src/mobile/img/home/004.png and b/src/mobile/img/home/004.png differ diff --git a/src/mobile/img/home/005.png b/src/mobile/img/home/005.png index 43c8890..abd422d 100755 Binary files a/src/mobile/img/home/005.png and b/src/mobile/img/home/005.png differ diff --git a/src/mobile/img/home/006.png b/src/mobile/img/home/006.png index d142a5a..45c1164 100755 Binary files a/src/mobile/img/home/006.png and b/src/mobile/img/home/006.png differ diff --git a/src/mobile/img/home/007.png b/src/mobile/img/home/007.png index 024b1bd..e3ec645 100755 Binary files a/src/mobile/img/home/007.png and b/src/mobile/img/home/007.png differ diff --git a/src/mobile/img/home/008.png b/src/mobile/img/home/008.png index a805650..230c5ed 100755 Binary files a/src/mobile/img/home/008.png and b/src/mobile/img/home/008.png differ diff --git a/src/mobile/img/home/009.png b/src/mobile/img/home/009.png index 19b00fb..595a705 100755 Binary files a/src/mobile/img/home/009.png and b/src/mobile/img/home/009.png differ diff --git a/src/mobile/img/home/010.png b/src/mobile/img/home/010.png index 9f0a5e7..de593a3 100755 Binary files a/src/mobile/img/home/010.png and b/src/mobile/img/home/010.png differ diff --git a/src/mobile/img/nft/hero/hero1-d@2x.png b/src/mobile/img/nft/hero/hero1-d@2x.png index 72217b1..340eaaf 100755 Binary files a/src/mobile/img/nft/hero/hero1-d@2x.png and b/src/mobile/img/nft/hero/hero1-d@2x.png differ diff --git a/src/mobile/img/nft/hero/hero10-d@2x.png b/src/mobile/img/nft/hero/hero10-d@2x.png index 48728a2..d009a0c 100755 Binary files a/src/mobile/img/nft/hero/hero10-d@2x.png and b/src/mobile/img/nft/hero/hero10-d@2x.png differ diff --git a/src/mobile/img/nft/hero/hero2-d@2x.png b/src/mobile/img/nft/hero/hero2-d@2x.png index 9fa926b..da35023 100755 Binary files a/src/mobile/img/nft/hero/hero2-d@2x.png and b/src/mobile/img/nft/hero/hero2-d@2x.png differ diff --git a/src/mobile/img/nft/hero/hero3-d@2x.png b/src/mobile/img/nft/hero/hero3-d@2x.png index 8974e0f..982f574 100755 Binary files a/src/mobile/img/nft/hero/hero3-d@2x.png and b/src/mobile/img/nft/hero/hero3-d@2x.png differ diff --git a/src/mobile/img/nft/hero/hero4-d@2x.png b/src/mobile/img/nft/hero/hero4-d@2x.png index 2e7f0d0..2104eb6 100755 Binary files a/src/mobile/img/nft/hero/hero4-d@2x.png and b/src/mobile/img/nft/hero/hero4-d@2x.png differ diff --git a/src/mobile/img/nft/hero/hero5-d@2x.png b/src/mobile/img/nft/hero/hero5-d@2x.png index 7eb25d3..33ecf25 100755 Binary files a/src/mobile/img/nft/hero/hero5-d@2x.png and b/src/mobile/img/nft/hero/hero5-d@2x.png differ diff --git a/src/mobile/img/nft/hero/hero6-d@2x.png b/src/mobile/img/nft/hero/hero6-d@2x.png index dcece59..60af5de 100755 Binary files a/src/mobile/img/nft/hero/hero6-d@2x.png and b/src/mobile/img/nft/hero/hero6-d@2x.png differ diff --git a/src/mobile/img/nft/hero/hero7-d@2x.png b/src/mobile/img/nft/hero/hero7-d@2x.png index a6821e1..fc63452 100755 Binary files a/src/mobile/img/nft/hero/hero7-d@2x.png and b/src/mobile/img/nft/hero/hero7-d@2x.png differ diff --git a/src/mobile/img/nft/hero/hero8-d@2x.png b/src/mobile/img/nft/hero/hero8-d@2x.png index ffef7bb..258cfe4 100755 Binary files a/src/mobile/img/nft/hero/hero8-d@2x.png and b/src/mobile/img/nft/hero/hero8-d@2x.png differ diff --git a/src/mobile/img/nft/hero/hero9-d@2x.png b/src/mobile/img/nft/hero/hero9-d@2x.png index 50e3d27..86acfe5 100755 Binary files a/src/mobile/img/nft/hero/hero9-d@2x.png and b/src/mobile/img/nft/hero/hero9-d@2x.png differ diff --git a/src/mobile/img/nft/movie/001.mp4 b/src/mobile/img/nft/movie/001.mp4 new file mode 100755 index 0000000..ca14a39 Binary files /dev/null and b/src/mobile/img/nft/movie/001.mp4 differ diff --git a/src/mobile/img/nft/movie/002.mp4 b/src/mobile/img/nft/movie/002.mp4 new file mode 100755 index 0000000..9dceaac Binary files /dev/null and b/src/mobile/img/nft/movie/002.mp4 differ diff --git a/src/mobile/img/nft/movie/003.mp4 b/src/mobile/img/nft/movie/003.mp4 new file mode 100755 index 0000000..6037c57 Binary files /dev/null and b/src/mobile/img/nft/movie/003.mp4 differ diff --git a/src/mobile/img/nft/movie/006.mp4 b/src/mobile/img/nft/movie/006.mp4 new file mode 100755 index 0000000..f394e98 Binary files /dev/null and b/src/mobile/img/nft/movie/006.mp4 differ diff --git a/src/mobile/img/nft/movie/007.mp4 b/src/mobile/img/nft/movie/007.mp4 new file mode 100755 index 0000000..3ac1318 Binary files /dev/null and b/src/mobile/img/nft/movie/007.mp4 differ diff --git a/src/mobile/img/nft/movie/008.mp4 b/src/mobile/img/nft/movie/008.mp4 new file mode 100755 index 0000000..e30dd57 Binary files /dev/null and b/src/mobile/img/nft/movie/008.mp4 differ diff --git a/src/mobile/img/nft/movie/010.mp4 b/src/mobile/img/nft/movie/010.mp4 new file mode 100755 index 0000000..5149690 Binary files /dev/null and b/src/mobile/img/nft/movie/010.mp4 differ diff --git a/src/mobile/imgMobile/home/001.png b/src/mobile/imgMobile/home/001.png index 6e63b8d..5a7de9a 100755 Binary files a/src/mobile/imgMobile/home/001.png and b/src/mobile/imgMobile/home/001.png differ diff --git a/src/mobile/imgMobile/home/002.png b/src/mobile/imgMobile/home/002.png index 012bce8..96b2274 100755 Binary files a/src/mobile/imgMobile/home/002.png and b/src/mobile/imgMobile/home/002.png differ diff --git a/src/mobile/imgMobile/home/003.png b/src/mobile/imgMobile/home/003.png index 68b5c50..9086340 100755 Binary files a/src/mobile/imgMobile/home/003.png and b/src/mobile/imgMobile/home/003.png differ diff --git a/src/mobile/imgMobile/home/004.png b/src/mobile/imgMobile/home/004.png index 4e27be6..ffbb983 100755 Binary files a/src/mobile/imgMobile/home/004.png and b/src/mobile/imgMobile/home/004.png differ diff --git a/src/mobile/imgMobile/home/005.png b/src/mobile/imgMobile/home/005.png index 43c8890..653987b 100755 Binary files a/src/mobile/imgMobile/home/005.png and b/src/mobile/imgMobile/home/005.png differ diff --git a/src/mobile/imgMobile/home/006.png b/src/mobile/imgMobile/home/006.png index d142a5a..aefa831 100755 Binary files a/src/mobile/imgMobile/home/006.png and b/src/mobile/imgMobile/home/006.png differ diff --git a/src/mobile/imgMobile/home/007.png b/src/mobile/imgMobile/home/007.png index 024b1bd..ce44337 100755 Binary files a/src/mobile/imgMobile/home/007.png and b/src/mobile/imgMobile/home/007.png differ diff --git a/src/mobile/imgMobile/home/008.png b/src/mobile/imgMobile/home/008.png index a805650..3c63ae3 100755 Binary files a/src/mobile/imgMobile/home/008.png and b/src/mobile/imgMobile/home/008.png differ diff --git a/src/mobile/imgMobile/home/009.png b/src/mobile/imgMobile/home/009.png index 19b00fb..1b12037 100755 Binary files a/src/mobile/imgMobile/home/009.png and b/src/mobile/imgMobile/home/009.png differ diff --git a/src/mobile/imgMobile/home/010.png b/src/mobile/imgMobile/home/010.png index 9f0a5e7..2279e52 100755 Binary files a/src/mobile/imgMobile/home/010.png and b/src/mobile/imgMobile/home/010.png differ diff --git a/src/mobile/imgMobile/home/marketplace@2x.png b/src/mobile/imgMobile/home/marketplace@2x.png index 02e06ab..cdc99d0 100755 Binary files a/src/mobile/imgMobile/home/marketplace@2x.png and b/src/mobile/imgMobile/home/marketplace@2x.png differ diff --git a/webpack.desktop.dev.js b/webpack.desktop.dev.js index e693529..e172e3c 100644 --- a/webpack.desktop.dev.js +++ b/webpack.desktop.dev.js @@ -55,6 +55,15 @@ module.exports = { name: '[name].[hash:5].[ext]', }, }, + { + test: /\.mp4$/i, + dependency: { not: ['url'] }, + loader: 'url-loader', + options: { + limit: 1, + name: '[name].[hash:5].[ext]', + }, + }, { test: /\.(woff|ttf|svg|eot)$/, use: ['url-loader'], @@ -90,6 +99,11 @@ module.exports = { attribute: 'data-imgdetail', type: 'src', }, + { + tag: 'a', + attribute: 'data-movie', + type: 'src', + }, ], }, }, diff --git a/webpack.desktop.js b/webpack.desktop.js index a574241..4c0f168 100644 --- a/webpack.desktop.js +++ b/webpack.desktop.js @@ -30,6 +30,7 @@ module.exports = { filename: 'js/[name]-[hash].js', publicPath: './', assetModuleFilename: 'img/[hash][ext][query]', + clean: true }, module: { @@ -54,6 +55,15 @@ module.exports = { name: '[name].[hash:5].[ext]', }, }, + { + test: /\.mp4$/i, + dependency: { not: ['url'] }, + loader: 'url-loader', + options: { + limit: 1, + name: '[name].[hash:5].[ext]', + }, + }, { test: /\.(woff|ttf|svg|eot)$/, use: ['url-loader'], @@ -89,6 +99,11 @@ module.exports = { attribute: 'data-imgdetail', type: 'src', }, + { + tag: 'a', + attribute: 'data-movie', + type: 'src', + }, ], }, }, diff --git a/webpack.mobile.dev.js b/webpack.mobile.dev.js index c614b88..58d7e74 100644 --- a/webpack.mobile.dev.js +++ b/webpack.mobile.dev.js @@ -55,6 +55,15 @@ module.exports = { name: '[name].[hash:5].[ext]', }, }, + { + test: /\.mp4$/i, + dependency: { not: ['url'] }, + loader: 'url-loader', + options: { + limit: 1, + name: '[name].[hash:5].[ext]', + }, + }, { test: /\.(woff|ttf|svg|eot)$/, use: ['url-loader'], @@ -90,6 +99,11 @@ module.exports = { attribute: 'data-imgdetail', type: 'src', }, + { + tag: 'a', + attribute: 'data-movie', + type: 'src', + }, ], }, }, diff --git a/webpack.mobile.js b/webpack.mobile.js index 3547b58..0a6d027 100644 --- a/webpack.mobile.js +++ b/webpack.mobile.js @@ -31,6 +31,7 @@ module.exports = { filename: 'js/[name]-[hash].js', publicPath: './', assetModuleFilename: 'img/[hash][ext][query]', + clean: true }, module: { @@ -55,6 +56,15 @@ module.exports = { name: '[name].[hash:5].[ext]', }, }, + { + test: /\.mp4$/i, + dependency: { not: ['url'] }, + loader: 'url-loader', + options: { + limit: 1, + name: '[name].[hash:5].[ext]', + }, + }, { test: /\.(woff|ttf|svg|eot)$/, use: ['url-loader'], @@ -90,6 +100,11 @@ module.exports = { attribute: 'data-imgdetail', type: 'src', }, + { + tag: 'a', + attribute: 'data-movie', + type: 'src', + }, ], }, },