员工生日分机外接显示卡 [英] Ext.Container Display Card of Employee Birthday

查看:87
本文介绍了员工生日分机外接显示卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在此url上找到以下示例员工生日": http://examples.sencha.com/coworkee/#home ,但是我不知道很多ext js及其方法或事件,有人可以帮我吗.

I'm trying to do the following example Employee Birthday locate on this url : http://examples.sencha.com/coworkee/#home , but I do not know to much ext js and their methods or events can someone can help me please.

推荐答案

这里是: FIDDLE
网站上的主题(例如,您给出的例子)是Triton,它本身会加载字体.
我使用了 Ext.view.View .您必须通过 Ext.XTemplate 并存储数据.这样您就可以填充卡片.
对于样式,请打开index.html.
iframe的背景色(显示视图的位置),当您切换到Triton时,更改为与示例中给出的相同的颜色(#f5f5f5),因此可能看不到差异,所以这里是预览:

Here's the: FIDDLE
Theme on the site(you gave as an example) is Triton and it loads fonts itself.
I used Ext.view.View. You must pass Ext.XTemplate and store with data. So you can populate cards.
For styles open index.html.
Background color of the iframe(there where view is shown), when you switch to Triton, changes to the same color as it was given in your example(#f5f5f5) and because of this there difference may can't be seen, so here's the preview:


我做了另一个小提琴,您可以在其中填充卡片,并添加了一些XTemplate函数以根据事件类型来改变颜色和文本:


I made another fiddle where you can populate cards, added some XTemplate functions to differ colors and text according to event type:

FIDDLE

这篇关于员工生日分机外接显示卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆