自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

鹿惊的博客

真正的骄傲是不在乎鲜花与掌声,而只在乎内心的感受。

  • 博客(73)
  • 资源 (2)
  • 收藏
  • 关注

原创 搜索过的问题集合(主要是Ext.js5)

用Excel做了每一日的工作总结,搜索到了什么问题,学习到了什么方法。积累了很多。公司在来年会用winform开发,用C#写。这不是我的技术方向,所以开年后我会去往北京。这些链接做一个整理。 我很舍不得这个公司,我是个新手,没有编程的基础,专业也不和计算机相关。我从入职的第一天开始就想要发挥自己的能力。我拼命的做,但是总不能得到自己的满意。因为我在这个公司实在学习到了太多的东西,我只是希望我的付出

2016-02-01 11:58:17 951 1

原创 商品的页面

商品的页面实际上也只有列表页,添加页,编辑页,查看页。在商品里面好好研究了一下jstree控件和ui-options=”validateOptions”表单提交控件。这也是我第一次模仿源码写插件。写出想要的效果之后我真的非常高兴,哈哈。 1、jstree//树 $scope.jstreeOption = { 'plugins': [ "json_d

2016-02-01 11:04:37 663

原创 Angular.js(出库查看)

查看就非常简单了,直接贴代码吧。 1、控制器app.controller("search", ['$scope', 'app_settings', 'SystemParam', '$http', 'Post', 'Get', '$state', '$stateParams',function ($scope, app_settings, SystemParam, $http, Post, Get

2016-02-01 09:37:45 755

原创 Angular.js(出库编辑)

编辑,编辑就是先请求一次将数据绑上,修改之后,再发送一次请求,将数据传给后台。编辑=查看+添加。 1、表单提交<form class=" form-inline m-l m-b" ng-submit="save()"> <div class="rows"> <div class="hbox col-lg-12 no-padder"> <div class="col

2016-02-01 09:31:40 949

原创 Angular.js(出库增加)

这个页面让我真正理解了前端如何在页面显示数据。后台传过来的数据需要我做结构上的修改之后再传给后台,当时写了数组和循环,后来发现了更加简单的方式。模型对象始终使用一个,操作页面数据的模型和后台的模型合用一个。业务逻辑不能局部完成,要有整体的概念。这个页面处理数据的时候老大还花时间给我讲解了一番,真的十分感谢他。(虽然吓得我连午饭都没有吃) 管理代码是个很好得习惯,时不时回头整理一遍就像抚摸自己的孩子

2016-01-30 18:31:56 749

原创 Angular.js(出库列表页)

Angular项目做了3个月,挑出重点说一下。 首先是我的出库页面。 因为是在框架上做的开发,css样式用的是框架定义好的,比如width用的省略w代替,15px。说说绑值 1、如何在下拉控件进行绑值。 <select class="m-l-xl conter" ui-jq="multiselect" multiple="multiple" ui-options="wareselects">

2016-01-30 14:54:17 734

原创 Ext.js古怪的问题(innerHTML)

在使用模板的时候总会报一个warning [W] XTemplate evaluation exception: Cannot set property ‘innerHTML’ of null查了一下API ChildContentClearedWhenSettingInnerHTML : Boolean true if created child elements lose their in

2016-01-20 18:45:27 720

原创 Ext.js 古怪的问题(表单布局崩溃)

在表单里需要监听beforerender的事件添加模板,但是会报错,很古怪:Uncaught TypeError: Cannot read property ‘parentNode’ of null猜测是render事件对表单布局做出了影响,不过仅限于稍微复杂点的表单,解决办法items: [{ listeners: {

2016-01-20 10:41:39 792

原创 增加在节点上的事件

listeners: { 'selectionchange': function (view, rs,node) { }, 'beforeitemexpand': function (node, eOpts)// 节点展开监听 { }, 'nodecollapse': function (node, eOpt

2016-01-18 12:03:24 441

转载 上传图片(上传前预览)

非常荣幸能得到下面这段代码,实现了EXT中图片上传前的预览。可惜地址我没有保存。 下面这段代码可以直接在项目中使用xtype,记得require就行。效果如下: /** * Created by Bane.Shi. * Copyright MoenSun * User: Bane.Shi * Date: 2016/1/10 * Time: 14:45 */Ext.define('M

2016-01-17 17:27:10 346

原创

这个树,直接上代码吧 首先,UI上还是选择了放按钮而不是左键菜单 tbar: [ { xtype: 'splitbutton', text: '添加', itemId: 'addnodebutton', glyph: 0xf055, //collapse:true, menu:{

2016-01-17 17:12:07 387

原创 模板(Ext.js)

星期五下班后,打开excel表总结工作,被老大吐槽了。所以我决定博客和本子都利用起来。 1、简单的模板渲染 第一步是创建模板实例//var marktpl = new Ext.XTemplate(// '<table class="mark" border=1px cellspacing=0 width=485px>',// '<tpl if="xindex == 1"><td st

2016-01-17 16:22:52 548

原创 Ext.js问题重现整理(3)(reference)(实例化后才能引用)

Ext.define('MTTECERP.view.stomer.addwoCtrl', { extend: 'Ext.app.ViewController', alias: 'controller.woCtrl', showWindow: function (obj) { var win = this.lookupReference('popupWindow');

2015-12-31 18:44:31 1000

翻译 Ext.js5树—展开的树和不展开的树(apply和applyIf)(55)

/** * This example shows basic drag and drop node moving in a tree. In this implementation * there are no restrictions and anything can be dropped anywhere except appending to nodes * marked "leaf"

2015-12-22 17:27:51 887

翻译 Ext.js5树—基本树(54)

view/** * This example demonstrates basic tree configuration. * 这个例子展示了树的配置 */Ext.define('KitchenSink.view.tree.BasicTrees', { extend: 'Ext.Container', xtype: 'basic-trees', width: 640,

2015-12-22 16:08:29 419 1

翻译 Ext.js5表单—(自定义错误信息)(formBind)(53)

View/** * This example shows a common site registration form. The form appears to be simple but * it shows a few special things: * 这个例子展示了一个普通的页面登录表单,这个表单看起来很简单但是他展示了一些比较特别的事儿: * - The display of f

2015-12-22 14:57:56 1824

翻译 Ext.js5表单—即时查询(结合Ext.Template和远程数据)(52)

/** * This is a more advanced example that shows how you can combine Ext.Template and a * remote data store to create a "live search" feature. Try searching for terms like * "form", or "grid". *这里例

2015-12-22 14:34:45 673

翻译 Ext.js5表单—(triggers触发器)(baseCSSPrefix)(specialkey)利用Ext.js提供的框架创建自己的表单(查询表单)(51)

view/** * Ext JS provides many types of form fields to build interactive and rich forms. However, * it also provides a complete framework for building new types of fields 'quickly. The * search fiel

2015-12-22 11:42:02 2847

翻译 Ext.js5表单—验证vtype扩展(时间段以及密码确认)(50)

view/** * Advanced validation examples using VTypes * 对于Vtypes验证例子的扩展 */Ext.define('KitchenSink.view.form.AdvancedVTypes', { extend: 'Ext.container.Container', xtype: 'form-advtypes', c

2015-12-22 09:45:34 559

翻译 Ext.js5表单—有真实的load,submit行为的表单(reader在json.xml中record的区别)(49)

view/** * This is a very simple example of using XML for load and submit of data with an Ext * dynamic form. * 这是一个非常简单的例子,使用XML来加载表单数据和提交表单数据 */Ext.define('KitchenSink.view.form.XmlForm', {

2015-12-21 18:20:07 926

翻译 Ext.js5表格—多列的表格(比fieldcontainer布局效率很多)(48)

/** * Demonstrates a simple contact form. * 示例一个简单的联系表格 */Ext.define('KitchenSink.view.form.MultiColumn', { extend: 'Ext.form.Panel', xtype: 'form-multicolumn', title: 'Multi Column For

2015-12-21 17:16:39 811

翻译 Ext.js5表单—(在mousedown的时候就进行验证)(并且显示错误信息的时候样式会自动变化)hbox的布局(47)

/** * In the following example, the space needed for the email validation error message is * taken automatically from the field size when needed. The mousedown event is being used * for validation f

2015-12-21 17:13:06 501

翻译 Ext.js表单—Vbox布局(46)

/** * This example shows how to use vbox layout with Ext JS Forms. * 怎么用vbox布局表单 */Ext.define('KitchenSink.view.form.VBoxLayoutForm', { extend: 'Ext.window.Window', xtype: 'form-vboxlayout'

2015-12-21 17:02:12 523

翻译 Ext.js5表单,表格—(等级,评级)小部件(45)

view/** * Demonstrates the rating widget in a form and grid column. * 在表和网格中使用rating widget */Ext.define('KitchenSink.view.form.RatingForm', { extend: 'Ext.panel.Panel', xtype: 'form-rating

2015-12-21 16:30:18 605

翻译 Ext.js5表单—购物车付款表(表单绑值copy)( listConfig)(43)

view/** * This shows an example of a common shopping cart checkout form. It demonstrates uses * of FieldContainer and various layouts for arranging and aligning fields, ComboBox * fields for state a

2015-12-21 14:56:30 1814

翻译 Ext.js5表单—注册表单(42)

view/** * Demonstrates a simple registration form. * 展示了一个简单的注册表单 */Ext.define('KitchenSink.view.form.RegisterForm', { extend: 'Ext.form.Panel', xtype: 'form-register', frame: true,

2015-12-21 13:53:28 566

翻译 Ext.js5表单—请联系我们(41)

view/** * This shows an example of a common "Contact Us" form in a popup window. The form uses * vbox and hbox layouts to achieve a uniform flexible layout even when the window is * resized. *这个例子

2015-12-21 11:52:19 447

翻译 Ext.js5表单—登录表单(40)

/** * Demonstrates a simple login form. * 演示一个简单的登录表 */Ext.define('KitchenSink.view.form.LoginForm', { extend: 'Ext.form.Panel', xtype: 'form-login', title: 'Login', frame:true,

2015-12-21 11:25:08 414

翻译 Ext.js5小鲱鱼域(表单域)(39)

/** * Shows how the Slider control can be used in a form and participate like a form field. * 展示在一个表单里如何添加使用滑块控制,就像一个表单字段一样 */Ext.define('KitchenSink.view.form.SliderField', { extend: 'Ext.form

2015-12-21 11:21:29 438

翻译 Ext.js5(radio group布局能力)(38)

view/** * This example demonstrates the flexible layout capabilities of the RadioGroup class. * It also shows that you can validate radios as a group - try submitting the form before * changing any

2015-12-21 11:10:34 504

翻译 Ext.js5(验证)(CheckboxGroup 类的布局能力)(37)

view/** * This example demonstrates the flexible layout capabilities of the CheckboxGroup class. * 这个例子演示了CheckboxGroup 类灵活的布局能力 * It also shows that you can validate checkboxes as a group - try sub

2015-12-21 11:00:26 1017

翻译 Ext.js5(表单)的容器(表单load测试数据)(表单填写的数据的保存)(vtype)(combineErrors)(插入())(文本框的布局)(36)

view/** * The FieldContainer\'s child items are arranged like in any other container, using the * layout configuration property. In this example, each FieldContainer is set to use an * HBox layout.

2015-12-21 10:08:20 787

翻译 Ext.js各种表单类型的集合(35)

/** * This example shows examples of the various supported form field types. * 这个例子展示的是不同的表单类型 */Ext.define('KitchenSink.view.form.FieldTypes', { extend: 'Ext.form.Panel', xtype: 'form-fiel

2015-12-21 09:38:10 650

翻译 Ext.js5(弹出搜索表单)(给一个面板添加数据)(34)

/** * This example shows how to use the "multiselector" component to build a selection of * records from a larger set. The "multiselector" is basically a Grid component with a * popup search form.

2015-12-21 09:17:30 707

翻译 Ext.js5表单文本—标签文本(33)

View/** * This example shows how to use the "tagfield" multi-value selector. * 这个例子展示了怎么去使用tagfield来进行多值选择 */Ext.define('KitchenSink.view.form.Tag', { extend: 'Ext.panel.Panel', xtype: 'for

2015-12-20 15:10:25 681

翻译 Ext.js5含网格的表单(并且点击网格的时候,信息会传递到表单中,包括Radio的值)(32)

view/** * This Form demonstrates the fact that by virtue of inheriting from the Ext.Container * class, an Ext.form.Panel can contain any Ext.Component. * 这个表单演示了因为继承了Ext.Container类, Ext.form.Panel可

2015-12-20 14:53:05 366

翻译 Ext.js5文本域的自我复制(fieldreplicator插件)(31)

/** * This example illustrates the use of plugins to alter the default behaviour of Components. * The <b>Send To</b> field clones itself until the final one is left blank to allow * multiple mail re

2015-12-20 14:32:13 543

翻译 Ext.js5表单的文件上传(toast)(30)

view/** * This example demonstrates use of Ext.form.field.File, a file upload field with custom * rendering, and error handling. * 文件上传,自定义字段呈现和错误处理 */Ext.define('KitchenSink.view.form.FileUploads

2015-12-20 14:22:29 1277

翻译 Ext.js5(加载本地数据)(自定义模板完成自定义UI)(29)

view/** * This example illustrates a combo box which loads data from a local array * and uses a custom item template. * 这个例子演示了组合框从本地数组加载数据,并使用了一个自定义的模板 */Ext.define('KitchenSink.view.form.combobo

2015-12-20 14:05:32 547

翻译 Ext.js5(自定义的下拉列表模板)(从服务器加载数据)(28)

view/** * This example illustrates a combo box which loads the data source from a server * but queries the local result set. It uses a custom item template for the dropdown list. * 这个例子模拟了下拉框从服务器加载数

2015-12-20 13:59:27 921

前端知识树图

前端需要学习的东西很多,新手时常觉得非常的苦恼,就算是工作了一年之后的人也会对需要扩展得方向犹豫不定的时候,这个树图列举了一个优秀的前端所需要掌握得技术。

2015-12-09

静态网页(纯CSS和html)

静态网页,参加了教程,重点是响应式页面的实现,对css布局有了更深的认识。

2015-10-10

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除