You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
simple-yewu/frontend/web/assets/js/welcome.js

48 lines
1012 B

5 years ago
/*
*
* H+ - 后台主题UI框架
* version 4.9
*
*/
//欢迎信息
layer.config({
extend: ['extend/layer.ext.js', 'skin/moon/style.css'],
skin: 'layer-ext-moon'
});
layer.ready(function () {
var html = $('#welcome-template').html();
$('a.viewlog').click(function () {
logs();
return false;
});
$('#pay-qrcode').click(function(){
var html=$(this).html();
parent.layer.open({
title: false,
type: 1,
closeBtn:false,
shadeClose:true,
area: ['600px', 'auto'],
content: html
});
});
function logs() {
parent.layer.open({
title: '初见倾心,再见动情',
type: 1,
area: ['700px', 'auto'],
content: html,
btn: ['确定', '取消']
});
}
console.log('欢迎使用H+,如果您在使用的过程中有碰到问题,可以参考开发文档,感谢您的支持。');
});