|
@@ -347,6 +347,20 @@
|
|
|
-webkit-transform: scaleY(.5);
|
|
|
transform: scaleY(.5);
|
|
|
}
|
|
|
+ .easyalert {
|
|
|
+ position: fixed;
|
|
|
+ background-color: rgba(0,0,0,0.7);
|
|
|
+ top: 50%;
|
|
|
+ color: #fff;
|
|
|
+ z-index: 999;
|
|
|
+ border-radius: 6px;
|
|
|
+ padding: 17px 20px;
|
|
|
+ font-size: 15px;
|
|
|
+ line-height: 22px;
|
|
|
+ max-width: 260px;
|
|
|
+ text-align: center;
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
</style>
|
|
|
<div class="app-layout-header">
|
|
|
<span class="app-back jyapp-icon jyapp-icon-zuojiantou"></span>
|
|
@@ -806,6 +820,7 @@
|
|
|
$(".loading_").hide();
|
|
|
canpay = true;
|
|
|
})
|
|
|
+
|
|
|
})
|
|
|
|
|
|
var interval
|
|
@@ -1305,6 +1320,36 @@
|
|
|
}
|
|
|
*/
|
|
|
|
|
|
+ //提示框
|
|
|
+ var EasyAlert = {
|
|
|
+ timeout: null,
|
|
|
+ waitTime: 1000,
|
|
|
+ show: function(text, css, waitTime) {
|
|
|
+ if (this.timeout != null) {
|
|
|
+ clearTimeout(this.timeout);
|
|
|
+ this.hide();
|
|
|
+ this.timeout = null;
|
|
|
+ }
|
|
|
+ var thisClass = this;
|
|
|
+ this.timeout = setTimeout(function() {
|
|
|
+ thisClass.hide();
|
|
|
+ thisClass.timeout = null;
|
|
|
+ }, waitTime ? waitTime : this.waitTime);
|
|
|
+ $("body").append('<div class="easyalert" id="easyAlert">' + text + '</div>');
|
|
|
+ $("#easyAlert").css({
|
|
|
+ "left": "50%",
|
|
|
+ "margin-top": -($("#easyAlert").outerHeight() / 2),
|
|
|
+ "margin-left": -($("#easyAlert").outerWidth() / 2)
|
|
|
+ }).show();
|
|
|
+ },
|
|
|
+ hide: function() {
|
|
|
+ $("#easyAlert").remove();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //
|
|
|
+ function showToast (content) {
|
|
|
+ EasyAlert.show(content,"",3000);
|
|
|
+ }
|
|
|
</script>
|
|
|
<!--百度统计end-->
|
|
|
{{include "/common/baiducc.html"}}
|