Views/Home/Js/HomePage.js
(开头部分) 22KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
layui.use(['index', 'laydate', 'carousel', 'element', 'layer', 'echarts', 'micro'], function () {
var $ = layui.$
, form = layui.form
, laydate = layui.laydate
, carousel = layui.carousel
, element = layui.element
, layer = layui.layer
, echarts = layui.echarts
, micro = layui.micro
, device = layui.device();
var MID = $("#txtMID").val();
//轮播切换
$('.layadmin-carousel').each(function () {
var othis = $(this);
carousel.render({
elem: this
, width: '100%'
, arrow: 'none'
, interval: othis.data('interval')
, autoplay: othis.data('autoplay') === true
, trigger: (device.ios || device.android) ? 'click' : 'hover'
, anim: othis.data('anim')
});
});
element.render('progress');
//自定义函数
var mGet = {
//按日周月年申请量统计
GetApplyToQty: function (queryType, customDate) {
var url = '/Views/Home/HomePage.ashx',
parameter = { "action": "View","mid":MID, "datatype":"Qty", "querytype": queryType, "customDate": customDate };
$.ajax({
async: true,
type: 'post',
dataType: 'json',
url: url,
data: parameter,
cache: false,
beforeSend: function () {
},
success: function (d) {
$('#p' + queryType + 'Qty').html(d.currQty);
$('#spanDiff' + queryType+'Qty').html(d.diffQty);
},
error: function () {
}
});
},
GetApplyToChart: function (queryType, customDate) {
var url = '/Views/Home/HomePage.ashx',
后面还有 560 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
