Hplus(H+) 后台主题 UI 框架
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
//欢迎信息
|
||||
|
||||
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+,如果您在使用的过程中有碰到问题,可以参考开发文档,感谢您的支持。');
|
||||
});
|
||||
Reference in New Issue
Block a user