Commit ad4f3728 by doszhang

dos

parent 51ce1326
......@@ -13,7 +13,7 @@ return array(
'AUTH_CLIENT_ID' => 'zhida_app',
'AUTH_CLIENT_PASSWORD' => 'izhida',
/* CDN路径配置。配置之后可以在模版文件中使用__CDN__ */
'__CDN__' => 'https://static3.izhida.cn/cdn1/ccb-lantern/v1.0.1',
'__CDN__' => 'https://static3.izhida.cn/cdn1/ccb-lantern/v1.0.2',
// '__CDN__' => '/Public/static', // @readme <-- 上线时修改这里
'URL_MODEL' => 3,
'STORAGE_PATH' => WEB_ROOT_PATH . '/Data/Storage',
......
......@@ -92,10 +92,15 @@ input::-webkit-input-placeholder {
.loading-text {
text-align: center;
color: #c30101;
color: #7c7b7b;
font-size: 1.6rem;
z-index: 1;
opacity: 0;
position: absolute;
top: 32.7rem;
left: 0;
width: 32rem;
height: 1.6rem;
}
/* home-page */
......
......@@ -49,6 +49,7 @@ if ($('div').length > 0) {
}
$('.loading-page .loading-gif-block').append('<img class="loading-gif" src="' + picUrl + 'loading.gif" />');
$('.loading-page').prepend('<div class="loading-text"></div>');
$('.loading-page').show();
preloadimages(preloadImageList, function () {
if (browser.versions.weixin) {
......@@ -76,7 +77,9 @@ preloadimages(preloadImageList, function () {
// showPosterPage();
// createPoster();
}, function (progress) {});
}, function (progress) {
$('.loading-page .loading-text').text(Math.floor(progress * 100) + '%');
});
//公用图片地址前缀
const imagesUrl = 'http://ccb-lantern.izhida.cn/Public/static/image2/';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment