web/bundles/topxiaadmin/js/controller/account-center/index.js

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

define(function (require, exports, module) {

    var Notify = require('common/bootstrap-notify');
    var Validator = require('bootstrap.validator');
    require('common/validator-rules').inject(Validator);
    require('echarts');

    exports.run = function () {
        $('.js-week-data-popover').popover({
            html: true,
            trigger: 'hover',
            placement: 'bottom',
            template: '<div class="popover tata-popover tata-popover-lg" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>',
            content: function() {

                var html = $(this).siblings('.popover-content').html();
                return html;
            }
        });

        $('.js-data-popover').popover({
            html: true,
            trigger: 'hover',
            placement: 'bottom',
            template: '<div class="popover tata-popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>',
            content: function() {

                var html = $(this).siblings('.popover-content').html();
                return html;
            }
        });

        //ajax 获取数据
        loadAjaxData();

        //图表
        payExplore();
        productExplore();
        financeCountStatistic();

        //事件
        registerSwitchEvent();


    };

    var loadAjaxData = function () {
        siteOverviewData();
    }

    var registerSwitchEvent = function () {

        DataSwitchEvent('.js-finance-switch-button', financeCountStatistic);
        DataSwitchEvent('.js-pay-switch-button', payExplore);
        DataSwitchEvent('.js-product-switch-button', productExplore);

    }

    //网站概览
    var siteOverviewData = function () {

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。