{"hidden":false,"children":[{"configs":{"itemId":"module"},"expanded":true,"children":[{"configs":{"itemId":"viewport1","html":"<table cellspacing='8' width='100%' style='color:white;text-align:center;'>\n  <tr>\n    <td style='background-color:#458B74;'>\n      <p style='font-size:25px;' itemId='lbl1'><\/p>\n      <p>今日已联系&nbsp;&nbsp;<span class='wb_glyph' style='font-size:30px;'>&#xf098;<\/span><\/p>\n    <\/td>\n    <td style='background-color:#009ACD;'>\n      <p style='font-size:25px;' itemId='lbl2'><\/p>\n      <p>新增用户数&nbsp;&nbsp;<span class='wb_glyph' style='font-size:30px;'>&#xf007;<\/span><\/p>\n    <\/td>\n    <td style='background-color:#D02090;'>\n      <p style='font-size:25px;' itemId='lbl3'><\/p>\n      <p>待回访客户&nbsp;&nbsp;<span class='wb_glyph' style='font-size:30px;'>&#xf112;<\/span><\/p>\n    <\/td>\n  <\/tr>\n<\/table>"},"expanded":false,"children":[],"type":"viewport","events":{"afterrender":"app.customerCount = 1;\napp.delayTime = 10;\napp.lbl1 = viewport.el.down('[itemId=lbl1]');\napp.lbl2 = viewport.el.down('[itemId=lbl2]');\napp.lbl3 = viewport.el.down('[itemId=lbl3]');\n\nfunction doCount() {\n  app.lbl1.update(app.customerCount);\n  if (app.customerCount < 59)\n    app.lbl2.update(app.customerCount);\n  if (app.customerCount < 36)\n    app.lbl3.update(app.customerCount);\n  setTimeout(function() {\n    if (app.customerCount < 80)\n      doCount();\n  }, app.delayTime++);\n  app.customerCount += 1;\n}\ndoCount();"}}],"type":"module"}],"roles":{"demo":1},"title":"我的客户","iconCls":"user_icon","inframe":false,"pageLink":""}