• This project
    • Loading...
  • Sign in

ztra / ecology · Files

Go to a project

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • ecology
  • ..
  • model
  • TipPanel.js
  • 初次提交
    b060adc7
    by 翟凤史
    2022-09-22 14:17:16 +0800  
    Browse Files
TipPanel.js 466 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
define(["utils"], function (_u) {
    'use strict';

    function TipPanel() { 
    }

    TipPanel.prototype = {
        transferToVM: function (dm) {
            return {
                iconPath: dm.pic_path || "/mobilemode/piclibrary/03-E9_flat/success.png",
                title: dm.title,
                subTitle: dm.sub_title,
                layoutType:dm.layoutType == "2"? "horizontal":"vertical"
            };
        }
    };

    return TipPanel;
});