微信loading弹框改
This commit is contained in:
parent
39c64c9198
commit
0bab42256c
|
@ -16,7 +16,7 @@
|
|||
<div ng-view>
|
||||
<div class="loading-modal loading-bg" ng-if="loading">
|
||||
<div class="loading-box">
|
||||
<img src="img/loading.gif" alt=""/><span>加载中...</span>
|
||||
<img src="/images/wechat/loading.gif" alt=""/><span>加载中...</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
|
@ -377,7 +377,7 @@ app.directive('textAutoHeight', function($timeout){
|
|||
link: function(scope, element, attr){
|
||||
scope.text = '点击展开';
|
||||
$timeout(function(){
|
||||
var e = element.parent().children().eq(4);
|
||||
var e = element.parent().children().eq(5);
|
||||
var height = e[0].scrollHeight;
|
||||
var offsetHeight = e[0].offsetHeight;
|
||||
if(height>90){
|
||||
|
|
|
@ -73,7 +73,7 @@ a.underline {text-decoration:underline;}
|
|||
.praised-icon {background:url(/images/wechat/wechat_icon.png) -100px -76px no-repeat; width:20px; height:18px; display:inline-block; vertical-align:middle;}
|
||||
|
||||
/* loading 弹框*/
|
||||
.loading-bg {position:fixed; width:100%; height:100%; left:0; top:0; z-index:99; background:rgba(0, 0, 0, 0.3); overflow:hidden;}
|
||||
.loading-bg {position:fixed; width:100%; height:100%; left:0; top:0; z-index:99; background:rgba(206, 206, 206, 0.3); overflow:hidden;}
|
||||
.loading-box {position:absolute; top:50%; background:white; width:160px; height:72px; left:50%; margin-top:-36px; margin-left:-80px; text-align:center;}
|
||||
.loading-box img {margin-top: 12px; text-align: center;}
|
||||
.loading-box img {margin-top: 3px; text-align: center;}
|
||||
.loading-box span {display: block;}
|
||||
|
|
Loading…
Reference in New Issue