Repository: catalinaLi/ideaTaotao Branch: master Commit: 5453144a1da5 Files: 1077 Total size: 10.4 MB Directory structure: gitextract_ds5o588d/ ├── IDAE&Git_note.md ├── README.md ├── taotao-cart/ │ ├── pom.xml │ ├── taotao-cart-interface/ │ │ ├── pom.xml │ │ ├── src/ │ │ │ └── main/ │ │ │ └── java/ │ │ │ └── top/ │ │ │ └── catalinali/ │ │ │ └── cart/ │ │ │ └── service/ │ │ │ └── CartService.java │ │ └── taotao-cart-interface.iml │ ├── taotao-cart-service/ │ │ ├── pom.xml │ │ ├── src/ │ │ │ └── main/ │ │ │ ├── java/ │ │ │ │ └── top/ │ │ │ │ └── catalinali/ │ │ │ │ └── cart/ │ │ │ │ ├── app/ │ │ │ │ │ └── CartApplication.java │ │ │ │ └── service/ │ │ │ │ └── impl/ │ │ │ │ └── CartServiceImpl.java │ │ │ └── resources/ │ │ │ ├── banner.txt │ │ │ ├── log4j.properties │ │ │ ├── mybatis/ │ │ │ │ └── SqlMapConfig.xml │ │ │ ├── resource/ │ │ │ │ ├── db.properties │ │ │ │ └── resource.properties │ │ │ └── spring/ │ │ │ ├── applicationContext-dao.xml │ │ │ ├── applicationContext-redis.xml │ │ │ ├── applicationContext-service.xml │ │ │ └── applicationContext-trans.xml │ │ └── taotao-cart-service.iml │ └── taotao-cart.iml ├── taotao-cart-web/ │ ├── pom.xml │ ├── src/ │ │ └── main/ │ │ ├── java/ │ │ │ └── top/ │ │ │ └── catalinali/ │ │ │ └── cart/ │ │ │ ├── controller/ │ │ │ │ └── CartController.java │ │ │ └── interceptor/ │ │ │ └── LoginInterceptor.java │ │ ├── resources/ │ │ │ ├── conf/ │ │ │ │ └── resource.properties │ │ │ ├── log4j.properties │ │ │ └── spring/ │ │ │ └── springmvc.xml │ │ └── webapp/ │ │ ├── WEB-INF/ │ │ │ ├── jsp/ │ │ │ │ ├── cart.jsp │ │ │ │ ├── cartSuccess.jsp │ │ │ │ └── commons/ │ │ │ │ ├── footer.jsp │ │ │ │ ├── header.jsp │ │ │ │ ├── header1.jsp │ │ │ │ ├── mainmenu.jsp │ │ │ │ └── shortcut.jsp │ │ │ └── web.xml │ │ ├── css/ │ │ │ ├── cart.css │ │ │ ├── common.css │ │ │ ├── head.css │ │ │ └── jquery.alerts.css │ │ ├── index.jsp │ │ └── js/ │ │ ├── cart.js │ │ ├── common.js │ │ ├── cookie.js │ │ ├── e3mall.js │ │ ├── jquery.alerts.js │ │ ├── jquery.cookie.js │ │ └── shadow.js │ └── taotao-cart-web.iml ├── taotao-common/ │ ├── .idea/ │ │ ├── compiler.xml │ │ ├── encodings.xml │ │ ├── libraries/ │ │ │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_4_0.xml │ │ │ ├── Maven__com_fasterxml_jackson_core_jackson_core_2_4_2.xml │ │ │ ├── Maven__com_fasterxml_jackson_core_jackson_databind_2_4_2.xml │ │ │ ├── Maven__commons_codec_commons_codec_1_6.xml │ │ │ ├── Maven__commons_io_commons_io_1_3_2.xml │ │ │ ├── Maven__commons_logging_commons_logging_1_1_3.xml │ │ │ ├── Maven__commons_net_commons_net_3_3.xml │ │ │ ├── Maven__joda_time_joda_time_2_5.xml │ │ │ ├── Maven__junit_junit_4_12.xml │ │ │ ├── Maven__log4j_log4j_1_2_16.xml │ │ │ ├── Maven__org_apache_commons_commons_lang3_3_3_2.xml │ │ │ ├── Maven__org_apache_httpcomponents_httpclient_4_3_5.xml │ │ │ ├── Maven__org_apache_httpcomponents_httpcore_4_3_2.xml │ │ │ ├── Maven__org_hamcrest_hamcrest_core_1_3.xml │ │ │ ├── Maven__org_slf4j_slf4j_api_1_6_4.xml │ │ │ └── Maven__org_slf4j_slf4j_log4j12_1_6_4.xml │ │ ├── misc.xml │ │ ├── modules.xml │ │ └── workspace.xml │ ├── pom.xml │ ├── src/ │ │ ├── main/ │ │ │ └── java/ │ │ │ └── top/ │ │ │ └── catalinali/ │ │ │ └── common/ │ │ │ ├── jedis/ │ │ │ │ ├── JedisClient.java │ │ │ │ ├── JedisClientCluster.java │ │ │ │ └── JedisClientPool.java │ │ │ ├── pojo/ │ │ │ │ ├── EUDataGridResult.java │ │ │ │ ├── EUTreeNode.java │ │ │ │ ├── PictureResult.java │ │ │ │ ├── SearchItem.java │ │ │ │ ├── SearchResult.java │ │ │ │ └── TaotaoResult.java │ │ │ └── util/ │ │ │ ├── CookieUtils.java │ │ │ ├── ExceptionUtil.java │ │ │ ├── FastDFSClient.java │ │ │ ├── FtpUtil.java │ │ │ ├── IDUtils.java │ │ │ └── JsonUtils.java │ │ └── test/ │ │ └── java/ │ │ └── top/ │ │ └── catalinali/ │ │ └── AppTest.java │ └── taotao-common.iml ├── taotao-content/ │ ├── pom.xml │ ├── taotao-content-interface/ │ │ ├── pom.xml │ │ ├── src/ │ │ │ └── main/ │ │ │ └── java/ │ │ │ └── top/ │ │ │ └── catalinali/ │ │ │ └── content/ │ │ │ └── service/ │ │ │ ├── ContentCategoryService.java │ │ │ └── ContentService.java │ │ └── taotao-content-interface.iml │ ├── taotao-content-service/ │ │ ├── pom.xml │ │ ├── src/ │ │ │ └── main/ │ │ │ ├── java/ │ │ │ │ └── top/ │ │ │ │ └── catalinali/ │ │ │ │ └── content/ │ │ │ │ ├── app/ │ │ │ │ │ └── ContentApplication.java │ │ │ │ └── service/ │ │ │ │ └── impl/ │ │ │ │ ├── ContentCategoryServiceImpl.java │ │ │ │ └── ContentServiceImpl.java │ │ │ ├── resources/ │ │ │ │ ├── banner.txt │ │ │ │ ├── log4j.properties │ │ │ │ ├── mybatis/ │ │ │ │ │ └── SqlMapConfig.xml │ │ │ │ ├── resource/ │ │ │ │ │ ├── db.properties │ │ │ │ │ └── resource.properties │ │ │ │ └── spring/ │ │ │ │ ├── applicationContext-dao.xml │ │ │ │ ├── applicationContext-redis.xml │ │ │ │ ├── applicationContext-service.xml │ │ │ │ └── applicationContext-trans.xml │ │ │ └── test/ │ │ │ └── top/ │ │ │ └── catalinali/ │ │ │ └── content/ │ │ │ └── test/ │ │ │ └── TestPublish.java │ │ └── taotao-content-service.iml │ └── taotao-content.iml ├── taotao-item-web/ │ ├── pom.xml │ ├── src/ │ │ └── main/ │ │ ├── java/ │ │ │ └── top/ │ │ │ └── catalinali/ │ │ │ └── item/ │ │ │ ├── controller/ │ │ │ │ └── ItemController.java │ │ │ ├── listener/ │ │ │ │ └── HtmlGenListener.java │ │ │ └── pojo/ │ │ │ └── Item.java │ │ ├── resources/ │ │ │ ├── conf/ │ │ │ │ └── resource.properties │ │ │ ├── log4j.properties │ │ │ └── spring/ │ │ │ ├── applicationContext-activemq.xml │ │ │ └── springmvc.xml │ │ ├── test/ │ │ │ └── FreeMarkerTest.java │ │ └── webapp/ │ │ ├── WEB-INF/ │ │ │ ├── ftl/ │ │ │ │ ├── commons/ │ │ │ │ │ ├── footer.ftl │ │ │ │ │ ├── header.ftl │ │ │ │ │ ├── mainmenu.ftl │ │ │ │ │ └── shortcut.ftl │ │ │ │ ├── hello.ftl │ │ │ │ └── item.ftl │ │ │ ├── jsp/ │ │ │ │ ├── commons/ │ │ │ │ │ ├── footer.jsp │ │ │ │ │ ├── header.jsp │ │ │ │ │ ├── mainmenu.jsp │ │ │ │ │ └── shortcut.jsp │ │ │ │ └── item.jsp │ │ │ └── web.xml │ │ ├── css/ │ │ │ ├── base_w1200.css │ │ │ ├── bdsstyle.css │ │ │ ├── common.css │ │ │ ├── jquery.alerts.css │ │ │ ├── jquery.autocomplete.css │ │ │ └── product.css │ │ ├── index.jsp │ │ └── js/ │ │ ├── NewVersion.js │ │ ├── cart.js │ │ ├── common.js │ │ ├── cookie.js │ │ ├── e3mall.js │ │ ├── goods.js │ │ ├── jquery.alerts.js │ │ ├── jquery.cookie.js │ │ ├── jquery.lazyload.js │ │ ├── jquery.qrcode.js │ │ ├── jquery.thickbox.js │ │ ├── png.js │ │ ├── product.js │ │ ├── qiangGouPro.js │ │ ├── qrcode.js │ │ └── shadow.js │ └── taotao-item-web.iml ├── taotao-manage/ │ ├── pom.xml │ ├── taotao-manage-interface/ │ │ ├── pom.xml │ │ ├── src/ │ │ │ └── main/ │ │ │ ├── java/ │ │ │ │ └── top/ │ │ │ │ └── catalinali/ │ │ │ │ └── service/ │ │ │ │ ├── ItemCatService.java │ │ │ │ └── ItemService.java │ │ │ ├── jetspeed/ │ │ │ │ └── web.xml │ │ │ └── webapp/ │ │ │ ├── WEB-INF/ │ │ │ │ ├── portlet.xml │ │ │ │ ├── tld/ │ │ │ │ │ └── portlet.tld │ │ │ │ └── web.xml │ │ │ ├── help.jsp │ │ │ ├── maximized.jsp │ │ │ └── normal.jsp │ │ └── taotao-manage-interface.iml │ ├── taotao-manage-mapper/ │ │ ├── pom.xml │ │ ├── src/ │ │ │ └── main/ │ │ │ └── java/ │ │ │ └── top/ │ │ │ └── catalinali/ │ │ │ └── mapper/ │ │ │ ├── TbContentCategoryMapper.java │ │ │ ├── TbContentCategoryMapper.xml │ │ │ ├── TbContentMapper.java │ │ │ ├── TbContentMapper.xml │ │ │ ├── TbItemCatMapper.java │ │ │ ├── TbItemCatMapper.xml │ │ │ ├── TbItemDescMapper.java │ │ │ ├── TbItemDescMapper.xml │ │ │ ├── TbItemMapper.java │ │ │ ├── TbItemMapper.xml │ │ │ ├── TbItemParamItemMapper.java │ │ │ ├── TbItemParamItemMapper.xml │ │ │ ├── TbItemParamMapper.java │ │ │ ├── TbItemParamMapper.xml │ │ │ ├── TbOrderItemMapper.java │ │ │ ├── TbOrderItemMapper.xml │ │ │ ├── TbOrderMapper.java │ │ │ ├── TbOrderMapper.xml │ │ │ ├── TbOrderShippingMapper.java │ │ │ ├── TbOrderShippingMapper.xml │ │ │ ├── TbUserMapper.java │ │ │ └── TbUserMapper.xml │ │ └── taotao-manage-mapper.iml │ ├── taotao-manage-pojo/ │ │ ├── pom.xml │ │ ├── src/ │ │ │ ├── main/ │ │ │ │ └── java/ │ │ │ │ └── top/ │ │ │ │ └── catalinali/ │ │ │ │ └── pojo/ │ │ │ │ ├── TbContent.java │ │ │ │ ├── TbContentCategory.java │ │ │ │ ├── TbContentCategoryExample.java │ │ │ │ ├── TbContentExample.java │ │ │ │ ├── TbItem.java │ │ │ │ ├── TbItemCat.java │ │ │ │ ├── TbItemCatExample.java │ │ │ │ ├── TbItemDesc.java │ │ │ │ ├── TbItemDescExample.java │ │ │ │ ├── TbItemExample.java │ │ │ │ ├── TbItemParam.java │ │ │ │ ├── TbItemParamExample.java │ │ │ │ ├── TbItemParamItem.java │ │ │ │ ├── TbItemParamItemExample.java │ │ │ │ ├── TbOrder.java │ │ │ │ ├── TbOrderExample.java │ │ │ │ ├── TbOrderItem.java │ │ │ │ ├── TbOrderItemExample.java │ │ │ │ ├── TbOrderShipping.java │ │ │ │ ├── TbOrderShippingExample.java │ │ │ │ ├── TbUser.java │ │ │ │ └── TbUserExample.java │ │ │ └── test/ │ │ │ └── java/ │ │ │ └── top/ │ │ │ └── catalinali/ │ │ │ └── AppTest.java │ │ └── taotao-manage-pojo.iml │ ├── taotao-manage-service/ │ │ ├── pom.xml │ │ ├── src/ │ │ │ └── main/ │ │ │ ├── java/ │ │ │ │ └── top/ │ │ │ │ └── catalinali/ │ │ │ │ ├── app/ │ │ │ │ │ └── ManageApplication.java │ │ │ │ └── service/ │ │ │ │ └── impl/ │ │ │ │ ├── ItemCatServiceImpl.java │ │ │ │ └── ItemServiceImpl.java │ │ │ ├── resources/ │ │ │ │ ├── banner.txt │ │ │ │ ├── log4j.properties │ │ │ │ ├── mybatis/ │ │ │ │ │ └── SqlMapConfig.xml │ │ │ │ ├── resource/ │ │ │ │ │ ├── db.properties │ │ │ │ │ └── resource.properties │ │ │ │ └── spring/ │ │ │ │ ├── applicationContext-activemq.xml │ │ │ │ ├── applicationContext-dao.xml │ │ │ │ ├── applicationContext-redis.xml │ │ │ │ ├── applicationContext-service.xml │ │ │ │ └── applicationContext-trans.xml │ │ │ └── test/ │ │ │ └── top/ │ │ │ └── catalinali/ │ │ │ └── service/ │ │ │ ├── ActiveMqTest.java │ │ │ ├── ActiveSpringTest.java │ │ │ └── TestPublish.java │ │ └── taotao-manage-service.iml │ └── taotao-manage.iml ├── taotao-manage-web/ │ ├── pom.xml │ ├── src/ │ │ └── main/ │ │ ├── java/ │ │ │ └── top/ │ │ │ └── catalinali/ │ │ │ └── controller/ │ │ │ ├── ContentCatController.java │ │ │ ├── ContentController.java │ │ │ ├── ItemCatController.java │ │ │ ├── ItemController.java │ │ │ ├── PageController.java │ │ │ ├── PictureController.java │ │ │ └── SearchItemController.java │ │ ├── resources/ │ │ │ ├── conf/ │ │ │ │ ├── client.conf │ │ │ │ └── resource.properties │ │ │ ├── log4j.properties │ │ │ └── spring/ │ │ │ └── springmvc.xml │ │ ├── test/ │ │ │ └── top/ │ │ │ └── catalinali/ │ │ │ └── fast/ │ │ │ └── FastDFSTest.java │ │ └── webapp/ │ │ ├── WEB-INF/ │ │ │ ├── css/ │ │ │ │ ├── default.css │ │ │ │ └── e3.css │ │ │ ├── js/ │ │ │ │ ├── common.js │ │ │ │ ├── jquery-easyui-1.4.1/ │ │ │ │ │ ├── changelog.txt │ │ │ │ │ ├── demo/ │ │ │ │ │ │ ├── accordion/ │ │ │ │ │ │ │ ├── _content.html │ │ │ │ │ │ │ ├── actions.html │ │ │ │ │ │ │ ├── ajax.html │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── datagrid_data1.json │ │ │ │ │ │ │ ├── expandable.html │ │ │ │ │ │ │ ├── fluid.html │ │ │ │ │ │ │ ├── multiple.html │ │ │ │ │ │ │ └── tools.html │ │ │ │ │ │ ├── calendar/ │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── custom.html │ │ │ │ │ │ │ ├── disabledate.html │ │ │ │ │ │ │ ├── firstday.html │ │ │ │ │ │ │ └── fluid.html │ │ │ │ │ │ ├── combo/ │ │ │ │ │ │ │ ├── animation.html │ │ │ │ │ │ │ └── basic.html │ │ │ │ │ │ ├── combobox/ │ │ │ │ │ │ │ ├── actions.html │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── combobox_data1.json │ │ │ │ │ │ │ ├── combobox_data2.json │ │ │ │ │ │ │ ├── customformat.html │ │ │ │ │ │ │ ├── dynamicdata.html │ │ │ │ │ │ │ ├── fluid.html │ │ │ │ │ │ │ ├── group.html │ │ │ │ │ │ │ ├── icons.html │ │ │ │ │ │ │ ├── multiline.html │ │ │ │ │ │ │ ├── multiple.html │ │ │ │ │ │ │ ├── navigation.html │ │ │ │ │ │ │ ├── remotedata.html │ │ │ │ │ │ │ └── remotejsonp.html │ │ │ │ │ │ ├── combogrid/ │ │ │ │ │ │ │ ├── actions.html │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── datagrid_data1.json │ │ │ │ │ │ │ ├── fluid.html │ │ │ │ │ │ │ ├── initvalue.html │ │ │ │ │ │ │ ├── multiple.html │ │ │ │ │ │ │ └── navigation.html │ │ │ │ │ │ ├── combotree/ │ │ │ │ │ │ │ ├── actions.html │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── fluid.html │ │ │ │ │ │ │ ├── initvalue.html │ │ │ │ │ │ │ ├── multiple.html │ │ │ │ │ │ │ └── tree_data1.json │ │ │ │ │ │ ├── datagrid/ │ │ │ │ │ │ │ ├── aligncolumns.html │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── cacheeditor.html │ │ │ │ │ │ │ ├── cellediting.html │ │ │ │ │ │ │ ├── cellstyle.html │ │ │ │ │ │ │ ├── checkbox.html │ │ │ │ │ │ │ ├── clientpagination.html │ │ │ │ │ │ │ ├── columngroup.html │ │ │ │ │ │ │ ├── complextoolbar.html │ │ │ │ │ │ │ ├── contextmenu.html │ │ │ │ │ │ │ ├── custompager.html │ │ │ │ │ │ │ ├── datagrid_data1.json │ │ │ │ │ │ │ ├── datagrid_data2.json │ │ │ │ │ │ │ ├── fluid.html │ │ │ │ │ │ │ ├── footer.html │ │ │ │ │ │ │ ├── formatcolumns.html │ │ │ │ │ │ │ ├── frozencolumns.html │ │ │ │ │ │ │ ├── frozenrows.html │ │ │ │ │ │ │ ├── mergecells.html │ │ │ │ │ │ │ ├── multisorting.html │ │ │ │ │ │ │ ├── products.json │ │ │ │ │ │ │ ├── rowborder.html │ │ │ │ │ │ │ ├── rowediting.html │ │ │ │ │ │ │ ├── rowstyle.html │ │ │ │ │ │ │ ├── selection.html │ │ │ │ │ │ │ ├── simpletoolbar.html │ │ │ │ │ │ │ └── transform.html │ │ │ │ │ │ ├── datebox/ │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── buttons.html │ │ │ │ │ │ │ ├── dateformat.html │ │ │ │ │ │ │ ├── events.html │ │ │ │ │ │ │ ├── fluid.html │ │ │ │ │ │ │ ├── restrict.html │ │ │ │ │ │ │ ├── sharedcalendar.html │ │ │ │ │ │ │ └── validate.html │ │ │ │ │ │ ├── datetimebox/ │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── fluid.html │ │ │ │ │ │ │ ├── initvalue.html │ │ │ │ │ │ │ └── showseconds.html │ │ │ │ │ │ ├── datetimespinner/ │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── clearicon.html │ │ │ │ │ │ │ ├── fluid.html │ │ │ │ │ │ │ └── format.html │ │ │ │ │ │ ├── demo.css │ │ │ │ │ │ ├── dialog/ │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── complextoolbar.html │ │ │ │ │ │ │ ├── fluid.html │ │ │ │ │ │ │ └── toolbarbuttons.html │ │ │ │ │ │ ├── draggable/ │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── constrain.html │ │ │ │ │ │ │ └── snap.html │ │ │ │ │ │ ├── droppable/ │ │ │ │ │ │ │ ├── accept.html │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ └── sort.html │ │ │ │ │ │ ├── easyloader/ │ │ │ │ │ │ │ └── basic.html │ │ │ │ │ │ ├── filebox/ │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── buttonalign.html │ │ │ │ │ │ │ └── fluid.html │ │ │ │ │ │ ├── form/ │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── form_data1.json │ │ │ │ │ │ │ ├── load.html │ │ │ │ │ │ │ └── validateonsubmit.html │ │ │ │ │ │ ├── layout/ │ │ │ │ │ │ │ ├── _content.html │ │ │ │ │ │ │ ├── addremove.html │ │ │ │ │ │ │ ├── autoheight.html │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── complex.html │ │ │ │ │ │ │ ├── datagrid_data1.json │ │ │ │ │ │ │ ├── fluid.html │ │ │ │ │ │ │ ├── full.html │ │ │ │ │ │ │ ├── nestedlayout.html │ │ │ │ │ │ │ ├── nocollapsible.html │ │ │ │ │ │ │ ├── propertygrid_data1.json │ │ │ │ │ │ │ └── tree_data1.json │ │ │ │ │ │ ├── linkbutton/ │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── fluid.html │ │ │ │ │ │ │ ├── group.html │ │ │ │ │ │ │ ├── iconalign.html │ │ │ │ │ │ │ ├── plain.html │ │ │ │ │ │ │ ├── size.html │ │ │ │ │ │ │ ├── style.html │ │ │ │ │ │ │ └── toggle.html │ │ │ │ │ │ ├── menu/ │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── customitem.html │ │ │ │ │ │ │ └── events.html │ │ │ │ │ │ ├── menubutton/ │ │ │ │ │ │ │ ├── actions.html │ │ │ │ │ │ │ ├── alignment.html │ │ │ │ │ │ │ └── basic.html │ │ │ │ │ │ ├── messager/ │ │ │ │ │ │ │ ├── alert.html │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── interactive.html │ │ │ │ │ │ │ └── position.html │ │ │ │ │ │ ├── numberbox/ │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── fluid.html │ │ │ │ │ │ │ ├── format.html │ │ │ │ │ │ │ └── range.html │ │ │ │ │ │ ├── numberspinner/ │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── fluid.html │ │ │ │ │ │ │ ├── increment.html │ │ │ │ │ │ │ └── range.html │ │ │ │ │ │ ├── pagination/ │ │ │ │ │ │ │ ├── attaching.html │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── custombuttons.html │ │ │ │ │ │ │ ├── layout.html │ │ │ │ │ │ │ ├── links.html │ │ │ │ │ │ │ └── simple.html │ │ │ │ │ │ ├── panel/ │ │ │ │ │ │ │ ├── _content.html │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── customtools.html │ │ │ │ │ │ │ ├── fluid.html │ │ │ │ │ │ │ ├── footer.html │ │ │ │ │ │ │ ├── loadcontent.html │ │ │ │ │ │ │ ├── nestedpanel.html │ │ │ │ │ │ │ └── paneltools.html │ │ │ │ │ │ ├── progressbar/ │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ └── fluid.html │ │ │ │ │ │ ├── propertygrid/ │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── customcolumns.html │ │ │ │ │ │ │ ├── groupformat.html │ │ │ │ │ │ │ └── propertygrid_data1.json │ │ │ │ │ │ ├── resizable/ │ │ │ │ │ │ │ └── basic.html │ │ │ │ │ │ ├── searchbox/ │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── category.html │ │ │ │ │ │ │ └── fluid.html │ │ │ │ │ │ ├── slider/ │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── fluid.html │ │ │ │ │ │ │ ├── formattip.html │ │ │ │ │ │ │ ├── nonlinear.html │ │ │ │ │ │ │ ├── rule.html │ │ │ │ │ │ │ └── vertical.html │ │ │ │ │ │ ├── splitbutton/ │ │ │ │ │ │ │ ├── actions.html │ │ │ │ │ │ │ └── basic.html │ │ │ │ │ │ ├── tabs/ │ │ │ │ │ │ │ ├── _content.html │ │ │ │ │ │ │ ├── autoheight.html │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── dropdown.html │ │ │ │ │ │ │ ├── fixedwidth.html │ │ │ │ │ │ │ ├── fluid.html │ │ │ │ │ │ │ ├── hover.html │ │ │ │ │ │ │ ├── nestedtabs.html │ │ │ │ │ │ │ ├── striptools.html │ │ │ │ │ │ │ ├── tabimage.html │ │ │ │ │ │ │ ├── tabposition.html │ │ │ │ │ │ │ ├── tabstools.html │ │ │ │ │ │ │ └── tree_data1.json │ │ │ │ │ │ ├── textbox/ │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── button.html │ │ │ │ │ │ │ ├── clearicon.html │ │ │ │ │ │ │ ├── custom.html │ │ │ │ │ │ │ ├── fluid.html │ │ │ │ │ │ │ ├── icons.html │ │ │ │ │ │ │ ├── multiline.html │ │ │ │ │ │ │ └── size.html │ │ │ │ │ │ ├── timespinner/ │ │ │ │ │ │ │ ├── actions.html │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── fluid.html │ │ │ │ │ │ │ └── range.html │ │ │ │ │ │ ├── tooltip/ │ │ │ │ │ │ │ ├── _content.html │ │ │ │ │ │ │ ├── _dialog.html │ │ │ │ │ │ │ ├── ajax.html │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── customcontent.html │ │ │ │ │ │ │ ├── customstyle.html │ │ │ │ │ │ │ ├── position.html │ │ │ │ │ │ │ ├── toolbar.html │ │ │ │ │ │ │ └── tooltipdialog.html │ │ │ │ │ │ ├── tree/ │ │ │ │ │ │ │ ├── actions.html │ │ │ │ │ │ │ ├── animation.html │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── checkbox.html │ │ │ │ │ │ │ ├── contextmenu.html │ │ │ │ │ │ │ ├── dnd.html │ │ │ │ │ │ │ ├── editable.html │ │ │ │ │ │ │ ├── formatting.html │ │ │ │ │ │ │ ├── icons.html │ │ │ │ │ │ │ ├── lazyload.html │ │ │ │ │ │ │ ├── lines.html │ │ │ │ │ │ │ ├── tree_data1.json │ │ │ │ │ │ │ └── tree_data2.json │ │ │ │ │ │ ├── treegrid/ │ │ │ │ │ │ │ ├── actions.html │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── clientpagination.html │ │ │ │ │ │ │ ├── contextmenu.html │ │ │ │ │ │ │ ├── editable.html │ │ │ │ │ │ │ ├── fluid.html │ │ │ │ │ │ │ ├── footer.html │ │ │ │ │ │ │ ├── lines.html │ │ │ │ │ │ │ ├── reports.html │ │ │ │ │ │ │ ├── treegrid_data1.json │ │ │ │ │ │ │ ├── treegrid_data2.json │ │ │ │ │ │ │ └── treegrid_data3.json │ │ │ │ │ │ ├── validatebox/ │ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ │ ├── customtooltip.html │ │ │ │ │ │ │ └── validateonblur.html │ │ │ │ │ │ └── window/ │ │ │ │ │ │ ├── basic.html │ │ │ │ │ │ ├── customtools.html │ │ │ │ │ │ ├── fluid.html │ │ │ │ │ │ ├── footer.html │ │ │ │ │ │ ├── inlinewindow.html │ │ │ │ │ │ ├── modalwindow.html │ │ │ │ │ │ └── windowlayout.html │ │ │ │ │ ├── easyloader.js │ │ │ │ │ ├── licence_gpl.txt │ │ │ │ │ ├── locale/ │ │ │ │ │ │ ├── easyui-lang-af.js │ │ │ │ │ │ ├── easyui-lang-am.js │ │ │ │ │ │ ├── easyui-lang-ar.js │ │ │ │ │ │ ├── easyui-lang-bg.js │ │ │ │ │ │ ├── easyui-lang-ca.js │ │ │ │ │ │ ├── easyui-lang-cs.js │ │ │ │ │ │ ├── easyui-lang-cz.js │ │ │ │ │ │ ├── easyui-lang-da.js │ │ │ │ │ │ ├── easyui-lang-de.js │ │ │ │ │ │ ├── easyui-lang-el.js │ │ │ │ │ │ ├── easyui-lang-en.js │ │ │ │ │ │ ├── easyui-lang-es.js │ │ │ │ │ │ ├── easyui-lang-fr.js │ │ │ │ │ │ ├── easyui-lang-it.js │ │ │ │ │ │ ├── easyui-lang-jp.js │ │ │ │ │ │ ├── easyui-lang-nl.js │ │ │ │ │ │ ├── easyui-lang-pl.js │ │ │ │ │ │ ├── easyui-lang-pt_BR.js │ │ │ │ │ │ ├── easyui-lang-ru.js │ │ │ │ │ │ ├── easyui-lang-sv_SE.js │ │ │ │ │ │ ├── easyui-lang-tr.js │ │ │ │ │ │ ├── easyui-lang-zh_CN.js │ │ │ │ │ │ └── easyui-lang-zh_TW.js │ │ │ │ │ ├── plugins/ │ │ │ │ │ │ ├── jquery.accordion.js │ │ │ │ │ │ ├── jquery.calendar.js │ │ │ │ │ │ ├── jquery.combo.js │ │ │ │ │ │ ├── jquery.combobox.js │ │ │ │ │ │ ├── jquery.combogrid.js │ │ │ │ │ │ ├── jquery.combotree.js │ │ │ │ │ │ ├── jquery.datagrid.js │ │ │ │ │ │ ├── jquery.datebox.js │ │ │ │ │ │ ├── jquery.datetimebox.js │ │ │ │ │ │ ├── jquery.datetimespinner.js │ │ │ │ │ │ ├── jquery.dialog.js │ │ │ │ │ │ ├── jquery.draggable.js │ │ │ │ │ │ ├── jquery.droppable.js │ │ │ │ │ │ ├── jquery.filebox.js │ │ │ │ │ │ ├── jquery.form.js │ │ │ │ │ │ ├── jquery.layout.js │ │ │ │ │ │ ├── jquery.linkbutton.js │ │ │ │ │ │ ├── jquery.menu.js │ │ │ │ │ │ ├── jquery.menubutton.js │ │ │ │ │ │ ├── jquery.messager.js │ │ │ │ │ │ ├── jquery.numberbox.js │ │ │ │ │ │ ├── jquery.numberspinner.js │ │ │ │ │ │ ├── jquery.pagination.js │ │ │ │ │ │ ├── jquery.panel.js │ │ │ │ │ │ ├── jquery.parser.js │ │ │ │ │ │ ├── jquery.progressbar.js │ │ │ │ │ │ ├── jquery.propertygrid.js │ │ │ │ │ │ ├── jquery.resizable.js │ │ │ │ │ │ ├── jquery.searchbox.js │ │ │ │ │ │ ├── jquery.slider.js │ │ │ │ │ │ ├── jquery.spinner.js │ │ │ │ │ │ ├── jquery.splitbutton.js │ │ │ │ │ │ ├── jquery.tabs.js │ │ │ │ │ │ ├── jquery.textbox.js │ │ │ │ │ │ ├── jquery.timespinner.js │ │ │ │ │ │ ├── jquery.tooltip.js │ │ │ │ │ │ ├── jquery.tree.js │ │ │ │ │ │ ├── jquery.treegrid.js │ │ │ │ │ │ ├── jquery.validatebox.js │ │ │ │ │ │ └── jquery.window.js │ │ │ │ │ ├── readme.txt │ │ │ │ │ ├── src/ │ │ │ │ │ │ ├── easyloader.js │ │ │ │ │ │ ├── jquery.accordion.js │ │ │ │ │ │ ├── jquery.calendar.js │ │ │ │ │ │ ├── jquery.combobox.js │ │ │ │ │ │ ├── jquery.datebox.js │ │ │ │ │ │ ├── jquery.draggable.js │ │ │ │ │ │ ├── jquery.droppable.js │ │ │ │ │ │ ├── jquery.form.js │ │ │ │ │ │ ├── jquery.linkbutton.js │ │ │ │ │ │ ├── jquery.menu.js │ │ │ │ │ │ ├── jquery.parser.js │ │ │ │ │ │ ├── jquery.progressbar.js │ │ │ │ │ │ ├── jquery.propertygrid.js │ │ │ │ │ │ ├── jquery.resizable.js │ │ │ │ │ │ ├── jquery.slider.js │ │ │ │ │ │ ├── jquery.tabs.js │ │ │ │ │ │ └── jquery.window.js │ │ │ │ │ └── themes/ │ │ │ │ │ ├── black/ │ │ │ │ │ │ ├── accordion.css │ │ │ │ │ │ ├── calendar.css │ │ │ │ │ │ ├── combo.css │ │ │ │ │ │ ├── combobox.css │ │ │ │ │ │ ├── datagrid.css │ │ │ │ │ │ ├── datebox.css │ │ │ │ │ │ ├── dialog.css │ │ │ │ │ │ ├── easyui.css │ │ │ │ │ │ ├── filebox.css │ │ │ │ │ │ ├── layout.css │ │ │ │ │ │ ├── linkbutton.css │ │ │ │ │ │ ├── menu.css │ │ │ │ │ │ ├── menubutton.css │ │ │ │ │ │ ├── messager.css │ │ │ │ │ │ ├── numberbox.css │ │ │ │ │ │ ├── pagination.css │ │ │ │ │ │ ├── panel.css │ │ │ │ │ │ ├── progressbar.css │ │ │ │ │ │ ├── propertygrid.css │ │ │ │ │ │ ├── searchbox.css │ │ │ │ │ │ ├── slider.css │ │ │ │ │ │ ├── spinner.css │ │ │ │ │ │ ├── splitbutton.css │ │ │ │ │ │ ├── tabs.css │ │ │ │ │ │ ├── textbox.css │ │ │ │ │ │ ├── tooltip.css │ │ │ │ │ │ ├── tree.css │ │ │ │ │ │ ├── validatebox.css │ │ │ │ │ │ └── window.css │ │ │ │ │ ├── bootstrap/ │ │ │ │ │ │ ├── accordion.css │ │ │ │ │ │ ├── calendar.css │ │ │ │ │ │ ├── combo.css │ │ │ │ │ │ ├── combobox.css │ │ │ │ │ │ ├── datagrid.css │ │ │ │ │ │ ├── datebox.css │ │ │ │ │ │ ├── dialog.css │ │ │ │ │ │ ├── easyui.css │ │ │ │ │ │ ├── filebox.css │ │ │ │ │ │ ├── layout.css │ │ │ │ │ │ ├── linkbutton.css │ │ │ │ │ │ ├── menu.css │ │ │ │ │ │ ├── menubutton.css │ │ │ │ │ │ ├── messager.css │ │ │ │ │ │ ├── numberbox.css │ │ │ │ │ │ ├── pagination.css │ │ │ │ │ │ ├── panel.css │ │ │ │ │ │ ├── progressbar.css │ │ │ │ │ │ ├── propertygrid.css │ │ │ │ │ │ ├── searchbox.css │ │ │ │ │ │ ├── slider.css │ │ │ │ │ │ ├── spinner.css │ │ │ │ │ │ ├── splitbutton.css │ │ │ │ │ │ ├── tabs.css │ │ │ │ │ │ ├── textbox.css │ │ │ │ │ │ ├── tooltip.css │ │ │ │ │ │ ├── tree.css │ │ │ │ │ │ ├── validatebox.css │ │ │ │ │ │ └── window.css │ │ │ │ │ ├── color.css │ │ │ │ │ ├── default/ │ │ │ │ │ │ ├── accordion.css │ │ │ │ │ │ ├── calendar.css │ │ │ │ │ │ ├── combo.css │ │ │ │ │ │ ├── combobox.css │ │ │ │ │ │ ├── datagrid.css │ │ │ │ │ │ ├── datebox.css │ │ │ │ │ │ ├── dialog.css │ │ │ │ │ │ ├── easyui.css │ │ │ │ │ │ ├── filebox.css │ │ │ │ │ │ ├── layout.css │ │ │ │ │ │ ├── linkbutton.css │ │ │ │ │ │ ├── menu.css │ │ │ │ │ │ ├── menubutton.css │ │ │ │ │ │ ├── messager.css │ │ │ │ │ │ ├── numberbox.css │ │ │ │ │ │ ├── pagination.css │ │ │ │ │ │ ├── panel.css │ │ │ │ │ │ ├── progressbar.css │ │ │ │ │ │ ├── propertygrid.css │ │ │ │ │ │ ├── searchbox.css │ │ │ │ │ │ ├── slider.css │ │ │ │ │ │ ├── spinner.css │ │ │ │ │ │ ├── splitbutton.css │ │ │ │ │ │ ├── tabs.css │ │ │ │ │ │ ├── textbox.css │ │ │ │ │ │ ├── tooltip.css │ │ │ │ │ │ ├── tree.css │ │ │ │ │ │ ├── validatebox.css │ │ │ │ │ │ └── window.css │ │ │ │ │ ├── gray/ │ │ │ │ │ │ ├── accordion.css │ │ │ │ │ │ ├── calendar.css │ │ │ │ │ │ ├── combo.css │ │ │ │ │ │ ├── combobox.css │ │ │ │ │ │ ├── datagrid.css │ │ │ │ │ │ ├── datebox.css │ │ │ │ │ │ ├── dialog.css │ │ │ │ │ │ ├── easyui.css │ │ │ │ │ │ ├── filebox.css │ │ │ │ │ │ ├── layout.css │ │ │ │ │ │ ├── linkbutton.css │ │ │ │ │ │ ├── menu.css │ │ │ │ │ │ ├── menubutton.css │ │ │ │ │ │ ├── messager.css │ │ │ │ │ │ ├── numberbox.css │ │ │ │ │ │ ├── pagination.css │ │ │ │ │ │ ├── panel.css │ │ │ │ │ │ ├── progressbar.css │ │ │ │ │ │ ├── propertygrid.css │ │ │ │ │ │ ├── searchbox.css │ │ │ │ │ │ ├── slider.css │ │ │ │ │ │ ├── spinner.css │ │ │ │ │ │ ├── splitbutton.css │ │ │ │ │ │ ├── tabs.css │ │ │ │ │ │ ├── textbox.css │ │ │ │ │ │ ├── tooltip.css │ │ │ │ │ │ ├── tree.css │ │ │ │ │ │ ├── validatebox.css │ │ │ │ │ │ └── window.css │ │ │ │ │ ├── icon.css │ │ │ │ │ └── metro/ │ │ │ │ │ ├── accordion.css │ │ │ │ │ ├── calendar.css │ │ │ │ │ ├── combo.css │ │ │ │ │ ├── combobox.css │ │ │ │ │ ├── datagrid.css │ │ │ │ │ ├── datebox.css │ │ │ │ │ ├── dialog.css │ │ │ │ │ ├── easyui.css │ │ │ │ │ ├── filebox.css │ │ │ │ │ ├── layout.css │ │ │ │ │ ├── linkbutton.css │ │ │ │ │ ├── menu.css │ │ │ │ │ ├── menubutton.css │ │ │ │ │ ├── messager.css │ │ │ │ │ ├── numberbox.css │ │ │ │ │ ├── pagination.css │ │ │ │ │ ├── panel.css │ │ │ │ │ ├── progressbar.css │ │ │ │ │ ├── propertygrid.css │ │ │ │ │ ├── searchbox.css │ │ │ │ │ ├── slider.css │ │ │ │ │ ├── spinner.css │ │ │ │ │ ├── splitbutton.css │ │ │ │ │ ├── tabs.css │ │ │ │ │ ├── textbox.css │ │ │ │ │ ├── tooltip.css │ │ │ │ │ ├── tree.css │ │ │ │ │ ├── validatebox.css │ │ │ │ │ └── window.css │ │ │ │ └── kindeditor-4.1.10/ │ │ │ │ ├── kindeditor-all-min.js │ │ │ │ ├── kindeditor-all.js │ │ │ │ ├── kindeditor-min.js │ │ │ │ ├── kindeditor.js │ │ │ │ ├── lang/ │ │ │ │ │ ├── ar.js │ │ │ │ │ ├── en.js │ │ │ │ │ ├── ko.js │ │ │ │ │ ├── zh_CN.js │ │ │ │ │ └── zh_TW.js │ │ │ │ ├── license.txt │ │ │ │ ├── plugins/ │ │ │ │ │ ├── anchor/ │ │ │ │ │ │ └── anchor.js │ │ │ │ │ ├── autoheight/ │ │ │ │ │ │ └── autoheight.js │ │ │ │ │ ├── baidumap/ │ │ │ │ │ │ ├── baidumap.js │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── map.html │ │ │ │ │ ├── clearhtml/ │ │ │ │ │ │ └── clearhtml.js │ │ │ │ │ ├── code/ │ │ │ │ │ │ ├── code.js │ │ │ │ │ │ ├── prettify.css │ │ │ │ │ │ └── prettify.js │ │ │ │ │ ├── emoticons/ │ │ │ │ │ │ └── emoticons.js │ │ │ │ │ ├── filemanager/ │ │ │ │ │ │ └── filemanager.js │ │ │ │ │ ├── flash/ │ │ │ │ │ │ └── flash.js │ │ │ │ │ ├── image/ │ │ │ │ │ │ └── image.js │ │ │ │ │ ├── insertfile/ │ │ │ │ │ │ └── insertfile.js │ │ │ │ │ ├── lineheight/ │ │ │ │ │ │ └── lineheight.js │ │ │ │ │ ├── link/ │ │ │ │ │ │ └── link.js │ │ │ │ │ ├── map/ │ │ │ │ │ │ ├── map.html │ │ │ │ │ │ └── map.js │ │ │ │ │ ├── media/ │ │ │ │ │ │ └── media.js │ │ │ │ │ ├── multiimage/ │ │ │ │ │ │ ├── images/ │ │ │ │ │ │ │ └── swfupload.swf │ │ │ │ │ │ └── multiimage.js │ │ │ │ │ ├── pagebreak/ │ │ │ │ │ │ └── pagebreak.js │ │ │ │ │ ├── plainpaste/ │ │ │ │ │ │ └── plainpaste.js │ │ │ │ │ ├── preview/ │ │ │ │ │ │ └── preview.js │ │ │ │ │ ├── quickformat/ │ │ │ │ │ │ └── quickformat.js │ │ │ │ │ ├── table/ │ │ │ │ │ │ └── table.js │ │ │ │ │ ├── template/ │ │ │ │ │ │ ├── html/ │ │ │ │ │ │ │ ├── 1.html │ │ │ │ │ │ │ ├── 2.html │ │ │ │ │ │ │ └── 3.html │ │ │ │ │ │ └── template.js │ │ │ │ │ └── wordpaste/ │ │ │ │ │ └── wordpaste.js │ │ │ │ └── themes/ │ │ │ │ ├── default/ │ │ │ │ │ └── default.css │ │ │ │ ├── qq/ │ │ │ │ │ └── qq.css │ │ │ │ └── simple/ │ │ │ │ └── simple.css │ │ │ ├── jsp/ │ │ │ │ ├── content-add.jsp │ │ │ │ ├── content-category.jsp │ │ │ │ ├── content-edit.jsp │ │ │ │ ├── content.jsp │ │ │ │ ├── file-upload.jsp │ │ │ │ ├── index-item.jsp │ │ │ │ ├── index.jsp │ │ │ │ ├── item-add.jsp │ │ │ │ ├── item-edit.jsp │ │ │ │ ├── item-list.jsp │ │ │ │ ├── item-param-add.jsp │ │ │ │ ├── item-param-list.jsp │ │ │ │ └── login.jsp │ │ │ └── web.xml │ │ └── index.jsp │ └── taotao-manage-web.iml ├── taotao-order/ │ ├── pom.xml │ ├── taotao-order-interface/ │ │ ├── pom.xml │ │ ├── src/ │ │ │ └── main/ │ │ │ └── java/ │ │ │ └── top/ │ │ │ └── catalinali/ │ │ │ └── order/ │ │ │ ├── pojo/ │ │ │ │ └── OrderInfo.java │ │ │ └── service/ │ │ │ └── OrderService.java │ │ └── taotao-order-interface.iml │ ├── taotao-order-service/ │ │ ├── pom.xml │ │ ├── src/ │ │ │ └── main/ │ │ │ ├── java/ │ │ │ │ └── top/ │ │ │ │ └── catalinali/ │ │ │ │ └── order/ │ │ │ │ ├── app/ │ │ │ │ │ └── OrderApplication.java │ │ │ │ └── service/ │ │ │ │ └── impl/ │ │ │ │ └── OrderServiceImpl.java │ │ │ └── resources/ │ │ │ ├── banner.txt │ │ │ ├── log4j.properties │ │ │ ├── mybatis/ │ │ │ │ └── SqlMapConfig.xml │ │ │ ├── resource/ │ │ │ │ ├── db.properties │ │ │ │ └── resource.properties │ │ │ └── spring/ │ │ │ ├── applicationContext-dao.xml │ │ │ ├── applicationContext-redis.xml │ │ │ ├── applicationContext-service.xml │ │ │ └── applicationContext-trans.xml │ │ └── taotao-order-service.iml │ └── taotao-order.iml ├── taotao-order-web/ │ ├── pom.xml │ ├── src/ │ │ └── main/ │ │ ├── java/ │ │ │ └── top/ │ │ │ └── catalinali/ │ │ │ └── order/ │ │ │ ├── controller/ │ │ │ │ └── OrderController.java │ │ │ └── interceptor/ │ │ │ └── LoginInterceptor.java │ │ ├── resources/ │ │ │ ├── conf/ │ │ │ │ └── resource.properties │ │ │ ├── log4j.properties │ │ │ └── spring/ │ │ │ └── springmvc.xml │ │ └── webapp/ │ │ ├── WEB-INF/ │ │ │ ├── jsp/ │ │ │ │ ├── commons/ │ │ │ │ │ ├── footer.jsp │ │ │ │ │ ├── header.jsp │ │ │ │ │ └── shortcut.jsp │ │ │ │ ├── order-cart.jsp │ │ │ │ └── success.jsp │ │ │ └── web.xml │ │ ├── css/ │ │ │ ├── head.css │ │ │ ├── jquery.alerts.css │ │ │ ├── newpay.css │ │ │ └── order.css │ │ ├── index.jsp │ │ └── js/ │ │ ├── cart.js │ │ ├── common.js │ │ ├── cookie.js │ │ ├── e3mall.js │ │ ├── jquery.alerts.js │ │ ├── jquery.cookie.js │ │ ├── jquery.region.js │ │ ├── order.js │ │ └── shadow.js │ └── taotao-order-web.iml ├── taotao-parent/ │ ├── .idea/ │ │ ├── artifacts/ │ │ │ ├── taotao_cart_service_war.xml │ │ │ ├── taotao_cart_service_war_exploded.xml │ │ │ ├── taotao_cart_web_war.xml │ │ │ ├── taotao_cart_web_war_exploded.xml │ │ │ ├── taotao_content_service_war.xml │ │ │ ├── taotao_content_service_war_exploded.xml │ │ │ ├── taotao_item_web_war.xml │ │ │ ├── taotao_item_web_war_exploded.xml │ │ │ ├── taotao_manage_service_war.xml │ │ │ ├── taotao_manage_service_war_exploded.xml │ │ │ ├── taotao_manage_web_war.xml │ │ │ ├── taotao_manage_web_war_exploded.xml │ │ │ ├── taotao_order_service_war.xml │ │ │ ├── taotao_order_service_war_exploded.xml │ │ │ ├── taotao_order_web_war.xml │ │ │ ├── taotao_order_web_war_exploded.xml │ │ │ ├── taotao_portal_web_war.xml │ │ │ ├── taotao_portal_web_war_exploded.xml │ │ │ ├── taotao_search_service_war.xml │ │ │ ├── taotao_search_service_war_exploded.xml │ │ │ ├── taotao_search_web_war.xml │ │ │ ├── taotao_search_web_war_exploded.xml │ │ │ ├── taotao_sso_service_war.xml │ │ │ ├── taotao_sso_service_war_exploded.xml │ │ │ ├── taotao_sso_web_war.xml │ │ │ └── taotao_sso_web_war_exploded.xml │ │ ├── compiler.xml │ │ ├── dataSources/ │ │ │ ├── 1cfe4ed1-2469-48e0-9acc-7feb8ab6b9d9/ │ │ │ │ └── storage.xml │ │ │ └── 1cfe4ed1-2469-48e0-9acc-7feb8ab6b9d9.xml │ │ ├── dataSources.xml │ │ ├── encodings.xml │ │ ├── inspectionProfiles/ │ │ │ └── Project_Default.xml │ │ ├── libraries/ │ │ │ ├── Java_EE_6_Java_EE_6.xml │ │ │ ├── Maven__aopalliance_aopalliance_1_0.xml │ │ │ ├── Maven__c3p0_c3p0_0_9_1_1.xml │ │ │ ├── Maven__com_alibaba_druid_1_0_9.xml │ │ │ ├── Maven__com_alibaba_dubbo_2_5_3.xml │ │ │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_6_6.xml │ │ │ ├── Maven__com_fasterxml_jackson_core_jackson_core_2_6_6.xml │ │ │ ├── Maven__com_fasterxml_jackson_core_jackson_databind_2_4_2.xml │ │ │ ├── Maven__com_github_miemiedev_mybatis_paginator_1_2_15.xml │ │ │ ├── Maven__com_github_pagehelper_pagehelper_3_4_2_fix.xml │ │ │ ├── Maven__com_github_sgroschupf_zkclient_0_1.xml │ │ │ ├── Maven__commons_codec_commons_codec_1_6.xml │ │ │ ├── Maven__commons_fileupload_commons_fileupload_1_3_1.xml │ │ │ ├── Maven__commons_io_commons_io_1_3_2.xml │ │ │ ├── Maven__commons_io_commons_io_2_2.xml │ │ │ ├── Maven__commons_io_commons_io_2_3.xml │ │ │ ├── Maven__commons_logging_commons_logging_1_1_3.xml │ │ │ ├── Maven__commons_logging_commons_logging_1_2.xml │ │ │ ├── Maven__commons_net_commons_net_3_3.xml │ │ │ ├── Maven__fastdfs_client_fastdfs_client_1_25.xml │ │ │ ├── Maven__io_netty_netty_3_7_0_Final.xml │ │ │ ├── Maven__javax_servlet_jsp_api_2_0.xml │ │ │ ├── Maven__javax_servlet_servlet_api_2_5.xml │ │ │ ├── Maven__jline_jline_0_9_94.xml │ │ │ ├── Maven__joda_time_joda_time_2_5.xml │ │ │ ├── Maven__jstl_jstl_1_2.xml │ │ │ ├── Maven__junit_junit_3_8_1.xml │ │ │ ├── Maven__junit_junit_4_12.xml │ │ │ ├── Maven__log4j_log4j_1_2_17.xml │ │ │ ├── Maven__mysql_mysql_connector_java_5_1_32.xml │ │ │ ├── Maven__org_apache_activemq_activemq_all_5_11_2.xml │ │ │ ├── Maven__org_apache_commons_commons_lang3_3_3_2.xml │ │ │ ├── Maven__org_apache_commons_commons_pool2_2_4_2.xml │ │ │ ├── Maven__org_apache_httpcomponents_httpclient_4_3_5.xml │ │ │ ├── Maven__org_apache_httpcomponents_httpcore_4_4_4.xml │ │ │ ├── Maven__org_apache_httpcomponents_httpmime_4_5_2.xml │ │ │ ├── Maven__org_apache_solr_solr_solrj_4_10_3.xml │ │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_core_8_0_33.xml │ │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_el_8_0_33.xml │ │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_logging_juli_8_0_33.xml │ │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_0_33.xml │ │ │ ├── Maven__org_apache_zookeeper_zookeeper_3_4_7.xml │ │ │ ├── Maven__org_aspectj_aspectjweaver_1_8_9.xml │ │ │ ├── Maven__org_codehaus_woodstox_wstx_asl_3_2_7.xml │ │ │ ├── Maven__org_freemarker_freemarker_2_3_23.xml │ │ │ ├── Maven__org_hamcrest_hamcrest_core_1_3.xml │ │ │ ├── Maven__org_javassist_javassist_3_18_1_GA.xml │ │ │ ├── Maven__org_mybatis_mybatis_3_2_8.xml │ │ │ ├── Maven__org_mybatis_mybatis_spring_1_2_2.xml │ │ │ ├── Maven__org_noggit_noggit_0_5.xml │ │ │ ├── Maven__org_quartz_scheduler_quartz_2_2_2.xml │ │ │ ├── Maven__org_slf4j_slf4j_api_1_7_21.xml │ │ │ ├── Maven__org_slf4j_slf4j_log4j12_1_6_4.xml │ │ │ ├── Maven__org_springframework_boot_spring_boot_1_3_5_RELEASE.xml │ │ │ ├── Maven__org_springframework_boot_spring_boot_autoconfigure_1_3_5_RELEASE.xml │ │ │ ├── Maven__org_springframework_boot_spring_boot_starter_1_3_5_RELEASE.xml │ │ │ ├── Maven__org_springframework_boot_spring_boot_starter_tomcat_1_3_5_RELEASE.xml │ │ │ ├── Maven__org_springframework_spring_aop_4_2_6_RELEASE.xml │ │ │ ├── Maven__org_springframework_spring_aspects_4_2_4_RELEASE.xml │ │ │ ├── Maven__org_springframework_spring_beans_4_2_4_RELEASE.xml │ │ │ ├── Maven__org_springframework_spring_context_4_2_4_RELEASE.xml │ │ │ ├── Maven__org_springframework_spring_context_support_4_2_4_RELEASE.xml │ │ │ ├── Maven__org_springframework_spring_core_4_2_6_RELEASE.xml │ │ │ ├── Maven__org_springframework_spring_expression_4_2_6_RELEASE.xml │ │ │ ├── Maven__org_springframework_spring_jdbc_4_2_4_RELEASE.xml │ │ │ ├── Maven__org_springframework_spring_jms_4_2_4_RELEASE.xml │ │ │ ├── Maven__org_springframework_spring_messaging_4_2_6_RELEASE.xml │ │ │ ├── Maven__org_springframework_spring_test_4_1_6_RELEASE.xml │ │ │ ├── Maven__org_springframework_spring_tx_4_2_6_RELEASE.xml │ │ │ ├── Maven__org_springframework_spring_web_4_2_5_RELEASE.xml │ │ │ ├── Maven__org_springframework_spring_web_4_2_6_RELEASE.xml │ │ │ ├── Maven__org_springframework_spring_webmvc_4_2_4_RELEASE.xml │ │ │ ├── Maven__org_yaml_snakeyaml_1_16.xml │ │ │ ├── Maven__redis_clients_jedis_2_7_2.xml │ │ │ └── servlet_api.xml │ │ ├── misc.xml │ │ ├── modules.xml │ │ ├── sqldialects.xml │ │ ├── uiDesigner.xml │ │ └── vcs.xml │ ├── lib/ │ │ ├── javax.annotation.jar │ │ ├── javax.ejb.jar │ │ ├── javax.jms.jar │ │ ├── javax.persistence.jar │ │ ├── javax.resource.jar │ │ ├── javax.servlet.jar │ │ ├── javax.servlet.jsp.jar │ │ ├── javax.servlet.jsp.jstl.jar │ │ └── javax.transaction.jar │ ├── pom.xml │ └── taotao-parent.iml ├── taotao-portal-web/ │ ├── pom.xml │ ├── src/ │ │ └── main/ │ │ ├── java/ │ │ │ └── top/ │ │ │ └── catalinali/ │ │ │ └── portal/ │ │ │ └── controller/ │ │ │ └── IndexController.java │ │ ├── resources/ │ │ │ ├── conf/ │ │ │ │ └── resource.properties │ │ │ ├── log4j.properties │ │ │ └── spring/ │ │ │ └── springmvc.xml │ │ └── webapp/ │ │ ├── WEB-INF/ │ │ │ ├── jsp/ │ │ │ │ ├── commons/ │ │ │ │ │ ├── footer.jsp │ │ │ │ │ ├── header.jsp │ │ │ │ │ ├── mainmenu.jsp │ │ │ │ │ └── shortcut.jsp │ │ │ │ └── index.jsp │ │ │ └── web.xml │ │ ├── css/ │ │ │ ├── base_w1200.css │ │ │ └── index.css │ │ └── js/ │ │ ├── e3mall.js │ │ ├── global_index.js │ │ └── jquery.cookie.js │ └── taotao-portal-web.iml ├── taotao-search/ │ ├── pom.xml │ ├── taotao-search-interface/ │ │ ├── pom.xml │ │ ├── src/ │ │ │ └── main/ │ │ │ └── java/ │ │ │ └── top/ │ │ │ └── catalinali/ │ │ │ └── search/ │ │ │ └── service/ │ │ │ ├── SearchItemService.java │ │ │ └── SearchService.java │ │ └── taotao-search-interface.iml │ ├── taotao-search-service/ │ │ ├── pom.xml │ │ ├── src/ │ │ │ ├── main/ │ │ │ │ ├── java/ │ │ │ │ │ └── top/ │ │ │ │ │ └── catalinali/ │ │ │ │ │ └── search/ │ │ │ │ │ ├── app/ │ │ │ │ │ │ └── SearchApplication.java │ │ │ │ │ ├── dao/ │ │ │ │ │ │ └── SearchDao.java │ │ │ │ │ ├── listener/ │ │ │ │ │ │ ├── ItemAddMessageListener.java │ │ │ │ │ │ └── MyMessageListener.java │ │ │ │ │ ├── mapper/ │ │ │ │ │ │ ├── ItemMapper.java │ │ │ │ │ │ └── ItemMapper.xml │ │ │ │ │ └── service/ │ │ │ │ │ └── impl/ │ │ │ │ │ ├── SearchItemServiceImpl.java │ │ │ │ │ └── SearchServiceImpl.java │ │ │ │ └── resources/ │ │ │ │ ├── banner.txt │ │ │ │ ├── log4j.properties │ │ │ │ ├── mybatis/ │ │ │ │ │ └── SqlMapConfig.xml │ │ │ │ ├── resource/ │ │ │ │ │ ├── db.properties │ │ │ │ │ └── resource.properties │ │ │ │ └── spring/ │ │ │ │ ├── applicationContext-activemq.xml │ │ │ │ ├── applicationContext-dao.xml │ │ │ │ ├── applicationContext-service.xml │ │ │ │ └── applicationContext-solr.xml │ │ │ └── test/ │ │ │ └── java/ │ │ │ └── top/ │ │ │ └── catalinali/ │ │ │ ├── MessageConsumer.java │ │ │ ├── TestSolrCloud.java │ │ │ └── searchTest.java │ │ └── taotao-search-service.iml │ └── taotao-search.iml ├── taotao-search-web/ │ ├── pom.xml │ ├── src/ │ │ └── main/ │ │ ├── java/ │ │ │ └── top/ │ │ │ └── catalinali/ │ │ │ └── search/ │ │ │ ├── controller/ │ │ │ │ └── SearchController.java │ │ │ └── exception/ │ │ │ └── GlobalExceptionResolver.java │ │ ├── resources/ │ │ │ ├── conf/ │ │ │ │ └── resource.properties │ │ │ ├── log4j.properties │ │ │ └── spring/ │ │ │ └── springmvc.xml │ │ └── webapp/ │ │ ├── WEB-INF/ │ │ │ ├── jsp/ │ │ │ │ ├── commons/ │ │ │ │ │ ├── footer.jsp │ │ │ │ │ ├── header.jsp │ │ │ │ │ ├── mainmenu.jsp │ │ │ │ │ └── shortcut.jsp │ │ │ │ ├── error/ │ │ │ │ │ └── exception.jsp │ │ │ │ └── search.jsp │ │ │ └── web.xml │ │ ├── css/ │ │ │ ├── all.css │ │ │ ├── base_w1200.css │ │ │ ├── common.css │ │ │ ├── jquery.alerts.css │ │ │ ├── jquery.autocomplete.css │ │ │ └── productList.css │ │ ├── index.jsp │ │ └── js/ │ │ ├── NewVersion.js │ │ ├── cart.js │ │ ├── common.js │ │ ├── cookie.js │ │ ├── e3mall.js │ │ ├── jquery.alerts.js │ │ ├── jquery.cookie.js │ │ └── shadow.js │ └── taotao-search-web.iml ├── taotao-sso/ │ ├── pom.xml │ ├── taotao-sso-interface/ │ │ ├── pom.xml │ │ ├── src/ │ │ │ ├── main/ │ │ │ │ └── java/ │ │ │ │ └── top/ │ │ │ │ └── catalinali/ │ │ │ │ └── sso/ │ │ │ │ └── service/ │ │ │ │ ├── LoginService.java │ │ │ │ ├── RegisterService.java │ │ │ │ └── TokenService.java │ │ │ └── test/ │ │ │ └── java/ │ │ │ └── top/ │ │ │ └── catalinali/ │ │ │ └── AppTest.java │ │ └── taotao-sso-interface.iml │ ├── taotao-sso-service/ │ │ ├── pom.xml │ │ ├── src/ │ │ │ ├── main/ │ │ │ │ ├── java/ │ │ │ │ │ └── top/ │ │ │ │ │ └── catalinali/ │ │ │ │ │ └── sso/ │ │ │ │ │ ├── app/ │ │ │ │ │ │ └── SSOApplication.java │ │ │ │ │ └── service/ │ │ │ │ │ └── impl/ │ │ │ │ │ ├── LoginServiceImpl.java │ │ │ │ │ ├── RegisterServiceImpl.java │ │ │ │ │ └── TokenServiceImpl.java │ │ │ │ ├── resources/ │ │ │ │ │ ├── log4j.properties │ │ │ │ │ ├── mybatis/ │ │ │ │ │ │ └── SqlMapConfig.xml │ │ │ │ │ ├── resource/ │ │ │ │ │ │ ├── db.properties │ │ │ │ │ │ └── resource.properties │ │ │ │ │ └── spring/ │ │ │ │ │ ├── applicationContext-dao.xml │ │ │ │ │ ├── applicationContext-redis.xml │ │ │ │ │ ├── applicationContext-service.xml │ │ │ │ │ └── applicationContext-trans.xml │ │ │ │ └── webapp/ │ │ │ │ ├── WEB-INF/ │ │ │ │ │ └── web.xml │ │ │ │ └── index.jsp │ │ │ └── test/ │ │ │ └── java/ │ │ │ └── top/ │ │ │ └── catalinali/ │ │ │ └── AppTest.java │ │ └── taotao-sso-service.iml │ └── taotao-sso.iml ├── taotao-sso-web/ │ ├── pom.xml │ ├── src/ │ │ └── main/ │ │ ├── java/ │ │ │ └── top/ │ │ │ └── catalinali/ │ │ │ └── sso/ │ │ │ └── controller/ │ │ │ ├── LoginController.java │ │ │ ├── RegitsterController.java │ │ │ └── TokenController.java │ │ ├── resources/ │ │ │ ├── conf/ │ │ │ │ └── resource.properties │ │ │ ├── log4j.properties │ │ │ └── spring/ │ │ │ └── springmvc.xml │ │ └── webapp/ │ │ ├── WEB-INF/ │ │ │ ├── jsp/ │ │ │ │ ├── login.jsp │ │ │ │ └── register.jsp │ │ │ └── web.xml │ │ ├── css/ │ │ │ ├── headerfooter.css │ │ │ ├── headerfooterindex.css │ │ │ ├── jquery.alerts.css │ │ │ ├── login.css │ │ │ └── reg.css │ │ ├── index.jsp │ │ └── js/ │ │ ├── allMail.js │ │ ├── capsLock.js │ │ ├── cas.login.js │ │ ├── jquery.alerts.js │ │ ├── jquery.cookie.js │ │ ├── passport.common.js │ │ ├── png.js │ │ └── reg.js │ └── taotao-sso-web.iml └── taotao.sql ================================================ FILE CONTENTS ================================================ ================================================ FILE: IDAE&Git_note.md ================================================ ## 目标 在IDEA上使用Git+Github完成淘淘商城 ## IDEA学习笔记 ``` ctrl + Alt + B 快速进入实现类 F2 跳转到下一个高亮错误 或 警告位置 ctrl + Alt + v 自动填充变量 ctrl + / 这个是多行代码分行注释,每行一个注释符号 ctrl + Shift + / 这个是多行代码注释在一个块里,只在开头和结尾有注释符号 Ctrl + Shift + Z 取消撤销 (必备) Ctrl + Shift + N 查找类 Ctrl + Alt + L 查找文件  Ctrl + Alt + Enter        将光标移到当前行的上一行  Shift + Enter             将光标移到当前行的下一行 Alt + Shift + Up/Down 上/下移一行 Alt + 鼠标左键 上下拖动 多行编辑 Alt + Shift + 鼠标左键 多行选择 自定义多行编辑 Ctrl + Alt + T 环绕提示 Ctrl + Shift + U 大小写切换 Ctrl + F3 调转到所选中的词的下一个引用位置 Ctrl+Shift+Alt+J 批量修改变量快捷键 Crtl+Shift+Enter 自动补全 Ctrl+Shift+N 按文件名搜索文件 Ctrl+H 查看类的继承关系 Alt+F7 查找类或方法在哪被使用 ``` ## 目标 在学习vue的同时学习sublime的使用 ## sublime学习笔记 ``` Ctrl + Enter 将光标移到当前行的下一行 Ctrl+Shift+Ente 在上一行插入新行 Ctrl+Shift+D 复制光标所在整行,插入到下一行 Ctrl+Shift+↓ 将光标所在行插入到下一行之后 Ctrl+Shift+K 删除当前行 ``` ## Git学习笔记 ### Git指令 ``` git diff readme.txt 在git add之前使用此命令可以查看文件修改的内容 git log 显示从最近到最远的提交日志 查看提交历史 git reflog 可以查看所有分支的所有操作记录 查看命令历史 git log --pretty=oneline 在一行之内显示提交日志 格式:版本号 message git reset --hard HEAD^ 回退到上一个版本(HEAD表示当前版本) git reset --hard commitId 指定回到某个版本 git checkout --fileName 就是让这个文件回到最近一次git commit或git add时的状态。 git reset HEAD fileName 把暂存区的修改撤销掉,重新放回工作区 - 分支操作 git branch 查看分支 git branch 创建分支 git checkout 切换分支 git checkout -b 创建+切换分支 git merge 合并某分支到当前分支 git branch -d 删除分支 ``` ### Git名词解释 Git工作区(Working Directory):就是你在电脑里能看到的目录。 版本库(Repository):工作区有一个隐藏目录.git,这个不算工作区,而是Git的版本库。 Git的版本库里存了很多东西,其中最重要的就是称为stage(或者叫index)的暂存区,还有Git为我们自动创建的第一个分支master,以及指向master的一个指针叫HEAD。 git删除后: 有两个选择,一是确实要从版本库中删除该文件,那就用命令git rm删掉,并且git commit。 另一种情况是删错了,因为版本库里还有呢,所以可以很轻松地把误删的文件恢复到最新版本: ``` git checkout -- test.txt ``` git checkout其实是用版本库里的版本替换工作区的版本,无论工作区是修改还是删除,都可以“一键还原”。 ## Git远程操作 ### Git中从远程的分支获取最新的版本到本地有这样2个命令: 1. git fetch:相当于是从远程获取最新版本到本地,不会自动merge ``` git fetch origin master git log -p master..origin/master git merge origin/master ``` 以上命令的含义: 首先从远程的origin的master主分支下载最新的版本到origin/master分支上 然后比较本地的master分支和origin/master分支的差别 最后进行合并 上述过程其实可以用以下更清晰的方式来进行: ``` git fetch origin master:tmp git diff tmp git merge tmp ``` 从远程获取最新的版本到本地的temp分支上之后再进行比较合并 2. git pull:相当于是从远程获取最新版本并merge到本地 ``` git pull origin master ``` 上述命令其实相当于`git fetch`和`git merge` 在实际使用中,`git fetch`更安全一些,因为在merge前,我们可以查看更新情况,然后再决定是否合并。 ### Git关联远程仓库的操作 关联一个远程仓库 ``` git remote add origin git@github.com:YotrolZ/helloTest.git ``` 删除关联远程仓库 ``` git remote remove origin ``` 展示所有关联的远程仓库 ``` git remote -v ``` ### 将本地内容推送到Github 要关联一个远程库,使用命令git remote add origin git@server-name:path/repo-name.git; 关联后,使用命令`git push -u origin master`第一次推送master分支的所有内容; 此后,每次本地提交后,只要有必要,就可以使用命令`git push origin master`推送最新修改; ================================================ FILE: README.md ================================================ ## 更新 将所有的服务生产者修改为以jar包的形式用springboot的方式进行启动! ## 关于淘淘商城 淘淘商城商城应该是一个网上臭名昭著的电商练习项目了,本着学习的目的把他写了一遍。说实话,还是受益良多的。 废话不多说了,我们来看一下他的架构 ![taotao_arch.png](https://i.loli.net/2021/07/12/z7BJmRNWb9fxSKO.png) 项目采用SOA的架构,使用dubbo作为服务中间件。把工程拆分成服务层、表现层两个工程。服务层中包含业务逻辑,只需要对外提供服务即可。表现层只需要处理和页面的交互,业务逻辑都是调用服务层的服务来实现。 **前台** ![taotao_portal.png](https://i.loli.net/2021/07/12/cBepjAqdiK5YGoD.png) **后台** ![taotao_admin.png](https://i.loli.net/2021/07/12/ULs6l2aWADF3fMg.png) 前端页面不是这次练习的重点。 ## 服务介绍 - taotao-manage 后台服务层,提供后台基础服务。 - taotao-manage-web 后台表现层,调用了manage、content、search的服务。 - taotao-portal-web 前台表现层,调用了content的服务。 - taotao-content CMS服务层,提供内容管理。 - taotao-search 搜索服务层,提供搜索基础服务。 - taotao-search-web 搜索表现层,调用了search的服务。 - taotao-item-web 商品详情表现层,调用了manage的服务。 - taotao-sso 单点登录服务层,提供sso基础服务。 - taotao-sso-web 单点登录表现层,调用了sso的服务。 - taotao-cart 购物车服务层,提供了购物车的基础服务。 - taotao-cart-web 购物车表现层,调用了cart、manage、sso的服务。 - taotao-order 订单服务层,提供了订单基础服务。 - taotao-order-web    订单表现层,调用了order、cart、sso的服务 ## 主要模块介绍 ### SSO单点登录模块 SSO英文全称Single Sign On,单点登录。SSO是在多个应用系统中,用户只需要登录一次就可以访问所有相互信任的应用系统。它包括可以将这次主要的登录映射到其他应用中用于同一个用户的登录的机制。它是目前比较流行的企业业务整合的解决方案之一。 在传统的单机工程下用户登录是没有问题的,但是集群环境下会出现要求用户多次登录的情况。 解决方案: 1、配置tomcat集群。配置tomcatSession复制。节点数不要超过5个。 2、可以使用Session服务器,保存Session信息,使每个节点是无状态。需要模拟Session。 淘淘商城采用了第二种方案,每次登录的时候后台生成一个随机的Token来模拟Session中的JSESSIONID。将这个Token在后台保存在Redis中,前台保存在Cookie中,这样每次登录的时候都进入SSO模块来处理登录的逻辑。 ### 购物车模块 购物车是一个独立的表现层工程。添加购物车不要求登录。可以指定购买商品的数量。 这样我们在使用购物车的情景就分为用户未登录状态和已登录状态 这里我们使用拦截器来判断是否登录。在不登录的情况下把购物车信息写入cookie,在已登录的情况下把购物车信息写入Redis。 ### 订单模块 在购物车页面点击“去结算”按钮,跳转到订单确认页面。 主要使用拦截器来判断用户的登录情况,从不同的登录情况来判断用户购物车里商品的数量。 ## 使用的中间件 ### Nginx Nginx是一款高性能的http服务器/反向代理服务器及电子邮件(IMAP/POP3)代理服务器。 具体使用可以看[Nginx初探究:安装与简单使用](https://blog.csdn.net/a3212/article/details/78405451) ### FastDFS分布式文件系统 FastDFS是一个开源的轻量级分布式文件系统,功能包括:文件存储、文件同步、文件访问(文件上传、文件下载)等,解决了大容量存储和负载均衡的问题。特别适合中小文件(建议范围:4KB < file_size <500MB),对以文件为载体的在线服务,如相册网站、视频网站等。 ### Redis Redis是一个开源的使用ANSI C语言编写、支持网络、可基于内存亦可持久化的日志型、Key-Value数据库,并提供多种语言的API。 具体使用可以看[走进Redis:Redis的安装、使用以及集群的搭建](https://blog.csdn.net/a3212/article/details/78460198) ### 搜索应用服务器Solr Solr是一个独立的企业级搜索应用服务器,它对外提供类似于Web-service的API接口。用户可以通过http请求,向搜索引擎服务器提交一定格式的XML文件,生成索引;也可以通过Http Get操作提出查找请求,并得到XML格式的返回结果。 ### 消息服务Activemq ActiveMQ 是Apache出品,最流行的,能力强劲的开源消息总线。ActiveMQ 是一个完全支持JMS1.1和J2EE 1.4规范的 JMS Provider实现,尽管JMS规范出台已经是很久的事情了,但是JMS在当今的J2EE应用中间仍然扮演着特殊的地位。 具体使用可以看[ActiveMQ从入门到实践](https://blog.csdn.net/a3212/article/details/78873435) ================================================ FILE: taotao-cart/pom.xml ================================================ taotao-parent top.catalinali 1.0-SNAPSHOT ../taotao-parent/pom.xml 4.0.0 taotao-cart pom taotao-cart http://maven.apache.org taotao-cart-interface taotao-cart-service UTF-8 top.catalinali taotao-common 1.0-SNAPSHOT org.apache.tomcat.maven tomcat7-maven-plugin / 7089 ================================================ FILE: taotao-cart/taotao-cart-interface/pom.xml ================================================ taotao-cart top.catalinali 1.0-SNAPSHOT 4.0.0 taotao-cart-interface jar taotao-cart-interface http://maven.apache.org UTF-8 top.catalinali taotao-manage-pojo 1.0-SNAPSHOT ================================================ FILE: taotao-cart/taotao-cart-interface/src/main/java/top/catalinali/cart/service/CartService.java ================================================ package top.catalinali.cart.service; import top.catalinali.common.pojo.TaotaoResult; import top.catalinali.pojo.TbItem; import java.util.List; /** *
 * Description:
 * Copyright:	Copyright (c)2017
 * Author:		lllx
 * Version:		1.0
 * Created at:	2018/1/4
 * 
*/ public interface CartService { TaotaoResult addCart(long userId, long itemId, int num); TaotaoResult mergeCart(long userId, List itemList); List getCartList(long userId); TaotaoResult updateCartNum(long userId, long itemId, int num); TaotaoResult deleteCartItem(long userId, long itemId); TaotaoResult clearCartItem(long userId); } ================================================ FILE: taotao-cart/taotao-cart-interface/taotao-cart-interface.iml ================================================ ================================================ FILE: taotao-cart/taotao-cart-service/pom.xml ================================================ taotao-cart top.catalinali 1.0-SNAPSHOT 4.0.0 taotao-cart-service jar taotao-cart-service Maven Webapp http://maven.apache.org top.catalinali taotao-manage-mapper 1.0-SNAPSHOT top.catalinali taotao-cart-interface 1.0-SNAPSHOT org.springframework spring-context org.springframework spring-beans org.springframework spring-webmvc org.springframework spring-jdbc org.springframework spring-aspects org.springframework spring-jms org.springframework spring-context-support com.alibaba dubbo org.springframework spring org.jboss.netty netty org.apache.zookeeper zookeeper com.github.sgroschupf zkclient org.springframework.boot spring-boot-starter org.springframework.boot spring-boot-starter-logging taotao-cart-service ================================================ FILE: taotao-cart/taotao-cart-service/src/main/java/top/catalinali/cart/app/CartApplication.java ================================================ package top.catalinali.cart.app; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ImportResource; import java.util.concurrent.CountDownLatch; /** *
 * Description: CartApplication
 * Copyright:	Copyright (c)2017
 * Author:		lllx
 * Version:		1.0
 * Created at:	2018/1/11
 * 
*/ @SpringBootApplication @ImportResource({"classpath:spring/applicationContext-*.xml"}) public class CartApplication { @Bean public CountDownLatch closeLatch() { return new CountDownLatch(1); } public static void main(String[] args) throws InterruptedException { ApplicationContext ctx = new SpringApplicationBuilder() .sources(CartApplication.class) .web(false) .run(args); CountDownLatch closeLatch = ctx.getBean(CountDownLatch.class); closeLatch.await(); } } ================================================ FILE: taotao-cart/taotao-cart-service/src/main/java/top/catalinali/cart/service/impl/CartServiceImpl.java ================================================ package top.catalinali.cart.service.impl; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; import top.catalinali.cart.service.CartService; import top.catalinali.common.jedis.JedisClient; import top.catalinali.common.pojo.TaotaoResult; import top.catalinali.common.util.JsonUtils; import top.catalinali.mapper.TbItemMapper; import top.catalinali.pojo.TbItem; import java.util.ArrayList; import java.util.List; /** *
 * Description: 购物车处理服务
 * Copyright:	Copyright (c)2017
 * Author:		lllx
 * Version:		1.0
 * Created at:	2018/1/4
 * 
*/ @Service public class CartServiceImpl implements CartService{ @Autowired private JedisClient jedisClient; @Value("${REDIS_CART_PRE}") private String REDIS_CART_PRE; @Autowired private TbItemMapper itemMapper; @Override public TaotaoResult addCart(long userId, long itemId, int num) { //向redis中添加购物车。 //数据类型是hash key:用户id field:商品id value:商品信息 //判断商品是否存在 Boolean hexists = jedisClient.hexists(REDIS_CART_PRE + ":" + userId, itemId + ""); //如果存在数量相加 if (hexists) { String json = jedisClient.hget(REDIS_CART_PRE + ":" + userId, itemId + ""); //把json转换成TbItem TbItem item = JsonUtils.jsonToPojo(json, TbItem.class); item.setNum(item.getNum() + num); //写回redis jedisClient.hset(REDIS_CART_PRE + ":" + userId, itemId + "", JsonUtils.objectToJson(item)); return TaotaoResult.ok(); } //如果不存在,根据商品id取商品信息 TbItem item = itemMapper.selectByPrimaryKey(itemId); //设置购物车数据量 item.setNum(num); //取一张图片 String image = item.getImage(); if (StringUtils.isNotBlank(image)) { item.setImage(image.split(",")[0]); } //添加到购物车列表 jedisClient.hset(REDIS_CART_PRE + ":" + userId, itemId + "", JsonUtils.objectToJson(item)); return TaotaoResult.ok(); } @Override public TaotaoResult mergeCart(long userId, List itemList) { //遍历商品列表 //把列表添加到购物车。 //判断购物车中是否有此商品 //如果有,数量相加 //如果没有添加新的商品 for (TbItem tbItem : itemList) { addCart(userId, tbItem.getId(), tbItem.getNum()); } //返回成功 return TaotaoResult.ok(); } @Override public List getCartList(long userId) { //根据用户id查询购车列表 List jsonList = jedisClient.hvals(REDIS_CART_PRE + ":" + userId); List itemList = new ArrayList<>(); for (String string : jsonList) { //创建一个TbItem对象 TbItem item = JsonUtils.jsonToPojo(string, TbItem.class); //添加到列表 itemList.add(item); } return itemList; } @Override public TaotaoResult updateCartNum(long userId, long itemId, int num) { //从redis中取商品信息 String json = jedisClient.hget(REDIS_CART_PRE + ":" + userId, itemId + ""); //更新商品数量 TbItem tbItem = JsonUtils.jsonToPojo(json, TbItem.class); tbItem.setNum(num); //写入redis jedisClient.hset(REDIS_CART_PRE + ":" + userId, itemId + "", JsonUtils.objectToJson(tbItem)); return TaotaoResult.ok(); } @Override public TaotaoResult deleteCartItem(long userId, long itemId) { // 删除购物车商品 jedisClient.hdel(REDIS_CART_PRE + ":" + userId, itemId + ""); return TaotaoResult.ok(); } @Override public TaotaoResult clearCartItem(long userId) { //删除购物车信息 jedisClient.del(REDIS_CART_PRE + ":" + userId); return TaotaoResult.ok(); } } ================================================ FILE: taotao-cart/taotao-cart-service/src/main/resources/banner.txt ================================================ _ _ _ _ _ | (_) | (_) ____ ____| |_ ____| |_ ____ ____| |_ / ___) _ | _)/ _ | | | _ \ / _ | | | ( (__( ( | | |_( ( | | | | | | ( ( | | | | \____)_||_|\___)_||_|_|_|_| |_|\_||_|_|_| ================================================ FILE: taotao-cart/taotao-cart-service/src/main/resources/log4j.properties ================================================ log4j.rootLogger=DEBUG,A1 log4j.logger.org.mybatis = DEBUG log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [%t] [%c]-[%p] %m%n ================================================ FILE: taotao-cart/taotao-cart-service/src/main/resources/mybatis/SqlMapConfig.xml ================================================ ================================================ FILE: taotao-cart/taotao-cart-service/src/main/resources/resource/db.properties ================================================ jdbc.driver=com.mysql.jdbc.Driver jdbc.url=jdbc:mysql://localhost:3306/taotao?characterEncoding=utf-8 jdbc.username=root jdbc.password= ================================================ FILE: taotao-cart/taotao-cart-service/src/main/resources/resource/resource.properties ================================================ #redis\u4E2D\u8D2D\u7269\u8F66key\u7684\u524D\u7F00 REDIS_CART_PRE=CART ================================================ FILE: taotao-cart/taotao-cart-service/src/main/resources/spring/applicationContext-dao.xml ================================================ ================================================ FILE: taotao-cart/taotao-cart-service/src/main/resources/spring/applicationContext-redis.xml ================================================ ================================================ FILE: taotao-cart/taotao-cart-service/src/main/resources/spring/applicationContext-service.xml ================================================ ================================================ FILE: taotao-cart/taotao-cart-service/src/main/resources/spring/applicationContext-trans.xml ================================================ ================================================ FILE: taotao-cart/taotao-cart-service/taotao-cart-service.iml ================================================ ================================================ FILE: taotao-cart/taotao-cart.iml ================================================ ================================================ FILE: taotao-cart-web/pom.xml ================================================ taotao-parent top.catalinali 1.0-SNAPSHOT ../taotao-parent/pom.xml 4.0.0 taotao-cart-web war taotao-cart-web Maven Webapp http://maven.apache.org top.catalinali taotao-cart-interface 1.0-SNAPSHOT top.catalinali taotao-manage-interface 1.0-SNAPSHOT top.catalinali taotao-sso-interface 1.0-SNAPSHOT org.springframework spring-context org.springframework spring-beans org.springframework spring-webmvc org.springframework spring-jdbc org.springframework spring-aspects org.springframework spring-jms org.springframework spring-context-support jstl jstl javax.servlet servlet-api provided javax.servlet jsp-api provided com.alibaba dubbo org.springframework spring org.jboss.netty netty org.apache.zookeeper zookeeper com.github.sgroschupf zkclient junit junit taotao-cart-web org.apache.tomcat.maven tomcat7-maven-plugin / 7090 ================================================ FILE: taotao-cart-web/src/main/java/top/catalinali/cart/controller/CartController.java ================================================ package top.catalinali.cart.controller; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.ResponseBody; import top.catalinali.cart.service.CartService; import top.catalinali.common.pojo.TaotaoResult; import top.catalinali.common.util.CookieUtils; import top.catalinali.common.util.JsonUtils; import top.catalinali.pojo.TbItem; import top.catalinali.pojo.TbUser; import top.catalinali.service.ItemService; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.util.ArrayList; import java.util.List; /** *
 * Description: 购物车处理Controller
 * Copyright:	Copyright (c)2017
 * Author:		lllx
 * Version:		1.0
 * Created at:	2018/1/4
 * 
*/ @Controller public class CartController { @Value("${COOKIE_CART_EXPIRE}") private Integer COOKIE_CART_EXPIRE; @Autowired private ItemService itemService; @Autowired private CartService cartService; @RequestMapping("/cart/add/{itemId}") public String addCart(@PathVariable Long itemId, @RequestParam(defaultValue="1")Integer num, HttpServletRequest request, HttpServletResponse response) { //判断用户是否登录 TbUser user = (TbUser) request.getAttribute("user"); //如果是登录状态,把购物车写入redis if (user != null) { //保存到服务端 cartService.addCart(user.getId(), itemId, num); //返回逻辑视图 return "cartSuccess"; } //如果未登录使用cookie //从cookie中取购物车列表 List cartList = getCartListFromCookie(request); //判断商品在商品列表中是否存在 boolean flag = false; for (TbItem tbItem : cartList) { //如果存在数量相加 if (tbItem.getId() == itemId.longValue()) { flag = true; //找到商品,数量相加 tbItem.setNum(tbItem.getNum() + num); //跳出循环 break; } } //如果不存在 if (!flag) { //根据商品id查询商品信息。得到一个TbItem对象 TbItem tbItem = itemService.getItemById(itemId); //设置商品数量 tbItem.setNum(num); //取一张图片 String image = tbItem.getImage(); if (StringUtils.isNotBlank(image)) { tbItem.setImage(image.split(",")[0]); } //把商品添加到商品列表 cartList.add(tbItem); } //写入cookie CookieUtils.setCookie(request, response, "cart", JsonUtils.objectToJson(cartList), COOKIE_CART_EXPIRE, true); //返回添加成功页面 return "cartSuccess"; } /** * 从cookie中取购物车列表的处理 *

Title: getCartListFromCookie

*

Description:

* @param request * @return */ private List getCartListFromCookie(HttpServletRequest request) { String json = CookieUtils.getCookieValue(request, "cart", true); //判断json是否为空 if (StringUtils.isBlank(json)) { return new ArrayList<>(); } //把json转换成商品列表 List list = JsonUtils.jsonToList(json, TbItem.class); return list; } /** * 展示购物车列表 *

Title: showCatList

*

Description:

* @param request * @return */ @RequestMapping("/cart/cart") public String showCatList(HttpServletRequest request, HttpServletResponse response) { //从cookie中取购物车列表 List cartList = getCartListFromCookie(request); //判断用户是否为登录状态 TbUser user = (TbUser) request.getAttribute("user"); //如果是登录状态 if (user != null) { //从cookie中取购物车列表 //如果不为空,把cookie中的购物车商品和服务端的购物车商品合并。 cartService.mergeCart(user.getId(), cartList); //把cookie中的购物车删除 CookieUtils.deleteCookie(request, response, "cart"); //从服务端取购物车列表 cartList = cartService.getCartList(user.getId()); } //把列表传递给页面 request.setAttribute("cartList", cartList); //返回逻辑视图 return "cart"; } /** * 更新购物车商品数量 */ @RequestMapping("/cart/update/num/{itemId}/{num}") @ResponseBody public TaotaoResult updateCartNum(@PathVariable Long itemId, @PathVariable Integer num , HttpServletRequest request , HttpServletResponse response) { //判断用户是否为登录状态 TbUser user = (TbUser) request.getAttribute("user"); if (user != null) { cartService.updateCartNum(user.getId(), itemId, num); return TaotaoResult.ok(); } //从cookie中取购物车列表 List cartList = getCartListFromCookie(request); //遍历商品列表找到对应的商品 for (TbItem tbItem : cartList) { if (tbItem.getId().longValue() == itemId) { //更新数量 tbItem.setNum(num); break; } } //把购物车列表写回cookie CookieUtils.setCookie(request, response, "cart", JsonUtils.objectToJson(cartList), COOKIE_CART_EXPIRE, true); //返回成功 return TaotaoResult.ok(); } /** * 删除购物车商品 */ @RequestMapping("/cart/delete/{itemId}") public String deleteCartItem(@PathVariable Long itemId, HttpServletRequest request,HttpServletResponse response) { //判断用户是否为登录状态 TbUser user = (TbUser) request.getAttribute("user"); if (user != null) { cartService.deleteCartItem(user.getId(), itemId); return "redirect:/cart/cart.html"; } //从cookie中取购物车列表 List cartList = getCartListFromCookie(request); //遍历列表,找到要删除的商品 for (TbItem tbItem : cartList) { if (tbItem.getId().longValue() == itemId) { //删除商品 cartList.remove(tbItem); //跳出循环 break; } } //把购物车列表写入cookie CookieUtils.setCookie(request, response, "cart", JsonUtils.objectToJson(cartList), COOKIE_CART_EXPIRE, true); //返回逻辑视图 return "redirect:/cart/cart.html"; } } ================================================ FILE: taotao-cart-web/src/main/java/top/catalinali/cart/interceptor/LoginInterceptor.java ================================================ package top.catalinali.cart.interceptor; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.servlet.HandlerInterceptor; import org.springframework.web.servlet.ModelAndView; import top.catalinali.common.pojo.TaotaoResult; import top.catalinali.common.util.CookieUtils; import top.catalinali.pojo.TbUser; import top.catalinali.sso.service.TokenService; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** *
 * Description: 用户登录处理拦截器
 * Copyright:	Copyright (c)2017
 * Author:		lllx
 * Version:		1.0
 * Created at:	2018/1/4
 * 
*/ public class LoginInterceptor implements HandlerInterceptor { @Autowired private TokenService tokenService; @Override public boolean preHandle(HttpServletRequest request, HttpServletResponse httpServletResponse, Object o) throws Exception { // 前处理,执行handler之前执行此方法。 //返回true,放行 false:拦截 //1.从cookie中取token String token = CookieUtils.getCookieValue(request, "token"); //2.如果没有token,未登录状态,直接放行 if (StringUtils.isBlank(token)) { return true; } //3.取到token,需要调用sso系统的服务,根据token取用户信息 TaotaoResult taotaoResult = tokenService.getUserByToken(token); //4.没有取到用户信息。登录过期,直接放行。 if (taotaoResult.getStatus() != 200) { return true; } //5.取到用户信息。登录状态。 TbUser user = (TbUser) taotaoResult.getData(); //6.把用户信息放到request中。只需要在Controller中判断request中是否包含user信息。放行 request.setAttribute("user", user); return true; } @Override public void postHandle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o, ModelAndView modelAndView) throws Exception { } @Override public void afterCompletion(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o, Exception e) throws Exception { } } ================================================ FILE: taotao-cart-web/src/main/resources/conf/resource.properties ================================================ #cookie\u4E2D\u7684\u8D2D\u7269\u8F66\u4FDD\u5B58\u65F6\u95F4 COOKIE_CART_EXPIRE=432000 ================================================ FILE: taotao-cart-web/src/main/resources/log4j.properties ================================================ log4j.rootLogger=DEBUG,A1 log4j.logger.org.mybatis = DEBUG log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [%t] [%c]-[%p] %m%n ================================================ FILE: taotao-cart-web/src/main/resources/spring/springmvc.xml ================================================ ================================================ FILE: taotao-cart-web/src/main/webapp/WEB-INF/jsp/cart.jsp ================================================ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page trimDirectiveWhitespaces="true" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 我的购物车 - 宜立方商城

我的购物车

全选
商品
单价
优惠
数量
重量(含包装)
小计
库存状态
操作
优选商品
产地直供
¥
 
- +
0.05kg
¥
现货
(不含运费)    商品总计: ¥
================================================ FILE: taotao-cart-web/src/main/webapp/WEB-INF/jsp/cartSuccess.jsp ================================================ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 商品已成功加入购物车

您的商品已经成功加入购物车!

================================================ FILE: taotao-cart-web/src/main/webapp/WEB-INF/jsp/commons/footer.jsp ================================================ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> ================================================ FILE: taotao-cart-web/src/main/webapp/WEB-INF/jsp/commons/header.jsp ================================================ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> ================================================ FILE: taotao-cart-web/src/main/webapp/WEB-INF/jsp/commons/header1.jsp ================================================ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> ================================================ FILE: taotao-cart-web/src/main/webapp/WEB-INF/jsp/commons/mainmenu.jsp ================================================ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> ================================================ FILE: taotao-cart-web/src/main/webapp/WEB-INF/jsp/commons/shortcut.jsp ================================================ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> ================================================ FILE: taotao-cart-web/src/main/webapp/WEB-INF/web.xml ================================================ taotao-cart-web index.html CharacterEncodingFilter org.springframework.web.filter.CharacterEncodingFilter encoding utf-8 CharacterEncodingFilter /* taotao-cart-web org.springframework.web.servlet.DispatcherServlet contextConfigLocation classpath:spring/*.xml 1 taotao-cart-web *.html taotao-cart-web *.action ================================================ FILE: taotao-cart-web/src/main/webapp/css/cart.css ================================================ .cartMain{width:1000px;margin:0 auto;} .cartHead{zoom:1;padding:0 0 10px 0;} .cartMy{float:left;font-family:微软雅黑;font-size:20px;line-height:26px;} .cartHead .toTxt{font-size:14px;} .areaShow{width:670px;float:left;} .areatips{line-height:26px;margin-left:10px;} .cartTopTotal{float:right;} .cartTopPrice{color:#ea5404;font-weight:bold;} .js2{width:60px;height:24px;background:#69af05;margin:1px 10px 0 10px;display:inline; vertical-align:baseline;_vertical-align:middle;text-align:center;cursor:pointer;color:#fff;font-weight:bold;font-size:12px;} .js2:hover{background:url(/images/productinfo.png) no-repeat 0 -124px;} .cartThead{overflow:hidden;zoom:1;} .tCol{float:left;height:34px;line-height:34px;background-color:#81A84A;color:#fff;font-weight:bold;text-align:center;} .tCheckbox{width:70px;} .tGoods{width:280px;} .tPrice{width:100px;} .tPromotion{width:100px;} .tQuantity{width:90px;} .tWeight{width:100px;} .tSubtotal{width:100px;} .tInventory{width:70px;} .tOperator{width:90px;} .tCheckbox input{ vertical-align:middle;} .cartColumnhd{background-color: #f2f6ed;height: 25px;line-height: 25px;_zoom:1;padding:5px 10px;} .cartCheckbox{color:#565656;font-size:12px;font-weight:bold;} .cartCheckbox input{vertical-align:middle;margin:0 5px;} .cartCheckbox .cartInfo{color:#969696;padding-left:10px;} .toTxt{float:left;height:26px;line-height: 26px;font-size:12px;margin:0 5px 0 20px;_display:inline;} .cartPromoHd{background-color:#F2F6ED;padding:6px 10px;zoom:1;border-bottom:1px solid #EBF7EF;line-height:20px;position:relative;} .cartPromoTit{overflow:hidden;zoom:1;width:988px;} .cartPromoTit .t{float:left;margin-right:3px;_display:inline;position:relative;padding-right:6px;overflow:hidden;zoom:1;} .cartPromoTit strong{color:#ffffff;background-color:#fa6400;height:22px;line-height:22px;display:block;padding:0 10px;border-radius:2px;font-weight:normal;float:left;} .cartPromoTit .t b{position:absolute;right:0;top:8px;background:url(/images/cart_icon2.gif) no-repeat;width:6px;height:5px;} .cartPromoTit p{float:left;line-height:22px;} .cartPromoTit span{color:#EA5404} .cartPromoTit span.zengp{color:#176246;font-weight:bold;} .cartPromoTit ul{float:left;} .cartPromoTit ul li{overflow:hidden;zoom:1;} .cartPromoTit ul li.mb5{margin-bottom:5px;} .cartPromoTit .j{float:left;line-height:22px;} .cartPromoTit .cart-j-btn{float:left;} .cart-j-btn{display:inline-block;height:20px;line-height:20px;padding:0 10px;border:1px solid #dbdbdb;background-color:#ffffff;color:#669900;border-radius:2px;} .cart-j-btn:hover{background-color:#69af05;color:#ffffff;border:1px solid #69af05;text-decoration:none;} .cartPInfo{overflow:hidden;zoom:1;padding:20px 0;border-bottom:1px solid #EBF7EF;} .pItem{float:left;color:#6B6B6B;text-align:center;line-height:20px;} .pCheckbox{width:70px;padding:20px 0 0 0;} .pGoods{width:280px;text-align:left;} .pPrice{width:100px;} .pPromotion{width:100px;} .pQuantity{width:90px;} .pWeight{width:100px;} .pSubtotal{width:100px;color:#EA5404;font-weight:bold;} .pInventory{width:70px;} .pOperator{width:90px;} .pCheckbox input{ vertical-align:middle;} .cart_pimg{border: 1px solid #EEEEEE;display: inline;float: left;height: 60px;margin-right: 10px;overflow: hidden;width: 60px;} .cart_pname{color: #6B6B6B;line-height: 20px;overflow: hidden;} .zengp{color: #176146;font-weight: bold;} .manjian .cartPromoHd,.nmpiece .cartPromoHd{overflow:hidden;} .manjian .cartPromoTit{float:left;width:544px;} .manjian .cartPromoInfo{color:#1B6147} .manzeng{padding:5px 0;border:0 none;} .manzeng .pCheckbox{padding:0;} .manzeng .pSubtotal{color:#6B6B6B;} .nmpiece .cartPromoTit{float:left;width:544px;} .nmpiece .cartPromoInfo{float:left;width:90px;} .nmpiece .cartPInfo,.cartHg{padding:0;} .nmpiece .pCheckbox{padding:0;} .nmpiece .pGoods,.cartHg .pGoods{text-align:left;} .nmpiece .pSubtotal,.cartHg .pSubtotal{color:#EA5404;} .nmpiece td,.cartHg td{text-align:center;color:#6B6B6B;line-height:20px;padding:4px 0;} .cartHg .pGoods b{color:#176146;float:left;line-height:34px;} .cartHg .pGoods .cartHgPic{border:1px solid #DADADA;float:left;height:32px;margin:0 5px;vertical-align:middle;width:32px;} .cartHg .pGoods .pname{display:block;margin-top:6px;overflow:hidden;} .cartOrderTotal{text-align:right;padding:20px 10px;border-bottom:1px solid #EBF7EF;} .cartOrderCount{margin-top:10px;border:1px solid #dadada;overflow:hidden;zoom:1;} .cartButtons{float:left;width:300px;padding:5px 0;} .cartTotalItem{float:right;width:500px;text-align:right;line-height:38px;padding:3px 10px 0 0;} .cartclear{background:url(/images/cartbg.gif) no-repeat scroll 0 -105px;border:0;color:#6B6B6B;cursor:pointer;height:18px;line-height:18px;margin:10px;overflow:hidden;padding:0 0 0 15px;text-align:left;width:110px;} .cartPrice{color:#EA5404;font-size:22px;} .cartAmount{margin:1px auto;width:55px;height:18px;overflow:hidden;zoom:1;} a.cartCountBtn,a.cartCountBtn:hover,input.amount{float: left;font-size: 12px;vertical-align:middle;padding:0px;font-family:Arial, Helvetica, sans-serif;border:1px solid #cacaca;overflow: hidden;text-align:center;} a.cartCountBtn,a.cartCountBtn:hover{background-color:#eeeeee;color: #7d7d7d;cursor: pointer;display:inline-block;height: 12px;line-height: 12px;margin:1px 0 0 0;text-decoration: none;width: 10px;} input.amount{width:25px;height:14px;line-height:14px;margin:0 2px;display:inline;color:#6B6B6B;} .cartJsuan{text-align:right;padding:10px;} .cartJsuanTips{font-size:12px;font-weight:normal;color:#6B6B6B;} .cartFareTxt{color:#EA5404} .goshop{ background:url(/images/header.png) no-repeat 0 -225px;height:28px;width:73px;border:1px solid #a5cf69;color:#666666;margin:0 10px 0 0;cursor:pointer} .goshop:hover{color:#669900;} .jiesuan{background:#6e9b0c;height:45px;width:150px;border:0;color:#FFF;text-align:center;font-size:16px;font-weight:bold;cursor:pointer;} .jiesuan:hover{background:url(/images/productinfo.png) no-repeat 0 -124px;} .jiesuan.haitao{background:#fd7641;margin-right:10px;} .w{background-color:#F5F5F5;border:1px solid #1B6146;left:50%;margin-left:-220px;position: absolute;top: 30px;width: 450px;z-index: 999;} .w .title{border-bottom:1px solid #1B6146;height:30px;} .w .title span.text{display:block; background:#f5f5f5;height:30px; width:415px; line-height:30px; padding:0px 0px 0px 8px;color:#565656;font-size:12px;font-weight:bold;float:left;} .w .title a.close-btn{display:block;width:16px;height:16px;font-size:12px;background:#1B6146;color:#fff; text-decoration:none; cursor:pointer;padding:0px;margin:0px; text-align:center;float:right;margin:6px 8px 0px 0px;} .w .c{max-height:220px;_height:220px;overflow:auto;background:#f5f5f5;position:relative;} .w .c table td{ padding:4px;margin:0px;} .w .c .pic img{border:1px solid #dadada;width:32px;height:32px;} .w .b{height:30px; line-height:30px; text-align:center; padding:8px 0px 8px 0px;} .cart_saleicon{width:14px;height:14px;display:block;background:url(/images/cart_icon.gif) no-repeat;} .cart_saleout{width:39px;height:14px;display:block;background:url(/images/cart_icon.gif) no-repeat 0 -14px;position:absolute;top:10px;} *+html .cart_saleout{left:0;} *html .cart_saleout{left:0;} a.countbtn, a.countbtn:hover {background-color: #EEEEEE;border: 1px solid #CACACA;color: #7E7E7E;cursor: pointer;display: block;float: left;font-size: 12px;height: 12px;line-height: 12px;margin: 1px 2px 0;overflow: hidden;padding: 0;text-align: center;text-decoration: none;vertical-align: middle;width: 10px;} input.amount {float: left;font-size: 12px;height: 14px;line-height: 14px;overflow: hidden;padding: 0;text-align: center;vertical-align: middle;width: 25px;} .getfavok{position:absolute;margin-top:-45px;_top:-25px;margin-left:-35px;width:102px;height:43px;line-height:37px;text-align:center;background:url(/images/getfavbg.gif) no-repeat;} *html .getfavok{margin-top:-22px;margin-left:-45px;} /*购物车中间页*/ .cart_select{width:1000px;margin:0 auto;} .cart_my h3{font-family: 微软雅黑;font-size: 20px;} .cart_tips{padding:10px 0;} .cart_tips span{color:#ea5405;} .cart_inner{border: 1px solid #DADADA;padding: 10px 30px;} .cart_hd{padding:0 0 10px 0;} .cart_n{font-size:14px;font-weight:bold;margin-left:5px;} .cart_column {padding: 8px 0 10px;} .orderTbl{background-color: #F5F5F5;border: 1px solid #DDDDDD;} .orderThead{width:936px;overflow:hidden;zoom:1;} .sCol{float:left;height:34px;line-height:34px;background-color:#81A84A;color:#fff;font-weight:bold;text-align:center;color:white;padding:0 5px;} .sGoods{width:336px;} .sPrice{width:90px;} .sPromotion{width:90px;} .sIntegral{width:90px} .sQuantity{width:80px;} .sWeight{width:90px;} .sSubtotal{width:90px;} .orderPInfo{overflow:hidden;zoom:1;padding:4px 0;line-height:20px;border-bottom:1px solid #DDDDDD;} .sItem{float:left;text-align:center;line-height:20px;padding:0 5px;} .orderPInfo .sGoods{text-align:left;} .nmPiece td{text-align:center;padding:0 5px;} .nmPiece td.pGoods{text-align:left;} .groupBuy,.groupBuy dt{padding:0;margin:0;} .groupBuy dd{padding:0;margin:0 0 0 15px;} .zengp{color:#176246;font-weight:bold;} .cart_sfv .sGoods{width:516px;} .cart_sfv .sPrice{width:130px;} .cart_sfv .sQuantity{width:120px;} .cart_sfv .sSubtotal{width:130px;} .total_item{margin-top:10px;padding:20px;border:1px solid #dadada;background-color:#f5f5f5;text-align:right;color:#565656;} .cart_total{padding:10px 0 0 0;font-weight:bold;} .cart_total span{color: #EA5404;font-size: 22px;font-weight: normal;} .cart_btn{text-align:right;padding:10px 0;} .clearit{overflow:hidden;zoom:1;} .lipindai1,.lipindai2,.lipindai3,.lipindai4{overflow:hidden;zoom:1;} .lipindai1 .pCheckbox,.lipindai2 .pCheckbox,.lipindai3 .pCheckbox,.lipindai4 .pCheckbox{padding:0;} .lipindai1 .pGoods{padding:0 0 0 72px;width:208px;} .lipindai3 .pGoods{padding:0 0 0 37px;width:243px;} .lipindai4 .pGoods{padding:0 0 0 90px;width:190px;} .addjiagou1{width:63px;text-align:center;color:#6B6B6B} .currcart{background-color:#eeeeee} .cdzg{background-color:#6c9c0a;color:white;width:60px;text-align:center;} ================================================ FILE: taotao-cart-web/src/main/webapp/css/common.css ================================================ /* 全局样式 */ .clear{clear:both;} .overflow{overflow:hidden} .overflow_x{overflow_y:auto;overflow_x:hidden} .overflow_y{overflow_x:auto;overflow_y:hidden} .clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden;} .clearfix{display:inline-block;zoom:1} .clearfix{display:block;} * html .clearfix{height:1%;} .left{float:left}.right{float:right}.relative{position:relative}.absolute{position:absolute}.cursor{cursor:pointer;} .search_h1{height:0px; overflow:hidden; font-size:0} .zi1{z-index:1}.zi2{z-index:2} .tal{text-align:left}.tar{text-align:right}.tac{text-align:center} .dpn{display:none}.dpb{display:block}.dpib{display:inline-block}.dpi{display:inline}.wa{width:auto;} /*bg*/ .bg1{} .bj2{;} .bj3{background:url(../images/new_head/bj1.gif) repeat-x left -44px;} /*font*/ .f33{color:#333}.f66{color:#666}.f00{color:#000}.fff{color:#fff}.f99{color:#999}.ff6{color:#ff6600}.fa0{color:#a00000}.fbc{color:#bcbcbc}.f003{color:#0033cc}.f046{color:#046416}.f337{color:#337700}.f06{color:#0066CC}.ff0{color:#ff0000} .f14{ font-size:14px;}.f16{ font-size:16px;}.fb{ font-weight:bold;}.f20{ font-size:20px} .fyh{ font-family:"\5FAE\8F6F\96C5\9ED1"/*微软雅黑*/} .fsum {font-family: tahoma,arial,Helvetica,"\5B8B\4F53",sans-serif;}.farial{font-family: arial,verdana;} .lh18{line-height:18px}.lh20{line-height:20px}.delete_price{text-decoration: line-through;} .ignore_price{text-decoration: line-through; font-size:12px; color:#666666; margin-left:5px;} /*border*/ .bd_dc{border:1px solid #dcdcdc;} /*框架*/ .w100w{ width:100%;} .w990{ width:990px; margin:0 auto} /*容积*/ .w190{width:190px} .w240{width:240px} .w540{width:540px} .w556{width:556px} .w740{width:740px} .w790{ width:790px} .w800{width:800px} .h240{height:240px} /*距离*/ .prl2{ padding:0 2px} .pt5{ padding-top:5px;}.pr5{ padding-right:5px;}.pb5{padding-bottom:5px;}.p5{padding:5px;}.pl5{padding-left:5px;} .pt10{ padding-top:10px;}.pr10{ padding-right:10px;}.pb10{padding-bottom:10px;}.pl10{padding-left:10px;}.p10{padding:10px;} .pt20{ padding-top:20px;}.pr20{ padding-right:20px;}.pb20{padding-bottom:20px;}.pl20{padding-left:20px;}.p20{padding:20px;} .pt30{ padding-top:30px;}.pr30{ padding-right:30px;}.pb30{padding-bottom:30px;}.pl30{padding-left:30px;}.p30{padding:30px;} .pt40{ padding-top:40px;}.pr40{ padding-right:40px;}.pb40{padding-bottom:40px;}.pl40{padding-left:40px;}.p40{padding:40px;} .ml3{margin-left:3px}.mt5{ margin-top:5px;}.mr5{ margin-right:5px;}.mb5{ margin-bottom:5px;}.ml5{ margin-left:5px;}.m5{ margin:5px;} .mt10{ margin-top:10px;}.mr10{ margin-right:10px;}.mb10{ margin-bottom:10px;}.ml10{ margin-left:10px;}.m10{ margin:10px;} .mt20{ margin-top:20px;}.mr20{ margin-right:20px;}.mb20{ margin-bottom:20px;}.ml20{ margin-left:20px;}.m20{ margin:20px;} /*层的模型*/ .gy_box{ position:absolute; display:block;/*width:86px; width:101px;*/ padding:0 2px 2px 0; } .gy_box em{border:2px solid #a00000; display:block; /*width:83px;*/ background-color:#fff; line-height:18px; font-size:12px; padding-bottom:2px} .gy_box em i{ display:block; margin:3px 5px;} .gy_box em i a{display:block;width:60px;padding: 0 6px} .gy_box em i a:hover{background-color:#A10101;color:#fff;} .gy_box i.bj{ height:3px; margin:0px; padding:0px; position:absolute; line-height:500px; overflow:hidden; width:82px; top:0px; left:0px;background-color:#DFDFDF;border:solid #a00000; border-width:0 2px;} /*登陆、注册、导航 开始*/ .shop_top{ height:25px;width:990px; margin:0 auto;color:#000;} .shop_top .shop_top_left, .shop_top_left a, .shop_top_left span{ float:left;} .shop_top_left a, .shop_top_left span{ margin-top:5px;} .shop_top_left a.link_img{ margin-top:2px;width:101px;height:19px;line-height:500px;overflow:hidden} .shop_top .shop_top_right{ float:right; display:block; color:#D1D1D1; height:25px;} .shop_top .shop_top_right dl{ display:inline; float:left;padding:0px 3px;height:19px;margin:3px 0px 0px 0px; line-height:20px; background:url(../images/new_head/head_foot_bj.png) no-repeat right 4px} .shop_top .shop_top_right dl dt a{ padding:1px 5px; border:#F0F0F0 solid; border-width:1px 1px 0px 1px; float:left;height:16px; line-height:16px;} .shop_top .shop_top_right dl dt a.shop_top_droplist{ padding-right:14px; background:url(../images/new_head/head_foot_bj.png) no-repeat -432px -127px; margin-right:1px} .shop_top .shop_top_right dl dt a.shop_top_droplist_hover{ padding-right:14px; background-color:#fff; background-position:-432px -301px;border:#a00000 solid; border-width:1px 1px 0px 1px;} .shop_top .shop_top_right dl dd{ z-index:9999; position:absolute; background:#FFF; padding:0; border:#a00000 solid; border-width:0px 1px 1px 1px;width:70px; line-height:1.5em; top:20px; padding-top:3px; clear:both; display:none;} .shop_top .shop_top_right dl dt a.mycart{background:url(../images/new_head/head_foot_bj.png) no-repeat left -304px; padding-left:20px; color:#a00000; margin-left:5px} .sales02 img{ border:1px solid #ccc} /*logo、search*/ .ls{height:71px;position:relative;width:990px; margin:0 auto 14px; } .ls .logo{ float:left; margin:6px 0 0 11px } /*search*/ .top-search{height:70px;width:500px;position:absolute;top:15px;right:59px;} .top-search li{width:50px;height:20px;line-height:20px;text-align:center;float:left;color:#fff;cursor:pointer; margin:0 0 0 10px; position:relative; top:2px;} .top-search li a{ color:#666;} .top-search li.s{background:url(../images/new_head/head_foot_bj.png) no-repeat -121px -133px;} .top-search .top-search-box{width:500px;height:35px;background:url(../images/new_head/head_foot_bj.png) no-repeat left -23px;} .search_goods{ background:url(../images/new_head/head_foot_bj.png) no-repeat 3px -233px;} .search_shop{ background:url(../images/new_head/head_foot_bj.png) no-repeat 3px -194px;} .top-search .in{position:absolute;top:29px;left:7px;height:19px;width:388px;border:1px #fff solid; padding:0 2px;line-height:19px;font-size:14px;color:#000} .top-search .ok{position:absolute;top:25px;right:5px;height:26px;width:91px;border:none;line-height:28px;background:url(../images/new_head/head_foot_bj.png) no-repeat left -133px;cursor:pointer;} .ls .text1 {line-height: 18px; position: absolute;right:0;top: 37px; line-height:16px} /*nav*/ .gy_nav{ height:43px;width:990px; margin:0 auto; position:relative; font-size:14px;z-index:3 } .gy_nav ul{position:absolute;top:0px;left:0px;} .gy_nav ul.ul1{ width:694px;} .gy_nav ul li{ float:left; padding:0 10px; height:33px; line-height:33px; display:inline;position:relative} .gy_nav ul li a{color:#fff} /*.gy_nav ul li.on a{color:#333}*/ .gy_nav ul li.on a{color:#404040; text-decoration:none} .gy_nav ul li.on a,.gy_nav ul li.on a:hover{color:#404040; text-decoration:none} .gy_nav ul li.bj{ width:9px; padding:0; margin:0 32px; background:url(../images/new_head/head_foot_bj.png) no-repeat -96px -133px;text-indent:-100000px;} .gy_nav ul.ul2 li.bj{ background-position:-109px -133px;margin: 0 8px 0 11px;} .gy_nav ul li.on{ background-color:#fff;color:#404040;font-weight:bold} .gy_nav ul.ul1 li.ztg{ background:url(../images/new_head/head_foot_bj.png) no-repeat -292px -276px; line-height:36px; width:73px; position:absolute; right:14px;/*.gy_nav ul.ul1*/ } .gy_nav ul.ul1 li.ztg a.link1{color:#fff} .gy_nav ul.ul1 .gy_box{left:-8px;top:33px; } .gy_nav ul.ul1 .gy_box em{border-top:0px;} .gy_nav ul.ul1 .gy_box em a{color: #666; font-weight:400;} .gy_nav ul.ul1 .gy_box em a:hover{color: #fff; text-decoration:none} .gy_nav ul.ul2{ left:732px;} .gy_nav ul.ul2 li i.hot{position:absolute; display:block; width:13px; height:13px; top:1px; right:-3px; background:url(../images/new_head/head_foot_bj.png) no-repeat -214px 0} /*导航层*/ .gy_nav ul.ul1 li i.jt{width:7px;height:4px; background:url(../images/new_head/head_foot_bj.png) no-repeat -354px 0;position:absolute;display:block;right:0;top:15px;overflow:hidden; cursor:pointer} /*帮助*/ .links{margin:0 auto;height:150px;width:950px; padding-top:33px} .links ul{width:950px;height:150px;margin:0 auto;} .links li{width:170px;float:left; padding:0 0 0 35px; margin:0 30px 0 0; display:inline;background:url(../images/new_head/head_foot_bj.png) no-repeat left -428px;} .links li.secure{} .links li.new{ background-position:-103px -333px} .links li.hotline{background-position:-36px -397px} .links li.host{background-position:-68px -367px} .links li h3{width:170px;border-bottom:1px #E2E2E2 solid;} .links li p{line-height:23px;} /*footer start*/ .footer{text-align:center;line-height:23px;width:950px;margin:20px auto 0;} .bottom-pop{display:inline-block;position:relative;cursor:pointer;color:#333333;} #bottom-pop-box{ position:absolute; bottom:15px; left:-175px; float:left} #bottom-pop-box em{border:2px #DF6564 solid; border-top:7px #DF6564 solid; background-color:#fff; width:400px; padding-top:5px; padding-bottom:5px;height:115px; display:block} #bottom-pop-box em i{ height:23px; line-height:23px; width:67px; display:block; float:left; margin-left:10px; display:inline; text-align:left;} i.bottom-pop-horn{ width:13px; height:12px; background:url(../images/new_head/head_foot_bj.png) no-repeat -354px -133px ; font-size:0px; line-height:12px; overflow:hidden; margin:0 auto; display:block;} /*footer end*/ /*thickbox*/ #TB_window {font: 12px Arial, Helvetica, sans-serif;color: #333333;} #TB_secondLine {font: 10px Arial, Helvetica, sans-serif;color:#666666;} #TB_window a:link {color: #666666;} #TB_window a:visited {color: #666666;} #TB_window a:hover {color: #000;} #TB_window a:active {color: #666666;} #TB_window a:focus{color: #666666;} #TB_overlay {position: fixed;z-index:100;top: 0px;left: 0px;height:100%;width:100%;} .TB_overlayMacFFBGHack {} .TB_overlayBG {background-color:#000;filter:alpha(opacity=20);-moz-opacity: 0.50;opacity: 0.20;} * html #TB_overlay { /* ie6 hack */position: absolute;height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');} #TB_window {position: fixed;background: #ffffff;z-index: 102;color:#000000;display:none;border: 3px solid #D3D3D3;text-align:left;top:50%;left:50%;z-index:9999;} * html #TB_window { /* ie6 hack */position: absolute;margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');} #TB_window img#TB_Image {display:block;margin: 15px 0 0 15px;border-right: 1px solid #ccc;border-bottom: 1px solid #ccc;border-top: 1px solid #666;border-left: 1px solid #666;} #TB_caption{height:25px;padding:7px 30px 10px 25px;float:left;} #TB_closeWindow{height:25px;padding:11px 25px 10px 0;float:right;} #TB_closeAjaxWindow{padding:7px 10px 5px 0;margin-bottom:1px;text-align:right;float:right;} #TB_ajaxWindowTitle{float:left;padding:7px 0 5px 10px;margin-bottom:1px;} #TB_ajaxWindowTitle strong{ font-size:14px;} #TB_title{height:31px; background:#F5F5F5;color:#565656; } #TB_ajaxContent{clear:both;padding:2px 15px 15px 15px;overflow:auto;text-align:left;line-height:1.4em;} #TB_ajaxContent.TB_modal{padding:15px;} #TB_ajaxContent p{padding:5px 0px 5px 0px;} #TB_load{position: fixed;display:none;height:13px;width:208px;z-index:103;top: 50%;left: 50%; margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */} * html #TB_load { /* ie6 hack */ position: absolute; margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');} #TB_HideSelect{z-index:99;position:fixed;top: 0;left: 0;background-color:#fff;border:none;filter:alpha(opacity=0);-moz-opacity: 0;opacity: 0;height:100%;width:100%;} * html #TB_HideSelect { /* ie6 hack */position: absolute;height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');} #TB_iframeContent{clear:both;border:none;margin-bottom:-1px;margin-top:1px;_margin-bottom:1px;} .tips_word{ height:28px; line-height:28px;} #TB_closeWindowButton{background:url(../images/09.png) no-repeat -315px 0px;font-size:0;display:inline-block; width:22px; height:21px; cursor:pointer;} /* end thickbox*/ /*分页符*/ .zpage{ width:100%; text-align:right;} .zpage a{display:inline-block;font-family:Tahoma,SimSun,Arial;height:25px;line-height:25px;min-width:17px;_width:17px;padding:0px 5px 0px 5px;text-align:center;vertical-align:top;white-space:nowrap; border:1px #DEDEDE solid; color:#0033CC} .zpage a:hover{background:#EFEFEF} .zpage span{display:inline-block;font-family:Tahoma,SimSun,Arial;height:25px;line-height:25px;min-width:17px;_width:17px;padding:0px 5px 0px 5px;text-align:center;vertical-align:top;white-space:nowrap; border:1px #DEDEDE solid;} .zpage span.c{background:#45A929;color:#FFF; border:1px #45A929 solid; font-weight:bold;} /*公共的商品列表*/ .search_filter{} .search_filter ul{ overflow:hidden; zoom:1;} .search_filter ul.ul2{ margin-bottom:-10px} .search_filter ul.ul2 li{float:left;height:243px; height:261px;padding:0 17px 30px;width: 163px; overflow:hidden} .search_filter ul.ul2 .img_table {display: table-cell;height: 162px;overflow: hidden;position: relative;text-align: center;vertical-align: middle;width:160px;border:1px solid #dcdcdc} .search_filter ul.ul2 li .on { border-color: #FF9900;} .search_filter ul.ul2 li .text {line-height: 17px;margin-top: 8px;width: 166px;} .search_filter ul.ul2 li .text h4{height:51px; overflow:hidden} .search_filter .icon_table{ overflow:hidden;} .search_filter .icon_table a{ cursor:pointer; float:left} /*公共的推荐商品*/ .search_filter1{ margin-top:30px;} .search_filter1 .title,.search_filter1 ul.ul2{border:1px solid #dcdcdc} .search_filter1 ul.ul2{border-top:0px;} .search_filter1 ul.ul2 li{ padding-bottom:20px} .search_filter1 .title{height:28px; line-height:28px; overflow:hidden;background-color: #F5F5F5;} .search_filter1 .title h3 {color:#000000; font-size: 14px;font-weight: bold; float: left;} /*404页*/ .number404{padding:58px 0 75px 334px; width:656px; margin:0 auto} .number404 h2{ margin-bottom:25px;} .number404 p{ line-height:22px} /*404的推荐商品*/ .search_filter2{wmargin:0 auto 10px} .search_filter2 .search_filter1{ margin-top:0} .search_filter2 ul.ul2 { margin-bottom:0;} .search_filter2 ul.ul2 li{ padding-bottom:0; height:225px;} /*正确页面*/ .true{ } /*优惠卷页*/ .coupons{ padding:43px 0 97px 286px; width:704px} .coupons h2{ margin-bottom:0} .coupons p{ margin-top:3px; clear:both} .coupons .link1{ display:block; width:71px; height:26px; line-height:26px; text-align:center;} /*页面里提示错误层*/ .tip_error{ padding:75px 0} .tip_error span{font:700 14px/34px "\5B8B\4F53";color:#333; padding-left:43px; display:inline-block} .tip_error span.samll_text{ font:400 12px/17px "\5B8B\4F53";color:#666; padding-left:20px} /*图片垂直*/ .v_img_table{overflow:hidden; position:relative; display:table-cell; text-align:center; vertical-align:middle;} .v_p {position:static; +position:absolute; top:50% } .v_img {position:static; +position:relative; top:-50%;left:-50%;} /*星*/ .star_hollow2, .star_hollow3, .star_hollow4{ width:64px; height:9px; float:left; margin:0px 5px 0 0; display:inline;cursor:pointer;overflow:hidden} .star_full2, .star_full3, .star_full4{ height:9px;} .star_hollow3,.star_full3{width:68px; height:12px;} .star_hollow3{background-position:0 -237px; margin-right:8px} .star_full3{background-position:0 -255px} .star_hollow4,.star_full4{width:92px; height:16px} .star_hollow4{background-position:0 -182px} .star_full4{background-position:0 -165px} /*qq、旺旺、msn*/ a.qq,a.wang,a.msn,a.qq_1,a.wang_1,a.msn_1{ display:inline-block; width:66px; height:16px; margin:5px auto 0px; vertical-align:text-bottom;} a.qq_1{background-position:0px -57px;}a.wang{background-position:0px -77px;}a.wang_1{background-position:0px -96px;}a.msn{background-position:0px -117px;}a.msn_1{background-position:0px -135px;} /*定制、定购、促销、清仓、团购*/ .dg,.cx,.qc,.dz,.tg,.by{width:23px; height:11px; text-indent:-99999em; line-height:11px; display:inline-block; margin-left:5px;vertical-align:text-top;vertical-align:baseline\0} .dg{background-position:-24px 0} .cx{background-position:0 0} .qc{background-position:-0px -12px} .dz{background-position:-24px -12px} .tg{background-position:0 -24px} .by{background-position:-24px -24px} /*闪电发货、七天发货、先行赔付、延期赔偿、免费安装*/ .sdfh,.qtth,.xxpf,.yqpc,.mfaz{width:16px; height:16px; line-height:16px; float:left; margin:5px 0 0 5px; display:inline} .qtth{background-position:0 -301px} .xxpf{background-position:0 -331px} .yqpc{background-position:0 -364px} .mfaz{background-position:0 -395px} /*客服层*/ .service_layer{padding-top:28px; width:96px;} .service_layer .center{ padding:10px 7px;} /* .service_layer .center h3.h3_1{ background:url(../images/new_head/new_head/head_foot_bj.gif) no-repeat -865px -141px; padding-top:10px;} */ .service_layer .center li{ padding-top:6px;} .service_layer .center li img{ /*vertical-align:text-bottom;*/ margin-right:5px;width:16px; height:16px} .service_layer .bottom{ height:5px; overflow:hidden; } ================================================ FILE: taotao-cart-web/src/main/webapp/css/head.css ================================================ body{text-algin:center;margin:0px;font-size:12px; font-family:Arial, Helvetica, sans-serif;padding:0; color:#565656;} .padbody{text-algin:center;margin:0px;font-size:12px; font-family:Arial, Helvetica, sans-serif; background:url(../images/bg.jpg) repeat-x top #fff;padding:0px 0px 0px 0px; color:#6b6b6b;} h1, h2, h3, h4, h5, h6, p, a, em, font, img, strong, b,dl, dt, dd,form, label,ol,ul,li,legend,span,input{margin:0;padding:0;} ul,li,ol{list-style:none;} p{margin:0px; padding:0px;word-break: break-all; } img{border:0px;} a{color:#565656;text-decoration:none;} a:hover{color:#0a6737;border:none;*vertical-align:baseline;} .clear{clear:both;padding:0px;font-size:0px;margin:0px;height:0px;display:block;border:none;overflow:hidden;} .clear1{clear:both;height:5px;font-size:0px;margin:0px;padding:0px;display:block;border:none; overflow:hidden;} .clear2{clear:both;height:10px;font-size:0px;margin:0px;padding:0px;display:block;border:none; overflow:hidden;} .clearfix{zoom:1;} .clearfix:after{content: "."; display: block; height:0; clear: both; visibility:hidden;} input{margin:0;padding:0; vertical-align:middle; _vertical-align:baseline;border:0} .fl{float:left} .fr{float:right;} input.submit1{font-size:12px;background-color:#6c9c0a;color:#fff;border:none;margin:0px 0px 0px 0px;padding:0px 4px 0px 4px;height:22px;line-height:22px;cursor:pointer; vertical-align:middle; vertical-align:baseline\9;} input.submit1:hover{background:url(../images/productinfo.png) repeat-x 0 -124px;} input.submit2{font-size:8px;background:url(../images/btn_bg.jpg) repeat-x bottom;color:#fff;border:none;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;height:12px; line-height:8px;cursor:pointer;width:12px; vertical-align:middle; *font-size:12px;} a.submit2{font-size:12px;background:url(../images/btn_bg.jpg) repeat-x bottom;color:#fff;border:none;margin:1px 2px 0px 2px;padding:0px 0px 0px 0px;height:12px; line-height:12px;cursor:pointer;width:10px; vertical-align:middle; font-size:12px; display:block; float:left; text-align:center; text-decoration:none; overflow:hidden;} a.submit2:hover{color:#fff; text-decoration:none;} input.submit3{font-size:12px;background:#aaaaaa;color:#fff;border:none;margin:0px 0px 0px 0px;padding:0px 2px 0px 2px;height:22px;line-height:22px;cursor:pointer;vertical-align:middle; _vertical-align:top;} .box{width:1000px; margin:auto;} .box2{margin:auto;} .hide{display:none;} em{font-style:normal;} input{outline:none;} /*顶部浮动*/ .topMenu{width:100%;height:33px;text-align:center;position:relative;top:0;z-index:101;padding:0px;background:#f7f7f7;border-bottom:1px solid #eeeeee;} .topMenu a{color:#969696;} .topMenu a:hover{color:#669900;} .pW{width:1000px;margin:auto;} .topTh li{float:left;position:relative;line-height:33px;} .topTh .d2{padding:0 10px 0 28px;} /*首页城市选择遮罩层*/ .indexshadow{font-size:14px;width:580px;background-color:#fff;border:5px #767574 solid;position:absolute;top:0;left:0;display:none;z-index:99999;} #screen{width:100%;height:100%;position:absolute;top:0;left:0;display:none;z-index:9999;background-color:#666;opacity:0.7;filter:alpha(opacity=70);-moz-opacity:0.7;} .indexshadow .city_top{height:50px; padding-left:10px;border-bottom:1px solid #DCDCDC; line-height:50px;} .indexshadow .city_top span{ float:left; font-size:12px; color:#000;} .indexshadow .city_top .taddress{ padding:0 10px 0 10px; height:26px; line-height:26px; background-image: -moz-linear-gradient(top, #65BC02, #6DC403); /*火狐*/ background: -o-linear-gradient(top, #65BC02 0%,#6DC403 100%);/*Opera*/ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #65BC02), color-stop(1,#6DC403)); /*Chrome*/ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#65BC02', endColorstr='#6DC403', GradientType='0'); /*IE*/ background: -ms-linear-gradient(top,#65BC02 0%,#6DC403 100%); /*IE10以上*/ border-radius:2px; font-size:14px; font-weight:bold; text-align:center; margin:10px 0 0 0; } .indexshadow .city_top .taddress a{color:#FFF; } .indexshadow .city_middle{margin:0px 0px 5px 0px;padding-left:10px;} .indexshadow .city_middle ul li{width:45px; height:40px; line-height:40px; float:left; text-align:center;} .indexshadow .city_middle ul li a{ color:#0099FF;} .indexshadow .city_bottom{margin:5px 0px 0px 0px; padding-bottom:10px;} .indexshadow .city_bottom .quyu{ float:left; text-align:center; height:35px; line-height:35px; width:95px; border-top:1px solid #f5f5f5;border-right:1px solid #f5f5f5; color:#969696;} .indexshadow .city_bottom ul{ width:100%;*width:480px;border-top:1px solid #f5f5f5;} .indexshadow .city_bottom ul li{ color:#333333; float:left; height:35px; width:50px; text-align:center; height:35px; line-height:35px; cursor:pointer;} .indexshadow .city_bottom .huadong .on{background:url(../images/foot/icity_bg.png) center bottom no-repeat; color:#FFF;z-index:2; position:relative; bottom:-1px;} .indexshadow .city_bottom .htcity{margin:0 0 0 95px; width:480px; overflow:hidden; z-index:1; position:relative;} .indexshadow .city_bottom .htcity dl{text-align:center; width:100%; float:left;background:#f9f9f9;border-top:1px solid #69af05;} .indexshadow .city_bottom .htcity dl dd a{ padding-left:2px; text-align:center; width:65px; height:25px; line-height:25px; overflow:hidden; float:left;text-decoration:none; color:#333333; display:block; font-size:12px;} .indexshadow .city_bottom .htcity dl dd a:hover{ color:#669900;text-decoration:none;} .indexshadow .city_bottom .htcity dl dd a.city-long{padding-left:2px; text-align:center; width:132px; height:25px; line-height:25px; overflow:hidden; float:left;text-decoration:none; color:#333333; display:block;} .indexshadow .city_bottom .htcity dl dd a.city-long:hover{ color:#669900;text-decoration:none;} /*顶部城市选择*/ .topTh .d6 p{width:72px; height:20px; line-height:20px; border:1px solid #DCDCDC; margin:6px 0 0 0; overflow:hidden;} .topTh .d6 .pshort{width:50px; height:20px; line-height:20px; border:1px solid #DCDCDC; margin:6px 0 0 0; overflow:hidden;} .topTh .d6 .pmiddle{width:60px; height:20px; line-height:20px; border:1px solid #DCDCDC; margin:6px 0 0 0; overflow:hidden;} .topTh .d6 .city_title{ margin:0 0 0 8px; *margin:0 0 0 -10px; width:48px; overflow:hidden; display:block; color:#333333;} .topTh .d6 .city_title1{ margin:0 0 0 5px; *margin:0 0 0 -10px; width:30px; overflow:hidden; display:block; color:#333333;} .topTh .d6 .city_title2{ margin:0 0 0 5px; *margin:0 0 0 -10px; width:40px; overflow:hidden; display:block; color:#333333;} .topTh .d6 b{background:url(../images/header.png) no-repeat -86px -130px;width:8px;height:4px;position:absolute;top:15px;right:5px;} .topTh .d6.hover b{transform:rotate(180deg);-webkit-transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);*background:url(../images/header.png) no-repeat -169px -2px;} .topTh .d6 .blank,.topTh .d6 .outline{width:72px;} .topTh .blank1,.topTh .outline1{display:none;position:absolute;border:1px solid #dadada;background-color:white;} .topTh .blank1{ margin-left:5px;top:0;height:33px;z-index:-1;left:0;width:50px;-moz-box-shadow:0 0 5px #dadada;-webkit-box-shadow:0 0 5px #dadada;box-shadow:0 0 5px #dadada;} .topTh .outline1{z-index:1;left:6px;width:50px;height:8px;top:24px;border:0 none;overflow:hidden;} .topTh .blank2,.topTh .outline2{display:none;position:absolute;border:1px solid #dadada;background-color:white;} .topTh .blank2{ margin-left:5px;top:0;height:33px;z-index:-1;left:0;width:60px;-moz-box-shadow:0 0 5px #dadada;-webkit-box-shadow:0 0 5px #dadada;box-shadow:0 0 5px #dadada;} .topTh .outline2{z-index:1;left:6px;width:60px;height:8px;top:24px;border:0 none;overflow:hidden;} .topTh .d6 .dd{display:none; width:438px;border:1px solid #DCDCDC; text-align:left; margin:0;} .topTh .d6.hover .blank{top:6px;height:22px;z-index:-1; margin:0;} .topTh .d6.hover .outline{z-index:1;top:25px; left:1px;} .topTh .d6.hover .blank1{top:6px;height:22px;z-index:-1; margin:0; display:block;} .topTh .d6.hover .outline1{z-index:1;top:25px; left:1px;display:block;} .topTh .d6.hover .blank2{top:6px;height:22px;z-index:-1; margin:0; display:block;} .topTh .d6.hover .outline2{z-index:1;top:25px; left:1px;display:block;} .topTh .d6 .city_top{ margin:5px 10px 5px 10px;height:30px; border-bottom:1px solid #DCDCDC; line-height:30px;} .topTh .d6 .city_top span{ float:left; color:#969696;} .topTh .d6 .city_top .off{ height:25px; float:right;background: url(../images/index_icon_new.png) -245px -33px no-repeat;width:18px; height:18px; margin:8px 0 0 0; cursor:pointer;} .topTh .d6 .city_middle{margin:0px 10px 5px 10px;} .topTh .d6 .city_middle ul li{width:38px;} .topTh .d6 .city_middle ul li a{ color:#0099FF;} .topTh .d6 .city_bottom{margin:5px 10px 15px 10px; color:#969696;} .topTh .d6 .city_bottom .quyu{ float:left; height:25px; line-height:25px; color:#333333;} .topTh .d6 .city_bottom ul{ float:left; width:360px; *width:380px; display:inline;} .topTh .d6 .city_bottom ul li{ width:40px; text-align:center; height:25px; line-height:22px; cursor:pointer; color:#333333;} .topTh .d6 .city_bottom .huadong .on{background:url(../images/foot/city_bg.png) center bottom no-repeat; color:#FFF;} .topTh .d6 .city_bottom .htcity dl{ text-align:center; float:left; width:425px;background:#F5F5F5; border-top:1px solid #669900; margin-top:-1px; } .topTh .d6 .city_bottom .htcity dl dd a{ display:block; padding-left:10px; width:50px;line-height:25px; height:25px; float:left; text-align:center; overflow:hidden; color:#333333;} .topTh .d6 .city_bottom .htcity dl dd a:hover{color:#669900;} .topTh .d6 .city_bottom .htcity dl dd a.city-long{display:block; padding-left:10px; width:110px;line-height:25px; height:25px; float:left; text-align:center; overflow:hidden;} .topTh .d3,.topTh .d4{width:30px;height:30px;} .topTh .d1 b{background:url(../images/header.png) no-repeat;width:12px;height:12px;position:absolute;top:10px;left:10px;} .topTh .d1.hover b{background:url(../images/header.png) no-repeat -73px -154px;} .topTh .d2 s{width:0px;height:18px;position:absolute;top:8px;left:0;overflow:hidden;} .topTh .d2 q,.topTh .d3 q,.topTh .d4 q{height:16px;position:absolute;top:9px; quotes:none;} .topTh .d2 q{background:url(../images/header.png) no-repeat -73px -122px;width:10px;left:10px;transition:all 0.2s ease 0s;} .topTh .d2.hover q{background:url(../images/header.png) no-repeat -73px -138px;} .topTh .d2 .dd{display:none;top:32px;width:230px;left:-50px;padding:15px 0 0 0;} .topTh .d2 .dd .sf-client{margin-bottom:10px;margin-left:15px;position:relative;text-align:left;} .topTh .d2 .dd .client-img{width:73px;height:74px;overflow:hidden;background:url(../images/header.png) no-repeat 0 -93px;display:block;} .topTh .d2 .dd i{position:absolute;width:50px;height:29px;left:80px;top:5px;background:url(../images/header.png) no-repeat -73px -93px;display:block;} .topTh .d2 .dd .client-txt{position:absolute;left:95px;top:34px;} .topTh .d2 .dd .client-txt em{display:block;line-height:20px;} .topTh .d2 .dd .client-txt strong{color:#76ac25;line-height:20px;} .topTh .d2 .dd .client-promo{height:30px;background:url(../images/indexImg20130307.png) no-repeat -182px -210px #fcfbe4;text-align:center;color:#fa6400;font-size:14px;font-weight:bold;line-height:30px;} .topTh .d2 .dd .client-promo a:link,.topTh .d2 .dd .client-promo a:visited{color:#fa6400;} .topTh .d2 .dd .app-btn{font-size:0;height:29px;margin:0 0 10px 15px;} .topTh .d2 .dd .app-apple{float:left;display:block;width:96px;height:29px;background:url(../images/header.png) no-repeat 0 -167px;margin-right:5px;_display:inline;} .topTh .d2 .dd .app-android{float:left;display:block;width:96px;height:29px;background:url(../images/header.png) no-repeat 0 -196px;} .topTh .d3 q{background:url(../images/header.png) no-repeat -55px 0;width:19px;left:12px;cursor:pointer;quotes:none;} .topTh .d4 q{background:url(../images/header.png) no-repeat -74px 0;width:17px;left:8px; quotes:none;} .topTh .d4 .dd{display:none;left:-50px;top:32px;} .topTh .d4 .dd .sf_wx_t{ width:136px; height:22px; line-height:22px; color:#515151;} .topTh .d4 .dd .sf_wx{display:block;width:136px;height:110px;background:url(../images/weixin.png) no-repeat top center #FFFFFF;} .topTh .login{color:#999999;padding:0 10px;} .topTh .login a:link,.topTh .login a:visited{color:#969696;} .topTh .login a:hover{color:#669900;} .topTh .logininfo{color:#666666;} .topTh .myOrder{padding:0 10px;} .topTh .menus{padding:0 10px 0 10px;width:60px;cursor:default;margin:6px 0 0 0; line-height:22px;} .topMenu .fr b{position:absolute;right:5px;top:8px;background:url(../images/header.png) no-repeat -86px -130px;width:8px;height:4px;transition:transform .2s ease-in 0s;-webkit-transition:-webkit-transform .2s ease-in 0s;overflow:hidden;} .topTh .allCat{padding:0 15px;cursor:default;*margin:0; margin:6px 0 0 0;line-height:22px;} .topTh .allCat .site{color:#969696;} .topTh .allCat s{position:absolute;right:0px;top:8px;background:url(../images/header.png) no-repeat -86px -130px;width:8px;height:4px;transition:transform .2s ease-in 0s;-webkit-transition:-webkit-transform .2s ease-in 0s;overflow:hidden;} .topTh .blank,.topTh .dd,.topTh .outline{display:none;position:absolute;border:1px solid #dadada;background-color:white;} .topTh .blank{margin-left:5px;top:0;height:33px;z-index:-1;left:0;width:78px;-moz-box-shadow:0 0 5px #dadada;-webkit-box-shadow:0 0 5px #dadada;box-shadow:0 0 5px #dadada;} .topTh .menus .blank{_margin-top:-6px;_height:37px;} .topTh .menus .dd{margin-left:5px;_margin-left:0px;line-height:22px;left:0;width:78px;-moz-box-shadow:0 0 5px #dadada;-webkit-box-shadow:0 0 5px #dadada;box-shadow:0 0 5px #dadada;top:28px;} .topTh .menus.hover b{transform:rotate(180deg);-webkit-transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);*background:url(../images/header.png) no-repeat -169px -2px;} .topTh .outline{z-index:1;left:6px;width:78px;height:8px;top:24px;border:0 none;overflow:hidden;} .topTh .allCat .blank,.topTh .allCat .outline{width:81px;_width:86px;} .topTh .allCat .blank{_margin-top:-6px;_height:37px;} .topTh .allCat .dd{top:28px;width:815px;right:0;margin-right:-10px;left:auto;padding-top:10px;-moz-box-shadow:0 0 5px #dadada;-webkit-box-shadow:0 0 5px #dadada;box-shadow:0 0 5px #dadada;} .allCat dl{float:left;width:200px;padding:15px 19px 0 20px;text-align:left;margin-bottom:10px;} .allCat dl dt{font-weight:bold;margin-bottom:5px;font-size:16px;font-family:Microsoft Yahei; } .allCat dl dd{line-height:20px;height:100px;overflow:hidden;} .allCat dl dd a{ display:block;width:65px; float:left; line-height:30px; color:#666666;} .allCat dl dd p{ width:100%;float:left;} .allCat dl .dh1{ color:#669900;} .allCat dl .dh2{color:#FA6400;} .allCat dl .dh3{color:#646464;} .allCat .line{background:url(../images/foot/line.jpg) center repeat-y; height:90px;width:5px; margin:20px 0 0 0;} .allCat dl .fore1{} .topTh .allCat.hover s{transform:rotate(180deg);-webkit-transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);*background:url(../images/header.png) no-repeat -169px -2px;} .topTh .hover .t{color:#669900;} .topTh .hover .blank,.topTh .hover .dd,.topTh .hover .outline{display:block;} .topMenu .fr.hover b{transform:rotate(180deg);-webkit-transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);*background:url(../images/header.png) no-repeat -169px -2px;} .tShow .corner{display:none;width:8px;height:15px;position: absolute;top:25px;left:8px;z-index:2;} .tShow .corner .aBg,.tShow .corner .aCt{display: block;font-size: 0;height: 0;line-height: 0;overflow: hidden;width: 0;} .tShow .aBg{border-left: 8px dashed rgba(0, 0, 0, 0);border-left: 8px dashed white\0;border-bottom: 8px solid #dadada;border-right: 8px dashed rgba(0, 0, 0, 0);border-right: 8px dashed white\0;position: relative;border-top:0 none;} .tShow .aCt{border-left: 8px dashed rgba(0, 0, 0, 0);border-left: 8px dashed white\0;border-bottom: 8px solid #ffffff;border-right: 8px dashed rgba(0, 0, 0, 0);border-right: 8px dashed white\0;position: relative;border-top:0 none;margin:-7px 0 0 0px;} :root .tShow .aBg{border-left: 8px dashed rgba(0, 0, 0, 0);border-right: 8px dashed rgba(0, 0, 0, 0);} :root .tShow .aCt{border-left: 8px dashed rgba(0, 0, 0, 0);border-right: 8px dashed rgba(0, 0, 0, 0);} *+html .tShow .aBg{border-left: 8px dashed white;border-right: 8px dashed white;} *+html .tShow .aCt{border-left: 8px dashed white;border-right: 8px dashed white;} *html .tShow .aBg{border-left: 8px dashed white;border-right: 8px dashed white;} *html .tShow .aCt{border-left: 8px dashed white;border-right: 8px dashed white;} .topTh .tShow.hover .corner{display:block;} .topTh .d2 .corner{left:45px;} #qiyeLogin{display:none;} #header{padding:0;height:104px;width:1000px;margin:0 auto;} .header_inner{width:1000px;margin:auto; position:relative;z-index:31;} .header_inner .logo{width:240px;margin:0px;float:left;padding:5px 0px 0px 0px;position:relative;} .header_inner .logo a.logoleft{display:block;position:absolute;left:0px;width:197px;padding:0px 0px 0px 0px;background:url(../images/logo66.png?v=1.5) 0px 0px no-repeat;_background:url(../images/indexImg20130307.jpg?v=1.1) -33px 0px no-repeat;height:66px;} .header_inner .logo a.logoright{display:block;position:absolute;width:116px;right:0px;height:66px;background:url(../images/indexImg20130307.png?v=1.5) -160px 0px no-repeat;_background:url(../images/indexImg20130307.jpg?v=1.1) -160px 0px no-repeat;} .header_inner .logo .logoright_best{margin-top:12px;} .header_inner .logo div.logo-text{position:absolute;top:73px;left:0;color:#000;font-size:14px; font-family:Microsoft YaHei; clear:both;letter-spacing:1px; text-align:center;width:240px;} .header_inner .logo div.logo-text font{font-family:Microsoft YaHei;font-size:14px; font-weight:bold;} .header_inner .search{position:absolute;width:415px;margin:0px; padding:0px;right:245px;top:28px;} .header_inner .search input.text{border:1px solid #669900;width:330px; height:32px; line-height:32px;vertical-align:middle; float:left;padding:0px 0px 0px 4px;} .header_inner .search input.submit{margin:0px;height:34px;width:78px;cursor:pointer;float:left;vertical-align:middle;border:0;background:url(../images/header.png) no-repeat -107px -179px; color:#FFF;} .search_hot{clear:both;text-align:left;padding:4px 0px 0px 0px;} .search_hot a{margin:0px 8px 0px 0px; color:#979797;} .search_hot a:hover{color:#669900;} /*顶部购物车*/ .shopingcar{width:146px;padding-left:48px;position:absolute;top:28px;right:0px;height:33px;border:1px solid #efefef;line-height:33px;font-size:12px;} .shopingcar a:hover{color:#669900;} .shopingcar s{background:url(../images/header.png) no-repeat -54px -16px;width:23px;height:21px;left:17px;position:absolute;top:4px;} .shopingcar b#cartNum{position:absolute;top:-1px;left:154px;width:40px;height:34px;text-align:center;line-height:34px;background-color:#fa9600;color:white;font-size:16px;font-weight:600;} .shopingcar ul li.nmlist {border: 0 none;} .shopingcar ul li.nmline {border-bottom: 1px dashed #CCCCCC;height: 0;line-height: 0;margin: 0;overflow: hidden;padding: 0;} .shopingcar ul li.nmtop {background-color: #F2F6ED;border-bottom: 1px solid #CCCCCC;height: 26px;line-height: 26px;margin: 0;overflow: hidden;padding: 0;} .nmtitle {color: #1B6146;float: left;} .nmtotal {float: right;} .nmtotal font {color: #EA5404;font-size: 14px;font-weight: bold;} .nmtotal a:link {color:#999999;} #topCart.hover .blank,#topCart.hover #cart_lists,#topCart.hover .outline{display:block;position:absolute;border:1px solid #efefef;background-color:white;} #topCart.hover .blank{top:-1px;height:33px;z-index:-1;left:-1px;width:194px;-moz-box-shadow:0 0 5px #dadada;-webkit-box-shadow:0 0 5px #dadada;box-shadow:0 0 5px #efefef;} #topCart.hover .outline{z-index:1;left:0;width:194px;height:8px;top:33px;border:0 none;} #topCart.hover .t{color:#666666;} #topCart .setCart{background:url(../images/header.png) no-repeat -102px -235px; margin:2px 0 0 0;} #cart_lists{display:none;width:360px;right:-1px;_right:-2px;-moz-box-shadow:0 0 5px #efefef;-webkit-box-shadow:0 0 5px #efefef;box-shadow:0 0 5px #dadada;top:34px;} #cart_lists .btn{display:none;} .floatcar{padding:10px;width:340px;font-size:12px;font-weight:normal;line-height:20px;} .floatcar .nopro{ width:240px; height:42px; margin:0 0 0 85px; background:url(../images/header.png) no-repeat -99px -123px;} .floatcar .nopro p{ padding-left:50px;} .floatcar .nopro p span{ color:#969696;} .floatcar .nopro p span .no_dl{ color:#669900;} .floatcar .title{color:#6c6c6c;border-bottom:1px solid #1b6146;height:24px;} .floatcar .total p{width:170px;float:left;} #listCartNum{color:#ea5404;font-size:14px;font-weight:bold;} .floatcar .total p font{color:#ea5404;font-size:18px;font-weight:bold; font-family:Arial, Helvetica, sans-serif;} .floatcar ul{margin:0px;padding:0px;display:block;position:relative;max-height:195px;_height:201px;overflow:auto;} .floatcar ul li{margin:0px; padding:12px 0px 12px 0px;height:40px;position:relative; border-bottom:1px dashed #ccc; line-height:18px;color:#565656;} .floatcar ul li:hover{ background:#f5f5f5;} .floatcar ul li .l{position:absolute;width:45px;height:45px;} .floatcar ul li .l img{width:40px;height:40px;vertical-align:middle;border:1px solid #ccc;} .floatcar ul li .c{position:absolute;width:200px;height:36px;left:48px;top:14px; overflow:hidden;} .floatcar ul li .c a{color:#565656; text-decoration:none; display:block; height:18px; overflow:hidden;} .floatcar ul li .c a:hover{color:#669900; text-decoration:none;} .floatcar ul li .c b{color:#cecece; font-weight:normal;} .floatcar ul li .r{position:absolute; text-align:right;width:80px;height:36px;right:0px;} .floatcar ul li .r font{color:#f05404;font-size:14px;font-weight:bold;} .floatcar ul li .r a{clear:both;color:#999999; text-decoration:none} .floatcar ul li .r a:hover{ text-decoration:underline} /*----页头---*/ .mainNav{width:100%;height:39px;} .navmenu{margin:0px auto;color:#303437;padding:0;width:1000px;clear:both;} .navmenu .categories{float:left;width:200px;background:#76ac25;height:39px;text-align:left;position:relative;z-index:31} .navmenu .categories .dt{height:39px;overflow:hidden; background:url(../images/cate_bg.jpg);} .navmenu .categories a.topall{height:40px;line-height:40px;display:block;margin:0px; padding:0px;color:#fff;font-size:15px; font-family:Microsoft YaHei; font-weight:bold;width:200px; text-align:center; text-decoration:none;} .navmenu .categories b{position:absolute;top:18px;right:35px;width:11px;height:7px;background:url(../images/header.png) no-repeat -55px -43px;overflow:hidden;} .navmenu .categories.hover b{top:38px;margin:0 25px;border-top:1px solid #91d42b;height:0px;line-height:0;width:150px;overflow:hidden;background:0 none;right:auto;} .menu1{width:800px;float:right;position:relative;z-index:30} .menu1 ul{width:800px;overflow:hidden;height:37px; line-height:37px;border-bottom:2px solid #679800;} .menu1 li{float:left;text-align:center;color:#303437;} .menu1 li a{font-size:14px; text-align:center;text-decoration:none;display:block;height:40px;width:95px;font-family:Microsoft YaHei;color:#333;font-weight:700;} .menu1 li a:hover{font-size:14px;color:#669900;text-decoration:none} .menu1 li a.btndown{color:#669900;} .menu1 .minisite{float:right;} .menu1 .minisite1{ border-right:1px solid #DCDCDC; width:1px; height:14px; line-height:14px; margin:12px 0 0 0;} .menu1 .minisite a{text-align:center;width:70px;font-size:12px; display:block;} .menu1 .minisite a:hover{font-size:12px;} .catTag{background-color:#fa9600;color:white;position:absolute;z-index:999;height:16px;line-height:16px;padding:0 2px;top:-8px;} .catTag b{width:0;height:0;line-height:0;font-size:0;border-left:2px solid #fa9600;border-top:2px solid #fa9600;border-right:2px dashed white;border-bottom:2px dashed white;position:absolute;left:4px;top:16px;} #catTag_1{left:175px;} #catTag_2{left:275px;} #catTag_3{left:375px;} #catTag_4{left:475px;} /*公共头部品类菜单显示*/ #public_cate .dd{display:none;} #public_cate.hover .dd{display:block;} /*---------品类菜单 ----------*/ #allSort{margin:0;z-index:998;padding:0;width:200px;height:480px;position:absolute;background-color:#76ac25;} #booksort{padding-top:8px;padding-left:15px;} #booksort .item{height:58px;} #booksort .item .i-master{display:block;height:54px;padding-left:15px;font-family:Microsoft YaHei;} #booksort .item .i-master a{color:white; margin-left:2px;} #booksort .item .i-master a:hover{color:#fa9600;} #booksort .item h3{font-weight:normal;font-size:14px;padding-top:5px;line-height:22px;} #booksort .item .subCat{font-size:12px;overflow:hidden;line-height:20px;height:20px;} #booksort .item .subCat a{ color:#ddeac8;} #booksort .item .subCat li{float:left;margin-right:8px;_display:inline;} #booksort .item .i-cm{position:absolute;top:0;left:200px;width:560px;height:480px;background:#ffffff;z-index:999;display:none;} #booksort .item .i-master s{position:absolute;width:11px;height:54px;background-color:white;left:190px;z-index:1000;display:none;margin-top:-47px;} #booksort .item .i-master h3 .fresh{ width:16px; height:22px; background:url(../images/left_lm_a.png) no-repeat -10px 5px; margin-left:-20px;float :left;_margin-left:-10px;_position:relative;} #booksort .item .i-master h3 .drinks{ width:14px; height:22px; background:url(../images/left_lm_a.png) no-repeat -10px -46px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item .i-master h3 .food{ width:16px; height:22px; background:url(../images/left_lm_a.png) no-repeat -10px -104px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item .i-master h3 .pastry{ width:16px; height:22px; background:url(../images/left_lm_a.png) no-repeat -10px -157px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item .i-master h3 .oil{ width:16px; height:22px;background:url(../images/left_lm_a.png) no-repeat -10px -265px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item .i-master h3 .baby{ width:16px; height:22px;background:url(../images/left_lm_a.png) no-repeat -10px -319px; margin-left:-20px; float:left; float:left;_margin-left:-10px;_position:relative;} #booksort .item .i-master h3 .health{ width:16px; height:22px; background:url(../images/left_lm_a.png) no-repeat -10px -373px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item .i-master h3 .tea{ width:16px; height:22px;background:url(../images/left_lm_a.png) no-repeat -10px -212px; margin-left:-20px; float:left; float:left;_margin-left:-10px;_position:relative;} #booksort .item .i-master h3 .tools{ width:16px; height:22px; background:url(../images/left_lm_a.png) no-repeat -10px -428px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item.hover .i-cm{display:block;} #booksort .item.hover .i-master{background-color:white;color:#76ac25;margin-left:-10px;_position:relative;} #booksort .item.hover .i-master h3{ margin-left:10px;} #booksort .item.hover .i-master .subCat{margin-left:10px;} #booksort .item.hover .i-master a{color:#76ac25;text-decoration:none;} #booksort .item.hover .i-master a:hover{text-decoration:underline;} #booksort .item.hover .i-master s{display:block;} #booksort .item.hover .i-master h3 .fresh{ width:16px; height:22px; background:url(../images/left_lm.png) no-repeat 0 5px; margin-left:-20px;float :left;_margin-left:-10px;_position:relative;} #booksort .item.hover .i-master h3 .drinks{ width:14px; height:22px; background:url(../images/left_lm.png) no-repeat 0 -46px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item.hover .i-master h3 .food{ width:16px; height:22px; background:url(../images/left_lm.png) no-repeat 0 -104px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item.hover .i-master h3 .pastry{ width:16px; height:22px; background:url(../images/left_lm.png) no-repeat 0 -157px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item.hover .i-master h3 .oil{ width:16px; height:22px;background:url(../images/left_lm.png) no-repeat 0 -265px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item.hover .i-master h3 .baby{ width:16px; height:22px;background:url(../images/left_lm.png) no-repeat 0 -319px; margin-left:-20px; float:left; float:left;_margin-left:-10px;_position:relative;} #booksort .item.hover .i-master h3 .health{ width:16px; height:22px; background:url(../images/left_lm.png) no-repeat 0 -373px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item.hover .i-master h3 .tea{ width:16px; height:22px;background:url(../images/left_lm.png) no-repeat 0 -212px; margin-left:-20px; float:left; float:left;_margin-left:-10px;_position:relative;} #booksort .item.hover .i-master h3 .tools{ width:16px; height:22px; background:url(../images/left_lm.png) no-repeat 0 -428px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} /*2015/12/8分类图标修改 Start*/ #booksort .item .i-master .dev .fresh{background:url(../images/left_lm_m_a.png) no-repeat 0 5px;}/*肉类海鲜*/ #booksort .item .i-master .dev .baby{background:url(../images/left_lm_m_a.png) no-repeat 0 -324px;}/*熟食蛋奶*/ #booksort .item .i-master .dev .pastry{background:url(../images/left_lm_m_a.png) no-repeat 0 -159px;}/*水果蔬菜*/ #booksort .item .i-master .dev .drinks{background:url(../images/left_lm_m_a.png) no-repeat 0 -47px;}/*酒水饮料*/ #booksort .item .i-master .dev .food{background:url(../images/left_lm_m_a.png) no-repeat 0 -106px;}/*休闲食品*/ #booksort .item .i-master .dev .tea{background:url(../images/left_lm_m_a.png) no-repeat 0 -213px;}/*冲调茶饮*/ #booksort .item .i-master .dev .oil{background:url(../images/left_lm_m_a.png) no-repeat 0 -270px;}/*粮油副食*/ #booksort .item .i-master .dev .health{background:url(../images/left_lm_m_a.png) no-repeat 0 -378px;}/*南北干货*/ #booksort .item.hover .i-master .dev .fresh{background:url(../images/left_lm_m.png) no-repeat 0 5px;}/*肉类海鲜*/ #booksort .item.hover .i-master .dev .baby{background:url(../images/left_lm_m.png) no-repeat 0 -324px;}/*熟食蛋奶*/ #booksort .item.hover .i-master .dev .pastry{background:url(../images/left_lm_m.png) no-repeat 0 -159px;}/*水果蔬菜*/ #booksort .item.hover .i-master .dev .drinks{background:url(../images/left_lm_m.png) no-repeat 0 -47px;}/*酒水饮料*/ #booksort .item.hover .i-master .dev .food{background:url(../images/left_lm_m.png) no-repeat 0 -106px;}/*休闲食品*/ #booksort .item.hover .i-master .dev .tea{background:url(../images/left_lm_m.png) no-repeat 0 -213px;}/*冲调茶饮*/ #booksort .item.hover .i-master .dev .oil{background:url(../images/left_lm_m.png) no-repeat 0 -270px;}/*粮油副食*/ #booksort .item.hover .i-master .dev .health{background:url(../images/left_lm_m.png) no-repeat 0 -378px;}/*南北干货*/ /*2015/12/8分类图标修改 End*/ #booksort .i-cm .i-left{float:left;width:542px;} #booksort .i-cm .i-right{float:right;width:205px;height:506px;} #booksort .cat-sort{width:542px;height:246px;padding:8px 0 24px 10px;} #booksort .cat-sort dl{overflow:hidden;zoom:1;font-family:Microsoft YaHei;padding:1px 0 0 0;} #booksort .cat-sort dt{width:80px;padding-right:10px;float:left;text-align:right;height:18px;line-height:18px;margin:4px 0px;color:#76ac25;} #booksort .cat-sort dt a{color:#76ac25;} #booksort .cat-sort dt a:hover{ text-decoration:underline;} #booksort .cat-sort dd{overflow:hidden;zoom:1;} #booksort .cat-sort dd a{float:left;white-space:nowrap;display:block;text-decoration:none;font-size:12px;height:18px;line-height:18px;margin:4px 0px;text-align:left;padding:0px 6px;border-left:1px solid #ccc; color:#666;} #booksort .cat-sort dd a:hover{text-decoration:none;color:#76ac25;} #booksort .i-left .i-img img{width:560px;height:200px;} #booksort .i-right .i-channel{height:54px;text-align:center;background-color:#f7f6f5;padding:16px 10px;font-family:Microsoft YaHei;} #booksort .i-right .i-channel dt{color:#363636;font-size:16px;line-height:54px;margin-bottom:4px;} #booksort .i-right .i-channel dt a:hover{ color:#669900;} #booksort .i-right .i-channel em{ width:20px; height:20px;background:url(../images/index_icon_new.png) no-repeat -245px -55px; margin:18px 0 0 10px; *margin:0 0 0 10px; overflow:hidden; position:absolute;} #booksort .i-right .i-channel em a{ display:block; cursor:pointer;width:20px; height:20px;} #booksort .i-right .i-active{height:106px;padding:12px;font-family:Microsoft YaHei;} #booksort .i-right .i-active dt{color:#76ac25;line-height:20px;margin-bottom:10px;font-weight:bold;} #booksort .i-right .i-active dd a{display:block;line-height:24px;height:24px;overflow:hidden;} #booksort .i-right .i-active dd a:hover{color:#669900;} #booksort .i-right .i-brand{border-top:1px solid #e5e5e5;padding:10px;} #booksort .i-right .i-brand dt{overflow:hidden;zoom:1;margin-bottom:10px;} #booksort .i-right .i-brand .fl{color:#76ac25;font-family:Microsoft YaHei;font-weight:bold;} #booksort .i-right .i-brand .fr{padding-right:5px;color:#666666;} #booksort .i-right .i-brand .fr a{color:#666666;} #booksort .i-right .i-brand .fr a:hover{ color:#669900;} #booksort .i-right .i-brand dd{width:177px;margin:0 auto;overflow:hidden;zoom:1;border-top:1px solid #f2f2f2;border-left:1px solid #f2f2f2;} #booksort .i-right .i-brand dd a{float:left;width:87px;height:56px;text-align:center;border-right:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;overflow:hidden;} #booksort .i-right .i-brand img{width:56px;height:56px;} #booksort .item .i-close{width:25px;height:25px;position:absolute;top:6px;right:6px;background:url(../images/index_icon_new.png) no-repeat -245px -1px;cursor:pointer;} a.submit5{ margin:10px 0 0 0; display:block;font-size:14px;color:#fff;height:28px;line-height:28px;cursor:pointer;vertical-align:middle;vertical-align:baseline\9;text-decoration:none; width:110px; text-align:center; background:url(../images/productinfo.png) no-repeat -182px -234px;} a.submit5:hover{color:#fff;background:url(../images/productinfo.png) no-repeat -182px -262px;} .startitle{width:60px;float:left;height:22px;} .starouter{background:url(../images/star0.jpg) no-repeat top left;width:64px;float:left;height:12px;} .starinner{background:url(../images/star5.jpg) no-repeat top left;height:12px;} .starnumber{width:40px;float:left; position:absolute;} /*页脚*/ .pageFooter{ width:1000px;margin:0 auto;} .pageFooter .middle{ float:left; width:240px; height:145px; margin:20px 0px 0px 0px; background:url(/images/logo.jpg) no-repeat left top;} .pageFooter .middle ul{ padding-top:85px;} .pageFooter .middle .kefu{ font-size:20px; color:#646464; font-weight:bold; padding:6px 0;} .pageFooter .left{float:left;margin:35px 0 0 0;height:145px;} .pageFooter .left ul{margin:0px;padding:0px 0px 0px 0px;float:left;} .pageFooter .left ul li{font-size:14px;color:#666666;font-family:Microsoft YaHei;font-weight:bold;} .pageFooter .left .f_ios li{ width:80px;text-align:center;margin:0 50px 8px 0;*margin-right:25px;line-height:24px;} .pageFooter .left .f_ios span{display:block;width:80px;height:80px;background:url(/images/foot_bottom.png) no-repeat 0px 0px;margin:auto} .pageFooter .left .f_wx li{ width:80px;text-align:center; line-height:24px;margin:0 0 8px 0;} .pageFooter .left .f_wx span{display:block;width:80px;height:80px;background:url(/images/foot_bottom.png) no-repeat -83px 0px;margin:auto} .pageFooter .right{float:left;margin:35px 0 0 0;width:500px;} .pageFooter .right ul{float:left;margin:0px 10px 0px 0px;padding:0px 0px 0px 0px;width:110px;} .pageFooter .right ul.sj{display:none;} .pageFooter .right ul li{text-align:left;font-family:Microsoft YaHei;height:24px;line-height:24px;} .pageFooter .right ul li a{color:#707070;display:block;padding:0px 0px 0px 0px;} .pageFooter .right ul li.title{color:#707070;font-weight:bold;font-size:14px; } #footer{margin:5px auto 0 auto;padding:0;line-height:18px;color:#969696;width:100%;} #footer a{color:#646464; text-decoration:none;} #footer a:hover{ color:#669900; text-decoration:none;} #footer .f_ios a:hover{color:#646464; text-decoration:none;} #footer a.beian{color:#969696; text-decoration:none;} #footer a.beian:hover{ color:#669900; text-decoration:none;} #footer .siteinfo span{ padding-left:13px;} #footer .footer_zd{width:100%; border-bottom:1px solid #E0E0E0;} #footer .footer_zd1{width:100%; border-bottom:1px solid #E0E0E0; margin:20px 0 0 0;} #footer .foot{ width:100%; height:285px;} #footer .bottom{ width:1000px; height:50px; margin:0px auto; border-top:1px solid #E0E0E0; padding-top:15px;} #footer .bottom_kx{ float:left; position:absolute; padding-top:6px;} #footer .bottom_sm{ position:absolute; padding:6px 0 0 90px; float:left} #footer .help{background:url(/images/helpbg.jpg) repeat-x top left #e6e6e6;height:177px; } #footer .help ul{width:720px;display:block; margin:8px 0px 0px 70px;#margin:8px 0px 0px 70px;_margin:8px 0px 0px 40px; padding:0px;float:left;} #footer .help ul li{float:left;width:180px;list-style:none; text-align:left; background:url(/images/footer_line.jpg) no-repeat 75% top;} #footer .help ul li h3{padding:0px 0px 4px 0px; margin:0px;font-size:14px;color:#7a6b56; display:block; font-weight:bold;} #footer .help ul li img{ margin:0px 0px 0px 12px;} #footer .help ul li a{color:#6a6a6a;float:left;width:100px; height:18px; line-height:18px;display:block; text-decoration:none; background:url(../images/help_contenticon.gif) no-repeat 0% 50%; text-align:left; padding:2px 0px 2px 18px;font-size:13px;} #footer .help ul li a:hover{ text-decoration:underline} #footer .help .tel{float:right;width:195px; border-left:0px solid #ccc;} #footer .service{background:url(../images/servicebg.jpg) repeat-y;} #footer .siteinfo{ float:left; padding-left:182px;} /*弹窗*/ .window{width:350px; border:3px solid #e6e6e6; position:absolute; margin-left:-150px; margin-top:-150px; top:50%; left:50%; background:#fff;} .window .content{ padding:20px 12px 12px 12px; text-align:center; line-height:24px; font-size:14px;} .window .titlehead{background-color:#f5f5f5;height:31px;line-height:31px;border:0 none;} .window h3{width:150px; float:left;margin:0px; padding:0px 0px 0px 16px;font-size:14px; color:#565656;font-family:微软雅黑; } .window h3 img{border:0px; padding:0px; margin:0px;} .carwindow{width:340px; height:90px; border:1px solid #176246; position:absolute; top:200px; left:0; background:#fff;z-index:999;} .carwindow .content{padding:12px 12px 12px 20px; text-align:center; line-height:22px; height:67px; overflow:hidden;} .carwindow .content1{padding:5px; text-align:left; line-height:20px; border-top:#999 1px dashed; color:#804F21;} .carwindow .content img{float:left; margin:14px 0px 0px 0px;} .carwindow .content ul{float:left;width:260px; } .carwindow .content ul li{text-align:left; padding:0px 0px 0px 20px;color:#804F21;} .carwindow .content ul li a{ background: url(../images/shopingcar_btnbg.gif) repeat-x scroll center top #8A683C;width:75px; text-align:center; height:20px; line-height:20px; padding:0; border:0;border: 1px solid #926E3E;margin: 0 12px 0 0; color:#ffffff; display:block; float:left;} .carwindow .content ul li a:hover{ background: url(../images/shopingcar_btnbg.gif) repeat-x scroll center top #8A683C;width:75px; text-align:center; height:20px; line-height:20px; padding:0; border:0;border: 1px solid #926E3E;margin: 0 12px 0 0; color:#ffffff; display:block; float:left; text-decoration:none;} .carwindow .content ul li span a{ background: url(../images/shopingcar_btnbg.gif) repeat-x scroll center top #8A683C;width:95px; text-align:center; height:20px; line-height:20px; padding:0; border:0;border: 1px solid #926E3E;margin: 0 12px 0 0; color:#ffffff; display:block; float:left;} .carwindow .content ul li span a:hover{ background: url(../images/shopingcar_btnbg.gif) repeat-x scroll center top #8A683C;width:95px; text-align:center; height:20px; line-height:20px; padding:0; border:0;border: 1px solid #926E3E;margin: 0 12px 0 0; color:#ffffff; display:block; float:left; text-decoration:none;} .carwindow .content ul li .pclose{ background:none;width:95px; text-align:center; height:20px; line-height:20px; padding:0; border:0;margin: 0 12px 0 0; color:#804F21; display:block; float:left; text-decoration:underline;} .carwindow .content ul li .pclose:hover{ background:none;width:95px; text-align:center; height:20px; line-height:20px; padding:0; border:0;margin: 0 12px 0 0; color:#804F21; display:block; float:left; text-decoration:underline;} .carwindow .content ul li span{color:red;} .carwindow .content ul li .submit1{ list-style-type:none; border-style:none;width:65px; text-align:center; height:22px; line-height:18px; margin:0; padding:0 0 2px 0; border:0;border: 1px solid #926E3E; overflow:hidden; margin-top:-1px;} .carwindow .content1 ul{width:320px;} .carwindow .content1 li{float:left; width:78px; text-align:center; color:#804F21; overflow:hidden; padding:0 1px; clear:none;} .carwindow .content1 li a{border:0;color:#804F21;} .carwindow .content1 li h3{font-size:12px; font-weight:normal; line-height:20px; height:20px; width:80px;color:#804F21; overflow:hidden;} .sd_window{ padding:6px; background:rgba(162,162,162,0.8); *+background:#a2a2a2;} .sd_window .content{ background:#fff; padding:0 12px 12px 12px;} .sd_window .dig_content{ padding:20px;} .sd_window .dig_content .sd_img{ width:122px; min-height:150px; float:left; background:url(../images/sd_icon.jpg) left top no-repeat; padding-right:25px;} .sd_window .popup_message{ text-align:left; overflow:hidden; zoom:1; color:#646464;} .sd_window .popup_message .sd_word{ line-height:30px; font-size:14px;} .sd_window .popup_message .sd_word1{ line-height:24px; font-size:12px;} .sd_window .popup_message .sd_tel{ padding-top:32px; font-size:12px;} .sd_window .titlehead{ height:45px; line-height:45px; background:#fafafa; border-bottom:1px solid #e1e1e1;} .sd_window .titlehead h3{ font-size:16px; color:#646464; font-weight:normal;} .sd_window .sd_close{ cursor:pointer; display:inline-block; float:right; background: url(../images/sd_close.jpg) left top no-repeat; width:17px; height:20px; position:relative; right:20px; top:13px; } .sd_window #popup_panel{margin-top:15px; height:26px; text-align:center; } .sd_window .content .sd_btn, .sd_window .content .sd_btn1{ cursor:pointer; padding:5px 15px; *+padding:5px 5px 2px; text-align:center; outline:none; border-radius:3px; margin-right:6px;} .sd_window .content .sd_btn{ color:#fff; background:#69af05; border:1px solid #69af05;} .sd_window .content .sd_btn:hover{ background:#7ac50f; border:1px solid #7ac50f;} .sd_window .content .sd_btn1{ color:#646464; background:#fff; border:1px solid #dcdcdc; } .sd_window .content .sd_btn1:hover{ color:#69af05; border:1px solid #dcdcdc;} .sd_window .content .sd_floatleft{ float:left;} /*加入购物车new*/ .carwindownew{width:340px; border:1px solid #176246; position:absolute; top:200px; left:0; background:#fff;z-index:999;} .carwindownew .content{padding:12px 12px 12px 20px; text-align:center; line-height:22px; height:67px; overflow:hidden;} .carwindownew .content1{padding:5px; text-align:left; line-height:20px; border-top:#999 1px dashed;} .carwindownew .content img{float:left; margin:14px 0px 0px 0px;} .carwindownew .content ul{float:left;width:260px; } .carwindownew .content ul li{text-align:left; padding:0px 0px 0px 20px;} .carwindownew .content ul li a{ background: url(../images/btn_bg.jpg) repeat-x bottom #058a5f;width:75px; text-align:center; height:20px; line-height:20px; padding:0; border:0;border: 1px solid #01533c;margin: 0 12px 0 0; color:#ffffff; display:block; float:left;} .carwindownew .content ul li a:hover{ background: url(../images/btn_bg.jpg) repeat-x bottom #058a5f;width:75px; text-align:center; height:20px; line-height:20px; padding:0; border:0;border: 1px solid #058a5f;margin: 0 12px 0 0; color:#ffffff; display:block; float:left; text-decoration:none;} .carwindownew .content ul li span a{ background: url(../images/shopingcar_btnbg.gif) repeat-x scroll center top #8A683C;width:95px; text-align:center; height:20px; line-height:20px; padding:0; border:0;border: 1px solid #926E3E;margin: 0 12px 0 0; color:#ffffff; display:block; float:left;} .carwindownew .content ul li span a:hover{ background: url(../images/shopingcar_btnbg.gif) repeat-x scroll center top #8A683C;width:95px; text-align:center; height:20px; line-height:20px; padding:0; border:0;border: 1px solid #926E3E;margin: 0 12px 0 0; color:#ffffff; display:block; float:left; text-decoration:none;} .carwindownew .content ul li .pclose{ background:none;width:95px; text-align:center; height:20px; line-height:20px; padding:0; border:0;margin: 0 12px 0 0; color:#804F21; display:block; float:left; text-decoration:underline;} .carwindownew .content ul li .pclose:hover{ background:none;width:95px; text-align:center; height:20px; line-height:20px; padding:0; border:0;margin: 0 12px 0 0; color:#804F21; display:block; float:left; text-decoration:underline;} .carwindownew .content ul li span{color:red;} .carwindownew .content ul li .submit1{ list-style-type:none; border-style:none;width:65px; text-align:center; height:22px; line-height:18px; margin:0; padding:0 0 2px 0; border:0;border: 1px solid #926E3E; overflow:hidden; margin-top:-1px;} .carwindownew .content1 ul{width:320px;} .carwindownew .content1 li{float:left; width:78px; text-align:center; color:#ea5404; overflow:hidden; padding:0 1px; clear:none;} .carwindownew .content1 li a{border:0;} .carwindownew .content1 li h3{font-size:12px; font-weight:normal; line-height:20px; height:20px; width:80px;color:#804F21; overflow:hidden;} /*分页*/ .page{text-align:center;padding:12px 12px 12px 12px;margin:0px;clear:both;} .page A {border-right:#176246 1px solid; padding-right: 5px; border-top: #176246 1px solid;padding-left: 5px; padding-bottom: 2px; margin: 2px; border-left: #176246 1px solid; color: #025e42; PADDING-TOP: 2px; BORDER-BOTTOM: #176246 1px solid; TEXT-DECORATION: none;} .page A:hover{BORDER-RIGHT: #999 1px solid; BORDER-TOP: #999 1px solid; BORDER-LEFT: #999 1px solid; COLOR: #4a2f24; BORDER-BOTTOM: #999 1px solid} .page A:active{BORDER-RIGHT: #4a2f24 1px solid; BORDER-TOP: #4a2f24 1px solid; BORDER-LEFT: #4a2f24 1px solid; COLOR: #4a2f24; BORDER-BOTTOM: #4a2f24 1px solid} .page .current{PADDING-RIGHT: 5px;PADDING-LEFT: 5px; FONT-WEIGHT: bold; PADDING-BOTTOM: 2px; MARGIN: 2px; COLOR: #fff; PADDING-TOP: 2px; BACKGROUND:url(../images/btn_bg.jpg) repeat-x bottom #087d56;border:1px solid #176246;} .page .disabled{BORDER-RIGHT: #dadada 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #dadada 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 2px; MARGIN: 2px; BORDER-LEFT: #dadada 1px solid; COLOR: #ddd; PADDING-TOP: 2px; BORDER-BOTTOM: #dadada 1px solid} /*订单成功*/ .newbox{border:1px solid #dadada; background-color:#FFF;zoom:1;} .newthead{height:34px;line-height:34px; background:#f5f5f5;} .newthead h3{font-size:14px;font-weight:bold;color:#565656;padding:0 10px;} .newcont{text-align:center;padding:50px 10px 10px 10px;} .newtxt1{font-size:18px; font-family:"微软雅黑";color:#6e9b0c;height:39px;line-height:39px;font-weight:bold;text-align:left;text-align:center;} .new_yes{ background:url(../images/dengluzhuceform.gif) no-repeat 0 -53px;padding:5px 0 12px 54px;} .new_wrong{background:url(../images/dengluzhuceform.gif) no-repeat 5px -95px;padding:6px 0 4px 54px;} .newtxt2{font-size:14px;color:#666666;padding:30px 0 0 0;} .newnomail{margin:25px;color:#666666;} .newfc{color:#316ACA;} .newfc a{color:#316ACA;text-decoration:underline;} .newfc a:hover{color:#316ACA;} .new10s{font-size:14px;color:#999999;font-family:"宋体";font-weight:normal;} .newgo{padding:40px 100px;text-align:center;margin:25px;} .newtxt4{color:#996633;font-size:14px;} .newlink{padding:30px 10px 0 10px;font-size:14px;} .newtxt5{color:#666666;padding:30px 0 0 0;} .newred{color:#fb8e19;} .newtbl{padding:0px;margin:0 100px 30px 100px;} .newdingdan th{height:30px;color:#666666;font-size:12px;font-weight:normal;background-color:#f5f5f5;} .newdingdan td{border-bottom:1px solid #eeeeee;height:30px;font-size:12px;text-align:center;color:#565656} .newcont2{text-align:center;padding:10px 10px 0 10px;margin:0 0 40px 0;} .payment td{ padding:6px;} .alipayAd{border:1px solid #fa6400;background-color:white;height:18px;line-height:18px;position:absolute;top:-11px;left:6px;padding-left:25px;padding-right:5px;display:none;color:#ea5404;} .alipayAd span{position:absolute;left:0;height:18px;padding:0 4px;background-color:#fa6400;color:#ffffff;} /*付款成功*/ .newtxt6{color:#666666;padding:30px 0 0 0;} .newtxt7{padding:10px 10px 10px 25px;font-size:14px;color:#176246;font-weight:bold;border-top:1px solid #cccccc;} /*提交支付*/ .submitbox{width:920px;border:1px solid #eeeeee; padding:40px;margin:0 auto;} .submitbox ul{margin:0;padding:0;} .submitbox ul li{list-style:none; padding:12px; text-align:center} .submitbox .titlehead3{padding:20px; margin:20px;text-align: center;} #main{width:1000px;margin:0 auto;} .mailDY{margin-right:6px; padding:8px 0px 0px 0px;} .mailDYtit{overflow:hidden;zoom:1;} .mailDYtit h3{font-size:12px;float:left;color:#565656;} .mailDYtit span{float:right;color:#999999; padding:0px 20px 0px 0px} .mailDYtit span a:link{color:#999999;font-size:12px;} .mailDYtit span a:visited{color:#999999;} .mailDYitem{zoom:1;} .mailDYitem span{float:left;} .mailDYitem .i{width:100px;height:20px;line-height:20px;padding:0 2px;border:1px solid #cccccc;margin-right:2px;display:inline;} .mailDYitem .btn{background:url(../images/footer_ico.jpg) no-repeat -146px -64px;height:22px;width:50px;border:0;display:block;} .mailDYitem .s{height:22px;border:1px solid #cccccc;margin-right:3px;display:inline;} em {font-style: normal;} #store-selector .close ,#store-selector_sfv .close,#store-selector1 .close {background:url(../images/sf-stock.png) no-repeat 0 -70px;display: none;height: 17px;left: 345px;position: absolute;top: 35px;width: 17px;z-index: 2;} #store-selector .tips{line-height:24px;color:red;padding:0 3px 0 0;} #store-selector.hover .content, #store-selector.hover .close,#store-selector_sfv.hover .content, #store-selector_sfv.hover .close,#store-selector1.hover .content,#store-selector1.hover .close {display: block;} #store-selector.hover .close ,#store-selector_sfv.hover .close,#store-selector1.hover .close{cursor: pointer;} #store-selector .content ,#store-selector_sfv .content,#store-selector1 .content{background: none repeat scroll 0 0 #FFFFFF;border: 1px solid #CECBCE;box-shadow: 0 0 5px #DDDDDD;display: none;left: -45px;padding: 15px;position: absolute;top: 25px;width: 390px;} #store-selector .juli1{left:-250px;} #store-selector .juli2{left:140px;} .m, .mt, .mc{overflow: hidden;} .mt{cursor: default;} #store-selector,#store-selector_sfv,#store-selector1 {float: left;height: 26px;margin-right: 6px;position: relative;z-index: 91;} #store-selector_sfv{z-index: 90;} #store-selector.hover .text ,#store-selector_sfv.hover .text,#store-selector1.hover .text {border-bottom: 0 none;height: 25px;z-index: 1;width:auto;} #store-selector .text ,#store-selector_sfv .text,#store-selector1 .text {background:#FFFFFF;border: 1px solid #CECBCE;float: left;height: 23px;line-height: 23px;overflow: hidden;padding: 0 20px 0 4px;position: relative;top: 0;font-size:12px; font-weight:normal;width:auto;} #store-selector .text b ,#store-selector_sfv .text b,#store-selector1 .text b {background:url(../images/indexImg20130307.png?v=1.2) no-repeat -401px -2px;display: block;height: 24px;overflow: hidden;position: absolute;right: 0;top: 0;width: 17px;} #store-selector .area-list li ,#store-selector_sfv .area-list li ,#store-selector1 .area-list li{clear: none;padding: 2px 0 2px 15px; font-size:12px;} #store-selector .tab li ,#store-selector_sfv .tab li,#store-selector1 .tab li {clear: none;float: left;padding: 0;} .SF-stock {position: relative;font-size:12px} .SF-stock .tab {border-bottom: 1px solid #176246;float: left;height: 25px;overflow: visible;width: 100%;_overflow:hidden;} .SF-stock .tab a{ color:#9e9e9e;border-top:1px solid #DDDDDD;border-left:1px solid #DDDDDD;border-right:1px solid #DDDDDD;cursor: pointer;float: left;height: 23px;line-height: 23px;margin-right: 3px;padding: 0 21px 1px 11px;position: relative;text-align: center;} *html .SF-stock .tab a{position:static;} .SF-stock .tab a{text-decoration:none;font-size:12px; font-weight:normal;} .SF-stock .tab a:hover{color: #176246;} .SF-stock .tab a.hover {background-color: #FFFFFF;border-top:1px solid #176246;border-left:1px solid #176246;border-right:1px solid #176246;color: #176246;height: 25px;line-height: 22px;padding: 0 20px 0 10px;text-decoration: none;} .SF-stock .tab a i{background-image: url(../images/sf-stock.png);background-repeat: no-repeat;} .SF-stock .tab a i{background-position: 0 -35px;display: block;height: 5px;overflow: hidden;position: absolute;right: 4px;top: 10px;width: 7px;} .SF-stock .tab a:hover i {background-position: 0 -28px;right: 4px;top: 10px;} .area-list {padding-top: 5px;} .area-list li {clear: none;float: left;padding: 2px 0 2px 15px;width: 80px;} .area-list li a {float: left;padding: 2px 4px;text-decoration:none;font-size:12px; font-weight:normal; color:#565656;} .area-list li a:hover {background-color: #176246;color: #FFFFFF;} .area-list .longer-area {width: 370px;} .area-list .long-area {width: 170px;} .sfregionTop{width:400px;margin:60px 10px 0px 40px;} .sfregionTxt{line-height:26px;font-size:14px} .sfregionBuy{margin:40px 10px 0px 180px;} #store-selector1{height:24px;margin-right:3px;} #store-selector1 .text{height: 20px;line-height: 20px;} #store-selector1 .area-list{padding:5px 0 0 0;} #store-selector1 .area-list li{line-height:20px;height:20px;padding:2px 0;width:60px;overflow:hidden;} #store-selector1.hover .content{width:300px;} #store-selector1 .close{left:255px;} #store-selector1 .SF-stock ul.tab{padding:0;} /*更改地址前价格变化*/ .cartAddrPrice{position:absolute;height:32px;width:182px;right:30px;top:5px;_right:40px;} .cartAddrPrice .pTxt{position:absolute;background-color:#fcf8ef;border:1px solid #f3e1b9;height:23px;line-height:23px;padding:1px 5px;width:170px;top:15px;;right:0;color:red;} .cartAddrPrice b{position:absolute;background:url(../images/cartbg.gif) no-repeat -140px -200px;width:10px;height:5px;top:11px;right:15px;} /*page404*/ .error_cont{position:relative; padding:0px 0px 20px 0px;} .error_box{background:#fff;padding:12px;text-align:left;height:180px;width:900px; padding:20px;margin:20px 0px 0px 40px; line-height:40px; font-family:"微软雅黑"} .error_tj{background:#fff;padding:12px;text-align:left;width:900px; padding:20px; border:1px solid #eee;margin:20px 0px 0px 40px; line-height:22px; font-family:"微软雅黑"} .error_tj .title{border-bottom:1px solid #eee;margin:auto; line-height:20px; font-family:"微软雅黑"; font-weight:bold;height:22px;font-size:14px} .error_tj .title span{border-bottom:2px solid #1b6147;height:22px; display:block;width:150px;} .error_box h2{font-size:35px;color:#7c7c7c; padding:50px 0px 0px 0px;margin:0px;} .error_box a{font-size:25px;color:#0000cc;text-decoration:underline} .error_box a:hover{ text-decoration:none} .error_box p{font-size:22px;} #totalSecond{font-size:30px;font-weight:bold;color:red;} .error_box img{float:left;margin-right:20px;} .left-arrow,.fl-pic,.right-arrow{float:left;display:inline;margin:10px 0px 0px 0px;} .left-arrow,.right-arrow{} .left-arrow{background:url(/images/404_03.jpg) no-repeat top left;margin-left:15px;margin-top:90px;} .right-arrow{background:url(/images/404_05.jpg) no-repeat top left;margin-right:0;margin-top:90px;} .fl-pic{overflow: hidden;width:800px;height:250px;white-space:nowrap;} .fl-pic ul{width:3500px;} .fl-pic ul li{float:left;display:inline;margin:0px 12px 0px 0px;width:800px;height:220px;} .fl-pic ul li .pic-box{float:left;display:inline;margin:0px 8px 0px 0px;width:150px;height:220px;text-align:center;} .left-arrow a,.right-arrow a{width:15px;height:23px;display:block;text-indent:-9999px;} .friend-Link{position:relative; margin:0px; width:900px;height:280px;} .tj_title{font-size:12px; width: 150px;height:28px; overflow:hidden} .tj_title a{font-size:12px;color:#606060;} .tj_price{color: #ea5404;font-family:"微软雅黑";font-size: 16px;line-height: 20px;margin: auto;padding: 0px;text-align: left;width: 150px;height:22px;} .tj_price font{color: #999;font-family:"微软雅黑";font-size: 12px; text-decoration: line-through; padding:0px 0px 0px 6px;} .tj_shop_btn{text-align:left;width:150px;margin:auto;height:20px; } .tj_shop_btn span{float:left;padding-right:4px;} .error_tj{height:290px;} .pages {margin:12px;text-align:right;font-size:14px;padding:0 0 10px 0} .pages a {border:1px solid #dadada;color: #6b6b6b;margin: 2px;padding:3px 6px;text-decoration: none;} .pages .pagedot{font-family:Arial;border:1px solid #dadada;margin: 2px;padding:3px 6px;} .pages .disabled {border:1px solid #dadada;color: #DDDDDD;margin: 2px;padding:3px 6px;} .pages .prev{position:relative;padding-left:20px;} .pages .next{position:relative;padding-right:20px;} .pages .prev .prevarr {border-width:5px;border-color:#FFFFFF #ff0000 #FFFFFF #FFFFFF;border-style:dashed solid dashed dashed;height:0;width:0;font-size:0;overflow:hidden;position:absolute;left:4px;top:6px;} *html .pages .prev .prevarr{top:7px;} .pages .next .nextarr {border-width:5px;border-color:#FFFFFF #FFFFFF #FFFFFF #ff0000;border-style:dashed dashed dashed solid;height:0;width:0;font-size:0;overflow:hidden;position:absolute;right:4px;top:6px;} *html .pages .next .nextarr{left:58px;top:7px;} .pages .disabled .prevarr{border-color:#FFFFFF #dadada #FFFFFF #FFFFFF;} .pages .disabled .nextarr{border-color:#FFFFFF #FFFFFF #FFFFFF #dadada;} .pages a:hover {color: #176246;text-decoration: none;} .pages a:active {border: 1px solid #4A2F24;color: #4A2F24;text-decoration: none;} .pages .current {color: #6b6b6b;font-weight: bold;margin: 2px;padding:3px 7px;} ================================================ FILE: taotao-cart-web/src/main/webapp/css/jquery.alerts.css ================================================ @charset "utf-8"; #popup_container { font-family: Arial, sans-serif; font-size: 12px; min-width: 300px; /* Dialog will be no smaller than this */ max-width: 600px; /* Dialog will wrap after this width */ background: #FFF; border:3px solid #E6E6E6; color: #000; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; } *html #popup_container {width:304px;} #popup_content { padding: 1em 1.75em; margin: 0em; } #popup_content.alert { } #popup_content.confirm { } #popup_content.prompt { } #popup_message { color: #6B6B6B; margin: 0; padding: 0; text-align:center } #popup_panel { text-align: center; margin: 1em 0em 0em 0em; } #popup_prompt { margin: .5em 0em; } ================================================ FILE: taotao-cart-web/src/main/webapp/index.jsp ================================================

Hello World!

================================================ FILE: taotao-cart-web/src/main/webapp/js/cart.js ================================================ var CART = { itemNumChange : function(){ $(".increment").click(function(){//+ var _thisInput = $(this).siblings("input"); _thisInput.val(eval(_thisInput.val()) + 1); $.post("/cart/update/num/"+_thisInput.attr("itemId")+"/"+_thisInput.val() + ".action",function(data){ CART.refreshTotalPrice(); }); }); $(".decrement").click(function(){//- var _thisInput = $(this).siblings("input"); if(eval(_thisInput.val()) == 1){ return ; } _thisInput.val(eval(_thisInput.val()) - 1); $.post("/cart/update/num/"+_thisInput.attr("itemId")+"/"+_thisInput.val() + ".action",function(data){ CART.refreshTotalPrice(); }); }); /*$(".itemnum").change(function(){ var _thisInput = $(this); $.post("/service/cart/update/num/"+_thisInput.attr("itemId")+"/"+_thisInput.val(),function(data){ CART.refreshTotalPrice(); }); });*/ }, refreshTotalPrice : function(){ //重新计算总价 var total = 0; $(".itemnum").each(function(i,e){ var _this = $(e); total += (eval(_this.attr("itemPrice")) * 10000 * eval(_this.val())) / 10000; }); $("#allMoney2").html(new Number(total/100).toFixed(2)).priceFormat({ //价格格式化插件 prefix: '¥', thousandsSeparator: ',', centsLimit: 2 }); } }; $(function(){ CART.itemNumChange(); }); ================================================ FILE: taotao-cart-web/src/main/webapp/js/common.js ================================================ (function(window) { var document = window.document, alert = window.alert, confirm = window.confirm $ = window.jQuery; var SF = { Config: {}, Widget: {}, App: {}, Static: {} }; var hostUrl = document.location.host; var urlArr = hostUrl.split('.'); var domain = urlArr[1]+'.'+urlArr[2]; var PASSPORT_URL = 'http://passport.'+domain; var SF_STATIC_BASE_URL = 'http://i.'+domain+'/com'; var SF_WWW_HTML_URL = 'http://www.'+domain+'/html'; SF.loadJs = function(sid, callback, dequeue) { SF.loadJs.loaded = SF.loadJs.loaded || {}; SF.loadJs.packages = SF.loadJs.packages || { 'jquery.thickbox': { 'js': [SF_STATIC_BASE_URL + '/js/jquery/jquery.thickbox.js'], 'check': function() { return !!window.tb_show; } }, 'jquery.select': { 'js': [SF_STATIC_BASE_URL + '/js/jquery/jquery.select.js?v=20130811'], 'check': function() { return !!$.fn.relateSelect; } }, 'data.city': { 'js': [SF_STATIC_BASE_URL + '/js/data/region_data.js'], 'depends': ['jquery.select'], 'check': function() { return !!window.REGION_DATA; } }, 'data.city_new': { 'js': [SF_WWW_HTML_URL + '/js/region_data_new.js'], 'depends': ['jquery.select'], 'check': function() { return !!window.REGION_DATA; } }, 'data.category': { 'js': ['/cate/category/'], 'depends': ['jquery.select'], 'check': function() { return !!window.CATEGORY; } } }; if (!dequeue) { $(window).queue('loadJs', function() { SF.loadJs(sid, callback, true); }); $(window).queue('loadJsDone', function(){ $(window).dequeue('loadJs'); }); if ($(window).queue('loadJsDone').length == 1) { $(window).dequeue('loadJs'); } return; } function collect(sid) { var jsCollect =[], packages = SF.loadJs.packages[sid], i, l; if (packages) { if (packages.depends) { l = packages.depends.length; for (i = 0; i < l; i++) { jsCollect = jsCollect.concat(collect(packages.depends[i])); } } if ($.isFunction(packages.check) && !packages.check()) { jsCollect = jsCollect.concat(packages.js); } } return jsCollect; } function load(url) { return jQuery.ajax({ crossDomain: true, cache: true, type: "GET", url: url, dataType: "script", async: false, scriptCharset: "UTF-8" }); } var js = collect(sid), deferreds = [], l = js.length, i; for (i = 0; i < l; i++) { deferreds.push(load(js[i])); } $.when.apply($, deferreds).then(function() { $(window).dequeue('loadJsDone'); $.isFunction(callback) && callback.call(document); }, function() { $(window).dequeue('loadJsDone'); }) }; SF.t = function(code) { if (window.MSG && window.MSG[code]) { return window.MSG[code]; } return code; }; SF.Widget = { // 下拉菜单显隐 pop: function(s) { if ($(s).data('SF_BIND_POP')) { return; } var $c = $(s), setting = $c.data('pop') || {}; $c.bind({ mouseover: function(e) { if (setting.pop) { $(setting.pop, $c).show(); } if (setting.icon && setting.iconClass) { $(setting.icon, $c).addClass(setting.iconClass); } }, mouseout: function(e) { if (setting.pop) { $(setting.pop, $c).hide(); } if (setting.icon && setting.iconClass) { $(setting.icon, $c).removeClass(setting.iconClass); } } }); $c.data('SF_BIND_POP', true); $c.triggerHandler('mouseover'); return; }, // 打开 thickbox 遮罩层 tbOpen: function(caption, url, imageGroup) { function show() { window.tb_show(caption, url, imageGroup); } SF.loadJs('jquery.thickbox', show); }, // 关闭 thickbox 遮罩层 tbClose: function() { window.tb_remove(); }, // 用户登陆层 login: function(backurl, reload) { var url; var backurlArr backurl = (typeof(backurl) === 'undefined' || !backurl) ? window.location.href : backurl; //过滤回调地址锚点 backurlArr = backurl.split('#'); $.ajax({ type: 'GET', async: false, dataType: "jsonp", jsonp:"callback", url: 'http://www.'+domain+"/ajaxSetCity/getCasLoginUrl/", success: function(str){ if(1==str.status){ backurl =PASSPORT_URL+'/?returnUrl='+backurlArr[0]; reload = (typeof(reload) === 'undefined') ? ($.param({service : backurl})) : ($.param({service : backurl, reload: Number(reload)})); url = str.casDomain+'/cas/login?loginpage=popup&'+reload+'&TB_iframe&height=478&width=390'; }else{ reload = (typeof(reload) === 'undefined') ? ($.param({returnUrl : backurlArr[0]})) : ($.param({returnUrl : backurlArr[0], reload: Number(reload)})); url = PASSPORT_URL+'/login/ajax/?' + reload + '&TB_iframe&height=435&width=346'; } //url = PASSPORT_URL+'/login/ajax/?' + reload + '&TB_iframe&height=435&width=346'; SF.Widget.tbOpen('您还未登录', url, 'scrolling=no'); } }); }, // 分类联动 category: function(s, options) { function relateSelect() { var defaults = { data: window.CATEGORY }; $(s).relateSelect($.extend(defaults, options || {})); } SF.loadJs('data.category', relateSelect); }, // 省市联动 city: function(s, options) { function relateSelect() { var defaults = { data: window.REGION_DATA }; $(s).relateSelect($.extend(defaults, options || {})); } SF.loadJs('data.city', relateSelect); }, // 省市联动new city_new: function(s, options) { function relateSelect() { var defaults = { data: window.REGION_DATA }; $(s).relateSelect($.extend(defaults, options || {})); } SF.loadJs('data.city_new', relateSelect); }, //添加class addClass:function(s,onClass){ $(s).hover(function(){ $(this).addClass(onClass); },function(){ $(this).removeClass(onClass); }); }, //搜索框默认值 tipTxt: function(name){ $(name).each(function(){ var oldVal = $(this).val(); $(this).css({"color":"#888"}) .focus(function(){ if($(this).val()!=oldVal){$(this).css({"color":"#000"})}else{$(this).val("").css({"color":"#888"})} }) .blur(function(){ if($(this).val()==""){$(this).val(oldVal).css({"color":"#888"})} }) .keydown(function(){ $(this).css({"color":"#000"}) }) }) }, // 标签切换 tabs: function(s, e) { e = e || "mouseover"; $(function() { $(s).bind(e, function(e) { if (e.target === this){ var tabs = $(this).parent().parent().children("li"); var panels = $(this).parent().parent().parent().children(".SF-tabs-box"); var index = $.inArray(this, $(this).parent().parent().find("a")); if (panels.eq(index)[0]) { tabs.removeClass("SF-tabs-hover"); tabs.eq(index).addClass("SF-tabs-hover"); panels.addClass("SF-tabs-hide"); panels.eq(index).removeClass("SF-tabs-hide"); } } }); }); }, Subtr:function(arg1,arg2){ var r1,r2,m,n; try{r1=arg1.toString().split(".")[1].length}catch(e){r1=0} try{r2=arg2.toString().split(".")[1].length}catch(e){r2=0} m=Math.pow(10,Math.max(r1,r2)); n=(r1>=r2)?r1:r2; return ((arg1*m-arg2*m)/m).toFixed(n); }, Add:function(arg1,arg2){ var r1,r2,m; try{r1=arg1.toString().split(".")[1].length}catch(e){r1=0} try{r2=arg2.toString().split(".")[1].length}catch(e){r2=0} m=Math.pow(10,Math.max(r1,r2)) return (arg1*m+arg2*m)/m }, Acc:function(arg1,arg2){ var t1=0,t2=0,r1,r2; try{t1=arg1.toString().split(".")[1].length}catch(e){} try{t2=arg2.toString().split(".")[1].length}catch(e){} with(Math){ r1=Number(arg1.toString().replace(".","")) r2=Number(arg2.toString().replace(".","")) return (r1/r2)*pow(10,t2-t1); } }, Mul:function(arg1,arg2) { var m=0,s1=arg1.toString(),s2=arg2.toString(); try{m+=s1.split(".")[1].length}catch(e){} try{m+=s2.split(".")[1].length}catch(e){} return Number(s1.replace(".",""))*Number(s2.replace(".",""))/Math.pow(10,m) }, //日期选择器 datepicker: function(o) { $(o).datepicker({ dateFormat: 'yy-mm-dd', monthNames: ['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月'], dayNamesMin: ['日','一','二','三','四','五','六'] }); }, strCount:function(str){ var byteLen = 0; var strLen = str.length; if(strLen){ for(var i = 0; i < strLen; i++){ if(str.charCodeAt(i)>255) byteLen += 1; else byteLen += 0.5; //0.5不存在精度问题 } } return byteLen; }, refreshOrder:function(order_id, html){ $('#order_' + order_id).replaceWith(html); var location = window.location.href; if (location.match(/order\/list/g)){ // todo nothing }else{ window.location.reload(); } }, checkTextarea:function(chkname,titname,maxnum){ $(chkname).keyup(function(){ var flTxt = Math.floor(maxnum-SF.Widget.txtLength(chkname)); $(titname).html("您还可以输入"+flTxt+"个字"); if(flTxt < 0){ $(titname).html("
您输入的字数已超出范围,不可以再输入
"); } }) }, txtLength:function(chkname){ var getTextarea = $(chkname).val(); var firstLength = 0; for(var i=0;i20) { return 0; }; if (pwd.length >= 6 && pwd.length <= 7) { return 10; }; if (pwd.length >= 8) { return 25; }; return 0; }; var pwdTotal = function(pwd) { if (!pwd || pwd == 'undefined') { return - 1; }; if(lenpoints(pwd)==0){ return 0; } var digit01 = /^[0-9]+$/; var digit10 = /[0-9]+/; var digit02 = /^[a-z]+$/; var digit20 = /[a-z]+/; var digit03 = /^[A-Z]+$/; var digit30 = /[A-Z]+/; var digitStr = /[a-zA-Z]/; var digitOther = /[_]+/; var safeStr =/^[0-9a-zA-z_]+$/; var totalPoints =0; if(!safeStr.test(pwd)){ return -1; } if (digit20.test(pwd) && digit30.test(pwd)) { totalPoints += 20; }; var pwd_num = 0; var t_num = 0; var pwd_mi=0; var pwd_max=0; for (var i = 0; i <= pwd.length; i++) { if (digit01.test(pwd.substr(i, 1))) { pwd_num++; } if (digitOther.test(pwd.substr(i, 1))) { t_num++; } if (digit02.test(pwd.substr(i, 1))) { pwd_mi ++; } if (digit03.test(pwd.substr(i, 1))) { pwd_max ++; } }; if(pwd_mi&&!pwd_max){ totalPoints += 10; } if(!pwd_mi&&pwd_max){ totalPoints += 10; } if (pwd_num >= 1 && pwd_num < 3) { totalPoints += 10; }; if (pwd_num >= 3) { totalPoints += 20; }; if (t_num == 1) { totalPoints += 10; }; if (t_num > 1) { totalPoints += 25; }; if (digit20.test(pwd) && digit30.test(pwd) && digit10.test(pwd) && digitOther.test(pwd)) { totalPoints+=lenpoints(pwd); return totalPoints += 20; } if (digitStr.test(pwd) && digit10.test(pwd) && digitOther.test(pwd)) { totalPoints+=lenpoints(pwd); return totalPoints += 3; }; if (digitStr.test(pwd) && digit10.test(pwd)) { totalPoints+=lenpoints(pwd); return totalPoints += 2; }; if(totalPoints==0){ return -1; } totalPoints+=lenpoints(pwd); return totalPoints; } var doGetCoupon = function(id, key){ $.ajax({ url: '/CouponDraw/draw/', data: {cid:id, key:key}, type : 'POST', dataType: 'json', success: function(resp) { if (resp) { if (resp.flag == 1) { $.alerts.okButton = '查看优惠券'; $.alerts.alert(resp.msg,'提示',function(){ location.href = resp.url; }); } else if (resp.flag == 2) { $.alerts.alert(resp.msg, '提示'); } else if (resp.flag == 3) { SF.Widget.login(window.location.href); } else if (resp.flag == 0) { $.alerts.alert(resp.msg, '错误'); } } else { $.alerts.alert('优惠券异常', '错误'); } }, error: function() { $.alerts.alert('优惠券异常', '错误'); } }); }; ================================================ FILE: taotao-cart-web/src/main/webapp/js/cookie.js ================================================ function getCookie (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function setCookie(name, value, expires, path, domain, secure) { var today = new Date(); var expiry = new Date(today.getTime() + 100000 * 24 * 60 * 60 * 1000); if(expires==''||expires==null) { expires=expiry; } var curCookie = name + "=" + escape(value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); document.cookie = curCookie; } function delCookie(name) { expdate = new Date(); expdate.setTime(expdate.getTime() - (86400 * 1000 * 1)); setCookie(name, "", "", "/", "", ""); } var expdate= new Date(); function getCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } $.fn.dropdown = function(b, c) { if (this.length) { "function" == typeof b && (c = b, b = {}); var d = $.extend({ event: "mouseover", current: "hover", delay: 0 }, b || {}), e = "mouseover" == d.event ? "mouseout" : "mouseleave"; $.each(this, function() { var b = null, f = null, g = !1; $(this).bind(d.event, function() { if (g) clearTimeout(f); else { var e = $(this); b = setTimeout(function() { e.addClass(d.current), g = !0, c && c(e) }, d.delay) } }).bind(e, function() { if (g) { var c = $(this); f = setTimeout(function() { c.removeClass(d.current), g = !1 }, d.delay) } else clearTimeout(b) }) }) } }; var dhlist = 1; $(function(){ getAllCity(); $("#public_cate").live("mouseenter",function(){ var dhDivObj = $("#allSort"); if(dhlist==1){ $.get("/html/web/_public/_ajaxStaticMenu.html?v20140430",{},function(data) { dhDivObj.html(data); dhlist = 2; }); } $("#public_cate").addClass("hover"); $("#booksort").find(".item").removeClass("hover"); }); $("#public_cate").live("mouseleave",function(){ $("#public_cate").removeClass("hover"); $("#booksort").find(".item").removeClass("hover"); }); $(".topMenu .menus").dropdown({ delay: 50 }), $(".allCat").dropdown({ delay: 50 }, function() { }), $("#topCart").dropdown({ delay: 50 }, function() { $("#cat_form13").show(); $("#cat_form13 li").length && $("#topCart").find("s").addClass("setCart"); }), $(".topMenu .tShow").dropdown({ delay: 50 }); if($(".topMenu .d2 .dd").length){ $(".topMenu .d2 .dd").append(''); } if($(".f_ios").length){ $(".f_ios").find("li:first").html('手机客户端'); } var win_all = $("#header").width(); var ZnowTime = new Date().getTime(); //移动广告语 if (ZnowTime >=1420992000000 && ZnowTime<=1423583999000){ $("#phone_time").html("客户端首单签收后
返满200减20元券") $(".client-promo a").html('App首单签收后 返20元满减券'); } //右侧浮动 if(ZnowTime >= 1414771200000 && ZnowTime<=1416239999000){ $('.index_rfloat').html('
关闭
'); $('.index_rfloat').show(); } $('.app-android').attr('href','http://android.e3mall.cn/sfandroid'); //右侧广告位关闭 if ($(".index_rfloat").length){$(".J_rclose").click(function(){$(".index_rfloat").hide();});} //隐藏会员俱乐部入口 //$(".allCat").find("dl").eq(2).find("dd a").last().hide(); //$("#login").after("
  • 员工福利
  • "); }); $("#booksort .item").live("mouseenter",function(){ $(this).addClass("hover"); }); $("#booksort .item").live("mouseleave",function(){ $(this).removeClass("hover"); }); function isOnline(wwwurl,homeurl,passporturl){ $.getJSON( wwwurl+"/ajax/isOnline/?callback=?", function( data ) { if (data.welcome){ passporturl = passporturl.replace('https', 'http'); $('#login').html(' '+data.welcome+' [退出]'); }else{ //var nickName = decodeURI(getCookie('_nickName')); var nickName = decodeURI(decodeURI(escape(getCookie('_nickName')))); nickName = nickName?nickName:'嘿'; nickName = 'false'==nickName?'嘿':nickName; nickName = 'null'==nickName?'嘿':nickName; var welComeMsg = ''; if('嘿' == nickName){ welComeMsg = nickName+',欢迎来宜立方商城!'; }else{ welComeMsg = nickName+',欢迎您!'; } $('#login').html(welComeMsg+'请登录 | 免费注册'); } if(data.qqcb){ $('#qqcb').html(data.qqcb); } }); } function setCity(wwwUrl,provinceId,cityId,countyId){ var provinceId = provinceId?provinceId:2; var cityId = cityId?cityId:52; var countyId = countyId?countyId:500; var townid = 0; var today = new Date(); var expiry = new Date(today.getTime() + 3600 * 24 * 30 * 3 * 1000); var domain = window.location.host; domain = domain.substring(domain.indexOf('.')); setCookie('provinceid',provinceId,expiry,'/',domain); setCookie('cityid',cityId,expiry,'/',domain); setCookie('areaid',countyId,expiry,'/',domain); setCookie('townid',townid,expiry,'/',domain); window.location.reload(); // $.ajax({ // url : wwwUrl+'/AjaxSetCity/Changecity/', // dataType: "jsonp", // jsonp:"callback", // data : {provinceid:provinceId,cityid:cityId,areaid:countyId}, // success: function(str){ // window.location.reload(); // } // }); } function getAllCity(){ var saveUrl = location.href.split('/')[2].split('.'); var preDomain = saveUrl[0]; saveUrl[0] = 'www'; saveUrl = saveUrl.join('.'); $.ajax({ url : 'http://'+saveUrl+'/AjaxSetCity/GetChangeCity/', dataType: "jsonp", jsonp:"callback", data : {}, success: function(str){ if(str.shadowData){ $("#shadowAllCity").html(str.shadowData); //显示城市浮层 if('www' == preDomain && $("#shadowAllCity").length>0){ showShadow(); } } var cityNameHtml = '

    '+str.cityName+'

    '; if(2==str.cityName.length){ cityNameHtml = '

    '+str.cityName+'

    '; } if(3==str.cityName.length){ cityNameHtml = '

    '+str.cityName+'

    '; } if(3

    '; } cityNameHtml = cityNameHtml+ '
    '+str.headData+'
    '; $("#currentCityName").html(cityNameHtml); } }); } function showShadow(){ var h = $(document).height(); $('#screen').css({ 'height': h }); $('#screen').show(); $('.indexshadow').center(); $('.indexshadow').show(); } //取URLs function GetRequests() { var url = location.search; //获取url中"?"符后的字串 var theRequest = new Object(); if (url.indexOf("?") != -1) { var str = url.substr(1); if (str.indexOf("&") != -1) { strs = str.split("&"); for (var i = 0; i < strs.length; i++) { theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]); } } else { theRequest[str.split("=")[0]] = unescape(str.split("=")[1]); } } return theRequest; } //如果是IPAD APP清除 头底部 $(document).ready(function(){ //var browser = navigator.userAgent.toLowerCase(); //alert(browser); //if(browser.indexOf('ipod')!=-1){ var request = GetRequests(); if(getCookie('device') == 3 || request.device == 3){ if(getCookie('device') != 3){ var today = new Date(); var expires = new Date(today.getTime() + 24 * 60 * 60 * 1000); setCookie('device',3,expires,'/'); } $('.topMenu').remove(); $('#header').remove(); $('.mainNav').remove(); $('#footer').remove(); $(".side-wrap").remove(); //$("#side_app").remove(); $(".p-btn").remove(); var fenlei = /(http:\/\/www\.t\.com)?\/fresh\/(\d+)-(\d+)-(\d+)-(\d+)-(\d+)-(\d+)-(\d+)-(\d+)-(\d+)-(\d+)-(\d+)\.html/g; var pinpai = /\/pinpai\/(\d+)-(\d+)\.html/g; var guanjianzi = /(http:\/\/www\.t\.com)?\/productlist\/search\?inputBox=(\d+)\&keyword=([0-9a-zA-Z%])?(#.+)?/g; var xiangqing = /(http:\/\/www\.t\.com)?\/html\/products\/(\d+)\/(\d+)\.html(#.+)?/g; $("a").each(function(){ //console.log($(this).attr('href')); //替换分类 http://www.bbest.com/fresh/64-0-0-0-0-2-0-0-0-0-0.html $(this).attr('href', $(this).attr('href').replace(fenlei,"sfbesttoresource://resourceType=3&resourceCommonID=$2")); //替换品牌 /pinpai/322-2491.html $(this).attr('href', $(this).attr('href').replace(pinpai,"sfbesttoresource://resourceType=4&resourceCommonID=$2")); //替换关键字 /productlist/search?inputBox=0&keyword=%E9%98%BF%E5%85%8B%E8%8B%8F%E8%8B%B9%E6%9E%9C http://www.bbest.com/productlist/search?inputBox=1&keyword=%E9%98%BF%E5%85%8B%E8%8B%8F%E8%8B%B9%E6%9E%9C#trackref=sfbest_Uhead_Uhead_head_Keywords1 $(this).attr('href', $(this).attr('href').replace(guanjianzi,"sfbesttoresource://resourceType=2&resourceCommonID=$3")); //替换详情页 http://www.bbest.com/html/products/57/1800056021.html#trackref=sfbest_channel_fresh_floor1_item6 /html/products/9/1800008834.html $(this).attr('href', $(this).attr('href').replace(xiangqing,"sfbest://$3.html")); }) } //} }); ================================================ FILE: taotao-cart-web/src/main/webapp/js/e3mall.js ================================================ var E3MALL = { checkLogin : function(){ var _ticket = $.cookie("token"); if(!_ticket){ return ; } $.ajax({ url : "http://localhost:7088/user/token/" + _ticket, dataType : "jsonp", type : "GET", success : function(data){ if(data.status == 200){ var username = data.data.username; var html = username + ",欢迎来到宜立方购物网![退出]"; $("#loginbar").html(html); } } }); }, logOut : function(){ var token = $.cookie("token"); if(!token){ return ; } $.ajax({ url : "http://localhost:7088/user/logout/" + token, dataType : "jsonp", type : "GET", success : function(data){ console.log(data); if(data.status == 200){ window.location.reload(); } } }); } } $(function(){ // 查看是否已经登录,如果已经登录查询登录信息 E3MALL.checkLogin(); }); ================================================ FILE: taotao-cart-web/src/main/webapp/js/jquery.alerts.js ================================================ // jQuery Alert Dialogs Plugin // // Version 1.1 // // Cory S.N. LaViska // A Beautiful Site (http://abeautifulsite.net/) // 14 May 2009 // // Visit http://abeautifulsite.net/notebook/87 for more information // // Usage: // jAlert( message, [title, callback] ) // jConfirm( message, [title, callback] ) // jPrompt( message, [value, title, callback] ) // // History: // // 1.00 - Released (29 December 2008) // // 1.01 - Fixed bug where unbinding would destroy all resize events // // License: // // This plugin is dual-licensed under the GNU General Public License and the MIT License and // is copyright 2008 A Beautiful Site, LLC. // (function($) { /* * 遮罩层 */ var Shade=new function() { var handle={}; var shade; handle.show=function(func) { if(!shade) { shade=document.createElement('div'); shade.style.display = 'none'; shade.style.zIndex = 99997; shade.style.filter = 'alpha(opacity = 20)'; shade.style.left = 0; shade.style.width = '100%'; shade.style.position = 'absolute'; shade.style.top = 0; shade.style.backgroundColor = '#989898'; shade.style.opacity = .2; document.body.appendChild(shade); } with((document.compatMode=='CSS1Compat')?document.documentElement:document.body) { var ch=clientHeight,sh=scrollHeight; shade.style.height=(sh>ch?sh:ch)+'px'; var cw = clientWidth,sw = scrollWidth, ow=offsetWidth; var width = cw > sw ? cw : sw; width = width > ow ? width : ow; shade.style.width=width+'px'; shade.style.display='block'; } if(func){ func(); } }; handle.hide=function(func){ shade.style.display='none'; if(func){ func(); } }; return handle; } $.alerts = { // These properties can be read/written by accessing $.alerts.propertyName from your scripts at any time verticalOffset: -75, // vertical offset of the dialog from center screen, in pixels horizontalOffset: 0, // horizontal offset of the dialog from center screen, in pixels/ repositionOnResize: true, // re-centers the dialog on window resize overlayOpacity: .01, // transparency level of overlay overlayColor: '#89652b', // base color of overlay draggable: true, // make the dialogs draggable (requires UI Draggables plugin) okButton: ' 确定 ', // text for the OK button cancelButton: ' 取消 ', // text for the Cancel button dialogClass: null, // if specified, this class will be applied to all dialogs // Public methods alert: function(message, title, callback) { if( title == null ) title = '提示信息'; $.alerts._show(title, message, null, 'alert', function(result) { if( callback ) callback(result); }); }, confirm: function(message, title, callback) { if( title == null ) title = '确认信息'; $.alerts._show(title, message, null, 'confirm', function(result) { if( callback ) callback(result); }); }, prompt: function(message, value, title, callback) { if( title == null ) title = '输入信息'; $.alerts._show(title, message, value, 'prompt', function(result) { if( callback ) callback(result); }); }, // Private methods _show: function(title, msg, value, type, callback) { Shade.show(); $.alerts._hide(); $.alerts._overlay('show'); $("BODY").append( ''); if( $.alerts.dialogClass ) $("#popup_container").addClass($.alerts.dialogClass); // IE6 Fix var pos = ($.browser.msie && parseInt($.browser.version) <= 6 ) ? 'absolute' : 'fixed'; $("#popup_container").css({ position: pos, zIndex: 100000, padding: 0, margin: 0 }); if ($.browser.msie && $.browser.version < 7) { $ie6Fix = $('').css({ position: "absolute", zIndex: 99999 }).insertBefore("#popup_container") } $("#popup_title").text(title); $("#popup_content").addClass(type); $("#popup_message").text(msg); $("#popup_message").html( $("#popup_message").text().replace(/\n/g, '
    ') ); $("#popup_container").css({ minWidth: $("#popup_container").outerWidth(), maxWidth: $("#popup_container").outerWidth() }); $.alerts._reposition(); $.alerts._maintainPosition(true); switch( type ) { case 'alert': $("#popup_message").after(''); $("#popup_ok").click( function() { $.alerts._hide(); Shade.hide(); callback(true); }); $("#popup_ok").focus().keypress( function(e) { if( e.keyCode == 13 || e.keyCode == 27 ) $("#popup_ok").trigger('click'); }); break; case 'confirm': $("#popup_message").after(''); $("#popup_ok").click( function() { $.alerts._hide(); Shade.hide(); if( callback ) callback(true); }); $("#popup_cancel").click( function() { $.alerts._hide(); Shade.hide(); if( callback ) callback(false); }); $("#popup_ok").focus(); $("#popup_ok, #popup_cancel").keypress( function(e) { if( e.keyCode == 13 ) $("#popup_ok").trigger('click'); if( e.keyCode == 27 ) $("#popup_cancel").trigger('click'); }); break; case 'prompt': $("#popup_message").append('
    ').after(''); $("#popup_prompt").width( $("#popup_message").width() ); $("#popup_ok").click( function() { var val = $("#popup_prompt").val(); $.alerts._hide(); Shade.hide(); if( callback ) callback( val ); }); $("#popup_cancel").click( function() { $.alerts._hide(); Shade.hide(); if( callback ) callback( null ); }); $("#popup_prompt, #popup_ok, #popup_cancel").keypress( function(e) { if( e.keyCode == 13 ) $("#popup_ok").trigger('click'); if( e.keyCode == 27 ) $("#popup_cancel").trigger('click'); }); if( value ) $("#popup_prompt").val(value); $("#popup_prompt").focus().select(); break; } // Make draggable if( $.alerts.draggable ) { try { $("#popup_container").draggable({ handle: $("#popup_title") }); $("#popup_title").css({ cursor: 'move' }); } catch(e) { /* requires jQuery UI draggables */ } } }, _showNew: function(showX, showP, width_m, title, msg, value, type, callback) { Shade.show(); $.alerts._hide(); $.alerts._overlay('show'); if(showX==1){ titlehead = '
    '; }else{ titlehead = '
    '; } if(width_m == null){ width_m = $("#popup_container").outerWidth(); } if(showP==1){ sd_img = '
    '; }else{ sd_img = ''; } $("BODY").append( ''); if( $.alerts.dialogClass ) $("#popup_container").addClass($.alerts.dialogClass); // IE6 Fix var pos = ($.browser.msie && parseInt($.browser.version) <= 6 ) ? 'absolute' : 'fixed'; $("#popup_container").css({ position: pos, zIndex: 100000, margin: 0 }); if ($.browser.msie && $.browser.version < 7) { $ie6Fix = $('').css({ position: "absolute", zIndex: 99999 }).insertBefore("#popup_container") } $("#popup_title").text(title); $("#popup_content").addClass(type); /*if(msg!=null){ $("#popup_message").text(msg); }*/ $("#popup_message").text(msg); $("#popup_message").html( $("#popup_message").text().replace(/\n/g, '
    ') ); $("#popup_container").css({ minWidth: width_m, maxWidth: width_m }); $.alerts._reposition(); $.alerts._maintainPosition(true); switch( type ) { case 'alert': $("#titlehead_x").click( function() { $.alerts._hide(); Shade.hide(); if( callback ) callback(true); }); $("#popup_message").after(''); $("#popup_ok").click( function() { $.alerts._hide(); Shade.hide(); if( callback ) callback(true); }); $("#popup_ok").focus().keypress( function(e) { if( e.keyCode == 13 || e.keyCode == 27 ) $("#popup_ok").trigger('click'); }); break; case 'confirm': $("#titlehead_x").click( function() { $.alerts._hide(); Shade.hide(); top.location.reload(); }); $("#popup_message").after(''); $("#popup_ok").click( function() { $.alerts._hide(); Shade.hide(); if( callback ) callback(true); }); $("#popup_cancel").click( function() { $.alerts._hide(); Shade.hide(); top.location.reload(); }); $("#popup_ok").focus(); $("#popup_ok, #popup_cancel").keypress( function(e) { if( e.keyCode == 13 ) $("#popup_ok").trigger('click'); if( e.keyCode == 27 ) $("#popup_cancel").trigger('click'); }); break; } // Make draggable if( $.alerts.draggable ) { try { $("#popup_container").draggable({ handle: $("#popup_title") }); $("#popup_title").css({ cursor: 'move' }); } catch(e) { /* requires jQuery UI draggables */ } } }, _hide: function() { if ($.browser.msie && $.browser.version < 7) { $("#shadow").remove(); } $("#popup_container").remove(); $.alerts._overlay('hide'); $.alerts._maintainPosition(false); }, _overlay: function(status) { switch( status ) { case 'show': $.alerts._overlay('hide'); $("BODY").append(''); $("#popup_overlay").css({ position: 'absolute', zIndex: 99998, top: '0px', left: '0px', width: '100%', height: $(document).height(), background: $.alerts.overlayColor, opacity: $.alerts.overlayOpacity }); break; case 'hide': $("#popup_overlay").remove(); break; } }, _reposition: function() { var top = (($(window).height() / 2) - ($("#popup_container").outerHeight() / 2)) + $.alerts.verticalOffset; var left = (($(window).width() / 2) - ($("#popup_container").outerWidth() / 2)) + $.alerts.horizontalOffset; var height = $("#popup_container").outerHeight(true); var width = $("#popup_container").outerWidth(true); if( top < 0 ) top = 0; if( left < 0 ) left = 0; // IE6 fix if( $.browser.msie && parseInt($.browser.version) <= 6 ) top = top + $(window).scrollTop(); $("#popup_container").css({ top: top + 'px', left: left + 'px' }); $("#popup_overlay").height( $(document).height() ); $("#shadow").css({ top: top + 'px', left: left + 'px', height: height + 34 + 'px', width: width + 'px' }); }, _maintainPosition: function(status) { if( $.alerts.repositionOnResize ) { switch(status) { case true: $(window).bind('resize', $.alerts._reposition); break; case false: $(window).unbind('resize', $.alerts._reposition); break; } } } } // Shortuct functions jAlert = function(message, title, callback) { $.alerts.alert(message, title, callback); } jConfirm = function(message, title, callback) { $.alerts.confirm(message, title, callback); }; jPrompt = function(message, value, title, callback) { $.alerts.prompt(message, value, title, callback); }; jAlertNew = function(showX, showP, width, message, title, callback) { if( title == null ) title = '提示信息'; $.alerts._showNew(showX, showP, width, title, message, null, 'alert', function(result) { if( callback ) callback(result); }); } jConfirmNew = function(showX, showP, width, message, title, callback) { if( title == null ) title = '提示信息'; $.alerts._showNew(showX, showP, width, title, message, null, 'confirm', function(result) { if( callback ) callback(result); }); }; })(jQuery); ================================================ FILE: taotao-cart-web/src/main/webapp/js/jquery.cookie.js ================================================ /*! * jQuery Cookie Plugin v1.4.1 * https://github.com/carhartl/jquery-cookie * * Copyright 2013 Klaus Hartl * Released under the MIT license */ (function (factory) { if (typeof define === 'function' && define.amd) { // AMD define(['jquery'], factory); } else if (typeof exports === 'object') { // CommonJS factory(require('jquery')); } else { // Browser globals factory(jQuery); } }(function ($) { var pluses = /\+/g; function encode(s) { return config.raw ? s : encodeURIComponent(s); } function decode(s) { return config.raw ? s : decodeURIComponent(s); } function stringifyCookieValue(value) { return encode(config.json ? JSON.stringify(value) : String(value)); } function parseCookieValue(s) { if (s.indexOf('"') === 0) { // This is a quoted cookie as according to RFC2068, unescape... s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\'); } try { // Replace server-side written pluses with spaces. // If we can't decode the cookie, ignore it, it's unusable. // If we can't parse the cookie, ignore it, it's unusable. s = decodeURIComponent(s.replace(pluses, ' ')); return config.json ? JSON.parse(s) : s; } catch(e) {} } function read(s, converter) { var value = config.raw ? s : parseCookieValue(s); return $.isFunction(converter) ? converter(value) : value; } var config = $.cookie = function (key, value, options) { // Write if (value !== undefined && !$.isFunction(value)) { options = $.extend({}, config.defaults, options); if (typeof options.expires === 'number') { var days = options.expires, t = options.expires = new Date(); t.setTime(+t + days * 864e+5); } return (document.cookie = [ encode(key), '=', stringifyCookieValue(value), options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE options.path ? '; path=' + options.path : '', options.domain ? '; domain=' + options.domain : '', options.secure ? '; secure' : '' ].join('')); } // Read var result = key ? undefined : {}; // To prevent the for loop in the first place assign an empty array // in case there are no cookies at all. Also prevents odd result when // calling $.cookie(). var cookies = document.cookie ? document.cookie.split('; ') : []; for (var i = 0, l = cookies.length; i < l; i++) { var parts = cookies[i].split('='); var name = decode(parts.shift()); var cookie = parts.join('='); if (key && key === name) { // If second argument (value) is a function it's a converter... result = read(cookie, value); break; } // Prevent storing a cookie that we couldn't decode. if (!key && (cookie = read(cookie)) !== undefined) { result[name] = cookie; } } return result; }; config.defaults = {}; $.removeCookie = function (key, options) { if ($.cookie(key) === undefined) { return false; } // Must not alter options, thus extending a fresh object... $.cookie(key, '', $.extend({}, options, { expires: -1 })); return !$.cookie(key); }; })); ================================================ FILE: taotao-cart-web/src/main/webapp/js/shadow.js ================================================ jQuery.fn.center = function(loaded) { var obj = this; body_width = parseInt($(window).width()); body_height = parseInt($(window).height()); block_width = parseInt(obj.width()); block_height = parseInt(obj.height()); left_position = parseInt((body_width/2) - (block_width/2) + $(window).scrollLeft()); if (body_width ================================================ FILE: taotao-common/.idea/compiler.xml ================================================ ================================================ FILE: taotao-common/.idea/encodings.xml ================================================ ================================================ FILE: taotao-common/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_4_0.xml ================================================ ================================================ FILE: taotao-common/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_4_2.xml ================================================ ================================================ FILE: taotao-common/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_4_2.xml ================================================ ================================================ FILE: taotao-common/.idea/libraries/Maven__commons_codec_commons_codec_1_6.xml ================================================ ================================================ FILE: taotao-common/.idea/libraries/Maven__commons_io_commons_io_1_3_2.xml ================================================ ================================================ FILE: taotao-common/.idea/libraries/Maven__commons_logging_commons_logging_1_1_3.xml ================================================ ================================================ FILE: taotao-common/.idea/libraries/Maven__commons_net_commons_net_3_3.xml ================================================ ================================================ FILE: taotao-common/.idea/libraries/Maven__joda_time_joda_time_2_5.xml ================================================ ================================================ FILE: taotao-common/.idea/libraries/Maven__junit_junit_4_12.xml ================================================ ================================================ FILE: taotao-common/.idea/libraries/Maven__log4j_log4j_1_2_16.xml ================================================ ================================================ FILE: taotao-common/.idea/libraries/Maven__org_apache_commons_commons_lang3_3_3_2.xml ================================================ ================================================ FILE: taotao-common/.idea/libraries/Maven__org_apache_httpcomponents_httpclient_4_3_5.xml ================================================ ================================================ FILE: taotao-common/.idea/libraries/Maven__org_apache_httpcomponents_httpcore_4_3_2.xml ================================================ ================================================ FILE: taotao-common/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml ================================================ ================================================ FILE: taotao-common/.idea/libraries/Maven__org_slf4j_slf4j_api_1_6_4.xml ================================================ ================================================ FILE: taotao-common/.idea/libraries/Maven__org_slf4j_slf4j_log4j12_1_6_4.xml ================================================ ================================================ FILE: taotao-common/.idea/misc.xml ================================================ 1.8 ================================================ FILE: taotao-common/.idea/modules.xml ================================================ ================================================ FILE: taotao-common/.idea/workspace.xml ================================================ true DEFINITION_ORDER 1503758225614 ================================================ FILE: taotao-common/pom.xml ================================================ taotao-parent top.catalinali 1.0-SNAPSHOT ../taotao-parent/pom.xml 4.0.0 taotao-common jar taotao-common http://maven.apache.org joda-time joda-time org.apache.commons commons-lang3 org.apache.commons commons-io commons-net commons-net com.fasterxml.jackson.core jackson-databind org.apache.httpcomponents httpclient org.quartz-scheduler quartz junit junit test org.slf4j slf4j-log4j12 redis.clients jedis fastdfs_client fastdfs_client 1.25 javax.servlet servlet-api provided ================================================ FILE: taotao-common/src/main/java/top/catalinali/common/jedis/JedisClient.java ================================================ package top.catalinali.common.jedis; import java.util.List; public interface JedisClient { String set(String key, String value); String get(String key); Boolean exists(String key); Long expire(String key, int seconds); Long ttl(String key); Long incr(String key); Long hset(String key, String field, String value); String hget(String key, String field); Long hdel(String key, String... field); Boolean hexists(String key, String field); List hvals(String key); Long del(String key); } ================================================ FILE: taotao-common/src/main/java/top/catalinali/common/jedis/JedisClientCluster.java ================================================ package top.catalinali.common.jedis; import redis.clients.jedis.JedisCluster; import java.util.List; public class JedisClientCluster implements JedisClient { private JedisCluster jedisCluster; public JedisCluster getJedisCluster() { return jedisCluster; } public void setJedisCluster(JedisCluster jedisCluster) { this.jedisCluster = jedisCluster; } @Override public String set(String key, String value) { return jedisCluster.set(key, value); } @Override public String get(String key) { return jedisCluster.get(key); } @Override public Boolean exists(String key) { return jedisCluster.exists(key); } @Override public Long expire(String key, int seconds) { return jedisCluster.expire(key, seconds); } @Override public Long ttl(String key) { return jedisCluster.ttl(key); } @Override public Long incr(String key) { return jedisCluster.incr(key); } @Override public Long hset(String key, String field, String value) { return jedisCluster.hset(key, field, value); } @Override public String hget(String key, String field) { return jedisCluster.hget(key, field); } @Override public Long hdel(String key, String... field) { return jedisCluster.hdel(key, field); } @Override public Boolean hexists(String key, String field) { return jedisCluster.hexists(key, field); } @Override public List hvals(String key) { return jedisCluster.hvals(key); } @Override public Long del(String key) { return jedisCluster.del(key); } } ================================================ FILE: taotao-common/src/main/java/top/catalinali/common/jedis/JedisClientPool.java ================================================ package top.catalinali.common.jedis; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisPool; import java.util.List; public class JedisClientPool implements JedisClient { private JedisPool jedisPool; public JedisPool getJedisPool() { return jedisPool; } public void setJedisPool(JedisPool jedisPool) { this.jedisPool = jedisPool; } @Override public String set(String key, String value) { Jedis jedis = jedisPool.getResource(); String result = jedis.set(key, value); jedis.close(); return result; } @Override public String get(String key) { Jedis jedis = jedisPool.getResource(); String result = jedis.get(key); jedis.close(); return result; } @Override public Boolean exists(String key) { Jedis jedis = jedisPool.getResource(); Boolean result = jedis.exists(key); jedis.close(); return result; } @Override public Long expire(String key, int seconds) { Jedis jedis = jedisPool.getResource(); Long result = jedis.expire(key, seconds); jedis.close(); return result; } @Override public Long ttl(String key) { Jedis jedis = jedisPool.getResource(); Long result = jedis.ttl(key); jedis.close(); return result; } @Override public Long incr(String key) { Jedis jedis = jedisPool.getResource(); Long result = jedis.incr(key); jedis.close(); return result; } @Override public Long hset(String key, String field, String value) { Jedis jedis = jedisPool.getResource(); Long result = jedis.hset(key, field, value); jedis.close(); return result; } @Override public String hget(String key, String field) { Jedis jedis = jedisPool.getResource(); String result = jedis.hget(key, field); jedis.close(); return result; } @Override public Long hdel(String key, String... field) { Jedis jedis = jedisPool.getResource(); Long result = jedis.hdel(key, field); jedis.close(); return result; } @Override public Boolean hexists(String key, String field) { Jedis jedis = jedisPool.getResource(); Boolean result = jedis.hexists(key, field); jedis.close(); return result; } @Override public List hvals(String key) { Jedis jedis = jedisPool.getResource(); List result = jedis.hvals(key); jedis.close(); return result; } @Override public Long del(String key) { Jedis jedis = jedisPool.getResource(); Long result = jedis.del(key); jedis.close(); return result; } } ================================================ FILE: taotao-common/src/main/java/top/catalinali/common/pojo/EUDataGridResult.java ================================================ package top.catalinali.common.pojo; import java.io.Serializable; import java.util.List; public class EUDataGridResult implements Serializable { private long total; private List rows; public long getTotal() { return total; } public void setTotal(long total) { this.total = total; } public List getRows() { return rows; } public void setRows(List rows) { this.rows = rows; } } ================================================ FILE: taotao-common/src/main/java/top/catalinali/common/pojo/EUTreeNode.java ================================================ package top.catalinali.common.pojo; import java.io.Serializable; public class EUTreeNode implements Serializable { private long id; private String text; private String state; public EUTreeNode() { } public EUTreeNode(long id, String text, String state) { super(); this.id = id; this.text = text; this.state = state; } public long getId() { return id; } public void setId(long id) { this.id = id; } public String getText() { return text; } public void setText(String text) { this.text = text; } public String getState() { return state; } public void setState(String state) { this.state = state; } } ================================================ FILE: taotao-common/src/main/java/top/catalinali/common/pojo/PictureResult.java ================================================ package top.catalinali.common.pojo; import java.io.Serializable; /** *
     * Description:
     * Copyright:	Copyright (c)2017
     * Author:		lllx
     * Version:		1.0
     * Created at:	2017/8/23
     * 
    */ public class PictureResult implements Serializable { private int error; private String url; private String message; public PictureResult(int error, String url, String message) { this.error = error; this.url = url; this.message = message; } //成功时调用的方法 public static PictureResult ok(String url) { return new PictureResult(0, url, null); } //失败时调用的方法 public static PictureResult error(String message) { return new PictureResult(1, null, message); } public int getError() { return error; } public void setError(int error) { this.error = error; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } } ================================================ FILE: taotao-common/src/main/java/top/catalinali/common/pojo/SearchItem.java ================================================ package top.catalinali.common.pojo; import java.io.Serializable; /** *
     * Description:
     * Copyright:	Copyright (c)2017
     * Author:		lllx
     * Version:		1.0
     * Created at:	2017/12/6
     * 
    */ public class SearchItem implements Serializable{ private String id; private String title; private String sell_point; private long price; private String image; private String category_name; public String getId() { return id; } public void setId(String id) { this.id = id; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getSell_point() { return sell_point; } public void setSell_point(String sell_point) { this.sell_point = sell_point; } public long getPrice() { return price; } public void setPrice(long price) { this.price = price; } public String getImage() { return image; } public void setImage(String image) { this.image = image; } public String getCategory_name() { return category_name; } public void setCategory_name(String category_name) { this.category_name = category_name; } public String[] getImages() { if (image != null && !"".equals(image)) { String[] strings = image.split(","); return strings; } return null; } } ================================================ FILE: taotao-common/src/main/java/top/catalinali/common/pojo/SearchResult.java ================================================ package top.catalinali.common.pojo; import java.io.Serializable; import java.util.List; /** *
     * Description:
     * Copyright:	Copyright (c)2017
     * Author:		lllx
     * Version:		1.0
     * Created at:	2017/12/7
     * 
    */ public class SearchResult implements Serializable { private long recordCount; private int totalPages; private List itemList; public long getRecordCount() { return recordCount; } public void setRecordCount(long recordCount) { this.recordCount = recordCount; } public int getTotalPages() { return totalPages; } public void setTotalPages(int totalPages) { this.totalPages = totalPages; } public List getItemList() { return itemList; } public void setItemList(List itemList) { this.itemList = itemList; } } ================================================ FILE: taotao-common/src/main/java/top/catalinali/common/pojo/TaotaoResult.java ================================================ package top.catalinali.common.pojo; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.Serializable; import java.util.List; /** * 淘淘商城自定义响应结构 */ public class TaotaoResult implements Serializable { // 定义jackson对象 private static final ObjectMapper MAPPER = new ObjectMapper(); // 响应业务状态 private Integer status; // 响应消息 private String msg; // 响应中的数据 private Object data; public static TaotaoResult build(Integer status, String msg, Object data) { return new TaotaoResult(status, msg, data); } public static TaotaoResult ok(Object data) { return new TaotaoResult(data); } public static TaotaoResult ok() { return new TaotaoResult(null); } public TaotaoResult() { } public static TaotaoResult build(Integer status, String msg) { return new TaotaoResult(status, msg, null); } public TaotaoResult(Integer status, String msg, Object data) { this.status = status; this.msg = msg; this.data = data; } public TaotaoResult(Object data) { this.status = 200; this.msg = "OK"; this.data = data; } // public Boolean isOK() { // return this.status == 200; // } public Integer getStatus() { return status; } public void setStatus(Integer status) { this.status = status; } public String getMsg() { return msg; } public void setMsg(String msg) { this.msg = msg; } public Object getData() { return data; } public void setData(Object data) { this.data = data; } /** * 将json结果集转化为TaotaoResult对象 * * @param jsonData json数据 * @param clazz TaotaoResult中的object类型 * @return */ public static TaotaoResult formatToPojo(String jsonData, Class clazz) { try { if (clazz == null) { return MAPPER.readValue(jsonData, TaotaoResult.class); } JsonNode jsonNode = MAPPER.readTree(jsonData); JsonNode data = jsonNode.get("data"); Object obj = null; if (clazz != null) { if (data.isObject()) { obj = MAPPER.readValue(data.traverse(), clazz); } else if (data.isTextual()) { obj = MAPPER.readValue(data.asText(), clazz); } } return build(jsonNode.get("status").intValue(), jsonNode.get("msg").asText(), obj); } catch (Exception e) { return null; } } /** * 没有object对象的转化 * * @param json * @return */ public static TaotaoResult format(String json) { try { return MAPPER.readValue(json, TaotaoResult.class); } catch (Exception e) { e.printStackTrace(); } return null; } /** * Object是集合转化 * * @param jsonData json数据 * @param clazz 集合中的类型 * @return */ public static TaotaoResult formatToList(String jsonData, Class clazz) { try { JsonNode jsonNode = MAPPER.readTree(jsonData); JsonNode data = jsonNode.get("data"); Object obj = null; if (data.isArray() && data.size() > 0) { obj = MAPPER.readValue(data.traverse(), MAPPER.getTypeFactory().constructCollectionType(List.class, clazz)); } return build(jsonNode.get("status").intValue(), jsonNode.get("msg").asText(), obj); } catch (Exception e) { return null; } } } ================================================ FILE: taotao-common/src/main/java/top/catalinali/common/util/CookieUtils.java ================================================ package top.catalinali.common.util; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.net.URLEncoder; /** * * Cookie 工具类 * */ public final class CookieUtils { /** * 得到Cookie的值, 不编码 * * @param request * @param cookieName * @return */ public static String getCookieValue(HttpServletRequest request, String cookieName) { return getCookieValue(request, cookieName, false); } /** * 得到Cookie的值, * * @param request * @param cookieName * @return */ public static String getCookieValue(HttpServletRequest request, String cookieName, boolean isDecoder) { Cookie[] cookieList = request.getCookies(); if (cookieList == null || cookieName == null) { return null; } String retValue = null; try { for (int i = 0; i < cookieList.length; i++) { if (cookieList[i].getName().equals(cookieName)) { if (isDecoder) { retValue = URLDecoder.decode(cookieList[i].getValue(), "UTF-8"); } else { retValue = cookieList[i].getValue(); } break; } } } catch (UnsupportedEncodingException e) { e.printStackTrace(); } return retValue; } /** * 得到Cookie的值, * * @param request * @param cookieName * @return */ public static String getCookieValue(HttpServletRequest request, String cookieName, String encodeString) { Cookie[] cookieList = request.getCookies(); if (cookieList == null || cookieName == null) { return null; } String retValue = null; try { for (int i = 0; i < cookieList.length; i++) { if (cookieList[i].getName().equals(cookieName)) { retValue = URLDecoder.decode(cookieList[i].getValue(), encodeString); break; } } } catch (UnsupportedEncodingException e) { e.printStackTrace(); } return retValue; } /** * 设置Cookie的值 不设置生效时间默认浏览器关闭即失效,也不编码 */ public static void setCookie(HttpServletRequest request, HttpServletResponse response, String cookieName, String cookieValue) { setCookie(request, response, cookieName, cookieValue, -1); } /** * 设置Cookie的值 在指定时间内生效,但不编码 */ public static void setCookie(HttpServletRequest request, HttpServletResponse response, String cookieName, String cookieValue, int cookieMaxage) { setCookie(request, response, cookieName, cookieValue, cookieMaxage, false); } /** * 设置Cookie的值 不设置生效时间,但编码 */ public static void setCookie(HttpServletRequest request, HttpServletResponse response, String cookieName, String cookieValue, boolean isEncode) { setCookie(request, response, cookieName, cookieValue, -1, isEncode); } /** * 设置Cookie的值 在指定时间内生效, 编码参数 */ public static void setCookie(HttpServletRequest request, HttpServletResponse response, String cookieName, String cookieValue, int cookieMaxage, boolean isEncode) { doSetCookie(request, response, cookieName, cookieValue, cookieMaxage, isEncode); } /** * 设置Cookie的值 在指定时间内生效, 编码参数(指定编码) */ public static void setCookie(HttpServletRequest request, HttpServletResponse response, String cookieName, String cookieValue, int cookieMaxage, String encodeString) { doSetCookie(request, response, cookieName, cookieValue, cookieMaxage, encodeString); } /** * 删除Cookie带cookie域名 */ public static void deleteCookie(HttpServletRequest request, HttpServletResponse response, String cookieName) { doSetCookie(request, response, cookieName, "", -1, false); } /** * 设置Cookie的值,并使其在指定时间内生效 * * @param cookieMaxage cookie生效的最大秒数 */ private static final void doSetCookie(HttpServletRequest request, HttpServletResponse response, String cookieName, String cookieValue, int cookieMaxage, boolean isEncode) { try { if (cookieValue == null) { cookieValue = ""; } else if (isEncode) { cookieValue = URLEncoder.encode(cookieValue, "utf-8"); } Cookie cookie = new Cookie(cookieName, cookieValue); if (cookieMaxage > 0) cookie.setMaxAge(cookieMaxage); if (null != request) {// 设置域名的cookie String domainName = getDomainName(request); System.out.println(domainName); if (!"localhost".equals(domainName)) { cookie.setDomain(domainName); } } cookie.setPath("/"); response.addCookie(cookie); } catch (Exception e) { e.printStackTrace(); } } /** * 设置Cookie的值,并使其在指定时间内生效 * * @param cookieMaxage cookie生效的最大秒数 */ private static final void doSetCookie(HttpServletRequest request, HttpServletResponse response, String cookieName, String cookieValue, int cookieMaxage, String encodeString) { try { if (cookieValue == null) { cookieValue = ""; } else { cookieValue = URLEncoder.encode(cookieValue, encodeString); } Cookie cookie = new Cookie(cookieName, cookieValue); if (cookieMaxage > 0) cookie.setMaxAge(cookieMaxage); if (null != request) {// 设置域名的cookie String domainName = getDomainName(request); System.out.println(domainName); if (!"localhost".equals(domainName)) { cookie.setDomain(domainName); } } cookie.setPath("/"); response.addCookie(cookie); } catch (Exception e) { e.printStackTrace(); } } /** * 得到cookie的域名 */ private static final String getDomainName(HttpServletRequest request) { String domainName = null; String serverName = request.getRequestURL().toString(); if (serverName == null || serverName.equals("")) { domainName = ""; } else { serverName = serverName.toLowerCase(); serverName = serverName.substring(7); final int end = serverName.indexOf("/"); serverName = serverName.substring(0, end); final String[] domains = serverName.split("\\."); int len = domains.length; if (len > 3) { // www.xxx.com.cn domainName = "." + domains[len - 3] + "." + domains[len - 2] + "." + domains[len - 1]; } else if (len <= 3 && len > 1) { // xxx.com or xxx.cn domainName = "." + domains[len - 2] + "." + domains[len - 1]; } else { domainName = serverName; } } if (domainName != null && domainName.indexOf(":") > 0) { String[] ary = domainName.split("\\:"); domainName = ary[0]; } return domainName; } } ================================================ FILE: taotao-common/src/main/java/top/catalinali/common/util/ExceptionUtil.java ================================================ package top.catalinali.common.util; import java.io.PrintWriter; import java.io.StringWriter; public class ExceptionUtil { /** * 获取异常的堆栈信息 * * @param t * @return */ public static String getStackTrace(Throwable t) { StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); try { t.printStackTrace(pw); return sw.toString(); } finally { pw.close(); } } } ================================================ FILE: taotao-common/src/main/java/top/catalinali/common/util/FastDFSClient.java ================================================ package top.catalinali.common.util; import org.csource.common.NameValuePair; import org.csource.fastdfs.ClientGlobal; import org.csource.fastdfs.StorageClient1; import org.csource.fastdfs.StorageServer; import org.csource.fastdfs.TrackerClient; import org.csource.fastdfs.TrackerServer; public class FastDFSClient { private TrackerClient trackerClient = null; private TrackerServer trackerServer = null; private StorageServer storageServer = null; private StorageClient1 storageClient = null; public FastDFSClient(String conf) throws Exception { if (conf.contains("classpath:")) { conf = conf.replace("classpath:", this.getClass().getResource("/").getPath()); } ClientGlobal.init(conf); trackerClient = new TrackerClient(); trackerServer = trackerClient.getConnection(); storageServer = null; storageClient = new StorageClient1(trackerServer, storageServer); } /** * 上传文件方法 *

    Title: uploadFile

    *

    Description:

    * @param fileName 文件全路径 * @param extName 文件扩展名,不包含(.) * @param metas 文件扩展信息 * @return * @throws Exception */ public String uploadFile(String fileName, String extName, NameValuePair[] metas) throws Exception { String result = storageClient.upload_file1(fileName, extName, metas); return result; } public String uploadFile(String fileName) throws Exception { return uploadFile(fileName, null, null); } public String uploadFile(String fileName, String extName) throws Exception { return uploadFile(fileName, extName, null); } /** * 上传文件方法 *

    Title: uploadFile

    *

    Description:

    * @param fileContent 文件的内容,字节数组 * @param extName 文件扩展名 * @param metas 文件扩展信息 * @return * @throws Exception */ public String uploadFile(byte[] fileContent, String extName, NameValuePair[] metas) throws Exception { String result = storageClient.upload_file1(fileContent, extName, metas); return result; } public String uploadFile(byte[] fileContent) throws Exception { return uploadFile(fileContent, null, null); } public String uploadFile(byte[] fileContent, String extName) throws Exception { return uploadFile(fileContent, extName, null); } } ================================================ FILE: taotao-common/src/main/java/top/catalinali/common/util/FtpUtil.java ================================================ package top.catalinali.common.util; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import org.apache.commons.net.ftp.FTP; import org.apache.commons.net.ftp.FTPClient; import org.apache.commons.net.ftp.FTPFile; import org.apache.commons.net.ftp.FTPReply; /** * ftp上传下载工具类 *

    Title: FtpUtil

    *

    Description:

    *

    Company: www.itcast.com

    * @author 入云龙 * @date 2015年7月29日下午8:11:51 * @version 1.0 */ public class FtpUtil { /** * Description: 向FTP服务器上传文件 * @param host FTP服务器hostname * @param port FTP服务器端口 * @param username FTP登录账号 * @param password FTP登录密码 * @param basePath FTP服务器基础目录 * @param filePath FTP服务器文件存放路径。例如分日期存放:/2015/01/01。文件的路径为basePath+filePath * @param filename 上传到FTP服务器上的文件名 * @param input 输入流 * @return 成功返回true,否则返回false */ public static boolean uploadFile(String host, int port, String username, String password, String basePath, String filePath, String filename, InputStream input) { boolean result = false; FTPClient ftp = new FTPClient(); try { int reply; ftp.connect(host, port);// 连接FTP服务器 // 如果采用默认端口,可以使用ftp.connect(host)的方式直接连接FTP服务器 ftp.login(username, password);// 登录 reply = ftp.getReplyCode(); if (!FTPReply.isPositiveCompletion(reply)) { ftp.disconnect(); return result; } //切换到上传目录 if (!ftp.changeWorkingDirectory(basePath+filePath)) { //如果目录不存在创建目录 String[] dirs = filePath.split("/"); String tempPath = basePath; for (String dir : dirs) { if (null == dir || "".equals(dir)) continue; tempPath += "/" + dir; if (!ftp.changeWorkingDirectory(tempPath)) { if (!ftp.makeDirectory(tempPath)) { return result; } else { ftp.changeWorkingDirectory(tempPath); } } } } //设置上传文件的类型为二进制类型 ftp.setFileType(FTP.BINARY_FILE_TYPE); //上传文件 if (!ftp.storeFile(filename, input)) { return result; } input.close(); ftp.logout(); result = true; } catch (IOException e) { e.printStackTrace(); } finally { if (ftp.isConnected()) { try { ftp.disconnect(); } catch (IOException ioe) { } } } return result; } /** * Description: 从FTP服务器下载文件 * @param host FTP服务器hostname * @param port FTP服务器端口 * @param username FTP登录账号 * @param password FTP登录密码 * @param remotePath FTP服务器上的相对路径 * @param fileName 要下载的文件名 * @param localPath 下载后保存到本地的路径 * @return */ public static boolean downloadFile(String host, int port, String username, String password, String remotePath, String fileName, String localPath) { boolean result = false; FTPClient ftp = new FTPClient(); try { int reply; ftp.connect(host, port); // 如果采用默认端口,可以使用ftp.connect(host)的方式直接连接FTP服务器 ftp.login(username, password);// 登录 reply = ftp.getReplyCode(); if (!FTPReply.isPositiveCompletion(reply)) { ftp.disconnect(); return result; } ftp.changeWorkingDirectory(remotePath);// 转移到FTP服务器目录 FTPFile[] fs = ftp.listFiles(); for (FTPFile ff : fs) { if (ff.getName().equals(fileName)) { File localFile = new File(localPath + "/" + ff.getName()); OutputStream is = new FileOutputStream(localFile); ftp.retrieveFile(ff.getName(), is); is.close(); } } ftp.logout(); result = true; } catch (IOException e) { e.printStackTrace(); } finally { if (ftp.isConnected()) { try { ftp.disconnect(); } catch (IOException ioe) { } } } return result; } public static void main(String[] args) { try { FileInputStream in=new FileInputStream(new File("D:\\temp\\image\\gaigeming.jpg")); boolean flag = uploadFile("192.168.25.133", 21, "ftpuser", "ftpuser", "/home/ftpuser/www/images","/2015/01/21", "gaigeming.jpg", in); System.out.println(flag); } catch (FileNotFoundException e) { e.printStackTrace(); } } } ================================================ FILE: taotao-common/src/main/java/top/catalinali/common/util/IDUtils.java ================================================ package top.catalinali.common.util; import java.util.Random; /** * 各种id生成策略 *

    Title: IDUtils

    *

    Description:

    *

    Company: www.itcast.com

    * @author 入云龙 * @date 2015年7月22日下午2:32:10 * @version 1.0 */ public class IDUtils { /** * 图片名生成 */ public static String genImageName() { //取当前时间的长整形值包含毫秒 long millis = System.currentTimeMillis(); //long millis = System.nanoTime(); //加上三位随机数 Random random = new Random(); int end3 = random.nextInt(999); //如果不足三位前面补0 String str = millis + String.format("%03d", end3); return str; } /** * 商品id生成 */ public static long genItemId() { //取当前时间的长整形值包含毫秒 long millis = System.currentTimeMillis(); //long millis = System.nanoTime(); //加上两位随机数 Random random = new Random(); int end2 = random.nextInt(99); //如果不足两位前面补0 String str = millis + String.format("%02d", end2); long id = new Long(str); return id; } public static void main(String[] args) { for(int i=0;i< 100;i++) System.out.println(genItemId()); } } ================================================ FILE: taotao-common/src/main/java/top/catalinali/common/util/JsonUtils.java ================================================ package top.catalinali.common.util; import java.util.List; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JavaType; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; /** * 淘淘商城自定义响应结构 */ public class JsonUtils { // 定义jackson对象 private static final ObjectMapper MAPPER = new ObjectMapper(); /** * 将对象转换成json字符串。 *

    Title: pojoToJson

    *

    Description:

    * @param data * @return */ public static String objectToJson(Object data) { try { String string = MAPPER.writeValueAsString(data); return string; } catch (JsonProcessingException e) { e.printStackTrace(); } return null; } /** * 将json结果集转化为对象 * * @param jsonData json数据 * @param clazz 对象中的object类型 * @return */ public static T jsonToPojo(String jsonData, Class beanType) { try { T t = MAPPER.readValue(jsonData, beanType); return t; } catch (Exception e) { e.printStackTrace(); } return null; } /** * 将json数据转换成pojo对象list *

    Title: jsonToList

    *

    Description:

    * @param jsonData * @param beanType * @return */ public static List jsonToList(String jsonData, Class beanType) { JavaType javaType = MAPPER.getTypeFactory().constructParametricType(List.class, beanType); try { List list = MAPPER.readValue(jsonData, javaType); return list; } catch (Exception e) { e.printStackTrace(); } return null; } } ================================================ FILE: taotao-common/src/test/java/top/catalinali/AppTest.java ================================================ package top.catalinali; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ public AppTest( String testName ) { super( testName ); } /** * @return the suite of tests being tested */ public static Test suite() { return new TestSuite( AppTest.class ); } /** * Rigourous Test :-) */ public void testApp() { assertTrue( true ); } } ================================================ FILE: taotao-common/taotao-common.iml ================================================ ================================================ FILE: taotao-content/pom.xml ================================================ taotao-parent top.catalinali 1.0-SNAPSHOT ../taotao-parent/pom.xml 4.0.0 taotao-content pom taotao-content http://maven.apache.org taotao-content-interface taotao-content-service UTF-8 top.catalinali taotao-common 1.0-SNAPSHOT org.apache.tomcat.maven tomcat7-maven-plugin / 7083 ================================================ FILE: taotao-content/taotao-content-interface/pom.xml ================================================ taotao-content top.catalinali 1.0-SNAPSHOT 4.0.0 taotao-content-interface jar taotao-content-interface http://maven.apache.org UTF-8 top.catalinali taotao-manage-pojo 1.0-SNAPSHOT ================================================ FILE: taotao-content/taotao-content-interface/src/main/java/top/catalinali/content/service/ContentCategoryService.java ================================================ package top.catalinali.content.service; import top.catalinali.common.pojo.EUTreeNode; import top.catalinali.common.pojo.TaotaoResult; import java.util.List; /** *
     * Description:
     * Copyright:	Copyright (c)2017
     * Author:		lllx
     * Version:		1.0
     * Created at:	2017/10/19
     * 
    */ public interface ContentCategoryService { /** * 查询内容分类 * @param parentId * @return */ List getContentCatList(long parentId); TaotaoResult addContentCategory(long parentId, String name); } ================================================ FILE: taotao-content/taotao-content-interface/src/main/java/top/catalinali/content/service/ContentService.java ================================================ package top.catalinali.content.service; import top.catalinali.common.pojo.TaotaoResult; import top.catalinali.pojo.TbContent; import java.util.List; /** *
     * Description:
     * Copyright:	Copyright (c)2017
     * Author:		lllx
     * Version:		1.0
     * Created at:	2017/10/25
     * 
    */ public interface ContentService { /** * 添加内容 * @param content * @return */ TaotaoResult addContent(TbContent content); /** * 根据id查询内容 * @param cid * @return */ List getContentListByCid(long cid); } ================================================ FILE: taotao-content/taotao-content-interface/taotao-content-interface.iml ================================================ ================================================ FILE: taotao-content/taotao-content-service/pom.xml ================================================ taotao-content top.catalinali 1.0-SNAPSHOT 4.0.0 taotao-content-service jar taotao-content-service Maven Webapp http://maven.apache.org top.catalinali taotao-manage-mapper 1.0-SNAPSHOT top.catalinali taotao-content-interface 1.0-SNAPSHOT org.springframework spring-context org.springframework spring-beans org.springframework spring-webmvc org.springframework spring-jdbc org.springframework spring-aspects org.springframework spring-jms org.springframework spring-context-support com.alibaba dubbo org.springframework spring org.jboss.netty netty org.apache.zookeeper zookeeper com.github.sgroschupf zkclient junit junit org.springframework.boot spring-boot-starter org.springframework.boot spring-boot-starter-logging taotao-content-service ================================================ FILE: taotao-content/taotao-content-service/src/main/java/top/catalinali/content/app/ContentApplication.java ================================================ package top.catalinali.content.app; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ImportResource; import java.util.concurrent.CountDownLatch; /** *
     * Description: ContentApplication
     * Copyright:	Copyright (c)2017
     * Author:		lllx
     * Version:		1.0
     * Created at:	2018/1/11
     * 
    */ @SpringBootApplication @ImportResource({"classpath:spring/applicationContext-*.xml"}) public class ContentApplication { @Bean public CountDownLatch closeLatch() { return new CountDownLatch(1); } public static void main(String[] args) throws InterruptedException { ApplicationContext ctx = new SpringApplicationBuilder() .sources(ContentApplication.class) .web(false) .run(args); CountDownLatch closeLatch = ctx.getBean(CountDownLatch.class); closeLatch.await(); } } ================================================ FILE: taotao-content/taotao-content-service/src/main/java/top/catalinali/content/service/impl/ContentCategoryServiceImpl.java ================================================ package top.catalinali.content.service.impl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import top.catalinali.common.pojo.EUTreeNode; import top.catalinali.common.pojo.TaotaoResult; import top.catalinali.mapper.TbContentCategoryMapper; import top.catalinali.pojo.TbContentCategory; import top.catalinali.pojo.TbContentCategoryExample; import top.catalinali.content.service.ContentCategoryService; import java.util.ArrayList; import java.util.Date; import java.util.List; /** *
     * Description: 内容分类管理Service
     * Copyright:	Copyright (c)2017
     * Author:		lllx
     * Version:		1.0
     * Created at:	2017/10/19
     * 
    */ @Service public class ContentCategoryServiceImpl implements ContentCategoryService { @Autowired private TbContentCategoryMapper contentCategoryMapper; @Override public List getContentCatList(long parentId) { // 根据parentid查询子节点列表 TbContentCategoryExample example = new TbContentCategoryExample(); TbContentCategoryExample.Criteria criteria = example.createCriteria(); //设置查询条件 criteria.andParentIdEqualTo(parentId); //执行查询 List catList = contentCategoryMapper.selectByExample(example); //转换成EasyUITreeNode的列表 List nodeList = new ArrayList<>(); for (TbContentCategory tbContentCategory : catList) { EUTreeNode node = new EUTreeNode(); node.setId(tbContentCategory.getId()); node.setText(tbContentCategory.getName()); node.setState(tbContentCategory.getIsParent()?"closed":"open"); //添加到列表 nodeList.add(node); } return nodeList; } @Override public TaotaoResult addContentCategory(long parentId, String name) { //创建一个tb_content_category表对应的pojo对象 TbContentCategory contentCategory = new TbContentCategory(); //设置pojo的属性 contentCategory.setParentId(parentId); contentCategory.setName(name); //1(正常),2(删除) contentCategory.setStatus(1); //默认排序就是1 contentCategory.setSortOrder(1); //新添加的节点一定是叶子节点 contentCategory.setIsParent(false); contentCategory.setCreated(new Date()); contentCategory.setUpdated(new Date()); //插入到数据库 contentCategoryMapper.insert(contentCategory); //判断父节点的isparent属性。如果不是true改为true //根据parentid查询父节点 TbContentCategory parent = contentCategoryMapper.selectByPrimaryKey(parentId); if (!parent.getIsParent()) { parent.setIsParent(true); //更新到数数据库 contentCategoryMapper.updateByPrimaryKey(parent); } //返回结果,返回E3Result,包含pojo return TaotaoResult.ok(contentCategory); } } ================================================ FILE: taotao-content/taotao-content-service/src/main/java/top/catalinali/content/service/impl/ContentServiceImpl.java ================================================ package top.catalinali.content.service.impl; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; import top.catalinali.common.jedis.JedisClient; import top.catalinali.common.pojo.TaotaoResult; import top.catalinali.common.util.JsonUtils; import top.catalinali.content.service.ContentService; import top.catalinali.mapper.TbContentMapper; import top.catalinali.pojo.TbContent; import top.catalinali.pojo.TbContentExample; import java.util.Date; import java.util.List; /** *
     * Description:
     * Copyright:	Copyright (c)2017
     * Author:		lllx
     * Version:		1.0
     * Created at:	2017/10/25
     * 
    */ @Service public class ContentServiceImpl implements ContentService { @Autowired private TbContentMapper contentMapper; @Autowired private JedisClient jedisClient; @Value("${CONTENT_LIST}") private String CONTENT_LIST; @Override public TaotaoResult addContent(TbContent content) { //将内容数据插入到内容表 content.setCreated(new Date()); content.setUpdated(new Date()); //插入到数据库 contentMapper.insert(content); //删除缓存 jedisClient.hdel(CONTENT_LIST,content.getCategoryId().toString()); return TaotaoResult.ok(); } /** * 根据内容分类id查询内容列表 * @param cid * @return */ @Override public List getContentListByCid(long cid) { //缓存查询 try { String json = jedisClient.hget(CONTENT_LIST, cid + ""); if(StringUtils.isNoneBlank(json)){ List list = JsonUtils.jsonToList(json, TbContent.class); return list; } } catch (Exception e) { e.printStackTrace(); } TbContentExample example = new TbContentExample(); TbContentExample.Criteria criteria = example.createCriteria(); //设置查询条件 criteria.andCategoryIdEqualTo(cid); //执行查询 List list = contentMapper.selectByExampleWithBLOBs(example); //添加到缓存 try { jedisClient.hset(CONTENT_LIST,String.valueOf(cid),JsonUtils.objectToJson(list)); } catch (Exception e) { e.printStackTrace(); } return list; } } ================================================ FILE: taotao-content/taotao-content-service/src/main/resources/banner.txt ================================================ _ _ _ _ _ | (_) | (_) ____ ____| |_ ____| |_ ____ ____| |_ / ___) _ | _)/ _ | | | _ \ / _ | | | ( (__( ( | | |_( ( | | | | | | ( ( | | | | \____)_||_|\___)_||_|_|_|_| |_|\_||_|_|_| ================================================ FILE: taotao-content/taotao-content-service/src/main/resources/log4j.properties ================================================ log4j.rootLogger=DEBUG,A1 log4j.logger.org.mybatis = DEBUG log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [%t] [%c]-[%p] %m%n ================================================ FILE: taotao-content/taotao-content-service/src/main/resources/mybatis/SqlMapConfig.xml ================================================ ================================================ FILE: taotao-content/taotao-content-service/src/main/resources/resource/db.properties ================================================ jdbc.driver=com.mysql.jdbc.Driver jdbc.url=jdbc:mysql://localhost:3306/taotao?characterEncoding=utf-8 jdbc.username=root jdbc.password= ================================================ FILE: taotao-content/taotao-content-service/src/main/resources/resource/resource.properties ================================================ \u7F13\u5B58\u7684key #\u5185\u5BB9\u5217\u8868\u5728redis\u4E2D\u7F13\u5B58\u7684key CONTENT_LIST=CONTENT_LIST ================================================ FILE: taotao-content/taotao-content-service/src/main/resources/spring/applicationContext-dao.xml ================================================ ================================================ FILE: taotao-content/taotao-content-service/src/main/resources/spring/applicationContext-redis.xml ================================================ ================================================ FILE: taotao-content/taotao-content-service/src/main/resources/spring/applicationContext-service.xml ================================================ ================================================ FILE: taotao-content/taotao-content-service/src/main/resources/spring/applicationContext-trans.xml ================================================ ================================================ FILE: taotao-content/taotao-content-service/src/main/test/top/catalinali/content/test/TestPublish.java ================================================ package top.catalinali.content.test; import org.junit.Test; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import redis.clients.jedis.HostAndPort; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisCluster; import redis.clients.jedis.JedisPool; import java.util.HashSet; import java.util.Set; /** *
     * Description:
     * Copyright:	Copyright (c)2017
     * Author:		lllx
     * Version:		1.0
     * Created at:	2017/10/19
     * 
    */ public class TestPublish { @Test public void publishService() throws Exception{ ApplicationContext context = new ClassPathXmlApplicationContext("classpath:spring/applicationContext-*.xml"); while (true){ Thread.sleep(1000); } } @Test public void testJedis() throws Exception{ Jedis jedis = new Jedis("192.168.72.121",6379); jedis.set("test123","helloRedis"); String key = jedis.get("test123"); System.out.println(key); } @Test public void testJedisPool() throws Exception{ JedisPool jedisPool = new JedisPool("192.168.72.121", 6379); Jedis jedis = jedisPool.getResource(); String str = jedis.get("test123"); System.out.println(str); jedis.close(); jedisPool.close(); } @Test public void testJedisCluster() throws Exception{ Set nodes = new HashSet<>(); nodes.add(new HostAndPort("192.168.72.121",7001)); nodes.add(new HostAndPort("192.168.72.121",7002)); nodes.add(new HostAndPort("192.168.72.121",7003)); nodes.add(new HostAndPort("192.168.72.121",7004)); nodes.add(new HostAndPort("192.168.72.121",7005)); nodes.add(new HostAndPort("192.168.72.121",7006)); JedisCluster cluster = new JedisCluster(nodes); cluster.set("test123","hello"); String str = cluster.get("test123"); System.out.println(str); cluster.close(); } } ================================================ FILE: taotao-content/taotao-content-service/taotao-content-service.iml ================================================ ================================================ FILE: taotao-content/taotao-content.iml ================================================ ================================================ FILE: taotao-item-web/pom.xml ================================================ taotao-parent top.catalinali 1.0-SNAPSHOT ../taotao-parent/pom.xml 4.0.0 taotao-item-web war taotao-item-web Maven Webapp http://maven.apache.org top.catalinali taotao-manage-interface 1.0-SNAPSHOT org.springframework spring-context org.springframework spring-beans org.springframework spring-webmvc org.springframework spring-jdbc org.springframework spring-aspects org.springframework spring-jms org.springframework spring-context-support jstl jstl javax.servlet servlet-api provided javax.servlet jsp-api provided com.alibaba dubbo org.springframework spring org.jboss.netty netty org.apache.zookeeper zookeeper com.github.sgroschupf zkclient junit junit org.freemarker freemarker junit junit org.apache.activemq activemq-all taotao-item-web org.apache.tomcat.maven tomcat7-maven-plugin / 7086 ================================================ FILE: taotao-item-web/src/main/java/top/catalinali/item/controller/ItemController.java ================================================ package top.catalinali.item.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import top.catalinali.item.pojo.Item; import top.catalinali.pojo.TbItem; import top.catalinali.pojo.TbItemDesc; import top.catalinali.service.ItemService; /** *
     * Description: 商品详情页面展示Controller
     * Copyright:	Copyright (c)2017
     * Author:		lllx
     * Version:		1.0
     * Created at:	2017/12/27
     * 
    */ @Controller public class ItemController { @Autowired private ItemService itemService; @RequestMapping("/item/{itemId}") public String showItemInfo(@PathVariable Long itemId, Model model) { //调用服务取商品基本信息 TbItem tbItem = itemService.getItemById(itemId); Item item = new Item(tbItem); //取商品描述信息 TbItemDesc itemDesc = itemService.getItemDescById(itemId); //把信息传递给页面 model.addAttribute("item", item); model.addAttribute("itemDesc", itemDesc); //返回逻辑视图 return "item"; } } ================================================ FILE: taotao-item-web/src/main/java/top/catalinali/item/listener/HtmlGenListener.java ================================================ package top.catalinali.item.listener; import freemarker.template.Configuration; import freemarker.template.Template; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer; import top.catalinali.item.pojo.Item; import top.catalinali.pojo.TbItem; import top.catalinali.pojo.TbItemDesc; import top.catalinali.service.ItemService; import javax.jms.Message; import javax.jms.MessageListener; import javax.jms.TextMessage; import java.io.FileWriter; import java.io.Writer; import java.util.HashMap; import java.util.Map; /** *
     * Description: 监听商品添加消息,生成对应的静态页面
     * Copyright:	Copyright (c)2017
     * Author:		lllx
     * Version:		1.0
     * Created at:	2017/12/28
     * 
    */ public class HtmlGenListener implements MessageListener{ @Autowired private ItemService itemService; @Autowired private FreeMarkerConfigurer freeMarkerConfigurer; @Value("${HTML_GEN_PATH}") private String HTML_GEN_PATH; @Override public void onMessage(Message message) { try { //创建一个模板,参考jsp //从消息中取商品id TextMessage textMessage = (TextMessage) message; String text = textMessage.getText(); Long itemId = new Long(text); //等待事务提交 Thread.sleep(1000); //根据商品id查询商品信息,商品基本信息和商品描述。 TbItem tbItem = itemService.getItemById(itemId); Item item = new Item(tbItem); //取商品描述 TbItemDesc itemDesc = itemService.getItemDescById(itemId); //创建一个数据集,把商品数据封装 Map data = new HashMap<>(); data.put("item", item); data.put("itemDesc", itemDesc); //加载模板对象 Configuration configuration = freeMarkerConfigurer.getConfiguration(); Template template = configuration.getTemplate("item.ftl"); //创建一个输出流,指定输出的目录及文件名。 Writer out = new FileWriter(HTML_GEN_PATH + itemId + ".html"); //生成静态页面。 template.process(data, out); //关闭流 out.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } ================================================ FILE: taotao-item-web/src/main/java/top/catalinali/item/pojo/Item.java ================================================ package top.catalinali.item.pojo; import top.catalinali.pojo.TbItem; /** *
     * Description:
     * Copyright:	Copyright (c)2017
     * Author:		lllx
     * Version:		1.0
     * Created at:	2017/12/27
     * 
    */ public class Item extends TbItem { public Item(TbItem tbItem) { this.setId(tbItem.getId()); this.setTitle(tbItem.getTitle()); this.setSellPoint(tbItem.getSellPoint()); this.setPrice(tbItem.getPrice()); this.setNum(tbItem.getNum()); this.setBarcode(tbItem.getBarcode()); this.setImage(tbItem.getImage()); this.setCid(tbItem.getCid()); this.setStatus(tbItem.getStatus()); this.setCreated(tbItem.getCreated()); this.setUpdated(tbItem.getUpdated()); } public String[] getImages() { String image2 = this.getImage(); if (image2 != null && !"".equals(image2)) { String[] strings = image2.split(","); return strings; } return null; } } ================================================ FILE: taotao-item-web/src/main/resources/conf/resource.properties ================================================ #\u9759\u6001\u9875\u9762\u8f93\u51fa\u76ee\u5f55 HTML_GEN_PATH=E:/item ================================================ FILE: taotao-item-web/src/main/resources/log4j.properties ================================================ log4j.rootLogger=DEBUG,A1 log4j.logger.org.mybatis = DEBUG log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [%t] [%c]-[%p] %m%n ================================================ FILE: taotao-item-web/src/main/resources/spring/applicationContext-activemq.xml ================================================ ================================================ FILE: taotao-item-web/src/main/resources/spring/springmvc.xml ================================================ ================================================ FILE: taotao-item-web/src/main/test/FreeMarkerTest.java ================================================ import freemarker.template.Configuration; import freemarker.template.Template; import org.junit.Test; import java.io.File; import java.io.FileWriter; import java.io.Writer; import java.util.HashMap; import java.util.Map; /** *
     * Description: FreeMarkerTest
     * Copyright:	Copyright (c)2017
     * Author:		lllx
     * Version:		1.0
     * Created at:	2017/12/27
     * 
    */ public class FreeMarkerTest { @Test public void testFreeMarker() throws Exception { //1、创建一个模板文件 //2、创建一个Configuration对象 Configuration configuration = new Configuration(Configuration.getVersion()); //3、设置模板文件保存的目录 configuration.setDirectoryForTemplateLoading(new File("F:\\TaoTao\\ideaTaotao\\taotao-item-web\\src\\main\\webapp\\WEB-INF\\ftl")); //4、模板文件的编码格式,一般就是utf-8 configuration.setDefaultEncoding("utf-8"); //5、加载一个模板文件,创建一个模板对象。 Template template = configuration.getTemplate("hello.ftl"); //6、创建一个数据集。可以是pojo也可以是map。推荐使用map Map data = new HashMap<>(); data.put("hello", "hello freemarker!"); //7、创建一个Writer对象,指定输出文件的路径及文件名。 Writer out = new FileWriter(new File("E:/hello.txt")); //8、生成静态页面 template.process(data, out); //9、关闭流 out.close(); } } ================================================ FILE: taotao-item-web/src/main/webapp/WEB-INF/ftl/commons/footer.ftl ================================================ ================================================ FILE: taotao-item-web/src/main/webapp/WEB-INF/ftl/commons/header.ftl ================================================ <#include "shortcut.ftl" /> ================================================ FILE: taotao-item-web/src/main/webapp/WEB-INF/ftl/commons/mainmenu.ftl ================================================ ================================================ FILE: taotao-item-web/src/main/webapp/WEB-INF/ftl/commons/shortcut.ftl ================================================ ================================================ FILE: taotao-item-web/src/main/webapp/WEB-INF/ftl/hello.ftl ================================================ ${hello} ================================================ FILE: taotao-item-web/src/main/webapp/WEB-INF/ftl/item.ftl ================================================ ${item.title } - 宜立方商城 <#include "commons/header.ftl" /> <#include "commons/mainmenu.ftl" />

    ${item.title }



    ${item.sellPoint }
    优选价: ${item.price / 100 }
    送至:
    北京昌平区回龙观镇
    原产地直供,发货后预计2-5天内为您送达
      + -
      预计发货时间:
      2014-02-28 08:59
      扫描下载客户端
      先摇券 后买单
        <#list item.images as image>
      • ${item.title }
      分享到:
      • 品牌:我是花吃
      • 产地:中国
      • 重量:1.4kg (含包装)
      • 商品编号:${item.id }
      • 优选卡 支持优选卡支付
      本品不支持无理由退换货
      好评度:
      100%

      还没人评论哦!

      马上评价

      • 保质期:60(天)
      • 重量(含包装):1.4(kg)
      • 销售单位:
      • 产地:中国
      温馨提示: 宜立方商城所售商品均经过严格的供应商资质审查、商品审查、入库全检、出货全检流程。 由于部分商品存在厂家更换包装、不同批次、不同生产日期、不同生产工厂等情况, 导致商品实物与图片存在微小差异,因此请您以收到的商品实物为准, 同时我们会尽量做到及时更新,由此给您带来不便敬请谅解,谢谢!
      如果您发现商品信息存在问题,欢迎纠错
      ${itemDesc.itemDesc }

      用户评价

      好评度100%
      好评
      100%
      中评
      0%
      差评
      0%
      购买过商品,参与评价晒单,可获得积分哦~~
      还木有评价额,快抢沙发吧!
        上一页1下一页

        购买此商品的顾客还买了

        浏览此商品的顾客还浏览了

        <#include "commons/footer.ftl" /> ================================================ FILE: taotao-item-web/src/main/webapp/WEB-INF/jsp/commons/footer.jsp ================================================ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> ================================================ FILE: taotao-item-web/src/main/webapp/WEB-INF/jsp/commons/header.jsp ================================================ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> ================================================ FILE: taotao-item-web/src/main/webapp/WEB-INF/jsp/commons/mainmenu.jsp ================================================ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> ================================================ FILE: taotao-item-web/src/main/webapp/WEB-INF/jsp/commons/shortcut.jsp ================================================ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> ================================================ FILE: taotao-item-web/src/main/webapp/WEB-INF/jsp/item.jsp ================================================ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page trimDirectiveWhitespaces="true" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> ${item.title } - 宜立方商城

        ${item.title }



        ${item.sellPoint }
        优选价:
        送至:
        北京昌平区回龙观镇
        原产地直供,发货后预计2-5天内为您送达
          + -
          预计发货时间:
          2014-02-28 08:59
          扫描下载客户端
          先摇券 后买单
          • ${item.title }
          分享到:
          • 品牌:我是花吃
          • 产地:中国
          • 重量:1.4kg (含包装)
          • 商品编号:${item.id }
          • 优选卡 支持优选卡支付
          本品不支持无理由退换货
          好评度:
          100%

          还没人评论哦!

          马上评价

          • 保质期:60(天)
          • 重量(含包装):1.4(kg)
          • 销售单位:
          • 产地:中国
          温馨提示: 宜立方商城所售商品均经过严格的供应商资质审查、商品审查、入库全检、出货全检流程。 由于部分商品存在厂家更换包装、不同批次、不同生产日期、不同生产工厂等情况, 导致商品实物与图片存在微小差异,因此请您以收到的商品实物为准, 同时我们会尽量做到及时更新,由此给您带来不便敬请谅解,谢谢!
          如果您发现商品信息存在问题,欢迎纠错
          ${itemDesc.itemDesc }

          用户评价

          好评度100%
          好评
          100%
          中评
          0%
          差评
          0%
          购买过商品,参与评价晒单,可获得积分哦~~
          还木有评价额,快抢沙发吧!
            上一页1下一页

            购买此商品的顾客还买了

            浏览此商品的顾客还浏览了

            ================================================ FILE: taotao-item-web/src/main/webapp/WEB-INF/web.xml ================================================ taotao-item-web index.html CharacterEncodingFilter org.springframework.web.filter.CharacterEncodingFilter encoding utf-8 CharacterEncodingFilter /* taotao-item-web org.springframework.web.servlet.DispatcherServlet contextConfigLocation classpath:spring/*.xml 1 taotao-item-web *.html ================================================ FILE: taotao-item-web/src/main/webapp/css/base_w1200.css ================================================ html {_background-image: url(about:blank);_background-attachment: fixed;} body {color:#666666;font: 12px/150% Arial,Verdana,"宋体";margin: 0;padding:0;} body {min-width:1200px;} h1, h2, h3, h4, h5, h6, p, a, em, font, img, strong, b,dl, dt, dd,form, label,ol,ul,li,legend,span,input{margin:0;padding:0;} ol,ul{list-style:none;} img{border:0;} a{text-decoration:none;color:#666666;} a:hover{text-decoration:none;} a.red{color:#FA6400;} .clr{clear:both;display:block;font-size:0;height:0;line-height:0;overflow: hidden;padding:0px;margin:0px;} .clear{clear:both;padding:0px;font-size:0px;margin:0px;height:0px;line-height:0;overflow:hidden;display:block;} .clear1{clear:both;height:5px;font-size:0px;margin:0px;padding:0px;line-height:0;overflow:hidden;display:block;} .clear2{clear:both;height:10px;font-size:0px;margin:0px;padding:0px;line-height:0;overflow:hidden;display:block;} .fl{float:left;} .fr{float:right;} .hide{display:none;} em{font-style:normal;} input{outline:none;} /*顶部浮动*/ .topMenu{width:100%;height:33px;text-align:center;position:relative;z-index:101;padding:0px;background:#f7f7f7;border-bottom:1px solid #eeeeee;} .topMenu a{color:#969696;} .topMenu a:hover{color:#669900;} .pW{width:1200px;margin:auto;} .topTh li{float:left;position:relative;line-height:33px;} .topTh .d2{padding:0 10px 0 28px;} /*首页城市选择遮罩层*/ .indexshadow{font-size:14px;width:580px;background-color:#fff;border:5px #767574 solid;position:absolute;top:0;left:0;display:none;z-index:99999;} #screen{width:100%;height:100%;position:absolute;top:0;left:0;display:none;z-index:9999;background-color:#666;opacity:0.7;filter:alpha(opacity=70);-moz-opacity:0.7;} .indexshadow .city_top{height:50px; padding-left:10px;border-bottom:1px solid #DCDCDC; line-height:50px;} .indexshadow .city_top span{ float:left; font-size:12px; color:#000;} .indexshadow .city_top .taddress{ padding:0 10px 0 10px; height:26px; line-height:26px; background-image: -moz-linear-gradient(top, #65BC02, #6DC403); /*火狐*/ background: -o-linear-gradient(top, #65BC02 0%,#6DC403 100%);/*Opera*/ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #65BC02), color-stop(1,#6DC403)); /*Chrome*/ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#65BC02', endColorstr='#6DC403', GradientType='0'); /*IE*/ background: -ms-linear-gradient(top,#65BC02 0%,#6DC403 100%); /*IE10以上*/ border-radius:2px; font-size:14px; font-weight:bold; text-align:center; margin:10px 0 0 0; } .indexshadow .city_top .taddress a{color:#FFF; } .indexshadow .city_middle{margin:0px 0px 5px 0px;padding-left:10px;} .indexshadow .city_middle ul li{width:45px; height:40px; line-height:40px; float:left; text-align:center;} .indexshadow .city_middle ul li a{ color:#0099FF;} .indexshadow .city_bottom{margin:5px 0px 0px 0px; padding-bottom:10px;} .indexshadow .city_bottom .quyu{ float:left; text-align:center; height:35px; line-height:35px; width:95px; border-top:1px solid #f5f5f5;border-right:1px solid #f5f5f5; color:#969696;} .indexshadow .city_bottom ul{ width:100%;*width:480px;border-top:1px solid #f5f5f5;} .indexshadow .city_bottom ul li{ color:#333333; float:left; height:35px; width:50px; text-align:center; height:35px; line-height:35px; cursor:pointer;} .indexshadow .city_bottom .huadong .on{background:url(../images/foot/icity_bg.png) center bottom no-repeat; color:#FFF;z-index:2; position:relative; bottom:-1px;} .indexshadow .city_bottom .htcity{margin:0 0 0 95px; width:480px; overflow:hidden; z-index:1; position:relative;} .indexshadow .city_bottom .htcity dl{text-align:center; width:100%; float:left;background:#f9f9f9;border-top:1px solid #69af05;} .indexshadow .city_bottom .htcity dl dd a{ padding-left:2px; text-align:center; width:65px; height:25px; line-height:25px; overflow:hidden; float:left;text-decoration:none; color:#333333; display:block; font-size:12px;} .indexshadow .city_bottom .htcity dl dd a:hover{ color:#669900;text-decoration:none;} .indexshadow .city_bottom .htcity dl dd a.city-long{padding-left:2px; text-align:center; width:132px; height:25px; line-height:25px; overflow:hidden; float:left;text-decoration:none; color:#333333; display:block;} .indexshadow .city_bottom .htcity dl dd a.city-long:hover{ color:#669900;text-decoration:none;} /*顶部城市选择*/ .topTh .d6 p{width:72px; height:20px; line-height:20px; border:1px solid #DCDCDC; margin:6px 0 0 0; overflow:hidden;} .topTh .d6 .pshort{width:50px; height:20px; line-height:20px; border:1px solid #DCDCDC; margin:6px 0 0 0; overflow:hidden;} .topTh .d6 .pmiddle{width:60px; height:20px; line-height:20px; border:1px solid #DCDCDC; margin:6px 0 0 0; overflow:hidden;} .topTh .d6 .city_title{ margin:0 0 0 8px; *margin:0 0 0 -10px; width:48px; overflow:hidden; display:block; color:#333333;} .topTh .d6 .city_title1{ margin:0 0 0 5px; *margin:0 0 0 -10px; width:30px; overflow:hidden; display:block; color:#333333;} .topTh .d6 .city_title2{ margin:0 0 0 5px; *margin:0 0 0 -10px; width:40px; overflow:hidden; display:block; color:#333333;} .topTh .d6 b{background:url(../images/header.png) no-repeat -86px -130px;width:8px;height:4px;position:absolute;top:15px;right:5px;} .topTh .d6.hover b{transform:rotate(180deg);-webkit-transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);*background:url(../images/header.png) no-repeat -169px -2px;} .topTh .d6 .blank,.topTh .d6 .outline{width:72px;} .topTh .blank1,.topTh .outline1{display:none;position:absolute;border:1px solid #dadada;background-color:white;} .topTh .blank1{ margin-left:5px;top:0;height:33px;z-index:-1;left:0;width:50px;-moz-box-shadow:0 0 5px #dadada;-webkit-box-shadow:0 0 5px #dadada;box-shadow:0 0 5px #dadada;} .topTh .outline1{z-index:1;left:6px;width:50px;height:8px;top:24px;border:0 none;overflow:hidden;} .topTh .blank2,.topTh .outline2{display:none;position:absolute;border:1px solid #dadada;background-color:white;} .topTh .blank2{ margin-left:5px;top:0;height:33px;z-index:-1;left:0;width:60px;-moz-box-shadow:0 0 5px #dadada;-webkit-box-shadow:0 0 5px #dadada;box-shadow:0 0 5px #dadada;} .topTh .outline2{z-index:1;left:6px;width:60px;height:8px;top:24px;border:0 none;overflow:hidden;} .topTh .d6 .dd{display:none; width:438px;border:1px solid #DCDCDC; text-align:left; margin:0;} .topTh .d6.hover .blank{top:6px;height:22px;z-index:-1; margin:0;} .topTh .d6.hover .outline{z-index:1;top:25px; left:1px;} .topTh .d6.hover .blank1{top:6px;height:22px;z-index:-1; margin:0; display:block;} .topTh .d6.hover .outline1{z-index:1;top:25px; left:1px;display:block;} .topTh .d6.hover .blank2{top:6px;height:22px;z-index:-1; margin:0; display:block;} .topTh .d6.hover .outline2{z-index:1;top:25px; left:1px;display:block;} .topTh .d6 .city_top{ margin:5px 10px 5px 10px;height:30px; border-bottom:1px solid #DCDCDC; line-height:30px;} .topTh .d6 .city_top span{ float:left; color:#969696;} .topTh .d6 .city_top .off{ height:25px; float:right;background: url(../images/index_icon_new.png) -245px -33px no-repeat;width:18px; height:18px; margin:5px 0 0 0; cursor:pointer;} .topTh .d6 .city_middle{margin:0px 10px 5px 10px;} .topTh .d6 .city_middle ul li{width:38px;} .topTh .d6 .city_middle ul li a{ color:#0099FF;} .topTh .d6 .city_bottom{margin:5px 10px 15px 10px; color:#969696;} .topTh .d6 .city_bottom .quyu{ float:left; height:25px; line-height:25px; color:#969696;} .topTh .d6 .city_bottom ul{ float:left; width:360px; *width:380px; display:inline;} .topTh .d6 .city_bottom ul li{ width:40px; text-align:center; height:25px; line-height:22px; cursor:pointer; color:#333333;} .topTh .d6 .city_bottom .huadong .on{background:url(../images/foot/city_bg.png) center bottom no-repeat; color:#FFF;} .topTh .d6 .city_bottom .htcity dl{ text-align:center; float:left; width:425px;background:#F5F5F5; border-top:1px solid #669900; margin-top:-1px; } .topTh .d6 .city_bottom .htcity dl dd a{ display:block; padding-left:10px; width:50px;line-height:25px; height:25px; float:left; text-align:center; overflow:hidden; color:#333333;} .topTh .d6 .city_bottom .htcity dl dd a:hover{color:#669900;} .topTh .d6 .city_bottom .htcity dl dd a.city-long{display:block; padding-left:10px; width:110px;line-height:25px; height:25px; float:left; text-align:center; overflow:hidden;} .topTh .d3,.topTh .d4{width:30px;height:30px;} .topTh .d1 { color:#969696;} .topTh .d2 q,.topTh .d3 q,.topTh .d4 q{height:16px;position:absolute;top:9px;quotes:none;} .topTh .d2 q{background:url(../images/header.png) no-repeat -73px -122px;width:10px;left:10px;transition:all 0.2s ease 0s;} .topTh .d2.hover q{background:url(../images/header.png) no-repeat -73px -138px;} .topTh .d2 .dd{display:none;top:32px;width:230px;left:-50px;padding:15px 0 0 0;} .topTh .d2 .dd .sf-client{margin-bottom:10px;margin-left:15px;position:relative;text-align:left;} .topTh .d2 .dd .client-img{width:73px;height:74px;overflow:hidden;background:url(../images/header.png) no-repeat 0 -93px;display:block;} .topTh .d2 .dd i{position:absolute;width:50px;height:29px;left:80px;top:5px;background:url(../images/header.png) no-repeat -73px -93px;display:block;} .topTh .d2 .dd .client-txt{position:absolute;left:95px;top:34px;} .topTh .d2 .dd .client-txt em{display:block;line-height:20px;} .topTh .d2 .dd .client-txt strong{color:#76ac25;line-height:20px;} .topTh .d2 .dd .client-promo{height:30px;background:url(../images/indexImg20130307.png?v=1.4) no-repeat -182px -210px #fcfbe4;text-align:center;color:#fa6400;font-size:14px;font-weight:bold;line-height:30px;} .topTh .d2 .dd .client-promo a:link,.topTh .d2 .dd .client-promo a:visited{color:#fa6400;} .topTh .d2 .dd .app-btn{font-size:0;height:29px;margin:0 0 10px 15px;} .topTh .d2 .dd .app-apple{float:left;display:block;width:96px;height:29px;background:url(../images/header.png) no-repeat 0 -167px;margin-right:5px;_display:inline;} .topTh .d2 .dd .app-android{float:left;display:block;width:96px;height:29px;background:url(../images/header.png) no-repeat 0 -196px;} .topTh .d3 q{background:url(../images/header.png) no-repeat -55px 0;width:19px;left:12px;cursor:pointer;quotes:none;} .topTh .d4 q{background:url(../images/header.png) no-repeat -74px 0;width:17px;left:8px; quotes:none;} .topTh .d4 .dd{display:none;left:-50px;top:32px;} .topTh .d4 .dd .sf_wx_t{ width:136px; height:20px; line-height:22px; color:#515151;} .topTh .d4 .dd .sf_wx{display:block;width:136px;height:110px;background:url(../images/weixin.png) no-repeat top center #FFFFFF;} .topTh .login{color:#999999;padding:0 10px;} .topTh .login a:link,.topTh .login a:visited{color:#969696;} .topTh .login a:hover{color:#669900;} .topTh .logininfo{color:#666666;} .topTh .myOrder{padding:0 10px;} .topTh .menus{padding:0 10px 0 10px;width:60px;cursor:default; margin:6px 0 0 0; line-height:22px; } .topMenu .fr b{position:absolute;right:5px;top:8px;background:url(../images/header.png) no-repeat -86px -130px;width:8px;height:4px;transition:transform .2s ease-in 0s;-webkit-transition:-webkit-transform .2s ease-in 0s;overflow:hidden;} .topTh .allCat{padding:0 15px;cursor:default;*margin:0; margin:6px 0 0 0;line-height:22px;} .topTh .allCat .site{color:#969696;} .topTh .allCat s{position:absolute;right:0;top:8px;background:url(../images/header.png) no-repeat -86px -130px;width:8px;height:4px;transition:transform .2s ease-in 0s;-webkit-transition:-webkit-transform .2s ease-in 0s;overflow:hidden;} .topTh .blank,.topTh .dd,.topTh .outline{display:none;position:absolute;border:1px solid #dadada;background-color:white;z-index:1000} .topTh .blank{ margin-left:5px;top:0;height:33px;z-index:-1;left:0;width:78px;-moz-box-shadow:0 0 5px #dadada;-webkit-box-shadow:0 0 5px #dadada;box-shadow:0 0 5px #dadada;} .topTh .menus .blank{_margin-top:-6px;_height:37px;} .topTh .menus .dd{ margin-left:5px;_margin-left:0px;line-height:22px;left:0;width:78px;-moz-box-shadow:0 0 5px #dadada;-webkit-box-shadow:0 0 5px #dadada;box-shadow:0 0 5px #dadada;top:28px;} .topTh .outline{z-index:1;left:6px;width:78px;height:8px;top:22px;border:0 none;overflow:hidden;} .topTh .allCat .blank,.topTh .allCat .outline{width:81px;_width:86px;} .topTh .allCat .blank{_margin-top:-6px;_height:37px;} .topTh .allCat .dd{top:28px;width:815px;right:0; margin-right:-10px;left:auto;padding-top:10px;-moz-box-shadow:0 0 5px #dadada;-webkit-box-shadow:0 0 5px #dadada;box-shadow:0 0 5px #dadada;} .allCat dl{float:left;width:200px;padding:15px 19px 0 20px;text-align:left;margin-bottom:10px;} .allCat dl dt{font-weight:bold;margin-bottom:5px;font-size:16px;font-family:Microsoft Yahei; } .allCat dl dd{line-height:20px;height:100px;overflow:hidden;} .allCat dl dd a{ display:block;width:65px; float:left; line-height:30px; color:#666666;} .allCat dl dd p{ width:100%;float:left;} .allCat dl .dh1{ color:#669900;} .allCat dl .dh2{color:#FA6400;} .allCat dl .dh3{color:#646464;} .allCat .line{background:url(../images/foot/line.jpg) center repeat-y; height:90px;width:5px; margin:20px 0 0 0;} .allCat dl .fore1{height:auto;} .topTh .allCat.hover s{transform:rotate(180deg);-webkit-transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);*background:url(../images/header.png) no-repeat -169px -2px;} .topTh .hover .t{color:#669900;} .topTh .hover .blank,.topTh .hover .dd,.topTh .hover .outline{display:block;} .topMenu .fr .hover b{transform:rotate(180deg);-webkit-transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);*background:url(../images/header.png) no-repeat -169px -2px;} .tShow .corner{display:none;width:8px;height:15px;position: absolute;top:25px;left:8px;z-index:2;} .tShow .corner .aBg,.tShow .corner .aCt{display: block;font-size: 0;height: 0;line-height: 0;overflow: hidden;width: 0;} .tShow .aBg{border-left: 8px dashed rgba(0, 0, 0, 0);border-left: 8px dashed white\0;border-bottom: 8px solid #dadada;border-right: 8px dashed rgba(0, 0, 0, 0);border-right: 8px dashed white\0;position: relative;border-top:0 none;} .tShow .aCt{border-left: 8px dashed rgba(0, 0, 0, 0);border-left: 8px dashed white\0;border-bottom: 8px solid #ffffff;border-right: 8px dashed rgba(0, 0, 0, 0);border-right: 8px dashed white\0;position: relative;border-top:0 none;margin:-7px 0 0 0px;} :root .tShow .aBg{border-left: 8px dashed rgba(0, 0, 0, 0);border-right: 8px dashed rgba(0, 0, 0, 0);} :root .tShow .aCt{border-left: 8px dashed rgba(0, 0, 0, 0);border-right: 8px dashed rgba(0, 0, 0, 0);} *+html .tShow .aBg{border-left: 8px dashed white;border-right: 8px dashed white;} *+html .tShow .aCt{border-left: 8px dashed white;border-right: 8px dashed white;} *html .tShow .aBg{border-left: 8px dashed white;border-right: 8px dashed white;} *html .tShow .aCt{border-left: 8px dashed white;border-right: 8px dashed white;} .topTh .tShow.hover .corner{display:block;} .topTh .d2 .corner{left:45px;} #header{padding:0;height:104px;width:1200px;margin:0 auto;} .header_inner{width:1200px;margin:auto; position:relative;z-index:31;} .header_inner .logo{width:240px;margin:0px;float:left;padding:5px 0px 0px 0px;position:relative;} .header_inner .logo a.logoleft{display:block;position:absolute;left:0px;width:197px;padding:0px 0px 0px 0px;background:url(../images/logo66.png) 0px 0px no-repeat;_background:url(../images/indexImg20130307.jpg?v=1.1) -33px 0px no-repeat;height:66px;} .header_inner .logo a.logoright{display:block;position:absolute;width:116px;right:0px;height:66px;background:url(../images/indexImg20130307.png?v=1.5) -160px 0px no-repeat;_background:url(../images/indexImg20130307.jpg?v=1.1) -160px 0px no-repeat;} .header_inner .logo .logoright_best{margin-top:12px;} .header_inner .logo div.logo-text{position:absolute;top:73px;left:0;color:#000;font-size:14px; font-family:Microsoft YaHei; clear:both;letter-spacing:1px; text-align:center;width:244px;} .header_inner .logo div.logo-text font{font-family:Microsoft YaHei;font-size:14px; font-weight:bold;} .header_inner .search{position:absolute;width:514px;margin:0px; padding:0px;right:248px;top:28px;} .header_inner .search input.text{border:1px solid #669900;width:425px; height:34px; line-height:34px \9; padding:0 0 0 4px; vertical-align:middle; float:left;} .header_inner .search input.submit{margin:0px;height:36px;width:80px;cursor:pointer;float:left;vertical-align:middle;border:0;background:url(../images/header.png) no-repeat -99px -179px; color:#FFF;} .search_hot{clear:both;text-align:left;padding:4px 0px 0px 0px;} .search_hot a{margin:0px 8px 0px 0px; color:#979797;} .search_hot a:hover{color:#669900;} /*顶部购物车*/ .shopingcar{width:146px;padding-left:48px;position:absolute;top:28px;right:0px;height:33px;border:1px solid #efefef;line-height:33px;font-size:12px;} .shopingcar a:hover{color:#669900;} .shopingcar s{background:url(../images/header.png) no-repeat -54px -16px;width:23px;height:21px;left:17px;position:absolute;top:4px;} .shopingcar b#cartNum{position:absolute;top:-1px;left:154px;width:40px;height:34px;text-align:center;line-height:34px;background-color:#fa9600;color:white;font-size:16px;font-weight:600;} .shopingcar ul li.nmlist {border: 0 none;} .shopingcar ul li.nmline {border-bottom: 1px dashed #CCCCCC;height: 0;line-height: 0;margin: 0;overflow: hidden;padding: 0;} .shopingcar ul li.nmtop {background-color: #F2F6ED;border-bottom: 1px solid #CCCCCC;height: 26px;line-height: 26px;margin: 0;overflow: hidden;padding: 0;} .nmtitle {color: #1B6146;float: left;} .nmtotal {float: right;} .nmtotal font {color: #EA5404;font-size: 14px;font-weight: bold;} .nmtotal a:link {color:#999999;} #topCart.hover .blank,#topCart.hover #cart_lists,#topCart.hover .outline{display:block;position:absolute;border:1px solid #efefef;background-color:white;} #topCart.hover .blank{top:-1px;height:33px;z-index:-1;left:-1px;width:194px;-moz-box-shadow:0 0 5px #dadada;-webkit-box-shadow:0 0 5px #dadada;box-shadow:0 0 5px #efefef;} #topCart.hover .outline{z-index:1;left:0;width:154px;height:8px;top:28px;border:0 none;} #topCart.hover .t{color:#666666;} #topCart .setCart{background:url(../images/header.png) no-repeat -102px -235px; margin:2px 0 0 0;} #cart_lists{display:none;width:360px;right:-1px;_right:-2px;-moz-box-shadow:0 0 5px #efefef;-webkit-box-shadow:0 0 5px #efefef;box-shadow:0 0 5px #dadada;top:34px;} #cart_lists .btn{display:none;} .floatcar{padding:10px;width:340px;font-size:12px;font-weight:normal;line-height:20px;} .floatcar1{padding:10px 0;} .floatcar .nopro{ width:240px; height:42px; margin:0 0 0 85px; background:url(../images/header.png) no-repeat -99px -123px;} .floatcar .nopro p{ padding-left:50px;} .floatcar .nopro p span{ color:#969696;} .floatcar .nopro p span .no_dl{ color:#669900;} .floatcar .title{color:#6c6c6c;border-bottom:1px solid #1b6146;height:24px;} .floatcar .total p{width:170px;float:left;} #listCartNum{color:#ea5404;font-size:14px;font-weight:bold;} .floatcar .total p font{color:#ea5404;font-size:18px;font-weight:bold; font-family:Arial, Helvetica, sans-serif;} .floatcar ul{margin:0px;padding:0px;display:block;position:relative;max-height:195px;_height:201px;overflow:auto;} .floatcar ul li{margin:0px; padding:12px 0px 12px 0px;height:40px;position:relative; border-bottom:1px dashed #ccc; line-height:18px;color:#565656;} .floatcar ul li:hover{ background:#f5f5f5;} .floatcar ul li .l{position:absolute;width:45px;height:45px;} .floatcar ul li .l img{width:40px;height:40px;vertical-align:middle;border:1px solid #ccc;} .floatcar ul li .c{position:absolute;width:200px;height:36px;left:48px;top:14px; overflow:hidden;} .floatcar ul li .c a{color:#565656; text-decoration:none;} .floatcar ul li .c a:hover{color:#669900; text-decoration:none;} .floatcar ul li .r{position:absolute; text-align:right;width:80px;height:36px;right:0px;} .floatcar ul li .r font{color:#f05404;font-size:14px;font-weight:bold;} .floatcar ul li .r a{clear:both;color:#999999; text-decoration:none} .floatcar ul li .r a:hover{ text-decoration:underline} /*----页头---*/ .mainNav{width:100%;height:32px;border-bottom:2px solid #679800;_overflow:hidden;} .navmenu{margin:0px auto;color:#303437;padding:0;width:1200px;clear:both;} .navmenu .categories{float:left;width:200px;background:#76ac25;height:34px;text-align:left;position:relative;z-index:100} .navmenu .categories .dt{height:34px;overflow:hidden; background:url(../images/cate_bg.jpg);} .navmenu .categories a.topall{height:32px;line-height:32px;display:block;margin:0px; padding:0px;color:#fff;font-size:14px; font-family:Microsoft YaHei; font-weight:bold;width:200px; text-align:center; text-decoration:none;} .navmenu .categories.hover b{ position:absolute;top:32px;border-top:2px solid #659900;height:0px;line-height:0;width:100%;overflow:hidden;background:0 none;right:auto;} .menu1{width:1000px;float:right;position:relative;z-index:30} .menu1 ul{width:1000px;overflow:hidden;height:32px; line-height:32px;} .menu1 li{float:left;text-align:center;color:#303437;} .menu1 li a{ padding:0 24px; font-size:14px; text-align:center;text-decoration:none;display:block;height:32px;font-family:Microsoft YaHei;color:#333;font-weight:700;} .menu1 li a:hover{font-size:14px;color:#669900;text-decoration:none} .menu1 li a.btndown{color:#669900;} .menu1 .minisite{float:left;font-family:Microsoft YaHei;} .menu1 .minisite1{border-left:1px solid #DCDCDC; height:14px; line-height:14px; margin:8px 0 0 0;} .menu1 .minisite a{text-align:right; color:#333;font-size:12px;padding:0 17px;} .menu1 .minisite a:hover{color:#669900;font-size:12px;} .menu1 .ad{float:right; width:196px; height:32px; overflow:hidden;} .menu1 .ad a{ padding:0;} .menu1 .ad img{ width:196px; height:32px;} .catTag{background-color:#fa9600;color:white;position:absolute;z-index:999;height:16px;line-height:16px;padding:0 2px;top:-6px;} .catTag b{width:0;height:0;line-height:0;font-size:0;border-left:2px solid #fa9600;border-top:2px solid #fa9600;border-right:2px dashed white;border-bottom:2px dashed white;position:absolute;left:4px;top:16px;} #catTag_1{left:155px;} #catTag_2{left:260px;} #catTag_3{left:365px;} #catTag_4{left:472px;} /*公共头部品类菜单显示*/ #public_cate .dd{display:none;} #public_cate.hover .dd{display:block;} /*---------品类菜单 ----------*/ #allSort{margin:0;z-index:998;padding:0;width:200px;height:480px;position:absolute;background-color:#76ac25;} #booksort{padding-top:8px;padding-left:15px;} #booksort .item{height:58px;} #booksort .item .i-master{display:block;height:54px;padding-left:15px;font-family:Microsoft YaHei;} #booksort .item .i-master a{color:white; margin-left:2px;} #booksort .item .i-master a:hover{color:#fa9600;} #booksort .item h3{font-weight:normal;font-size:14px;padding-top:5px;line-height:22px;} #booksort .item .subCat{font-size:12px;overflow:hidden;line-height:20px;height:20px;} #booksort .item .subCat a{ color:#ddeac8;} #booksort .item .subCat li{float:left;margin-right:8px;_display:inline;} #booksort .item .i-cm{position:absolute;top:0;left:200px;width:560px;height:480px;background:#ffffff;z-index:999;filter:alpha(opacity=98);opacity:0.98;display:none;} #booksort .item .i-master s{position:absolute;width:11px;height:54px;background-color:white;left:190px;z-index:1000;display:none;margin-top:-47px;} #booksort .item .i-master h3 .fresh{ width:16px; height:22px; background:url(../images/left_lm_a.png) no-repeat -10px 5px; margin-left:-20px;float :left;_margin-left:-10px;_position:relative;} #booksort .item .i-master h3 .drinks{ width:14px; height:22px; background:url(../images/left_lm_a.png) no-repeat -10px -46px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item .i-master h3 .food{ width:16px; height:22px; background:url(../images/left_lm_a.png) no-repeat -10px -104px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item .i-master h3 .pastry{ width:16px; height:22px; background:url(../images/left_lm_a.png) no-repeat -10px -157px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item .i-master h3 .oil{ width:16px; height:22px;background:url(../images/left_lm_a.png) no-repeat -10px -265px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item .i-master h3 .baby{ width:16px; height:22px;background:url(../images/left_lm_a.png) no-repeat -10px -319px; margin-left:-20px; float:left; float:left;_margin-left:-10px;_position:relative;} #booksort .item .i-master h3 .health{ width:16px; height:22px; background:url(../images/left_lm_a.png) no-repeat -10px -373px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item .i-master h3 .tea{ width:16px; height:22px;background:url(../images/left_lm_a.png) no-repeat -10px -212px; margin-left:-20px; float:left; float:left;_margin-left:-10px;_position:relative;} #booksort .item .i-master h3 .tools{ width:16px; height:22px; background:url(../images/left_lm_a.png) no-repeat -10px -428px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item.hover .i-cm{display:block;} #booksort .item.hover .i-master{background-color:white;color:#76ac25;margin-left:-10px;_position:relative;} #booksort .item.hover .i-master h3{ margin-left:10px;} #booksort .item.hover .i-master .subCat{margin-left:10px;} #booksort .item.hover .i-master a{color:#76ac25;text-decoration:none;} #booksort .item.hover .i-master a:hover{text-decoration:underline;} #booksort .item.hover .i-master s{display:block;} #booksort .item.hover .i-master h3 .fresh{ width:16px; height:22px; background:url(../images/left_lm.png) no-repeat 0 5px; margin-left:-20px;float :left;_margin-left:-10px;_position:relative;} #booksort .item.hover .i-master h3 .drinks{ width:14px; height:22px; background:url(../images/left_lm.png) no-repeat 0 -46px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item.hover .i-master h3 .food{ width:16px; height:22px; background:url(../images/left_lm.png) no-repeat 0 -104px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item.hover .i-master h3 .pastry{ width:16px; height:22px; background:url(../images/left_lm.png) no-repeat 0 -157px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item.hover .i-master h3 .oil{ width:16px; height:22px;background:url(../images/left_lm.png) no-repeat 0 -265px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item.hover .i-master h3 .baby{ width:16px; height:22px;background:url(../images/left_lm.png) no-repeat 0 -319px; margin-left:-20px; float:left; float:left;_margin-left:-10px;_position:relative;} #booksort .item.hover .i-master h3 .health{ width:16px; height:22px; background:url(../images/left_lm.png) no-repeat 0 -373px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} #booksort .item.hover .i-master h3 .tea{ width:16px; height:22px;background:url(../images/left_lm.png) no-repeat 0 -212px; margin-left:-20px; float:left; float:left;_margin-left:-10px;_position:relative;} #booksort .item.hover .i-master h3 .tools{ width:16px; height:22px; background:url(../images/left_lm.png) no-repeat 0 -428px; margin-left:-20px; float:left;_margin-left:-10px;_position:relative;} /*2015/12/8分类图标修改 Start*/ #booksort .item .i-master .dev .fresh{background:url(../images/left_lm_m_a.png) no-repeat 0 5px;}/*肉类海鲜*/ #booksort .item .i-master .dev .baby{background:url(../images/left_lm_m_a.png) no-repeat 0 -324px;}/*熟食蛋奶*/ #booksort .item .i-master .dev .pastry{background:url(../images/left_lm_m_a.png) no-repeat 0 -159px;}/*水果蔬菜*/ #booksort .item .i-master .dev .drinks{background:url(../images/left_lm_m_a.png) no-repeat 0 -47px;}/*酒水饮料*/ #booksort .item .i-master .dev .food{background:url(../images/left_lm_m_a.png) no-repeat 0 -106px;}/*休闲食品*/ #booksort .item .i-master .dev .tea{background:url(../images/left_lm_m_a.png) no-repeat 0 -213px;}/*冲调茶饮*/ #booksort .item .i-master .dev .oil{background:url(../images/left_lm_m_a.png) no-repeat 0 -270px;}/*粮油副食*/ #booksort .item .i-master .dev .health{background:url(../images/left_lm_m_a.png) no-repeat 0 -378px;}/*南北干货*/ #booksort .item.hover .i-master .dev .fresh{background:url(../images/left_lm_m.png) no-repeat 0 5px;}/*肉类海鲜*/ #booksort .item.hover .i-master .dev .baby{background:url(../images/left_lm_m.png) no-repeat 0 -324px;}/*熟食蛋奶*/ #booksort .item.hover .i-master .dev .pastry{background:url(../images/left_lm_m.png) no-repeat 0 -159px;}/*水果蔬菜*/ #booksort .item.hover .i-master .dev .drinks{background:url(../images/left_lm_m.png) no-repeat 0 -47px;}/*酒水饮料*/ #booksort .item.hover .i-master .dev .food{background:url(../images/left_lm_m.png) no-repeat 0 -106px;}/*休闲食品*/ #booksort .item.hover .i-master .dev .tea{background:url(../images/left_lm_m.png) no-repeat 0 -213px;}/*冲调茶饮*/ #booksort .item.hover .i-master .dev .oil{background:url(../images/left_lm_m.png) no-repeat 0 -270px;}/*粮油副食*/ #booksort .item.hover .i-master .dev .health{background:url(../images/left_lm_m.png) no-repeat 0 -378px;}/*南北干货*/ /*2015/12/8分类图标修改 End*/ #booksort .i-cm .i-left{float:left;width:542px;} #booksort .i-cm .i-right{float:right;width:205px;height:506px;} #booksort .cat-sort{width:542px;height:248px;padding:8px 0 24px 10px;} #booksort .cat-sort dl{overflow:hidden;zoom:1;font-family:Microsoft YaHei;padding:1px 0 0 0;} #booksort .cat-sort dt{width:80px;padding-right:10px;float:left;text-align:right;height:18px;line-height:18px;margin:4px 0px;color:#76ac25;} #booksort .cat-sort dt a{color:#76ac25;} #booksort .cat-sort dt a:hover{ text-decoration:underline;} #booksort .cat-sort dd{overflow:hidden;zoom:1;} #booksort .cat-sort dd a{float:left;white-space:nowrap;display:block;text-decoration:none;font-size:12px;height:18px;line-height:18px;margin:4px 0px;text-align:left;padding:0px 6px;border-left:1px solid #ccc; color:#666;} #booksort .cat-sort dd a:hover{text-decoration:none;color:#76ac25;} #booksort .i-left .i-img img{width:560px;height:200px;} #booksort .i-right .i-channel{height:54px;text-align:center;background-color:#f7f6f5;padding:16px 10px;font-family:Microsoft YaHei;} #booksort .i-right .i-channel dt{color:#363636;font-size:16px;line-height:54px;margin-bottom:4px;} #booksort .i-right .i-channel dt a:hover{ color:#669900;} #booksort .i-right .i-channel em{ width:20px; height:20px;background:url(../images/index_icon_new.png) no-repeat -245px -55px; margin:18px 0 0 10px; *margin:0 0 0 10px; overflow:hidden; position:absolute;} #booksort .i-right .i-channel em a{ display:block; cursor:pointer;width:20px; height:20px;} #booksort .i-right .i-active{height:106px;padding:12px;font-family:Microsoft YaHei;} #booksort .i-right .i-active dt{color:#76ac25;line-height:20px;margin-bottom:10px;font-weight:bold;} #booksort .i-right .i-active dd a{display:block;line-height:24px;height:24px;overflow:hidden;} #booksort .i-right .i-active dd a:hover{color:#669900;} #booksort .i-right .i-brand{border-top:1px solid #e5e5e5;padding:10px;} #booksort .i-right .i-brand dt{overflow:hidden;zoom:1;margin-bottom:10px;} #booksort .i-right .i-brand .fl{color:#76ac25;font-family:Microsoft YaHei;font-weight:bold;} #booksort .i-right .i-brand .fr{padding-right:5px;color:#666666;} #booksort .i-right .i-brand .fr a{color:#666666;} #booksort .i-right .i-brand .fr a:hover{ color:#669900;} #booksort .i-right .i-brand dd{width:177px;margin:0 auto;overflow:hidden;zoom:1;border-top:1px solid #f2f2f2;border-left:1px solid #f2f2f2;} #booksort .i-right .i-brand dd a{float:left;width:87px;height:56px;text-align:center;border-right:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;overflow:hidden;} #booksort .i-right .i-brand img{width:56px;height:56px;} #booksort .item .i-close{width:25px;height:25px;position:absolute;top:6px;right:6px;background:url(../images/index_icon_new.png) no-repeat -245px -1px;cursor:pointer;} a.submit5{ margin:10px 0 0 0; display:block;font-size:14px;color:#fff;height:28px;line-height:28px;cursor:pointer;vertical-align:middle;vertical-align:baseline\9;text-decoration:none; width:110px; text-align:center; background:url(../images/productinfo.png) no-repeat -182px -234px;} a.submit5:hover{color:#fff;background:url(../images/productinfo.png) no-repeat -182px -262px;} /*--------页脚----------*/ .pageFooter{ width:1200px;margin:0 auto;} .pageFooter .middle{ float:left; width:290px; height:145px; margin:20px 0px 0px 10px; background:url(../images/foot/logo.jpg) no-repeat left top;} .pageFooter .middle ul{ padding:85px 0 0 0;} .pageFooter .middle .kefu{ font-size:20px; color:#646464; font-weight:bold; padding:6px 0;} .pageFooter .left{float:left;margin:35px 0 0 0;width:235px;height:145px;} .pageFooter .left ul{margin:0px;padding:0px 0px 0px 0px;float:left;} .pageFooter .left ul li{font-size:14px;color:#666666;font-family:Microsoft YaHei;font-weight:bold;} .pageFooter .left ul li.fWeibo{height:40px;line-height:40px;} .pageFooter .left ul li.fWeibo span{display:block;width:29px;height:29px;float:left;background:url(../images/indexImg20130307.png?v=1.4) no-repeat -322px -70px;_background:url(../images/indexImg20130307.jpg) no-repeat -322px -70px;margin-right:4px;} .pageFooter .left ul li.fWeibo font{float:left;font-size:14px;font-weight:bold;padding:0px 16px 0px 0px;} .pageFooter .left ul li.fWeibo a{display:block;width:130px;height:36px;float:left;background:url(../images/footer_ico.jpg) no-repeat -7px -52px;} .pageFooter .left ul li.fTel{height:36px;line-height:36px;} .pageFooter .left ul li.fTel span{display:block;width:29px;height:29px;float:left;background:url(../images/indexImg20130307.png?v=1.4) no-repeat -358px -70px;_background:url(../images/indexImg20130307.jpg) no-repeat -358px -70px;margin-right:4px;} .pageFooter .left ul li.fTel font{font-size:20px;padding:0px 0px 0px 10px;} .pageFooter .left ul li.fNum{font-size:22px;color:#565656;font-weight:bold;} .pageFooter .left .f_ios li{ width:80px;text-align:center;margin:0 50px 8px 0;*margin-right:25px; line-height:24px;} .pageFooter .left .f_ios span{display:block;width:80px;height:80px;background:url(../images/foot_bottom.png) no-repeat 0px 0px;margin:auto;} .pageFooter .left .f_wx li{ width:80px;text-align:center; margin:0 0 8px 0;line-height:24px;} .pageFooter .left .f_wx span{display:block;width:80px;height:80px;background:url(../images/foot_bottom.png) no-repeat -83px 0px;margin:auto} .pageFooter .left .f_icon{width:80px;} .pageFooter .left .f_icon span{display:block;width:45px;height:45px;background:url(../images/footer_ico.jpg) no-repeat;margin:auto} .pageFooter .left .f_icon span.a{background-position:-146px -5px;} .pageFooter .left .f_icon span.b{background-position:-198px -5px;} .pageFooter .left .f_icon span.c{background-position:-246px -5px;} .pageFooter .left .f_tel{width:230px;text-align:left;font-size:12px;font-weight:normal;} .pageFooter .right{float:left;margin:35px 0 0 0;width:645px;} .pageFooter .right ul{float:left;margin:0px 8px 0px 0px;padding:0px 0px 0px 0px;width:120px;} .pageFooter .right ul li{text-align:left;font-family:Microsoft YaHei;height:24px;line-height:24px;color:#646464;} .pageFooter .right ul li a{color:#707070;display:block;padding:0px 0px 0px 0px;} .pageFooter .right ul li.title{color:#707070;font-weight:bold;font-size:14px; } .pageFooter .right ul li.title span{background:url(../images/footer_ico.jpg) no-repeat;display:block;height:26px;width:26px;float:left;margin:0px 9px 0px 0px} .pageFooter .right ul li.title .style_a{background-position:-7px -5px;} .pageFooter .right ul li.title .style_b{background-position:-39px -5px;} .pageFooter .right ul li.title .style_c{background-position:-74px -5px;} .pageFooter .right ul li.title .style_d{background-position:-109px -5px;} .pageFooter .pic{height:44px;width:1200px;background:#ededed;text-align:center;padding:6px 0px 0px 0px;margin:0px 0px 0px 0px;clear:both;} .pageFooter .pic span{display:block;height:40px;width:750px;background:url(../images/footer_ico.jpg) no-repeat -0px -120px;margin:auto;} #footer{line-height:18px;color:#969696;width:100%; overflow:hidden;} #footer a{color:#646464; text-decoration:none;} #footer a:hover{ color:#669900; text-decoration:none;} #footer .f_ios a:hover{color:#646464; text-decoration:none;} #footer a.beian{color:#969696; text-decoration:none;} #footer a.beian:hover{ color:#669900; text-decoration:none;} #footer .footer_zd1{width:100%; border-bottom:1px solid #E0E0E0; margin:20px 0 0 0;} #footer .footer_zd{height:120px;background:#F5F5F5;width:100%; margin:10px 0 0 0;} #footer .footer_zd ul{ width:1200px; margin:0px auto;} #footer .footer_zd ul li{width:300px;height:120px;float:left;} #footer .footer_zd ul li a{ width:200px; cursor:pointer;display:block; height:60px;bblr:expression(this.onFocus=this.blur());outline-style:none; margin:30px 0 0 50px;} #footer .quanqiu{background:url(../images/foot/qq.jpg) no-repeat center center;} #footer .chandi{background:url(../images/foot/cd.jpg) no-repeat center center;} #footer .qcll{background:url(../images/foot/qc.jpg) no-repeat center center;} #footer .sfzd{background:url(../images/foot/sf.jpg) no-repeat center center;} #footer .foot{ width:100%; height:285px;} #footer .bottom{ width:1180px; height:50px; margin:0px auto; border-top:1px solid #E0E0E0; padding-top:15px;} #footer .bottom_kx{ float:left; position:absolute; padding-top:6px;} #footer .bottom_sm{ position:absolute; padding:6px 0 0 90px; float:left} #footer .help{background:url(../images/helpbg.jpg) repeat-x top left #e6e6e6;height:177px;}#footer .help ul{width:720px;display:block;margin:8px 0px 0px 70px;#margin:8px 0px 0px 70px;_margin:8px 0px 0px 40px;padding:0px;float:left;}#footer .help ul li{float:left;width:180px;list-style:none;text-align:left;background:url(../images/footer_line.jpg) no-repeat 75% top;}#footer .help ul li h3{padding:0px 0px 4px 0px;margin:0px;font-size:14px;color:#7a6b56;display:block;font-weight:bold;}#footer .help ul li img{margin:0px 0px 0px 12px;}#footer .help ul li a{color:#6a6a6a;float:left;width:100px;height:18px;line-height:18px;display:block;text-decoration:none;background:url(../images/help_contenticon.gif) no-repeat 0% 50%;text-align:left;padding:2px 0px 2px 18px;font-size:13px;}#footer .help ul li a:hover{text-decoration:underline}#footer .help .tel{float:right;width:195px;border-left:0px solid #ccc;}#footer .service{background:url(../images/servicebg.jpg) repeat-y;}#footer .siteinfo{float:left; padding-left:182px;}#footer .siteinfo span{padding-left:13px;}/*邮件订阅*/.mailDY{width:302px;margin:0px auto;padding:15px 0 0 0;*padding:0;}.mailDYtit{overflow:hidden;zoom:1;}.mailDYtit h3{font-size:12px;float:left;color:#565656;}.mailDYtit span{float:right;color:#999999;padding:0px 20px 0px 0px}.mailDYtit span a:link{color:#999999;font-size:12px;}.mailDYtit span a:visited{color:#999999;}.mailDYtit span a:hover{color:#669900;}.mailDYitem{zoom:1;}.mailDYitem span{float:left;}.mailDYitem .ftitle{width:60px;}.mailDYitem .i{width:130px;height:22px;line-height:22px;padding:0 2px;border:1px solid #cccccc;margin-right:2px;display:inline; color:#969696;}.mailDYitem .input_on{width:140px;height:20px;line-height:20px;padding:0 2px;border:1px solid #669900;margin-right:2px;display:inline;}.on_changes{width:196px; position:absolute;border:1px solid #E8E8E8; display:none;background:#FFF; z-index:999; }.on_changes li{ height:22px; padding:0 0 0 5px;}.on_changes li.active{ background:#F9F9F9;}.mailDY a.dy{color:#656565; text-decoration:none; line-height:25px;}a.dy:visited{color:#656565; text-decoration:none;}.mailDY a.dy:hover{color:#669900; text-decoration:none;}.ydy{ border:1px solid #6AAF04; height:20px; width:191px; color:#6AAF04; position:absolute; padding:0 0px 0 5px;}.emailerr{width:191px;border:1px solid #FB9502; background:#FFEEE7; height:20px; color:#FA6501;position: absolute; padding:0 0px 0 5px;}.mailDYitem .btn{background:url(../images/foot_bottom.png) no-repeat -118px -106px;height:24px;width:44px;border:0;display:block;}.mailDYitem .s{height:22px;border:1px solid #cccccc;margin-right:3px;display:inline;}#store-selector,#store-selector_sfv,#store-selector1{float:left;height:26px;position:relative;z-index:91;}#store-selector.hover .text,#store-selector_sfv.hover .text,#store-selector1.hover .text{border-bottom:0 none;height:25px;z-index:1;}#store-selector .text,#store-selector_sfv .text,#store-selector1 .text{background:#FFFFFF;border:1px solid #CECBCE;float:left;height:22px;line-height:22px;overflow:hidden;padding:0 20px 0 4px;*margin-top:1px;position:relative;top:0;font-size:12px;font-weight:normal;}#store-selector .text b,#store-selector_sfv .text b,#store-selector1 .text b{background:url(../images/indexImg20130307.png?v=1.4) no-repeat -386px -2px;display:block;height:24px;overflow:hidden;position:absolute;right:0;top:0;width:17px;}#store-selector .area-list li,#store-selector_sfv .area-list li,#store-selector1 .area-list li{clear:none;padding:2px 0 2px 15px;font-size:12px;}#store-selector .tab li,#store-selector_sfv .tab li,#store-selector1 .tab li{clear:none;float:left;padding:0;}.SF-stock{position:relative;font-size:12px}.SF-stock .tab{border-bottom:2px solid #dadada;float:left;height:25px;overflow:visible;width:100%;_overflow:hidden;}.SF-stock .tab a{border-top:1px solid #DDDDDD;border-left:1px solid #DDDDDD;border-right:1px solid #DDDDDD;color:#CCCCCC;cursor:pointer;float:left;height:23px;line-height:23px;margin-right:3px;padding:0 21px 1px 11px;position:relative;text-align:center;}*html .SF-stock .tab a{position:static;}.SF-stock .tab a{color:#a6a6a6;text-decoration:none;font-size:12px;font-weight:normal;}.SF-stock .tab a:hover{color:#669900;}.SF-stock .tab a.hover{background-color:#FFFFFF;border-top:2px solid #dadada;border-left:2px solid #dadada;border-right:2px solid #dadada;color:#669900;height:25px;line-height:22px;padding:0 20px 0 10px;text-decoration:none;}.SF-stock .tab a i{background-image:url(../images/sf-stock.png);background-repeat:no-repeat;}.SF-stock .tab a i{background-position:0 -35px;display:block;height:5px;overflow:hidden;position:absolute;right:4px;top:10px;width:7px;}.SF-stock .tab a:hover i{background-position:0 -28px;right:4px;top:10px;}.area-list{padding-top:5px;}.area-list li{clear:none;float:left;padding:2px 0 2px 15px;width:80px;}.area-list li a{float:left;padding:2px 4px;text-decoration:none;font-size:12px;font-weight:normal;}.area-list li a:hover{background-color:#669600;color:#FFFFFF;}.area-list .longer-area{width:370px;}.area-list .long-area{width:170px;}.sfregionTop{width:400px;margin:60px 10px 0px 40px;}.sfregionTxt{line-height:26px;font-size:14px}.sfregionBuy{margin:40px 10px 0px 180px;}#store-selector .close,#store-selector_sfv .close,#store-selector1 .close{background:url(../images/index_icon_new.png) no-repeat -245px -33px;display:none;height:18px;left:345px; top:40px;position:absolute;width:18px;z-index:2;}#store-selector .tips{line-height:24px;color:red;padding:0 3px 0 0;}#store-selector.hover .content,#store-selector.hover .close,#store-selector_sfv.hover .content,#store-selector_sfv.hover .close,#store-selector1.hover .content,#store-selector1.hover .close{display:block;}#store-selector.hover .close,#store-selector_sfv.hover .close,#store-selector1.hover .close{cursor:pointer;}#store-selector .content,#store-selector_sfv .content,#store-selector1 .content{background:none repeat scroll 0 0 #FFFFFF;border:1px solid #CECBCE;box-shadow:0 0 5px #DDDDDD;display:none;left:-45px;padding:15px;position:absolute;top:25px;width:390px;}#store-selector .juli1{left:-250px;}#store-selector .juli2{left:140px;}.m,.mt,.mc{overflow:hidden;}.mt{cursor:default;}#store-selector1{height:24px;margin-right:3px;}#store-selector1 .text{height:22px;line-height:22px; overflow:hidden;}#store-selector1 .area-list{padding:5px 0 0 0;}#store-selector1 .area-list li{line-height:20px;height:20px;padding:2px 0;width:60px;overflow:hidden;}#store-selector1 .close{left:100px;}#store-selector1 .SF-stock ul.tab{padding:0;}#store-selector1.hover .content{width:300px;}#store-selector1 .content{left:-205px}input.submit1{font-size:12px;background-color:#6c9c0a;color:#fff;border:none;margin:0px 0px 0px 0px;padding:0px 4px 0px 4px;height:22px;line-height:22px;cursor:pointer;vertical-align:middle;vertical-align:baseline\9;}input.submit1:hover{background:url(../images/productinfo.png) repeat-x 0 -124px;}.window{width:350px;border:3px solid #e6e6e6;position:absolute;margin-left:-150px;margin-top:-150px;top:50%;left:50%;background:#fff;}.window .content{padding:20px 12px 12px 12px;text-align:center;line-height:24px;font-size:14px;}.window .titlehead{background-color:#f5f5f5;height:31px;line-height:31px;border:0 none;}.window h3{width:150px;float:left;margin:0px;padding:0px 0px 0px 16px;font-size:14px;color:#565656;font-family:微软雅黑;}.window h3 img{border:0px;padding:0px;margin:0px;}.ac_results{padding:0px;border:1px solid #dadada;background-color:white;overflow:hidden;z-index:102;}.ac_results ul{width:100%;list-style-position:outside;list-style:none;padding:0;margin:0;}.ac_results li{margin:0px;padding:2px 5px;cursor:pointer;display:block;/*if width will be 100% horizontal scrollbar will apearwhen scroll mode will be used*//*width:100%;*/font:menu;font-family:arial,tahoma,宋体;font-size:12px;/*it is very important,if line-height not setted or settedin relative units scroll will be broken in firefox*/line-height:18px;overflow:hidden;}.ac_loading{background:#fff;}.ac_odd{/*background-color:#eee*/;}.jq_auto_complete_key{float:left;}.jq_auto_complete_results{float:right;color:#646464;}.jq_auto_complete_category_tip{padding-left:2em;color:#777;width:200px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}.jq_auto_complete_category_tip b{color:#669900}.ac_over{background-color:#f9f9f9;color:#646464;}.ac_over .jq_auto_complete_results,.ac_over .jq_auto_complete_category_tip{color:#646464;}/*彩贝合作帐号工具条*/.cb_bar{border:1px solid #aaa;height:24px;line-height:24px;width:1178px;margin:auto;padding:0px 10px 0px 10px}.cb_bar .l{display:block;float:left;width:700px;}.cb_bar .r{display:block;float:right;width:200px;color:#4c4747;text-align:right;}.cb_bar .alink{border-left:1px solid #add9fb;padding:0px 0px 0px 6px;color:#0066cc;}.cb_bar .l a{padding:0px;color:#0066cc;}.otherType{display:block;padding:5px;border-top:1px solid #f0f0f0;color:#ADADAD;}.otherType span{color:#adadad;}.inv_note{text-align:left;color:#ea5404;padding:0 0 3px 16px;line-height:20px;}.jq_auto_complete_key strong{font-weight:normal;} .pages {margin:12px;text-align: right;font-size:14px;padding:0 0 10px 0} .pages a {border:1px solid #dadada;color: #6b6b6b;margin: 2px;padding:3px 6px;text-decoration: none;} .pages a:hover{border:1px solid #669900;color:#669900;} .pages .pagedot{font-family:Arial;margin: 2px;padding:4px 6px;background-color:#f5f5f5;} .pages .disabled {border:1px solid #dadada;color: #DDDDDD;margin: 2px;padding:3px 6px;} .pages .prev{position:relative;padding-left:20px;} .pages .next{position:relative;padding-right:20px;} .pages .prev .prevarr {border-width:5px;border-color:#FFFFFF #ff0000 #FFFFFF #FFFFFF;border-style:dashed solid dashed dashed;height:0;width:0;font-size:0;overflow:hidden;position:absolute;left:4px;top:6px;} *html .pages .prev .prevarr{top:7px;} .pages .next .nextarr {border-width:5px;border-color:#FFFFFF #FFFFFF #FFFFFF #ff0000;border-style:dashed dashed dashed solid;height:0;width:0;font-size:0;overflow:hidden;position:absolute;right:4px;top:6px;} *html .pages .next .nextarr{left:58px;top:7px;} .pages .disabled .prevarr{border-color:#FFFFFF #dadada #FFFFFF #FFFFFF;} .pages .disabled .nextarr{border-color:#FFFFFF #FFFFFF #FFFFFF #dadada;} .pages a:hover {color: #176246;text-decoration: none;} .pages a:active {border: 1px solid #4A2F24;color: #4A2F24;text-decoration: none;} .pages .current {color: #ea5404;font-weight: bold;margin: 2px;padding:3px 6px;border:1px solid #ea5404;} span.icon-cx {display: block;height: 46px;position: absolute;right: 5px;top: 5px;width: 46px;z-index: 90;} .commAddr{padding:0 0 10px 0;overflow:hidden;zoom:1;} .commAddr .ct{border-bottom:1px solid #196247;color:black;height:23px;margin-bottom:7px;} .commAddr li{float:left;width:170px;height:20px;overflow:hidden;margin-right:10px;_display:inline;} .backToTop{ background: url(../images/btntop.gif) no-repeat left top #FFFFFF;bottom: 10px;color: #FFFFFF;cursor: pointer;display: none;font-size: 12px;height: 55px;opacity: 0.8;padding: 0;position: fixed;right: 10px;width: 50px;} .breadcrumb{overflow:hidden;} .breadcrumb strong{font-family:Microsoft YaHei;font-size:16px;padding:0 7px 0 10px;} .breadcrumb span{font-family:"宋体"} .side-wrap{position:fixed;bottom:20px;left:50%;margin-left:610px;z-index:999;} * html .side-wrap{position:absolute;bottom:auto;top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0 +20)));} .side-wrap .side-c{width:44px;height:44px;position:relative;margin-top:6px;} .side-wrap .s-cart-smnum{position: absolute; top: -5px; right: 7px; width: 18px; text-align: center; color: #FA9600; border: 1px solid #dedede; height: 18px; line-height: 18px; border-radius: 10px; background-color: white;} .side-wrap .s-cart-num{position: absolute; top: -5px; right: -9px; width: 34px; text-align: center; color: #FA9600; border: 1px solid #dedede; height: 18px; line-height: 18px; border-radius: 10px; background-color: white; overflow:hidden;} .side-wrap .s-cart-add{background-color:#FA9600;color:white;border:1px solid #FA9600;} .side-wrap .s-cart{background:url(../images/productList.png) no-repeat 0 -45px;width:42px;height:42px;display:block;border:1px solid #dadada;} .side-wrap .s-guang{background:url(../images/productList.png) no-repeat -42px -82px;width:42px;height:42px;display:block;border:1px solid #dadada;} .side-wrap .s-app{background:url(../images/productList.png) no-repeat -42px -40px;width:42px;height:42px;display:block;border:1px solid #dadada;text-indent:-9999px;overflow:hidden;} .side-wrap .s-back{background:url(../images/productList.png) no-repeat -84px -142px;width:42px;height:42px;display:block;border:1px solid #dadada;} .side-wrap .s-top{width:42px;height:42px;display:none;background:url(../images/productList.png) no-repeat 0 -82px;border:1px solid #dadada;} .side-wrap a.s-cart:hover{background:url(../images/productList.png) no-repeat 0 -147px;} .side-wrap a.s-guang:hover{background:url(../images/productList.png) no-repeat -42px -184px;} .side-wrap a.s-app:hover{background:url(../images/productList.png) no-repeat -42px -142px;} .side-wrap a.s-back:hover{background:url(../images/productList.png) no-repeat -84px -184px;} .side-wrap a.s-top:hover{background:url(../images/productList.png) no-repeat 0 -184px;} .side_pos{right:10px;left:auto;margin-left:0;} .side_pos .s-guang,.side_pos .s-cart,.side_pos .s-app,.side_pos .s-top{filter:alpha(opacity=80);opacity:0.8;} .listpic-mini{position:absolute;width:60px;height:60px;border:1px solid #dadada;overflow:hidden;z-index:98;} .listpic-mini img{width:60px;height:60px;} .cart-shopping,.history,.appDown{position:absolute;right:44px;bottom:0px;width:372px;overflow:hidden;} .cart-list,.his-list,.appItem{position:relative;bottom:0;border:1px solid #dadada;width:360px;background-color:white;} .cart-list .floatcar,.his-list .floatcar{position:static;border:0 none;box-shadow:none;background-color:white;} .cart-list .floatcar .btnhover,.his-list .floatcar .btnhover{top:-29px} .cart-list .btn{display:none;} .cart-list .cart-num{height:48px;text-align:center;color:#000000;display:none;} .cart-list .cart-num-icon{background:url(../images/productList.png) no-repeat -88px -39px;height:18px;padding:0 0 0 25px;display:inline-block;margin-top:20px;} .cart-list #add-num{color:#EA5404} .cart-wrap .cart-arr{right:-8px;position:absolute;margin-left:-1px;bottom:160px;background:url(../images/productList.png) no-repeat -88px -88px;width:8px;height:15px;} .guang .cart-num{text-align:center;color:#000000;padding:10px;border-bottom:1px solid #1B6146;} .guang .cart-arr{right:-8px;position:absolute;margin-left:-1px;bottom:110px;background:url(../images/productList.png) no-repeat -88px -88px;width:8px;height:15px;} .guang .floatcar ul,.cart-wrap .floatcar ul{max-height:260px;} .guang .floatcar ul li .r a:link,.guang .floatcar ul li .r a:visited{color:#547e01;} .floatcar ul li .c a{height:18px;overflow:hidden;display:block;} .floatcar ul li .c b{font-weight:normal;color:#cecece} #list_cart .title{color:#666666;} .p-list .list-all .title-c,.l-buy .title-c,.p-guess .title-c,.fl-pic .title-c{height:40px;line-height:20px;overflow:hidden;} .cx_icon{position:absolute;top:5px;} #list_cart ul li.nmtop{background-color: #F2F6ED;border-bottom: 1px solid #CCCCCC;height: 26px;line-height: 26px;margin: 0;overflow: hidden;padding: 0;} #list_cart ul li.nmlist{border: 0 none;} #list_cart ul li.nmline{ border-bottom: 1px dashed #CCCCCC;height: 0;line-height: 0;margin: 0;overflow: hidden;padding: 0;} .appDown .cart-arr{right:-8px;position:absolute;margin-left:-1px;bottom:63px;background:url(../images/productList.png) no-repeat -88px -88px;width:8px;height:15px;} .appItem{padding:20px 0 0 0;} .appItem .sf-client{margin-bottom:10px;margin-left:50px;position:relative;text-align:left;} .appItem .client-img{width:115px;height:116px;overflow:hidden;background:url(../images/indexImg20130307.png?v=1.4) no-repeat 0 -210px;display:block;} .appItem i{position:absolute;width:50px;height:29px;left:135px;top:20px;background:url(../images/header.png) no-repeat -73px -93px;display:block;} .appItem .client-txt{position:absolute;left:145px;top:54px;} .appItem .client-txt em{display:block;line-height:20px;} .appItem .client-txt strong{color:#76ac25;line-height:20px;} .appItem .client-promo{height:30px;background:url(../images/indexImg20130307.png?v=1.4) no-repeat -116px -210px #fcfbe4;text-align:center;color:#fa6400;font-size:14px;font-weight:bold;line-height:30px;} .appItem .client-promo a:link,.appItem .client-promo a:visited{color:#fa6400;} /*----浮动条--------*/ .floatBar{height:43px;position:fixed;width:100%;top:0; /*z-index:9999;*/ background:#fff;filter:alpha(opacity=97);-moz-opacity:0.97;-khtml-opacity: 0.97;opacity: 0.97;box-shadow:0px 1px 5px #ccc;left:0; border-bottom:1px solid #eee;} /**html .floatBar{position:absolute;bottom:auto;top:expression(eval(document.documentElement.scrollTop));}*/ .floatBar .pW{ height:43px;} .floatBar .logo{float:left; width:165px;height:43px;padding-left:10px} .floatBar .logo span{background:url(../images/header.png) no-repeat 0px -50px ;width:91px;height:43px; display:block;} .floatBar .search{float:left;background:url;width:245px;height:35px; padding-top:8px;} .floatBar .search input.inputSearch{width:190px;height:24px; line-height:24px; font-size:12px; border:1px solid #76ac25; color:#b3b3b3; padding:0px 4px 0px 4px;vertical-align:middle;display:block;float:left;} .floatBar .search input.inputSBtn{width:40px;height:26px; line-height:26px; font-size:12px; border:none; color:#fff; padding:0px ; background:#669900; vertical-align:middle;background:url(../images/header.png) no-repeat -92px -50px #669900 ; cursor:pointer; display:block;float:left;} .floatBar .nav{float:left; background:url;height:33px; padding:10px 0px 0px 60px;} .floatBar .nav a{display:block;float:left;width:60px;height:21px; line-height:21px;float:left; color:#606060;font-size:12px; text-align:center;margin-right:15px;_display:inline;} .floatBar .nav a:hover{color:#669900; text-decoration:none} .floatBar .nav a.active{ background-color:#76ac25;border-radius:2px;color:#fff;} .floatBar .fr{padding-top:3px;} .floatBar .menus,.floatBar .allCat{ z-index:1;} .index_promo{display:none;position:absolute;width:140px;height:75px;left:260px;top:15px;overflow:hidden;} .index_topad{position:absolute;width:140px;height:75px;left:270px;top:15px; overflow:hidden;} .index_topad img{width:140px;height:75px;} /*----btn style---*/ .submit-btn, .submit-btn1{ border:none; margin:0 5px; cursor:pointer; text-align:center; } .submit-btn{ width:63px; height:24px; line-height:24px; background:#669900; color:#fff;} .submit-btn:hover{ background:#69af05; color:#fff;} .submit-btn1{width:61px; height:22px; line-height:22px; border:1px solid #dcdcdc; color:#646464;} .submit-btn1:hover{ color:#669900;} /*邮箱验证*/ #mailBox{background:#fff;border:1px solid #e8e8e8;position:absolute;z-index:999;display:none; width:188px; margin-top:1px;} #mailBox p{width:100%;margin:0;padding:0 0 0 5px;height:22px;line-height:22px;clear:both;font-size:12px;color:#666666;cursor:default;} #mailBox ul{padding:0;margin:0;} #mailBox li{font-size:12px;height:22px;line-height:22px;color:#666666;cursor:pointer;overflow:hidden;padding:0 0 0 5px;} #mailBox .cmail{color:#666666;background:#f9f9f9;} img.lazy,img.lazy_load{background:url(../images/g_loading.png) no-repeat 50% 50%;} /*优选国际css*/ .yxgj_icon{ width:60px; height:18px; line-height:18px; display:inline-block; background:#38b48b; border-radius:3px; font-size:12px; text-align:center; color:#fff; } .yxgj_m0{ margin-left:12px;} .yxgj_m1{ margin-left:5px;} .yxgj_tipsTitle{ color:#FB8E19; padding:10px 0;} ================================================ FILE: taotao-item-web/src/main/webapp/css/bdsstyle.css ================================================ @CHARSET "UTF-8";#bdshare ul,#bdshare_s ul,#bdshare ul li,#bdshare_s ul li,#bdshare_l_c ul li,#bdshare_m_c ul li,#bdshare_pop ul,#bdshare_pop ul li{list-style:none;margin:0;padding:0}#bdshare{_overflow-x:hidden;z-index:999999;padding-bottom:2px;font-size:12px;float:left;text-align:left!important;zoom:1}#bdshare a,#bdshare_s a,#bdshare_pop a{text-decoration:none;cursor:pointer}#bdshare a:hover,#bdshare_s a:hover,#bdshare_pop a:hover{color:#333;opacity:.8;filter:alpha(opacity=80)}#bdshare img{border:0;margin:0;padding:0;cursor:pointer}#bdshare h6,#bdshare_s h6{width:100%;font:14px/22px '宋体';text-indent:.5em;font-weight:700;border-top:1px solid #fbfbfb;border-bottom:1px solid #f2f1f1;background-color:#f6f6f6;float:left;padding:5px 0;margin:0}#bdshare ul,#bdshare_s ul{width:98%;float:left;padding:8px 0;margin-left:2px;overflow:hidden}#bdshare ul li,#bdshare_s ul li{width:47%;_width:41%;float:left;margin:4px 2px}#bdshare ul li a,#bdshare_s ul li a{color:#565656;font:12px '宋体';display:block;width:98%;padding:6px 0;text-indent:2.4em;*text-indent:1.8em;_text-indent:1.8em;border:1px solid #fff}#bdshare ul li a:hover,#bdshare_s ul li a:hover{background-color:#f3f3f3;border:1px solid #eee;-webkit-border-radius:3px;-moz-border-radius:3px}#bdshare p,#bdshare_s p{width:100%;height:21px;font:12px '宋体';border-top:1px solid #f2f1f1;background-color:#f8f8f8;float:left;padding:0;margin:0}#bdshare p a,#bdshare_s p a{width:auto;text-align:right;float:right;padding:0 5px}#bdshare_l{width:212px;position:absolute;top:0;background:#fff;text-align:left}#bdshare_l_c{width:210px;float:left;border:1px solid #e9e9e9;text-align:left}#bdshare_l_c ul li{width:47%;height:26px;float:left;margin:2px}#bdshare_l_c ul li a{background:url(../images/is.png?cdnversion=20131219) no-repeat;height:auto!important}#bdshare_m{width:132px;float:right;position:absolute;zoom:1;background:#fff}#bdshare_m_c{width:130px;float:left;border:1px solid #e9e9e9;overflow:hidden;background:#fff}#bdshare_m_c ul li{width:97%;_width:90%;float:left;margin:2px}#bdshare_m_c ul li a{background:url(../images/is.png?cdnversion=20131219) no-repeat;height:auto!important}#bdshare_l,#bdshare_m{-webkit-box-shadow:0 0 7px #eee;-moz-box-shadow:0 0 7px #eee;z-index:99999}#bdshare_pop{width:300px;border:6px solid #8f8f8f;padding:0;background:#f6f6f6;position:absolute;z-index:1000000;text-align:left}#bdshare_pop{-webkit-border-radius:5px;-moz-border-radius:5px}#bdshare_pop{-webkit-box-shadow:0 0 7px #aaa;-moz-box-shadow:0 0 7px #aaa}#bdshare_pop div{border:1px solid #e9e9e9;float:left;overflow:hidden;text-align:left}#bdshare_pop h5{width:100%;height:28px;color:#626262;font:14px/28px '宋体';font-weight:700;text-indent:.5em;float:left;margin:0;overflow:hidden}#bdshare_pop h5 b{width:22px;height:23px;background:url(../images/pop_c.gif?cdnversion=20120720) no-repeat 0 0;cursor:pointer;position:absolute;right:8px;top:4px}#bdshare_pop ul{width:100%;height:256px;background:#fff;float:left;padding:8px 0;margin:0;border-top:1px solid #f2f1f1;border-bottom:1px solid #f2f1f1;overflow:auto;overflow-x:hidden}#bdshare_pop ul li{width:130px;float:left;padding:2px;margin-left:6px;_margin-left:3px;height:29px;overflow:hidden}#bdshare_pop ul li a{background:url(../images/is.png?cdnversion=20131219) no-repeat;color:#565656;font:12px '宋体';display:block;width:75%;padding:6px 0 6px 28px;border:1px solid #fff}#bdshare_pop ul li a:hover{background-color:#f3f3f3;border:1px solid #eee;-webkit-border-radius:3px;-moz-border-radius:3px}#bdshare_pop p{width:100%;font:12px '宋体';float:left;padding:5px 0 8px;margin:0;overflow:hidden}#bdshare_pop p a{width:auto;text-align:right;float:right;padding:0 5px}#bdshare_l_c p a.goWebsite,#bdshare_m_c p a.goWebsite,#bdshare_pop p a.goWebsite{text-align:right;background:url(../images/pi.gif?cdnversion=20120720) no-repeat 0 center;line-height:16px;padding-left:12px;color:#8c8c8c}#bdshare_l_c p a.goWebsite:hover,#bdshare_m_c p a.goWebsite:hover,#bdshare_pop p a.goWebsite:hover{color:#00a9e0}span.bds_more{background:url(../images/is.png?cdnversion=20131219) no-repeat 0 5px!important}span.bds_more,.bds_tools a{display:block;font-family:'宋体',Arial;height:16px;float:left;cursor:pointer;padding-top:6px;padding-bottom:3px;padding-left:22px}.bds_tools a{background:url(../images/is.png?cdnversion=20131219) no-repeat}.bds_tools_32 a{background:url(../images/is_32.png?cdnversion=20131219) no-repeat;width:37px;height:37px;display:block;float:left;margin-right:3px;text-indent:-100em;cursor:pointer}.bds_tools_32 span.bds_more{background:url(../images/is_32.png?cdnversion=20131219) no-repeat 0 5px!important;width:37px;height:32px;text-indent:-100em;padding-left:0}.bds_tools_24 a{background:url(../images/is_24.png?cdnversion=20131219) no-repeat;width:29px;height:29px;display:block;float:left;margin-right:3px text-indent:-100em;padding-left:0;cursor:pointer}.bds_tools_24 span.bds_more{background:url(../images/is_24.png?cdnversion=20131219) no-repeat 0 5px!important;width:29px;height:24px;text-indent:-100em;padding-left:0}.bds_more{background-image:url(../images/is.png?cdnversion=20131219)!important;background-position:0 4px!important}span.bds_nopic,.bds_tools_32 span.bds_nopic,.bds_tools_24 span.bds_nopic{background-image:none!important;padding-left:3px!important}.bdshare_b img{float:left}.bdshare_b a.shareCount,.bds_tools a.shareCount,.bds_tools_32 a.shareCount,.bds_tools_24 a.shareCount{float:left;background:url(../images/sc.png?cdnversion=20120720) no-repeat!important;margin:0;padding:0;text-align:center;padding-left:5px;color:#454545;font-family:'宋体'!important}.bdshare_b a.shareCount,.bds_tools_24 a.shareCount{width:39px;height:24px;background-position:0 0;font-size:12px;line-height:24px;margin-left:3px}.bdshare_b a.shareCount:hover,.bds_tools_24 a.shareCount:hover{color:#454545!important;background-position:-44px 0!important;opacity:1!important;filter:alpha(opacity=100)!important}.bds_tools a.shareCount{width:37px;height:16px;background-position:0 -30px!important;margin-top:5px;overflow:hidden;font-size:12px;line-height:16px}.bds_tools a.shareCount:hover{color:#454545!important;background-position:-42px -30px!important;opacity:1!important;filter:alpha(opacity=100)!important}.bds_tools_32 a.shareCount{width:43px;height:32px;background-position:0 -60px!important;margin-top:5px;overflow:hidden;font-size:14px;line-height:32px;text-indent:0!important}.bds_tools_32 a.shareCount:hover{color:#454545!important;background-position:-48px -60px!important;background-position:-48px -60px;opacity:1!important;filter:alpha(opacity=100)!important}.bds_tools_24 a.shareCount{margin-top:5px}.bds_qzone{background-position:0 -75px!important}.bds_tsina{background-position:0 -115px!important}.bds_bdhome{background-position:0 -155px!important}.bds_renren{background-position:0 -195px!important}.bds_tqq{background-position:0 -235px!important}.bds_kaixin001{background-position:0 -275px!important}.bds_tqf{background-position:0 -315px!important}.bds_hi{background-position:0 -355px!important}.bds_douban{background-position:0 -395px!important}.bds_tsohu{background-position:0 -435px!important}.bds_msn{background-position:0 -475px!important}.bds_qq{background-position:0 -515px!important}.bds_taobao{background-position:0 -555px!important}.bds_tieba{background-position:0 -595px!important}.bds_sohu{background-position:0 -675px!important}.bds_t163{background-position:0 -715px!important}.bds_qy{background-position:0 -755px!important}.bds_tfh{background-position:0 -795px!important}.bds_hx{background-position:0 -835px!important}.bds_fx{background-position:0 -875px!important}.bds_ff{background-position:0 -915px!important}.bds_xg{background-position:0 -955px!important}.bds_ty{background-position:0 -995px!important}.bds_s51{background-position:0 -1035px!important}.bds_fbook{background-position:0 -1115px!important}.bds_twi{background-position:0 -1155px!important}.bds_ms{background-position:0 -1195px!important}.bds_deli{background-position:0 -1235px!important}.bds_s139{background-position:0 -1275px!important}.bds_iguba{background-position:0 -1315px!important}.bds_linkedin{background-position:0 -1354px!important}.bds_copy{background-position:0 -1393px!important}.bds_ifeng{background-position:0 -1431px!important}.bds_tuita{background-position:0 -1470px!important}.bds_meilishuo{background-position:0 -1549px!important}.bds_mogujie{background-position:0 -1589px!important}.bds_diandian{background-position:0 -1629px!important}.bds_huaban{background-position:0 -1669px!important}.bds_leho{background-position:0 -1709px!important}.bds_wealink{background-position:0 -1749px!important}.bds_duitang{background-position:0 -1789px!important}.bds_thx{background-position:0 -1829px!important}.bds_mail{background-position:0 -1870px!important}.bds_print{background-position:0 -1910px!important}.bds_baidu{background-position:0 -1950px!important}.bds_share189{background-position:0 -1990px!important}.bds_youdao{background-position:0 -2030px!important}.bds_mshare{background-position:0 -2070px!important}.bds_mop{background-position:0 -2110px!important}.bds_yaoshi{background-position:0 -2150px!important}.bds_bdxc{background-position:0 -2190px!important}.bds_sqq{background-position:0 -2230px!important}.bds_sdo{background-position:0 -2270px!important}.bds_qingbiji{background-position:0 -2310px!important}.bds_people{background-position:0 -2350px!important}.bds_kanshou{background-position:0 -2390px!important}.bds_xinhua{background-position:0 -2430px!important}.bds_yaolan{background-position:0 -2470px!important}.bds_isohu{background-position:0 -2510px!important}.bds_bdysc{background-position:0 -2550px!important}.bds_ibaidu{background-position:0 -2590px!important}#bdshare .bds_fl5,#bdshare .bds_buzz,#bdshare .bds_zx{display:none} ================================================ FILE: taotao-item-web/src/main/webapp/css/common.css ================================================ /* 全局样式 */ .clear{clear:both;} .overflow{overflow:hidden} .overflow_x{overflow_y:auto;overflow_x:hidden} .overflow_y{overflow_x:auto;overflow_y:hidden} .clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden;} .clearfix{display:inline-block;zoom:1} .clearfix{display:block;} * html .clearfix{height:1%;} .left{float:left}.right{float:right}.relative{position:relative}.absolute{position:absolute}.cursor{cursor:pointer;} .search_h1{height:0px; overflow:hidden; font-size:0} .zi1{z-index:1}.zi2{z-index:2} .tal{text-align:left}.tar{text-align:right}.tac{text-align:center} .dpn{display:none}.dpb{display:block}.dpib{display:inline-block}.dpi{display:inline}.wa{width:auto;} /*bg*/ .bg1{} .bj2{;} .bj3{background:url(../images/new_head/bj1.gif) repeat-x left -44px;} /*font*/ .f33{color:#333}.f66{color:#666}.f00{color:#000}.fff{color:#fff}.f99{color:#999}.ff6{color:#ff6600}.fa0{color:#a00000}.fbc{color:#bcbcbc}.f003{color:#0033cc}.f046{color:#046416}.f337{color:#337700}.f06{color:#0066CC}.ff0{color:#ff0000} .f14{ font-size:14px;}.f16{ font-size:16px;}.fb{ font-weight:bold;}.f20{ font-size:20px} .fyh{ font-family:"\5FAE\8F6F\96C5\9ED1"/*微软雅黑*/} .fsum {font-family: tahoma,arial,Helvetica,"\5B8B\4F53",sans-serif;}.farial{font-family: arial,verdana;} .lh18{line-height:18px}.lh20{line-height:20px}.delete_price{text-decoration: line-through;} .ignore_price{text-decoration: line-through; font-size:12px; color:#666666; margin-left:5px;} /*border*/ .bd_dc{border:1px solid #dcdcdc;} /*框架*/ .w100w{ width:100%;} .w990{ width:990px; margin:0 auto} /*容积*/ .w190{width:190px} .w240{width:240px} .w540{width:540px} .w556{width:556px} .w740{width:740px} .w790{ width:790px} .w800{width:800px} .h240{height:240px} /*距离*/ .prl2{ padding:0 2px} .pt5{ padding-top:5px;}.pr5{ padding-right:5px;}.pb5{padding-bottom:5px;}.p5{padding:5px;}.pl5{padding-left:5px;} .pt10{ padding-top:10px;}.pr10{ padding-right:10px;}.pb10{padding-bottom:10px;}.pl10{padding-left:10px;}.p10{padding:10px;} .pt20{ padding-top:20px;}.pr20{ padding-right:20px;}.pb20{padding-bottom:20px;}.pl20{padding-left:20px;}.p20{padding:20px;} .pt30{ padding-top:30px;}.pr30{ padding-right:30px;}.pb30{padding-bottom:30px;}.pl30{padding-left:30px;}.p30{padding:30px;} .pt40{ padding-top:40px;}.pr40{ padding-right:40px;}.pb40{padding-bottom:40px;}.pl40{padding-left:40px;}.p40{padding:40px;} .ml3{margin-left:3px}.mt5{ margin-top:5px;}.mr5{ margin-right:5px;}.mb5{ margin-bottom:5px;}.ml5{ margin-left:5px;}.m5{ margin:5px;} .mt10{ margin-top:10px;}.mr10{ margin-right:10px;}.mb10{ margin-bottom:10px;}.ml10{ margin-left:10px;}.m10{ margin:10px;} .mt20{ margin-top:20px;}.mr20{ margin-right:20px;}.mb20{ margin-bottom:20px;}.ml20{ margin-left:20px;}.m20{ margin:20px;} /*层的模型*/ .gy_box{ position:absolute; display:block;/*width:86px; width:101px;*/ padding:0 2px 2px 0; } .gy_box em{border:2px solid #a00000; display:block; /*width:83px;*/ background-color:#fff; line-height:18px; font-size:12px; padding-bottom:2px} .gy_box em i{ display:block; margin:3px 5px;} .gy_box em i a{display:block;width:60px;padding: 0 6px} .gy_box em i a:hover{background-color:#A10101;color:#fff;} .gy_box i.bj{ height:3px; margin:0px; padding:0px; position:absolute; line-height:500px; overflow:hidden; width:82px; top:0px; left:0px;background-color:#DFDFDF;border:solid #a00000; border-width:0 2px;} /*登陆、注册、导航 开始*/ .shop_top{ height:25px;width:990px; margin:0 auto;color:#000;} .shop_top .shop_top_left, .shop_top_left a, .shop_top_left span{ float:left;} .shop_top_left a, .shop_top_left span{ margin-top:5px;} .shop_top_left a.link_img{ margin-top:2px;width:101px;height:19px;line-height:500px;overflow:hidden} .shop_top .shop_top_right{ float:right; display:block; color:#D1D1D1; height:25px;} .shop_top .shop_top_right dl{ display:inline; float:left;padding:0px 3px;height:19px;margin:3px 0px 0px 0px; line-height:20px; background:url(../images/new_head/head_foot_bj.png) no-repeat right 4px} .shop_top .shop_top_right dl dt a{ padding:1px 5px; border:#F0F0F0 solid; border-width:1px 1px 0px 1px; float:left;height:16px; line-height:16px;} .shop_top .shop_top_right dl dt a.shop_top_droplist{ padding-right:14px; background:url(../images/new_head/head_foot_bj.png) no-repeat -432px -127px; margin-right:1px} .shop_top .shop_top_right dl dt a.shop_top_droplist_hover{ padding-right:14px; background-color:#fff; background-position:-432px -301px;border:#a00000 solid; border-width:1px 1px 0px 1px;} .shop_top .shop_top_right dl dd{ z-index:9999; position:absolute; background:#FFF; padding:0; border:#a00000 solid; border-width:0px 1px 1px 1px;width:70px; line-height:1.5em; top:20px; padding-top:3px; clear:both; display:none;} .shop_top .shop_top_right dl dt a.mycart{background:url(../images/new_head/head_foot_bj.png) no-repeat left -304px; padding-left:20px; color:#a00000; margin-left:5px} .sales02 img{ border:1px solid #ccc} /*logo、search*/ .ls{height:71px;position:relative;width:990px; margin:0 auto 14px; } .ls .logo{ float:left; margin:6px 0 0 11px } /*search*/ .top-search{height:70px;width:500px;position:absolute;top:15px;right:59px;} .top-search li{width:50px;height:20px;line-height:20px;text-align:center;float:left;color:#fff;cursor:pointer; margin:0 0 0 10px; position:relative; top:2px;} .top-search li a{ color:#666;} .top-search li.s{background:url(../images/new_head/head_foot_bj.png) no-repeat -121px -133px;} .top-search .top-search-box{width:500px;height:35px;background:url(../images/new_head/head_foot_bj.png) no-repeat left -23px;} .search_goods{ background:url(../images/new_head/head_foot_bj.png) no-repeat 3px -233px;} .search_shop{ background:url(../images/new_head/head_foot_bj.png) no-repeat 3px -194px;} .top-search .in{position:absolute;top:29px;left:7px;height:19px;width:388px;border:1px #fff solid; padding:0 2px;line-height:19px;font-size:14px;color:#000} .top-search .ok{position:absolute;top:25px;right:5px;height:26px;width:91px;border:none;line-height:28px;background:url(../images/new_head/head_foot_bj.png) no-repeat left -133px;cursor:pointer;} .ls .text1 {line-height: 18px; position: absolute;right:0;top: 37px; line-height:16px} /*nav*/ .gy_nav{ height:43px;width:990px; margin:0 auto; position:relative; font-size:14px;z-index:3 } .gy_nav ul{position:absolute;top:0px;left:0px;} .gy_nav ul.ul1{ width:694px;} .gy_nav ul li{ float:left; padding:0 10px; height:33px; line-height:33px; display:inline;position:relative} .gy_nav ul li a{color:#fff} /*.gy_nav ul li.on a{color:#333}*/ .gy_nav ul li.on a{color:#404040; text-decoration:none} .gy_nav ul li.on a,.gy_nav ul li.on a:hover{color:#404040; text-decoration:none} .gy_nav ul li.bj{ width:9px; padding:0; margin:0 32px; background:url(../images/new_head/head_foot_bj.png) no-repeat -96px -133px;text-indent:-100000px;} .gy_nav ul.ul2 li.bj{ background-position:-109px -133px;margin: 0 8px 0 11px;} .gy_nav ul li.on{ background-color:#fff;color:#404040;font-weight:bold} .gy_nav ul.ul1 li.ztg{ background:url(../images/new_head/head_foot_bj.png) no-repeat -292px -276px; line-height:36px; width:73px; position:absolute; right:14px;/*.gy_nav ul.ul1*/ } .gy_nav ul.ul1 li.ztg a.link1{color:#fff} .gy_nav ul.ul1 .gy_box{left:-8px;top:33px; } .gy_nav ul.ul1 .gy_box em{border-top:0px;} .gy_nav ul.ul1 .gy_box em a{color: #666; font-weight:400;} .gy_nav ul.ul1 .gy_box em a:hover{color: #fff; text-decoration:none} .gy_nav ul.ul2{ left:732px;} .gy_nav ul.ul2 li i.hot{position:absolute; display:block; width:13px; height:13px; top:1px; right:-3px; background:url(../images/new_head/head_foot_bj.png) no-repeat -214px 0} /*导航层*/ .gy_nav ul.ul1 li i.jt{width:7px;height:4px; background:url(../images/new_head/head_foot_bj.png) no-repeat -354px 0;position:absolute;display:block;right:0;top:15px;overflow:hidden; cursor:pointer} /*帮助*/ .links{margin:0 auto;height:150px;width:950px; padding-top:33px} .links ul{width:950px;height:150px;margin:0 auto;} .links li{width:170px;float:left; padding:0 0 0 35px; margin:0 30px 0 0; display:inline;background:url(../images/new_head/head_foot_bj.png) no-repeat left -428px;} .links li.secure{} .links li.new{ background-position:-103px -333px} .links li.hotline{background-position:-36px -397px} .links li.host{background-position:-68px -367px} .links li h3{width:170px;border-bottom:1px #E2E2E2 solid;} .links li p{line-height:23px;} /*footer start*/ .footer{text-align:center;line-height:23px;width:950px;margin:20px auto 0;} .bottom-pop{display:inline-block;position:relative;cursor:pointer;color:#333333;} #bottom-pop-box{ position:absolute; bottom:15px; left:-175px; float:left} #bottom-pop-box em{border:2px #DF6564 solid; border-top:7px #DF6564 solid; background-color:#fff; width:400px; padding-top:5px; padding-bottom:5px;height:115px; display:block} #bottom-pop-box em i{ height:23px; line-height:23px; width:67px; display:block; float:left; margin-left:10px; display:inline; text-align:left;} i.bottom-pop-horn{ width:13px; height:12px; background:url(../images/new_head/head_foot_bj.png) no-repeat -354px -133px ; font-size:0px; line-height:12px; overflow:hidden; margin:0 auto; display:block;} /*footer end*/ /*thickbox*/ #TB_window {font: 12px Arial, Helvetica, sans-serif;color: #333333;} #TB_secondLine {font: 10px Arial, Helvetica, sans-serif;color:#666666;} #TB_window a:link {color: #666666;} #TB_window a:visited {color: #666666;} #TB_window a:hover {color: #000;} #TB_window a:active {color: #666666;} #TB_window a:focus{color: #666666;} #TB_overlay {position: fixed;z-index:100;top: 0px;left: 0px;height:100%;width:100%;} .TB_overlayMacFFBGHack {} .TB_overlayBG {background-color:#000;filter:alpha(opacity=20);-moz-opacity: 0.50;opacity: 0.20;} * html #TB_overlay { /* ie6 hack */position: absolute;height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');} #TB_window {position: fixed;background: #ffffff;z-index: 102;color:#000000;display:none;border: 3px solid #D3D3D3;text-align:left;top:50%;left:50%;z-index:9999;} * html #TB_window { /* ie6 hack */position: absolute;margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');} #TB_window img#TB_Image {display:block;margin: 15px 0 0 15px;border-right: 1px solid #ccc;border-bottom: 1px solid #ccc;border-top: 1px solid #666;border-left: 1px solid #666;} #TB_caption{height:25px;padding:7px 30px 10px 25px;float:left;} #TB_closeWindow{height:25px;padding:11px 25px 10px 0;float:right;} #TB_closeAjaxWindow{padding:7px 10px 5px 0;margin-bottom:1px;text-align:right;float:right;} #TB_ajaxWindowTitle{float:left;padding:7px 0 5px 10px;margin-bottom:1px;} #TB_ajaxWindowTitle strong{ font-size:14px;} #TB_title{height:31px; background:#F5F5F5;color:#565656; } #TB_ajaxContent{clear:both;padding:2px 15px 15px 15px;overflow:auto;text-align:left;line-height:1.4em;} #TB_ajaxContent.TB_modal{padding:15px;} #TB_ajaxContent p{padding:5px 0px 5px 0px;} #TB_load{position: fixed;display:none;height:13px;width:208px;z-index:103;top: 50%;left: 50%; margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */} * html #TB_load { /* ie6 hack */ position: absolute; margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');} #TB_HideSelect{z-index:99;position:fixed;top: 0;left: 0;background-color:#fff;border:none;filter:alpha(opacity=0);-moz-opacity: 0;opacity: 0;height:100%;width:100%;} * html #TB_HideSelect { /* ie6 hack */position: absolute;height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');} #TB_iframeContent{clear:both;border:none;margin-bottom:-1px;margin-top:1px;_margin-bottom:1px;} .tips_word{ height:28px; line-height:28px;} #TB_closeWindowButton{background:url(../images/09.png) no-repeat -315px 0px;font-size:0;display:inline-block; width:22px; height:21px; cursor:pointer;} /* end thickbox*/ /*分页符*/ .zpage{ width:100%; text-align:right;} .zpage a{display:inline-block;font-family:Tahoma,SimSun,Arial;height:25px;line-height:25px;min-width:17px;_width:17px;padding:0px 5px 0px 5px;text-align:center;vertical-align:top;white-space:nowrap; border:1px #DEDEDE solid; color:#0033CC} .zpage a:hover{background:#EFEFEF} .zpage span{display:inline-block;font-family:Tahoma,SimSun,Arial;height:25px;line-height:25px;min-width:17px;_width:17px;padding:0px 5px 0px 5px;text-align:center;vertical-align:top;white-space:nowrap; border:1px #DEDEDE solid;} .zpage span.c{background:#45A929;color:#FFF; border:1px #45A929 solid; font-weight:bold;} /*公共的商品列表*/ .search_filter{} .search_filter ul{ overflow:hidden; zoom:1;} .search_filter ul.ul2{ margin-bottom:-10px} .search_filter ul.ul2 li{float:left;height:243px; height:261px;padding:0 17px 30px;width: 163px; overflow:hidden} .search_filter ul.ul2 .img_table {display: table-cell;height: 162px;overflow: hidden;position: relative;text-align: center;vertical-align: middle;width:160px;border:1px solid #dcdcdc} .search_filter ul.ul2 li .on { border-color: #FF9900;} .search_filter ul.ul2 li .text {line-height: 17px;margin-top: 8px;width: 166px;} .search_filter ul.ul2 li .text h4{height:51px; overflow:hidden} .search_filter .icon_table{ overflow:hidden;} .search_filter .icon_table a{ cursor:pointer; float:left} /*公共的推荐商品*/ .search_filter1{ margin-top:30px;} .search_filter1 .title,.search_filter1 ul.ul2{border:1px solid #dcdcdc} .search_filter1 ul.ul2{border-top:0px;} .search_filter1 ul.ul2 li{ padding-bottom:20px} .search_filter1 .title{height:28px; line-height:28px; overflow:hidden;background-color: #F5F5F5;} .search_filter1 .title h3 {color:#000000; font-size: 14px;font-weight: bold; float: left;} /*404页*/ .number404{padding:58px 0 75px 334px; width:656px; margin:0 auto} .number404 h2{ margin-bottom:25px;} .number404 p{ line-height:22px} /*404的推荐商品*/ .search_filter2{wmargin:0 auto 10px} .search_filter2 .search_filter1{ margin-top:0} .search_filter2 ul.ul2 { margin-bottom:0;} .search_filter2 ul.ul2 li{ padding-bottom:0; height:225px;} /*正确页面*/ .true{ } /*优惠卷页*/ .coupons{ padding:43px 0 97px 286px; width:704px} .coupons h2{ margin-bottom:0} .coupons p{ margin-top:3px; clear:both} .coupons .link1{ display:block; width:71px; height:26px; line-height:26px; text-align:center;} /*页面里提示错误层*/ .tip_error{ padding:75px 0} .tip_error span{font:700 14px/34px "\5B8B\4F53";color:#333; padding-left:43px; display:inline-block} .tip_error span.samll_text{ font:400 12px/17px "\5B8B\4F53";color:#666; padding-left:20px} /*图片垂直*/ .v_img_table{overflow:hidden; position:relative; display:table-cell; text-align:center; vertical-align:middle;} .v_p {position:static; +position:absolute; top:50% } .v_img {position:static; +position:relative; top:-50%;left:-50%;} /*星*/ .star_hollow2, .star_hollow3, .star_hollow4{ width:64px; height:9px; float:left; margin:0px 5px 0 0; display:inline;cursor:pointer;overflow:hidden} .star_full2, .star_full3, .star_full4{ height:9px;} .star_hollow3,.star_full3{width:68px; height:12px;} .star_hollow3{background-position:0 -237px; margin-right:8px} .star_full3{background-position:0 -255px} .star_hollow4,.star_full4{width:92px; height:16px} .star_hollow4{background-position:0 -182px} .star_full4{background-position:0 -165px} /*qq、旺旺、msn*/ a.qq,a.wang,a.msn,a.qq_1,a.wang_1,a.msn_1{ display:inline-block; width:66px; height:16px; margin:5px auto 0px; vertical-align:text-bottom;} a.qq_1{background-position:0px -57px;}a.wang{background-position:0px -77px;}a.wang_1{background-position:0px -96px;}a.msn{background-position:0px -117px;}a.msn_1{background-position:0px -135px;} /*定制、定购、促销、清仓、团购*/ .dg,.cx,.qc,.dz,.tg,.by{width:23px; height:11px; text-indent:-99999em; line-height:11px; display:inline-block; margin-left:5px;vertical-align:text-top;vertical-align:baseline\0} .dg{background-position:-24px 0} .cx{background-position:0 0} .qc{background-position:-0px -12px} .dz{background-position:-24px -12px} .tg{background-position:0 -24px} .by{background-position:-24px -24px} /*闪电发货、七天发货、先行赔付、延期赔偿、免费安装*/ .sdfh,.qtth,.xxpf,.yqpc,.mfaz{width:16px; height:16px; line-height:16px; float:left; margin:5px 0 0 5px; display:inline} .qtth{background-position:0 -301px} .xxpf{background-position:0 -331px} .yqpc{background-position:0 -364px} .mfaz{background-position:0 -395px} /*客服层*/ .service_layer{padding-top:28px; width:96px;} .service_layer .center{ padding:10px 7px;} /* .service_layer .center h3.h3_1{ background:url(../images/new_head/new_head/head_foot_bj.gif) no-repeat -865px -141px; padding-top:10px;} */ .service_layer .center li{ padding-top:6px;} .service_layer .center li img{ /*vertical-align:text-bottom;*/ margin-right:5px;width:16px; height:16px} .service_layer .bottom{ height:5px; overflow:hidden; } ================================================ FILE: taotao-item-web/src/main/webapp/css/jquery.alerts.css ================================================ #popup_container { font-family: Arial, sans-serif; font-size: 12px; min-width: 300px; /* Dialog will be no smaller than this */ max-width: 600px; /* Dialog will wrap after this width */ border:3px solid #E6E6E6; color: #000; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; } .window{ background: #FFF;} *html #popup_container{width:304px;} #popup_content { padding: 1em 1.75em; margin: 0em; } #popup_content.alert { } #popup_content.confirm { } #popup_content.prompt { } #popup_message { color: #6B6B6B; margin: 0; padding: 0; text-align:center } #popup_panel { text-align: center; margin: 1em 0em 0em 0em; } #popup_prompt { margin: .5em 0em; } .sd_window{ padding:6px; background:rgba(162,162,162,0.8); *+background:#a2a2a2;} .sd_window .content{ background:#fff; padding:0 12px 12px 12px;} .sd_window .dig_content{ padding:20px;} .sd_window .dig_content .sd_img{ width:122px; min-height:150px; float:left; background:url(../images/sd_icon.jpg) left top no-repeat; padding-right:25px;} .sd_window .popup_message{ text-align:left; overflow:hidden; zoom:1; color:#646464;} .sd_window .popup_message .sd_word{ line-height:30px; font-size:14px;} .sd_window .popup_message .sd_word1{ line-height:24px; font-size:12px;} .sd_window .popup_message .sd_tel{ padding-top:32px; font-size:12px;} .sd_window .titlehead{ height:45px; line-height:45px; background:#fafafa; border-bottom:1px solid #e1e1e1;} .sd_window .titlehead h3{ font-size:16px; color:#646464; font-weight:normal;} .sd_window .sd_close{ cursor:pointer; display:inline-block; float:right; background: url(../images/sd_close.jpg) left top no-repeat; width:17px; height:20px; position:relative; right:20px; top:13px; } .sd_window #popup_panel{margin-top:15px; height:26px; text-align:center; } .sd_window .content .sd_btn, .sd_window .content .sd_btn1{ cursor:pointer; padding:5px 15px; *+padding:5px 5px 2px; text-align:center; outline:none; border-radius:3px; margin-right:6px;} .sd_window .content .sd_btn{ color:#fff; background:#69af05; border:1px solid #69af05;} .sd_window .content .sd_btn:hover{ background:#7ac50f; border:1px solid #7ac50f;} .sd_window .content .sd_btn1{ color:#646464; background:#fff; border:1px solid #dcdcdc; } .sd_window .content .sd_btn1:hover{ color:#69af05; border:1px solid #dcdcdc;} .sd_window .content .sd_floatleft{ float:left;} ================================================ FILE: taotao-item-web/src/main/webapp/css/jquery.autocomplete.css ================================================ .ac_results { padding: 0px; border: 1px solid #dadada; background-color: white; overflow: hidden; z-index: 99; } .ac_results ul { width: 100%; list-style-position: outside; list-style: none; padding: 0; margin: 0; } .ac_results li { margin: 0px; padding: 2px 5px; cursor:pointer; display: block; /* if width will be 100% horizontal scrollbar will apear when scroll mode will be used */ /*width: 100%;*/ font: menu; font-family: arial,tahoma,宋体; font-size: 12px; /* it is very important, if line-height not setted or setted in relative units scroll will be broken in firefox */ line-height: 18px; overflow: hidden; } .ac_loading { background:#fff; } .ac_odd { /*background-color: #eee*/; } .jq_auto_complete_key{ float:left; } .jq_auto_complete_results{ float:right; color:#646464 } .jq_auto_complete_category_tip{ padding-left:2em; color:#777; } .ac_over { background-color:#f9f9f9;color:#646464; } .ac_over .jq_auto_complete_results,.ac_over .jq_auto_complete_category_tip{ color:#646464; } ================================================ FILE: taotao-item-web/src/main/webapp/css/product.css ================================================ html {_background-image: url(about:blank);_background-attachment: fixed;} body{background:url(../images/productbg.gif) repeat-x 0 185px white;} .pCommand{float:right;} .pCommand img{ vertical-align:middle;} .pCulture li{height:130px;border-bottom:1px dotted #d5d5d5;padding:15px;overflow:hidden;zoom:1;} .pCulture li .pic{float:left;width:140px;} .pCulture li .pic img{width:120px;height:120px;} .pCulture li .txt{overflow:hidden;zoom:1;} .pCulture h3,.pCulture p{font-size:12px;margin-top:5px;} .pCulture p{line-height:22px;height:88px;overflow:hidden;} .pCulture p a{color:#6B6B6B;} font.li_text3_1{color:#333333;} font.li_text3_1 strong{color:#ea5405;} font.li_text3_1 b{color:#ea5405;} #stock font{font-weight:bold; color:#ea5405; font-size:12px;} /*--商品信息--*/ .product_info{font-size:14px;line-height:22px;clear:both;overflow:hidden} .product_info h2{padding:0px;height:40px;margin:12px 0px 12px 0px; clear:both;text-indent:0px;} .product_info span{display:block;width:350px; text-align:center; float:left;} .cpjs_list{clear:both;margin:0px; padding:0px; height:100%;overflow:hidden;zoom:1;background-color:#f5f5f5;} .cpjs_list li{color:#6b6b6b; float:left; width:404px; padding:0px;height:20px; line-height:20px;padding:4px 0;} .cpjs_list li strong{ font-weight:normal; width:100px; text-align:right; display:block; float:left; height:20px; line-height:20px; padding:0px 6px 0px 0px; margin:0px 6px 0px 0px;} .cpjs_titlelist{clear:both;} .cpjs_titlelist li{color:#6b6b6b; padding:4px 0px 4px 0px;} .cpjs_titlelist li span{ font-weight:normal; width:100px; text-align:right; display:block; float:left; } .cpjs_box{clear:both;padding:12px;clear:both;} .cpjs_box h1{ font-size:14px;background:#efefef; font-weight:bold; padding:6px 6px 0px 6px; border:0px;} .cpjs_box p,.ps_box p{ font-size:14px;line-height:24px; } .cpjs_box p img{margin:12px 12px 0px 0px} /*服务承诺*/ .pFuwu{padding:10px 0;margin:0;} .pFuwu dd,.pFuwu dt{padding:0;margin:0;} .pFuwu .t1,.pFuwu .t2,.pFuwu .t3,.pFuwu .t4,.pFuwu .t5{background-image:url(../images/psprite.gif);background-repeat:no-repeat;height:45px;text-indent:-9999px;background-color:#fafafa;} .pFuwu .t1{background-position:10px 0;} .pFuwu .t2{background-position:10px -45px;} .pFuwu .t3{background-position:10px -90px;} .pFuwu .t4{background-position:10px -135px;} .pFuwu .t5{background-position:10px -180px;} .pFuwu .txt{color:#333333;font-size:14px;font-family:微软雅黑;text-indent:30px;line-height:28px;} .pFuwu .p{padding:10px 0px 5px 30px;text-align:center;} .cpjs_list li{width:402px;} .cp_box h1{font-family:微软雅黑;font-size:16px;} .cp_box h1 span{font-size:16px;} ul.cn_box{overflow:hidden;} .pSpec{overflow:hidden;zoom:1;width:396px;position:relative;} .pSpec div{float:left;border:1px solid #cbcbca;height:26px;margin:0 5px 5px 0;display:inline;position:relative;white-space:nowrap;} .pSpec div a{float:left;} .specBlock{display:block;margin:1px;background-color:white;height:24px;line-height:24px;color:#565656;padding:0 4px;} a.specBlock:hover{text-decoration:none;} .pSpec div.pClickOn{background-color:#804f21;border:1px solid #176246;} .specHover{background: url(../images/psprite.gif) no-repeat 0 -225px;top:15px;display: block;height: 11px;position:absolute;right:0px;width:11px;} .cp_r ul li.pCartBtn{border-top:1px dashed #B2B2B2;padding:10px 6px;} input.border{border:1px solid #c9c9c9} .sfshare{float:right;line-height:16px;padding:5px 10px 0 10px;} /*评论*/ .simpleItem{background-color:#f5f5f5;padding:10px;} :focus {outline: 0 none;} .linknav {height: 20px;line-height: 20px;margin: 10px auto;overflow: hidden;width: 1200px;} .pWrap{width:1200px;margin:0 auto;} .productIntro{margin-bottom:10px;} .pItems{float:left;width:978px;background-color:#fbfbfb;-webkit-box-shadow:0 0 4px #efefef;box-shadow:0 0 4px #c7c7c7;position:relative;z-index:2;} .pItemsMain{float:right;width:568px;} .pItemsSide{float:right;width:222px;overflow:hidden;background-color:#ffffff;position:relative;z-index:1;} .pItemsName{} .pItemsName .cm{padding:0 15px;margin:10px 0;height:60px;overflow:hidden;zoom:1;} .pItemsName h1,.pItemsName strong{font-size:18px;font-family:微软雅黑;line-height:30px;} .pItemsName h1{float:left;color:#191c1f;} .pItemsName h1 a:link,.pItemsName h1 a:visited,.pItemsName h1 a:hover{color:#191c1f;text-decoration:none;cursor:text;} .pItemsName strong{color:#fa6400} .pItemsName strong a:link,.pItemsName strong a:visited,.pItemsName strong a:hover{color:#fa8200;text-decoration:none;cursor:text;} .pItemsPrice{background-color:#fa8e19;height:90px;zoom:1;margin-bottom:10px;border-bottom:3px solid #dddddd;} .priceBox{float:left;overflow:hidden;zoom:1;color:white;} .priceBox .dt{float:left;padding:55px 0 0 30px;height:18px;line-height:18px;} .priceBox .dd{float:left;padding:55px 0 0 0px;height:18px;line-height:18px;font-family:微软雅黑;text-decoration:line-through;} .priceBox .dd2{float:left;padding:51px 0 0 0px;height:22px;line-height:22px;font-size:20px;font-family:微软雅黑;} .priceBox .rmb{float:left;padding:53px 0 0 0;height:18px;line-height:18px;font-size:18px;font-family:微软雅黑;} .priceBox strong{float:left;padding:30px 0 0 0;font-family:微软雅黑;font-size:50px;height:45px;line-height:45px;} .priceBox strong span{font-size:24px;} .daoJiShi{float:right;padding:10px 20px 0 0;color:white;} .boxWb{width:5px;height:96px;background:url(../images/productinfo.png) no-repeat -271px -121px;position:absolute;right:-5px;} .pItemsPromo{margin-bottom:6px;padding:0 5px;} .pItemsPromo .dt,.pItemsStock .dt{float:left;width:90px;text-align:right;line-height:25px;} .pItemsPromo .dd,.pItemsStock .dd{float:left;width:465px; z-index:91;} .pItemBook{padding:10px 0;margin:0 20px;} .pItemBook dt{padding-bottom:10px;border-bottom:1px solid #efefef;margin-bottom:10px;} .pItemBook .yushou1{width:270px;height:16px;background: url(../images/productinfo.png) no-repeat 0 -169px;} .pItemBook .yushou2{width:270px;height:16px;background: url(../images/productinfo.png) no-repeat 0 -185px;} .pItemBook .yushou3{width:270px;height:16px;background: url(../images/productinfo.png) no-repeat 0 -201px;} .pItemBook dd div{padding-bottom:5px;} .pFreight{ height:25px; line-height:25px;} .ysTip{color:#fa8200;} .pItemsPromo .dt{margin-top:5px;} .promoBox li{padding:4px 0 2px 0;color:#6b6b6b;} .promoBox .promotion .ct,.promoBox .pGifts .ct{float:left;background-color:#6f9a09;color:white;padding:0 2px;margin-right:10px;line-height:16px;margin-top:5px;_display:inline;} .promoBox a:link,.promoBox a:visited{color:#669900;} .promoBox a:hover{color:#fa9600;} .promoBox .pGifts{overflow:hidden;zoom:1;} .promoBox .pGifts .cp{float:left;width:28px;height:28px;border:1px solid #dcdcdc;overflow:hidden;margin-right:10px;_display:inline;} .promoBox .promotion .cm,.promoBox .pGifts .cm{display:block;overflow:hidden;zoom:1;line-height:16px;margin-top:5px;} .promoBox .pGifts img{width:28px;height:28px;} .promoBox .promotion .scm{width:340px;zoom:1;position:relative;margin-top:5px;} .promoBox .promotion b{float:left;margin-top:8px;margin-left:8px;width:5px;height:3px;background:url(../images/productinfo.png) no-repeat -271px -47px;right:0;} .promoBox .promotion .sdd{background-color: #FFFFFF;border: 1px solid #709c0f;color: #333333;left: -61px;margin-top: -11px;padding: 8px 10px;position: absolute;width: 360px;z-index: 99;line-height:22px;} .promoBox .promotion .sdd .ct{line-height:16px;margin-top:2px;} .promoBox .promotion .scm span.fl{width:300px;height:20px;overflow:hidden;} .pItemsStock{margin-bottom:10px;padding:0 5px;} .pItemsPrompt{line-height:25px;} .pItemsChoose{border-top:1px solid #efefef;padding-top:10px;margin:0 20px;} .chooseType{overflow:hidden;zoom:1;} .chooseType li{border: 1px solid #dbdbdb;_display: inline;float: left;height: 24px;margin: 0 10px 10px 0;position: relative;white-space: nowrap;} .chooseType li.selected{background-color:#ffffff;border:1px solid #6d9a09;} .chooseType a{float:left;} .chooseType a:hover{text-decoration:none;} .typeBlock {background-color: #FFFFFF;color: #565656;display: block;height: 24px;line-height: 24px;padding: 0 4px;margin:0;} .chooseType li.selected span {background: url(../images/productinfo.png) no-repeat -264px -28px;display: block;height: 12px;position: absolute;right: 0;top: 12px;width: 12px;} .chooseType a.disable{color:#dadada;cursor:default;} .chooseBtns{margin:10px 0;position:relative;height:45px;} .pAmount{width:81px;float:left;margin-right:10px;overflow:hidden;_display:inline;} .pAmount span{float:left;} .pAmount .text{width:53px;height:43px;border:1px solid #dadada;overflow:hidden;font-size:18px;text-align:center;line-height:43px;color:#6b6b6b;font-family:宋体; } .pAmount a{height:21px;width:25px;border-top:1px solid #dadada;border-right:1px solid #dadada;text-align:center;line-height:21px;display:block;overflow:hidden;text-decoration:none;cursor:pointer;color:#6b6b6b;font-size:14px;font-family:宋体;overflow:hidden;} .pAmount a:hover{text-decoration:none;} .pAmount a.p-add{} .pAmount a.p-reduce{border-bottom:1px solid #dadada;} .pAmount a.disable{color:#ececec;cursor:default;} .pBtn{float:left;margin-right:10px;_display:inline;} .pBtn a{width:130px;height:45px;background-color:#669900;display:block; border-radius:2px; text-align:center;padding:0 0 0 30px;color:white;font-family:微软雅黑;font-size:18px;line-height:45px;position:relative;cursor:pointer;} .pBtn a:hover{text-decoration:none;background:#69AF05;} .pBtn a b{position:absolute;top:12px;left:18px;width:22px;height:20px;background:url(../images/productinfo.png) no-repeat -269px -72px;display:block;} .preBtn a{padding:0;width:160px;} .preBtn a b{display:none;} .noShip{font-size:20px;color:#565656;font-family:微软雅黑;height:45px;line-height:45px;padding-left:20px;} .finalBuy{border:1px solid #dadada;background-color:white;margin-bottom:10px;} .finalBuy .dt{height:30px;line-height:30px;background-color:#f5f5f5;font-family:微软雅黑;color:#565656;padding-left:10px;font-size:14px;} .finalBuy .item{overflow:hidden;zoom:1;padding:10px 0 0 18px;overflow:hidden;} .finalBuy .item li{float:left;width:90px;padding:0 10px 10px 0;overflow:hidden;} .finalBuy .item .pic{width:90px;} .finalBuy .item img{width:90px;height:90px;} .finalBuy .item .pname{line-height:18px;height:36px;overflow:hidden;margin-top:5px;} .finalBuy .item .price{color:#bb3221;} .sideWrap{} .points{padding-top:20px;margin:0 10px;overflow:hidden;} .points ul{width:204px;border-bottom:1px dashed #e8e8e8;overflow:hidden;zoom:1;} .points ul li{float:left;width:67px;border-right:1px dashed #e8e8e8;height:65px;text-align:center;} .hcBox{margin:0 10px; border-bottom:1px solid #efefef;padding:10px;} .hcBox .hcImg, .hcBox span{ display:block;} .hcBox span{margin:0 auto; line-height:18px;} .hcBox .hcImg{ height:32px; padding-top:10px; margin:0 auto;} .hcBox .hcTitle{height:18px; padding-top:6px; color:#659a02; font-size:14px; text-align:center;overflow: hidden;} .hcBox .hcCon{ padding-top:10px; color:#646464;} .temperature{padding:10px 0 10px 10px;margin:0 10px;} .temperature .ct{margin-bottom:6px;} .temperature .cm{margin-left:5px;} .temper1{background:url(../images/temperature1.jpg) no-repeat;width:171px;height:34px;display:block;} .temper2{background:url(../images/temperature2.jpg) no-repeat;width:171px;height:34px;display:block;} .temper3{background:url(../images/temperature1.jpg) no-repeat;width:171px;height:34px;display:block;} .pdetail{padding:10px;margin:0 10px;border-top:1px solid #efefef;} .pdetail ul li{height:16px;line-height:16px;margin-bottom:8px;overflow:hidden;} .nosupport{height:23px;border:1px solid #e3e3e3;border-radius:10px;position:relative;padding:0 0 0 23px;line-height:23px;background-color:#fbfbfb;color:#969696;} .nosupport b{position:absolute;width:13px;height:14px;background:url(../images/productinfo.png) no-repeat -173px -28px;top:5px;left:5px;} .support{height:23px;border:1px solid #e3e3e3;border-radius:10px;position:relative;padding:0 0 0 23px;line-height:23px;background-color:#fbfbfb;color:#969696;} .support b{position:absolute;width:13px;height:14px;background:url(../images/productinfo.png) no-repeat -186px -28px;top:5px;left:5px;} .pcommdetail{padding-bottom:10px;border-top:1px solid #efefef;} .prate{padding:5px 10px 0 20px;overflow:hidden;zoom:1;} .prate dt{font-weight:bold;float:left;line-height:30px;} .prate dd{display:block;overflow:hidden;zoom:1;} .prate dd .dd{float:left;width:80px;height:8px;background-color:#f9b872;margin:12px 5px 0 5px;overflow:hidden;_display:inline;} .prate dd .dd span{height:8px;background-color:#f9a345;display:block;overflow:hidden;} .prate dd strong{font-size:24px;font-family:微软雅黑;color:#fa8200;overflow:hidden;zoom:1;line-height:30px;} .prate dd strong span{font-size:14px;} .pcomment{padding:0 20px;} .pcomment dt{color:#6c9c0a;} .pcomment dt a:link,.pcomment dt a:visited{color:#6c9c0a;} .pcomment dd{color:#999999;padding-top:6px;position:relative;} .pcomment dd div{border:1px solid #f8cd9e;padding:8px 10px;} .pcomment dd b{position:absolute;top:0;border-color: #FBFBFB #FBFBFB #F8CD9E #FBFBFB;border-style: dashed dashed solid dashed;border-width: 0 5px 6px 5px;display: inline-block;font-size: 0;height: 0;overflow: hidden;width: 0;left:30px;} .pcomment dd div span{display:block;line-height:20px;height:60px;overflow:hidden;word-break:break-all;} .pcomment dd div span a:link,.pcomment dd div span a:visited{color:#999999;} .pcomment dd div span a:hover{text-decoration:none;} .pView{float:left;width:410px;position:relative;background-color:white;height:410px;z-index:92;} .cloud-zoom-lens {background-color:#fff;cursor:move;} .cloud-zoom-title {font-family:Arial, Helvetica, sans-serif;position:absolute !important;background-color:#000; color:#fff; padding:0px;width:100%; text-align:center;font-weight:bold;font-size:10px;top:0px;} .cloud-zoom-big {border:1px solid #dddddd;overflow:hidden;} .cloud-zoom-loading {color:#fff;padding:0px;border:0px; position:absolute;} .rollBox .rollImg{width:380px;overflow:hidden;} .rollBox .rollImg li{width:76px;float:left;} .rollBox .rollImg li img{width:66px;height:66px;} .rollBox .rollBtns{height:68px;width:10px;} .main-box{float:right;width:1004px;} .pGroup{margin-bottom:10px;border:1px solid #dadada;position:relative;z-index:1;overflow:hidden;zoom:1;background-color:white;} .pGroup .ct{height:30px;line-height:30px;background-color:#f4f4f4;font-size:14px;font-family:微软雅黑;text-indent:15px;color:#565656;} .pGroup .cm{padding:10px 0;} .pGroup .sct ul{overflow:hidden;zoom:1;padding:0 20px;margin-bottom:10px;} .pGroup .sct ul li{float:left;margin-right:20px;_display:inline;color:#565656;} .pGroup .groupCon{overflow:hidden;zoom:1;} .pGroup .master{float: left;overflow: hidden;padding: 0 0 0 7px;text-align: center;width: 150px;} .pGroup .master b,.pGroup .suits b{width:23px;height:22px;float:right;background:url(../images/productinfo.png) no-repeat -218px -28px;margin-top:40px;margin-right:3px;_display:inline;} .pGroup .pic{padding:5px 0;} .pGroup .pic img{width:100px;height:100px;} .pGroup .pname{color:#6b6b6b;text-align:left;line-height:20px;height:40px;overflow:hidden;word-break: break-all;word-wrap: break-word;width:100px;} .pGroup .master .pname{padding:0 13px;} .pGroup .price{width:120px;padding-top:5px;} .pGroup .master .price{padding-left:13px;padding-right:13px;display:none;} .pGroup .suits{overflow-x:auto;overflow-y:hidden;width:620px;height:200px;float:left;} .pGroup .suits li{padding-left: 20px;width: 145px;float:left;} .pGroup .infos{float:left;padding-left:10px;width:190px;} .pGroup .infos b{width:23px;height:22px;float:left;background:url(../images/productinfo.png) no-repeat -242px -28px;margin-top:45px;margin-right:3px;_display:inline;} .pGroup .infos .gPrice,.pGroup .infos .gPromo,.pGroup .infos .gBtn{margin-left:35px;margin-bottom:10px;} .pGroup .infos .gPrice{margin-top:40px;} .pGroup .infos .gPrice strong{color:#eb5404;} #package .pGroup .suits{width:790px;} .commDetail{background-color:white;padding:10px;overflow:hidden;zoom:1;} .pScore{float:left;width:280px;border-right:1px dotted #dfdfdf;padding:20px;text-align:center;} .pScore strong{font-size:60px;font-family:微软雅黑;color:#ea5404;line-height:60px;} .pScore strong span{font-size:24px;} .pPercent{float:left;width:314px;border-right:1px dotted #dfdfdf;height:113px;} .pPercent dl,.pPercent dt,.pPercent dd{margin:0 10px 0 0;padding:0;} .pPercent dl{overflow:hidden;zoom:1;margin-top:15px;} .pPercent dt{float:left;width:100px;text-align:right;} .pPercent dd{float:left;} .pPercent dd.pBar{width:100px;background-color:#dddddd;height:10px;margin-top:2px;font-size:1px;font-height:0;} .pPercent dd.pBar div{height:10px;background-color:#fa6400;} .showMore{color:#6c9c0a;padding:0 10px;line-height:30px;} .showMore a:link,.showMore a:visited{color:#6c9c0a;} .showMore a:hover{color:#6c9c0a; text-decoration:underline;} .pBtns{float:left;margin:20px 0px 0 50px;display:inline;} .pBtns div{height: 30px;overflow:hidden;zoom:1;} #commands .pt{line-height:22px;} .pDetail{height:34px;border:1px solid #dbdbdb;width:1002px;background-color:white;} .pFixed{position:fixed;top:0;z-index:100;} * html .pFixed{position:absolute;bottom:auto;top:expression(eval(document.documentElement.scrollTop));} .p-btn{float:right;margin:5px 10px 0 0;_display:inline;width:90px;height:24px;} .p-btn a{display:block;width:22px;width:65px;background: url(../images/productinfo.png) no-repeat -190px -75px;border:1px solid #DADADA;color:#557E00;cursor:pointer;font-size:12px;line-height:22px;padding:0 0 0 25px;text-decoration: none;} .p-btn a:hover{text-decoration:none;background: url(../images/productinfo.png) no-repeat -190px -52px #6b9c05;color:white;border:1px solid #6b9c05;} .p-btns{width:90px;height:24px;margin:10px auto;} .p-btns a{display:block;width:22px;width:65px;background: url(../images/productinfo.png) no-repeat -190px -75px;border:1px solid #DADADA;color:#557E00;cursor:pointer;font-size:12px;line-height:22px;padding:0 0 0 25px;text-decoration: none;} .p-btns a:hover{text-decoration:none;background: url(../images/productinfo.png) no-repeat -190px -52px #6b9c05;color:white;border:1px solid #6b9c05;} .pre-btn{float:right;margin:5px 10px 0 0;_display:inline;width:90px;height:24px;} .pre-btn a{display:block;width:22px;width:90px;border:1px solid #DADADA;color:#557E00;cursor:pointer;font-size:12px;line-height:22px;text-decoration: none;text-align:center;} .pre-btn a:hover{text-decoration:none;color:white;border:1px solid #6b9c05;background-color:#6b9c05;} .pTab{overflow:hidden;zoom:1;position:absolute;height:35px;} .pTab li{float:left;height:34px;line-height:34px;text-align:center;border-right:1px solid #dadada;border-bottom:1px solid #dadada;background-color:#ffffff;color:#565656;overflow:hidden;} .pTab li a{color:#565656;text-decoration:none;height:34px;float:left;padding:0 25px;text-decoration:none;} .pTab li a:hover{text-decoration:none;} .pTab li.curr{background-color:#6c9c0a;border-right:1px solid #6c9c0a;border-bottom:1px solid #6c9c0a;} .pTab li.curr a{color:white;} .pTab li a b{color:#176246;font-weight:normal;} .pTab li.curr a b{color:white;font-weight:normal;} .commentList{ margin-top:10px;} .pbtn2{color:#6c9c0a;border:1px solid #d9d9d8;height:20px;line-height:20px;padding:5px 20px;} .pbtn2:hover{text-decoration:none;color:white;border:1px solid #6b9c05;background-color:#6b9c05;} .pbtn3{background-color:#6c9c0a;height:20px;line-height:20px;padding:3px 20px;display:block;color:white;float:left;} .pbtn3:hover{text-decoration:none;background:url(../images/productinfo.png) no-repeat 0 -124px;} .pbtn4{background-color:#6c9c0a;height:24px;line-height:24px;color:white;float:left;margin-right:10px;width:90px;text-align:center;_display:inline;} .pbtn4:hover{text-decoration:none;background:url(../images/productinfo.png) no-repeat 0 -124px;} .pt{overflow:hidden;zoom:1;border:1px solid #dadada;margin-bottom:10px;} .pTop{font-family:宋体;font-weight:bold;font-size:14px;color:#666666;height:30px;line-height:30px;text-indent:10px;background-color:#f4f4f4;} .commentAll{height:30px;position:relative;border-bottom:1px solid #aaaaaa;margin-bottom:10px;font-size:14px;} .commentAll h2{border-bottom:2px solid #ea5404;position:absolute;height:20px;padding:5px 20px 4px 10px;float:left;color:#ea5404;top:0;font-size:14px;} .commentAll h2 span{font-weight:normal} .commentAll h3{height:20px;padding:5px 10px 4px 10px;display:inline-block;font-size:14px;font-weight:normal;margin-right:6px;*display:inline;+zoom:1;} .commentAll h3 a:hover{ color:#ea5404; text-decoration:none;} .commentAll h3.curr{border-bottom:2px solid #ea5404;color:#ea5404;font-weight:bold;} .commentAll h3.curr a:hover{ text-decoration:none;} .commentAll h3.curr a:link,.commentAll h3.curr a:visited{color:#ea5404;} .commentAll h3 font{font-weight:normal;} .pComment{padding:0px 0 10px 0;background-color:white;} .pComment li{padding:10px 0 0 0;position:relative;overflow:hidden;zoom:1;} .pComment .pItem{overflow:hidden;zoom:1;padding:10px 0 0 0;position:relative;} .pComment .user{float:left;width:100px;text-align:center;margin:0 15px 0 10px;overflow:hidden;display:inline;} .pComment .user .uLevel{color:#999999;line-height:20px;} .pComment .user .uName{color:#999999;word-wrap:break-word;word-break:break-all;line-height:18px;} .pComment .item{overflow:hidden;zoom:1;background-color:#fefdfd;border:1px solid #dadada;padding:10px;} .pComment .topic{line-height:30px;height:30px;overflow:hidden;zoom:1;border-bottom:1px solid #dadada;padding-left:10px;} .pComment .topic .ct,.pComment .topic .s{float:left;margin-right:15px;_display:inline;} .pComment .topic .s{color:#6b6b6b;padding-top:7px;position:relative;padding-right:64px;} .pComment .topic .s b{position:absolute;top:8px;right:0;width:64px;height:12px;} .pComment .topic .s b.star0{background:url(../images/star.jpg) no-repeat;} .pComment .topic .s b.star1{background:url(../images/star.jpg) no-repeat 0 -12px;} .pComment .topic .s b.star2{background:url(../images/star.jpg) no-repeat 0 -24px;} .pComment .topic .s b.star3{background:url(../images/star.jpg) no-repeat 0 -36px;} .pComment .topic .s b.star4{background:url(../images/star.jpg) no-repeat 0 -48px;} .pComment .topic .s b.star5{background:url(../images/star.jpg) no-repeat 0 -60px;} .pComment .topic .t,.pComment .topic .w{float:right;color:#6b6b6b;padding:0 0 0 10px;} .pComment .itemCont{padding:10px 0 0 10px;} .pComment .itemCont dl{margin:5px 0;padding:0;overflow:hidden;zoom:1;line-height:20px;} .pComment .itemCont dt{float:left;width:60px;margin:0;padding:0;} .pComment .itemCont dd{overflow:hidden;zoom:1;margin:0;padding:0;} .pComment .itemCont .r{color:#565656;} .pComment .corner{width:8px;height:15px;position: absolute;top:30px;left:118px;z-index:2;_left:-4px;} .pComment .pItem .corner,.pComment li .corner{_left:120px;} .pComment .corner .aBg,.pComment .corner .aCt{display: block;font-size: 0;height: 0;line-height: 0;overflow: hidden;width: 0;} .pComment .aBg{border-bottom: 8px dashed rgba(0, 0, 0, 0);border-bottom: 8px dashed white\0;border-right: 8px solid #dadada;border-top: 8px dashed rgba(0, 0, 0, 0);border-top: 8px dashed white\0;position: relative;border-left:0 none;} .pComment .aCt{border-bottom: 8px dashed rgba(0, 0, 0, 0);border-bottom: 8px dashed white\0;border-right: 8px solid #fefdfd;border-top: 8px dashed rgba(0, 0, 0, 0);border-top: 8px dashed white\0;position: relative;border-left:0 none;margin:-16px 0 0 1px;} :root .pComment .aBg{border-bottom: 8px dashed rgba(0, 0, 0, 0);border-top: 8px dashed rgba(0, 0, 0, 0);} :root .pComment .aCt{border-bottom: 8px dashed rgba(0, 0, 0, 0);border-top: 8px dashed rgba(0, 0, 0, 0);} *+html .pComment .aBg{border-bottom: 8px dashed white;border-top: 8px dashed white;} *+html .pComment .aCt{border-bottom: 8px dashed white;border-top: 8px dashed white;} *html .pComment .aBg{border-bottom: 8px dashed white;border-top: 8px dashed white;} *html .pComment .aCt{border-bottom: 8px dashed white;border-top: 8px dashed white;} .pComment .sunTxt{padding:10px;line-height:20px;color:#565656;} .pComment .sunImg{overflow:hidden;padding:0 0 0 10px;} .pComment .sunImg li{float:left;margin-right:10px;padding:0;display:inline;position:static;} .pComment .sunImg li a{display:block;width:65px;height:65px;border:1px solid #dedede;} .pComment .sunImg li a:hover{border:1px solid #89af3b} .sunBigShow{width:610px;overflow:hidden;padding:10px 0;} .sunBigImg{padding:0 0 0 10px;} .sunItem{overflow:hidden;padding:0 0 0 10px;} .sunItem li{float:left;padding:0 9px 10px 0;display:inline;cursor:pointer;height:80px;} .sunItem img{width:65px;height:65px;border:1px solid #dadada;padding:1px;} .sunItem li.curr img{border:2px solid #6c9c0a;padding:0px;} .sunItem li .sunArror{display:none;border-bottom:0 none;border-left:8px dashed rgba(0, 0, 0, 0);border-left:8px dashed white\0;border-right:8px dashed rgba(0, 0, 0, 0);border-right:8px dashed white\0;border-top:8px solid #6c9c0a; display: block;font-size: 0;height: 0;line-height: 0;overflow: hidden;width: 0;position:relative;top:-5px;top:0\0;left:26px;} :root .sunItem li .sunArror{border-left: 8px dashed rgba(0, 0, 0, 0);border-right: 8px dashed rgba(0, 0, 0, 0);} @media screen and (-webkit-min-device-pixel-ratio:0){ .sunItem li .sunArror {top:0} } *+html .sunItem li .sunArror{border-left: 8px dashed white;border-right: 8px dashed white;top:0;} *html .sunItem li .sunArror{border-left: 8px dashed white;border-right: 8px dashed white;top:0;} .sunRe{line-height: 20px;margin: 5px 10px;overflow: hidden;padding: 0;zoom:1;} .sunItem li.curr .sunArror{display:block;} .sunRe dt{float: left;margin: 0;padding: 0;width: 60px;} .sunRe dd{margin: 0;overflow: hidden;padding: 0;zoom:1;} .sdTip{float:right;font-size:12px;font-weight:normal;padding-right:10px;} .pLike{padding:10px 10px 5px 10px;} .pLike a{text-decoration:none;background-color:#f0f0f0;display:inline-block;*display:inline;+zoom:1;height:21px;line-height:21px;position:relative;padding:0 10px 0 30px;} .pLike b{position:absolute;background:url(../images/plike.gif) no-repeat;width:12px;height:12px;top:4px;left:10px;} .pLike a.click{text-decoration:none;} .pLike a.click b{background:url(../images/plike.gif) no-repeat -12px 0;} .pComment .sunImg li a.ui-sun-more{border:0;padding-top:49px;height:16px;} .pComment .sunImg li a.ui-sun-more:hover{color:#669900;text-decoration:none;} .left-box{float:left;width:186px;} .catlist{border:1px solid #dadada;overflow:hidden;margin-bottom:10px;background-color:white;} h2.t{height:30px;line-height:30px;font-family:微软雅黑;font-size:14px;background-color:#f4f4f4;color:#666666;text-indent:10px;font-weight:normal;} h2.tm{height:30px;line-height:30px;font-family:微软雅黑;font-size:12px;background-color:#f4f4f4;color:#666666;text-indent:10px;} .pClass{padding:8px 0px 8px 10px;overflow:hidden;zoom:1;color:#565656;} .pClass strong a{display:block;width:138px;} .pClass a{display:block;float:left;width:76px;color:#565656;line-height:22px;height:22px;overflow:hidden;margin-right:8px;_display:inline;} .clickShow{display:block;width:182px;height:9px;margin:1px;padding:2px 0;background-color:#f4f4f4;cursor:pointer;} .clickShow b.hide{display:block;height:9px;width:12px;margin:0px auto;background:url(../images/psprite.gif) no-repeat -11px -225px;} .clickShow b.show{display:block;height:9px;width:12px;margin:0px auto;background:url(../images/psprite.gif) no-repeat -23px -225px;} .l-recommend{border:1px solid #dadada;margin-bottom:10px;background-color:white;} .l-recommend h2{height:30px;line-height:30px;background-color:#f5f5f5;color:#565656;font-family:"微软雅黑";font-size:14px;font-weight:normal;padding:0 0 0 10px;} .pCont{background-color:white;} .pJiucuo{padding:5px 0;} .pJiucuo a:link,.pJiucuo a:visited{color:#4c9811;} .pRecomm{height:325px;overflow:hidden;} .l-hot,.l-buy{padding:0 10px;} .l-hot li{border-bottom:1px dotted #d5d5d5;padding:10px 0;} .l-hot .p-name{height:18px;line-height:18px;overflow:hidden;} .l-hot .fore{overflow:hidden;zoom:1;} .l-hot .fore .p-img{float:left;width:50px;height:50px;margin-right:8px;_display:inline;} .l-hot .fore .p-img img{height:50px;height:50px;} .l-hot .fore .p-name{width:106px;height:40px;line-height:20px;float:left;overflow:hidden;} .l-hot .fore .p-price{width:106px;height:20px;line-height:20px;float:left;overflow:hidden;color:#BB3221;font-size:16px;font-family:"微软雅黑";} .l-hot .last{border-bottom:0 none;} .l-buy li{padding:10px 0;} .l-buy .p-img{text-align:center;} .l-buy .p-img img{width:120px;height:120px;} .l-buy .title-a,.l-buy .title-b,.p-guess .title-a,.p-guess .title-b,.fl-pic .title-a,.fl-pic .title-b{height:20px;line-height:20px;overflow:hidden;} .l-buy .title-a,.p-guess .p-price,.fl-pic .p-price{margin-top:5px;} .l-buy .title-b,.p-guess .title-b,.fl-pic .title-b{color:#EA5404;} .l-buy .title-b a:link,.p-guess .title-b a:link,.fl-pic .title-b a:link,.l-buy .title-b a:visited,.p-guess .title-b a:visited,.fl-pic .title-b a:visited{color:#EA5404;} .l-buy .p-price{height:20px;line-height:20px;overflow:hidden;color:#BB3221;font-size:16px;font-family:"微软雅黑";} .l-promo img{width:186px;padding-top:10px;} /*分页*/ .plpage{margin-left:125px;overflow:hidden;zoom:1;} .plpage .showAll{float:left;color:#6c9c0a} .plpage .showAll a:link,.plpage .showAll a:visited{color:#6c9c0a} .plpage .pages{float:right;margin:0;padding:5px 0;} /*加入购物车弹框*/ .pWindow{width:416px;border:1px solid #dbdbdb;background-color:#ffffff;position:absolute;z-index:999;padding:} .pWindow .hd{border-bottom:1px solid #196247;padding:15px 10px 10px 80px;} .pWindow .getIt{font-family:微软雅黑;font-size:18px;color:#45403a;} .pWindow .showOther{padding-left:30px;color:#6c9c0a;} .pWindow .showOther a:link,.pWindow .showOther a:visited{color:#6c9c0a;} .pWindow .item{overflow:hidden;zoom:1;} .pWindow .bd .dt{padding:5px 12px;color:#565656;} .pWindow .bd .dd{padding:10px 16px 0 16px;width:384px;overflow:hidden;margin-bottom:10px;} .pWindow .item{width:394px;} .pWindow .item li{float:left;width:90px;margin-right:8px;_display:inline;} .pWindow .item .pic,.pWindow .item .pname{margin-bottom:5px;} .pWindow .item .pname{height:36px;line-height:18px;overflow:hidden;} .pWindow .item .pic img{width:90px;height:90px;} .pWindow .item .price{color:#bb3221;} .pWindow .pClose{background: url(../images/sf-stock.png) no-repeat 0 -70px;height: 17px;position: absolute;top: 10px;right:10px;width: 17px;cursor:pointer;} /*纠错页面*/ .errCorrection h3{font-size:16px;font-family:微软雅黑;color:#565656;height:30px;line-height:30px;text-indent:40px;} .errCorrection .cm{background-color:#fefcfd;border-top:2px solid #dadada;overflow:hidden;zoom:1;padding:30px 0;} .errCorrection dl{padding:0 30px 10px 50px;float:left;width:600px;} .errCorrection dt{margin-bottom:10px;text-indent:26px;} .errCorrection .scm{background-color:#f5f5f5;border:1px solid #ecebeb;padding:10px;color:#565656;} .errCorrection .scm .dt,.errCorrection .scm .dd{margin-bottom:6px;} .errCorrection .scm label{float:left;width:60px;text-align:right;} .errCorrection .scm textarea{width:500px;height:160px;resize:none;font-size:12px;line-height:20px;padding:0 5px;color:#565656;background-color:white;border:0 none;} .errCorrection .scm .text{border: 1px solid #CCCCCC;font-size: 12px; height: 16px;padding: 4px 3px;width: 50px;} .errCorrection .scm .code_msg{float:left;color:#EA5404;padding-left:10px;} .errCorrection .scm .dd,.errCorrection .scm .dd span{overflow:hidden;zoom:1;line-height:25px;} .errCorrection .scm .dd span{display:block;} .errCorrection .scm .dd div{text-align:right;color:#a5a5a5;} .errCorrection .flashTips{color:#fa8200;padding:5px 0;} .errCorrection .rBanner{width:510px;height:390px;overflow:hidden;} .errCorrection .rBanner img{width:510px;height:390px;} .errCorrection .Btn{height:22px;width:78px;border:1px solid #dcdcdc;text-align:center;line-height:22px;background-color:#ffffff;color:#6c9c0a;cursor:pointer;} .errCorrection .button{margin:20px;text-align:center;} /*加入购物车*/ #carwindow .cartItem li{overflow:hidden;zoom:1;} #carwindow .cartItem .ct{color:#45403a;font-family:微软雅黑;font-size:18px;margin-bottom:5px;line-height:24px;} #carwindow .cartItem #showcart{margin-bottom:5px;} #pView{left:10px;position:absolute;top:20px; z-index:100; width:390px;margin-bottom:20px;} .hyzyIcon{ position:absolute; top:20px; right:10px; z-index:1000;} .hyzyIcon img{ width:52px; height:71px; border:none;} #pView #pic-list a.disabled {cursor: default;} #zoom-jpg{height:330px;width:330px;} #pic-list {height: 300px;overflow: hidden;position: relative;width: 50px;margin-right:10px;_display:inline;float:left;padding:20px 0;} #pic-list .btn-control {display: block;height: 20px;position: absolute;left:0; width:50px;cursor:pointer;} #btn-forward {top:0;} #btn-backward {bottom: 0;} .btn-control b{top:0;display:block;position:absolute;width:19px;height:10px;left:14px;overflow:hidden;} #btn-forward b{background:url(../images/productinfo.png) no-repeat -49px 0;} #btn-backward b{background:url(../images/productinfo.png) no-repeat -49px -10px;} #btn-forward.disabled b{background:url(../images/productinfo.png) no-repeat -30px 0;} #btn-backward.disabled b{background:url(../images/productinfo.png) no-repeat -30px -10px;} #pic-list .pic-items {left:0;position: absolute;top:20px;} #pic-list .pic-items li {font-size: 0;position: relative;text-align: center;width:50px;line-height:0;height:60px;} #pic-list .pic-items img {height: 48px;padding: 1px;width: 48px;} .jqzoom {padding: 0;position: relative;float:right;} .zoomdiv {background: url(../images/loading.gif) no-repeat center center #FFFFFF;border: 1px solid #E4E4E4;display: none;height: 410px;left: 400px;overflow: hidden;position: absolute;text-align: center;top: 0;width: 410px;z-index: 8;} .bigimg {height: 800px;width: 800px;} .jqZoomLens {background-color:#fff;cursor: move;height: 50px;left: 0;opacity: 0.5;filter:alpha(opacity=50);position: absolute;top: 0;visibility: hidden;width: 50px;z-index:92;} #pic-list .pic-items img.img-hover {border: 1px solid #69af05;padding: 0;} #recomm_list {overflow: hidden;padding:0 51px;position: relative;width:900px;height:230px;} #recomm_list .btn-reco {display: block;height: 230px;position: absolute;top: 0; width: 21px;cursor:pointer;} #btn_prev {left:15px;} #btn_next {right:15px;} .btn-reco b{top:55px;display:block;position:absolute;width:21px;height:39px;} #btn_prev b{background:url(../images/productinfo.png) no-repeat -173px -130px;} #btn_next b{background:url(../images/productinfo.png) no-repeat -194px -130px;} #btn_prev.disabled b{background:url(../images/productinfo.png) no-repeat -215px -130px;} #btn_next.disabled b{background:url(../images/productinfo.png) no-repeat -236px -130px;} .p-view li{float:left;width:150px;padding:0 15px;overflow:hidden;} .p-view .p-img{margin-bottom:5px;} .p-view .p-img img{width:150px;} .proRomm .ct{margin-bottom:10px;} .proRomm .cm{padding:10px 20px;} .p-view .p-now {color: #BB3221;font-family: 微软雅黑;margin-right: 5px;} .p-view .p-now strong {font-size: 20px;font-weight: normal;} .p-view .p-nor {font-family: 微软雅黑;text-decoration: line-through;} .p-view .title-a,.p-view .title-b{line-height:20px;height:20px;overflow:hidden;} .p-view .title-b{color:#EA5404;} .p-view .title-c{line-height:20px;height:40px;overflow:hidden;} /*宜立方优势*/ .ysCont{width:1004px;overflow:hidden;padding:0;background-color:#e9e9e9;position:relative;height:380px;} .ysWrap{border:1px solid #e6e6e6;} .ysSlide{width:780px;height:255px;overflow:hidden;position:relative;margin:0 107px;} .ysSlide ul{position:absolute;height:255px;overflow:hidden;zoom:1;} .ysSlide ul li{float:left;width:780px;height:255px;overflow:hidden;} .ysIcons{height:105px;margin-left:107px;} .ysIcon1,.ysIcon2,.ysIcon3,.ysIcon4,.ysIcon5,.ysIcon6{width:130px;height:105px;overflow:hidden;float:left;} .ysIcon1 span,.ysIcon2 span,.ysIcon3 span,.ysIcon4 span,.ysIcon5 span,.ysIcon6 span{width:130px;height:105px;display:block;text-indent:-9999px;} .ysIcon1 span{background:url(../images/ysimg/ysicon1000.png) no-repeat 40px 15px;} .ysIcon2 span{background:url(../images/ysimg/ysicon1000.png) no-repeat -120px 15px;} .ysIcon3 span{background:url(../images/ysimg/ysicon1000.png) no-repeat -265px 15px;} .ysIcon4 span{background:url(../images/ysimg/ysicon1000.png) no-repeat -430px 15px;} .ysIcon5 span{background:url(../images/ysimg/ysicon1000.png) no-repeat -590px 15px;} .ysIcon6 span{background:url(../images/ysimg/ysicon1000.png) no-repeat -750px 15px;} .ysIcon1 span.curr{background-color:#ffffff;} .ysIcon2 span.curr{background-color:#ffffff;} .ysIcon3 span.curr{background-color:#ffffff;} .ysIcon4 span.curr{background-color:#ffffff;} .ysIcon5 span.curr{background-color:#ffffff;} .ysIcon6 span.curr{background-color:#ffffff;} .ysPic img{width:780px;height:255px;} .leftPro{padding-top:10px;} .leftPro .p-img img{width:150px;height:150px;} .leftPro .p-price{font-size:14px;} .leftPro .p-btn{float:none;} .pShare{position:absolute;top:370px;border-top:1px solid #efefef;width:390px;margin:0 10px;zoom:1;} .bdShare{padding:5px 0 0 0;margin-bottom:5px;float:left;width:260px;} .pCollect{float:right;padding:8px 0 0 20px;color:#6c9c0a;cursor:pointer;background:url(../images/productinfo.png) no-repeat -68px 11px;height:20px;} .pCollect a:link,.pCollect a:visited{color:#6c9c0a;} .pCollect a:hover{ text-decoration:underline; color:#6c9c0a;} #add-cart-box-sf{z-index:110;} .leftPro h1.title{font-size:12px;font-weight:normal;} .productStamp,.productStamp_1{position:absolute;width:73px;height:74px;right:15px;background-color:red;top:110px;} .productStamp{background:url(../images/productinfo.png) no-repeat 0 -217px;} .productStamp_1{background:url(../images/productinfo.png) no-repeat -74px -217px;} .pWindow .item2 .l{position:relative;padding-left:25px;height:26px;line-height:26px;} .pWindow .item2 .l input{position:absolute;left:5px;top:6px;} .pWindow .item2 .i{margin-left:25px;height:28px;border:1px solid #d4d4d4;padding-left:35px;position:relative;width:280px;} .pWindow .item2 .defBorder{border:1px solid #d4d4d4;} .pWindow .item2 .okBorder{border:1px solid #fa9600;} .pWindow .item2 .i .error_con{position:absolute; left:-1px; top:28px; z-index:100; width:305px; margin:0 auto; height:20px; line-height:20px; border:1px solid #fa9600; padding:0 5px; background:#ffece5; color:#fa6400;} .pWindow .item2 .i input{height:20px;line-height:20px;padding:4px 0;width:280px;border:0;font-size:12px;} .pWindow .item2 .i b.mail{background:url(../images/productinfo.png) no-repeat -147px -218px;width:20px;height:15px;position:absolute;top:7px;left:5px;} .pWindow .item2 .i b.tel{background:url(../images/productinfo.png) no-repeat -147px -233px;width:20px;height:20px;position:absolute;top:4px;left:5px;} .pWindow .btns{text-align:center;padding:25px 10px 10px 10px;} .pWindow .btns .submit1{margin:0 5px;} .pWindow .giveMsg{margin:0 10px 0 10px;padding:12px 0 6px 0;border-bottom:1px solid #dddddd;} .pWindow .item3{text-align:center;padding:10px 10px 0 10px;} .pWindow .item3 li{padding-bottom:10px;} .pWindow .item3 li a{color:#669900;} .pWindow .item3 .msg strong{background:url(../images/productinfo.png) no-repeat -147px -253px;padding:5px 0 5px 26px;} .pcomment dd div span a.green,.pcomment dd div span a.green:visited,.pcomment dd div span a.green:hover{color:#669900;} .pItemsName .title-long{overflow: hidden;white-space: nowrap;text-overflow: ellipsis;width:480px;} .pItemsName strong.title-long{display:block;} .p-buy-phone{float:right;position:relative;} .p-buy-phone a{width:135px;height:34px;background:url(../images/p_buy_phone.png) no-repeat 110px -38px;display:block;line-height:34px;padding-left:25px;text-decoration:none;cursor:default;} .p-buy-phone.hover a{background:url(../images/p_buy_phone.png) no-repeat 110px -38px;} .p-scan{display:none;width:160px;text-align:center;padding:20px 0;position:absolute;background:white;} .p-logo{display:none;width:36px;height:36px;background:url(../images/p_logo.png) no-repeat;position:absolute;top:96px;left:48px;} .p-buy-phone.hover .p-scan{display:block;} .p-buy-phone.hover .p-scan table{margin:0 auto;} .p-buy-phone a:hover{background:url(../images/p_buy_phone.png) no-repeat 110px 8px #f5f5f5;} .quickBuy a{padding:0;background-color:#fa8e19;} .quickBuy a:hover{background-color:#fa8e19;} .quickBuy.disable a{background-color:#898989;cursor:default} .p-buy-phone.hover .p-logo{display:block;} /*--售后服务--*/ .sh_box{ padding:20px 10px; font-family:"微软雅黑";} .sh_box_A{ border:1px solid #f0f0f0; width:auto; height:140px;} .sh_box_A0{ margin:10px; padding:0 30px; height:120px; background:#f9f9f9;} .sh_box_A0 span{ display:inline-block; float:left;} .sh_box_A0 span.img{ width:199px;} .sh_box_A0 span.title{ width:678px; padding:20px 0 0 22px; line-height:28px; color:#333; font-size:14px;} .sh_box_B{ margin-top:18px; } .sh_box_B span{ display:inline-block; float:left;} .sh_box_B h2{ font-weight:normal; height:18px; padding:13px 0; border-bottom:1px solid #dcdcdc;} .sh_box_B h2 span.ch_title{ padding-left:3px; font-size:18px;} .sh_box_B h2 span.en_title{ padding-left:3px; font-size:12px; color:#646464; font-family:Arial, Helvetica, sans-serif;} .sh_box_B h2 span.ch_title i{font-size:12px; font-family:Arial, Helvetica, sans-serif;font-style:normal; padding-left:3px;} .sh_box_B h2 em{ display:inline-block; float:left; width:4px; height:20px; background:#6c9c0a; overflow:hidden;} .sh_box_B .sh_pContent, .sh_box_B .sh_pContent1{ font-size:14px; padding:10px 10px 5px 10px;} .sh_box_B .sh_pContent{ line-height:24px;} .sh_box_B .sh_pContent1{ line-height:30px;} .sh_return{ width:206px; height:420px; padding:0 15px; border:1px solid #f4f4f4; float:left; text-align:center;} .sh_return img{ width:196px; height:165px;} .sh_m0{ margin:20px 10px 10px 0;} .sh_m1{ margin:20px 0 10px 0;} .sh_return span{ display:block; text-align:center;} .sh_return span.title{ font-size:14px; color:#333; line-height:22px; text-align:left;} .sh_return .sh_m2{ margin-top:20px;} .sh_return .sh_m3{ margin-top:7px;} .sh_link{ padding-right:3px; font-size:14px; color:#669900; text-decoration:underline; float:right;} .sh_link:hover{ text-decoration:none;} /*---dialog style---*/ .window_bg{ width: 100%; height: 100%; position: absolute; z-index: 99997; left:0; top:0; background: #646464; opacity: 0.5; filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);} .oDialog{ border:1px solid #ddd; position: fixed; z-index:99998; color:#646464; } .oDig_w{ background:#fff; width:420px; min-height:150px; padding:0 10px;} .order_bg{ background:url(../images/close.jpg) left top no-repeat;} .ui-dig-line{ margin-top:5px; height:34px; line-height:34px; border-bottom:1px solid #196247;} .ui_dig_name{ padding-left:5px; color:#000;} .ui-dig-close{ float:right; display:inline-block; width:13px; height:13px; position:relative; top:8px; *+top:-24px; } .ui-dig-item{ margin:10px 0;} .ui-dig-item label.ui_dig_title{ display:inline-block; *+float:left; width:65px; height: 26px; line-height: 26px; text-align:right;} .ui-dig-item .ui_dig_input{ width:338px; height:18px; line-height:18px; padding:4px 5px;} .ui-dig-item input.borderDef{ border:1px solid #dadada;} .ui-dig-item input.borderOk{ border:1px solid #69af05;} .ui-dig-item input.borderError{ border:1px solid #fa9600;} .ui-dig-item .ui_errorTitle{ position:relative; *+top:-1px; width:338px; margin-left:68px; *+margin-left:65px; display:block; padding:0 5px; border-left:1px solid #fa9600; border-bottom:1px solid #fa9600; border-right:1px solid #fa9600; background:#ffdbce; color:#fa6400;} .ui-dig-btn{ height:24px; text-align:center; } .ui-dig-btn .ac_digbtn{ display:inline-block; width:78px; height:22px; line-height:22px; text-align:center; border:1px solid #dadada; color:#6c9c0a;} .ui-dig-btn .ac_digbtn:hover{ color:#fff; background:#6c9c0a;} /*---结束dialog style---*/ /*--- 单品页 seo ---*/ .pItemsName h1 strong.ys_title{ color:#fa6400;} .pItemsName h1 span.pro_title{ width: 460px; display: inline-block;} .yj_time{ display:none; width:105px; float:left; text-align:left; height:45px; line-height:22px;} .phone_client{ cursor:pointer; position:relative; float:left; width:90px; height:40px; border:1px solid #ddd; background:#fbfbfb url(../images/phone.jpg) 10px center no-repeat; padding-left:34px; padding-top:3px; color:#565656;} .phone_border:hover{ border:1px solid #669900;} .phone_client em, .phone_client a{ color:#fa6400; text-decoration:none;} .phone_clientCode{ position:absolute; left: -1px; top: -116px; width:124px; height:98px; border-left:1px solid #ddd; border-top:1px solid #ddd; border-right:1px solid #ddd; background:#fff; text-align:center;padding-top:18px;} .phone_clientCode span{ height:32px; line-height:16px; display:inline-block; padding:5px 0; color:#565656;} .ac_phoneClose{ width:20px; height:20px; background:url(../images/close1.png) left top no-repeat; position:absolute; float:right; top:-8px; right:-8px;} #qrcodeTableBig{width:82px;margin:0 auto;} .phone_clientCode .p-logo{top:43px;} .qrcodeTable{width:124px;margin:0 auto;} /*服务保障提示信息*/ .ui-poptip{width:166px;color:#969696;position:absolute;z-index:999999;font-size:12px;line-height:1.5;zoom:1} .ui-poptip-container{position:relative;background-color:#ffffff;border:1px solid #dddddd;border-radius:2px;padding:5px 10px;zoom:1;_display:inline} .ui-poptip:after,.ui-poptip-container:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0} .ui-poptip-arrow{position:absolute;z-index:10;*zoom:1} .ui-poptip-arrow em,.ui-poptip-arrow span{position:absolute;*zoom:1;width:0;height:0;border-color:rgba(255,255,255,0);border-color:transparent\0;*border-color:transparent;_border-color:tomato;_filter:chroma(color=tomato);border-style:solid;overflow:hidden;top:0;right:0} .ui-poptip-arrow-11 em{border-width:0 6px 6px;border-bottom-color:#dddddd;top:-1px;right:0} .ui-poptip-arrow-11 span{border-width:0 6px 6px;border-bottom-color:#ffffff} .ui-poptip-arrow-11{right:26px;top:-6px} .ui-poptip-content{text-align:left;} /*浮动*/ .index_rfloat{display:none;width:120px;height:280px;text-align:center;position:fixed;bottom:224px;left:50%;margin-left:610px;z-index:999;overflow:hidden;} * html .index_rfloat{position:absolute;bottom:auto;top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0 +324)));} .index_side{right:10px;left:auto;margin-left:0;} .J_rclose{position:absolute;width:15px;height:20px;top:0px;right:0;cursor:pointer;background:url(../images/topclose.png) no-repeat left top;text-indent:-9999px;} .global_logo{width:99px;height:30px;background:url(../images/global_icon.png) no-repeat;position:absolute;top:10px;} /*自营标识*/ .cm .owner_shop{float: left; display: inline-block; width: 37px; height: 18px; line-height: 18px; background-color: #6f9a09; border-radius: 3px; text-align: center; color: #fff; margin-top: 7px; margin-right: 5px;} /*优选卡css样式*/ .pdetail ul li.card-pay {height: 25px;width: 182px;position: relative;border:1px solid #e3e3e3;border-radius: 10px;font-family: "微软雅黑";} .pdetail ul li.card-pay .card-pay-left {display: inline-block;color:#fff;position: absolute;left: 0px;background: #ee4040;border-radius: 10px;padding: 0px 8px;line-height: 25px;font-style: italic;} .pdetail ul li.card-pay .card-pay-right {display: inline-block;color: #669900;position: absolute;left: 64px;line-height: 25px;}======= /*店庆精选标识*/ .jqzoom {position: relative;} .jqzoom > i {position: absolute;width: 62px;height:73px;top:0;left: 5px;background: url(../images/dq_icon1.png) no-repeat center center;} /*商品详情页加促销活动*/ .pCxxx{ padding:28px 34px 24px;} .pCxxx span{ display:inline-block;} .pCxxx .pCx2{ background:#b2162a; padding:0 8px; margin:0 6px; height:16px; line-height:16px; color:#fff;} .qiyeMian_box{ width:1200px;} .qiyepDetail{ width:1198px;} ================================================ FILE: taotao-item-web/src/main/webapp/index.jsp ================================================

            Hello World!

            ================================================ FILE: taotao-item-web/src/main/webapp/js/NewVersion.js ================================================ $(document).ready(function(){ $("#div_topmenu li.li1,#div_topmenu li.li2,#div_topmenu li.li3").hover( function(){ $(this).children(".dropdown").stop(true,true).fadeIn(500); }, function(){ $(".dropdown").hide(); refresh_header_cart_total_number(); } ); $("#header-login-btn").click(function(){ var user_name = $("#header-login-username").val(); var password = $("#header-login-password").val(); if (user_name == "") { $("#header-login-username").css("border-color", "red"); $("#header-login-username").focus(); return ; } else { $("#header-login-username").css("border-color", "#BBB"); } if (password == "") { $("#header-login-password").css("border-color", "red"); $("#header-login-password").focus(); return ; } else { $("#header-login-password").css("border-color", "#BBB"); } $.ajax({ type: "GET", url: "/user.php", data: "act=ajax_login&username="+user_name+"&password="+password, beforeSend: function(XMLHttpRequest) { $("#login_form").show(); $("#header-login-loading-img").show(); }, success: function(data){ if (data == 1) { $("#login").html($("#header-login-success").html()); } else { $("#header-login-username").css("border-color", "red"); $("#header-login-password").css("border-color", "red"); $("#header-login-loading-img").hide(); } } }); }); $("#cart a").hover( function(){ refresh_header_cart(); refresh_header_cart_total_number(); }, function(){ } ); $(".goToTop").click(function(){ /* $("body").scrollTop(0); */ window.scrollTo(0,0); }); $("#keyword").focus(function(){ $("#a_search_form").show(500); }); $("#a_search").hover(function(){ $("#a_search_form").show(500); }); $("#search_close_btn").click(function(){ $("#a_search_form").hide(500); }); }); function refresh_header_cart() { $.ajax({ type: "GET", url: "/cart_goods_ajax.php", data: "t=goods_list", beforeSend: function () { $("#header-cart-loading-img").show(); }, success: function(data){ $("#header-cart-loading-img").hide(); $("#cart_form").html(data); } }); } function refresh_header_cart_total_number() { $.ajax({ type: "GET", url: "/cart_goods_ajax.php", data: "t=total_number", success: function(data){ var data1 = parseInt(data); $("#top-cart-num").html(data1); } }); } function delete_cart_goods(recId) { if (recId > 0) { $.ajax({ type: "GET", url: "/cart_goods_ajax.php", data: "t=delete_goods&rec_id="+recId, success: function(data){ refresh_header_cart(); } }); } else { alert("unknown error! Please try again later!"); return ; } } ================================================ FILE: taotao-item-web/src/main/webapp/js/cart.js ================================================ var hostUrl = document.location.host; var urlArr = hostUrl.split('.'); var domain = urlArr[1]+'.'+urlArr[2]; var SF_STATIC_URL = 'http://i.'+domain; var SF_STATIC_URL_HTML = 'http://i.'+domain+'/html/'; var cartHostUrl = 'http://cart.'+domain; var wwwHostUrl = 'http://www.'+domain; var sfAddCart ={ pid:null, init:function(){ var win_w = $(window).width(); if (win_w <= 1400) {$(".side-wrap").addClass("side_pos");} else {$(".side-wrap").removeClass("side_pos");} $(window).resize(function() { var win_width = $(window).width(); if (win_width <= 1400) {$(".side-wrap").addClass("side_pos");} else {$(".side-wrap").removeClass("side_pos");} }); sfAddCart.cartHover(); $(".p-btn a,.rankBtn a,.rushBuy").live("click",function(){ $(".listpic-mini").html(""); This = $(this); //是否是首页商品添加购物车标识 var indexFlag = This.attr("indexFlag"); //是否是生鲜频道页添加购物车标识 var freshFlag = This.attr("freshFlag"); sfAddCart.pid = This.attr("pid"); if(typeof(indexFlag) == "undefined"){ if(typeof(freshFlag) == "undefined"){ //其它页面商品添加购物车 setTimeout(function(){cartAdd(sfAddCart.pid, 0, 1, 5);},100); }else{ //生鲜频道页商品添加购物车 setTimeout(function(){cartAdd(sfAddCart.pid, 0, 1, 13,1,This);},100); } }else{ //首页页商品添加购物车 setTimeout(function(){cartAdd(sfAddCart.pid, 0, 1, 7,1,This);},100); } }); }, cartHover:function(){ $("#side_cart").bind("mouseenter",function(){ clearTimeout(sfAddCart.cartHover.timer1); sfAddCart.cartHover.timer1 = setTimeout(function(){sfAddCart.cartList("show","1")},500); }).bind("mouseleave",function(){ clearTimeout(sfAddCart.cartHover.timer1); sfAddCart.cartHover.timer1 = setTimeout(function(){sfAddCart.cartList("hide","1")},500); }); $(".cart-list").live("mouseenter",function(){ clearTimeout(sfAddCart.cartHover.timer1); sfAddCart.cartHover.timer1 = setTimeout(function(){sfAddCart.cartList("show","1")},500); }).live("mouseleave",function(){ clearTimeout(sfAddCart.cartHover.timer1); sfAddCart.cartHover.timer1 = setTimeout(function(){sfAddCart.cartList("hide","1")},500); }); $("#side_guang").bind("mouseenter",function(){ clearTimeout(sfAddCart.cartHover.timer2); sfAddCart.cartHover.timer2 = setTimeout(function(){sfAddCart.cartList("show","2")},500); }).bind("mouseleave",function(){ clearTimeout(sfAddCart.cartHover.timer2); sfAddCart.cartHover.timer2 = setTimeout(function(){sfAddCart.cartList("hide","2")},500); }); $(".his-list").live("mouseenter",function(){ clearTimeout(sfAddCart.cartHover.timer2); sfAddCart.cartHover.timer2 = setTimeout(function(){sfAddCart.cartList("show","2")},500); }).live("mouseleave",function(){ clearTimeout(sfAddCart.cartHover.timer2); sfAddCart.cartHover.timer2 = setTimeout(function(){sfAddCart.cartList("hide","2")},500); }); $("#side_app").bind("mouseenter",function(){ clearTimeout(sfAddCart.cartHover.timer3); sfAddCart.cartHover.timer3 = setTimeout(function(){sfAddCart.cartList("show","3")},500); }).bind("mouseleave",function(){ clearTimeout(sfAddCart.cartHover.timer3); sfAddCart.cartHover.timer3 = setTimeout(function(){sfAddCart.cartList("hide","3")},500); }); $(".appDown").live("mouseenter",function(){ clearTimeout(sfAddCart.cartHover.timer3); sfAddCart.cartHover.timer3 = setTimeout(function(){sfAddCart.cartList("show","3")},500); }).live("mouseleave",function(){ clearTimeout(sfAddCart.cartHover.timer3); sfAddCart.cartHover.timer3 = setTimeout(function(){sfAddCart.cartList("hide","3")},500); }); }, cartList: function(type,i) { var right, time; if (type == "hide") { right = "-101%"; time = 800 } else { right = 0; time = 300; if ("1"==i){ $(".cart-wrap").show() }else if("2"==i){ $(".guang").show() }else if("3"==i){ $(".appInfo").show() } } if ("1"==i){ $(".cart-wrap").find(".cart-list").animate({ "right": right }, time, function() { if (type == "hide") $(".cart-wrap").hide() }) }else if ("2"==i){ $(".guang").find(".his-list").animate({ "right": right }, time, function() { if (type == "hide") $(".guang").hide(); }) }else if ("3"==i){ $(".appInfo").find(".appItem").animate({ "right": right }, time, function() { if (type == "hide") $(".appInfo").hide(); }) } }, cartNumShow:function(){ var addNum = $("#number_" + sfAddCart.pid).val(); var tips_obj = $(".cart-list").find(".cart-num"); $("#add-num").html(addNum); tips_obj.height(48).show(); var addOne_timer = setTimeout(function() { tips_obj.animate({ "height": 0 }, 300, function() { tips_obj.hide(); $("#side_cart").trigger("mouseleave"); }) }, 3E3); } }; /* 逛商品加购物车 */ function hisCartAdd(pid){ cartAdd(pid,0,0,6); $.ajax({ type: 'POST', async: false, dataType: 'json', url: "/product/delHistory/", data: {pid:pid}, success: function(str){ getHistory(); } }); } /** 获了逛数据 */ function getHistory(){ $.post("/product/guang/",{},function(str){ if(str){ $("#history_con").html(str); } }); } /*购物车删除单个商品 @param string value 活动类型-活动id-商品id 这三者组合 */ function cartDel(value){ $.ajax({ url : cartHostUrl+'/cart/delCartProduct/', type : 'GET', //dataType: 'json', dataType: "jsonp", //返回json格式的数据 jsonp:"callback", data : {val : new Array(value)}, success: function(msg){ if(msg.error==1){ if($('#'+msg.info.type).length > 0){ $('#'+msg.info.type).html(msg.data); chmodeNum(msg.info.cart); } getCartList();//更新右上角的购物列表 //changeCheckboxStats(); }else{ jAlert(msg.info); } } }); } /** 获取每个页面头部的购物列表的方法 */ function getCartList(){ $.ajax({ url : cartHostUrl+'/cart/headerCart/', type : 'GET', dataType: "jsonp", //返回json格式的数据 jsonp:"callback", data : {}, success: function(msg){ if(msg.error==1){ $('#cartNum').html(msg.info.num); $('#cart_lists').html(msg.data); if(msg.info.num>0){ $("#topCart").find("s").addClass("setCart"); } if($('#showcart').length > 0){ $('#showcart').html('购物车共计'+msg.info.num+'件商品,合计 '+msg.info.price+'元'); } if($('#list_cart').length > 0){ //$('#list_cart').html(msg.data); $('#list_cart').html(msg.data1); $('.s-cart-num').html(msg.info.num); var numList = $("li","#list_cart").length; 0 !== numList && $('.s-cart-num').addClass("s-cart-add"); switch(numList) { case 0: $(".cart-shopping").css("bottom","152px"); $(".cart-wrap .cart-arr").css("bottom","10px"); $('.s-cart-num').removeClass("s-cart-add"); $('.s-cart-num').hide(); break; case 1: $(".cart-shopping").css("bottom","50px"); $(".cart-wrap .cart-arr").css("bottom","110px"); $('.s-cart-num').show(); break; default: $(".cart-shopping").css("bottom",0); $(".cart-wrap .cart-arr").css("bottom","160px"); $('.s-cart-num').show(); } } }else{ jAlert(msg.info); } } }); } /* 购买了还购买了 */ function buyelse(pid){ $.ajax({ url : wwwHostUrl+'/product/alsoBuy', type : 'GET', dataType: 'html', data : {pid:pid}, success: function(htmlcode){ //alsoBuy = htmlcode; if($('#elsebuy').length > 0){ $('#elsebuy').html(htmlcode); } } }) } //商品和礼包加入购物车 //@param product_id 商品id //@param cart_type 购物类型 0 普通商品 //@param opencity_id 站点id //@param flag 提示方式 0本页提示 1跳转购物车 //@param bs 加入时是否验证商品的礼品袋开关 1,是;0,否 //@param obj 加入按钮对象 //@param cfrom 从哪里点击的购物按钮 function cartAdd(product_id,cart_type,opencity_id, flag,bs, obj, cfrom){ //取购物车商品数量 var num = $("#number_" + product_id).val(); //拼装url参数,做跳转 location.href="http://localhost:7090/cart/add/"+product_id+".html?num=" + num; } //首页添加购物车 function cartIndex(obj,i,pid,bs){ if (typeof(bs) == "undefined") { bs = 1; } $(".gWindow").remove();//删除所有弹出层 var This = $(obj); var cartNum = $("#cartNum").html(); var web_url = cartHostUrl+'/cart/addCart/';//'/cart/add/'; var number = 1; $.ajax({ url : web_url, type : 'GET', dataType: "jsonp", //返回json格式的数据 jsonp:"callback", data : {product_id:pid,number:number,opencity_id:1,cart_type:0}, success: function(msg){ $(".gWindow").remove(); if(msg.error == 1){//成功 var cartDiv = '
            ×'; cartDiv+= '
            该商品已成功放入购物车!
            '; cartDiv+= '
            加载中....
            '; cartDiv+= ''; cartDiv+= '
            '; if (i==1 || i==0){ $(cartDiv).appendTo("#cx_"+This.attr('eid')); }else{ $(cartDiv).appendTo($("#cx_"+This.attr('eid')).parent()); } getCartList(); car_ie6hack(); yibo('cart',pid,number); }else if(msg.error == 2){ jConfirm(msg.info, '提示消息', function(r){ if(r){ cartIndex(obj,i,pid,0); } }) }else{ jAlert(msg.info); } } }); if (i==1){ This.animate({top:"141px"},300); }else if(i==0){ This.animate({top:"184px"},300); }else{ This.hide(); } } //商品收藏添加购物车 function cartFav(pid ,is_sfv){ var web_url = cartHostUrl+'/cart/addCart/';//'/cart/add/'; var number = 1; $.ajax({ url : web_url, type : 'GET', dataType: "jsonp", //返回json格式的数据 jsonp:"callback", data : {product_id:pid,number:number,opencity_id:1,cart_type:0,mes:0}, success: function(msg){ if(msg.error == 1){//成功 jAlert('成功添加到购物车!'); getCartList(); }else{ jAlert(msg.info); } } }); } //添加预售商品 function addPresale(id){ var web_url = wwwHostUrl+'/cart/presale/'; var number = 1; if($("#number_"+id).length!=0){ number = $("#number_"+id).val(); } if(!checkRate(number)){ jAlert('您输入的数量格式有误!!'); return false; } var tourl = wwwHostUrl+'/order/presale/id/'+id+'/number/'+number; $.post(web_url,{product_id:id,number:number},function(msg){ if(msg == -3){ SF.Widget.login(tourl); return false; }else if(msg == -1){ jAlert('无此商品信息!!'); return false; } else if(msg == -2){ jAlert('此商品已经结束预售!!'); return false; } else if(msg == 0){ jAlert('库存不足!!'); return false; } else { location.href = tourl; } }); } function yibo(type,product_id,product_num){ var del = 0; //var _adwq = new Array(); if(type=='delete'){ del = 1; } _adwq.push([ '_setDataType', type ]); $.ajax({ url : cartHostUrl+'/ajax/getproduct/', type : 'GET', dataType: "jsonp", //返回json格式的数据 jsonp:"callback", data : {product_id : product_id,opencity_id : 1,del : del,t:Math.random()}, async: false, success: function(msg){ var json = msg; _adwq.push([ '_setCustomer', json.userid //1234567是一个例子,请换成当前登陆用户ID或用户名 ]); // 下面代码是商品组代码,根据订单中包括多少种商品来部署,每种商品部署一组 //商品组一组开始 var webtrekk = new Object(); webtrekk.product = new Array(); webtrekk.productCategory1 = new Array(); webtrekk.productCategory2 = new Array(); webtrekk.productCategory3 = new Array(); webtrekk.productQuantity = new Array(); webtrekk.productCost = new Array(); if(json.info){ $.each(json.info, function(i,val){ if(val){ var b = eval('('+val+')'); _adwq.push(['_setItem', b.product_sn, // 09890是一个例子,请填入商品编号 - 必填项 b.product_name, // 电视是一个例子,请填入商品名称 - 必填项 b.product_price, // 12.00是一个例子,请填入商品金额 - 必填项 product_num, // 1是一个例子,请填入商品数量 - 必填项 b.category_id, // A123是一个例子,请填入商品分类编号 - 必填项 b.category_name // 家电是一个例子,请填入商品分类名称 - 必填项 ]); } webtrekk.product.push(b.product_sn); webtrekk.productCategory1.push(b.category_one); webtrekk.productCategory2.push(b.category_two); webtrekk.productCategory3.push(b.category_id); webtrekk.productQuantity.push(product_num); webtrekk.productCost.push(b.product_price*product_num); }); webtrekkSend(webtrekk); // 下面是提交订单代码,此段代码必须放在以上代码后面 - 必填项 _adwq.push([ '_trackTrans' ]); } //商品组一组结束 } }); } function webtrekkSend(webtrekk){ var pageConfig = { linkTrack :"link", heatmap :"1" }; var wt = new webtrekkV3(pageConfig); wt.sendinfo({ contentId:"WEB:购物车:加入购物车", contentGroup:{ 1 :"WEB:购物车",2 :"加入购物车",3 :"加入购物车" }, // 以下代码用来记录添加购物车时的商品信息 product:webtrekk.product.join(";"), // 请填写商品 ID productCategory:{ 1 :webtrekk.productCategory1.join(";"), // 请填写商品一级类别名称 2 :webtrekk.productCategory2.join(";"), // 请填写商品二级类别名称 3 :webtrekk.productCategory3.join(";") // 请填写商品三级类别名称 }, productQuantity:webtrekk.productQuantity.join(";"), // 请填写用户加入购物车时的商品数量 productCost:webtrekk.productCost.join(";"), // 请填写用户加入购物车时的商品总价值(单价×数量) productStatus:"add", // 固定值,请勿修改 customEcommerceParameter:{ 2 :"加入购物车" // 固定值,请勿修改 } }); } //carwindow遮罩 function car_ie6hack(){ if ($.browser.msie && ($.browser.version == "6.0") && !$.support.style) { var iframehide=''; $(iframehide).appendTo("#add-cart-box-sf"); } } //判断正整数 function checkRate(input) { var re = /^[0-9]*[1-9][0-9]*$/; if (!re.test(input)) { return false; } else { return true; } } //详情页面关闭carwindow function car_close(){ $("#carwindow").remove(); $("#add-cart-box-sf").hide(); if ($.browser.msie && ($.browser.version == "6.0") && !$.support.style) { $("#car_iframe").remove(); } } //首页关闭 function closeCart(obj) { var This = $(obj); $('.gWindow').remove(); $(".gBtn").hide(); } ================================================ FILE: taotao-item-web/src/main/webapp/js/common.js ================================================ (function(window) { var document = window.document, alert = window.alert, confirm = window.confirm $ = window.jQuery; var SF = { Config: {}, Widget: {}, App: {}, Static: {} }; var hostUrl = document.location.host; var urlArr = hostUrl.split('.'); var domain = urlArr[1]+'.'+urlArr[2]; var PASSPORT_URL = 'http://passport.'+domain; var SF_STATIC_BASE_URL = 'http://i.'+domain+'/com'; var SF_WWW_HTML_URL = 'http://www.'+domain+'/html'; SF.loadJs = function(sid, callback, dequeue) { SF.loadJs.loaded = SF.loadJs.loaded || {}; SF.loadJs.packages = SF.loadJs.packages || { 'jquery.thickbox': { 'js': [SF_STATIC_BASE_URL + '/js/jquery/jquery.thickbox.js'], 'check': function() { return !!window.tb_show; } }, 'jquery.select': { 'js': [SF_STATIC_BASE_URL + '/js/jquery/jquery.select.js?v=20130811'], 'check': function() { return !!$.fn.relateSelect; } }, 'data.city': { 'js': [SF_STATIC_BASE_URL + '/js/data/region_data.js'], 'depends': ['jquery.select'], 'check': function() { return !!window.REGION_DATA; } }, 'data.city_new': { 'js': [SF_WWW_HTML_URL + '/js/region_data_new.js'], 'depends': ['jquery.select'], 'check': function() { return !!window.REGION_DATA; } }, 'data.category': { 'js': ['/cate/category/'], 'depends': ['jquery.select'], 'check': function() { return !!window.CATEGORY; } } }; if (!dequeue) { $(window).queue('loadJs', function() { SF.loadJs(sid, callback, true); }); $(window).queue('loadJsDone', function(){ $(window).dequeue('loadJs'); }); if ($(window).queue('loadJsDone').length == 1) { $(window).dequeue('loadJs'); } return; } function collect(sid) { var jsCollect =[], packages = SF.loadJs.packages[sid], i, l; if (packages) { if (packages.depends) { l = packages.depends.length; for (i = 0; i < l; i++) { jsCollect = jsCollect.concat(collect(packages.depends[i])); } } if ($.isFunction(packages.check) && !packages.check()) { jsCollect = jsCollect.concat(packages.js); } } return jsCollect; } function load(url) { return jQuery.ajax({ crossDomain: true, cache: true, type: "GET", url: url, dataType: "script", async: false, scriptCharset: "UTF-8" }); } var js = collect(sid), deferreds = [], l = js.length, i; for (i = 0; i < l; i++) { deferreds.push(load(js[i])); } $.when.apply($, deferreds).then(function() { $(window).dequeue('loadJsDone'); $.isFunction(callback) && callback.call(document); }, function() { $(window).dequeue('loadJsDone'); }) }; SF.t = function(code) { if (window.MSG && window.MSG[code]) { return window.MSG[code]; } return code; }; SF.Widget = { // 下拉菜单显隐 pop: function(s) { if ($(s).data('SF_BIND_POP')) { return; } var $c = $(s), setting = $c.data('pop') || {}; $c.bind({ mouseover: function(e) { if (setting.pop) { $(setting.pop, $c).show(); } if (setting.icon && setting.iconClass) { $(setting.icon, $c).addClass(setting.iconClass); } }, mouseout: function(e) { if (setting.pop) { $(setting.pop, $c).hide(); } if (setting.icon && setting.iconClass) { $(setting.icon, $c).removeClass(setting.iconClass); } } }); $c.data('SF_BIND_POP', true); $c.triggerHandler('mouseover'); return; }, // 打开 thickbox 遮罩层 tbOpen: function(caption, url, imageGroup) { function show() { window.tb_show(caption, url, imageGroup); } SF.loadJs('jquery.thickbox', show); }, // 关闭 thickbox 遮罩层 tbClose: function() { window.tb_remove(); }, // 用户登陆层 login: function(backurl, reload) { var url; var backurlArr backurl = (typeof(backurl) === 'undefined' || !backurl) ? window.location.href : backurl; //过滤回调地址锚点 backurlArr = backurl.split('#'); $.ajax({ type: 'GET', async: false, dataType: "jsonp", jsonp:"callback", url: 'http://www.'+domain+"/ajaxSetCity/getCasLoginUrl/", success: function(str){ if(1==str.status){ backurl =PASSPORT_URL+'/?returnUrl='+backurlArr[0]; reload = (typeof(reload) === 'undefined') ? ($.param({service : backurl})) : ($.param({service : backurl, reload: Number(reload)})); url = str.casDomain+'/cas/login?loginpage=popup&'+reload+'&TB_iframe&height=478&width=390'; }else{ reload = (typeof(reload) === 'undefined') ? ($.param({returnUrl : backurlArr[0]})) : ($.param({returnUrl : backurlArr[0], reload: Number(reload)})); url = PASSPORT_URL+'/login/ajax/?' + reload + '&TB_iframe&height=435&width=346'; } //url = PASSPORT_URL+'/login/ajax/?' + reload + '&TB_iframe&height=435&width=346'; SF.Widget.tbOpen('您还未登录', url, 'scrolling=no'); } }); }, // 分类联动 category: function(s, options) { function relateSelect() { var defaults = { data: window.CATEGORY }; $(s).relateSelect($.extend(defaults, options || {})); } SF.loadJs('data.category', relateSelect); }, // 省市联动 city: function(s, options) { function relateSelect() { var defaults = { data: window.REGION_DATA }; $(s).relateSelect($.extend(defaults, options || {})); } SF.loadJs('data.city', relateSelect); }, // 省市联动new city_new: function(s, options) { function relateSelect() { var defaults = { data: window.REGION_DATA }; $(s).relateSelect($.extend(defaults, options || {})); } SF.loadJs('data.city_new', relateSelect); }, //添加class addClass:function(s,onClass){ $(s).hover(function(){ $(this).addClass(onClass); },function(){ $(this).removeClass(onClass); }); }, //搜索框默认值 tipTxt: function(name){ $(name).each(function(){ var oldVal = $(this).val(); $(this).css({"color":"#888"}) .focus(function(){ if($(this).val()!=oldVal){$(this).css({"color":"#000"})}else{$(this).val("").css({"color":"#888"})} }) .blur(function(){ if($(this).val()==""){$(this).val(oldVal).css({"color":"#888"})} }) .keydown(function(){ $(this).css({"color":"#000"}) }) }) }, // 标签切换 tabs: function(s, e) { e = e || "mouseover"; $(function() { $(s).bind(e, function(e) { if (e.target === this){ var tabs = $(this).parent().parent().children("li"); var panels = $(this).parent().parent().parent().children(".SF-tabs-box"); var index = $.inArray(this, $(this).parent().parent().find("a")); if (panels.eq(index)[0]) { tabs.removeClass("SF-tabs-hover"); tabs.eq(index).addClass("SF-tabs-hover"); panels.addClass("SF-tabs-hide"); panels.eq(index).removeClass("SF-tabs-hide"); } } }); }); }, Subtr:function(arg1,arg2){ var r1,r2,m,n; try{r1=arg1.toString().split(".")[1].length}catch(e){r1=0} try{r2=arg2.toString().split(".")[1].length}catch(e){r2=0} m=Math.pow(10,Math.max(r1,r2)); n=(r1>=r2)?r1:r2; return ((arg1*m-arg2*m)/m).toFixed(n); }, Add:function(arg1,arg2){ var r1,r2,m; try{r1=arg1.toString().split(".")[1].length}catch(e){r1=0} try{r2=arg2.toString().split(".")[1].length}catch(e){r2=0} m=Math.pow(10,Math.max(r1,r2)) return (arg1*m+arg2*m)/m }, Acc:function(arg1,arg2){ var t1=0,t2=0,r1,r2; try{t1=arg1.toString().split(".")[1].length}catch(e){} try{t2=arg2.toString().split(".")[1].length}catch(e){} with(Math){ r1=Number(arg1.toString().replace(".","")) r2=Number(arg2.toString().replace(".","")) return (r1/r2)*pow(10,t2-t1); } }, Mul:function(arg1,arg2) { var m=0,s1=arg1.toString(),s2=arg2.toString(); try{m+=s1.split(".")[1].length}catch(e){} try{m+=s2.split(".")[1].length}catch(e){} return Number(s1.replace(".",""))*Number(s2.replace(".",""))/Math.pow(10,m) }, //日期选择器 datepicker: function(o) { $(o).datepicker({ dateFormat: 'yy-mm-dd', monthNames: ['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月'], dayNamesMin: ['日','一','二','三','四','五','六'] }); }, strCount:function(str){ var byteLen = 0; var strLen = str.length; if(strLen){ for(var i = 0; i < strLen; i++){ if(str.charCodeAt(i)>255) byteLen += 1; else byteLen += 0.5; //0.5不存在精度问题 } } return byteLen; }, refreshOrder:function(order_id, html){ $('#order_' + order_id).replaceWith(html); var location = window.location.href; if (location.match(/order\/list/g)){ // todo nothing }else{ window.location.reload(); } }, checkTextarea:function(chkname,titname,maxnum){ $(chkname).keyup(function(){ var flTxt = Math.floor(maxnum-SF.Widget.txtLength(chkname)); $(titname).html("您还可以输入"+flTxt+"个字"); if(flTxt < 0){ $(titname).html("
            您输入的字数已超出范围,不可以再输入
            "); } }) }, txtLength:function(chkname){ var getTextarea = $(chkname).val(); var firstLength = 0; for(var i=0;i20) { return 0; }; if (pwd.length >= 6 && pwd.length <= 7) { return 10; }; if (pwd.length >= 8) { return 25; }; return 0; }; var pwdTotal = function(pwd) { if (!pwd || pwd == 'undefined') { return - 1; }; if(lenpoints(pwd)==0){ return 0; } var digit01 = /^[0-9]+$/; var digit10 = /[0-9]+/; var digit02 = /^[a-z]+$/; var digit20 = /[a-z]+/; var digit03 = /^[A-Z]+$/; var digit30 = /[A-Z]+/; var digitStr = /[a-zA-Z]/; var digitOther = /[_]+/; var safeStr =/^[0-9a-zA-z_]+$/; var totalPoints =0; if(!safeStr.test(pwd)){ return -1; } if (digit20.test(pwd) && digit30.test(pwd)) { totalPoints += 20; }; var pwd_num = 0; var t_num = 0; var pwd_mi=0; var pwd_max=0; for (var i = 0; i <= pwd.length; i++) { if (digit01.test(pwd.substr(i, 1))) { pwd_num++; } if (digitOther.test(pwd.substr(i, 1))) { t_num++; } if (digit02.test(pwd.substr(i, 1))) { pwd_mi ++; } if (digit03.test(pwd.substr(i, 1))) { pwd_max ++; } }; if(pwd_mi&&!pwd_max){ totalPoints += 10; } if(!pwd_mi&&pwd_max){ totalPoints += 10; } if (pwd_num >= 1 && pwd_num < 3) { totalPoints += 10; }; if (pwd_num >= 3) { totalPoints += 20; }; if (t_num == 1) { totalPoints += 10; }; if (t_num > 1) { totalPoints += 25; }; if (digit20.test(pwd) && digit30.test(pwd) && digit10.test(pwd) && digitOther.test(pwd)) { totalPoints+=lenpoints(pwd); return totalPoints += 20; } if (digitStr.test(pwd) && digit10.test(pwd) && digitOther.test(pwd)) { totalPoints+=lenpoints(pwd); return totalPoints += 3; }; if (digitStr.test(pwd) && digit10.test(pwd)) { totalPoints+=lenpoints(pwd); return totalPoints += 2; }; if(totalPoints==0){ return -1; } totalPoints+=lenpoints(pwd); return totalPoints; } var doGetCoupon = function(id, key){ $.ajax({ url: '/CouponDraw/draw/', data: {cid:id, key:key}, type : 'POST', dataType: 'json', success: function(resp) { if (resp) { if (resp.flag == 1) { $.alerts.okButton = '查看优惠券'; $.alerts.alert(resp.msg,'提示',function(){ location.href = resp.url; }); } else if (resp.flag == 2) { $.alerts.alert(resp.msg, '提示'); } else if (resp.flag == 3) { SF.Widget.login(window.location.href); } else if (resp.flag == 0) { $.alerts.alert(resp.msg, '错误'); } } else { $.alerts.alert('优惠券异常', '错误'); } }, error: function() { $.alerts.alert('优惠券异常', '错误'); } }); }; ================================================ FILE: taotao-item-web/src/main/webapp/js/cookie.js ================================================ function getCookie (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function setCookie(name, value, expires, path, domain, secure) { var today = new Date(); var expiry = new Date(today.getTime() + 100000 * 24 * 60 * 60 * 1000); if(expires==''||expires==null) { expires=expiry; } var curCookie = name + "=" + escape(value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); document.cookie = curCookie; } function delCookie(name) { expdate = new Date(); expdate.setTime(expdate.getTime() - (86400 * 1000 * 1)); setCookie(name, "", "", "/", "", ""); } var expdate= new Date(); function getCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } $.fn.dropdown = function(b, c) { if (this.length) { "function" == typeof b && (c = b, b = {}); var d = $.extend({ event: "mouseover", current: "hover", delay: 0 }, b || {}), e = "mouseover" == d.event ? "mouseout" : "mouseleave"; $.each(this, function() { var b = null, f = null, g = !1; $(this).bind(d.event, function() { if (g) clearTimeout(f); else { var e = $(this); b = setTimeout(function() { e.addClass(d.current), g = !0, c && c(e) }, d.delay) } }).bind(e, function() { if (g) { var c = $(this); f = setTimeout(function() { c.removeClass(d.current), g = !1 }, d.delay) } else clearTimeout(b) }) }) } }; var dhlist = 1; $(function(){ getAllCity(); $("#public_cate").live("mouseenter",function(){ var dhDivObj = $("#allSort"); if(dhlist==1){ $.get("/html/web/_public/_ajaxStaticMenu.html?v20140430",{},function(data) { dhDivObj.html(data); dhlist = 2; }); } $("#public_cate").addClass("hover"); $("#booksort").find(".item").removeClass("hover"); }); $("#public_cate").live("mouseleave",function(){ $("#public_cate").removeClass("hover"); $("#booksort").find(".item").removeClass("hover"); }); $(".topMenu .menus").dropdown({ delay: 50 }), $(".allCat").dropdown({ delay: 50 }, function() { }), $("#topCart").dropdown({ delay: 50 }, function() { $("#cat_form13").show(); $("#cat_form13 li").length && $("#topCart").find("s").addClass("setCart"); }), $(".topMenu .tShow").dropdown({ delay: 50 }); if($(".topMenu .d2 .dd").length){ $(".topMenu .d2 .dd").append(''); } if($(".f_ios").length){ $(".f_ios").find("li:first").html('手机客户端'); } var win_all = $("#header").width(); var ZnowTime = new Date().getTime(); //移动广告语 if (ZnowTime >=1420992000000 && ZnowTime<=1423583999000){ $("#phone_time").html("客户端首单签收后
            返满200减20元券") $(".client-promo a").html('App首单签收后 返20元满减券'); } //右侧浮动 if(ZnowTime >= 1414771200000 && ZnowTime<=1416239999000){ $('.index_rfloat').html('
            关闭
            '); $('.index_rfloat').show(); } $('.app-android').attr('href','http://android.e3mall.cn/sfandroid'); //右侧广告位关闭 if ($(".index_rfloat").length){$(".J_rclose").click(function(){$(".index_rfloat").hide();});} //隐藏会员俱乐部入口 //$(".allCat").find("dl").eq(2).find("dd a").last().hide(); //$("#login").after("
          • 员工福利
          • "); }); $("#booksort .item").live("mouseenter",function(){ $(this).addClass("hover"); }); $("#booksort .item").live("mouseleave",function(){ $(this).removeClass("hover"); }); function isOnline(wwwurl,homeurl,passporturl){ $.getJSON( wwwurl+"/ajax/isOnline/?callback=?", function( data ) { if (data.welcome){ passporturl = passporturl.replace('https', 'http'); $('#login').html(' '+data.welcome+' [退出]'); }else{ //var nickName = decodeURI(getCookie('_nickName')); var nickName = decodeURI(decodeURI(escape(getCookie('_nickName')))); nickName = nickName?nickName:'嘿'; nickName = 'false'==nickName?'嘿':nickName; nickName = 'null'==nickName?'嘿':nickName; var welComeMsg = ''; if('嘿' == nickName){ welComeMsg = nickName+',欢迎来宜立方商城!'; }else{ welComeMsg = nickName+',欢迎您!'; } $('#login').html(welComeMsg+'请登录 | 免费注册'); } if(data.qqcb){ $('#qqcb').html(data.qqcb); } }); } function setCity(wwwUrl,provinceId,cityId,countyId){ var provinceId = provinceId?provinceId:2; var cityId = cityId?cityId:52; var countyId = countyId?countyId:500; var townid = 0; var today = new Date(); var expiry = new Date(today.getTime() + 3600 * 24 * 30 * 3 * 1000); var domain = window.location.host; domain = domain.substring(domain.indexOf('.')); setCookie('provinceid',provinceId,expiry,'/',domain); setCookie('cityid',cityId,expiry,'/',domain); setCookie('areaid',countyId,expiry,'/',domain); setCookie('townid',townid,expiry,'/',domain); window.location.reload(); // $.ajax({ // url : wwwUrl+'/AjaxSetCity/Changecity/', // dataType: "jsonp", // jsonp:"callback", // data : {provinceid:provinceId,cityid:cityId,areaid:countyId}, // success: function(str){ // window.location.reload(); // } // }); } function getAllCity(){ } function showShadow(){ var h = $(document).height(); $('#screen').css({ 'height': h }); $('#screen').show(); $('.indexshadow').center(); $('.indexshadow').show(); } //取URLs function GetRequests() { var url = location.search; //获取url中"?"符后的字串 var theRequest = new Object(); if (url.indexOf("?") != -1) { var str = url.substr(1); if (str.indexOf("&") != -1) { strs = str.split("&"); for (var i = 0; i < strs.length; i++) { theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]); } } else { theRequest[str.split("=")[0]] = unescape(str.split("=")[1]); } } return theRequest; } //如果是IPAD APP清除 头底部 $(document).ready(function(){ //var browser = navigator.userAgent.toLowerCase(); //alert(browser); //if(browser.indexOf('ipod')!=-1){ var request = GetRequests(); if(getCookie('device') == 3 || request.device == 3){ if(getCookie('device') != 3){ var today = new Date(); var expires = new Date(today.getTime() + 24 * 60 * 60 * 1000); setCookie('device',3,expires,'/'); } $('.topMenu').remove(); $('#header').remove(); $('.mainNav').remove(); $('#footer').remove(); $(".side-wrap").remove(); //$("#side_app").remove(); $(".p-btn").remove(); var fenlei = /(http:\/\/www\.t\.com)?\/fresh\/(\d+)-(\d+)-(\d+)-(\d+)-(\d+)-(\d+)-(\d+)-(\d+)-(\d+)-(\d+)-(\d+)\.html/g; var pinpai = /\/pinpai\/(\d+)-(\d+)\.html/g; var guanjianzi = /(http:\/\/www\.t\.com)?\/productlist\/search\?inputBox=(\d+)\&keyword=([0-9a-zA-Z%])?(#.+)?/g; var xiangqing = /(http:\/\/www\.t\.com)?\/html\/products\/(\d+)\/(\d+)\.html(#.+)?/g; $("a").each(function(){ //console.log($(this).attr('href')); //替换分类 http://www.bbest.com/fresh/64-0-0-0-0-2-0-0-0-0-0.html $(this).attr('href', $(this).attr('href').replace(fenlei,"sfbesttoresource://resourceType=3&resourceCommonID=$2")); //替换品牌 /pinpai/322-2491.html $(this).attr('href', $(this).attr('href').replace(pinpai,"sfbesttoresource://resourceType=4&resourceCommonID=$2")); //替换关键字 /productlist/search?inputBox=0&keyword=%E9%98%BF%E5%85%8B%E8%8B%8F%E8%8B%B9%E6%9E%9C http://www.bbest.com/productlist/search?inputBox=1&keyword=%E9%98%BF%E5%85%8B%E8%8B%8F%E8%8B%B9%E6%9E%9C#trackref=sfbest_Uhead_Uhead_head_Keywords1 $(this).attr('href', $(this).attr('href').replace(guanjianzi,"sfbesttoresource://resourceType=2&resourceCommonID=$3")); //替换详情页 http://www.bbest.com/html/products/57/1800056021.html#trackref=sfbest_channel_fresh_floor1_item6 /html/products/9/1800008834.html $(this).attr('href', $(this).attr('href').replace(xiangqing,"sfbest://$3.html")); }) } //} }); ================================================ FILE: taotao-item-web/src/main/webapp/js/e3mall.js ================================================ var E3MALL = { checkLogin : function(){ var _ticket = $.cookie("token"); if(!_ticket){ return ; } $.ajax({ url : "http://localhost:7088/user/token/" + _ticket, dataType : "jsonp", type : "GET", success : function(data){ if(data.status == 200){ var username = data.data.username; var html = username + ",欢迎来到宜立方购物网![退出]"; $("#loginbar").html(html); } } }); }, logOut : function(){ var token = $.cookie("token"); if(!token){ return ; } $.ajax({ url : "http://localhost:7088/user/logout/" + token, dataType : "jsonp", type : "GET", success : function(data){ console.log(data); if(data.status == 200){ window.location.reload(); } } }); } } $(function(){ // 查看是否已经登录,如果已经登录查询登录信息 E3MALL.checkLogin(); }); ================================================ FILE: taotao-item-web/src/main/webapp/js/goods.js ================================================ /** * 商品页 js * * @author wanglibing * @version $Id: goods.js 5576 2013-09-04 01:45:51Z liweigang $ */ function giftImg(obj){ $(obj).children(".giftimg").show(); $(obj).siblings().children(".giftimg").hide(); } $(document).ready(function() { $(".pTab li").click(function(){ var len = $(".pTab li").length; $This=$(this).index(); $(this).addClass("curr").siblings().removeClass("curr"); $(".pCont").hide(); $(".pCont:eq("+$This+")").show(); if(len > 4){ if ($This < 3){ $(".pCont:gt(2)").show(); } }else if(len > 3){ if ($This < 2){ $(".pCont:gt(1)").show(); } }else{ if ($This < 1){ $(".pCont:gt(0)").show(); } } }); //显示隐藏元素 function thisdisplay(id,tag){ if(document.getElementById(id)){ var oBox=document.getElementById(id); var aDiv=oBox.getElementsByTagName(tag) oBox.onmouseover=function(){ aDiv[0].style.display="block" } oBox.onmouseout=function(){ aDiv[0].style.display="none" } } } thisdisplay('minisite','div'); }) ================================================ FILE: taotao-item-web/src/main/webapp/js/jquery.alerts.js ================================================ // jQuery Alert Dialogs Plugin // // Version 1.1 // // Cory S.N. LaViska // A Beautiful Site (http://abeautifulsite.net/) // 14 May 2009 // // Visit http://abeautifulsite.net/notebook/87 for more information // // Usage: // jAlert( message, [title, callback] ) // jConfirm( message, [title, callback] ) // jPrompt( message, [value, title, callback] ) // // History: // // 1.00 - Released (29 December 2008) // // 1.01 - Fixed bug where unbinding would destroy all resize events // // License: // // This plugin is dual-licensed under the GNU General Public License and the MIT License and // is copyright 2008 A Beautiful Site, LLC. // (function($) { /* * 遮罩层 */ var Shade=new function() { var handle={}; var shade; handle.show=function(func) { if(!shade) { shade=document.createElement('div'); shade.style.display = 'none'; shade.style.zIndex = 99997; shade.style.filter = 'alpha(opacity = 20)'; shade.style.left = 0; shade.style.width = '100%'; shade.style.position = 'absolute'; shade.style.top = 0; shade.style.backgroundColor = '#989898'; shade.style.opacity = .2; document.body.appendChild(shade); } with((document.compatMode=='CSS1Compat')?document.documentElement:document.body) { var ch=clientHeight,sh=scrollHeight; shade.style.height=(sh>ch?sh:ch)+'px'; var cw = clientWidth,sw = scrollWidth, ow=offsetWidth; var width = cw > sw ? cw : sw; width = width > ow ? width : ow; shade.style.width=width+'px'; shade.style.display='block'; } if(func){ func(); } }; handle.hide=function(func){ shade.style.display='none'; if(func){ func(); } }; return handle; } $.alerts = { // These properties can be read/written by accessing $.alerts.propertyName from your scripts at any time verticalOffset: -75, // vertical offset of the dialog from center screen, in pixels horizontalOffset: 0, // horizontal offset of the dialog from center screen, in pixels/ repositionOnResize: true, // re-centers the dialog on window resize overlayOpacity: .01, // transparency level of overlay overlayColor: '#89652b', // base color of overlay draggable: true, // make the dialogs draggable (requires UI Draggables plugin) okButton: ' 确定 ', // text for the OK button cancelButton: ' 取消 ', // text for the Cancel button dialogClass: null, // if specified, this class will be applied to all dialogs // Public methods alert: function(message, title, callback) { if( title == null ) title = '提示信息'; $.alerts._show(title, message, null, 'alert', function(result) { if( callback ) callback(result); }); }, confirm: function(message, title, callback) { if( title == null ) title = '确认信息'; $.alerts._show(title, message, null, 'confirm', function(result) { if( callback ) callback(result); }); }, prompt: function(message, value, title, callback) { if( title == null ) title = '输入信息'; $.alerts._show(title, message, value, 'prompt', function(result) { if( callback ) callback(result); }); }, // Private methods _show: function(title, msg, value, type, callback) { Shade.show(); $.alerts._hide(); $.alerts._overlay('show'); $("BODY").append( ''); if( $.alerts.dialogClass ) $("#popup_container").addClass($.alerts.dialogClass); // IE6 Fix var pos = ($.browser.msie && parseInt($.browser.version) <= 6 ) ? 'absolute' : 'fixed'; $("#popup_container").css({ position: pos, zIndex: 100000, padding: 0, margin: 0 }); if ($.browser.msie && $.browser.version < 7) { $ie6Fix = $('').css({ position: "absolute", zIndex: 99999 }).insertBefore("#popup_container") } $("#popup_title").text(title); $("#popup_content").addClass(type); $("#popup_message").text(msg); $("#popup_message").html( $("#popup_message").text().replace(/\n/g, '
            ') ); $("#popup_container").css({ minWidth: $("#popup_container").outerWidth(), maxWidth: $("#popup_container").outerWidth() }); $.alerts._reposition(); $.alerts._maintainPosition(true); switch( type ) { case 'alert': $("#popup_message").after(''); $("#popup_ok").click( function() { $.alerts._hide(); Shade.hide(); callback(true); }); $("#popup_ok").focus().keypress( function(e) { if( e.keyCode == 13 || e.keyCode == 27 ) $("#popup_ok").trigger('click'); }); break; case 'confirm': $("#popup_message").after(''); $("#popup_ok").click( function() { $.alerts._hide(); Shade.hide(); if( callback ) callback(true); }); $("#popup_cancel").click( function() { $.alerts._hide(); Shade.hide(); if( callback ) callback(false); }); $("#popup_ok").focus(); $("#popup_ok, #popup_cancel").keypress( function(e) { if( e.keyCode == 13 ) $("#popup_ok").trigger('click'); if( e.keyCode == 27 ) $("#popup_cancel").trigger('click'); }); break; case 'prompt': $("#popup_message").append('
            ').after(''); $("#popup_prompt").width( $("#popup_message").width() ); $("#popup_ok").click( function() { var val = $("#popup_prompt").val(); $.alerts._hide(); Shade.hide(); if( callback ) callback( val ); }); $("#popup_cancel").click( function() { $.alerts._hide(); Shade.hide(); if( callback ) callback( null ); }); $("#popup_prompt, #popup_ok, #popup_cancel").keypress( function(e) { if( e.keyCode == 13 ) $("#popup_ok").trigger('click'); if( e.keyCode == 27 ) $("#popup_cancel").trigger('click'); }); if( value ) $("#popup_prompt").val(value); $("#popup_prompt").focus().select(); break; } // Make draggable if( $.alerts.draggable ) { try { $("#popup_container").draggable({ handle: $("#popup_title") }); $("#popup_title").css({ cursor: 'move' }); } catch(e) { /* requires jQuery UI draggables */ } } }, _showNew: function(showX, showP, width_m, title, msg, value, type, callback) { Shade.show(); $.alerts._hide(); $.alerts._overlay('show'); if(showX==1){ titlehead = '
            '; }else{ titlehead = '
            '; } if(width_m == null){ width_m = $("#popup_container").outerWidth(); } if(showP==1){ sd_img = '
            '; }else{ sd_img = ''; } $("BODY").append( ''); if( $.alerts.dialogClass ) $("#popup_container").addClass($.alerts.dialogClass); // IE6 Fix var pos = ($.browser.msie && parseInt($.browser.version) <= 6 ) ? 'absolute' : 'fixed'; $("#popup_container").css({ position: pos, zIndex: 100000, margin: 0 }); if ($.browser.msie && $.browser.version < 7) { $ie6Fix = $('').css({ position: "absolute", zIndex: 99999 }).insertBefore("#popup_container") } $("#popup_title").text(title); $("#popup_content").addClass(type); /*if(msg!=null){ $("#popup_message").text(msg); }*/ $("#popup_message").text(msg); $("#popup_message").html( $("#popup_message").text().replace(/\n/g, '
            ') ); $("#popup_container").css({ minWidth: width_m, maxWidth: width_m }); $.alerts._reposition(); $.alerts._maintainPosition(true); switch( type ) { case 'alert': $("#titlehead_x").click( function() { $.alerts._hide(); Shade.hide(); if( callback ) callback(true); }); $("#popup_message").after(''); $("#popup_ok").click( function() { $.alerts._hide(); Shade.hide(); if( callback ) callback(true); }); $("#popup_ok").focus().keypress( function(e) { if( e.keyCode == 13 || e.keyCode == 27 ) $("#popup_ok").trigger('click'); }); break; case 'confirm': $("#titlehead_x").click( function() { $.alerts._hide(); Shade.hide(); top.location.reload(); }); $("#popup_message").after(''); $("#popup_ok").click( function() { $.alerts._hide(); Shade.hide(); if( callback ) callback(true); }); $("#popup_cancel").click( function() { $.alerts._hide(); Shade.hide(); top.location.reload(); }); $("#popup_ok").focus(); $("#popup_ok, #popup_cancel").keypress( function(e) { if( e.keyCode == 13 ) $("#popup_ok").trigger('click'); if( e.keyCode == 27 ) $("#popup_cancel").trigger('click'); }); break; } // Make draggable if( $.alerts.draggable ) { try { $("#popup_container").draggable({ handle: $("#popup_title") }); $("#popup_title").css({ cursor: 'move' }); } catch(e) { /* requires jQuery UI draggables */ } } }, _hide: function() { if ($.browser.msie && $.browser.version < 7) { $("#shadow").remove(); } $("#popup_container").remove(); $.alerts._overlay('hide'); $.alerts._maintainPosition(false); }, _overlay: function(status) { switch( status ) { case 'show': $.alerts._overlay('hide'); $("BODY").append(''); $("#popup_overlay").css({ position: 'absolute', zIndex: 99998, top: '0px', left: '0px', width: '100%', height: $(document).height(), background: $.alerts.overlayColor, opacity: $.alerts.overlayOpacity }); break; case 'hide': $("#popup_overlay").remove(); break; } }, _reposition: function() { var top = (($(window).height() / 2) - ($("#popup_container").outerHeight() / 2)) + $.alerts.verticalOffset; var left = (($(window).width() / 2) - ($("#popup_container").outerWidth() / 2)) + $.alerts.horizontalOffset; var height = $("#popup_container").outerHeight(true); var width = $("#popup_container").outerWidth(true); if( top < 0 ) top = 0; if( left < 0 ) left = 0; // IE6 fix if( $.browser.msie && parseInt($.browser.version) <= 6 ) top = top + $(window).scrollTop(); $("#popup_container").css({ top: top + 'px', left: left + 'px' }); $("#popup_overlay").height( $(document).height() ); $("#shadow").css({ top: top + 'px', left: left + 'px', height: height + 34 + 'px', width: width + 'px' }); }, _maintainPosition: function(status) { if( $.alerts.repositionOnResize ) { switch(status) { case true: $(window).bind('resize', $.alerts._reposition); break; case false: $(window).unbind('resize', $.alerts._reposition); break; } } } } // Shortuct functions jAlert = function(message, title, callback) { $.alerts.alert(message, title, callback); } jConfirm = function(message, title, callback) { $.alerts.confirm(message, title, callback); }; jPrompt = function(message, value, title, callback) { $.alerts.prompt(message, value, title, callback); }; jAlertNew = function(showX, showP, width, message, title, callback) { if( title == null ) title = '提示信息'; $.alerts._showNew(showX, showP, width, title, message, null, 'alert', function(result) { if( callback ) callback(result); }); } jConfirmNew = function(showX, showP, width, message, title, callback) { if( title == null ) title = '提示信息'; $.alerts._showNew(showX, showP, width, title, message, null, 'confirm', function(result) { if( callback ) callback(result); }); }; })(jQuery); ================================================ FILE: taotao-item-web/src/main/webapp/js/jquery.cookie.js ================================================ /*! * jQuery Cookie Plugin v1.4.1 * https://github.com/carhartl/jquery-cookie * * Copyright 2013 Klaus Hartl * Released under the MIT license */ (function (factory) { if (typeof define === 'function' && define.amd) { // AMD define(['jquery'], factory); } else if (typeof exports === 'object') { // CommonJS factory(require('jquery')); } else { // Browser globals factory(jQuery); } }(function ($) { var pluses = /\+/g; function encode(s) { return config.raw ? s : encodeURIComponent(s); } function decode(s) { return config.raw ? s : decodeURIComponent(s); } function stringifyCookieValue(value) { return encode(config.json ? JSON.stringify(value) : String(value)); } function parseCookieValue(s) { if (s.indexOf('"') === 0) { // This is a quoted cookie as according to RFC2068, unescape... s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\'); } try { // Replace server-side written pluses with spaces. // If we can't decode the cookie, ignore it, it's unusable. // If we can't parse the cookie, ignore it, it's unusable. s = decodeURIComponent(s.replace(pluses, ' ')); return config.json ? JSON.parse(s) : s; } catch(e) {} } function read(s, converter) { var value = config.raw ? s : parseCookieValue(s); return $.isFunction(converter) ? converter(value) : value; } var config = $.cookie = function (key, value, options) { // Write if (value !== undefined && !$.isFunction(value)) { options = $.extend({}, config.defaults, options); if (typeof options.expires === 'number') { var days = options.expires, t = options.expires = new Date(); t.setTime(+t + days * 864e+5); } return (document.cookie = [ encode(key), '=', stringifyCookieValue(value), options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE options.path ? '; path=' + options.path : '', options.domain ? '; domain=' + options.domain : '', options.secure ? '; secure' : '' ].join('')); } // Read var result = key ? undefined : {}; // To prevent the for loop in the first place assign an empty array // in case there are no cookies at all. Also prevents odd result when // calling $.cookie(). var cookies = document.cookie ? document.cookie.split('; ') : []; for (var i = 0, l = cookies.length; i < l; i++) { var parts = cookies[i].split('='); var name = decode(parts.shift()); var cookie = parts.join('='); if (key && key === name) { // If second argument (value) is a function it's a converter... result = read(cookie, value); break; } // Prevent storing a cookie that we couldn't decode. if (!key && (cookie = read(cookie)) !== undefined) { result[name] = cookie; } } return result; }; config.defaults = {}; $.removeCookie = function (key, options) { if ($.cookie(key) === undefined) { return false; } // Must not alter options, thus extending a fresh object... $.cookie(key, '', $.extend({}, options, { expires: -1 })); return !$.cookie(key); }; })); ================================================ FILE: taotao-item-web/src/main/webapp/js/jquery.lazyload.js ================================================ (function($){ $.fn.lazyload=function(options){ var settings = { threshold:0, failurelimit:0, event:"scroll", effect:"show", container:window }; if(options){ $.extend(settings,options); } var elements=this; if("scroll"==settings.event){ $(settings.container).bind("scroll", function(event){ var counter=0; elements.each(function(){ if($.abovethetop(this,settings)||$.leftofbegin(this,settings)) {}else if(!$.belowthefold(this,settings)&&!$.rightoffold(this,settings)){ $(this).trigger("appear"); }else{ if(counter++ > settings.failurelimit){ return false; } } }); var temp = $.grep(elements,function(element){ return !element.loaded; }); elements = $(temp); }); } this.each(function(){ var self=this; if(undefined==$(self).attr("data")){ $(self).attr("data", $(self).attr("src")); }if("scroll" != settings.event||undefined == $(self).attr("src")||"" == $(self).attr("src")||settings.placeholder == $(self).attr("src")||($.abovethetop(self,settings)||$.leftofbegin(self,settings)||$.belowthefold(self,settings)||$.rightoffold(self,settings))){ if(settings.placeholder){ $(self).attr("src", settings.placeholder);}else{//$(self).removeAttr("src"); } self.loaded=false; }else{ self.loaded=true; } $(self).one("appear", function(){ if(!this.loaded || 1 == 1){ $("").bind("load", function(){ $(self).hide().attr("src", $(self).attr("data"))[settings.effect](settings.effectspeed); self.loaded=true; }).attr("src", $(self).attr("data")); }; }); if("scroll"!=settings.event){ $(self).bind(settings.event, function(event){ if(!self.loaded){ $(self).trigger("appear"); } } );} }); $(settings.container).trigger(settings.event); return this; }; $.belowthefold=function(element,settings){ if(settings.container === undefined || settings.container === window){ var fold = $(window).height() + $(window).scrollTop(); }else{ var fold = $(settings.container).offset().top + $(settings.container).height(); } return fold <= $(element).offset().top - settings.threshold; }; $.rightoffold=function(element,settings){ if(settings.container === undefined || settings.container === window){ var fold = $(window).width() + $(window).scrollLeft(); }else{ var fold = $(settings.container).offset().left + $(settings.container).width(); } return fold <= $(element).offset().left - settings.threshold; }; $.abovethetop=function(element,settings){ if(settings.container === undefined || settings.container === window){ var fold = $(window).scrollTop(); }else{ var fold = $(settings.container).offset().top; } return fold >= $(element).offset().top + settings.threshold + $(element).height(); }; $.leftofbegin=function(element,settings){ if(settings.container === undefined || settings.container === window){ var fold = $(window).scrollLeft(); }else{ var fold = $(settings.container).offset().left; } return fold >= $(element).offset().left + settings.threshold + $(element).width(); }; $.extend( $.expr[':'], { "below-the-fold" : "$.belowthefold(a, {threshold : 0, container: window})", "above-the-fold" : "!$.belowthefold(a, {threshold : 0, container: window})", "right-of-fold" : "$.rightoffold(a, {threshold : 0, container: window})", "left-of-fold" : "!$.rightoffold(a, {threshold : 0, container: window})" } ); })(jQuery); ================================================ FILE: taotao-item-web/src/main/webapp/js/jquery.qrcode.js ================================================ (function( $ ){ $.fn.qrcode = function(options) { // if options is string, if( typeof options === 'string' ){ options = { text: options }; } // set default values // typeNumber < 1 for automatic calculation options = $.extend( {}, { render : "canvas", width : 256, height : 256, typeNumber : -1, correctLevel : QRErrorCorrectLevel.H, background : "#ffffff", foreground : "#000000" }, options); var createCanvas = function(){ // create the qrcode itself var qrcode = new QRCode(options.typeNumber, options.correctLevel); qrcode.addData(options.text); qrcode.make(); // create canvas element var canvas = document.createElement('canvas'); canvas.width = options.width; canvas.height = options.height; var ctx = canvas.getContext('2d'); // compute tileW/tileH based on options.width/options.height var tileW = options.width / qrcode.getModuleCount(); var tileH = options.height / qrcode.getModuleCount(); // draw in the canvas for( var row = 0; row < qrcode.getModuleCount(); row++ ){ for( var col = 0; col < qrcode.getModuleCount(); col++ ){ ctx.fillStyle = qrcode.isDark(row, col) ? options.foreground : options.background; var w = (Math.ceil((col+1)*tileW) - Math.floor(col*tileW)); var h = (Math.ceil((row+1)*tileW) - Math.floor(row*tileW)); ctx.fillRect(Math.round(col*tileW),Math.round(row*tileH), w, h); } } // return just built canvas return canvas; } // from Jon-Carlos Rivera (https://github.com/imbcmdth) var createTable = function(){ // create the qrcode itself var qrcode = new QRCode(options.typeNumber, options.correctLevel); qrcode.addData(options.text); qrcode.make(); // create table element var $table = $('
            ') .css("width", options.width+"px") .css("height", options.height+"px") .css("border", "0px") .css("border-collapse", "collapse") .css('background-color', options.background); // compute tileS percentage var tileW = options.width / qrcode.getModuleCount(); var tileH = options.height / qrcode.getModuleCount(); // draw in the table for(var row = 0; row < qrcode.getModuleCount(); row++ ){ var $row = $('').css('height', tileH+"px").appendTo($table); for(var col = 0; col < qrcode.getModuleCount(); col++ ){ $('') .css('width', tileW+"px") .css('background-color', qrcode.isDark(row, col) ? options.foreground : options.background) .appendTo($row); } } // return just built canvas return $table; } return this.each(function(){ var element = options.render == "canvas" ? createCanvas() : createTable(); jQuery(element).appendTo(this); }); }; })( jQuery ); ================================================ FILE: taotao-item-web/src/main/webapp/js/jquery.thickbox.js ================================================ var tb_pathToImage="http://i.e3mall.cn/com/images/loading.gif";$(document).ready(function(){tb_init('a.thickbox, area.thickbox, input.thickbox');imgLoader=new Image();imgLoader.src=tb_pathToImage});function tb_init(domChunk){$(domChunk).click(function(){var t=this.title||this.name||null;var a=this.href||this.alt;var g=this.rel||false;tb_show(t,a,g);this.blur();return false})}function tb_show(caption,url,imageGroup){try{if(typeof document.body.style.maxHeight==="undefined"){$("body","html").css({height:"100%",width:"100%"});$("html").css("overflow","hidden");if(document.getElementById("TB_HideSelect")===null){$("body").append("
            ");$("#TB_overlay").click(tb_remove)}}else{if(document.getElementById("TB_overlay")===null){$("body").append("
            ");$("#TB_overlay").click(tb_remove)}}if(tb_detectMacXFF()){$("#TB_overlay").addClass("TB_overlayMacFFBGHack")}else{$("#TB_overlay").addClass("TB_overlayBG")}if(caption===null){caption=""}$("body").append("
            ");$('#TB_load').show();var baseURL;if(url.indexOf("?")!==-1){baseURL=url.substr(0,url.indexOf("?"))}else{baseURL=url}var urlString=/\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;var urlType=baseURL.toLowerCase().match(urlString);if(urlType=='.jpg'||urlType=='.jpeg'||urlType=='.png'||urlType=='.gif'||urlType=='.bmp'){TB_PrevCaption="";TB_PrevURL="";TB_PrevHTML="";TB_NextCaption="";TB_NextURL="";TB_NextHTML="";TB_imageCount="";TB_FoundURL=false;if(imageGroup){TB_TempArray=$("a[@rel="+imageGroup+"]").get();for(TB_Counter=0;((TB_Counter  Next >"}else{TB_PrevCaption=TB_TempArray[TB_Counter].title;TB_PrevURL=TB_TempArray[TB_Counter].href;TB_PrevHTML="  < Prev"}}else{TB_FoundURL=true;TB_imageCount="Image "+(TB_Counter+1)+" of "+(TB_TempArray.length)}}}imgPreloader=new Image();imgPreloader.onload=function(){imgPreloader.onload=null;var pagesize=tb_getPageSize();var x=pagesize[0]-150;var y=pagesize[1]-150;var imageWidth=imgPreloader.width;var imageHeight=imgPreloader.height;if(imageWidth>x){imageHeight=imageHeight*(x/imageWidth);imageWidth=x;if(imageHeight>y){imageWidth=imageWidth*(y/imageHeight);imageHeight=y}}else if(imageHeight>y){imageWidth=imageWidth*(y/imageHeight);imageHeight=y;if(imageWidth>x){imageHeight=imageHeight*(x/imageWidth);imageWidth=x}}TB_WIDTH=imageWidth+30;TB_HEIGHT=imageHeight+60;$("#TB_window").append(""+caption+"
            "+caption+"
            "+TB_imageCount+TB_PrevHTML+TB_NextHTML+"
            ");$("#TB_closeWindowButton").click(tb_remove);if(!(TB_PrevHTML==="")){function goPrev(){if($(document).unbind("click",goPrev)){$(document).unbind("click",goPrev)}$("#TB_window").remove();$("body").append("
            ");tb_show(TB_PrevCaption,TB_PrevURL,imageGroup);return false}$("#TB_prev").click(goPrev)}if(!(TB_NextHTML==="")){function goNext(){$("#TB_window").remove();$("body").append("
            ");tb_show(TB_NextCaption,TB_NextURL,imageGroup);return false}$("#TB_next").click(goNext)}document.onkeydown=function(e){if(e==null){keycode=event.keyCode}else{keycode=e.which}if(keycode==27){tb_remove()}else if(keycode==190){if(!(TB_NextHTML=="")){document.onkeydown="";goNext()}}else if(keycode==188){if(!(TB_PrevHTML=="")){document.onkeydown="";goPrev()}}};tb_position();$("#TB_load").remove();$("#TB_ImageOff").click(tb_remove);$("#TB_window").css({display:"block"})};imgPreloader.src=url}else{var queryString=url.replace(/^[^\?]+\??/,'');var params=tb_parseQuery(queryString);TB_WIDTH=(params['width']*1)+30||630;TB_HEIGHT=(params['height']*1)+40||440;ajaxContentW=TB_WIDTH-30;ajaxContentH=TB_HEIGHT-45;if(url.indexOf('TB_iframe')!=-1){urlNoQuery=url.split('TB_');$("#TB_iframeContent").remove();if(params['modal']!="true"){$("#TB_window").append("
            "+caption+"
            ");$("#TB_iframeContent").attr("src",urlNoQuery[0])}else{$("#TB_overlay").unbind();$("#TB_window").append("");$("#TB_iframeContent").attr("src",urlNoQuery[0])}}else{if($("#TB_window").css("display")!="block"){if(params['modal']!="true"){$("#TB_window").append("
            "+caption+"
            ")}else{$("#TB_overlay").unbind();$("#TB_window").append("
            ")}}else{$("#TB_ajaxContent")[0].style.width=ajaxContentW+"px";$("#TB_ajaxContent")[0].style.height=ajaxContentH+"px";$("#TB_ajaxContent")[0].scrollTop=0;$("#TB_ajaxWindowTitle").html(caption)}}$("#TB_closeWindowButton").click(tb_remove);if(url.indexOf('TB_inline')!=-1){$("#TB_ajaxContent").append($('#'+params['inlineId']).children());$("#TB_window").unload(function(){$('#'+params['inlineId']).append($("#TB_ajaxContent").children())});tb_position();$("#TB_load").remove();$("#TB_window").css({display:"block"})}else if(url.indexOf('TB_iframe')!=-1){tb_position();if($.browser.safari){$("#TB_load").remove();$("#TB_window").css({display:"block"})}}else{$("#TB_ajaxContent").load(url+="&random="+(new Date().getTime()),function(){tb_position();$("#TB_load").remove();tb_init("#TB_ajaxContent a.thickbox");$("#TB_window").css({display:"block"})})}}if(!params['modal']){document.onkeyup=function(e){if(e==null){keycode=event.keyCode}else{keycode=e.which}if(keycode==27){tb_remove()}}}}catch(e){}}function tb_showIframe(){$("#TB_load").remove();$("#TB_window").css({display:"block"})}function tb_remove(){$("#TB_imageOff").unbind("click");$("#TB_closeWindowButton").unbind("click");$("#TB_window").fadeOut("fast",function(){$('#TB_window,#TB_overlay,#TB_HideSelect').trigger("unload").unbind().remove()});$("#TB_load").remove();if(typeof document.body.style.maxHeight=="undefined"){$("body","html").css({height:"auto",width:"auto"});$("html").css("overflow","")}document.onkeydown="";document.onkeyup="";return false}function tb_position(){$("#TB_window").css({marginLeft:'-'+parseInt((TB_WIDTH/2),10)+'px',width:TB_WIDTH+'px'});if(!(jQuery.browser.msie&&jQuery.browser.version<7)){$("#TB_window").css({marginTop:'-'+parseInt((TB_HEIGHT/2),10)+'px'})}}function tb_parseQuery(query){var Params={};if(!query){return Params}var Pairs=query.split(/[;&]/);for(var i=0;i" img.outerHTML = strNewHTML j = j-1 } } } } if (window.addEventListener) { window.addEventListener('DOMContentLoaded', correctPNG, false); //firefox window.addEventListener('load', correctPNG, false); } else if (window.attachEvent) { window.attachEvent('onload', correctPNG); //IE } //图片延时加载 var fgm = { on: function(element, type, handler) { return element.addEventListener ? element.addEventListener(type, handler, false) : element.attachEvent("on" + type, handler) }, bind: function(object, handler) { return function() { return handler.apply(object, arguments) } }, pageX: function(element) { return element.offsetLeft + (element.offsetParent ? arguments.callee(element.offsetParent) : 0) }, pageY: function(element) { return element.offsetTop + (element.offsetParent ? arguments.callee(element.offsetParent) : 0) }, hasClass: function(element, className) { return new RegExp("(^|\\s)" + className + "(\\s|$)").test(element.className) }, attr: function(element, attr, value) { if(arguments.length == 2) { return element.attributes[attr] ? element.attributes[attr].nodeValue : undefined } else if(arguments.length == 3) { element.setAttribute(attr, value) } } }; //延时加载 function LazyLoad(obj) { //this.lazy = typeof obj === "string" ? document.getElementById(obj) : obj; //this.aImg = this.lazy.getElementsByTagName("img"); this.aImg = obj; this.fnLoad = fgm.bind(this, this.load); this.load(); fgm.on(window, "scroll", this.fnLoad); fgm.on(window, "resize", this.fnLoad); } LazyLoad.prototype = { load: function() { var iScrollTop = document.documentElement.scrollTop || document.body.scrollTop; var iClientHeight = document.documentElement.clientHeight + iScrollTop; var i = 0; var aParent = []; var oParent = null; var iTop = 0; var iBottom = 0; var aNotLoaded = this.loaded(0); if(this.loaded(1).length != this.aImg.length) { for(i = 0; i < aNotLoaded.length; i++) { oParent = aNotLoaded[i].parentElement || aNotLoaded[i].parentNode; iTop = fgm.pageY(oParent); iBottom = iTop + oParent.offsetHeight; if((iTop > iScrollTop && iTop < iClientHeight) || (iBottom > iScrollTop && iBottom < iClientHeight)) { aNotLoaded[i].src = fgm.attr(aNotLoaded[i], "data-img") || aNotLoaded[i].src; aNotLoaded[i].className = "loaded"; } } } }, loaded: function(status) { var array = []; var i = 0; for(i = 0; i < this.aImg.length; i++) eval("fgm.hasClass(this.aImg[i], \"loaded\")" + (!!status ? "&&" : "||") + "array.push(this.aImg[i])"); return array } }; ================================================ FILE: taotao-item-web/src/main/webapp/js/product.js ================================================ /** * used in product detail page * * @author mengfankang@sf-express.com * @since 2014-03-20 */ (function(){ var Goods = Goods || {}; _SF_CFG.pid = _SF_CFG.parentId?_SF_CFG.parentId:_SF_CFG.productId; _SF_CFG.maxStockNum = 99; _SF_CFG.stockStatus = 0; //基础公共方法 //Ajax参数 Goods.initOpts = function(append) { var opts = { async: true, dataType: 'json', timeout: 10000, type : 'GET', error: Goods.errorEvent } if (!append) { return opts; } for (var i in append) { opts[i] = append[i]; } return opts; }; //Ajax Get 请求 Goods.ajaxGet = function(opts) { var options = Goods.initOpts({ url: opts.url, //success: (typeof opts.callback === 'function') ? opts.callback : Goods.defaultCallback success: function(resp) { if (resp.status == 1) { if (typeof opts.callback === 'function') { opts.callback(resp.data); } else { Goods.defaultCallback(resp.data); } } else { Goods.errorEvent(resp); } } }); Goods.ajax(options); }; //Ajax Post请求 Goods.ajaxPost = function(opts) { var options = Goods.initOpts({ url: opts.url, data: opts.data || {}, type : 'POST', success: function(resp) { if (resp && resp.status == 1) { if (typeof opts.callback === 'function') { opts.callback(resp.data); } else { Goods.defaultCallback(resp.data); } } else { Goods.errorEvent(resp); } } }); Goods.ajax(options); }; Goods.ajax = function(opts) { $.ajax(opts); }; Goods.defaultCallback = function(resp) { }; Goods.errorEvent = function(resp) { }; /************以下为基础Ajax请求**********/ Goods.activity = function(product_id, callback, warehouseId) { var buyNum = getUserBuyNum(product_id); Goods.ajaxPost({ 'url' : '/goods/activity/', 'data': {'product_id': product_id,'num':buyNum, 'warehouse_id':warehouseId}, 'callback': callback }); }; Goods.stock = function(product_id, callback) { var buyNum = getUserBuyNum(product_id); var price = _SF_CFG.sfprice; Goods.ajaxPost({ 'url' : '/goods/stock/', 'data': {'product_id': product_id,'num':buyNum,'price':price}, 'callback': callback }); }; Goods.shipfee = function(product_id, callback){ var buyNum = getUserBuyNum(product_id); var price = _SF_CFG.sfprice; Goods.ajaxPost({ 'url' : '/goods/shipfee/', 'data': { 'product_id': product_id, 'num':buyNum, 'price':price }, 'callback': callback }); }; //组合商品信息 Goods.package = function(product_id, callback) { var buyNum = $("#number_"+product_id).val(); Goods.ajaxPost({ 'url' : '/goods/package/', 'data': {'product_id': product_id,'buy_num':buyNum}, 'callback': callback }); }; //单品价格 Goods.price = function(product_id, callback) { var buyNum = getUserBuyNum(product_id); Goods.ajaxPost({ 'url': '/goods/price/', 'data': {'product_id' : product_id,'num':buyNum}, 'callback': callback }); } //父子商品 Goods.fatherson = function(product_id, parent_id, curr_url, callback) { Goods.ajaxPost({ 'url': '/goods/fatherson/', 'data': {'product_id' : product_id, 'parent_id': parent_id, 'curr_url': curr_url}, 'callback':callback }); } //获取时效 Goods.time = function(callback) { Goods.ajaxPost({ 'url': '/goods/time/', 'callback' : callback }); } //获取相关品牌 Goods.brands = function(tcid, cid, callback) { Goods.ajaxPost({ 'url': '/goods/relateBrand/', 'data' : {'cid': cid, 'categoryOne': tcid}, 'callback': callback }); } //获取相关商品 Goods.zuheProduct = function(pids, callback) { Goods.ajaxPost({ 'url': '/goods/relation/', 'data' : {'pids': pids}, 'callback': callback }); } //历史访问 Goods.history = function(product_id) { Goods.ajaxPost({ 'url': '/goods/history/', 'data' : {'pid': product_id} }); } //购买此商品的顾客还购买了 Goods.buyrebuy = function(product_id, callback) { Goods.ajaxPost({ 'url': '/goods/buyrebuy/', 'data' : {'pid': product_id}, 'callback': callback }); } //浏览了该商品的顾客还浏览了 Goods.browserbrowse = function(product_id, callback) { Goods.ajaxPost({ 'url': '/goods/browserbrowse/', 'data': { 'pid': product_id}, 'callback' : callback }); } //获取地区列表 Goods.getRegion = function(callback) { var is_sfv = (3==_SF_CFG.businessModel)?1:0; Goods.ajaxPost({ 'url': '/goods/getRegion/', 'data':{'is_sfv':is_sfv}, 'callback': callback }); } //常用地址 window.changeRegion = function(p,c,a,t){ $.post("/product/changecity/",{provinceid:p,cityid:c,areaid:a,townid:t},function(str){ Goods.getOldRegion(Goods.regionOldTpl); changeOpen(); }); } //切换城市 Goods.changeCity = function(provinceid, cityid, areaid, townid, sfv){ Goods.ajaxPost({ 'url': '/goods/changecity/', 'data': { 'areaid': areaid, 'cityid': cityid, 'provinceid': provinceid, 'townid': townid, 'is_sfv':sfv} }); } //获取评论 Goods.getPl = function(pid, page, number, callback) { Goods.ajaxPost({ 'url': '/comments/ajaxPl/', 'data': {'pid': pid, 'page': page, 'pageNum': number,'type': _SF_CFG.commentType}, 'callback': callback }); } //获取晒单 Goods.getSd = function(pid, page, number, ctype, callback) { Goods.ajaxPost({ 'url': '/comments/ajaxSd/', 'data': {'pid': pid, 'page': page, 'pageNum': number, 'ctype': ctype}, 'callback': callback }); } //获取预售信息 Goods.preSell = function(product_id, callback) { Goods.ajaxPost({ 'url': '/goods/getPreSell/', 'data': {'pid': product_id}, 'callback': callback }); } //获取商品标签图片 Goods.productIcon = function(product_id, callback) { Goods.ajaxPost({ 'url': '/goods/productIcon/', 'data': {'pid': product_id}, 'callback': callback }); } //销售排行 Goods.saleTop = function (cid, callback) { Goods.ajaxPost({ 'url': '/goods/saletop/', 'data': {'cid': cid}, 'callback': callback }); } //获取地区老方法 Goods.getOldRegion = function(callback){ var is_sfv = (3==_SF_CFG.businessModel)?1:0; Goods.ajax({ async: true, timeout: 10000, type : 'POST', url: '/product/getRegion/', data: {'is_sfv':is_sfv}, success: callback }); } //推荐商品 Goods.recommendProduct = function(pid, callback) { Goods.ajaxPost({ 'url': '/goods/recommend/', 'data': {'pid': pid}, 'callback': callback }); } //浏览最终购买 Goods.viewBuy = function(pid, callback) { Goods.ajaxPost({ 'url': '/goods/viewBuy/', 'data': {'pid': pid}, 'callback': callback }); } //收藏还收藏了 Goods.userStore = function(pid, callback) { Goods.ajaxPost({ 'url': '/goods/userStore/', 'data': {'pid': pid}, 'callback': callback }); } /************以下为 Util 方法**********/ //更改购买数量 //type: 1数量减一,2数量加一,3初始化最小值,4检查库存 Goods.changeNum = function(type) { var nbtnObj = $("#number_" + _SF_CFG.productId); var number = nbtnObj.val(); if (_SF_CFG.buyNumber && number != parseInt(number)) { number = _SF_CFG.buyNumber; } //调整显示数量方法,Ajax回调用 var CallbackChangeNumber = function(data) { _SF_CFG.maxStockNum = 99; if (type == 2){ number++; } if (number >= _SF_CFG.maxBuy && _SF_CFG.maxStockNum>=99) { number = _SF_CFG.maxBuy; $("#add-sell-num").addClass('disable'); }else if(number>=_SF_CFG.maxStockNum){ number = _SF_CFG.maxStockNum; $("#add-sell-num").addClass('disable'); }else { $("#add-sell-num").removeClass('disable'); } if (number <= _SF_CFG.minBuy) { number = _SF_CFG.minBuy; $("#reduce-sell-num").addClass('disable'); } else { $("#reduce-sell-num").removeClass('disable'); } nbtnObj.val(number); } if (type == 2 || type == 4) { var buyNum = parseInt(number)+1; buyNum = type==2?buyNum:number; CallbackChangeNumber(); } else if (type == 1){ var buyNum = parseInt(number)-1; CallbackChangeNumber(); number = (number - 1); if (number <= _SF_CFG.minBuy) { number = _SF_CFG.minBuy; $("#reduce-sell-num").addClass('disable'); } else { $("#reduce-sell-num").removeClass('disable'); } if(number >= _SF_CFG.maxBuy) { number = _SF_CFG.maxBuy; $("#add-sell-num").addClass('disable'); }else if(number>=_SF_CFG.maxStockNum){ number = _SF_CFG.maxStockNum; $("#add-sell-num").addClass('disable'); }else { $("#add-sell-num").removeClass('disable'); } nbtnObj.val(number); } else if (type == 3) { number = _SF_CFG.minBuy; nbtnObj.val(number); } _SF_CFG.buyNumber = number; } //抢购倒计时方法 Goods.qiangGouRun = function(){ Goods.ajax({ async: true, dataType: 'json', timeout: 10000, type : 'POST', url: '/ajax/getQingGouByPid', data: {'productid': _SF_CFG.productId}, success: function(data){ if (data.status == 1) { var startTime = data.startTime, stopTime = data.stopTime, adWord = data.ad_word, nowTime = data.nowtimes + 1, tObj, diffTime; var CountdownTime = function(){ var day, hour, minute, second; diffTime = stopTime - nowTime; day = Math.floor(diffTime / 86400); hour = Math.floor((diffTime % 86400) / 3600); minute = Math.floor((diffTime % 3600) / 60); second = diffTime % 60; if (diffTime >= 0 && nowTime >= startTime) { $("#qianggou-sf").html('仅剩: '+day+' 天 '+hour+' 小时 '+minute+' 分 '+second+' 秒'); } else { if (typeof tObj == 'number') clearInterval(tObj); Goods.price(_SF_CFG.productId, Goods.priceTpl) } nowTime += 1; } tObj = setInterval(CountdownTime, 1000); } }, error: Goods.errorEvent }); } //控制相关品牌的展示隐藏 Goods.brandToggle = function() { if($("#brandCon ul li a").length > 6){ var $brands =$("#brandCon ul li a:gt(5)"); $brands.hide(); $("#brandCon").find("b").removeClass().addClass("hide"); $("#brandCon span").addClass("clickShow"); $(".clickShow").toggle(function(){ $brands.show(); $(this).find("b").removeClass().addClass("show"); },function(){ $brands.hide(); $(this).find("b").removeClass().addClass("hide"); }) } else { $(".clickShow").hide(); } } //控制关联商品宽度 Goods.groupShow = function(id) { var groupPro = $(id).find("li").outerWidth() * ($(id).find("li").length); $(id).css("width",groupPro); $(id).find("li:last").find("b").hide(); if($(id).find("li").length < 5){ $("#zuhe").find(".suits").css("overflow-x","hidden"); } else { $("#zuhe").find(".suits").css("overflow-x","auto"); } } //控制关联套装商品宽度 Goods.packageShow = function() { $("#package").find("ul").each(function(){ var t = $(this), i = t.find("li"), w = i.outerWidth(), l = i.length; t.css("width",w * l); t.find("li:last").find("b").hide(); if(l < 6){ t.parent().css("overflow-x","hidden"); } else { t.parent().css("overflow-x","auto"); } }) } //计算组合商品价格 Goods.calculateZuhePrice = function() { var totalprice = 0; var totalsfprice = 0; //关联商品 $('.gbatch:checked').each( function (){ totalprice += parseFloat($(this).attr('price')); totalsfprice += parseFloat($(this).attr('sfprice')); } ); //主商品 totalprice += parseFloat(_SF_CFG.price); totalsfprice += parseFloat(_SF_CFG.sfprice); $('#totalprice').html(parseFloat(totalprice).toFixed(2)); $('#youhuiprice-sf').html(parseFloat(totalsfprice-totalprice).toFixed(2)); } //晒单跳转 Goods.gotosun = function(pid, type) { $.post("/comments/isSunProduct/id/"+pid+"/ctype/"+type,null,function(data){ if(data.data == 0){ jAlert(data.info,'提示信息'); }else if(data.data == 2){ jAlert(data.info,'提示信息',function(e){ if(e){ SF.Widget.login(); } }); }else if (data.data == 1) { window.open( _SF_CFG.homeurl + '/comments/index/pid/'+pid+'/doname/slist'); } },"json"); } //评论跳转 Goods.gotoPl = function () { $.post("/mark/isPlProduct/id/"+ _SF_CFG.productId +"/flag/0",null,function(data){ if(data.data == 0){ //jAlert(data.info,'提示信息'); $.alerts.okButton = '确定'; jAlertNew(1, 0, 368, '
            '+data.info+'
            ', '提示'); $.cookie('flagComment','', { expires:-1}); }else if(data.data == 2){ $.cookie('flagComment', '1'); var currentUrl = window.location.href; var currentUrlArr = currentUrl.split('.html'); var myCurrentUrl = currentUrlArr[0]+".html#flagComment"+currentUrlArr[1]; SF.Widget.login(myCurrentUrl); }else if (data.data == 1) { //发表评价 window.open( _SF_CFG.homeurl + '/comments/index/pid/'+ _SF_CFG.productId); } },"json"); } //格式化时间戳 Goods.formatDateTime = function(time) { var T = new Date(time * 1000), checkTime = function(i){ if ( i < 10 ) { i = "0" + i; } return i; }, timeString = T.getFullYear() + "-" + checkTime(T.getMonth() + 1) + "-" + checkTime(T.getDate()) + ' ' + checkTime(T.getHours()) + ':' + checkTime(T.getMinutes()); return timeString; } //处理收藏 Goods.addFav = function(This) { $.post("/favorites/create/product_id/" + _SF_CFG.productId + "/",{ispresale: _SF_CFG.presellId },function(str){ if(str.status == 2){ //document.location.href= _SF_CFG.passporturl + '?returnUrl='+document.location.href; $.cookie('flagAddFav','1'); var currentUrl = window.location.href; var currentUrlArr = currentUrl.split('.html'); var myCurrentUrl = currentUrlArr[0]+".html?flagAddFav=1"+currentUrlArr[1]; SF.Widget.login(myCurrentUrl); }else{ $.cookie('flagAddFav','', { expires:-1}); var html = '
            ' + '
            ' + '
            ' + '' + (str.status == 1 ? '收藏成功': '您已收藏过') + '查看收藏夹' + '
            ' + '
            ' + '更多值得收藏商品加载中...' + '
            '; var body = $('body'); body.find('#pFavorite').remove(); body.append($(html)); var top = $(This).offset().top + 20,left = $(This).offset().left -200; $("#pFavorite").css({"top":top,"left":left}).show(); Goods.userStore(_SF_CFG.productId, Goods.userStoreTpl); } },"json"); } //处理到货通知 Goods.arrivalNotice = function(This) { $.post("/Goods/ArrivalNotice/product_id/" + _SF_CFG.productId + "/",{ispresale: _SF_CFG.presellId },function(str){ if(str.status == 2){ SF.Widget.login(); }else{ $("#user_email").val(str.data.user_email) $("#user_mobile").val(str.data.user_mobile) var top = $(This).offset().top -5,left = $(This).offset().left -91; $("#win1").css({"top":top,"left":left, "position": "absolute"}).show(); $("#mobile_error").hide(); $("#email_error").hide(); $("#mobileDiv").removeClass('okBorder'); $("#emailDiv").removeClass('okBorder'); } },"json"); } //处理到货通知 Goods.arrivalNoticeDo = function() { var flag = $("input[name='flag']:checked").val(); var user_email = $("#user_email").val(); var user_mobile = $("#user_mobile").val(); $("#mobileDiv").removeClass('okBorder'); $("#emailDiv").removeClass('okBorder'); $("#email_error").hide(); $("#mobile_error").hide(); if(1==flag){ if(user_email){ var mailReg = /^[a-zA-Z1-9_\.-][a-zA-Z0-9_.-]{3,}@([a-zA-Z0-9_-]+\.){1,5}[A-Za-z]{2,4}$/; if(!mailReg.test(user_email)){ $("#email_error").html('邮箱格式不正确,请重新输入'); $("#email_error").show(); $("#emailDiv").addClass('okBorder'); return false; } }else{ $("#email_error").html('请输入您的邮箱地址'); $("#email_error").show(); $("#emailDiv").addClass('okBorder'); return false; } } if(2==flag){ var user_mobile = $("#user_mobile").val(); if(user_mobile){ var mobileReg = /^13[0-9]{1}[0-9]{8}$|147[0-9]{8}$|15[012356789]{1}[0-9]{8}$|18[0256789]{1}[0-9]{8}$|170[0-9]{8}$/; if(!mobileReg.test(user_mobile)){ $("#mobile_error").html('手机格式不正确,请重新输入'); $("#mobile_error").show(); $("#mobileDiv").addClass('okBorder'); return false; } }else{ $("#mobile_error").html('请输入您的手机号码'); $("#mobile_error").show(); $("#mobileDiv").addClass('okBorder'); return false; } } if(1!=flag && 2!=flag){ jAlert('请选择到货通知方式'); return false; } $.post("/Goods/ArrivalNoticeDo/product_id/" + _SF_CFG.productId + "/",{flag:flag,user_email:user_email,user_mobile:user_mobile},function(str){ if(str.status == 2){ jAlert('未登录'); }else{ if(0 == str.status){ var top = $("#arrival_notice").offset().top -5,left = $("#arrival_notice").offset().left -91; $("#win1").hide(); $("#win2").css({"top":top,"left":left, "position": "absolute"}).show(); }else{ jAlert(str.data); } } },"json"); } //服务承诺异步加载 Goods.fuwu = function(){ var $this = $(this); $.post("/goods/fuwu/", {'mod':_SF_CFG.businessModel}, function(r){ $("#div-params").html(r); }, 'json'); } //饮食文化异步加载 Goods.yinshi = function() { var $this = $(this); $.post("/goods/article/", {pid: _SF_CFG.productId}, Goods.articleTpl, 'json'); } /************以下为处理展示方法**********/ //配送时效 Goods.timeTpl = function (data) { var timeStr = ''; if (_SF_CFG.businessModel == 4 || _SF_CFG.businessModel == 7) { //timeStr = '由商家发货,预计发货后'+data+'送达'; } else if (_SF_CFG.businessModel == 3 && _SF_CFG.oneCategoryId == 8) { timeStr = '原产地直供,发货后预计2-5天内为您送达'; } else if (_SF_CFG.businessModel == 3) { timeStr = '原产地直供,发货后预计2-5天内为您送达'; } else if (data == '24小时' || data == '48小时') { timeStr = '预计' + data + '内为您送达'; } else if (data == '0') {//配送时效为0时增加的判断 timeStr = ''; } else { timeStr = '预计2-5天内为您送达'; } $("#time-sf").show().html(timeStr); } //配送时效 Goods.timeTplBook = function (data) { var timeStr = ''; if (_SF_CFG.businessModel == 4 || _SF_CFG.businessModel == 7) { $("#time-sf").show().html('可预订'); } else if (_SF_CFG.businessModel == 3) { timeStr = '原产地直供,发货后预计2-5天内为您送达'; } else if (data == '24小时' || data == '48小时') { timeStr = '到货后,预计' + data + '内为您送达'; } else if (data == '0') {//配送时效为0时增加的判断 timeStr = ''; } else { timeStr = '预计2-5天内为您送达'; } $("#time-sf").show().html(timeStr); } //处理库存在页面的展示 Goods.stockTpl = function(data) { var stockId = parseInt(data.stock); var warehouseId = parseInt(data.warehouse); _SF_CFG.stockStatus = stockId; switch(stockId) { case 1: //缺货 case 6: //已下架 case 7: //缺货 $("#buy-nogood-sf").show(); //显示无货 $("#buy-btn-sf").hide(); //购买btn $("#time-sf").hide(); //配送时效显示 $("#buy-canntsend-sf").hide(); //无法送达 $("#add-cart-r-btn-sf").hide();//浮动层加入购物车 $("#zuhe").hide(); //关联商品 $("#package").hide(); //礼包 $("#promotion-sf").hide(); //活动隐藏 $("#viewBuyDiv").hide(); //浏览此商品的顾客还买了 Goods.viewBuy(_SF_CFG.productId, Goods.viewBuyTpl); break; case 2: //可预订 $("#buy-nogood-sf").hide(); //无货 $("#buy-btn-sf").show(); //购买btn Goods.timeTplBook(data.time);//配送时效显示 $("#buy-canntsend-sf").hide(); //无法送达 $("#finalbuy-sf").hide(); //浏览还购买 $("#add-cart-r-btn-sf").show();//浮动层加入购物车 $("#zuhe").show(); //关联商品 $("#package").show(); //礼包 Goods.activity(_SF_CFG.productId, Goods.activityTpl, warehouseId); 0 !== $("#groupPro0").length && Goods.groupShow("#groupPro0"); 0 !== $("#package").length && Goods.packageShow(); $("#viewBuyDiv").show(); Goods.viewBuy(_SF_CFG.productId, Goods.viewBuyLeftTpl);//浏览最终购买了 break; case 3: //无法送达 $("#buy-nogood-sf").hide(); //无货 $("#buy-btn-sf").hide(); //购买btn $("#time-sf").hide(); //配送时效显示 $("#buy-canntsend-sf").show(); //无法送达 $("#buy-cancel-sf").hide(); //已下架 $("#add-cart-r-btn-sf").hide();//浮动层加入购物车 $("#zuhe").hide(); //关联商品 $("#package").hide(); //礼包 $("#viewBuyDiv").hide(); //浏览此商品的顾客还买了 Goods.viewBuy(_SF_CFG.productId, Goods.viewBuyTpl); Goods.activity(_SF_CFG.productId, Goods.activityTpl, warehouseId); break; default: //默认处理 4现货 5有货 if(_SF_CFG.businessModel == 4){ Goods.timeTpl(data.time); //获取商家配送时效 }else{ //Goods.time(Goods.timeTpl); //获取配送时效 Goods.timeTpl(data.time); } $("#buy-btn-sf").show(); //显示购买btn $("#buy-nogood-sf").hide(); //无货 $("#buy-canntsend-sf").hide(); //无法送达 $("#buy-cancel-sf").hide(); //已下架 $("#finalbuy-sf").hide(); //浏览还购买 $("#add-cart-r-btn-sf").show();//浮动层加入购物车 $("#zuhe").show(); //关联商品 $("#package").show(); //礼包 Goods.activity(_SF_CFG.productId, Goods.activityTpl, warehouseId); 0 !== $("#groupPro0").length && Goods.groupShow("#groupPro0"); 0 !== $("#package").length && Goods.packageShow(); $("#viewBuyDiv").show(); Goods.viewBuy(_SF_CFG.productId, Goods.viewBuyLeftTpl);//浏览最终购买了 break; } //将模板插入页面中 $("#stock").html(stockId); _SF_CFG.warehouse = data.warehouse; Goods.GoogleTpl(); Goods.shipfeeTpl(data); } Goods.shipfeeTpl = function(data) { if (data.code != 255) { var shipFeeDiv = function(fee) { if($('.pFreight').length == 0) { var shipFeeDivHtml = '
            运费:
            0
            '; $('.pItemsStock').after(shipFeeDivHtml); } if (fee > 0) { $('.pFreight em').html(fee); } } if (_SF_CFG.stockStatus != 3) { shipFeeDiv(data.shipfee); } else { if ($('.pFreight').length > 0) { $('.pFreight').remove(); } } } } //处理价格显示 Goods.priceTpl = function(data) { var tpl = '', pricetpl, sfpricetpl, price = data.price, sfprice = data.sfprice, fprice, dom; switch(data.type) { case 1: fprice = price.toString().split('.'); if (fprice.length > 1) { sfpricetpl = '' + fprice[0] + '.' + fprice[1] + ''; } else { sfpricetpl = '' + fprice[0] + ''; } var sfpriceStr = ''; if (sfprice) { //sfpriceStr = '¥' + sfprice + ''; } tpl = '
            抢购价:' + sfpricetpl + ''+sfpriceStr+'
            '; break; case 2: fprice = price.toString().split('.'); if (fprice.length > 1) { sfpricetpl = '' + fprice[0] + '.' + fprice[1] + ''; } else { sfpricetpl = '' + fprice[0] + ''; } var sfpriceStr = ''; if (sfprice) { //sfpriceStr = '¥' + sfprice + ''; } tpl = '
            优选价:' + sfpricetpl + ''+sfpriceStr+'
            '; break; case 3: sfprice = sfprice.toString().split('.'); if (sfprice.length > 1) { sfpricetpl = '' + sfprice[0] + '.' + sfprice[1] + ''; } else { sfpricetpl = '' + sfprice[0] + ''; } var priceStr = ''; if (price) { priceStr = '' + price + ''; } tpl = '
            优选价:' + sfpricetpl + '银卡及以上会员价:'+priceStr+'
            '; break; case 32: sfprice = sfprice.toString().split('.'); if (sfprice.length > 1) { sfpricetpl = '' + sfprice[0] + '.' + sfprice[1] + ''; } else { sfpricetpl = '' + sfprice[0] + ''; } var priceStr = ''; if (price) { priceStr = '' + price + ''; } tpl = '
            优选价:' + sfpricetpl + '金卡及以上会员价:'+priceStr+'
            '; break; case 33: sfprice = sfprice.toString().split('.'); if (sfprice.length > 1) { sfpricetpl = '' + sfprice[0] + '.' + sfprice[1] + ''; } else { sfpricetpl = '' + sfprice[0] + ''; } var priceStr = ''; if (price) { priceStr = '' + price + ''; } tpl = '
            优选价:' + sfpricetpl + '钻石卡会员价:'+priceStr+'
            '; break; case 4: fprice = sfprice.toString().split('.'); if (fprice.length > 1) { sfpricetpl = '' + fprice[0] + '.' + fprice[1] + ''; } else { sfpricetpl = '' + fprice[0] + ''; } //if (price) { // tpl = '
            优选价:'+ sfpricetpl + '' + price + '
            '; //} else { tpl = '
            优选价:'+ sfpricetpl + '
            '; //} break; default: fprice = sfprice.toString().split('.'); if (fprice.length > 1) { sfpricetpl = '' + fprice[0] + '.' + fprice[1] + ''; } else { sfpricetpl = '' + fprice[0] + ''; } //if(price){ // tpl = '
            优选价:' + sfpricetpl + '¥' + price + '
            '; //} else { tpl = '
            优选价:' + sfpricetpl + '
            '; //} break; } tpl += '
            '; $("#price-sf").html(tpl); if (data.type == 1) { Goods.qiangGouRun(); } _SF_CFG.sfprice = sfprice; _SF_CFG.price = price ? price : sfprice ; Goods.productStamp(); Goods.GoogleTpl(); } //活动显示 Goods.activityTpl = function(data) { //修改广告语 if(data.adword){ $("#adword-sf").attr("class",""); changeGoodsAdwordClass(data.adword); }else{ $("#adword-sf").attr("class",""); data.adword = ''; changeGoodsAdwordClass(data.adword); } if(data.maxbuy>_SF_CFG.maxBuy){ $("#add-sell-num").removeClass('disable'); } _SF_CFG.minBuy = data.minbuy; _SF_CFG.maxBuy = data.maxbuy; var buyNum = $("#number_"+_SF_CFG.productId).val(); if(undefined==buyNum){ buyNum=1 } //当用购买的最小数量,小于规定的最小数量时才初始化最小数量 if(parseInt(buyNum)'; } if (act[10006]) { item = act[10006]; tpl += '
          • 下单立减指定商品下单后即可立减'+ item.price +'元
          • '; } if (act[10004]) { item = act[10004]; if (item.count && item.count > 0) { for ( var i in item.list) { var sitem = item.list[i]; if (sitem.url) { tpl += '
          • 买赠'; tpl += sitem.img ? '' : ''; tpl += ''+ sitem.product_name +'*'+ sitem.product_num +'
          • '; } else { tpl += '
          • 买赠'; tpl += sitem.img ? '' : ''; tpl += ''+ sitem.product_name +'*'+ sitem.product_num +'
          • '; } } } } if (act[10008]) { item = act[10008]; tpl += '
          • 满减'; if (item.url) { tpl += '指定商品参加满'+ item.full +'元减'+ item.reduct +'元的活动'; } else { tpl += '指定商品参加满'+ item.full +'元减'+ item.reduct +'元的活动'; } tpl += '
          • '; } if (act[10012]) { item = act[10012]; tpl += '
          • 满返'; if (item.url) { tpl += '指定商品参加满'+ item.full +'元返优惠券的活动'; } else { tpl += '指定商品参加满'+ item.full +'元返优惠券的活动'; } tpl += '
          • '; } if (act[10005]) { item = act[10005]; tpl += '
          • 满赠'; if (item.url) { tpl += '指定商品参加满'+ item.full +'元送赠品的活动'; } else { tpl += '指定商品参加满'+ item.full +'元送赠品的活动'; } tpl += '
          • '; } if (act[10016]) { if (act[10016].count > 0) { var jjgFirst = '', jjgList = '', number = 1, linkA = '', linkB = ''; for (var i in act[10016].list) { item = act[10016].list[i]; if (act[10016].url) { linkA = ''; linkB = ''; } if (number == 1) { jjgFirst += '' + linkA + '指定商品参加满'+ item.full +'元加' + item.add + '元换购的活动'+ linkB +''; if (act[10016].count > 1) { jjgFirst += ''; } } if (act[10016].count > 1) { jjgList += '
            '+ linkA +'指定商品参加满'+item.full+'元加'+ item.add +'元换购的活动'+ linkB +'
            '; } number++; } if (jjgList) { jjgList = ''; } tpl += '
          • 加价购
            '+ jjgFirst + jjgList +'
          • '; } } if (act[10003]) { item = act[10003]; tpl += '
          • 特殊商品指定商品下单后即可得'+ item.multiples +'倍积分
          • '; } if (act['S10015']) { item = act['S10015']; tpl += '
          • 限时抢购限时抢购价'+ item.price +'元 手机客户端用户专享
          • '; } if (act['NM']) { item = act['NM']; tpl += '
          • N元M件' + item.name + '
          • '; } if (act['GF']) { item = act['GF']; tpl += '
          • 赠品单笔订单订购' + item.number + '件赠送手提袋。
          • '; } tpl = '
            促销信息:
            ' + '
              ' + tpl + '
            '; $("#promotion-sf").show().html(tpl); //加价购需要写入事件 $("#jjgou").mouseenter(function() { $(this).find(".sdd").show(); }).mouseleave(function() { $(this).find(".sdd").hide(); }); } else { $("#promotion-sf").hide(); } } //地区显示 Goods.regionTpl = function(data) { var regionShow, //库存地址展示 regionTitle, //库存地址展示title regionList; //地区Tab列表 regionShow = data.province.region_name; regionList = '
          • ' + data.province.region_name + '
          • '; if (data.province.municipality == '0') { regionShow += data.city.region_name; regionList += '
          • ' + data.city.region_name + '
          • '; } regionShow += data.area.region_name; regionTitle = data.province.region_name + data.city.region_name + data.area.region_name; if (data.town) { regionShow += data.town.region_name; regionTitle += data.town.region_name; regionList += '
          • ' + data.area.region_name + '
          • '; regionList += '
          • ' + data.town.region_name + '
          • '; } else { regionList += '
          • ' + data.area.region_name + '
          • '; } $("#region-t-sf").html(regionShow).attr('title', regionTitle); $("#store-selector").find('.tab').html(regionList); //省市区切换 $("#store-selector").find('.mt a').click(function(){ var ts = $(this); var id = ts.attr('data-widget'); $("#store-selector .mt a").removeClass('hover'); $("#store-selector .mc").hide(); $("#stock_" + id + "_item").show(); ts.addClass('hover'); }); //写入省数据 var provinceStr = ''; if (data.provincelist) { for( var i in data.provincelist) { var arr = data.provincelist[i]; provinceStr += '
          • ' + arr.region_name + '
          • '; } } $("#stock_province_item ul").html(provinceStr); //如果不是直辖市,写入城市 var cityStr = ''; if (data.citylist && data.province.municipality == '0') { for (var i in data.citylist) { var arr = data.citylist[i]; cityStr += '
          • ' + arr.region_name + '
          • '; } } $("#stock_city_item ul").html(cityStr); //写入区 var areaStr = ''; if (data.arealist) { for (var i in data.arealist) { var arr = data.arealist[i]; areaStr += '
          • ' + arr.region_name + '
          • '; } } $("#stock_area_item ul").html(areaStr); //写入街道 var townStr = ''; if (data.townlist) { for (var i in data.townlist) { var arr = data.townlist[i]; townStr += '
          • ' + arr.region_name + '
          • '; } } $("#stock_town_item ul").html(townStr); } //地区显示老方法 Goods.regionOldTpl = function(str) { if(str){ $("#regionSf").html(str); } } //父子商品展示 Goods.fathersonTpl = function(data) { var str = ''; if (data.count > 0) { for (var i in data.list) { var arr = data.list[i]; str += '
          • '+arr.name+'
          • '; } } $("#fatherson-sf").html(str); } //右上角标签展示 Goods.productIconTpl = function(data) { var str = ''; if (data) { for ( var i in data) { if(data[i].indexOf('productattr3')>0){ str += '
          • '; str += '
          • '; //}else if(data[i].indexOf('e3033e46c7067234571e13c215481d1d')>0){//D }else if(data[i].indexOf('87dff42bd2505998a3d1c4a01949b7cc')>0){ str += '
          • '; str += '
          • '; }else{ str += '
          • '; } } } $('#points-sf').html(str); } //处理评论数据(包括第一屏右侧好评度) Goods.commentTpl = function(data) { //如果第一页,刷新首屏右侧 if (_SF_CFG.commentPage == 1 && data && _SF_CFG.commentType == 0) { $("#positive-sf").attr('style', data.score.positive + '%'); $("#positive-num-sf").html(data.score.positive); //写入最新好评 if (data.best.author && data.best.comment) { var str = '
            '+ data.pageCount[0] +' 条评论
            ' + '
            '+ data.best.author +':'+ data.best.comment +'
            '; $("#bestComment-sf").html(str); }else{ if(data.pageCount[0]>0){ var str = '
            '+ data.pageCount[0] +' 条评论
            '; $("#bestComment-sf").html(str); } } $("#user-comment-sf").html(data.score.positive); var sorceListStr = ''; sorceListStr += '
            好评
            '+ data.score.positive +'%
            '; sorceListStr += '
            中评
            '+ data.score.middle +'%
            '; sorceListStr += '
            差评
            '+ data.score.bad +'%
            '; $("#sorce-star-sf").html(sorceListStr); $(".comment-total-sf").html(data.pageCount[0]); if(0==data.pageCount[0]){ var str = '

            还没人评论哦!

            马上评价

            '; $("#bestComment-sf").html(str); } var fontIndex = 0; $("#comment-filter-sf").find('font').each(function(){ $(this).html('('+data.pageCount[fontIndex]+')'); fontIndex++; }); } if (_SF_CFG.commentPage == 1 && data.pageCount[0] < 1) { $(".showAll").hide(); } //写入评论列表 var commentsStr = ''; if (data.pageCount[_SF_CFG.commentType]) { for (var i in data.data) { var comment = data.data[i]; commentsStr += '
          • '; //等级 if (comment.rankInfo) { commentsStr += '
            '+ comment.rankInfo.rankName +'
            '; } commentsStr += '
            ' + comment.author + '
            '; commentsStr += '
            '; //评论标题 if (comment.comment_score) { commentsStr += ''; } if (comment.new_title) { commentsStr += ''; } commentsStr += ''+ Goods.formatDateTime(comment.time) +''; commentsStr += (comment.comment_from ? ''+(comment.comment_from_url ? '': '')+'来自'+comment.comment_from + (comment.comment_from_url ? '': '') + '' : '') + '
            '; commentsStr += '
            评价内容:
            '+comment.comment+'
            '; if (comment.comments_for) { commentsStr += '
            客服回复:
            '+ comment.comments_for +'
            '; } commentsStr += '
            '; if (comment.images) { commentsStr += '
              '; for(var i = 0; i < comment.images.length; i++) { commentsStr += '
            • '; } commentsStr += '
            • 查看晒单
            • '; commentsStr += '
            '; } commentsStr += ''; commentsStr += '
          • '; } } $("#have-none-comments").remove(); $("#comment-lists-sf").html(''); if (commentsStr == '') { var tipshtml = '
            还木有评价额,快抢沙发吧!
            '; if (_SF_CFG.commentType > 0) { tipshtml = '
            暂无评价数据!
            '; } $(tipshtml).insertBefore($("#comment-lists-sf")); } else { $("#comment-lists-sf").html(commentsStr); $(".comment-like-sf").click(function(){ var commentLike = $(this), commentId = commentLike.attr('comment-id'), hasLiked = commentLike.attr('has-liked'), number = commentLike.attr('like-number'); if (hasLiked == '0') { $.post("/comments/addLike/", {'cid' : commentId}, function(r){ if (r.error == 2) { SF.Widget.login(window.location.href); } else if (r.error) { //jAlert(r.msg); } else { commentLike.attr('has-liked', 1); commentLike.attr('title', '已赞过'); commentLike.addClass('click'); if (number > 0) { commentLike.html(' '+(Number(number)+1)); } else { commentLike.html(' 1'); } } }, 'json'); } }); } //写入分页信息 if (data.pagestr) { $("#comment-ajax-page-sf").html(data.pagestr); } } //相关品牌 Goods.brandsTpl = function(data){ var brandStr = ''; if (data.count) { var sortNumber = 1; for (var i in data.list) { var arr = data.list[i]; brandStr += ''+ arr.name +''; sortNumber++; } brandStr = '

            相关品牌

            • ' + brandStr + '
            '; $("#brandCon").show().html(brandStr); Goods.brandToggle(); } } //销售排行 Goods.saleTopTpl = function(data) { var saleStr = '', number = 1, arr, classFore, imgStt, priceStr; if (data.count) { for (var i in data.list) { var arr = data.list[i]; if (number < 4) { classFore = 'class="fore"'; imgStr = '
            '; priceStr = '
            ¥'+ arr.price +'
            '; } else { classFore = ''; imgStr = ''; priceStr = ''; } if (number == data.count) { classFore = 'class="last"'; } saleStr += '
          • '; saleStr += imgStr; saleStr += ''; saleStr += priceStr saleStr += '
          • '; number++; } saleStr = '

            热销排行

              ' + saleStr + '
            '; $("#saletop-sf").show().html(saleStr); } } //组合商品 Goods.zuheProductTpl = function(data) { var zuheStr = '', sortNumber = 0, arr; if (data) { for (var i in data) { arr = data[i]; sortNumber++; zuheStr += '
          • ' + arr.name + '
            '+arr.str+':'+arr.price+'元
          • '; } } if (!zuheStr) { $("#zuhe").hide(); } else { $("#groupPro0").html(zuheStr); 0 !== $("#groupPro0").length && Goods.groupShow("#groupPro0"); Goods.calculateZuhePrice(); //为组合商品绑定计算价格事件 $('.gbatch').click(Goods.calculateZuhePrice); } } //组合套装 Goods.packageTpl = function(data) { var pack, item, packStr = '', packItemStr, sortPackNumber = 0, sortProductNumber = 0; if (data.count) { for (var i in data.list) { pack = data.list[i]; packItemStr = ''; sortPackNumber++; if (pack.list) { for ( var j in pack.list) { item = pack.list[j]; sortProductNumber++; packItemStr += '
          • ' + item.name + '
            '+ item.priceStr + item.price +'元
          • '; } } packStr += '
              ' + packItemStr + '
            ' + '
            优惠价格:'+ pack.price +'
            '; } } $("#package").html(packStr); 0 !== $("#package").length && Goods.packageShow(); } //晒单展示 Goods.sdTpl = function(data) { var sdStr = '', item, img; if (data.pageCount) { for ( var i in data.data) { item = data.data[i]; sdStr += '
            '; if (item.rankInfo) { sdStr += '
            '; sdStr += '
            '+ item.rankInfo.rankName +'
            '; } sdStr += '
            ' + item.author + '
            '; sdStr += '
            '; sdStr += ''+ item.title +''+ item.time +'
            '; sdStr += '
            ' + item.comment + '
            '; sdStr += '
              '; if (item.imags) { for (var j in item.imags) { img = item.imags[j]; sdStr += '
            • '; } } sdStr += '
            '; } } if (_SF_CFG.sdPage == 1) { $(".sd-total-sf").html(data.pageCount); } if (sdStr == '') { $('
            暂无晒单,快抢沙发吧!
            ').insertBefore($('#sd-lists-sf')); } else { $("#sd-lists-sf").html(sdStr); } //写入分页信息 if (data.pagestr) { $("#sd-ajax-page-sf").html(data.pagestr); } } //购买此商品的顾客最终购买了 Goods.buyrebuyTpl = function(data) { var buyStr = '', item, sortNumber = 0; if (data) { for (var i in data) { item = data[i]; sortNumber++; buyStr += '
          • '; buyStr += '
            '; if (item.adword) { buyStr += ''; buyStr += '
            ' + item.adword + '
            '; } else { buyStr += ''; } buyStr += '
            ¥'+ item.price +'
            '; buyStr += '
          • '; } } $("#buyrebuy-sf").html(buyStr); } //逛 Goods.getHistory = function (){ $.post("/product/guang/",{},function(str){ if(str){ $("#history_con").html(str); } }); } //set 历史访问 Goods.setHistory = function() { $.post("/product/history/id/" + _SF_CFG.productId,{style:1},function(str){ }); } //购买此商品的顾客还购买了(购买弹层用) Goods.buyAlsoBuy = function(data) { var buyStr = '', number = 4; if (data) { var sortNumber = 1; for (var i in data) { if (number < 1) break; var item = data[i]; buyStr += '
          • '; buyStr += ''+ item.name  +''; buyStr += '
            '; buyStr += '
            ¥'+ item.price +'
          • '; number--; sortNumber++; } } if (buyStr) { buyStr = '
            购买过该商品的用户还购买了
              ' + buyStr + '
            ' $("#elsebuy").html(buyStr); }else{ $("#elsebuy").hide(); } } //浏览此商品的顾客还浏览了 Goods.browserbrowseTpl = function(data) { var buyStr = '', item, sortNumber = 0; if (data) { for (var i in data) { item = data[i]; sortNumber++; buyStr += '
          • '; buyStr += '
            '; if (item.adword) { buyStr += ''; buyStr += '
            ' + item.adword + '
            '; } else { buyStr += ''; } buyStr += '
            ¥'+ item.price +'
            '; buyStr += '
          • '; } } $("#browserbrowse-sf").html(buyStr); } //处理预售 Goods.preSellTpl = function(data) { if (data.presell) { //有预售 //商品名称前增加预售汉字 start var goodsName = $("#base_name-sf").html(); goodsName = goodsName.replace(/(.*?)<\/strong>/gi,''); goodsName = '【预售】'+goodsName; $("#base_name-sf").html(goodsName); changeGoodsNameClass(goodsName); //商品名称前增加预售汉字 end var item, fprice, sfpricetpl, tpl, preSellStr = ''; _SF_CFG.sfprice = data.sfprice; _SF_CFG.price = data.presell.price; _SF_CFG.warehouse = data.siteId; if (data.presell.warn) { for (var i in data.presell.warn) { item = data.presell.warn[i]; preSellStr += item; } } preSellStr = '
            ' + preSellStr + '
            '; $("#presell-info-sf").show().html(preSellStr); if (data.presell.stateid == 1) { $("#buy-nogood-sf").hide(); //无货 $("#buy-btn-sf").show(); //显示购买btn $("#finalbuy-sf").hide();//看过该商品的用户最终购买了改为我们为您推荐了 $("#viewBuyDiv").show(); Goods.viewBuy(_SF_CFG.productId, Goods.viewBuyLeftTpl);//浏览最终购买了 } else { $("#add-cart-r-btn-sf").hide(); $("#buy-nogood-sf").show(); $("#buy-btn-sf").hide(); $("#viewBuyDiv").hide(); //浏览此商品的顾客还买了 Goods.viewBuy(_SF_CFG.productId, Goods.viewBuyTpl);//我们为您推荐了 } if(data.cansale == false){ $("#buy-nogood-sf").hide(); //无货 $("#buy-btn-sf").hide(); //显示购买btn $("#buy-canntsend-sf").show(); //无法送达 }else{ $("#buy-canntsend-sf").hide(); //无法送达 } //预售价 fprice = _SF_CFG.price.toString().split('.'); if (fprice.length > 1) { sfpricetpl = '' + fprice[0] + '.' + fprice[1] + ''; } else { sfpricetpl = '' + fprice[0] + ''; } if (_SF_CFG.sfprice) { tpl = '
            预售价:' + sfpricetpl + '
            '; } else { tpl = '
            预售价:' + sfpricetpl + '
            '; } tpl += '
            '; $("#price-sf").html(tpl); //处理预售购物车按钮 $("#cart-add-btn-sf").html('预约购买'); $("#cart-add-btn-sf").addClass('preBtn'); $('#quickBuy').css('display','none'); $("#sendTime").show(); $("#sendTime").html(data.presell.sendTime); $("#add-cart-r-btn-sf").removeClass().addClass('pre-btn'); $("#add-cart-r-btn-sf").html('预约购买'); Goods.productStamp(); //隐藏促销信息 $("#promotion-sf").hide(); } else { //无预售,则读取库存 $("#presell-info-sf").hide(); var goodsName = $("#base_name-sf").html(); //去除预售汉字start goodsName = goodsName.replace(/(.*?)<\/strong>/gi,''); $("#base_name-sf").attr('title',goodsName); $("#base_name-sf").html(goodsName); Goods.price(_SF_CFG.productId, Goods.priceTpl); Goods.stock(_SF_CFG.productId, Goods.stockTpl); //去除预售汉字end } } //推荐商品展示 Goods.recommendTpl = function(data) { var recStr = ''; if (data) { var sortNumber = 1; for (var i in data) { var item = data[i]; recStr += '
          • '; if (item.price) { //if (item.sfprice) { // recStr += '
            '+ item.price +'¥'+ item.sfprice +'
            '; //} else { recStr += '
            '+ item.price +'
            '; //} } else { recStr += '
            '+ item.sfprice +'
            '; } recStr += '
          • '; sortNumber++; } if (recStr) { recStr = '

            根据浏览为您推荐

              ' + recStr + '
            '; $("#recommend-by-view-sf").show().html(recStr); } } } //浏览最终购买展示 Goods.viewBuyTpl = function(data) { var viewStr = '', sortNumber = 0; if (data) { for (var i in data) { var item = data[i]; sortNumber++; viewStr += '
          • '+item.name+'
            '; viewStr += ''; viewStr += '
            ¥'+ item.price +'
          • '; } if (viewStr) { viewStr = '
            我们为您推荐了
              ' + viewStr + '
            '; $("#finalbuy-sf").show().html(viewStr); } } } //浏览最终购买左侧展示 Goods.viewBuyLeftTpl = function(data) { var buyStr = '', item, sortNumber = 0; if (data) { for (var i in data) { item = data[i]; sortNumber++; buyStr += '
          • '; buyStr += '
            '; if (item.adword) { buyStr += ''; buyStr += '
            ' + item.adword + '
            '; } else { buyStr += ''; } buyStr += '
            ¥'+ item.price +'
            '; buyStr += '
          • '; } } $("#viewBuyDiv").hide(); if(buyStr){ $("#viewbuy-sf").html(buyStr); $("#viewBuyDiv").show(); } } //收藏还收藏了展示 Goods.userStoreTpl = function(data) { var html = '', sortNumber = 0; if (data) { for (var i in data) { var item = data[i]; sortNumber++; html += '
          • '; html += ''+ item.name +'
            '; html += ''; html += '
            ¥'+ item.price +'
          • '; } if (html) { html = '
            收藏该商品的用户还收藏了
              ' + html + '
            '; $("#faved-also-fav-sf").html(html); } } } //饮食文化 Goods.articleTpl = function(data){ var html = ''; for (var i = 0, len = data.data.length; i < len; i++) { var item = data.data[i]; html += '
          • '; html += '

            '+ item['title'] +'

            '; html += '

            '+ item['description'] +'

            '; html += '
          • '; } html = '
              ' + html + '
            '; $("#div-article").html(html); } //顺丰包邮标识 Goods.productStamp = function() { if(4==_SF_CFG.businessModel || 5==_SF_CFG.businessModel || _SF_CFG.businessModel == 7){ $("#productStamp").remove(); return; } $("#productStamp").remove(); if (_SF_CFG.presell || _SF_CFG.price >= 199) { $(".pItemsPrice").append('
            '); } else { //get weight var pWeightMatch = $(".pdetail").html().match(/重量:(.+)kg/), weight = pWeightMatch && pWeightMatch[1] ? pWeightMatch[1] * 1 : 0; if (weight <= 10) { $(".pItemsPrice").append('
            '); } } } //GOOGLE再营销 Goods.GoogleTpl = function(){ if(_SF_CFG.price){ window.google_tag_params.ecomm_totalvalue = _SF_CFG.price; } if(_SF_CFG.warehouse && window.google_tag_params.ecomm_prodid.indexOf('-') < 0){ window.google_tag_params.ecomm_prodid = _SF_CFG.warehouse+'-'+window.google_tag_params.ecomm_prodid; } if(_SF_CFG.price && _SF_CFG.warehouse && !isChange){ window.google_trackConversion({ google_conversion_id: 990764409, google_custom_params: window.google_tag_params, google_remarketing_only: true }); } } window.Goods = Goods; })(); //判断商品名称长度,大于指定长度后增加class function changeGoodsNameClass(goodsName){ //预售商品去除预售html标签 if(_SF_CFG.presell){ goodsName = goodsName.replace(/(.*?)<\/strong>/gi,'【预售】'); $("#base_name-sf").attr('title',goodsName); } } //服务保障icon function poptipShow(){ $(".has_poptip").hover(function(){ var top = $(".points").offset().top + 85,left = $(".points").offset().left + 20,a_left = 26,i = $(this).index(); if (0==i){a_left =145}else if(1==i){a_left=75}else{a_left=10} if ($(this).hasClass("attr3")){ $("body").append("
            本商品由顺丰速运承运
            保障您享受高品质物流服务
            "); }else{ $("body").append("
            本商品经国际检测机构SGS
            质量鉴定,保障您享受安全
            高品质的商品
            "); } $(".ui-poptip").css({"top":top,"left":left});$(".ui-poptip-arrow-11").css("right",a_left); },function(){ $(".ui-poptip").remove(); }); } //去除预售商品名称中html标签 function changeGoodsAdwordClass(adword){ var goodsName = $("#base_name-sf").attr('title'); if(goodsName.length>29 && adword){ $("#base_name-sf").attr('class','title-long'); } var goodsNameClass = $("#base_name-sf").attr('class'); if('title-long'==goodsNameClass && adword.length>29){ $("#adword-sf").attr("class","title-long"); } $("#adword-sf").attr("title",adword); if('title-long'==goodsNameClass){ $("#adword-sf").html(adword); }else{ $("#adword-sf").html('  '+adword); } } $(document).ready(function(){ isChange = 0; //判断是否需要弹出评论提示框或跳转用户中心评论页 var currentUrl = window.location.href; if(1==$.cookie('flagComment') && currentUrl.indexOf("html#flagComment")>=0){ Goods.gotoPl(); } //判断是否需要弹出收藏成功框 if(1==$.cookie('flagAddFav') && currentUrl.indexOf("html?flagAddFav=1")>=0){ var goodsAddFavObj = $("#goodsAddFav"); Goods.addFav(goodsAddFavObj); } //为购买数量绑定事件 $("#reduce-sell-num").click(function(){ if(!$("#reduce-sell-num").hasClass('disable')){ Goods.changeNum(1); } }); $("#add-sell-num").click(function(){ if(!$("#add-sell-num").hasClass('disable')){ Goods.changeNum(2); } }); $("#number_" + _SF_CFG.productId).blur(function(){ Goods.changeNum(4); }); //初始化购物数量 $("#number_" + _SF_CFG.productId).val(_SF_CFG.minBuy); /* //处理预售、库存、价格 if (_SF_CFG.presell) { Goods.preSell(_SF_CFG.productId, Goods.preSellTpl); } else { Goods.price(_SF_CFG.productId, Goods.priceTpl); Goods.stock(_SF_CFG.productId, Goods.stockTpl); } //获取地区 Goods.getOldRegion(Goods.regionOldTpl); //获取父子商品 Goods.fatherson(_SF_CFG.productId, _SF_CFG.parentId, document.location.href.split('.html')[0] + '.html', Goods.fathersonTpl); //获取右上角标签 Goods.productIcon(_SF_CFG.productId, Goods.productIconTpl); //获取用户评论 Goods.getPl(_SF_CFG.pid, _SF_CFG.commentPage, 10, Goods.commentTpl); //获取用户晒单 Goods.getSd(_SF_CFG.productId, _SF_CFG.sdPage, 10, 0, Goods.sdTpl) //相关品牌 Goods.brands(_SF_CFG.oneCategoryId, _SF_CFG.threeCategoryId, Goods.brandsTpl); //销售排行 Goods.saleTop(_SF_CFG.threeCategoryId, Goods.saleTopTpl); //购买此商品顾客还购买了 Goods.buyrebuy(_SF_CFG.productId, Goods.buyrebuyTpl); //浏览了还浏览了 Goods.browserbrowse(_SF_CFG.productId, Goods.browserbrowseTpl); //获取相关商品 if (_SF_CFG.zuheProducts) { Goods.zuheProduct(_SF_CFG.zuheProducts, Goods.zuheProductTpl); } //Goods.shipfee(_SF_CFG.productId, Goods.shipfeeTpl); //获取组合商品 Goods.package(_SF_CFG.productId, Goods.packageTpl); //获取推荐商品 Goods.recommendProduct(_SF_CFG.productId, Goods.recommendTpl); //逛 Goods.getHistory(); //写入History Goods.setHistory(); //右侧浮动 sfAddCart.init();*/ //商品信息Tab切换 $(".pTab li").click(function(){ if($(".pDetail").hasClass("pFixed")){ $(".pDetail").removeClass("pFixed"); var pTabTop = $(".pTab").offset().top -50; $(document).scrollTop(pTabTop); } var $this = $(this); $this.addClass("curr").siblings().removeClass("curr"); $(".pCont").hide(); $('#' + $this.attr('pCont-target')).show(); if ($this.attr('pCont-target') != 'div-shaidan' && $this.attr('pCont-target') != 'div-comment') { $("#div-comment").show(); $("#div-shaidan").show(); } }); if($(".pDetail").length > 0){ var pDetailFixed=function(){ var pDetailTop = $("#flow-layer-sf").offset().top; var pDomTop = $(document).scrollTop(); (pDomTop > pDetailTop) ? $(".pDetail").addClass("pFixed") : $(".pDetail").removeClass("pFixed"); (pDomTop > pDetailTop) ? $(".pDetail").addClass("pFixed").find('.p-buy-phone').show() : $(".pDetail").removeClass("pFixed").find('.p-buy-phone').hide(); }; $(window).bind("scroll", pDetailFixed); pDetailFixed(); } if($(".s-top").length > 0){ $(".s-top").click(function() { $("html, body").scrollTop(0); }); var bToTop = function() { var st = $(document).scrollTop(); (st > 0) ? $(".s-top").css("display","block") : $(".s-top").css("display","none"); }; $(window).bind("scroll", bToTop); bToTop(); } //手机扫描二维码 $(".p-buy-phone").hover(function(){$(this).addClass("hover")},function(){$(this).removeClass("hover")}); //兼容旧JS,修改地区后调用 window.changeOpen = function() { changeGoodsAdwordClass("");//广告语清空 provinceid = getCookie('provinceid'); isChange = 1;//修改地区(用于区分头次加载或修改地区操作) if (_SF_CFG.presell) { Goods.preSell(_SF_CFG.productId, Goods.preSellTpl); } else { Goods.price(_SF_CFG.productId, Goods.priceTpl); Goods.stock(_SF_CFG.productId, Goods.stockTpl); } //获取组合商品 Goods.package(_SF_CFG.productId, Goods.packageTpl); //获取相关商品 if (_SF_CFG.zuheProducts) { Goods.zuheProduct(_SF_CFG.zuheProducts, Goods.zuheProductTpl); } //getPackage(); getAllCity(); $("#add-sell-num").removeClass('disable'); //Goods.shipfee(_SF_CFG.productId, Goods.shipfeeTpl); } //本页面定位到评论位置 window.ToCommentPosition = function() { $(".pTab li:eq("+ (_SF_CFG.businessModel == 3 ? 1: 2) +")").click(); $("body,html").animate({ scrollTop : $("#comment-lists-sf").offset().top - 255}, 1000); } window.GetUserComment = function(page, type) { _SF_CFG.commentPage = page; Goods.getPl(_SF_CFG.pid, _SF_CFG.commentPage, 10, Goods.commentTpl); $("body,html").animate({ scrollTop : $("#comment-lists-sf").offset().top - 220}, 1000); } //按照分页刷新用户晒单 window.GetUserSd = function(page) { _SF_CFG.sdPage = page; Goods.getSd(_SF_CFG.productId, _SF_CFG.sdPage, 10, 0, Goods.sdTpl) } //购买还购买了(购买弹层专用) window.BuyAlsoBuy = function(pid) { Goods.buyrebuy(pid, Goods.buyAlsoBuy); } $("#buy-zuhe-sf").click(function(){ var gidstr = _SF_CFG.productId; $('.gbatch:checked').each( function (){ gidstr += ',' + $(this).attr('value'); } ); cartAdd(gidstr, 0, 1, 2, 1, this, 3); }); $("#comment-filter-sf a").click(function(){ var $this = $(this), type = $this.attr('data-type'); $("#comment-filter-sf h3").removeClass('curr'); $this.parent().addClass('curr'); _SF_CFG.commentType = type; _SF_CFG.commentPage = 1; Goods.getPl(_SF_CFG.pid, _SF_CFG.commentPage, 10, Goods.commentTpl); }); var ScrollCommentAndClick = "var url = window.document.location.href," + "comment = url.split('#').pop();" + "if (comment == 'comment') {" + "var commentTop = $(\"#flow-layer-sf\").offset().top;" + "$(\"body,html\").animate({ scrollTop : commentTop - 35}, 1000);" + "setTimeout('$(\".pTab li:eq("+ (_SF_CFG.businessModel == 3 ? 1: 2) +")\").click();', 800);" + "}"; setTimeout(ScrollCommentAndClick, 1500); /*@@手机二维码 start*/ $('.phone_client').click(function(event){ event.stopPropagation(); $(this).find('.phone_clientCode').show(); $(this).removeClass('phone_border'); $(".phone_clientCode").find(".p-logo").show(); $(this).css('cursor','default'); $(".chooseBtns").css('z-index',92); }) $('.ac_phoneClose').click(function(event){ event.stopPropagation(); $(this).parent('.phone_clientCode').hide(); $('.phone_client').addClass('phone_border'); $(".phone_clientCode").find(".p-logo").hide(); $('.phone_client').css('cursor','pointer'); $('.chooseBtns').css('z-index',1); }) $('.phone_client').hover(function(){ },function(){ $(this).find('.phone_clientCode').hide(); $('.phone_client').addClass('phone_border'); $('.phone_client').css('cursor','pointer'); $(".chooseBtns").css('z-index',1); }) $(document).click(function(){ $('.phone_clientCode').hide(); $('.phone_client').addClass('phone_border'); $('.phone_client').css('cursor','pointer'); $(".chooseBtns").css('z-index',1); }) /*@@手机二维码 end*/ //处理到货通知start $("#user_email").focus(function(){ $("#emailDiv").removeClass('okBorder'); $("#email_error").hide(); }); $("#user_mobile").focus(function(){ $("#mobileDiv").removeClass('okBorder'); $("#mobile_error").hide(); }); //处理到货通知end //右侧浮动广告位 var index_win_w = $(window).width(); if (index_win_w <= 1440) {$(".index_rfloat").addClass("index_side");} else {$(".index_rfloat").removeClass("index_side");} $(window).resize(function() { var index_win_width = $(window).width(); if (index_win_width <= 1440) {$(".index_rfloat").addClass("index_side");} else {$(".index_rfloat").removeClass("index_side");} }); //右侧浮动广告位end }); function getUserBuyNum(product_id){ var buyNum = $("#number_"+product_id).val(); if(undefined==buyNum){ buyNum=1 } return buyNum; } //一键购买begin //商品和礼包加入购物车 //@param product_id 商品id //@param cart_type 购物类型 0 普通商品 //@param opencity_id 站点id //@param flag 提示方式 0本页提示 1跳转购物车 //@param bs 加入时是否验证商品的礼品袋开关 1,是;0,否 //@param obj 加入按钮对象 //@param cfrom 从哪里点击的购物按钮 function oneKeyBuy(product_id,cart_type,opencity_id, flag,bs, obj, cfrom) { if (typeof(bs) == "undefined") { bs = 1; } if (typeof(cfrom) == "undefined") { cfrom = 1; } var alsoBuy = ''; var web_url = cartHostUrl+'/cart/addCart/'; var number = 1; if($("#number_"+product_id).length!=0){ number = $("#number_"+product_id).val(); } if(number > 1000){ jAlert('对不起购买上限不能大于1000!!'); return; } if(!checkRate(number)){ jAlert('您输入的数量格式有误!!'); return false; } var cartHostUrl = 'http://cart.'+domain;//购物车域名 var requestUrl = cartHostUrl+'/cart/oneKeyBuy/';//请求URL var ownUrl = cartHostUrl+'/order/index/';//自营和商铺商品的订单页面 var htUrl = cartHostUrl+'/orderHt/index/';//海淘商品的订单页面 var imgTitle = $('div.hyzyIcon img').attr('title'); $.ajax({ url : requestUrl, type : 'GET', dataType: "jsonp", //返回json格式的数据 jsonp:"callback", data : {product_id:product_id,number:number,opencity_id:opencity_id,cart_type:cart_type,mes:bs}, success: function(msg){ if(msg.error == -1) { SF.Widget.login();//登录成功后停留在商品详情页面 } else if(msg.error == 1) { if(imgTitle ==1 || imgTitle ==2)//如果是海淘商品 { location.href = htUrl; } else { location.href = ownUrl; } } else if(msg.error == 2) { jConfirm(msg.info, '提示消息', function(r){ if(r){ cartAdd(product_id,cart_type,opencity_id, flag,0, obj, cfrom) } }) } else { if(7 == flag){ if(msg.info.indexOf("库存不足")>=0){ obj.parent().removeClass('p-btn'); obj.parent().addClass('outBtn'); obj.html('抱歉,该商品已售罄'); return; } if(msg.info.indexOf("无法送达")>=0){ obj.parent().removeClass('p-btn'); obj.parent().addClass('outBtn'); obj.html('抱歉,该商品无法送达'); return; } if(msg.info.indexOf("已经下架")>=0){ obj.parent().removeClass('p-btn'); obj.parent().addClass('outBtn'); obj.html('抱歉,该商品已售罄'); return; } if(msg.info.indexOf("已经售完")>=0){ obj.parent().removeClass('p-btn'); obj.parent().addClass('outBtn'); obj.html('抱歉,该商品已售罄'); return; } jAlert(msg.info);return; } if(13 == flag){ if(msg.info.indexOf("库存不足")>=0){ obj.parent().removeClass('p-btn'); obj.parent().addClass('outBtn'); obj.html('已售罄'); return; } if(msg.info.indexOf("无法送达")>=0){ obj.parent().removeClass('p-btn'); obj.parent().addClass('outBtn'); obj.html('无法送达'); return; } if(msg.info.indexOf("已经下架")>=0){ obj.parent().removeClass('p-btn'); obj.parent().addClass('outBtn'); obj.html('已售罄'); return; } if(msg.info.indexOf("已经售完")>=0){ obj.parent().removeClass('p-btn'); obj.parent().addClass('outBtn'); obj.html('已售罄'); return; } jAlert(msg.info);return; } jAlert(msg.info);return; } } }); } //一键购买end ================================================ FILE: taotao-item-web/src/main/webapp/js/qiangGouPro.js ================================================ // JavaScript Document 商品详情页抢购倒计时 var nowtimes; //当前时间戳 var startTime; //开始时间 var stopTime; //结束时间 var productid; //商品ID var isasync = (isasync == false) ? false : true; /** * 当前页面时钟 * @param _stoday 当前服务器时间戳 */ function clockWeb(){ nowtimes = Number(nowtimes) + 1000; //当前时间戳 if(nowtimes>=startTime && nowtimes<=stopTime){ clockRun = window.setTimeout("clockWeb()",1000); }else{ qiangGou(); } } /** * 修改剩余时间 **/ function editOverplus(){ var theDays = Number(stopTime); var seconds = (theDays - nowtimes)/1000; var minutes = Math.floor(seconds/60); var hours = Math.floor(minutes/60); var days = Math.floor(hours/24); var CDay= days; var CHour= hours % 24; var CMinute= minutes % 60; var CSecond= seconds % 60; if(CMinute < 10) { CMinute = "0" + CMinute; } if(CHour < 10) { CHour = "0" + CHour; } if(CSecond<10) { CSecond = "0" + CSecond; } //显示倒计时 $("#showDays").html(CDay); $("#showHour").html(CHour); $("#showMin").html(CMinute); $("#showSencond").html(CSecond); if(CHour=='00' && CMinute=='00' && CSecond=='00') { //时间到自动刷新页面 qiangGou(); }else{ //如果剩余分钟零秒时检查是否抢完 editRun = window.setTimeout("editOverplus()",1000); } } /** * 抢购 */ function qiangGou(){ $.ajax({ type: "POST", async: isasync, dataType: "json", url: "/ajax/getQingGouByPid", data: "productid="+productid, success: function(str){ if(str.status){ nowtimes = Number(str.nowtimes + '000'); startTime = Number(str.startTime + '000'); stopTime = Number(str.stopTime + '000'); clockWeb(); htmlstr = '
          • 抢购价:'+str.price+''; htmlstr += '剩余时间:00天'; htmlstr += '00小时00分'; htmlstr += '00
          • ' htmlstr += '
          • 优选价:¥'+str.sfprice+'
          • '; htmlstr += ''; //$("#adword").html("("+str.ad_word+")"); $("#price").html(htmlstr); }else{ str = '
          • 优 选 价:'+str.sfprice+'
          • '; $("#price").html(str); } } }); } ================================================ FILE: taotao-item-web/src/main/webapp/js/qrcode.js ================================================ //--------------------------------------------------------------------- // QRCode for JavaScript // // Copyright (c) 2009 Kazuhiko Arase // // URL: http://www.d-project.com/ // // Licensed under the MIT license: // http://www.opensource.org/licenses/mit-license.php // // The word "QR Code" is registered trademark of // DENSO WAVE INCORPORATED // http://www.denso-wave.com/qrcode/faqpatent-e.html // //--------------------------------------------------------------------- //--------------------------------------------------------------------- // QR8bitByte //--------------------------------------------------------------------- function QR8bitByte(data) { this.mode = QRMode.MODE_8BIT_BYTE; this.data = data; } QR8bitByte.prototype = { getLength : function(buffer) { return this.data.length; }, write : function(buffer) { for (var i = 0; i < this.data.length; i++) { // not JIS ... buffer.put(this.data.charCodeAt(i), 8); } } }; //--------------------------------------------------------------------- // QRCode //--------------------------------------------------------------------- function QRCode(typeNumber, errorCorrectLevel) { this.typeNumber = typeNumber; this.errorCorrectLevel = errorCorrectLevel; this.modules = null; this.moduleCount = 0; this.dataCache = null; this.dataList = new Array(); } QRCode.prototype = { addData : function(data) { var newData = new QR8bitByte(data); this.dataList.push(newData); this.dataCache = null; }, isDark : function(row, col) { if (row < 0 || this.moduleCount <= row || col < 0 || this.moduleCount <= col) { throw new Error(row + "," + col); } return this.modules[row][col]; }, getModuleCount : function() { return this.moduleCount; }, make : function() { // Calculate automatically typeNumber if provided is < 1 if (this.typeNumber < 1 ){ var typeNumber = 1; for (typeNumber = 1; typeNumber < 40; typeNumber++) { var rsBlocks = QRRSBlock.getRSBlocks(typeNumber, this.errorCorrectLevel); var buffer = new QRBitBuffer(); var totalDataCount = 0; for (var i = 0; i < rsBlocks.length; i++) { totalDataCount += rsBlocks[i].dataCount; } for (var i = 0; i < this.dataList.length; i++) { var data = this.dataList[i]; buffer.put(data.mode, 4); buffer.put(data.getLength(), QRUtil.getLengthInBits(data.mode, typeNumber) ); data.write(buffer); } if (buffer.getLengthInBits() <= totalDataCount * 8) break; } this.typeNumber = typeNumber; } this.makeImpl(false, this.getBestMaskPattern() ); }, makeImpl : function(test, maskPattern) { this.moduleCount = this.typeNumber * 4 + 17; this.modules = new Array(this.moduleCount); for (var row = 0; row < this.moduleCount; row++) { this.modules[row] = new Array(this.moduleCount); for (var col = 0; col < this.moduleCount; col++) { this.modules[row][col] = null;//(col + row) % 3; } } this.setupPositionProbePattern(0, 0); this.setupPositionProbePattern(this.moduleCount - 7, 0); this.setupPositionProbePattern(0, this.moduleCount - 7); this.setupPositionAdjustPattern(); this.setupTimingPattern(); this.setupTypeInfo(test, maskPattern); if (this.typeNumber >= 7) { this.setupTypeNumber(test); } if (this.dataCache == null) { this.dataCache = QRCode.createData(this.typeNumber, this.errorCorrectLevel, this.dataList); } this.mapData(this.dataCache, maskPattern); }, setupPositionProbePattern : function(row, col) { for (var r = -1; r <= 7; r++) { if (row + r <= -1 || this.moduleCount <= row + r) continue; for (var c = -1; c <= 7; c++) { if (col + c <= -1 || this.moduleCount <= col + c) continue; if ( (0 <= r && r <= 6 && (c == 0 || c == 6) ) || (0 <= c && c <= 6 && (r == 0 || r == 6) ) || (2 <= r && r <= 4 && 2 <= c && c <= 4) ) { this.modules[row + r][col + c] = true; } else { this.modules[row + r][col + c] = false; } } } }, getBestMaskPattern : function() { var minLostPoint = 0; var pattern = 0; for (var i = 0; i < 8; i++) { this.makeImpl(true, i); var lostPoint = QRUtil.getLostPoint(this); if (i == 0 || minLostPoint > lostPoint) { minLostPoint = lostPoint; pattern = i; } } return pattern; }, createMovieClip : function(target_mc, instance_name, depth) { var qr_mc = target_mc.createEmptyMovieClip(instance_name, depth); var cs = 1; this.make(); for (var row = 0; row < this.modules.length; row++) { var y = row * cs; for (var col = 0; col < this.modules[row].length; col++) { var x = col * cs; var dark = this.modules[row][col]; if (dark) { qr_mc.beginFill(0, 100); qr_mc.moveTo(x, y); qr_mc.lineTo(x + cs, y); qr_mc.lineTo(x + cs, y + cs); qr_mc.lineTo(x, y + cs); qr_mc.endFill(); } } } return qr_mc; }, setupTimingPattern : function() { for (var r = 8; r < this.moduleCount - 8; r++) { if (this.modules[r][6] != null) { continue; } this.modules[r][6] = (r % 2 == 0); } for (var c = 8; c < this.moduleCount - 8; c++) { if (this.modules[6][c] != null) { continue; } this.modules[6][c] = (c % 2 == 0); } }, setupPositionAdjustPattern : function() { var pos = QRUtil.getPatternPosition(this.typeNumber); for (var i = 0; i < pos.length; i++) { for (var j = 0; j < pos.length; j++) { var row = pos[i]; var col = pos[j]; if (this.modules[row][col] != null) { continue; } for (var r = -2; r <= 2; r++) { for (var c = -2; c <= 2; c++) { if (r == -2 || r == 2 || c == -2 || c == 2 || (r == 0 && c == 0) ) { this.modules[row + r][col + c] = true; } else { this.modules[row + r][col + c] = false; } } } } } }, setupTypeNumber : function(test) { var bits = QRUtil.getBCHTypeNumber(this.typeNumber); for (var i = 0; i < 18; i++) { var mod = (!test && ( (bits >> i) & 1) == 1); this.modules[Math.floor(i / 3)][i % 3 + this.moduleCount - 8 - 3] = mod; } for (var i = 0; i < 18; i++) { var mod = (!test && ( (bits >> i) & 1) == 1); this.modules[i % 3 + this.moduleCount - 8 - 3][Math.floor(i / 3)] = mod; } }, setupTypeInfo : function(test, maskPattern) { var data = (this.errorCorrectLevel << 3) | maskPattern; var bits = QRUtil.getBCHTypeInfo(data); // vertical for (var i = 0; i < 15; i++) { var mod = (!test && ( (bits >> i) & 1) == 1); if (i < 6) { this.modules[i][8] = mod; } else if (i < 8) { this.modules[i + 1][8] = mod; } else { this.modules[this.moduleCount - 15 + i][8] = mod; } } // horizontal for (var i = 0; i < 15; i++) { var mod = (!test && ( (bits >> i) & 1) == 1); if (i < 8) { this.modules[8][this.moduleCount - i - 1] = mod; } else if (i < 9) { this.modules[8][15 - i - 1 + 1] = mod; } else { this.modules[8][15 - i - 1] = mod; } } // fixed module this.modules[this.moduleCount - 8][8] = (!test); }, mapData : function(data, maskPattern) { var inc = -1; var row = this.moduleCount - 1; var bitIndex = 7; var byteIndex = 0; for (var col = this.moduleCount - 1; col > 0; col -= 2) { if (col == 6) col--; while (true) { for (var c = 0; c < 2; c++) { if (this.modules[row][col - c] == null) { var dark = false; if (byteIndex < data.length) { dark = ( ( (data[byteIndex] >>> bitIndex) & 1) == 1); } var mask = QRUtil.getMask(maskPattern, row, col - c); if (mask) { dark = !dark; } this.modules[row][col - c] = dark; bitIndex--; if (bitIndex == -1) { byteIndex++; bitIndex = 7; } } } row += inc; if (row < 0 || this.moduleCount <= row) { row -= inc; inc = -inc; break; } } } } }; QRCode.PAD0 = 0xEC; QRCode.PAD1 = 0x11; QRCode.createData = function(typeNumber, errorCorrectLevel, dataList) { var rsBlocks = QRRSBlock.getRSBlocks(typeNumber, errorCorrectLevel); var buffer = new QRBitBuffer(); for (var i = 0; i < dataList.length; i++) { var data = dataList[i]; buffer.put(data.mode, 4); buffer.put(data.getLength(), QRUtil.getLengthInBits(data.mode, typeNumber) ); data.write(buffer); } // calc num max data. var totalDataCount = 0; for (var i = 0; i < rsBlocks.length; i++) { totalDataCount += rsBlocks[i].dataCount; } if (buffer.getLengthInBits() > totalDataCount * 8) { throw new Error("code length overflow. (" + buffer.getLengthInBits() + ">" + totalDataCount * 8 + ")"); } // end code if (buffer.getLengthInBits() + 4 <= totalDataCount * 8) { buffer.put(0, 4); } // padding while (buffer.getLengthInBits() % 8 != 0) { buffer.putBit(false); } // padding while (true) { if (buffer.getLengthInBits() >= totalDataCount * 8) { break; } buffer.put(QRCode.PAD0, 8); if (buffer.getLengthInBits() >= totalDataCount * 8) { break; } buffer.put(QRCode.PAD1, 8); } return QRCode.createBytes(buffer, rsBlocks); } QRCode.createBytes = function(buffer, rsBlocks) { var offset = 0; var maxDcCount = 0; var maxEcCount = 0; var dcdata = new Array(rsBlocks.length); var ecdata = new Array(rsBlocks.length); for (var r = 0; r < rsBlocks.length; r++) { var dcCount = rsBlocks[r].dataCount; var ecCount = rsBlocks[r].totalCount - dcCount; maxDcCount = Math.max(maxDcCount, dcCount); maxEcCount = Math.max(maxEcCount, ecCount); dcdata[r] = new Array(dcCount); for (var i = 0; i < dcdata[r].length; i++) { dcdata[r][i] = 0xff & buffer.buffer[i + offset]; } offset += dcCount; var rsPoly = QRUtil.getErrorCorrectPolynomial(ecCount); var rawPoly = new QRPolynomial(dcdata[r], rsPoly.getLength() - 1); var modPoly = rawPoly.mod(rsPoly); ecdata[r] = new Array(rsPoly.getLength() - 1); for (var i = 0; i < ecdata[r].length; i++) { var modIndex = i + modPoly.getLength() - ecdata[r].length; ecdata[r][i] = (modIndex >= 0)? modPoly.get(modIndex) : 0; } } var totalCodeCount = 0; for (var i = 0; i < rsBlocks.length; i++) { totalCodeCount += rsBlocks[i].totalCount; } var data = new Array(totalCodeCount); var index = 0; for (var i = 0; i < maxDcCount; i++) { for (var r = 0; r < rsBlocks.length; r++) { if (i < dcdata[r].length) { data[index++] = dcdata[r][i]; } } } for (var i = 0; i < maxEcCount; i++) { for (var r = 0; r < rsBlocks.length; r++) { if (i < ecdata[r].length) { data[index++] = ecdata[r][i]; } } } return data; } //--------------------------------------------------------------------- // QRMode //--------------------------------------------------------------------- var QRMode = { MODE_NUMBER : 1 << 0, MODE_ALPHA_NUM : 1 << 1, MODE_8BIT_BYTE : 1 << 2, MODE_KANJI : 1 << 3 }; //--------------------------------------------------------------------- // QRErrorCorrectLevel //--------------------------------------------------------------------- var QRErrorCorrectLevel = { L : 1, M : 0, Q : 3, H : 2 }; //--------------------------------------------------------------------- // QRMaskPattern //--------------------------------------------------------------------- var QRMaskPattern = { PATTERN000 : 0, PATTERN001 : 1, PATTERN010 : 2, PATTERN011 : 3, PATTERN100 : 4, PATTERN101 : 5, PATTERN110 : 6, PATTERN111 : 7 }; //--------------------------------------------------------------------- // QRUtil //--------------------------------------------------------------------- var QRUtil = { PATTERN_POSITION_TABLE : [ [], [6, 18], [6, 22], [6, 26], [6, 30], [6, 34], [6, 22, 38], [6, 24, 42], [6, 26, 46], [6, 28, 50], [6, 30, 54], [6, 32, 58], [6, 34, 62], [6, 26, 46, 66], [6, 26, 48, 70], [6, 26, 50, 74], [6, 30, 54, 78], [6, 30, 56, 82], [6, 30, 58, 86], [6, 34, 62, 90], [6, 28, 50, 72, 94], [6, 26, 50, 74, 98], [6, 30, 54, 78, 102], [6, 28, 54, 80, 106], [6, 32, 58, 84, 110], [6, 30, 58, 86, 114], [6, 34, 62, 90, 118], [6, 26, 50, 74, 98, 122], [6, 30, 54, 78, 102, 126], [6, 26, 52, 78, 104, 130], [6, 30, 56, 82, 108, 134], [6, 34, 60, 86, 112, 138], [6, 30, 58, 86, 114, 142], [6, 34, 62, 90, 118, 146], [6, 30, 54, 78, 102, 126, 150], [6, 24, 50, 76, 102, 128, 154], [6, 28, 54, 80, 106, 132, 158], [6, 32, 58, 84, 110, 136, 162], [6, 26, 54, 82, 110, 138, 166], [6, 30, 58, 86, 114, 142, 170] ], G15 : (1 << 10) | (1 << 8) | (1 << 5) | (1 << 4) | (1 << 2) | (1 << 1) | (1 << 0), G18 : (1 << 12) | (1 << 11) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 5) | (1 << 2) | (1 << 0), G15_MASK : (1 << 14) | (1 << 12) | (1 << 10) | (1 << 4) | (1 << 1), getBCHTypeInfo : function(data) { var d = data << 10; while (QRUtil.getBCHDigit(d) - QRUtil.getBCHDigit(QRUtil.G15) >= 0) { d ^= (QRUtil.G15 << (QRUtil.getBCHDigit(d) - QRUtil.getBCHDigit(QRUtil.G15) ) ); } return ( (data << 10) | d) ^ QRUtil.G15_MASK; }, getBCHTypeNumber : function(data) { var d = data << 12; while (QRUtil.getBCHDigit(d) - QRUtil.getBCHDigit(QRUtil.G18) >= 0) { d ^= (QRUtil.G18 << (QRUtil.getBCHDigit(d) - QRUtil.getBCHDigit(QRUtil.G18) ) ); } return (data << 12) | d; }, getBCHDigit : function(data) { var digit = 0; while (data != 0) { digit++; data >>>= 1; } return digit; }, getPatternPosition : function(typeNumber) { return QRUtil.PATTERN_POSITION_TABLE[typeNumber - 1]; }, getMask : function(maskPattern, i, j) { switch (maskPattern) { case QRMaskPattern.PATTERN000 : return (i + j) % 2 == 0; case QRMaskPattern.PATTERN001 : return i % 2 == 0; case QRMaskPattern.PATTERN010 : return j % 3 == 0; case QRMaskPattern.PATTERN011 : return (i + j) % 3 == 0; case QRMaskPattern.PATTERN100 : return (Math.floor(i / 2) + Math.floor(j / 3) ) % 2 == 0; case QRMaskPattern.PATTERN101 : return (i * j) % 2 + (i * j) % 3 == 0; case QRMaskPattern.PATTERN110 : return ( (i * j) % 2 + (i * j) % 3) % 2 == 0; case QRMaskPattern.PATTERN111 : return ( (i * j) % 3 + (i + j) % 2) % 2 == 0; default : throw new Error("bad maskPattern:" + maskPattern); } }, getErrorCorrectPolynomial : function(errorCorrectLength) { var a = new QRPolynomial([1], 0); for (var i = 0; i < errorCorrectLength; i++) { a = a.multiply(new QRPolynomial([1, QRMath.gexp(i)], 0) ); } return a; }, getLengthInBits : function(mode, type) { if (1 <= type && type < 10) { // 1 - 9 switch(mode) { case QRMode.MODE_NUMBER : return 10; case QRMode.MODE_ALPHA_NUM : return 9; case QRMode.MODE_8BIT_BYTE : return 8; case QRMode.MODE_KANJI : return 8; default : throw new Error("mode:" + mode); } } else if (type < 27) { // 10 - 26 switch(mode) { case QRMode.MODE_NUMBER : return 12; case QRMode.MODE_ALPHA_NUM : return 11; case QRMode.MODE_8BIT_BYTE : return 16; case QRMode.MODE_KANJI : return 10; default : throw new Error("mode:" + mode); } } else if (type < 41) { // 27 - 40 switch(mode) { case QRMode.MODE_NUMBER : return 14; case QRMode.MODE_ALPHA_NUM : return 13; case QRMode.MODE_8BIT_BYTE : return 16; case QRMode.MODE_KANJI : return 12; default : throw new Error("mode:" + mode); } } else { throw new Error("type:" + type); } }, getLostPoint : function(qrCode) { var moduleCount = qrCode.getModuleCount(); var lostPoint = 0; // LEVEL1 for (var row = 0; row < moduleCount; row++) { for (var col = 0; col < moduleCount; col++) { var sameCount = 0; var dark = qrCode.isDark(row, col); for (var r = -1; r <= 1; r++) { if (row + r < 0 || moduleCount <= row + r) { continue; } for (var c = -1; c <= 1; c++) { if (col + c < 0 || moduleCount <= col + c) { continue; } if (r == 0 && c == 0) { continue; } if (dark == qrCode.isDark(row + r, col + c) ) { sameCount++; } } } if (sameCount > 5) { lostPoint += (3 + sameCount - 5); } } } // LEVEL2 for (var row = 0; row < moduleCount - 1; row++) { for (var col = 0; col < moduleCount - 1; col++) { var count = 0; if (qrCode.isDark(row, col ) ) count++; if (qrCode.isDark(row + 1, col ) ) count++; if (qrCode.isDark(row, col + 1) ) count++; if (qrCode.isDark(row + 1, col + 1) ) count++; if (count == 0 || count == 4) { lostPoint += 3; } } } // LEVEL3 for (var row = 0; row < moduleCount; row++) { for (var col = 0; col < moduleCount - 6; col++) { if (qrCode.isDark(row, col) && !qrCode.isDark(row, col + 1) && qrCode.isDark(row, col + 2) && qrCode.isDark(row, col + 3) && qrCode.isDark(row, col + 4) && !qrCode.isDark(row, col + 5) && qrCode.isDark(row, col + 6) ) { lostPoint += 40; } } } for (var col = 0; col < moduleCount; col++) { for (var row = 0; row < moduleCount - 6; row++) { if (qrCode.isDark(row, col) && !qrCode.isDark(row + 1, col) && qrCode.isDark(row + 2, col) && qrCode.isDark(row + 3, col) && qrCode.isDark(row + 4, col) && !qrCode.isDark(row + 5, col) && qrCode.isDark(row + 6, col) ) { lostPoint += 40; } } } // LEVEL4 var darkCount = 0; for (var col = 0; col < moduleCount; col++) { for (var row = 0; row < moduleCount; row++) { if (qrCode.isDark(row, col) ) { darkCount++; } } } var ratio = Math.abs(100 * darkCount / moduleCount / moduleCount - 50) / 5; lostPoint += ratio * 10; return lostPoint; } }; //--------------------------------------------------------------------- // QRMath //--------------------------------------------------------------------- var QRMath = { glog : function(n) { if (n < 1) { throw new Error("glog(" + n + ")"); } return QRMath.LOG_TABLE[n]; }, gexp : function(n) { while (n < 0) { n += 255; } while (n >= 256) { n -= 255; } return QRMath.EXP_TABLE[n]; }, EXP_TABLE : new Array(256), LOG_TABLE : new Array(256) }; for (var i = 0; i < 8; i++) { QRMath.EXP_TABLE[i] = 1 << i; } for (var i = 8; i < 256; i++) { QRMath.EXP_TABLE[i] = QRMath.EXP_TABLE[i - 4] ^ QRMath.EXP_TABLE[i - 5] ^ QRMath.EXP_TABLE[i - 6] ^ QRMath.EXP_TABLE[i - 8]; } for (var i = 0; i < 255; i++) { QRMath.LOG_TABLE[QRMath.EXP_TABLE[i] ] = i; } //--------------------------------------------------------------------- // QRPolynomial //--------------------------------------------------------------------- function QRPolynomial(num, shift) { if (num.length == undefined) { throw new Error(num.length + "/" + shift); } var offset = 0; while (offset < num.length && num[offset] == 0) { offset++; } this.num = new Array(num.length - offset + shift); for (var i = 0; i < num.length - offset; i++) { this.num[i] = num[i + offset]; } } QRPolynomial.prototype = { get : function(index) { return this.num[index]; }, getLength : function() { return this.num.length; }, multiply : function(e) { var num = new Array(this.getLength() + e.getLength() - 1); for (var i = 0; i < this.getLength(); i++) { for (var j = 0; j < e.getLength(); j++) { num[i + j] ^= QRMath.gexp(QRMath.glog(this.get(i) ) + QRMath.glog(e.get(j) ) ); } } return new QRPolynomial(num, 0); }, mod : function(e) { if (this.getLength() - e.getLength() < 0) { return this; } var ratio = QRMath.glog(this.get(0) ) - QRMath.glog(e.get(0) ); var num = new Array(this.getLength() ); for (var i = 0; i < this.getLength(); i++) { num[i] = this.get(i); } for (var i = 0; i < e.getLength(); i++) { num[i] ^= QRMath.gexp(QRMath.glog(e.get(i) ) + ratio); } // recursive call return new QRPolynomial(num, 0).mod(e); } }; //--------------------------------------------------------------------- // QRRSBlock //--------------------------------------------------------------------- function QRRSBlock(totalCount, dataCount) { this.totalCount = totalCount; this.dataCount = dataCount; } QRRSBlock.RS_BLOCK_TABLE = [ // L // M // Q // H // 1 [1, 26, 19], [1, 26, 16], [1, 26, 13], [1, 26, 9], // 2 [1, 44, 34], [1, 44, 28], [1, 44, 22], [1, 44, 16], // 3 [1, 70, 55], [1, 70, 44], [2, 35, 17], [2, 35, 13], // 4 [1, 100, 80], [2, 50, 32], [2, 50, 24], [4, 25, 9], // 5 [1, 134, 108], [2, 67, 43], [2, 33, 15, 2, 34, 16], [2, 33, 11, 2, 34, 12], // 6 [2, 86, 68], [4, 43, 27], [4, 43, 19], [4, 43, 15], // 7 [2, 98, 78], [4, 49, 31], [2, 32, 14, 4, 33, 15], [4, 39, 13, 1, 40, 14], // 8 [2, 121, 97], [2, 60, 38, 2, 61, 39], [4, 40, 18, 2, 41, 19], [4, 40, 14, 2, 41, 15], // 9 [2, 146, 116], [3, 58, 36, 2, 59, 37], [4, 36, 16, 4, 37, 17], [4, 36, 12, 4, 37, 13], // 10 [2, 86, 68, 2, 87, 69], [4, 69, 43, 1, 70, 44], [6, 43, 19, 2, 44, 20], [6, 43, 15, 2, 44, 16], // 11 [4, 101, 81], [1, 80, 50, 4, 81, 51], [4, 50, 22, 4, 51, 23], [3, 36, 12, 8, 37, 13], // 12 [2, 116, 92, 2, 117, 93], [6, 58, 36, 2, 59, 37], [4, 46, 20, 6, 47, 21], [7, 42, 14, 4, 43, 15], // 13 [4, 133, 107], [8, 59, 37, 1, 60, 38], [8, 44, 20, 4, 45, 21], [12, 33, 11, 4, 34, 12], // 14 [3, 145, 115, 1, 146, 116], [4, 64, 40, 5, 65, 41], [11, 36, 16, 5, 37, 17], [11, 36, 12, 5, 37, 13], // 15 [5, 109, 87, 1, 110, 88], [5, 65, 41, 5, 66, 42], [5, 54, 24, 7, 55, 25], [11, 36, 12], // 16 [5, 122, 98, 1, 123, 99], [7, 73, 45, 3, 74, 46], [15, 43, 19, 2, 44, 20], [3, 45, 15, 13, 46, 16], // 17 [1, 135, 107, 5, 136, 108], [10, 74, 46, 1, 75, 47], [1, 50, 22, 15, 51, 23], [2, 42, 14, 17, 43, 15], // 18 [5, 150, 120, 1, 151, 121], [9, 69, 43, 4, 70, 44], [17, 50, 22, 1, 51, 23], [2, 42, 14, 19, 43, 15], // 19 [3, 141, 113, 4, 142, 114], [3, 70, 44, 11, 71, 45], [17, 47, 21, 4, 48, 22], [9, 39, 13, 16, 40, 14], // 20 [3, 135, 107, 5, 136, 108], [3, 67, 41, 13, 68, 42], [15, 54, 24, 5, 55, 25], [15, 43, 15, 10, 44, 16], // 21 [4, 144, 116, 4, 145, 117], [17, 68, 42], [17, 50, 22, 6, 51, 23], [19, 46, 16, 6, 47, 17], // 22 [2, 139, 111, 7, 140, 112], [17, 74, 46], [7, 54, 24, 16, 55, 25], [34, 37, 13], // 23 [4, 151, 121, 5, 152, 122], [4, 75, 47, 14, 76, 48], [11, 54, 24, 14, 55, 25], [16, 45, 15, 14, 46, 16], // 24 [6, 147, 117, 4, 148, 118], [6, 73, 45, 14, 74, 46], [11, 54, 24, 16, 55, 25], [30, 46, 16, 2, 47, 17], // 25 [8, 132, 106, 4, 133, 107], [8, 75, 47, 13, 76, 48], [7, 54, 24, 22, 55, 25], [22, 45, 15, 13, 46, 16], // 26 [10, 142, 114, 2, 143, 115], [19, 74, 46, 4, 75, 47], [28, 50, 22, 6, 51, 23], [33, 46, 16, 4, 47, 17], // 27 [8, 152, 122, 4, 153, 123], [22, 73, 45, 3, 74, 46], [8, 53, 23, 26, 54, 24], [12, 45, 15, 28, 46, 16], // 28 [3, 147, 117, 10, 148, 118], [3, 73, 45, 23, 74, 46], [4, 54, 24, 31, 55, 25], [11, 45, 15, 31, 46, 16], // 29 [7, 146, 116, 7, 147, 117], [21, 73, 45, 7, 74, 46], [1, 53, 23, 37, 54, 24], [19, 45, 15, 26, 46, 16], // 30 [5, 145, 115, 10, 146, 116], [19, 75, 47, 10, 76, 48], [15, 54, 24, 25, 55, 25], [23, 45, 15, 25, 46, 16], // 31 [13, 145, 115, 3, 146, 116], [2, 74, 46, 29, 75, 47], [42, 54, 24, 1, 55, 25], [23, 45, 15, 28, 46, 16], // 32 [17, 145, 115], [10, 74, 46, 23, 75, 47], [10, 54, 24, 35, 55, 25], [19, 45, 15, 35, 46, 16], // 33 [17, 145, 115, 1, 146, 116], [14, 74, 46, 21, 75, 47], [29, 54, 24, 19, 55, 25], [11, 45, 15, 46, 46, 16], // 34 [13, 145, 115, 6, 146, 116], [14, 74, 46, 23, 75, 47], [44, 54, 24, 7, 55, 25], [59, 46, 16, 1, 47, 17], // 35 [12, 151, 121, 7, 152, 122], [12, 75, 47, 26, 76, 48], [39, 54, 24, 14, 55, 25], [22, 45, 15, 41, 46, 16], // 36 [6, 151, 121, 14, 152, 122], [6, 75, 47, 34, 76, 48], [46, 54, 24, 10, 55, 25], [2, 45, 15, 64, 46, 16], // 37 [17, 152, 122, 4, 153, 123], [29, 74, 46, 14, 75, 47], [49, 54, 24, 10, 55, 25], [24, 45, 15, 46, 46, 16], // 38 [4, 152, 122, 18, 153, 123], [13, 74, 46, 32, 75, 47], [48, 54, 24, 14, 55, 25], [42, 45, 15, 32, 46, 16], // 39 [20, 147, 117, 4, 148, 118], [40, 75, 47, 7, 76, 48], [43, 54, 24, 22, 55, 25], [10, 45, 15, 67, 46, 16], // 40 [19, 148, 118, 6, 149, 119], [18, 75, 47, 31, 76, 48], [34, 54, 24, 34, 55, 25], [20, 45, 15, 61, 46, 16] ]; QRRSBlock.getRSBlocks = function(typeNumber, errorCorrectLevel) { var rsBlock = QRRSBlock.getRsBlockTable(typeNumber, errorCorrectLevel); if (rsBlock == undefined) { throw new Error("bad rs block @ typeNumber:" + typeNumber + "/errorCorrectLevel:" + errorCorrectLevel); } var length = rsBlock.length / 3; var list = new Array(); for (var i = 0; i < length; i++) { var count = rsBlock[i * 3 + 0]; var totalCount = rsBlock[i * 3 + 1]; var dataCount = rsBlock[i * 3 + 2]; for (var j = 0; j < count; j++) { list.push(new QRRSBlock(totalCount, dataCount) ); } } return list; } QRRSBlock.getRsBlockTable = function(typeNumber, errorCorrectLevel) { switch(errorCorrectLevel) { case QRErrorCorrectLevel.L : return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 0]; case QRErrorCorrectLevel.M : return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 1]; case QRErrorCorrectLevel.Q : return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 2]; case QRErrorCorrectLevel.H : return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 3]; default : return undefined; } } //--------------------------------------------------------------------- // QRBitBuffer //--------------------------------------------------------------------- function QRBitBuffer() { this.buffer = new Array(); this.length = 0; } QRBitBuffer.prototype = { get : function(index) { var bufIndex = Math.floor(index / 8); return ( (this.buffer[bufIndex] >>> (7 - index % 8) ) & 1) == 1; }, put : function(num, length) { for (var i = 0; i < length; i++) { this.putBit( ( (num >>> (length - i - 1) ) & 1) == 1); } }, getLengthInBits : function() { return this.length; }, putBit : function(bit) { var bufIndex = Math.floor(this.length / 8); if (this.buffer.length <= bufIndex) { this.buffer.push(0); } if (bit) { this.buffer[bufIndex] |= (0x80 >>> (this.length % 8) ); } this.length++; } }; ================================================ FILE: taotao-item-web/src/main/webapp/js/shadow.js ================================================ jQuery.fn.center = function(loaded) { var obj = this; body_width = parseInt($(window).width()); body_height = parseInt($(window).height()); block_width = parseInt(obj.width()); block_height = parseInt(obj.height()); left_position = parseInt((body_width/2) - (block_width/2) + $(window).scrollLeft()); if (body_width ================================================ FILE: taotao-manage/pom.xml ================================================ taotao-parent top.catalinali 1.0-SNAPSHOT ../taotao-parent/pom.xml 4.0.0 taotao-manage pom taotao-manage http://maven.apache.org taotao-manage-pojo taotao-manage-mapper taotao-manage-service taotao-manage-interface UTF-8 top.catalinali taotao-common 1.0-SNAPSHOT org.apache.tomcat.maven tomcat7-maven-plugin 7081 / ================================================ FILE: taotao-manage/taotao-manage-interface/pom.xml ================================================ taotao-manage top.catalinali 1.0-SNAPSHOT 4.0.0 taotao-manage-interface jar top.catalinali taotao-manage-pojo 1.0-SNAPSHOT org.springframework spring-web 4.2.5.RELEASE ================================================ FILE: taotao-manage/taotao-manage-interface/src/main/java/top/catalinali/service/ItemCatService.java ================================================ package top.catalinali.service; import top.catalinali.common.pojo.EUTreeNode; import java.util.List; /** * Created by TDH on 2017/8/21. */ public interface ItemCatService { List getItemCatList(long parentId); } ================================================ FILE: taotao-manage/taotao-manage-interface/src/main/java/top/catalinali/service/ItemService.java ================================================ package top.catalinali.service; import top.catalinali.common.pojo.EUDataGridResult; import top.catalinali.common.pojo.TaotaoResult; import top.catalinali.pojo.TbItem; import top.catalinali.pojo.TbItemDesc; /** * Created by TDH on 2017/8/18. */ public interface ItemService { EUDataGridResult getItemList(Integer page, Integer rows); TaotaoResult createItem(TbItem item, String desc, String itemParam) throws Exception; TbItem getItemById(long itemId); TbItemDesc getItemDescById(long itemId); } ================================================ FILE: taotao-manage/taotao-manage-interface/src/main/jetspeed/web.xml ================================================ taotao-manage-interface Wrapper Generated Portlet Wrapper taotao-manage-interface taotao-manage-interface Portlet Portlet for Jetspeed Fusion org.apache.jetspeed.container.JetspeedContainerServlet registerAtInit 1 portletApplication taotao-manage-interface JetspeedContainer /container/* http://java.sun.com/portlet /WEB-INF/tld/portlet.tld ================================================ FILE: taotao-manage/taotao-manage-interface/src/main/webapp/WEB-INF/portlet.xml ================================================ Write here a short description about your portlet. taotao-manage-interface taotao-manage-interface Portlet top.catalinali.taotao-manage-interface text/html VIEW en Put the portlet title here Portlet Short Title put keywords here ================================================ FILE: taotao-manage/taotao-manage-interface/src/main/webapp/WEB-INF/tld/portlet.tld ================================================ 1.0 1.1 portlet http://java.sun.com/portlet defineObjects org.apache.pluto.tags.DefineObjectsTag org.apache.pluto.tags.DefineObjectsTag$TEI empty param org.apache.pluto.tags.ParamTag empty name true true value true true actionURL org.apache.pluto.tags.ActionURLTag org.apache.pluto.tags.BasicURLTag$TEI JSP windowState false true portletMode false true secure false true var false true renderURL org.apache.pluto.tags.RenderURLTag org.apache.pluto.tags.BasicURLTag$TEI JSP windowState false true portletMode false true secure false true var false true namespace org.apache.pluto.tags.NamespaceTag empty ================================================ FILE: taotao-manage/taotao-manage-interface/src/main/webapp/WEB-INF/web.xml ================================================ FortunePortlet Automated generated Application Wrapper taotao-manage-interface taotao-manage-interface Portlet Generated Portlet Wrapper org.apache.pluto.core.PortletServlet portlet-class top.catalinali.taotao-manage-interface portlet-guid yourportlet.taotao-manage-interface taotao-manage-interface /taotao-manage-interface/* http://java.sun.com/portlet /WEB-INF/tld/portlet.tld ================================================ FILE: taotao-manage/taotao-manage-interface/src/main/webapp/help.jsp ================================================ <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>

            Need help?

            ================================================ FILE: taotao-manage/taotao-manage-interface/src/main/webapp/maximized.jsp ================================================ <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>

            This is a much bigger world isn't it?

            ================================================ FILE: taotao-manage/taotao-manage-interface/src/main/webapp/normal.jsp ================================================ <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>

            Welcome to the Maven 2 World!

            ================================================ FILE: taotao-manage/taotao-manage-interface/taotao-manage-interface.iml ================================================ ================================================ FILE: taotao-manage/taotao-manage-mapper/pom.xml ================================================ taotao-manage top.catalinali 1.0-SNAPSHOT 4.0.0 taotao-manage-mapper jar taotao-manage-mapper http://maven.apache.org top.catalinali taotao-manage-pojo 1.0-SNAPSHOT org.mybatis mybatis org.mybatis mybatis-spring com.github.miemiedev mybatis-paginator com.github.pagehelper pagehelper mysql mysql-connector-java com.alibaba druid src/main/java **/*.properties **/*.xml false ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbContentCategoryMapper.java ================================================ package top.catalinali.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import top.catalinali.pojo.TbContentCategory; import top.catalinali.pojo.TbContentCategoryExample; public interface TbContentCategoryMapper { /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int countByExample(TbContentCategoryExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByExample(TbContentCategoryExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByPrimaryKey(Long id); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insert(TbContentCategory record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insertSelective(TbContentCategory record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ List selectByExample(TbContentCategoryExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ TbContentCategory selectByPrimaryKey(Long id); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExampleSelective(@Param("record") TbContentCategory record, @Param("example") TbContentCategoryExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExample(@Param("record") TbContentCategory record, @Param("example") TbContentCategoryExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKeySelective(TbContentCategory record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKey(TbContentCategory record); } ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbContentCategoryMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, parent_id, name, status, sort_order, is_parent, created, updated delete from tb_content_category where id = #{id,jdbcType=BIGINT} delete from tb_content_category select last_insert_id() insert into tb_content_category (id, parent_id, name, status, sort_order, is_parent, created, updated) values (#{id,jdbcType=BIGINT}, #{parentId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{sortOrder,jdbcType=INTEGER}, #{isParent,jdbcType=BIT}, #{created,jdbcType=TIMESTAMP}, #{updated,jdbcType=TIMESTAMP}) select last_insert_id() insert into tb_content_category id, parent_id, name, status, sort_order, is_parent, created, updated, #{id,jdbcType=BIGINT}, #{parentId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{sortOrder,jdbcType=INTEGER}, #{isParent,jdbcType=BIT}, #{created,jdbcType=TIMESTAMP}, #{updated,jdbcType=TIMESTAMP}, update tb_content_category id = #{record.id,jdbcType=BIGINT}, parent_id = #{record.parentId,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, status = #{record.status,jdbcType=INTEGER}, sort_order = #{record.sortOrder,jdbcType=INTEGER}, is_parent = #{record.isParent,jdbcType=BIT}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP}, update tb_content_category set id = #{record.id,jdbcType=BIGINT}, parent_id = #{record.parentId,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, status = #{record.status,jdbcType=INTEGER}, sort_order = #{record.sortOrder,jdbcType=INTEGER}, is_parent = #{record.isParent,jdbcType=BIT}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP} update tb_content_category parent_id = #{parentId,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, status = #{status,jdbcType=INTEGER}, sort_order = #{sortOrder,jdbcType=INTEGER}, is_parent = #{isParent,jdbcType=BIT}, created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=BIGINT} update tb_content_category set parent_id = #{parentId,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, status = #{status,jdbcType=INTEGER}, sort_order = #{sortOrder,jdbcType=INTEGER}, is_parent = #{isParent,jdbcType=BIT}, created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT} ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbContentMapper.java ================================================ package top.catalinali.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import top.catalinali.pojo.TbContent; import top.catalinali.pojo.TbContentExample; public interface TbContentMapper { /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int countByExample(TbContentExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByExample(TbContentExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByPrimaryKey(Long id); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insert(TbContent record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insertSelective(TbContent record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ List selectByExampleWithBLOBs(TbContentExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ List selectByExample(TbContentExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ TbContent selectByPrimaryKey(Long id); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExampleSelective(@Param("record") TbContent record, @Param("example") TbContentExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExampleWithBLOBs(@Param("record") TbContent record, @Param("example") TbContentExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExample(@Param("record") TbContent record, @Param("example") TbContentExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKeySelective(TbContent record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKeyWithBLOBs(TbContent record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKey(TbContent record); } ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbContentMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, category_id, title, sub_title, title_desc, url, pic, pic2, created, updated content delete from tb_content where id = #{id,jdbcType=BIGINT} delete from tb_content insert into tb_content (id, category_id, title, sub_title, title_desc, url, pic, pic2, created, updated, content) values (#{id,jdbcType=BIGINT}, #{categoryId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR}, #{subTitle,jdbcType=VARCHAR}, #{titleDesc,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{pic2,jdbcType=VARCHAR}, #{created,jdbcType=TIMESTAMP}, #{updated,jdbcType=TIMESTAMP}, #{content,jdbcType=LONGVARCHAR}) insert into tb_content id, category_id, title, sub_title, title_desc, url, pic, pic2, created, updated, content, #{id,jdbcType=BIGINT}, #{categoryId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR}, #{subTitle,jdbcType=VARCHAR}, #{titleDesc,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{pic2,jdbcType=VARCHAR}, #{created,jdbcType=TIMESTAMP}, #{updated,jdbcType=TIMESTAMP}, #{content,jdbcType=LONGVARCHAR}, update tb_content id = #{record.id,jdbcType=BIGINT}, category_id = #{record.categoryId,jdbcType=BIGINT}, title = #{record.title,jdbcType=VARCHAR}, sub_title = #{record.subTitle,jdbcType=VARCHAR}, title_desc = #{record.titleDesc,jdbcType=VARCHAR}, url = #{record.url,jdbcType=VARCHAR}, pic = #{record.pic,jdbcType=VARCHAR}, pic2 = #{record.pic2,jdbcType=VARCHAR}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP}, content = #{record.content,jdbcType=LONGVARCHAR}, update tb_content set id = #{record.id,jdbcType=BIGINT}, category_id = #{record.categoryId,jdbcType=BIGINT}, title = #{record.title,jdbcType=VARCHAR}, sub_title = #{record.subTitle,jdbcType=VARCHAR}, title_desc = #{record.titleDesc,jdbcType=VARCHAR}, url = #{record.url,jdbcType=VARCHAR}, pic = #{record.pic,jdbcType=VARCHAR}, pic2 = #{record.pic2,jdbcType=VARCHAR}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP}, content = #{record.content,jdbcType=LONGVARCHAR} update tb_content set id = #{record.id,jdbcType=BIGINT}, category_id = #{record.categoryId,jdbcType=BIGINT}, title = #{record.title,jdbcType=VARCHAR}, sub_title = #{record.subTitle,jdbcType=VARCHAR}, title_desc = #{record.titleDesc,jdbcType=VARCHAR}, url = #{record.url,jdbcType=VARCHAR}, pic = #{record.pic,jdbcType=VARCHAR}, pic2 = #{record.pic2,jdbcType=VARCHAR}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP} update tb_content category_id = #{categoryId,jdbcType=BIGINT}, title = #{title,jdbcType=VARCHAR}, sub_title = #{subTitle,jdbcType=VARCHAR}, title_desc = #{titleDesc,jdbcType=VARCHAR}, url = #{url,jdbcType=VARCHAR}, pic = #{pic,jdbcType=VARCHAR}, pic2 = #{pic2,jdbcType=VARCHAR}, created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP}, content = #{content,jdbcType=LONGVARCHAR}, where id = #{id,jdbcType=BIGINT} update tb_content set category_id = #{categoryId,jdbcType=BIGINT}, title = #{title,jdbcType=VARCHAR}, sub_title = #{subTitle,jdbcType=VARCHAR}, title_desc = #{titleDesc,jdbcType=VARCHAR}, url = #{url,jdbcType=VARCHAR}, pic = #{pic,jdbcType=VARCHAR}, pic2 = #{pic2,jdbcType=VARCHAR}, created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP}, content = #{content,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=BIGINT} update tb_content set category_id = #{categoryId,jdbcType=BIGINT}, title = #{title,jdbcType=VARCHAR}, sub_title = #{subTitle,jdbcType=VARCHAR}, title_desc = #{titleDesc,jdbcType=VARCHAR}, url = #{url,jdbcType=VARCHAR}, pic = #{pic,jdbcType=VARCHAR}, pic2 = #{pic2,jdbcType=VARCHAR}, created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT} ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbItemCatMapper.java ================================================ package top.catalinali.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import top.catalinali.pojo.TbItemCat; import top.catalinali.pojo.TbItemCatExample; public interface TbItemCatMapper { /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int countByExample(TbItemCatExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByExample(TbItemCatExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByPrimaryKey(Long id); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insert(TbItemCat record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insertSelective(TbItemCat record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ List selectByExample(TbItemCatExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ TbItemCat selectByPrimaryKey(Long id); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExampleSelective(@Param("record") TbItemCat record, @Param("example") TbItemCatExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExample(@Param("record") TbItemCat record, @Param("example") TbItemCatExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKeySelective(TbItemCat record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKey(TbItemCat record); } ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbItemCatMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, parent_id, name, status, sort_order, is_parent, created, updated delete from tb_item_cat where id = #{id,jdbcType=BIGINT} delete from tb_item_cat insert into tb_item_cat (id, parent_id, name, status, sort_order, is_parent, created, updated) values (#{id,jdbcType=BIGINT}, #{parentId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{sortOrder,jdbcType=INTEGER}, #{isParent,jdbcType=BIT}, #{created,jdbcType=TIMESTAMP}, #{updated,jdbcType=TIMESTAMP}) insert into tb_item_cat id, parent_id, name, status, sort_order, is_parent, created, updated, #{id,jdbcType=BIGINT}, #{parentId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{sortOrder,jdbcType=INTEGER}, #{isParent,jdbcType=BIT}, #{created,jdbcType=TIMESTAMP}, #{updated,jdbcType=TIMESTAMP}, update tb_item_cat id = #{record.id,jdbcType=BIGINT}, parent_id = #{record.parentId,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, status = #{record.status,jdbcType=INTEGER}, sort_order = #{record.sortOrder,jdbcType=INTEGER}, is_parent = #{record.isParent,jdbcType=BIT}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP}, update tb_item_cat set id = #{record.id,jdbcType=BIGINT}, parent_id = #{record.parentId,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, status = #{record.status,jdbcType=INTEGER}, sort_order = #{record.sortOrder,jdbcType=INTEGER}, is_parent = #{record.isParent,jdbcType=BIT}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP} update tb_item_cat parent_id = #{parentId,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, status = #{status,jdbcType=INTEGER}, sort_order = #{sortOrder,jdbcType=INTEGER}, is_parent = #{isParent,jdbcType=BIT}, created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=BIGINT} update tb_item_cat set parent_id = #{parentId,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, status = #{status,jdbcType=INTEGER}, sort_order = #{sortOrder,jdbcType=INTEGER}, is_parent = #{isParent,jdbcType=BIT}, created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT} ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbItemDescMapper.java ================================================ package top.catalinali.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import top.catalinali.pojo.TbItemDesc; import top.catalinali.pojo.TbItemDescExample; public interface TbItemDescMapper { /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int countByExample(TbItemDescExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByExample(TbItemDescExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByPrimaryKey(Long itemId); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insert(TbItemDesc record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insertSelective(TbItemDesc record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ List selectByExampleWithBLOBs(TbItemDescExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ List selectByExample(TbItemDescExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ TbItemDesc selectByPrimaryKey(Long itemId); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExampleSelective(@Param("record") TbItemDesc record, @Param("example") TbItemDescExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExampleWithBLOBs(@Param("record") TbItemDesc record, @Param("example") TbItemDescExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExample(@Param("record") TbItemDesc record, @Param("example") TbItemDescExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKeySelective(TbItemDesc record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKeyWithBLOBs(TbItemDesc record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKey(TbItemDesc record); } ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbItemDescMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} item_id, created, updated item_desc delete from tb_item_desc where item_id = #{itemId,jdbcType=BIGINT} delete from tb_item_desc insert into tb_item_desc (item_id, created, updated, item_desc) values (#{itemId,jdbcType=BIGINT}, #{created,jdbcType=TIMESTAMP}, #{updated,jdbcType=TIMESTAMP}, #{itemDesc,jdbcType=LONGVARCHAR}) insert into tb_item_desc item_id, created, updated, item_desc, #{itemId,jdbcType=BIGINT}, #{created,jdbcType=TIMESTAMP}, #{updated,jdbcType=TIMESTAMP}, #{itemDesc,jdbcType=LONGVARCHAR}, update tb_item_desc item_id = #{record.itemId,jdbcType=BIGINT}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP}, item_desc = #{record.itemDesc,jdbcType=LONGVARCHAR}, update tb_item_desc set item_id = #{record.itemId,jdbcType=BIGINT}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP}, item_desc = #{record.itemDesc,jdbcType=LONGVARCHAR} update tb_item_desc set item_id = #{record.itemId,jdbcType=BIGINT}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP} update tb_item_desc created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP}, item_desc = #{itemDesc,jdbcType=LONGVARCHAR}, where item_id = #{itemId,jdbcType=BIGINT} update tb_item_desc set created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP}, item_desc = #{itemDesc,jdbcType=LONGVARCHAR} where item_id = #{itemId,jdbcType=BIGINT} update tb_item_desc set created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP} where item_id = #{itemId,jdbcType=BIGINT} ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbItemMapper.java ================================================ package top.catalinali.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import top.catalinali.pojo.TbItem; import top.catalinali.pojo.TbItemExample; public interface TbItemMapper { /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int countByExample(TbItemExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByExample(TbItemExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByPrimaryKey(Long id); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insert(TbItem record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insertSelective(TbItem record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ List selectByExample(TbItemExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ TbItem selectByPrimaryKey(Long id); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExampleSelective(@Param("record") TbItem record, @Param("example") TbItemExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExample(@Param("record") TbItem record, @Param("example") TbItemExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKeySelective(TbItem record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKey(TbItem record); } ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbItemMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, title, sell_point, price, num, barcode, image, cid, status, created, updated delete from tb_item where id = #{id,jdbcType=BIGINT} delete from tb_item insert into tb_item (id, title, sell_point, price, num, barcode, image, cid, status, created, updated) values (#{id,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR}, #{sellPoint,jdbcType=VARCHAR}, #{price,jdbcType=BIGINT}, #{num,jdbcType=INTEGER}, #{barcode,jdbcType=VARCHAR}, #{image,jdbcType=VARCHAR}, #{cid,jdbcType=BIGINT}, #{status,jdbcType=TINYINT}, #{created,jdbcType=TIMESTAMP}, #{updated,jdbcType=TIMESTAMP}) insert into tb_item id, title, sell_point, price, num, barcode, image, cid, status, created, updated, #{id,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR}, #{sellPoint,jdbcType=VARCHAR}, #{price,jdbcType=BIGINT}, #{num,jdbcType=INTEGER}, #{barcode,jdbcType=VARCHAR}, #{image,jdbcType=VARCHAR}, #{cid,jdbcType=BIGINT}, #{status,jdbcType=TINYINT}, #{created,jdbcType=TIMESTAMP}, #{updated,jdbcType=TIMESTAMP}, update tb_item id = #{record.id,jdbcType=BIGINT}, title = #{record.title,jdbcType=VARCHAR}, sell_point = #{record.sellPoint,jdbcType=VARCHAR}, price = #{record.price,jdbcType=BIGINT}, num = #{record.num,jdbcType=INTEGER}, barcode = #{record.barcode,jdbcType=VARCHAR}, image = #{record.image,jdbcType=VARCHAR}, cid = #{record.cid,jdbcType=BIGINT}, status = #{record.status,jdbcType=TINYINT}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP}, update tb_item set id = #{record.id,jdbcType=BIGINT}, title = #{record.title,jdbcType=VARCHAR}, sell_point = #{record.sellPoint,jdbcType=VARCHAR}, price = #{record.price,jdbcType=BIGINT}, num = #{record.num,jdbcType=INTEGER}, barcode = #{record.barcode,jdbcType=VARCHAR}, image = #{record.image,jdbcType=VARCHAR}, cid = #{record.cid,jdbcType=BIGINT}, status = #{record.status,jdbcType=TINYINT}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP} update tb_item title = #{title,jdbcType=VARCHAR}, sell_point = #{sellPoint,jdbcType=VARCHAR}, price = #{price,jdbcType=BIGINT}, num = #{num,jdbcType=INTEGER}, barcode = #{barcode,jdbcType=VARCHAR}, image = #{image,jdbcType=VARCHAR}, cid = #{cid,jdbcType=BIGINT}, status = #{status,jdbcType=TINYINT}, created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=BIGINT} update tb_item set title = #{title,jdbcType=VARCHAR}, sell_point = #{sellPoint,jdbcType=VARCHAR}, price = #{price,jdbcType=BIGINT}, num = #{num,jdbcType=INTEGER}, barcode = #{barcode,jdbcType=VARCHAR}, image = #{image,jdbcType=VARCHAR}, cid = #{cid,jdbcType=BIGINT}, status = #{status,jdbcType=TINYINT}, created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT} ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbItemParamItemMapper.java ================================================ package top.catalinali.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import top.catalinali.pojo.TbItemParamItem; import top.catalinali.pojo.TbItemParamItemExample; public interface TbItemParamItemMapper { /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int countByExample(TbItemParamItemExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByExample(TbItemParamItemExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByPrimaryKey(Long id); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insert(TbItemParamItem record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insertSelective(TbItemParamItem record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ List selectByExampleWithBLOBs(TbItemParamItemExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ List selectByExample(TbItemParamItemExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ TbItemParamItem selectByPrimaryKey(Long id); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExampleSelective(@Param("record") TbItemParamItem record, @Param("example") TbItemParamItemExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExampleWithBLOBs(@Param("record") TbItemParamItem record, @Param("example") TbItemParamItemExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExample(@Param("record") TbItemParamItem record, @Param("example") TbItemParamItemExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKeySelective(TbItemParamItem record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKeyWithBLOBs(TbItemParamItem record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKey(TbItemParamItem record); } ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbItemParamItemMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, item_id, created, updated param_data delete from tb_item_param_item where id = #{id,jdbcType=BIGINT} delete from tb_item_param_item insert into tb_item_param_item (id, item_id, created, updated, param_data) values (#{id,jdbcType=BIGINT}, #{itemId,jdbcType=BIGINT}, #{created,jdbcType=TIMESTAMP}, #{updated,jdbcType=TIMESTAMP}, #{paramData,jdbcType=LONGVARCHAR}) insert into tb_item_param_item id, item_id, created, updated, param_data, #{id,jdbcType=BIGINT}, #{itemId,jdbcType=BIGINT}, #{created,jdbcType=TIMESTAMP}, #{updated,jdbcType=TIMESTAMP}, #{paramData,jdbcType=LONGVARCHAR}, update tb_item_param_item id = #{record.id,jdbcType=BIGINT}, item_id = #{record.itemId,jdbcType=BIGINT}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP}, param_data = #{record.paramData,jdbcType=LONGVARCHAR}, update tb_item_param_item set id = #{record.id,jdbcType=BIGINT}, item_id = #{record.itemId,jdbcType=BIGINT}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP}, param_data = #{record.paramData,jdbcType=LONGVARCHAR} update tb_item_param_item set id = #{record.id,jdbcType=BIGINT}, item_id = #{record.itemId,jdbcType=BIGINT}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP} update tb_item_param_item item_id = #{itemId,jdbcType=BIGINT}, created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP}, param_data = #{paramData,jdbcType=LONGVARCHAR}, where id = #{id,jdbcType=BIGINT} update tb_item_param_item set item_id = #{itemId,jdbcType=BIGINT}, created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP}, param_data = #{paramData,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=BIGINT} update tb_item_param_item set item_id = #{itemId,jdbcType=BIGINT}, created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT} ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbItemParamMapper.java ================================================ package top.catalinali.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import top.catalinali.pojo.TbItemParam; import top.catalinali.pojo.TbItemParamExample; public interface TbItemParamMapper { /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int countByExample(TbItemParamExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByExample(TbItemParamExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByPrimaryKey(Long id); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insert(TbItemParam record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insertSelective(TbItemParam record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ List selectByExampleWithBLOBs(TbItemParamExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ List selectByExample(TbItemParamExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ TbItemParam selectByPrimaryKey(Long id); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExampleSelective(@Param("record") TbItemParam record, @Param("example") TbItemParamExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExampleWithBLOBs(@Param("record") TbItemParam record, @Param("example") TbItemParamExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExample(@Param("record") TbItemParam record, @Param("example") TbItemParamExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKeySelective(TbItemParam record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKeyWithBLOBs(TbItemParam record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKey(TbItemParam record); } ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbItemParamMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, item_cat_id, created, updated param_data delete from tb_item_param where id = #{id,jdbcType=BIGINT} delete from tb_item_param insert into tb_item_param (id, item_cat_id, created, updated, param_data) values (#{id,jdbcType=BIGINT}, #{itemCatId,jdbcType=BIGINT}, #{created,jdbcType=TIMESTAMP}, #{updated,jdbcType=TIMESTAMP}, #{paramData,jdbcType=LONGVARCHAR}) insert into tb_item_param id, item_cat_id, created, updated, param_data, #{id,jdbcType=BIGINT}, #{itemCatId,jdbcType=BIGINT}, #{created,jdbcType=TIMESTAMP}, #{updated,jdbcType=TIMESTAMP}, #{paramData,jdbcType=LONGVARCHAR}, update tb_item_param id = #{record.id,jdbcType=BIGINT}, item_cat_id = #{record.itemCatId,jdbcType=BIGINT}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP}, param_data = #{record.paramData,jdbcType=LONGVARCHAR}, update tb_item_param set id = #{record.id,jdbcType=BIGINT}, item_cat_id = #{record.itemCatId,jdbcType=BIGINT}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP}, param_data = #{record.paramData,jdbcType=LONGVARCHAR} update tb_item_param set id = #{record.id,jdbcType=BIGINT}, item_cat_id = #{record.itemCatId,jdbcType=BIGINT}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP} update tb_item_param item_cat_id = #{itemCatId,jdbcType=BIGINT}, created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP}, param_data = #{paramData,jdbcType=LONGVARCHAR}, where id = #{id,jdbcType=BIGINT} update tb_item_param set item_cat_id = #{itemCatId,jdbcType=BIGINT}, created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP}, param_data = #{paramData,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=BIGINT} update tb_item_param set item_cat_id = #{itemCatId,jdbcType=BIGINT}, created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT} ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbOrderItemMapper.java ================================================ package top.catalinali.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import top.catalinali.pojo.TbOrderItem; import top.catalinali.pojo.TbOrderItemExample; public interface TbOrderItemMapper { /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int countByExample(TbOrderItemExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByExample(TbOrderItemExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByPrimaryKey(String id); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insert(TbOrderItem record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insertSelective(TbOrderItem record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ List selectByExample(TbOrderItemExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ TbOrderItem selectByPrimaryKey(String id); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExampleSelective(@Param("record") TbOrderItem record, @Param("example") TbOrderItemExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExample(@Param("record") TbOrderItem record, @Param("example") TbOrderItemExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKeySelective(TbOrderItem record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKey(TbOrderItem record); } ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbOrderItemMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, item_id, order_id, num, title, price, total_fee, pic_path delete from tb_order_item where id = #{id,jdbcType=VARCHAR} delete from tb_order_item insert into tb_order_item (id, item_id, order_id, num, title, price, total_fee, pic_path) values (#{id,jdbcType=VARCHAR}, #{itemId,jdbcType=VARCHAR}, #{orderId,jdbcType=VARCHAR}, #{num,jdbcType=INTEGER}, #{title,jdbcType=VARCHAR}, #{price,jdbcType=BIGINT}, #{totalFee,jdbcType=BIGINT}, #{picPath,jdbcType=VARCHAR}) insert into tb_order_item id, item_id, order_id, num, title, price, total_fee, pic_path, #{id,jdbcType=VARCHAR}, #{itemId,jdbcType=VARCHAR}, #{orderId,jdbcType=VARCHAR}, #{num,jdbcType=INTEGER}, #{title,jdbcType=VARCHAR}, #{price,jdbcType=BIGINT}, #{totalFee,jdbcType=BIGINT}, #{picPath,jdbcType=VARCHAR}, update tb_order_item id = #{record.id,jdbcType=VARCHAR}, item_id = #{record.itemId,jdbcType=VARCHAR}, order_id = #{record.orderId,jdbcType=VARCHAR}, num = #{record.num,jdbcType=INTEGER}, title = #{record.title,jdbcType=VARCHAR}, price = #{record.price,jdbcType=BIGINT}, total_fee = #{record.totalFee,jdbcType=BIGINT}, pic_path = #{record.picPath,jdbcType=VARCHAR}, update tb_order_item set id = #{record.id,jdbcType=VARCHAR}, item_id = #{record.itemId,jdbcType=VARCHAR}, order_id = #{record.orderId,jdbcType=VARCHAR}, num = #{record.num,jdbcType=INTEGER}, title = #{record.title,jdbcType=VARCHAR}, price = #{record.price,jdbcType=BIGINT}, total_fee = #{record.totalFee,jdbcType=BIGINT}, pic_path = #{record.picPath,jdbcType=VARCHAR} update tb_order_item item_id = #{itemId,jdbcType=VARCHAR}, order_id = #{orderId,jdbcType=VARCHAR}, num = #{num,jdbcType=INTEGER}, title = #{title,jdbcType=VARCHAR}, price = #{price,jdbcType=BIGINT}, total_fee = #{totalFee,jdbcType=BIGINT}, pic_path = #{picPath,jdbcType=VARCHAR}, where id = #{id,jdbcType=VARCHAR} update tb_order_item set item_id = #{itemId,jdbcType=VARCHAR}, order_id = #{orderId,jdbcType=VARCHAR}, num = #{num,jdbcType=INTEGER}, title = #{title,jdbcType=VARCHAR}, price = #{price,jdbcType=BIGINT}, total_fee = #{totalFee,jdbcType=BIGINT}, pic_path = #{picPath,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR} ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbOrderMapper.java ================================================ package top.catalinali.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import top.catalinali.pojo.TbOrder; import top.catalinali.pojo.TbOrderExample; public interface TbOrderMapper { /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int countByExample(TbOrderExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByExample(TbOrderExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByPrimaryKey(String orderId); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insert(TbOrder record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insertSelective(TbOrder record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ List selectByExample(TbOrderExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ TbOrder selectByPrimaryKey(String orderId); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExampleSelective(@Param("record") TbOrder record, @Param("example") TbOrderExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExample(@Param("record") TbOrder record, @Param("example") TbOrderExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKeySelective(TbOrder record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKey(TbOrder record); } ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbOrderMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} order_id, payment, payment_type, post_fee, status, create_time, update_time, payment_time, consign_time, end_time, close_time, shipping_name, shipping_code, user_id, buyer_message, buyer_nick, buyer_rate delete from tb_order where order_id = #{orderId,jdbcType=VARCHAR} delete from tb_order insert into tb_order (order_id, payment, payment_type, post_fee, status, create_time, update_time, payment_time, consign_time, end_time, close_time, shipping_name, shipping_code, user_id, buyer_message, buyer_nick, buyer_rate) values (#{orderId,jdbcType=VARCHAR}, #{payment,jdbcType=VARCHAR}, #{paymentType,jdbcType=INTEGER}, #{postFee,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{paymentTime,jdbcType=TIMESTAMP}, #{consignTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{closeTime,jdbcType=TIMESTAMP}, #{shippingName,jdbcType=VARCHAR}, #{shippingCode,jdbcType=VARCHAR}, #{userId,jdbcType=BIGINT}, #{buyerMessage,jdbcType=VARCHAR}, #{buyerNick,jdbcType=VARCHAR}, #{buyerRate,jdbcType=INTEGER}) insert into tb_order order_id, payment, payment_type, post_fee, status, create_time, update_time, payment_time, consign_time, end_time, close_time, shipping_name, shipping_code, user_id, buyer_message, buyer_nick, buyer_rate, #{orderId,jdbcType=VARCHAR}, #{payment,jdbcType=VARCHAR}, #{paymentType,jdbcType=INTEGER}, #{postFee,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{paymentTime,jdbcType=TIMESTAMP}, #{consignTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{closeTime,jdbcType=TIMESTAMP}, #{shippingName,jdbcType=VARCHAR}, #{shippingCode,jdbcType=VARCHAR}, #{userId,jdbcType=BIGINT}, #{buyerMessage,jdbcType=VARCHAR}, #{buyerNick,jdbcType=VARCHAR}, #{buyerRate,jdbcType=INTEGER}, update tb_order order_id = #{record.orderId,jdbcType=VARCHAR}, payment = #{record.payment,jdbcType=VARCHAR}, payment_type = #{record.paymentType,jdbcType=INTEGER}, post_fee = #{record.postFee,jdbcType=VARCHAR}, status = #{record.status,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, update_time = #{record.updateTime,jdbcType=TIMESTAMP}, payment_time = #{record.paymentTime,jdbcType=TIMESTAMP}, consign_time = #{record.consignTime,jdbcType=TIMESTAMP}, end_time = #{record.endTime,jdbcType=TIMESTAMP}, close_time = #{record.closeTime,jdbcType=TIMESTAMP}, shipping_name = #{record.shippingName,jdbcType=VARCHAR}, shipping_code = #{record.shippingCode,jdbcType=VARCHAR}, user_id = #{record.userId,jdbcType=BIGINT}, buyer_message = #{record.buyerMessage,jdbcType=VARCHAR}, buyer_nick = #{record.buyerNick,jdbcType=VARCHAR}, buyer_rate = #{record.buyerRate,jdbcType=INTEGER}, update tb_order set order_id = #{record.orderId,jdbcType=VARCHAR}, payment = #{record.payment,jdbcType=VARCHAR}, payment_type = #{record.paymentType,jdbcType=INTEGER}, post_fee = #{record.postFee,jdbcType=VARCHAR}, status = #{record.status,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, update_time = #{record.updateTime,jdbcType=TIMESTAMP}, payment_time = #{record.paymentTime,jdbcType=TIMESTAMP}, consign_time = #{record.consignTime,jdbcType=TIMESTAMP}, end_time = #{record.endTime,jdbcType=TIMESTAMP}, close_time = #{record.closeTime,jdbcType=TIMESTAMP}, shipping_name = #{record.shippingName,jdbcType=VARCHAR}, shipping_code = #{record.shippingCode,jdbcType=VARCHAR}, user_id = #{record.userId,jdbcType=BIGINT}, buyer_message = #{record.buyerMessage,jdbcType=VARCHAR}, buyer_nick = #{record.buyerNick,jdbcType=VARCHAR}, buyer_rate = #{record.buyerRate,jdbcType=INTEGER} update tb_order payment = #{payment,jdbcType=VARCHAR}, payment_type = #{paymentType,jdbcType=INTEGER}, post_fee = #{postFee,jdbcType=VARCHAR}, status = #{status,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP}, payment_time = #{paymentTime,jdbcType=TIMESTAMP}, consign_time = #{consignTime,jdbcType=TIMESTAMP}, end_time = #{endTime,jdbcType=TIMESTAMP}, close_time = #{closeTime,jdbcType=TIMESTAMP}, shipping_name = #{shippingName,jdbcType=VARCHAR}, shipping_code = #{shippingCode,jdbcType=VARCHAR}, user_id = #{userId,jdbcType=BIGINT}, buyer_message = #{buyerMessage,jdbcType=VARCHAR}, buyer_nick = #{buyerNick,jdbcType=VARCHAR}, buyer_rate = #{buyerRate,jdbcType=INTEGER}, where order_id = #{orderId,jdbcType=VARCHAR} update tb_order set payment = #{payment,jdbcType=VARCHAR}, payment_type = #{paymentType,jdbcType=INTEGER}, post_fee = #{postFee,jdbcType=VARCHAR}, status = #{status,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP}, payment_time = #{paymentTime,jdbcType=TIMESTAMP}, consign_time = #{consignTime,jdbcType=TIMESTAMP}, end_time = #{endTime,jdbcType=TIMESTAMP}, close_time = #{closeTime,jdbcType=TIMESTAMP}, shipping_name = #{shippingName,jdbcType=VARCHAR}, shipping_code = #{shippingCode,jdbcType=VARCHAR}, user_id = #{userId,jdbcType=BIGINT}, buyer_message = #{buyerMessage,jdbcType=VARCHAR}, buyer_nick = #{buyerNick,jdbcType=VARCHAR}, buyer_rate = #{buyerRate,jdbcType=INTEGER} where order_id = #{orderId,jdbcType=VARCHAR} ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbOrderShippingMapper.java ================================================ package top.catalinali.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import top.catalinali.pojo.TbOrderShipping; import top.catalinali.pojo.TbOrderShippingExample; public interface TbOrderShippingMapper { /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int countByExample(TbOrderShippingExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByExample(TbOrderShippingExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByPrimaryKey(String orderId); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insert(TbOrderShipping record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insertSelective(TbOrderShipping record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ List selectByExample(TbOrderShippingExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ TbOrderShipping selectByPrimaryKey(String orderId); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExampleSelective(@Param("record") TbOrderShipping record, @Param("example") TbOrderShippingExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExample(@Param("record") TbOrderShipping record, @Param("example") TbOrderShippingExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKeySelective(TbOrderShipping record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKey(TbOrderShipping record); } ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbOrderShippingMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} order_id, receiver_name, receiver_phone, receiver_mobile, receiver_state, receiver_city, receiver_district, receiver_address, receiver_zip, created, updated delete from tb_order_shipping where order_id = #{orderId,jdbcType=VARCHAR} delete from tb_order_shipping insert into tb_order_shipping (order_id, receiver_name, receiver_phone, receiver_mobile, receiver_state, receiver_city, receiver_district, receiver_address, receiver_zip, created, updated) values (#{orderId,jdbcType=VARCHAR}, #{receiverName,jdbcType=VARCHAR}, #{receiverPhone,jdbcType=VARCHAR}, #{receiverMobile,jdbcType=VARCHAR}, #{receiverState,jdbcType=VARCHAR}, #{receiverCity,jdbcType=VARCHAR}, #{receiverDistrict,jdbcType=VARCHAR}, #{receiverAddress,jdbcType=VARCHAR}, #{receiverZip,jdbcType=VARCHAR}, #{created,jdbcType=TIMESTAMP}, #{updated,jdbcType=TIMESTAMP}) insert into tb_order_shipping order_id, receiver_name, receiver_phone, receiver_mobile, receiver_state, receiver_city, receiver_district, receiver_address, receiver_zip, created, updated, #{orderId,jdbcType=VARCHAR}, #{receiverName,jdbcType=VARCHAR}, #{receiverPhone,jdbcType=VARCHAR}, #{receiverMobile,jdbcType=VARCHAR}, #{receiverState,jdbcType=VARCHAR}, #{receiverCity,jdbcType=VARCHAR}, #{receiverDistrict,jdbcType=VARCHAR}, #{receiverAddress,jdbcType=VARCHAR}, #{receiverZip,jdbcType=VARCHAR}, #{created,jdbcType=TIMESTAMP}, #{updated,jdbcType=TIMESTAMP}, update tb_order_shipping order_id = #{record.orderId,jdbcType=VARCHAR}, receiver_name = #{record.receiverName,jdbcType=VARCHAR}, receiver_phone = #{record.receiverPhone,jdbcType=VARCHAR}, receiver_mobile = #{record.receiverMobile,jdbcType=VARCHAR}, receiver_state = #{record.receiverState,jdbcType=VARCHAR}, receiver_city = #{record.receiverCity,jdbcType=VARCHAR}, receiver_district = #{record.receiverDistrict,jdbcType=VARCHAR}, receiver_address = #{record.receiverAddress,jdbcType=VARCHAR}, receiver_zip = #{record.receiverZip,jdbcType=VARCHAR}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP}, update tb_order_shipping set order_id = #{record.orderId,jdbcType=VARCHAR}, receiver_name = #{record.receiverName,jdbcType=VARCHAR}, receiver_phone = #{record.receiverPhone,jdbcType=VARCHAR}, receiver_mobile = #{record.receiverMobile,jdbcType=VARCHAR}, receiver_state = #{record.receiverState,jdbcType=VARCHAR}, receiver_city = #{record.receiverCity,jdbcType=VARCHAR}, receiver_district = #{record.receiverDistrict,jdbcType=VARCHAR}, receiver_address = #{record.receiverAddress,jdbcType=VARCHAR}, receiver_zip = #{record.receiverZip,jdbcType=VARCHAR}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP} update tb_order_shipping receiver_name = #{receiverName,jdbcType=VARCHAR}, receiver_phone = #{receiverPhone,jdbcType=VARCHAR}, receiver_mobile = #{receiverMobile,jdbcType=VARCHAR}, receiver_state = #{receiverState,jdbcType=VARCHAR}, receiver_city = #{receiverCity,jdbcType=VARCHAR}, receiver_district = #{receiverDistrict,jdbcType=VARCHAR}, receiver_address = #{receiverAddress,jdbcType=VARCHAR}, receiver_zip = #{receiverZip,jdbcType=VARCHAR}, created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP}, where order_id = #{orderId,jdbcType=VARCHAR} update tb_order_shipping set receiver_name = #{receiverName,jdbcType=VARCHAR}, receiver_phone = #{receiverPhone,jdbcType=VARCHAR}, receiver_mobile = #{receiverMobile,jdbcType=VARCHAR}, receiver_state = #{receiverState,jdbcType=VARCHAR}, receiver_city = #{receiverCity,jdbcType=VARCHAR}, receiver_district = #{receiverDistrict,jdbcType=VARCHAR}, receiver_address = #{receiverAddress,jdbcType=VARCHAR}, receiver_zip = #{receiverZip,jdbcType=VARCHAR}, created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP} where order_id = #{orderId,jdbcType=VARCHAR} ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbUserMapper.java ================================================ package top.catalinali.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import top.catalinali.pojo.TbUser; import top.catalinali.pojo.TbUserExample; public interface TbUserMapper { /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int countByExample(TbUserExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByExample(TbUserExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int deleteByPrimaryKey(Long id); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insert(TbUser record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int insertSelective(TbUser record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ List selectByExample(TbUserExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ TbUser selectByPrimaryKey(Long id); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExampleSelective(@Param("record") TbUser record, @Param("example") TbUserExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByExample(@Param("record") TbUser record, @Param("example") TbUserExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKeySelective(TbUser record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ int updateByPrimaryKey(TbUser record); } ================================================ FILE: taotao-manage/taotao-manage-mapper/src/main/java/top/catalinali/mapper/TbUserMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, username, password, phone, email, created, updated delete from tb_user where id = #{id,jdbcType=BIGINT} delete from tb_user insert into tb_user (id, username, password, phone, email, created, updated) values (#{id,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{created,jdbcType=TIMESTAMP}, #{updated,jdbcType=TIMESTAMP}) insert into tb_user id, username, password, phone, email, created, updated, #{id,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{created,jdbcType=TIMESTAMP}, #{updated,jdbcType=TIMESTAMP}, update tb_user id = #{record.id,jdbcType=BIGINT}, username = #{record.username,jdbcType=VARCHAR}, password = #{record.password,jdbcType=VARCHAR}, phone = #{record.phone,jdbcType=VARCHAR}, email = #{record.email,jdbcType=VARCHAR}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP}, update tb_user set id = #{record.id,jdbcType=BIGINT}, username = #{record.username,jdbcType=VARCHAR}, password = #{record.password,jdbcType=VARCHAR}, phone = #{record.phone,jdbcType=VARCHAR}, email = #{record.email,jdbcType=VARCHAR}, created = #{record.created,jdbcType=TIMESTAMP}, updated = #{record.updated,jdbcType=TIMESTAMP} update tb_user username = #{username,jdbcType=VARCHAR}, password = #{password,jdbcType=VARCHAR}, phone = #{phone,jdbcType=VARCHAR}, email = #{email,jdbcType=VARCHAR}, created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=BIGINT} update tb_user set username = #{username,jdbcType=VARCHAR}, password = #{password,jdbcType=VARCHAR}, phone = #{phone,jdbcType=VARCHAR}, email = #{email,jdbcType=VARCHAR}, created = #{created,jdbcType=TIMESTAMP}, updated = #{updated,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT} ================================================ FILE: taotao-manage/taotao-manage-mapper/taotao-manage-mapper.iml ================================================ ================================================ FILE: taotao-manage/taotao-manage-pojo/pom.xml ================================================ taotao-manage top.catalinali 1.0-SNAPSHOT 4.0.0 taotao-manage-pojo jar taotao-manage-pojo http://maven.apache.org UTF-8 junit junit 3.8.1 test ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbContent.java ================================================ package top.catalinali.pojo; import java.io.Serializable; import java.util.Date; public class TbContent implements Serializable { /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_content.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Long id; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_content.category_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Long categoryId; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_content.title * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String title; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_content.sub_title * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String subTitle; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_content.title_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String titleDesc; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_content.url * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String url; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_content.pic * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String pic; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_content.pic2 * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String pic2; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_content.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date created; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_content.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date updated; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_content.content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String content; /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_content.id * * @return the value of tb_content.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Long getId() { return id; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_content.id * * @param id the value for tb_content.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setId(Long id) { this.id = id; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_content.category_id * * @return the value of tb_content.category_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Long getCategoryId() { return categoryId; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_content.category_id * * @param categoryId the value for tb_content.category_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setCategoryId(Long categoryId) { this.categoryId = categoryId; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_content.title * * @return the value of tb_content.title * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getTitle() { return title; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_content.title * * @param title the value for tb_content.title * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setTitle(String title) { this.title = title == null ? null : title.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_content.sub_title * * @return the value of tb_content.sub_title * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getSubTitle() { return subTitle; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_content.sub_title * * @param subTitle the value for tb_content.sub_title * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setSubTitle(String subTitle) { this.subTitle = subTitle == null ? null : subTitle.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_content.title_desc * * @return the value of tb_content.title_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getTitleDesc() { return titleDesc; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_content.title_desc * * @param titleDesc the value for tb_content.title_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setTitleDesc(String titleDesc) { this.titleDesc = titleDesc == null ? null : titleDesc.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_content.url * * @return the value of tb_content.url * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getUrl() { return url; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_content.url * * @param url the value for tb_content.url * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setUrl(String url) { this.url = url == null ? null : url.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_content.pic * * @return the value of tb_content.pic * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getPic() { return pic; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_content.pic * * @param pic the value for tb_content.pic * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setPic(String pic) { this.pic = pic == null ? null : pic.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_content.pic2 * * @return the value of tb_content.pic2 * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getPic2() { return pic2; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_content.pic2 * * @param pic2 the value for tb_content.pic2 * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setPic2(String pic2) { this.pic2 = pic2 == null ? null : pic2.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_content.created * * @return the value of tb_content.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getCreated() { return created; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_content.created * * @param created the value for tb_content.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setCreated(Date created) { this.created = created; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_content.updated * * @return the value of tb_content.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getUpdated() { return updated; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_content.updated * * @param updated the value for tb_content.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setUpdated(Date updated) { this.updated = updated; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_content.content * * @return the value of tb_content.content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getContent() { return content; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_content.content * * @param content the value for tb_content.content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setContent(String content) { this.content = content == null ? null : content.trim(); } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbContentCategory.java ================================================ package top.catalinali.pojo; import java.io.Serializable; import java.util.Date; public class TbContentCategory implements Serializable { /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_content_category.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Long id; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_content_category.parent_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Long parentId; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_content_category.name * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String name; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_content_category.status * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Integer status; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_content_category.sort_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Integer sortOrder; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_content_category.is_parent * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Boolean isParent; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_content_category.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date created; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_content_category.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date updated; /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_content_category.id * * @return the value of tb_content_category.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Long getId() { return id; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_content_category.id * * @param id the value for tb_content_category.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setId(Long id) { this.id = id; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_content_category.parent_id * * @return the value of tb_content_category.parent_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Long getParentId() { return parentId; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_content_category.parent_id * * @param parentId the value for tb_content_category.parent_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setParentId(Long parentId) { this.parentId = parentId; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_content_category.name * * @return the value of tb_content_category.name * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getName() { return name; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_content_category.name * * @param name the value for tb_content_category.name * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setName(String name) { this.name = name == null ? null : name.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_content_category.status * * @return the value of tb_content_category.status * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Integer getStatus() { return status; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_content_category.status * * @param status the value for tb_content_category.status * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setStatus(Integer status) { this.status = status; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_content_category.sort_order * * @return the value of tb_content_category.sort_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Integer getSortOrder() { return sortOrder; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_content_category.sort_order * * @param sortOrder the value for tb_content_category.sort_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setSortOrder(Integer sortOrder) { this.sortOrder = sortOrder; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_content_category.is_parent * * @return the value of tb_content_category.is_parent * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Boolean getIsParent() { return isParent; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_content_category.is_parent * * @param isParent the value for tb_content_category.is_parent * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setIsParent(Boolean isParent) { this.isParent = isParent; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_content_category.created * * @return the value of tb_content_category.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getCreated() { return created; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_content_category.created * * @param created the value for tb_content_category.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setCreated(Date created) { this.created = created; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_content_category.updated * * @return the value of tb_content_category.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getUpdated() { return updated; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_content_category.updated * * @param updated the value for tb_content_category.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setUpdated(Date updated) { this.updated = updated; } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbContentCategoryExample.java ================================================ package top.catalinali.pojo; import java.util.ArrayList; import java.util.Date; import java.util.List; public class TbContentCategoryExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected List oredCriteria; /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public TbContentCategoryExample() { oredCriteria = new ArrayList(); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public boolean isDistinct() { return distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria or() { Criteria criteria = createCriteriaInternal(); oredCriteria.add(criteria); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria createCriteria() { Criteria criteria = createCriteriaInternal(); if (oredCriteria.size() == 0) { oredCriteria.add(criteria); } return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void clear() { oredCriteria.clear(); orderByClause = null; distinct = false; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected abstract static class GeneratedCriteria { protected List criteria; protected GeneratedCriteria() { super(); criteria = new ArrayList(); } public boolean isValid() { return criteria.size() > 0; } public List getAllCriteria() { return criteria; } public List getCriteria() { return criteria; } protected void addCriterion(String condition) { if (condition == null) { throw new RuntimeException("Value for condition cannot be null"); } criteria.add(new Criterion(condition)); } protected void addCriterion(String condition, Object value, String property) { if (value == null) { throw new RuntimeException("Value for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value)); } protected void addCriterion(String condition, Object value1, Object value2, String property) { if (value1 == null || value2 == null) { throw new RuntimeException("Between values for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value1, value2)); } public Criteria andIdIsNull() { addCriterion("id is null"); return (Criteria) this; } public Criteria andIdIsNotNull() { addCriterion("id is not null"); return (Criteria) this; } public Criteria andIdEqualTo(Long value) { addCriterion("id =", value, "id"); return (Criteria) this; } public Criteria andIdNotEqualTo(Long value) { addCriterion("id <>", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThan(Long value) { addCriterion("id >", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThanOrEqualTo(Long value) { addCriterion("id >=", value, "id"); return (Criteria) this; } public Criteria andIdLessThan(Long value) { addCriterion("id <", value, "id"); return (Criteria) this; } public Criteria andIdLessThanOrEqualTo(Long value) { addCriterion("id <=", value, "id"); return (Criteria) this; } public Criteria andIdIn(List values) { addCriterion("id in", values, "id"); return (Criteria) this; } public Criteria andIdNotIn(List values) { addCriterion("id not in", values, "id"); return (Criteria) this; } public Criteria andIdBetween(Long value1, Long value2) { addCriterion("id between", value1, value2, "id"); return (Criteria) this; } public Criteria andIdNotBetween(Long value1, Long value2) { addCriterion("id not between", value1, value2, "id"); return (Criteria) this; } public Criteria andParentIdIsNull() { addCriterion("parent_id is null"); return (Criteria) this; } public Criteria andParentIdIsNotNull() { addCriterion("parent_id is not null"); return (Criteria) this; } public Criteria andParentIdEqualTo(Long value) { addCriterion("parent_id =", value, "parentId"); return (Criteria) this; } public Criteria andParentIdNotEqualTo(Long value) { addCriterion("parent_id <>", value, "parentId"); return (Criteria) this; } public Criteria andParentIdGreaterThan(Long value) { addCriterion("parent_id >", value, "parentId"); return (Criteria) this; } public Criteria andParentIdGreaterThanOrEqualTo(Long value) { addCriterion("parent_id >=", value, "parentId"); return (Criteria) this; } public Criteria andParentIdLessThan(Long value) { addCriterion("parent_id <", value, "parentId"); return (Criteria) this; } public Criteria andParentIdLessThanOrEqualTo(Long value) { addCriterion("parent_id <=", value, "parentId"); return (Criteria) this; } public Criteria andParentIdIn(List values) { addCriterion("parent_id in", values, "parentId"); return (Criteria) this; } public Criteria andParentIdNotIn(List values) { addCriterion("parent_id not in", values, "parentId"); return (Criteria) this; } public Criteria andParentIdBetween(Long value1, Long value2) { addCriterion("parent_id between", value1, value2, "parentId"); return (Criteria) this; } public Criteria andParentIdNotBetween(Long value1, Long value2) { addCriterion("parent_id not between", value1, value2, "parentId"); return (Criteria) this; } public Criteria andNameIsNull() { addCriterion("name is null"); return (Criteria) this; } public Criteria andNameIsNotNull() { addCriterion("name is not null"); return (Criteria) this; } public Criteria andNameEqualTo(String value) { addCriterion("name =", value, "name"); return (Criteria) this; } public Criteria andNameNotEqualTo(String value) { addCriterion("name <>", value, "name"); return (Criteria) this; } public Criteria andNameGreaterThan(String value) { addCriterion("name >", value, "name"); return (Criteria) this; } public Criteria andNameGreaterThanOrEqualTo(String value) { addCriterion("name >=", value, "name"); return (Criteria) this; } public Criteria andNameLessThan(String value) { addCriterion("name <", value, "name"); return (Criteria) this; } public Criteria andNameLessThanOrEqualTo(String value) { addCriterion("name <=", value, "name"); return (Criteria) this; } public Criteria andNameLike(String value) { addCriterion("name like", value, "name"); return (Criteria) this; } public Criteria andNameNotLike(String value) { addCriterion("name not like", value, "name"); return (Criteria) this; } public Criteria andNameIn(List values) { addCriterion("name in", values, "name"); return (Criteria) this; } public Criteria andNameNotIn(List values) { addCriterion("name not in", values, "name"); return (Criteria) this; } public Criteria andNameBetween(String value1, String value2) { addCriterion("name between", value1, value2, "name"); return (Criteria) this; } public Criteria andNameNotBetween(String value1, String value2) { addCriterion("name not between", value1, value2, "name"); return (Criteria) this; } public Criteria andStatusIsNull() { addCriterion("status is null"); return (Criteria) this; } public Criteria andStatusIsNotNull() { addCriterion("status is not null"); return (Criteria) this; } public Criteria andStatusEqualTo(Integer value) { addCriterion("status =", value, "status"); return (Criteria) this; } public Criteria andStatusNotEqualTo(Integer value) { addCriterion("status <>", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThan(Integer value) { addCriterion("status >", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThanOrEqualTo(Integer value) { addCriterion("status >=", value, "status"); return (Criteria) this; } public Criteria andStatusLessThan(Integer value) { addCriterion("status <", value, "status"); return (Criteria) this; } public Criteria andStatusLessThanOrEqualTo(Integer value) { addCriterion("status <=", value, "status"); return (Criteria) this; } public Criteria andStatusIn(List values) { addCriterion("status in", values, "status"); return (Criteria) this; } public Criteria andStatusNotIn(List values) { addCriterion("status not in", values, "status"); return (Criteria) this; } public Criteria andStatusBetween(Integer value1, Integer value2) { addCriterion("status between", value1, value2, "status"); return (Criteria) this; } public Criteria andStatusNotBetween(Integer value1, Integer value2) { addCriterion("status not between", value1, value2, "status"); return (Criteria) this; } public Criteria andSortOrderIsNull() { addCriterion("sort_order is null"); return (Criteria) this; } public Criteria andSortOrderIsNotNull() { addCriterion("sort_order is not null"); return (Criteria) this; } public Criteria andSortOrderEqualTo(Integer value) { addCriterion("sort_order =", value, "sortOrder"); return (Criteria) this; } public Criteria andSortOrderNotEqualTo(Integer value) { addCriterion("sort_order <>", value, "sortOrder"); return (Criteria) this; } public Criteria andSortOrderGreaterThan(Integer value) { addCriterion("sort_order >", value, "sortOrder"); return (Criteria) this; } public Criteria andSortOrderGreaterThanOrEqualTo(Integer value) { addCriterion("sort_order >=", value, "sortOrder"); return (Criteria) this; } public Criteria andSortOrderLessThan(Integer value) { addCriterion("sort_order <", value, "sortOrder"); return (Criteria) this; } public Criteria andSortOrderLessThanOrEqualTo(Integer value) { addCriterion("sort_order <=", value, "sortOrder"); return (Criteria) this; } public Criteria andSortOrderIn(List values) { addCriterion("sort_order in", values, "sortOrder"); return (Criteria) this; } public Criteria andSortOrderNotIn(List values) { addCriterion("sort_order not in", values, "sortOrder"); return (Criteria) this; } public Criteria andSortOrderBetween(Integer value1, Integer value2) { addCriterion("sort_order between", value1, value2, "sortOrder"); return (Criteria) this; } public Criteria andSortOrderNotBetween(Integer value1, Integer value2) { addCriterion("sort_order not between", value1, value2, "sortOrder"); return (Criteria) this; } public Criteria andIsParentIsNull() { addCriterion("is_parent is null"); return (Criteria) this; } public Criteria andIsParentIsNotNull() { addCriterion("is_parent is not null"); return (Criteria) this; } public Criteria andIsParentEqualTo(Boolean value) { addCriterion("is_parent =", value, "isParent"); return (Criteria) this; } public Criteria andIsParentNotEqualTo(Boolean value) { addCriterion("is_parent <>", value, "isParent"); return (Criteria) this; } public Criteria andIsParentGreaterThan(Boolean value) { addCriterion("is_parent >", value, "isParent"); return (Criteria) this; } public Criteria andIsParentGreaterThanOrEqualTo(Boolean value) { addCriterion("is_parent >=", value, "isParent"); return (Criteria) this; } public Criteria andIsParentLessThan(Boolean value) { addCriterion("is_parent <", value, "isParent"); return (Criteria) this; } public Criteria andIsParentLessThanOrEqualTo(Boolean value) { addCriterion("is_parent <=", value, "isParent"); return (Criteria) this; } public Criteria andIsParentIn(List values) { addCriterion("is_parent in", values, "isParent"); return (Criteria) this; } public Criteria andIsParentNotIn(List values) { addCriterion("is_parent not in", values, "isParent"); return (Criteria) this; } public Criteria andIsParentBetween(Boolean value1, Boolean value2) { addCriterion("is_parent between", value1, value2, "isParent"); return (Criteria) this; } public Criteria andIsParentNotBetween(Boolean value1, Boolean value2) { addCriterion("is_parent not between", value1, value2, "isParent"); return (Criteria) this; } public Criteria andCreatedIsNull() { addCriterion("created is null"); return (Criteria) this; } public Criteria andCreatedIsNotNull() { addCriterion("created is not null"); return (Criteria) this; } public Criteria andCreatedEqualTo(Date value) { addCriterion("created =", value, "created"); return (Criteria) this; } public Criteria andCreatedNotEqualTo(Date value) { addCriterion("created <>", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThan(Date value) { addCriterion("created >", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThanOrEqualTo(Date value) { addCriterion("created >=", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThan(Date value) { addCriterion("created <", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThanOrEqualTo(Date value) { addCriterion("created <=", value, "created"); return (Criteria) this; } public Criteria andCreatedIn(List values) { addCriterion("created in", values, "created"); return (Criteria) this; } public Criteria andCreatedNotIn(List values) { addCriterion("created not in", values, "created"); return (Criteria) this; } public Criteria andCreatedBetween(Date value1, Date value2) { addCriterion("created between", value1, value2, "created"); return (Criteria) this; } public Criteria andCreatedNotBetween(Date value1, Date value2) { addCriterion("created not between", value1, value2, "created"); return (Criteria) this; } public Criteria andUpdatedIsNull() { addCriterion("updated is null"); return (Criteria) this; } public Criteria andUpdatedIsNotNull() { addCriterion("updated is not null"); return (Criteria) this; } public Criteria andUpdatedEqualTo(Date value) { addCriterion("updated =", value, "updated"); return (Criteria) this; } public Criteria andUpdatedNotEqualTo(Date value) { addCriterion("updated <>", value, "updated"); return (Criteria) this; } public Criteria andUpdatedGreaterThan(Date value) { addCriterion("updated >", value, "updated"); return (Criteria) this; } public Criteria andUpdatedGreaterThanOrEqualTo(Date value) { addCriterion("updated >=", value, "updated"); return (Criteria) this; } public Criteria andUpdatedLessThan(Date value) { addCriterion("updated <", value, "updated"); return (Criteria) this; } public Criteria andUpdatedLessThanOrEqualTo(Date value) { addCriterion("updated <=", value, "updated"); return (Criteria) this; } public Criteria andUpdatedIn(List values) { addCriterion("updated in", values, "updated"); return (Criteria) this; } public Criteria andUpdatedNotIn(List values) { addCriterion("updated not in", values, "updated"); return (Criteria) this; } public Criteria andUpdatedBetween(Date value1, Date value2) { addCriterion("updated between", value1, value2, "updated"); return (Criteria) this; } public Criteria andUpdatedNotBetween(Date value1, Date value2) { addCriterion("updated not between", value1, value2, "updated"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_content_category * * @mbggenerated do_not_delete_during_merge Fri Aug 18 10:13:27 CST 2017 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_content_category * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public static class Criterion { private String condition; private Object value; private Object secondValue; private boolean noValue; private boolean singleValue; private boolean betweenValue; private boolean listValue; private String typeHandler; public String getCondition() { return condition; } public Object getValue() { return value; } public Object getSecondValue() { return secondValue; } public boolean isNoValue() { return noValue; } public boolean isSingleValue() { return singleValue; } public boolean isBetweenValue() { return betweenValue; } public boolean isListValue() { return listValue; } public String getTypeHandler() { return typeHandler; } protected Criterion(String condition) { super(); this.condition = condition; this.typeHandler = null; this.noValue = true; } protected Criterion(String condition, Object value, String typeHandler) { super(); this.condition = condition; this.value = value; this.typeHandler = typeHandler; if (value instanceof List) { this.listValue = true; } else { this.singleValue = true; } } protected Criterion(String condition, Object value) { this(condition, value, null); } protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { super(); this.condition = condition; this.value = value; this.secondValue = secondValue; this.typeHandler = typeHandler; this.betweenValue = true; } protected Criterion(String condition, Object value, Object secondValue) { this(condition, value, secondValue, null); } } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbContentExample.java ================================================ package top.catalinali.pojo; import java.util.ArrayList; import java.util.Date; import java.util.List; public class TbContentExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected List oredCriteria; /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public TbContentExample() { oredCriteria = new ArrayList(); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public boolean isDistinct() { return distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria or() { Criteria criteria = createCriteriaInternal(); oredCriteria.add(criteria); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria createCriteria() { Criteria criteria = createCriteriaInternal(); if (oredCriteria.size() == 0) { oredCriteria.add(criteria); } return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void clear() { oredCriteria.clear(); orderByClause = null; distinct = false; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected abstract static class GeneratedCriteria { protected List criteria; protected GeneratedCriteria() { super(); criteria = new ArrayList(); } public boolean isValid() { return criteria.size() > 0; } public List getAllCriteria() { return criteria; } public List getCriteria() { return criteria; } protected void addCriterion(String condition) { if (condition == null) { throw new RuntimeException("Value for condition cannot be null"); } criteria.add(new Criterion(condition)); } protected void addCriterion(String condition, Object value, String property) { if (value == null) { throw new RuntimeException("Value for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value)); } protected void addCriterion(String condition, Object value1, Object value2, String property) { if (value1 == null || value2 == null) { throw new RuntimeException("Between values for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value1, value2)); } public Criteria andIdIsNull() { addCriterion("id is null"); return (Criteria) this; } public Criteria andIdIsNotNull() { addCriterion("id is not null"); return (Criteria) this; } public Criteria andIdEqualTo(Long value) { addCriterion("id =", value, "id"); return (Criteria) this; } public Criteria andIdNotEqualTo(Long value) { addCriterion("id <>", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThan(Long value) { addCriterion("id >", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThanOrEqualTo(Long value) { addCriterion("id >=", value, "id"); return (Criteria) this; } public Criteria andIdLessThan(Long value) { addCriterion("id <", value, "id"); return (Criteria) this; } public Criteria andIdLessThanOrEqualTo(Long value) { addCriterion("id <=", value, "id"); return (Criteria) this; } public Criteria andIdIn(List values) { addCriterion("id in", values, "id"); return (Criteria) this; } public Criteria andIdNotIn(List values) { addCriterion("id not in", values, "id"); return (Criteria) this; } public Criteria andIdBetween(Long value1, Long value2) { addCriterion("id between", value1, value2, "id"); return (Criteria) this; } public Criteria andIdNotBetween(Long value1, Long value2) { addCriterion("id not between", value1, value2, "id"); return (Criteria) this; } public Criteria andCategoryIdIsNull() { addCriterion("category_id is null"); return (Criteria) this; } public Criteria andCategoryIdIsNotNull() { addCriterion("category_id is not null"); return (Criteria) this; } public Criteria andCategoryIdEqualTo(Long value) { addCriterion("category_id =", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdNotEqualTo(Long value) { addCriterion("category_id <>", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdGreaterThan(Long value) { addCriterion("category_id >", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdGreaterThanOrEqualTo(Long value) { addCriterion("category_id >=", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdLessThan(Long value) { addCriterion("category_id <", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdLessThanOrEqualTo(Long value) { addCriterion("category_id <=", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdIn(List values) { addCriterion("category_id in", values, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdNotIn(List values) { addCriterion("category_id not in", values, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdBetween(Long value1, Long value2) { addCriterion("category_id between", value1, value2, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdNotBetween(Long value1, Long value2) { addCriterion("category_id not between", value1, value2, "categoryId"); return (Criteria) this; } public Criteria andTitleIsNull() { addCriterion("title is null"); return (Criteria) this; } public Criteria andTitleIsNotNull() { addCriterion("title is not null"); return (Criteria) this; } public Criteria andTitleEqualTo(String value) { addCriterion("title =", value, "title"); return (Criteria) this; } public Criteria andTitleNotEqualTo(String value) { addCriterion("title <>", value, "title"); return (Criteria) this; } public Criteria andTitleGreaterThan(String value) { addCriterion("title >", value, "title"); return (Criteria) this; } public Criteria andTitleGreaterThanOrEqualTo(String value) { addCriterion("title >=", value, "title"); return (Criteria) this; } public Criteria andTitleLessThan(String value) { addCriterion("title <", value, "title"); return (Criteria) this; } public Criteria andTitleLessThanOrEqualTo(String value) { addCriterion("title <=", value, "title"); return (Criteria) this; } public Criteria andTitleLike(String value) { addCriterion("title like", value, "title"); return (Criteria) this; } public Criteria andTitleNotLike(String value) { addCriterion("title not like", value, "title"); return (Criteria) this; } public Criteria andTitleIn(List values) { addCriterion("title in", values, "title"); return (Criteria) this; } public Criteria andTitleNotIn(List values) { addCriterion("title not in", values, "title"); return (Criteria) this; } public Criteria andTitleBetween(String value1, String value2) { addCriterion("title between", value1, value2, "title"); return (Criteria) this; } public Criteria andTitleNotBetween(String value1, String value2) { addCriterion("title not between", value1, value2, "title"); return (Criteria) this; } public Criteria andSubTitleIsNull() { addCriterion("sub_title is null"); return (Criteria) this; } public Criteria andSubTitleIsNotNull() { addCriterion("sub_title is not null"); return (Criteria) this; } public Criteria andSubTitleEqualTo(String value) { addCriterion("sub_title =", value, "subTitle"); return (Criteria) this; } public Criteria andSubTitleNotEqualTo(String value) { addCriterion("sub_title <>", value, "subTitle"); return (Criteria) this; } public Criteria andSubTitleGreaterThan(String value) { addCriterion("sub_title >", value, "subTitle"); return (Criteria) this; } public Criteria andSubTitleGreaterThanOrEqualTo(String value) { addCriterion("sub_title >=", value, "subTitle"); return (Criteria) this; } public Criteria andSubTitleLessThan(String value) { addCriterion("sub_title <", value, "subTitle"); return (Criteria) this; } public Criteria andSubTitleLessThanOrEqualTo(String value) { addCriterion("sub_title <=", value, "subTitle"); return (Criteria) this; } public Criteria andSubTitleLike(String value) { addCriterion("sub_title like", value, "subTitle"); return (Criteria) this; } public Criteria andSubTitleNotLike(String value) { addCriterion("sub_title not like", value, "subTitle"); return (Criteria) this; } public Criteria andSubTitleIn(List values) { addCriterion("sub_title in", values, "subTitle"); return (Criteria) this; } public Criteria andSubTitleNotIn(List values) { addCriterion("sub_title not in", values, "subTitle"); return (Criteria) this; } public Criteria andSubTitleBetween(String value1, String value2) { addCriterion("sub_title between", value1, value2, "subTitle"); return (Criteria) this; } public Criteria andSubTitleNotBetween(String value1, String value2) { addCriterion("sub_title not between", value1, value2, "subTitle"); return (Criteria) this; } public Criteria andTitleDescIsNull() { addCriterion("title_desc is null"); return (Criteria) this; } public Criteria andTitleDescIsNotNull() { addCriterion("title_desc is not null"); return (Criteria) this; } public Criteria andTitleDescEqualTo(String value) { addCriterion("title_desc =", value, "titleDesc"); return (Criteria) this; } public Criteria andTitleDescNotEqualTo(String value) { addCriterion("title_desc <>", value, "titleDesc"); return (Criteria) this; } public Criteria andTitleDescGreaterThan(String value) { addCriterion("title_desc >", value, "titleDesc"); return (Criteria) this; } public Criteria andTitleDescGreaterThanOrEqualTo(String value) { addCriterion("title_desc >=", value, "titleDesc"); return (Criteria) this; } public Criteria andTitleDescLessThan(String value) { addCriterion("title_desc <", value, "titleDesc"); return (Criteria) this; } public Criteria andTitleDescLessThanOrEqualTo(String value) { addCriterion("title_desc <=", value, "titleDesc"); return (Criteria) this; } public Criteria andTitleDescLike(String value) { addCriterion("title_desc like", value, "titleDesc"); return (Criteria) this; } public Criteria andTitleDescNotLike(String value) { addCriterion("title_desc not like", value, "titleDesc"); return (Criteria) this; } public Criteria andTitleDescIn(List values) { addCriterion("title_desc in", values, "titleDesc"); return (Criteria) this; } public Criteria andTitleDescNotIn(List values) { addCriterion("title_desc not in", values, "titleDesc"); return (Criteria) this; } public Criteria andTitleDescBetween(String value1, String value2) { addCriterion("title_desc between", value1, value2, "titleDesc"); return (Criteria) this; } public Criteria andTitleDescNotBetween(String value1, String value2) { addCriterion("title_desc not between", value1, value2, "titleDesc"); return (Criteria) this; } public Criteria andUrlIsNull() { addCriterion("url is null"); return (Criteria) this; } public Criteria andUrlIsNotNull() { addCriterion("url is not null"); return (Criteria) this; } public Criteria andUrlEqualTo(String value) { addCriterion("url =", value, "url"); return (Criteria) this; } public Criteria andUrlNotEqualTo(String value) { addCriterion("url <>", value, "url"); return (Criteria) this; } public Criteria andUrlGreaterThan(String value) { addCriterion("url >", value, "url"); return (Criteria) this; } public Criteria andUrlGreaterThanOrEqualTo(String value) { addCriterion("url >=", value, "url"); return (Criteria) this; } public Criteria andUrlLessThan(String value) { addCriterion("url <", value, "url"); return (Criteria) this; } public Criteria andUrlLessThanOrEqualTo(String value) { addCriterion("url <=", value, "url"); return (Criteria) this; } public Criteria andUrlLike(String value) { addCriterion("url like", value, "url"); return (Criteria) this; } public Criteria andUrlNotLike(String value) { addCriterion("url not like", value, "url"); return (Criteria) this; } public Criteria andUrlIn(List values) { addCriterion("url in", values, "url"); return (Criteria) this; } public Criteria andUrlNotIn(List values) { addCriterion("url not in", values, "url"); return (Criteria) this; } public Criteria andUrlBetween(String value1, String value2) { addCriterion("url between", value1, value2, "url"); return (Criteria) this; } public Criteria andUrlNotBetween(String value1, String value2) { addCriterion("url not between", value1, value2, "url"); return (Criteria) this; } public Criteria andPicIsNull() { addCriterion("pic is null"); return (Criteria) this; } public Criteria andPicIsNotNull() { addCriterion("pic is not null"); return (Criteria) this; } public Criteria andPicEqualTo(String value) { addCriterion("pic =", value, "pic"); return (Criteria) this; } public Criteria andPicNotEqualTo(String value) { addCriterion("pic <>", value, "pic"); return (Criteria) this; } public Criteria andPicGreaterThan(String value) { addCriterion("pic >", value, "pic"); return (Criteria) this; } public Criteria andPicGreaterThanOrEqualTo(String value) { addCriterion("pic >=", value, "pic"); return (Criteria) this; } public Criteria andPicLessThan(String value) { addCriterion("pic <", value, "pic"); return (Criteria) this; } public Criteria andPicLessThanOrEqualTo(String value) { addCriterion("pic <=", value, "pic"); return (Criteria) this; } public Criteria andPicLike(String value) { addCriterion("pic like", value, "pic"); return (Criteria) this; } public Criteria andPicNotLike(String value) { addCriterion("pic not like", value, "pic"); return (Criteria) this; } public Criteria andPicIn(List values) { addCriterion("pic in", values, "pic"); return (Criteria) this; } public Criteria andPicNotIn(List values) { addCriterion("pic not in", values, "pic"); return (Criteria) this; } public Criteria andPicBetween(String value1, String value2) { addCriterion("pic between", value1, value2, "pic"); return (Criteria) this; } public Criteria andPicNotBetween(String value1, String value2) { addCriterion("pic not between", value1, value2, "pic"); return (Criteria) this; } public Criteria andPic2IsNull() { addCriterion("pic2 is null"); return (Criteria) this; } public Criteria andPic2IsNotNull() { addCriterion("pic2 is not null"); return (Criteria) this; } public Criteria andPic2EqualTo(String value) { addCriterion("pic2 =", value, "pic2"); return (Criteria) this; } public Criteria andPic2NotEqualTo(String value) { addCriterion("pic2 <>", value, "pic2"); return (Criteria) this; } public Criteria andPic2GreaterThan(String value) { addCriterion("pic2 >", value, "pic2"); return (Criteria) this; } public Criteria andPic2GreaterThanOrEqualTo(String value) { addCriterion("pic2 >=", value, "pic2"); return (Criteria) this; } public Criteria andPic2LessThan(String value) { addCriterion("pic2 <", value, "pic2"); return (Criteria) this; } public Criteria andPic2LessThanOrEqualTo(String value) { addCriterion("pic2 <=", value, "pic2"); return (Criteria) this; } public Criteria andPic2Like(String value) { addCriterion("pic2 like", value, "pic2"); return (Criteria) this; } public Criteria andPic2NotLike(String value) { addCriterion("pic2 not like", value, "pic2"); return (Criteria) this; } public Criteria andPic2In(List values) { addCriterion("pic2 in", values, "pic2"); return (Criteria) this; } public Criteria andPic2NotIn(List values) { addCriterion("pic2 not in", values, "pic2"); return (Criteria) this; } public Criteria andPic2Between(String value1, String value2) { addCriterion("pic2 between", value1, value2, "pic2"); return (Criteria) this; } public Criteria andPic2NotBetween(String value1, String value2) { addCriterion("pic2 not between", value1, value2, "pic2"); return (Criteria) this; } public Criteria andCreatedIsNull() { addCriterion("created is null"); return (Criteria) this; } public Criteria andCreatedIsNotNull() { addCriterion("created is not null"); return (Criteria) this; } public Criteria andCreatedEqualTo(Date value) { addCriterion("created =", value, "created"); return (Criteria) this; } public Criteria andCreatedNotEqualTo(Date value) { addCriterion("created <>", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThan(Date value) { addCriterion("created >", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThanOrEqualTo(Date value) { addCriterion("created >=", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThan(Date value) { addCriterion("created <", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThanOrEqualTo(Date value) { addCriterion("created <=", value, "created"); return (Criteria) this; } public Criteria andCreatedIn(List values) { addCriterion("created in", values, "created"); return (Criteria) this; } public Criteria andCreatedNotIn(List values) { addCriterion("created not in", values, "created"); return (Criteria) this; } public Criteria andCreatedBetween(Date value1, Date value2) { addCriterion("created between", value1, value2, "created"); return (Criteria) this; } public Criteria andCreatedNotBetween(Date value1, Date value2) { addCriterion("created not between", value1, value2, "created"); return (Criteria) this; } public Criteria andUpdatedIsNull() { addCriterion("updated is null"); return (Criteria) this; } public Criteria andUpdatedIsNotNull() { addCriterion("updated is not null"); return (Criteria) this; } public Criteria andUpdatedEqualTo(Date value) { addCriterion("updated =", value, "updated"); return (Criteria) this; } public Criteria andUpdatedNotEqualTo(Date value) { addCriterion("updated <>", value, "updated"); return (Criteria) this; } public Criteria andUpdatedGreaterThan(Date value) { addCriterion("updated >", value, "updated"); return (Criteria) this; } public Criteria andUpdatedGreaterThanOrEqualTo(Date value) { addCriterion("updated >=", value, "updated"); return (Criteria) this; } public Criteria andUpdatedLessThan(Date value) { addCriterion("updated <", value, "updated"); return (Criteria) this; } public Criteria andUpdatedLessThanOrEqualTo(Date value) { addCriterion("updated <=", value, "updated"); return (Criteria) this; } public Criteria andUpdatedIn(List values) { addCriterion("updated in", values, "updated"); return (Criteria) this; } public Criteria andUpdatedNotIn(List values) { addCriterion("updated not in", values, "updated"); return (Criteria) this; } public Criteria andUpdatedBetween(Date value1, Date value2) { addCriterion("updated between", value1, value2, "updated"); return (Criteria) this; } public Criteria andUpdatedNotBetween(Date value1, Date value2) { addCriterion("updated not between", value1, value2, "updated"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_content * * @mbggenerated do_not_delete_during_merge Fri Aug 18 10:13:27 CST 2017 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_content * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public static class Criterion { private String condition; private Object value; private Object secondValue; private boolean noValue; private boolean singleValue; private boolean betweenValue; private boolean listValue; private String typeHandler; public String getCondition() { return condition; } public Object getValue() { return value; } public Object getSecondValue() { return secondValue; } public boolean isNoValue() { return noValue; } public boolean isSingleValue() { return singleValue; } public boolean isBetweenValue() { return betweenValue; } public boolean isListValue() { return listValue; } public String getTypeHandler() { return typeHandler; } protected Criterion(String condition) { super(); this.condition = condition; this.typeHandler = null; this.noValue = true; } protected Criterion(String condition, Object value, String typeHandler) { super(); this.condition = condition; this.value = value; this.typeHandler = typeHandler; if (value instanceof List) { this.listValue = true; } else { this.singleValue = true; } } protected Criterion(String condition, Object value) { this(condition, value, null); } protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { super(); this.condition = condition; this.value = value; this.secondValue = secondValue; this.typeHandler = typeHandler; this.betweenValue = true; } protected Criterion(String condition, Object value, Object secondValue) { this(condition, value, secondValue, null); } } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbItem.java ================================================ package top.catalinali.pojo; import java.io.Serializable; import java.util.Date; public class TbItem implements Serializable{ /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Long id; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item.title * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String title; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item.sell_point * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String sellPoint; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item.price * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Long price; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item.num * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Integer num; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item.barcode * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String barcode; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item.image * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String image; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item.cid * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Long cid; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item.status * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Byte status; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date created; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date updated; /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item.id * * @return the value of tb_item.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Long getId() { return id; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item.id * * @param id the value for tb_item.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setId(Long id) { this.id = id; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item.title * * @return the value of tb_item.title * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getTitle() { return title; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item.title * * @param title the value for tb_item.title * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setTitle(String title) { this.title = title == null ? null : title.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item.sell_point * * @return the value of tb_item.sell_point * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getSellPoint() { return sellPoint; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item.sell_point * * @param sellPoint the value for tb_item.sell_point * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setSellPoint(String sellPoint) { this.sellPoint = sellPoint == null ? null : sellPoint.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item.price * * @return the value of tb_item.price * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Long getPrice() { return price; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item.price * * @param price the value for tb_item.price * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setPrice(Long price) { this.price = price; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item.num * * @return the value of tb_item.num * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Integer getNum() { return num; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item.num * * @param num the value for tb_item.num * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setNum(Integer num) { this.num = num; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item.barcode * * @return the value of tb_item.barcode * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getBarcode() { return barcode; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item.barcode * * @param barcode the value for tb_item.barcode * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setBarcode(String barcode) { this.barcode = barcode == null ? null : barcode.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item.image * * @return the value of tb_item.image * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getImage() { return image; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item.image * * @param image the value for tb_item.image * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setImage(String image) { this.image = image == null ? null : image.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item.cid * * @return the value of tb_item.cid * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Long getCid() { return cid; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item.cid * * @param cid the value for tb_item.cid * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setCid(Long cid) { this.cid = cid; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item.status * * @return the value of tb_item.status * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Byte getStatus() { return status; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item.status * * @param status the value for tb_item.status * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setStatus(Byte status) { this.status = status; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item.created * * @return the value of tb_item.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getCreated() { return created; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item.created * * @param created the value for tb_item.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setCreated(Date created) { this.created = created; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item.updated * * @return the value of tb_item.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getUpdated() { return updated; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item.updated * * @param updated the value for tb_item.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setUpdated(Date updated) { this.updated = updated; } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbItemCat.java ================================================ package top.catalinali.pojo; import java.io.Serializable; import java.util.Date; public class TbItemCat implements Serializable { /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_cat.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Long id; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_cat.parent_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Long parentId; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_cat.name * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String name; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_cat.status * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Integer status; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_cat.sort_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Integer sortOrder; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_cat.is_parent * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Boolean isParent; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_cat.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date created; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_cat.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date updated; /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_cat.id * * @return the value of tb_item_cat.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Long getId() { return id; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_cat.id * * @param id the value for tb_item_cat.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setId(Long id) { this.id = id; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_cat.parent_id * * @return the value of tb_item_cat.parent_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Long getParentId() { return parentId; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_cat.parent_id * * @param parentId the value for tb_item_cat.parent_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setParentId(Long parentId) { this.parentId = parentId; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_cat.name * * @return the value of tb_item_cat.name * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getName() { return name; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_cat.name * * @param name the value for tb_item_cat.name * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setName(String name) { this.name = name == null ? null : name.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_cat.status * * @return the value of tb_item_cat.status * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Integer getStatus() { return status; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_cat.status * * @param status the value for tb_item_cat.status * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setStatus(Integer status) { this.status = status; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_cat.sort_order * * @return the value of tb_item_cat.sort_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Integer getSortOrder() { return sortOrder; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_cat.sort_order * * @param sortOrder the value for tb_item_cat.sort_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setSortOrder(Integer sortOrder) { this.sortOrder = sortOrder; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_cat.is_parent * * @return the value of tb_item_cat.is_parent * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Boolean getIsParent() { return isParent; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_cat.is_parent * * @param isParent the value for tb_item_cat.is_parent * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setIsParent(Boolean isParent) { this.isParent = isParent; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_cat.created * * @return the value of tb_item_cat.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getCreated() { return created; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_cat.created * * @param created the value for tb_item_cat.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setCreated(Date created) { this.created = created; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_cat.updated * * @return the value of tb_item_cat.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getUpdated() { return updated; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_cat.updated * * @param updated the value for tb_item_cat.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setUpdated(Date updated) { this.updated = updated; } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbItemCatExample.java ================================================ package top.catalinali.pojo; import java.util.ArrayList; import java.util.Date; import java.util.List; public class TbItemCatExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected List oredCriteria; /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public TbItemCatExample() { oredCriteria = new ArrayList(); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public boolean isDistinct() { return distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria or() { Criteria criteria = createCriteriaInternal(); oredCriteria.add(criteria); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria createCriteria() { Criteria criteria = createCriteriaInternal(); if (oredCriteria.size() == 0) { oredCriteria.add(criteria); } return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void clear() { oredCriteria.clear(); orderByClause = null; distinct = false; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected abstract static class GeneratedCriteria { protected List criteria; protected GeneratedCriteria() { super(); criteria = new ArrayList(); } public boolean isValid() { return criteria.size() > 0; } public List getAllCriteria() { return criteria; } public List getCriteria() { return criteria; } protected void addCriterion(String condition) { if (condition == null) { throw new RuntimeException("Value for condition cannot be null"); } criteria.add(new Criterion(condition)); } protected void addCriterion(String condition, Object value, String property) { if (value == null) { throw new RuntimeException("Value for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value)); } protected void addCriterion(String condition, Object value1, Object value2, String property) { if (value1 == null || value2 == null) { throw new RuntimeException("Between values for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value1, value2)); } public Criteria andIdIsNull() { addCriterion("id is null"); return (Criteria) this; } public Criteria andIdIsNotNull() { addCriterion("id is not null"); return (Criteria) this; } public Criteria andIdEqualTo(Long value) { addCriterion("id =", value, "id"); return (Criteria) this; } public Criteria andIdNotEqualTo(Long value) { addCriterion("id <>", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThan(Long value) { addCriterion("id >", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThanOrEqualTo(Long value) { addCriterion("id >=", value, "id"); return (Criteria) this; } public Criteria andIdLessThan(Long value) { addCriterion("id <", value, "id"); return (Criteria) this; } public Criteria andIdLessThanOrEqualTo(Long value) { addCriterion("id <=", value, "id"); return (Criteria) this; } public Criteria andIdIn(List values) { addCriterion("id in", values, "id"); return (Criteria) this; } public Criteria andIdNotIn(List values) { addCriterion("id not in", values, "id"); return (Criteria) this; } public Criteria andIdBetween(Long value1, Long value2) { addCriterion("id between", value1, value2, "id"); return (Criteria) this; } public Criteria andIdNotBetween(Long value1, Long value2) { addCriterion("id not between", value1, value2, "id"); return (Criteria) this; } public Criteria andParentIdIsNull() { addCriterion("parent_id is null"); return (Criteria) this; } public Criteria andParentIdIsNotNull() { addCriterion("parent_id is not null"); return (Criteria) this; } public Criteria andParentIdEqualTo(Long value) { addCriterion("parent_id =", value, "parentId"); return (Criteria) this; } public Criteria andParentIdNotEqualTo(Long value) { addCriterion("parent_id <>", value, "parentId"); return (Criteria) this; } public Criteria andParentIdGreaterThan(Long value) { addCriterion("parent_id >", value, "parentId"); return (Criteria) this; } public Criteria andParentIdGreaterThanOrEqualTo(Long value) { addCriterion("parent_id >=", value, "parentId"); return (Criteria) this; } public Criteria andParentIdLessThan(Long value) { addCriterion("parent_id <", value, "parentId"); return (Criteria) this; } public Criteria andParentIdLessThanOrEqualTo(Long value) { addCriterion("parent_id <=", value, "parentId"); return (Criteria) this; } public Criteria andParentIdIn(List values) { addCriterion("parent_id in", values, "parentId"); return (Criteria) this; } public Criteria andParentIdNotIn(List values) { addCriterion("parent_id not in", values, "parentId"); return (Criteria) this; } public Criteria andParentIdBetween(Long value1, Long value2) { addCriterion("parent_id between", value1, value2, "parentId"); return (Criteria) this; } public Criteria andParentIdNotBetween(Long value1, Long value2) { addCriterion("parent_id not between", value1, value2, "parentId"); return (Criteria) this; } public Criteria andNameIsNull() { addCriterion("name is null"); return (Criteria) this; } public Criteria andNameIsNotNull() { addCriterion("name is not null"); return (Criteria) this; } public Criteria andNameEqualTo(String value) { addCriterion("name =", value, "name"); return (Criteria) this; } public Criteria andNameNotEqualTo(String value) { addCriterion("name <>", value, "name"); return (Criteria) this; } public Criteria andNameGreaterThan(String value) { addCriterion("name >", value, "name"); return (Criteria) this; } public Criteria andNameGreaterThanOrEqualTo(String value) { addCriterion("name >=", value, "name"); return (Criteria) this; } public Criteria andNameLessThan(String value) { addCriterion("name <", value, "name"); return (Criteria) this; } public Criteria andNameLessThanOrEqualTo(String value) { addCriterion("name <=", value, "name"); return (Criteria) this; } public Criteria andNameLike(String value) { addCriterion("name like", value, "name"); return (Criteria) this; } public Criteria andNameNotLike(String value) { addCriterion("name not like", value, "name"); return (Criteria) this; } public Criteria andNameIn(List values) { addCriterion("name in", values, "name"); return (Criteria) this; } public Criteria andNameNotIn(List values) { addCriterion("name not in", values, "name"); return (Criteria) this; } public Criteria andNameBetween(String value1, String value2) { addCriterion("name between", value1, value2, "name"); return (Criteria) this; } public Criteria andNameNotBetween(String value1, String value2) { addCriterion("name not between", value1, value2, "name"); return (Criteria) this; } public Criteria andStatusIsNull() { addCriterion("status is null"); return (Criteria) this; } public Criteria andStatusIsNotNull() { addCriterion("status is not null"); return (Criteria) this; } public Criteria andStatusEqualTo(Integer value) { addCriterion("status =", value, "status"); return (Criteria) this; } public Criteria andStatusNotEqualTo(Integer value) { addCriterion("status <>", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThan(Integer value) { addCriterion("status >", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThanOrEqualTo(Integer value) { addCriterion("status >=", value, "status"); return (Criteria) this; } public Criteria andStatusLessThan(Integer value) { addCriterion("status <", value, "status"); return (Criteria) this; } public Criteria andStatusLessThanOrEqualTo(Integer value) { addCriterion("status <=", value, "status"); return (Criteria) this; } public Criteria andStatusIn(List values) { addCriterion("status in", values, "status"); return (Criteria) this; } public Criteria andStatusNotIn(List values) { addCriterion("status not in", values, "status"); return (Criteria) this; } public Criteria andStatusBetween(Integer value1, Integer value2) { addCriterion("status between", value1, value2, "status"); return (Criteria) this; } public Criteria andStatusNotBetween(Integer value1, Integer value2) { addCriterion("status not between", value1, value2, "status"); return (Criteria) this; } public Criteria andSortOrderIsNull() { addCriterion("sort_order is null"); return (Criteria) this; } public Criteria andSortOrderIsNotNull() { addCriterion("sort_order is not null"); return (Criteria) this; } public Criteria andSortOrderEqualTo(Integer value) { addCriterion("sort_order =", value, "sortOrder"); return (Criteria) this; } public Criteria andSortOrderNotEqualTo(Integer value) { addCriterion("sort_order <>", value, "sortOrder"); return (Criteria) this; } public Criteria andSortOrderGreaterThan(Integer value) { addCriterion("sort_order >", value, "sortOrder"); return (Criteria) this; } public Criteria andSortOrderGreaterThanOrEqualTo(Integer value) { addCriterion("sort_order >=", value, "sortOrder"); return (Criteria) this; } public Criteria andSortOrderLessThan(Integer value) { addCriterion("sort_order <", value, "sortOrder"); return (Criteria) this; } public Criteria andSortOrderLessThanOrEqualTo(Integer value) { addCriterion("sort_order <=", value, "sortOrder"); return (Criteria) this; } public Criteria andSortOrderIn(List values) { addCriterion("sort_order in", values, "sortOrder"); return (Criteria) this; } public Criteria andSortOrderNotIn(List values) { addCriterion("sort_order not in", values, "sortOrder"); return (Criteria) this; } public Criteria andSortOrderBetween(Integer value1, Integer value2) { addCriterion("sort_order between", value1, value2, "sortOrder"); return (Criteria) this; } public Criteria andSortOrderNotBetween(Integer value1, Integer value2) { addCriterion("sort_order not between", value1, value2, "sortOrder"); return (Criteria) this; } public Criteria andIsParentIsNull() { addCriterion("is_parent is null"); return (Criteria) this; } public Criteria andIsParentIsNotNull() { addCriterion("is_parent is not null"); return (Criteria) this; } public Criteria andIsParentEqualTo(Boolean value) { addCriterion("is_parent =", value, "isParent"); return (Criteria) this; } public Criteria andIsParentNotEqualTo(Boolean value) { addCriterion("is_parent <>", value, "isParent"); return (Criteria) this; } public Criteria andIsParentGreaterThan(Boolean value) { addCriterion("is_parent >", value, "isParent"); return (Criteria) this; } public Criteria andIsParentGreaterThanOrEqualTo(Boolean value) { addCriterion("is_parent >=", value, "isParent"); return (Criteria) this; } public Criteria andIsParentLessThan(Boolean value) { addCriterion("is_parent <", value, "isParent"); return (Criteria) this; } public Criteria andIsParentLessThanOrEqualTo(Boolean value) { addCriterion("is_parent <=", value, "isParent"); return (Criteria) this; } public Criteria andIsParentIn(List values) { addCriterion("is_parent in", values, "isParent"); return (Criteria) this; } public Criteria andIsParentNotIn(List values) { addCriterion("is_parent not in", values, "isParent"); return (Criteria) this; } public Criteria andIsParentBetween(Boolean value1, Boolean value2) { addCriterion("is_parent between", value1, value2, "isParent"); return (Criteria) this; } public Criteria andIsParentNotBetween(Boolean value1, Boolean value2) { addCriterion("is_parent not between", value1, value2, "isParent"); return (Criteria) this; } public Criteria andCreatedIsNull() { addCriterion("created is null"); return (Criteria) this; } public Criteria andCreatedIsNotNull() { addCriterion("created is not null"); return (Criteria) this; } public Criteria andCreatedEqualTo(Date value) { addCriterion("created =", value, "created"); return (Criteria) this; } public Criteria andCreatedNotEqualTo(Date value) { addCriterion("created <>", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThan(Date value) { addCriterion("created >", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThanOrEqualTo(Date value) { addCriterion("created >=", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThan(Date value) { addCriterion("created <", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThanOrEqualTo(Date value) { addCriterion("created <=", value, "created"); return (Criteria) this; } public Criteria andCreatedIn(List values) { addCriterion("created in", values, "created"); return (Criteria) this; } public Criteria andCreatedNotIn(List values) { addCriterion("created not in", values, "created"); return (Criteria) this; } public Criteria andCreatedBetween(Date value1, Date value2) { addCriterion("created between", value1, value2, "created"); return (Criteria) this; } public Criteria andCreatedNotBetween(Date value1, Date value2) { addCriterion("created not between", value1, value2, "created"); return (Criteria) this; } public Criteria andUpdatedIsNull() { addCriterion("updated is null"); return (Criteria) this; } public Criteria andUpdatedIsNotNull() { addCriterion("updated is not null"); return (Criteria) this; } public Criteria andUpdatedEqualTo(Date value) { addCriterion("updated =", value, "updated"); return (Criteria) this; } public Criteria andUpdatedNotEqualTo(Date value) { addCriterion("updated <>", value, "updated"); return (Criteria) this; } public Criteria andUpdatedGreaterThan(Date value) { addCriterion("updated >", value, "updated"); return (Criteria) this; } public Criteria andUpdatedGreaterThanOrEqualTo(Date value) { addCriterion("updated >=", value, "updated"); return (Criteria) this; } public Criteria andUpdatedLessThan(Date value) { addCriterion("updated <", value, "updated"); return (Criteria) this; } public Criteria andUpdatedLessThanOrEqualTo(Date value) { addCriterion("updated <=", value, "updated"); return (Criteria) this; } public Criteria andUpdatedIn(List values) { addCriterion("updated in", values, "updated"); return (Criteria) this; } public Criteria andUpdatedNotIn(List values) { addCriterion("updated not in", values, "updated"); return (Criteria) this; } public Criteria andUpdatedBetween(Date value1, Date value2) { addCriterion("updated between", value1, value2, "updated"); return (Criteria) this; } public Criteria andUpdatedNotBetween(Date value1, Date value2) { addCriterion("updated not between", value1, value2, "updated"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_item_cat * * @mbggenerated do_not_delete_during_merge Fri Aug 18 10:13:27 CST 2017 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_item_cat * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public static class Criterion { private String condition; private Object value; private Object secondValue; private boolean noValue; private boolean singleValue; private boolean betweenValue; private boolean listValue; private String typeHandler; public String getCondition() { return condition; } public Object getValue() { return value; } public Object getSecondValue() { return secondValue; } public boolean isNoValue() { return noValue; } public boolean isSingleValue() { return singleValue; } public boolean isBetweenValue() { return betweenValue; } public boolean isListValue() { return listValue; } public String getTypeHandler() { return typeHandler; } protected Criterion(String condition) { super(); this.condition = condition; this.typeHandler = null; this.noValue = true; } protected Criterion(String condition, Object value, String typeHandler) { super(); this.condition = condition; this.value = value; this.typeHandler = typeHandler; if (value instanceof List) { this.listValue = true; } else { this.singleValue = true; } } protected Criterion(String condition, Object value) { this(condition, value, null); } protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { super(); this.condition = condition; this.value = value; this.secondValue = secondValue; this.typeHandler = typeHandler; this.betweenValue = true; } protected Criterion(String condition, Object value, Object secondValue) { this(condition, value, secondValue, null); } } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbItemDesc.java ================================================ package top.catalinali.pojo; import java.io.Serializable; import java.util.Date; public class TbItemDesc implements Serializable { /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_desc.item_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Long itemId; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_desc.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date created; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_desc.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date updated; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_desc.item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String itemDesc; /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_desc.item_id * * @return the value of tb_item_desc.item_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Long getItemId() { return itemId; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_desc.item_id * * @param itemId the value for tb_item_desc.item_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setItemId(Long itemId) { this.itemId = itemId; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_desc.created * * @return the value of tb_item_desc.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getCreated() { return created; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_desc.created * * @param created the value for tb_item_desc.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setCreated(Date created) { this.created = created; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_desc.updated * * @return the value of tb_item_desc.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getUpdated() { return updated; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_desc.updated * * @param updated the value for tb_item_desc.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setUpdated(Date updated) { this.updated = updated; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_desc.item_desc * * @return the value of tb_item_desc.item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getItemDesc() { return itemDesc; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_desc.item_desc * * @param itemDesc the value for tb_item_desc.item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setItemDesc(String itemDesc) { this.itemDesc = itemDesc == null ? null : itemDesc.trim(); } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbItemDescExample.java ================================================ package top.catalinali.pojo; import java.util.ArrayList; import java.util.Date; import java.util.List; public class TbItemDescExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected List oredCriteria; /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public TbItemDescExample() { oredCriteria = new ArrayList(); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public boolean isDistinct() { return distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria or() { Criteria criteria = createCriteriaInternal(); oredCriteria.add(criteria); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria createCriteria() { Criteria criteria = createCriteriaInternal(); if (oredCriteria.size() == 0) { oredCriteria.add(criteria); } return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void clear() { oredCriteria.clear(); orderByClause = null; distinct = false; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected abstract static class GeneratedCriteria { protected List criteria; protected GeneratedCriteria() { super(); criteria = new ArrayList(); } public boolean isValid() { return criteria.size() > 0; } public List getAllCriteria() { return criteria; } public List getCriteria() { return criteria; } protected void addCriterion(String condition) { if (condition == null) { throw new RuntimeException("Value for condition cannot be null"); } criteria.add(new Criterion(condition)); } protected void addCriterion(String condition, Object value, String property) { if (value == null) { throw new RuntimeException("Value for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value)); } protected void addCriterion(String condition, Object value1, Object value2, String property) { if (value1 == null || value2 == null) { throw new RuntimeException("Between values for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value1, value2)); } public Criteria andItemIdIsNull() { addCriterion("item_id is null"); return (Criteria) this; } public Criteria andItemIdIsNotNull() { addCriterion("item_id is not null"); return (Criteria) this; } public Criteria andItemIdEqualTo(Long value) { addCriterion("item_id =", value, "itemId"); return (Criteria) this; } public Criteria andItemIdNotEqualTo(Long value) { addCriterion("item_id <>", value, "itemId"); return (Criteria) this; } public Criteria andItemIdGreaterThan(Long value) { addCriterion("item_id >", value, "itemId"); return (Criteria) this; } public Criteria andItemIdGreaterThanOrEqualTo(Long value) { addCriterion("item_id >=", value, "itemId"); return (Criteria) this; } public Criteria andItemIdLessThan(Long value) { addCriterion("item_id <", value, "itemId"); return (Criteria) this; } public Criteria andItemIdLessThanOrEqualTo(Long value) { addCriterion("item_id <=", value, "itemId"); return (Criteria) this; } public Criteria andItemIdIn(List values) { addCriterion("item_id in", values, "itemId"); return (Criteria) this; } public Criteria andItemIdNotIn(List values) { addCriterion("item_id not in", values, "itemId"); return (Criteria) this; } public Criteria andItemIdBetween(Long value1, Long value2) { addCriterion("item_id between", value1, value2, "itemId"); return (Criteria) this; } public Criteria andItemIdNotBetween(Long value1, Long value2) { addCriterion("item_id not between", value1, value2, "itemId"); return (Criteria) this; } public Criteria andCreatedIsNull() { addCriterion("created is null"); return (Criteria) this; } public Criteria andCreatedIsNotNull() { addCriterion("created is not null"); return (Criteria) this; } public Criteria andCreatedEqualTo(Date value) { addCriterion("created =", value, "created"); return (Criteria) this; } public Criteria andCreatedNotEqualTo(Date value) { addCriterion("created <>", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThan(Date value) { addCriterion("created >", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThanOrEqualTo(Date value) { addCriterion("created >=", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThan(Date value) { addCriterion("created <", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThanOrEqualTo(Date value) { addCriterion("created <=", value, "created"); return (Criteria) this; } public Criteria andCreatedIn(List values) { addCriterion("created in", values, "created"); return (Criteria) this; } public Criteria andCreatedNotIn(List values) { addCriterion("created not in", values, "created"); return (Criteria) this; } public Criteria andCreatedBetween(Date value1, Date value2) { addCriterion("created between", value1, value2, "created"); return (Criteria) this; } public Criteria andCreatedNotBetween(Date value1, Date value2) { addCriterion("created not between", value1, value2, "created"); return (Criteria) this; } public Criteria andUpdatedIsNull() { addCriterion("updated is null"); return (Criteria) this; } public Criteria andUpdatedIsNotNull() { addCriterion("updated is not null"); return (Criteria) this; } public Criteria andUpdatedEqualTo(Date value) { addCriterion("updated =", value, "updated"); return (Criteria) this; } public Criteria andUpdatedNotEqualTo(Date value) { addCriterion("updated <>", value, "updated"); return (Criteria) this; } public Criteria andUpdatedGreaterThan(Date value) { addCriterion("updated >", value, "updated"); return (Criteria) this; } public Criteria andUpdatedGreaterThanOrEqualTo(Date value) { addCriterion("updated >=", value, "updated"); return (Criteria) this; } public Criteria andUpdatedLessThan(Date value) { addCriterion("updated <", value, "updated"); return (Criteria) this; } public Criteria andUpdatedLessThanOrEqualTo(Date value) { addCriterion("updated <=", value, "updated"); return (Criteria) this; } public Criteria andUpdatedIn(List values) { addCriterion("updated in", values, "updated"); return (Criteria) this; } public Criteria andUpdatedNotIn(List values) { addCriterion("updated not in", values, "updated"); return (Criteria) this; } public Criteria andUpdatedBetween(Date value1, Date value2) { addCriterion("updated between", value1, value2, "updated"); return (Criteria) this; } public Criteria andUpdatedNotBetween(Date value1, Date value2) { addCriterion("updated not between", value1, value2, "updated"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_item_desc * * @mbggenerated do_not_delete_during_merge Fri Aug 18 10:13:27 CST 2017 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_item_desc * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public static class Criterion { private String condition; private Object value; private Object secondValue; private boolean noValue; private boolean singleValue; private boolean betweenValue; private boolean listValue; private String typeHandler; public String getCondition() { return condition; } public Object getValue() { return value; } public Object getSecondValue() { return secondValue; } public boolean isNoValue() { return noValue; } public boolean isSingleValue() { return singleValue; } public boolean isBetweenValue() { return betweenValue; } public boolean isListValue() { return listValue; } public String getTypeHandler() { return typeHandler; } protected Criterion(String condition) { super(); this.condition = condition; this.typeHandler = null; this.noValue = true; } protected Criterion(String condition, Object value, String typeHandler) { super(); this.condition = condition; this.value = value; this.typeHandler = typeHandler; if (value instanceof List) { this.listValue = true; } else { this.singleValue = true; } } protected Criterion(String condition, Object value) { this(condition, value, null); } protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { super(); this.condition = condition; this.value = value; this.secondValue = secondValue; this.typeHandler = typeHandler; this.betweenValue = true; } protected Criterion(String condition, Object value, Object secondValue) { this(condition, value, secondValue, null); } } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbItemExample.java ================================================ package top.catalinali.pojo; import java.util.ArrayList; import java.util.Date; import java.util.List; public class TbItemExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected List oredCriteria; /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public TbItemExample() { oredCriteria = new ArrayList(); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public boolean isDistinct() { return distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria or() { Criteria criteria = createCriteriaInternal(); oredCriteria.add(criteria); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria createCriteria() { Criteria criteria = createCriteriaInternal(); if (oredCriteria.size() == 0) { oredCriteria.add(criteria); } return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void clear() { oredCriteria.clear(); orderByClause = null; distinct = false; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected abstract static class GeneratedCriteria { protected List criteria; protected GeneratedCriteria() { super(); criteria = new ArrayList(); } public boolean isValid() { return criteria.size() > 0; } public List getAllCriteria() { return criteria; } public List getCriteria() { return criteria; } protected void addCriterion(String condition) { if (condition == null) { throw new RuntimeException("Value for condition cannot be null"); } criteria.add(new Criterion(condition)); } protected void addCriterion(String condition, Object value, String property) { if (value == null) { throw new RuntimeException("Value for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value)); } protected void addCriterion(String condition, Object value1, Object value2, String property) { if (value1 == null || value2 == null) { throw new RuntimeException("Between values for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value1, value2)); } public Criteria andIdIsNull() { addCriterion("id is null"); return (Criteria) this; } public Criteria andIdIsNotNull() { addCriterion("id is not null"); return (Criteria) this; } public Criteria andIdEqualTo(Long value) { addCriterion("id =", value, "id"); return (Criteria) this; } public Criteria andIdNotEqualTo(Long value) { addCriterion("id <>", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThan(Long value) { addCriterion("id >", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThanOrEqualTo(Long value) { addCriterion("id >=", value, "id"); return (Criteria) this; } public Criteria andIdLessThan(Long value) { addCriterion("id <", value, "id"); return (Criteria) this; } public Criteria andIdLessThanOrEqualTo(Long value) { addCriterion("id <=", value, "id"); return (Criteria) this; } public Criteria andIdIn(List values) { addCriterion("id in", values, "id"); return (Criteria) this; } public Criteria andIdNotIn(List values) { addCriterion("id not in", values, "id"); return (Criteria) this; } public Criteria andIdBetween(Long value1, Long value2) { addCriterion("id between", value1, value2, "id"); return (Criteria) this; } public Criteria andIdNotBetween(Long value1, Long value2) { addCriterion("id not between", value1, value2, "id"); return (Criteria) this; } public Criteria andTitleIsNull() { addCriterion("title is null"); return (Criteria) this; } public Criteria andTitleIsNotNull() { addCriterion("title is not null"); return (Criteria) this; } public Criteria andTitleEqualTo(String value) { addCriterion("title =", value, "title"); return (Criteria) this; } public Criteria andTitleNotEqualTo(String value) { addCriterion("title <>", value, "title"); return (Criteria) this; } public Criteria andTitleGreaterThan(String value) { addCriterion("title >", value, "title"); return (Criteria) this; } public Criteria andTitleGreaterThanOrEqualTo(String value) { addCriterion("title >=", value, "title"); return (Criteria) this; } public Criteria andTitleLessThan(String value) { addCriterion("title <", value, "title"); return (Criteria) this; } public Criteria andTitleLessThanOrEqualTo(String value) { addCriterion("title <=", value, "title"); return (Criteria) this; } public Criteria andTitleLike(String value) { addCriterion("title like", value, "title"); return (Criteria) this; } public Criteria andTitleNotLike(String value) { addCriterion("title not like", value, "title"); return (Criteria) this; } public Criteria andTitleIn(List values) { addCriterion("title in", values, "title"); return (Criteria) this; } public Criteria andTitleNotIn(List values) { addCriterion("title not in", values, "title"); return (Criteria) this; } public Criteria andTitleBetween(String value1, String value2) { addCriterion("title between", value1, value2, "title"); return (Criteria) this; } public Criteria andTitleNotBetween(String value1, String value2) { addCriterion("title not between", value1, value2, "title"); return (Criteria) this; } public Criteria andSellPointIsNull() { addCriterion("sell_point is null"); return (Criteria) this; } public Criteria andSellPointIsNotNull() { addCriterion("sell_point is not null"); return (Criteria) this; } public Criteria andSellPointEqualTo(String value) { addCriterion("sell_point =", value, "sellPoint"); return (Criteria) this; } public Criteria andSellPointNotEqualTo(String value) { addCriterion("sell_point <>", value, "sellPoint"); return (Criteria) this; } public Criteria andSellPointGreaterThan(String value) { addCriterion("sell_point >", value, "sellPoint"); return (Criteria) this; } public Criteria andSellPointGreaterThanOrEqualTo(String value) { addCriterion("sell_point >=", value, "sellPoint"); return (Criteria) this; } public Criteria andSellPointLessThan(String value) { addCriterion("sell_point <", value, "sellPoint"); return (Criteria) this; } public Criteria andSellPointLessThanOrEqualTo(String value) { addCriterion("sell_point <=", value, "sellPoint"); return (Criteria) this; } public Criteria andSellPointLike(String value) { addCriterion("sell_point like", value, "sellPoint"); return (Criteria) this; } public Criteria andSellPointNotLike(String value) { addCriterion("sell_point not like", value, "sellPoint"); return (Criteria) this; } public Criteria andSellPointIn(List values) { addCriterion("sell_point in", values, "sellPoint"); return (Criteria) this; } public Criteria andSellPointNotIn(List values) { addCriterion("sell_point not in", values, "sellPoint"); return (Criteria) this; } public Criteria andSellPointBetween(String value1, String value2) { addCriterion("sell_point between", value1, value2, "sellPoint"); return (Criteria) this; } public Criteria andSellPointNotBetween(String value1, String value2) { addCriterion("sell_point not between", value1, value2, "sellPoint"); return (Criteria) this; } public Criteria andPriceIsNull() { addCriterion("price is null"); return (Criteria) this; } public Criteria andPriceIsNotNull() { addCriterion("price is not null"); return (Criteria) this; } public Criteria andPriceEqualTo(Long value) { addCriterion("price =", value, "price"); return (Criteria) this; } public Criteria andPriceNotEqualTo(Long value) { addCriterion("price <>", value, "price"); return (Criteria) this; } public Criteria andPriceGreaterThan(Long value) { addCriterion("price >", value, "price"); return (Criteria) this; } public Criteria andPriceGreaterThanOrEqualTo(Long value) { addCriterion("price >=", value, "price"); return (Criteria) this; } public Criteria andPriceLessThan(Long value) { addCriterion("price <", value, "price"); return (Criteria) this; } public Criteria andPriceLessThanOrEqualTo(Long value) { addCriterion("price <=", value, "price"); return (Criteria) this; } public Criteria andPriceIn(List values) { addCriterion("price in", values, "price"); return (Criteria) this; } public Criteria andPriceNotIn(List values) { addCriterion("price not in", values, "price"); return (Criteria) this; } public Criteria andPriceBetween(Long value1, Long value2) { addCriterion("price between", value1, value2, "price"); return (Criteria) this; } public Criteria andPriceNotBetween(Long value1, Long value2) { addCriterion("price not between", value1, value2, "price"); return (Criteria) this; } public Criteria andNumIsNull() { addCriterion("num is null"); return (Criteria) this; } public Criteria andNumIsNotNull() { addCriterion("num is not null"); return (Criteria) this; } public Criteria andNumEqualTo(Integer value) { addCriterion("num =", value, "num"); return (Criteria) this; } public Criteria andNumNotEqualTo(Integer value) { addCriterion("num <>", value, "num"); return (Criteria) this; } public Criteria andNumGreaterThan(Integer value) { addCriterion("num >", value, "num"); return (Criteria) this; } public Criteria andNumGreaterThanOrEqualTo(Integer value) { addCriterion("num >=", value, "num"); return (Criteria) this; } public Criteria andNumLessThan(Integer value) { addCriterion("num <", value, "num"); return (Criteria) this; } public Criteria andNumLessThanOrEqualTo(Integer value) { addCriterion("num <=", value, "num"); return (Criteria) this; } public Criteria andNumIn(List values) { addCriterion("num in", values, "num"); return (Criteria) this; } public Criteria andNumNotIn(List values) { addCriterion("num not in", values, "num"); return (Criteria) this; } public Criteria andNumBetween(Integer value1, Integer value2) { addCriterion("num between", value1, value2, "num"); return (Criteria) this; } public Criteria andNumNotBetween(Integer value1, Integer value2) { addCriterion("num not between", value1, value2, "num"); return (Criteria) this; } public Criteria andBarcodeIsNull() { addCriterion("barcode is null"); return (Criteria) this; } public Criteria andBarcodeIsNotNull() { addCriterion("barcode is not null"); return (Criteria) this; } public Criteria andBarcodeEqualTo(String value) { addCriterion("barcode =", value, "barcode"); return (Criteria) this; } public Criteria andBarcodeNotEqualTo(String value) { addCriterion("barcode <>", value, "barcode"); return (Criteria) this; } public Criteria andBarcodeGreaterThan(String value) { addCriterion("barcode >", value, "barcode"); return (Criteria) this; } public Criteria andBarcodeGreaterThanOrEqualTo(String value) { addCriterion("barcode >=", value, "barcode"); return (Criteria) this; } public Criteria andBarcodeLessThan(String value) { addCriterion("barcode <", value, "barcode"); return (Criteria) this; } public Criteria andBarcodeLessThanOrEqualTo(String value) { addCriterion("barcode <=", value, "barcode"); return (Criteria) this; } public Criteria andBarcodeLike(String value) { addCriterion("barcode like", value, "barcode"); return (Criteria) this; } public Criteria andBarcodeNotLike(String value) { addCriterion("barcode not like", value, "barcode"); return (Criteria) this; } public Criteria andBarcodeIn(List values) { addCriterion("barcode in", values, "barcode"); return (Criteria) this; } public Criteria andBarcodeNotIn(List values) { addCriterion("barcode not in", values, "barcode"); return (Criteria) this; } public Criteria andBarcodeBetween(String value1, String value2) { addCriterion("barcode between", value1, value2, "barcode"); return (Criteria) this; } public Criteria andBarcodeNotBetween(String value1, String value2) { addCriterion("barcode not between", value1, value2, "barcode"); return (Criteria) this; } public Criteria andImageIsNull() { addCriterion("image is null"); return (Criteria) this; } public Criteria andImageIsNotNull() { addCriterion("image is not null"); return (Criteria) this; } public Criteria andImageEqualTo(String value) { addCriterion("image =", value, "image"); return (Criteria) this; } public Criteria andImageNotEqualTo(String value) { addCriterion("image <>", value, "image"); return (Criteria) this; } public Criteria andImageGreaterThan(String value) { addCriterion("image >", value, "image"); return (Criteria) this; } public Criteria andImageGreaterThanOrEqualTo(String value) { addCriterion("image >=", value, "image"); return (Criteria) this; } public Criteria andImageLessThan(String value) { addCriterion("image <", value, "image"); return (Criteria) this; } public Criteria andImageLessThanOrEqualTo(String value) { addCriterion("image <=", value, "image"); return (Criteria) this; } public Criteria andImageLike(String value) { addCriterion("image like", value, "image"); return (Criteria) this; } public Criteria andImageNotLike(String value) { addCriterion("image not like", value, "image"); return (Criteria) this; } public Criteria andImageIn(List values) { addCriterion("image in", values, "image"); return (Criteria) this; } public Criteria andImageNotIn(List values) { addCriterion("image not in", values, "image"); return (Criteria) this; } public Criteria andImageBetween(String value1, String value2) { addCriterion("image between", value1, value2, "image"); return (Criteria) this; } public Criteria andImageNotBetween(String value1, String value2) { addCriterion("image not between", value1, value2, "image"); return (Criteria) this; } public Criteria andCidIsNull() { addCriterion("cid is null"); return (Criteria) this; } public Criteria andCidIsNotNull() { addCriterion("cid is not null"); return (Criteria) this; } public Criteria andCidEqualTo(Long value) { addCriterion("cid =", value, "cid"); return (Criteria) this; } public Criteria andCidNotEqualTo(Long value) { addCriterion("cid <>", value, "cid"); return (Criteria) this; } public Criteria andCidGreaterThan(Long value) { addCriterion("cid >", value, "cid"); return (Criteria) this; } public Criteria andCidGreaterThanOrEqualTo(Long value) { addCriterion("cid >=", value, "cid"); return (Criteria) this; } public Criteria andCidLessThan(Long value) { addCriterion("cid <", value, "cid"); return (Criteria) this; } public Criteria andCidLessThanOrEqualTo(Long value) { addCriterion("cid <=", value, "cid"); return (Criteria) this; } public Criteria andCidIn(List values) { addCriterion("cid in", values, "cid"); return (Criteria) this; } public Criteria andCidNotIn(List values) { addCriterion("cid not in", values, "cid"); return (Criteria) this; } public Criteria andCidBetween(Long value1, Long value2) { addCriterion("cid between", value1, value2, "cid"); return (Criteria) this; } public Criteria andCidNotBetween(Long value1, Long value2) { addCriterion("cid not between", value1, value2, "cid"); return (Criteria) this; } public Criteria andStatusIsNull() { addCriterion("status is null"); return (Criteria) this; } public Criteria andStatusIsNotNull() { addCriterion("status is not null"); return (Criteria) this; } public Criteria andStatusEqualTo(Byte value) { addCriterion("status =", value, "status"); return (Criteria) this; } public Criteria andStatusNotEqualTo(Byte value) { addCriterion("status <>", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThan(Byte value) { addCriterion("status >", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThanOrEqualTo(Byte value) { addCriterion("status >=", value, "status"); return (Criteria) this; } public Criteria andStatusLessThan(Byte value) { addCriterion("status <", value, "status"); return (Criteria) this; } public Criteria andStatusLessThanOrEqualTo(Byte value) { addCriterion("status <=", value, "status"); return (Criteria) this; } public Criteria andStatusIn(List values) { addCriterion("status in", values, "status"); return (Criteria) this; } public Criteria andStatusNotIn(List values) { addCriterion("status not in", values, "status"); return (Criteria) this; } public Criteria andStatusBetween(Byte value1, Byte value2) { addCriterion("status between", value1, value2, "status"); return (Criteria) this; } public Criteria andStatusNotBetween(Byte value1, Byte value2) { addCriterion("status not between", value1, value2, "status"); return (Criteria) this; } public Criteria andCreatedIsNull() { addCriterion("created is null"); return (Criteria) this; } public Criteria andCreatedIsNotNull() { addCriterion("created is not null"); return (Criteria) this; } public Criteria andCreatedEqualTo(Date value) { addCriterion("created =", value, "created"); return (Criteria) this; } public Criteria andCreatedNotEqualTo(Date value) { addCriterion("created <>", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThan(Date value) { addCriterion("created >", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThanOrEqualTo(Date value) { addCriterion("created >=", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThan(Date value) { addCriterion("created <", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThanOrEqualTo(Date value) { addCriterion("created <=", value, "created"); return (Criteria) this; } public Criteria andCreatedIn(List values) { addCriterion("created in", values, "created"); return (Criteria) this; } public Criteria andCreatedNotIn(List values) { addCriterion("created not in", values, "created"); return (Criteria) this; } public Criteria andCreatedBetween(Date value1, Date value2) { addCriterion("created between", value1, value2, "created"); return (Criteria) this; } public Criteria andCreatedNotBetween(Date value1, Date value2) { addCriterion("created not between", value1, value2, "created"); return (Criteria) this; } public Criteria andUpdatedIsNull() { addCriterion("updated is null"); return (Criteria) this; } public Criteria andUpdatedIsNotNull() { addCriterion("updated is not null"); return (Criteria) this; } public Criteria andUpdatedEqualTo(Date value) { addCriterion("updated =", value, "updated"); return (Criteria) this; } public Criteria andUpdatedNotEqualTo(Date value) { addCriterion("updated <>", value, "updated"); return (Criteria) this; } public Criteria andUpdatedGreaterThan(Date value) { addCriterion("updated >", value, "updated"); return (Criteria) this; } public Criteria andUpdatedGreaterThanOrEqualTo(Date value) { addCriterion("updated >=", value, "updated"); return (Criteria) this; } public Criteria andUpdatedLessThan(Date value) { addCriterion("updated <", value, "updated"); return (Criteria) this; } public Criteria andUpdatedLessThanOrEqualTo(Date value) { addCriterion("updated <=", value, "updated"); return (Criteria) this; } public Criteria andUpdatedIn(List values) { addCriterion("updated in", values, "updated"); return (Criteria) this; } public Criteria andUpdatedNotIn(List values) { addCriterion("updated not in", values, "updated"); return (Criteria) this; } public Criteria andUpdatedBetween(Date value1, Date value2) { addCriterion("updated between", value1, value2, "updated"); return (Criteria) this; } public Criteria andUpdatedNotBetween(Date value1, Date value2) { addCriterion("updated not between", value1, value2, "updated"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_item * * @mbggenerated do_not_delete_during_merge Fri Aug 18 10:13:27 CST 2017 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public static class Criterion { private String condition; private Object value; private Object secondValue; private boolean noValue; private boolean singleValue; private boolean betweenValue; private boolean listValue; private String typeHandler; public String getCondition() { return condition; } public Object getValue() { return value; } public Object getSecondValue() { return secondValue; } public boolean isNoValue() { return noValue; } public boolean isSingleValue() { return singleValue; } public boolean isBetweenValue() { return betweenValue; } public boolean isListValue() { return listValue; } public String getTypeHandler() { return typeHandler; } protected Criterion(String condition) { super(); this.condition = condition; this.typeHandler = null; this.noValue = true; } protected Criterion(String condition, Object value, String typeHandler) { super(); this.condition = condition; this.value = value; this.typeHandler = typeHandler; if (value instanceof List) { this.listValue = true; } else { this.singleValue = true; } } protected Criterion(String condition, Object value) { this(condition, value, null); } protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { super(); this.condition = condition; this.value = value; this.secondValue = secondValue; this.typeHandler = typeHandler; this.betweenValue = true; } protected Criterion(String condition, Object value, Object secondValue) { this(condition, value, secondValue, null); } } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbItemParam.java ================================================ package top.catalinali.pojo; import java.io.Serializable; import java.util.Date; public class TbItemParam implements Serializable { /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_param.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Long id; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_param.item_cat_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Long itemCatId; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_param.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date created; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_param.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date updated; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_param.param_data * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String paramData; /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_param.id * * @return the value of tb_item_param.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Long getId() { return id; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_param.id * * @param id the value for tb_item_param.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setId(Long id) { this.id = id; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_param.item_cat_id * * @return the value of tb_item_param.item_cat_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Long getItemCatId() { return itemCatId; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_param.item_cat_id * * @param itemCatId the value for tb_item_param.item_cat_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setItemCatId(Long itemCatId) { this.itemCatId = itemCatId; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_param.created * * @return the value of tb_item_param.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getCreated() { return created; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_param.created * * @param created the value for tb_item_param.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setCreated(Date created) { this.created = created; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_param.updated * * @return the value of tb_item_param.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getUpdated() { return updated; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_param.updated * * @param updated the value for tb_item_param.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setUpdated(Date updated) { this.updated = updated; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_param.param_data * * @return the value of tb_item_param.param_data * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getParamData() { return paramData; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_param.param_data * * @param paramData the value for tb_item_param.param_data * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setParamData(String paramData) { this.paramData = paramData == null ? null : paramData.trim(); } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbItemParamExample.java ================================================ package top.catalinali.pojo; import java.util.ArrayList; import java.util.Date; import java.util.List; public class TbItemParamExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected List oredCriteria; /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public TbItemParamExample() { oredCriteria = new ArrayList(); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public boolean isDistinct() { return distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria or() { Criteria criteria = createCriteriaInternal(); oredCriteria.add(criteria); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria createCriteria() { Criteria criteria = createCriteriaInternal(); if (oredCriteria.size() == 0) { oredCriteria.add(criteria); } return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void clear() { oredCriteria.clear(); orderByClause = null; distinct = false; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected abstract static class GeneratedCriteria { protected List criteria; protected GeneratedCriteria() { super(); criteria = new ArrayList(); } public boolean isValid() { return criteria.size() > 0; } public List getAllCriteria() { return criteria; } public List getCriteria() { return criteria; } protected void addCriterion(String condition) { if (condition == null) { throw new RuntimeException("Value for condition cannot be null"); } criteria.add(new Criterion(condition)); } protected void addCriterion(String condition, Object value, String property) { if (value == null) { throw new RuntimeException("Value for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value)); } protected void addCriterion(String condition, Object value1, Object value2, String property) { if (value1 == null || value2 == null) { throw new RuntimeException("Between values for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value1, value2)); } public Criteria andIdIsNull() { addCriterion("id is null"); return (Criteria) this; } public Criteria andIdIsNotNull() { addCriterion("id is not null"); return (Criteria) this; } public Criteria andIdEqualTo(Long value) { addCriterion("id =", value, "id"); return (Criteria) this; } public Criteria andIdNotEqualTo(Long value) { addCriterion("id <>", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThan(Long value) { addCriterion("id >", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThanOrEqualTo(Long value) { addCriterion("id >=", value, "id"); return (Criteria) this; } public Criteria andIdLessThan(Long value) { addCriterion("id <", value, "id"); return (Criteria) this; } public Criteria andIdLessThanOrEqualTo(Long value) { addCriterion("id <=", value, "id"); return (Criteria) this; } public Criteria andIdIn(List values) { addCriterion("id in", values, "id"); return (Criteria) this; } public Criteria andIdNotIn(List values) { addCriterion("id not in", values, "id"); return (Criteria) this; } public Criteria andIdBetween(Long value1, Long value2) { addCriterion("id between", value1, value2, "id"); return (Criteria) this; } public Criteria andIdNotBetween(Long value1, Long value2) { addCriterion("id not between", value1, value2, "id"); return (Criteria) this; } public Criteria andItemCatIdIsNull() { addCriterion("item_cat_id is null"); return (Criteria) this; } public Criteria andItemCatIdIsNotNull() { addCriterion("item_cat_id is not null"); return (Criteria) this; } public Criteria andItemCatIdEqualTo(Long value) { addCriterion("item_cat_id =", value, "itemCatId"); return (Criteria) this; } public Criteria andItemCatIdNotEqualTo(Long value) { addCriterion("item_cat_id <>", value, "itemCatId"); return (Criteria) this; } public Criteria andItemCatIdGreaterThan(Long value) { addCriterion("item_cat_id >", value, "itemCatId"); return (Criteria) this; } public Criteria andItemCatIdGreaterThanOrEqualTo(Long value) { addCriterion("item_cat_id >=", value, "itemCatId"); return (Criteria) this; } public Criteria andItemCatIdLessThan(Long value) { addCriterion("item_cat_id <", value, "itemCatId"); return (Criteria) this; } public Criteria andItemCatIdLessThanOrEqualTo(Long value) { addCriterion("item_cat_id <=", value, "itemCatId"); return (Criteria) this; } public Criteria andItemCatIdIn(List values) { addCriterion("item_cat_id in", values, "itemCatId"); return (Criteria) this; } public Criteria andItemCatIdNotIn(List values) { addCriterion("item_cat_id not in", values, "itemCatId"); return (Criteria) this; } public Criteria andItemCatIdBetween(Long value1, Long value2) { addCriterion("item_cat_id between", value1, value2, "itemCatId"); return (Criteria) this; } public Criteria andItemCatIdNotBetween(Long value1, Long value2) { addCriterion("item_cat_id not between", value1, value2, "itemCatId"); return (Criteria) this; } public Criteria andCreatedIsNull() { addCriterion("created is null"); return (Criteria) this; } public Criteria andCreatedIsNotNull() { addCriterion("created is not null"); return (Criteria) this; } public Criteria andCreatedEqualTo(Date value) { addCriterion("created =", value, "created"); return (Criteria) this; } public Criteria andCreatedNotEqualTo(Date value) { addCriterion("created <>", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThan(Date value) { addCriterion("created >", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThanOrEqualTo(Date value) { addCriterion("created >=", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThan(Date value) { addCriterion("created <", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThanOrEqualTo(Date value) { addCriterion("created <=", value, "created"); return (Criteria) this; } public Criteria andCreatedIn(List values) { addCriterion("created in", values, "created"); return (Criteria) this; } public Criteria andCreatedNotIn(List values) { addCriterion("created not in", values, "created"); return (Criteria) this; } public Criteria andCreatedBetween(Date value1, Date value2) { addCriterion("created between", value1, value2, "created"); return (Criteria) this; } public Criteria andCreatedNotBetween(Date value1, Date value2) { addCriterion("created not between", value1, value2, "created"); return (Criteria) this; } public Criteria andUpdatedIsNull() { addCriterion("updated is null"); return (Criteria) this; } public Criteria andUpdatedIsNotNull() { addCriterion("updated is not null"); return (Criteria) this; } public Criteria andUpdatedEqualTo(Date value) { addCriterion("updated =", value, "updated"); return (Criteria) this; } public Criteria andUpdatedNotEqualTo(Date value) { addCriterion("updated <>", value, "updated"); return (Criteria) this; } public Criteria andUpdatedGreaterThan(Date value) { addCriterion("updated >", value, "updated"); return (Criteria) this; } public Criteria andUpdatedGreaterThanOrEqualTo(Date value) { addCriterion("updated >=", value, "updated"); return (Criteria) this; } public Criteria andUpdatedLessThan(Date value) { addCriterion("updated <", value, "updated"); return (Criteria) this; } public Criteria andUpdatedLessThanOrEqualTo(Date value) { addCriterion("updated <=", value, "updated"); return (Criteria) this; } public Criteria andUpdatedIn(List values) { addCriterion("updated in", values, "updated"); return (Criteria) this; } public Criteria andUpdatedNotIn(List values) { addCriterion("updated not in", values, "updated"); return (Criteria) this; } public Criteria andUpdatedBetween(Date value1, Date value2) { addCriterion("updated between", value1, value2, "updated"); return (Criteria) this; } public Criteria andUpdatedNotBetween(Date value1, Date value2) { addCriterion("updated not between", value1, value2, "updated"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_item_param * * @mbggenerated do_not_delete_during_merge Fri Aug 18 10:13:27 CST 2017 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_item_param * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public static class Criterion { private String condition; private Object value; private Object secondValue; private boolean noValue; private boolean singleValue; private boolean betweenValue; private boolean listValue; private String typeHandler; public String getCondition() { return condition; } public Object getValue() { return value; } public Object getSecondValue() { return secondValue; } public boolean isNoValue() { return noValue; } public boolean isSingleValue() { return singleValue; } public boolean isBetweenValue() { return betweenValue; } public boolean isListValue() { return listValue; } public String getTypeHandler() { return typeHandler; } protected Criterion(String condition) { super(); this.condition = condition; this.typeHandler = null; this.noValue = true; } protected Criterion(String condition, Object value, String typeHandler) { super(); this.condition = condition; this.value = value; this.typeHandler = typeHandler; if (value instanceof List) { this.listValue = true; } else { this.singleValue = true; } } protected Criterion(String condition, Object value) { this(condition, value, null); } protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { super(); this.condition = condition; this.value = value; this.secondValue = secondValue; this.typeHandler = typeHandler; this.betweenValue = true; } protected Criterion(String condition, Object value, Object secondValue) { this(condition, value, secondValue, null); } } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbItemParamItem.java ================================================ package top.catalinali.pojo; import java.io.Serializable; import java.util.Date; public class TbItemParamItem implements Serializable { /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_param_item.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Long id; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_param_item.item_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Long itemId; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_param_item.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date created; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_param_item.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date updated; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_item_param_item.param_data * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String paramData; /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_param_item.id * * @return the value of tb_item_param_item.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Long getId() { return id; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_param_item.id * * @param id the value for tb_item_param_item.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setId(Long id) { this.id = id; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_param_item.item_id * * @return the value of tb_item_param_item.item_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Long getItemId() { return itemId; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_param_item.item_id * * @param itemId the value for tb_item_param_item.item_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setItemId(Long itemId) { this.itemId = itemId; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_param_item.created * * @return the value of tb_item_param_item.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getCreated() { return created; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_param_item.created * * @param created the value for tb_item_param_item.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setCreated(Date created) { this.created = created; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_param_item.updated * * @return the value of tb_item_param_item.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getUpdated() { return updated; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_param_item.updated * * @param updated the value for tb_item_param_item.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setUpdated(Date updated) { this.updated = updated; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_item_param_item.param_data * * @return the value of tb_item_param_item.param_data * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getParamData() { return paramData; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_item_param_item.param_data * * @param paramData the value for tb_item_param_item.param_data * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setParamData(String paramData) { this.paramData = paramData == null ? null : paramData.trim(); } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbItemParamItemExample.java ================================================ package top.catalinali.pojo; import java.util.ArrayList; import java.util.Date; import java.util.List; public class TbItemParamItemExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected List oredCriteria; /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public TbItemParamItemExample() { oredCriteria = new ArrayList(); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public boolean isDistinct() { return distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria or() { Criteria criteria = createCriteriaInternal(); oredCriteria.add(criteria); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria createCriteria() { Criteria criteria = createCriteriaInternal(); if (oredCriteria.size() == 0) { oredCriteria.add(criteria); } return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void clear() { oredCriteria.clear(); orderByClause = null; distinct = false; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected abstract static class GeneratedCriteria { protected List criteria; protected GeneratedCriteria() { super(); criteria = new ArrayList(); } public boolean isValid() { return criteria.size() > 0; } public List getAllCriteria() { return criteria; } public List getCriteria() { return criteria; } protected void addCriterion(String condition) { if (condition == null) { throw new RuntimeException("Value for condition cannot be null"); } criteria.add(new Criterion(condition)); } protected void addCriterion(String condition, Object value, String property) { if (value == null) { throw new RuntimeException("Value for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value)); } protected void addCriterion(String condition, Object value1, Object value2, String property) { if (value1 == null || value2 == null) { throw new RuntimeException("Between values for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value1, value2)); } public Criteria andIdIsNull() { addCriterion("id is null"); return (Criteria) this; } public Criteria andIdIsNotNull() { addCriterion("id is not null"); return (Criteria) this; } public Criteria andIdEqualTo(Long value) { addCriterion("id =", value, "id"); return (Criteria) this; } public Criteria andIdNotEqualTo(Long value) { addCriterion("id <>", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThan(Long value) { addCriterion("id >", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThanOrEqualTo(Long value) { addCriterion("id >=", value, "id"); return (Criteria) this; } public Criteria andIdLessThan(Long value) { addCriterion("id <", value, "id"); return (Criteria) this; } public Criteria andIdLessThanOrEqualTo(Long value) { addCriterion("id <=", value, "id"); return (Criteria) this; } public Criteria andIdIn(List values) { addCriterion("id in", values, "id"); return (Criteria) this; } public Criteria andIdNotIn(List values) { addCriterion("id not in", values, "id"); return (Criteria) this; } public Criteria andIdBetween(Long value1, Long value2) { addCriterion("id between", value1, value2, "id"); return (Criteria) this; } public Criteria andIdNotBetween(Long value1, Long value2) { addCriterion("id not between", value1, value2, "id"); return (Criteria) this; } public Criteria andItemIdIsNull() { addCriterion("item_id is null"); return (Criteria) this; } public Criteria andItemIdIsNotNull() { addCriterion("item_id is not null"); return (Criteria) this; } public Criteria andItemIdEqualTo(Long value) { addCriterion("item_id =", value, "itemId"); return (Criteria) this; } public Criteria andItemIdNotEqualTo(Long value) { addCriterion("item_id <>", value, "itemId"); return (Criteria) this; } public Criteria andItemIdGreaterThan(Long value) { addCriterion("item_id >", value, "itemId"); return (Criteria) this; } public Criteria andItemIdGreaterThanOrEqualTo(Long value) { addCriterion("item_id >=", value, "itemId"); return (Criteria) this; } public Criteria andItemIdLessThan(Long value) { addCriterion("item_id <", value, "itemId"); return (Criteria) this; } public Criteria andItemIdLessThanOrEqualTo(Long value) { addCriterion("item_id <=", value, "itemId"); return (Criteria) this; } public Criteria andItemIdIn(List values) { addCriterion("item_id in", values, "itemId"); return (Criteria) this; } public Criteria andItemIdNotIn(List values) { addCriterion("item_id not in", values, "itemId"); return (Criteria) this; } public Criteria andItemIdBetween(Long value1, Long value2) { addCriterion("item_id between", value1, value2, "itemId"); return (Criteria) this; } public Criteria andItemIdNotBetween(Long value1, Long value2) { addCriterion("item_id not between", value1, value2, "itemId"); return (Criteria) this; } public Criteria andCreatedIsNull() { addCriterion("created is null"); return (Criteria) this; } public Criteria andCreatedIsNotNull() { addCriterion("created is not null"); return (Criteria) this; } public Criteria andCreatedEqualTo(Date value) { addCriterion("created =", value, "created"); return (Criteria) this; } public Criteria andCreatedNotEqualTo(Date value) { addCriterion("created <>", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThan(Date value) { addCriterion("created >", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThanOrEqualTo(Date value) { addCriterion("created >=", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThan(Date value) { addCriterion("created <", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThanOrEqualTo(Date value) { addCriterion("created <=", value, "created"); return (Criteria) this; } public Criteria andCreatedIn(List values) { addCriterion("created in", values, "created"); return (Criteria) this; } public Criteria andCreatedNotIn(List values) { addCriterion("created not in", values, "created"); return (Criteria) this; } public Criteria andCreatedBetween(Date value1, Date value2) { addCriterion("created between", value1, value2, "created"); return (Criteria) this; } public Criteria andCreatedNotBetween(Date value1, Date value2) { addCriterion("created not between", value1, value2, "created"); return (Criteria) this; } public Criteria andUpdatedIsNull() { addCriterion("updated is null"); return (Criteria) this; } public Criteria andUpdatedIsNotNull() { addCriterion("updated is not null"); return (Criteria) this; } public Criteria andUpdatedEqualTo(Date value) { addCriterion("updated =", value, "updated"); return (Criteria) this; } public Criteria andUpdatedNotEqualTo(Date value) { addCriterion("updated <>", value, "updated"); return (Criteria) this; } public Criteria andUpdatedGreaterThan(Date value) { addCriterion("updated >", value, "updated"); return (Criteria) this; } public Criteria andUpdatedGreaterThanOrEqualTo(Date value) { addCriterion("updated >=", value, "updated"); return (Criteria) this; } public Criteria andUpdatedLessThan(Date value) { addCriterion("updated <", value, "updated"); return (Criteria) this; } public Criteria andUpdatedLessThanOrEqualTo(Date value) { addCriterion("updated <=", value, "updated"); return (Criteria) this; } public Criteria andUpdatedIn(List values) { addCriterion("updated in", values, "updated"); return (Criteria) this; } public Criteria andUpdatedNotIn(List values) { addCriterion("updated not in", values, "updated"); return (Criteria) this; } public Criteria andUpdatedBetween(Date value1, Date value2) { addCriterion("updated between", value1, value2, "updated"); return (Criteria) this; } public Criteria andUpdatedNotBetween(Date value1, Date value2) { addCriterion("updated not between", value1, value2, "updated"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_item_param_item * * @mbggenerated do_not_delete_during_merge Fri Aug 18 10:13:27 CST 2017 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_item_param_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public static class Criterion { private String condition; private Object value; private Object secondValue; private boolean noValue; private boolean singleValue; private boolean betweenValue; private boolean listValue; private String typeHandler; public String getCondition() { return condition; } public Object getValue() { return value; } public Object getSecondValue() { return secondValue; } public boolean isNoValue() { return noValue; } public boolean isSingleValue() { return singleValue; } public boolean isBetweenValue() { return betweenValue; } public boolean isListValue() { return listValue; } public String getTypeHandler() { return typeHandler; } protected Criterion(String condition) { super(); this.condition = condition; this.typeHandler = null; this.noValue = true; } protected Criterion(String condition, Object value, String typeHandler) { super(); this.condition = condition; this.value = value; this.typeHandler = typeHandler; if (value instanceof List) { this.listValue = true; } else { this.singleValue = true; } } protected Criterion(String condition, Object value) { this(condition, value, null); } protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { super(); this.condition = condition; this.value = value; this.secondValue = secondValue; this.typeHandler = typeHandler; this.betweenValue = true; } protected Criterion(String condition, Object value, Object secondValue) { this(condition, value, secondValue, null); } } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbOrder.java ================================================ package top.catalinali.pojo; import java.io.Serializable; import java.util.Date; public class TbOrder implements Serializable { /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order.order_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String orderId; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order.payment * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String payment; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order.payment_type * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Integer paymentType; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order.post_fee * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String postFee; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order.status * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Integer status; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order.create_time * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date createTime; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order.update_time * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date updateTime; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order.payment_time * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date paymentTime; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order.consign_time * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date consignTime; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order.end_time * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date endTime; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order.close_time * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date closeTime; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order.shipping_name * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String shippingName; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order.shipping_code * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String shippingCode; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order.user_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Long userId; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order.buyer_message * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String buyerMessage; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order.buyer_nick * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String buyerNick; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order.buyer_rate * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Integer buyerRate; /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order.order_id * * @return the value of tb_order.order_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getOrderId() { return orderId; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order.order_id * * @param orderId the value for tb_order.order_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setOrderId(String orderId) { this.orderId = orderId == null ? null : orderId.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order.payment * * @return the value of tb_order.payment * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getPayment() { return payment; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order.payment * * @param payment the value for tb_order.payment * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setPayment(String payment) { this.payment = payment == null ? null : payment.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order.payment_type * * @return the value of tb_order.payment_type * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Integer getPaymentType() { return paymentType; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order.payment_type * * @param paymentType the value for tb_order.payment_type * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setPaymentType(Integer paymentType) { this.paymentType = paymentType; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order.post_fee * * @return the value of tb_order.post_fee * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getPostFee() { return postFee; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order.post_fee * * @param postFee the value for tb_order.post_fee * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setPostFee(String postFee) { this.postFee = postFee == null ? null : postFee.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order.status * * @return the value of tb_order.status * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Integer getStatus() { return status; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order.status * * @param status the value for tb_order.status * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setStatus(Integer status) { this.status = status; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order.create_time * * @return the value of tb_order.create_time * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getCreateTime() { return createTime; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order.create_time * * @param createTime the value for tb_order.create_time * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setCreateTime(Date createTime) { this.createTime = createTime; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order.update_time * * @return the value of tb_order.update_time * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getUpdateTime() { return updateTime; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order.update_time * * @param updateTime the value for tb_order.update_time * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order.payment_time * * @return the value of tb_order.payment_time * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getPaymentTime() { return paymentTime; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order.payment_time * * @param paymentTime the value for tb_order.payment_time * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setPaymentTime(Date paymentTime) { this.paymentTime = paymentTime; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order.consign_time * * @return the value of tb_order.consign_time * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getConsignTime() { return consignTime; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order.consign_time * * @param consignTime the value for tb_order.consign_time * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setConsignTime(Date consignTime) { this.consignTime = consignTime; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order.end_time * * @return the value of tb_order.end_time * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getEndTime() { return endTime; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order.end_time * * @param endTime the value for tb_order.end_time * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setEndTime(Date endTime) { this.endTime = endTime; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order.close_time * * @return the value of tb_order.close_time * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getCloseTime() { return closeTime; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order.close_time * * @param closeTime the value for tb_order.close_time * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setCloseTime(Date closeTime) { this.closeTime = closeTime; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order.shipping_name * * @return the value of tb_order.shipping_name * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getShippingName() { return shippingName; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order.shipping_name * * @param shippingName the value for tb_order.shipping_name * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setShippingName(String shippingName) { this.shippingName = shippingName == null ? null : shippingName.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order.shipping_code * * @return the value of tb_order.shipping_code * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getShippingCode() { return shippingCode; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order.shipping_code * * @param shippingCode the value for tb_order.shipping_code * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setShippingCode(String shippingCode) { this.shippingCode = shippingCode == null ? null : shippingCode.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order.user_id * * @return the value of tb_order.user_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Long getUserId() { return userId; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order.user_id * * @param userId the value for tb_order.user_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setUserId(Long userId) { this.userId = userId; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order.buyer_message * * @return the value of tb_order.buyer_message * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getBuyerMessage() { return buyerMessage; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order.buyer_message * * @param buyerMessage the value for tb_order.buyer_message * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setBuyerMessage(String buyerMessage) { this.buyerMessage = buyerMessage == null ? null : buyerMessage.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order.buyer_nick * * @return the value of tb_order.buyer_nick * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getBuyerNick() { return buyerNick; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order.buyer_nick * * @param buyerNick the value for tb_order.buyer_nick * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setBuyerNick(String buyerNick) { this.buyerNick = buyerNick == null ? null : buyerNick.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order.buyer_rate * * @return the value of tb_order.buyer_rate * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Integer getBuyerRate() { return buyerRate; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order.buyer_rate * * @param buyerRate the value for tb_order.buyer_rate * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setBuyerRate(Integer buyerRate) { this.buyerRate = buyerRate; } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbOrderExample.java ================================================ package top.catalinali.pojo; import java.util.ArrayList; import java.util.Date; import java.util.List; public class TbOrderExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected List oredCriteria; /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public TbOrderExample() { oredCriteria = new ArrayList(); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public boolean isDistinct() { return distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria or() { Criteria criteria = createCriteriaInternal(); oredCriteria.add(criteria); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria createCriteria() { Criteria criteria = createCriteriaInternal(); if (oredCriteria.size() == 0) { oredCriteria.add(criteria); } return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void clear() { oredCriteria.clear(); orderByClause = null; distinct = false; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected abstract static class GeneratedCriteria { protected List criteria; protected GeneratedCriteria() { super(); criteria = new ArrayList(); } public boolean isValid() { return criteria.size() > 0; } public List getAllCriteria() { return criteria; } public List getCriteria() { return criteria; } protected void addCriterion(String condition) { if (condition == null) { throw new RuntimeException("Value for condition cannot be null"); } criteria.add(new Criterion(condition)); } protected void addCriterion(String condition, Object value, String property) { if (value == null) { throw new RuntimeException("Value for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value)); } protected void addCriterion(String condition, Object value1, Object value2, String property) { if (value1 == null || value2 == null) { throw new RuntimeException("Between values for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value1, value2)); } public Criteria andOrderIdIsNull() { addCriterion("order_id is null"); return (Criteria) this; } public Criteria andOrderIdIsNotNull() { addCriterion("order_id is not null"); return (Criteria) this; } public Criteria andOrderIdEqualTo(String value) { addCriterion("order_id =", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdNotEqualTo(String value) { addCriterion("order_id <>", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdGreaterThan(String value) { addCriterion("order_id >", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdGreaterThanOrEqualTo(String value) { addCriterion("order_id >=", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdLessThan(String value) { addCriterion("order_id <", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdLessThanOrEqualTo(String value) { addCriterion("order_id <=", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdLike(String value) { addCriterion("order_id like", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdNotLike(String value) { addCriterion("order_id not like", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdIn(List values) { addCriterion("order_id in", values, "orderId"); return (Criteria) this; } public Criteria andOrderIdNotIn(List values) { addCriterion("order_id not in", values, "orderId"); return (Criteria) this; } public Criteria andOrderIdBetween(String value1, String value2) { addCriterion("order_id between", value1, value2, "orderId"); return (Criteria) this; } public Criteria andOrderIdNotBetween(String value1, String value2) { addCriterion("order_id not between", value1, value2, "orderId"); return (Criteria) this; } public Criteria andPaymentIsNull() { addCriterion("payment is null"); return (Criteria) this; } public Criteria andPaymentIsNotNull() { addCriterion("payment is not null"); return (Criteria) this; } public Criteria andPaymentEqualTo(String value) { addCriterion("payment =", value, "payment"); return (Criteria) this; } public Criteria andPaymentNotEqualTo(String value) { addCriterion("payment <>", value, "payment"); return (Criteria) this; } public Criteria andPaymentGreaterThan(String value) { addCriterion("payment >", value, "payment"); return (Criteria) this; } public Criteria andPaymentGreaterThanOrEqualTo(String value) { addCriterion("payment >=", value, "payment"); return (Criteria) this; } public Criteria andPaymentLessThan(String value) { addCriterion("payment <", value, "payment"); return (Criteria) this; } public Criteria andPaymentLessThanOrEqualTo(String value) { addCriterion("payment <=", value, "payment"); return (Criteria) this; } public Criteria andPaymentLike(String value) { addCriterion("payment like", value, "payment"); return (Criteria) this; } public Criteria andPaymentNotLike(String value) { addCriterion("payment not like", value, "payment"); return (Criteria) this; } public Criteria andPaymentIn(List values) { addCriterion("payment in", values, "payment"); return (Criteria) this; } public Criteria andPaymentNotIn(List values) { addCriterion("payment not in", values, "payment"); return (Criteria) this; } public Criteria andPaymentBetween(String value1, String value2) { addCriterion("payment between", value1, value2, "payment"); return (Criteria) this; } public Criteria andPaymentNotBetween(String value1, String value2) { addCriterion("payment not between", value1, value2, "payment"); return (Criteria) this; } public Criteria andPaymentTypeIsNull() { addCriterion("payment_type is null"); return (Criteria) this; } public Criteria andPaymentTypeIsNotNull() { addCriterion("payment_type is not null"); return (Criteria) this; } public Criteria andPaymentTypeEqualTo(Integer value) { addCriterion("payment_type =", value, "paymentType"); return (Criteria) this; } public Criteria andPaymentTypeNotEqualTo(Integer value) { addCriterion("payment_type <>", value, "paymentType"); return (Criteria) this; } public Criteria andPaymentTypeGreaterThan(Integer value) { addCriterion("payment_type >", value, "paymentType"); return (Criteria) this; } public Criteria andPaymentTypeGreaterThanOrEqualTo(Integer value) { addCriterion("payment_type >=", value, "paymentType"); return (Criteria) this; } public Criteria andPaymentTypeLessThan(Integer value) { addCriterion("payment_type <", value, "paymentType"); return (Criteria) this; } public Criteria andPaymentTypeLessThanOrEqualTo(Integer value) { addCriterion("payment_type <=", value, "paymentType"); return (Criteria) this; } public Criteria andPaymentTypeIn(List values) { addCriterion("payment_type in", values, "paymentType"); return (Criteria) this; } public Criteria andPaymentTypeNotIn(List values) { addCriterion("payment_type not in", values, "paymentType"); return (Criteria) this; } public Criteria andPaymentTypeBetween(Integer value1, Integer value2) { addCriterion("payment_type between", value1, value2, "paymentType"); return (Criteria) this; } public Criteria andPaymentTypeNotBetween(Integer value1, Integer value2) { addCriterion("payment_type not between", value1, value2, "paymentType"); return (Criteria) this; } public Criteria andPostFeeIsNull() { addCriterion("post_fee is null"); return (Criteria) this; } public Criteria andPostFeeIsNotNull() { addCriterion("post_fee is not null"); return (Criteria) this; } public Criteria andPostFeeEqualTo(String value) { addCriterion("post_fee =", value, "postFee"); return (Criteria) this; } public Criteria andPostFeeNotEqualTo(String value) { addCriterion("post_fee <>", value, "postFee"); return (Criteria) this; } public Criteria andPostFeeGreaterThan(String value) { addCriterion("post_fee >", value, "postFee"); return (Criteria) this; } public Criteria andPostFeeGreaterThanOrEqualTo(String value) { addCriterion("post_fee >=", value, "postFee"); return (Criteria) this; } public Criteria andPostFeeLessThan(String value) { addCriterion("post_fee <", value, "postFee"); return (Criteria) this; } public Criteria andPostFeeLessThanOrEqualTo(String value) { addCriterion("post_fee <=", value, "postFee"); return (Criteria) this; } public Criteria andPostFeeLike(String value) { addCriterion("post_fee like", value, "postFee"); return (Criteria) this; } public Criteria andPostFeeNotLike(String value) { addCriterion("post_fee not like", value, "postFee"); return (Criteria) this; } public Criteria andPostFeeIn(List values) { addCriterion("post_fee in", values, "postFee"); return (Criteria) this; } public Criteria andPostFeeNotIn(List values) { addCriterion("post_fee not in", values, "postFee"); return (Criteria) this; } public Criteria andPostFeeBetween(String value1, String value2) { addCriterion("post_fee between", value1, value2, "postFee"); return (Criteria) this; } public Criteria andPostFeeNotBetween(String value1, String value2) { addCriterion("post_fee not between", value1, value2, "postFee"); return (Criteria) this; } public Criteria andStatusIsNull() { addCriterion("status is null"); return (Criteria) this; } public Criteria andStatusIsNotNull() { addCriterion("status is not null"); return (Criteria) this; } public Criteria andStatusEqualTo(Integer value) { addCriterion("status =", value, "status"); return (Criteria) this; } public Criteria andStatusNotEqualTo(Integer value) { addCriterion("status <>", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThan(Integer value) { addCriterion("status >", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThanOrEqualTo(Integer value) { addCriterion("status >=", value, "status"); return (Criteria) this; } public Criteria andStatusLessThan(Integer value) { addCriterion("status <", value, "status"); return (Criteria) this; } public Criteria andStatusLessThanOrEqualTo(Integer value) { addCriterion("status <=", value, "status"); return (Criteria) this; } public Criteria andStatusIn(List values) { addCriterion("status in", values, "status"); return (Criteria) this; } public Criteria andStatusNotIn(List values) { addCriterion("status not in", values, "status"); return (Criteria) this; } public Criteria andStatusBetween(Integer value1, Integer value2) { addCriterion("status between", value1, value2, "status"); return (Criteria) this; } public Criteria andStatusNotBetween(Integer value1, Integer value2) { addCriterion("status not between", value1, value2, "status"); return (Criteria) this; } public Criteria andCreateTimeIsNull() { addCriterion("create_time is null"); return (Criteria) this; } public Criteria andCreateTimeIsNotNull() { addCriterion("create_time is not null"); return (Criteria) this; } public Criteria andCreateTimeEqualTo(Date value) { addCriterion("create_time =", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeNotEqualTo(Date value) { addCriterion("create_time <>", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeGreaterThan(Date value) { addCriterion("create_time >", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { addCriterion("create_time >=", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeLessThan(Date value) { addCriterion("create_time <", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeLessThanOrEqualTo(Date value) { addCriterion("create_time <=", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeIn(List values) { addCriterion("create_time in", values, "createTime"); return (Criteria) this; } public Criteria andCreateTimeNotIn(List values) { addCriterion("create_time not in", values, "createTime"); return (Criteria) this; } public Criteria andCreateTimeBetween(Date value1, Date value2) { addCriterion("create_time between", value1, value2, "createTime"); return (Criteria) this; } public Criteria andCreateTimeNotBetween(Date value1, Date value2) { addCriterion("create_time not between", value1, value2, "createTime"); return (Criteria) this; } public Criteria andUpdateTimeIsNull() { addCriterion("update_time is null"); return (Criteria) this; } public Criteria andUpdateTimeIsNotNull() { addCriterion("update_time is not null"); return (Criteria) this; } public Criteria andUpdateTimeEqualTo(Date value) { addCriterion("update_time =", value, "updateTime"); return (Criteria) this; } public Criteria andUpdateTimeNotEqualTo(Date value) { addCriterion("update_time <>", value, "updateTime"); return (Criteria) this; } public Criteria andUpdateTimeGreaterThan(Date value) { addCriterion("update_time >", value, "updateTime"); return (Criteria) this; } public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { addCriterion("update_time >=", value, "updateTime"); return (Criteria) this; } public Criteria andUpdateTimeLessThan(Date value) { addCriterion("update_time <", value, "updateTime"); return (Criteria) this; } public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { addCriterion("update_time <=", value, "updateTime"); return (Criteria) this; } public Criteria andUpdateTimeIn(List values) { addCriterion("update_time in", values, "updateTime"); return (Criteria) this; } public Criteria andUpdateTimeNotIn(List values) { addCriterion("update_time not in", values, "updateTime"); return (Criteria) this; } public Criteria andUpdateTimeBetween(Date value1, Date value2) { addCriterion("update_time between", value1, value2, "updateTime"); return (Criteria) this; } public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { addCriterion("update_time not between", value1, value2, "updateTime"); return (Criteria) this; } public Criteria andPaymentTimeIsNull() { addCriterion("payment_time is null"); return (Criteria) this; } public Criteria andPaymentTimeIsNotNull() { addCriterion("payment_time is not null"); return (Criteria) this; } public Criteria andPaymentTimeEqualTo(Date value) { addCriterion("payment_time =", value, "paymentTime"); return (Criteria) this; } public Criteria andPaymentTimeNotEqualTo(Date value) { addCriterion("payment_time <>", value, "paymentTime"); return (Criteria) this; } public Criteria andPaymentTimeGreaterThan(Date value) { addCriterion("payment_time >", value, "paymentTime"); return (Criteria) this; } public Criteria andPaymentTimeGreaterThanOrEqualTo(Date value) { addCriterion("payment_time >=", value, "paymentTime"); return (Criteria) this; } public Criteria andPaymentTimeLessThan(Date value) { addCriterion("payment_time <", value, "paymentTime"); return (Criteria) this; } public Criteria andPaymentTimeLessThanOrEqualTo(Date value) { addCriterion("payment_time <=", value, "paymentTime"); return (Criteria) this; } public Criteria andPaymentTimeIn(List values) { addCriterion("payment_time in", values, "paymentTime"); return (Criteria) this; } public Criteria andPaymentTimeNotIn(List values) { addCriterion("payment_time not in", values, "paymentTime"); return (Criteria) this; } public Criteria andPaymentTimeBetween(Date value1, Date value2) { addCriterion("payment_time between", value1, value2, "paymentTime"); return (Criteria) this; } public Criteria andPaymentTimeNotBetween(Date value1, Date value2) { addCriterion("payment_time not between", value1, value2, "paymentTime"); return (Criteria) this; } public Criteria andConsignTimeIsNull() { addCriterion("consign_time is null"); return (Criteria) this; } public Criteria andConsignTimeIsNotNull() { addCriterion("consign_time is not null"); return (Criteria) this; } public Criteria andConsignTimeEqualTo(Date value) { addCriterion("consign_time =", value, "consignTime"); return (Criteria) this; } public Criteria andConsignTimeNotEqualTo(Date value) { addCriterion("consign_time <>", value, "consignTime"); return (Criteria) this; } public Criteria andConsignTimeGreaterThan(Date value) { addCriterion("consign_time >", value, "consignTime"); return (Criteria) this; } public Criteria andConsignTimeGreaterThanOrEqualTo(Date value) { addCriterion("consign_time >=", value, "consignTime"); return (Criteria) this; } public Criteria andConsignTimeLessThan(Date value) { addCriterion("consign_time <", value, "consignTime"); return (Criteria) this; } public Criteria andConsignTimeLessThanOrEqualTo(Date value) { addCriterion("consign_time <=", value, "consignTime"); return (Criteria) this; } public Criteria andConsignTimeIn(List values) { addCriterion("consign_time in", values, "consignTime"); return (Criteria) this; } public Criteria andConsignTimeNotIn(List values) { addCriterion("consign_time not in", values, "consignTime"); return (Criteria) this; } public Criteria andConsignTimeBetween(Date value1, Date value2) { addCriterion("consign_time between", value1, value2, "consignTime"); return (Criteria) this; } public Criteria andConsignTimeNotBetween(Date value1, Date value2) { addCriterion("consign_time not between", value1, value2, "consignTime"); return (Criteria) this; } public Criteria andEndTimeIsNull() { addCriterion("end_time is null"); return (Criteria) this; } public Criteria andEndTimeIsNotNull() { addCriterion("end_time is not null"); return (Criteria) this; } public Criteria andEndTimeEqualTo(Date value) { addCriterion("end_time =", value, "endTime"); return (Criteria) this; } public Criteria andEndTimeNotEqualTo(Date value) { addCriterion("end_time <>", value, "endTime"); return (Criteria) this; } public Criteria andEndTimeGreaterThan(Date value) { addCriterion("end_time >", value, "endTime"); return (Criteria) this; } public Criteria andEndTimeGreaterThanOrEqualTo(Date value) { addCriterion("end_time >=", value, "endTime"); return (Criteria) this; } public Criteria andEndTimeLessThan(Date value) { addCriterion("end_time <", value, "endTime"); return (Criteria) this; } public Criteria andEndTimeLessThanOrEqualTo(Date value) { addCriterion("end_time <=", value, "endTime"); return (Criteria) this; } public Criteria andEndTimeIn(List values) { addCriterion("end_time in", values, "endTime"); return (Criteria) this; } public Criteria andEndTimeNotIn(List values) { addCriterion("end_time not in", values, "endTime"); return (Criteria) this; } public Criteria andEndTimeBetween(Date value1, Date value2) { addCriterion("end_time between", value1, value2, "endTime"); return (Criteria) this; } public Criteria andEndTimeNotBetween(Date value1, Date value2) { addCriterion("end_time not between", value1, value2, "endTime"); return (Criteria) this; } public Criteria andCloseTimeIsNull() { addCriterion("close_time is null"); return (Criteria) this; } public Criteria andCloseTimeIsNotNull() { addCriterion("close_time is not null"); return (Criteria) this; } public Criteria andCloseTimeEqualTo(Date value) { addCriterion("close_time =", value, "closeTime"); return (Criteria) this; } public Criteria andCloseTimeNotEqualTo(Date value) { addCriterion("close_time <>", value, "closeTime"); return (Criteria) this; } public Criteria andCloseTimeGreaterThan(Date value) { addCriterion("close_time >", value, "closeTime"); return (Criteria) this; } public Criteria andCloseTimeGreaterThanOrEqualTo(Date value) { addCriterion("close_time >=", value, "closeTime"); return (Criteria) this; } public Criteria andCloseTimeLessThan(Date value) { addCriterion("close_time <", value, "closeTime"); return (Criteria) this; } public Criteria andCloseTimeLessThanOrEqualTo(Date value) { addCriterion("close_time <=", value, "closeTime"); return (Criteria) this; } public Criteria andCloseTimeIn(List values) { addCriterion("close_time in", values, "closeTime"); return (Criteria) this; } public Criteria andCloseTimeNotIn(List values) { addCriterion("close_time not in", values, "closeTime"); return (Criteria) this; } public Criteria andCloseTimeBetween(Date value1, Date value2) { addCriterion("close_time between", value1, value2, "closeTime"); return (Criteria) this; } public Criteria andCloseTimeNotBetween(Date value1, Date value2) { addCriterion("close_time not between", value1, value2, "closeTime"); return (Criteria) this; } public Criteria andShippingNameIsNull() { addCriterion("shipping_name is null"); return (Criteria) this; } public Criteria andShippingNameIsNotNull() { addCriterion("shipping_name is not null"); return (Criteria) this; } public Criteria andShippingNameEqualTo(String value) { addCriterion("shipping_name =", value, "shippingName"); return (Criteria) this; } public Criteria andShippingNameNotEqualTo(String value) { addCriterion("shipping_name <>", value, "shippingName"); return (Criteria) this; } public Criteria andShippingNameGreaterThan(String value) { addCriterion("shipping_name >", value, "shippingName"); return (Criteria) this; } public Criteria andShippingNameGreaterThanOrEqualTo(String value) { addCriterion("shipping_name >=", value, "shippingName"); return (Criteria) this; } public Criteria andShippingNameLessThan(String value) { addCriterion("shipping_name <", value, "shippingName"); return (Criteria) this; } public Criteria andShippingNameLessThanOrEqualTo(String value) { addCriterion("shipping_name <=", value, "shippingName"); return (Criteria) this; } public Criteria andShippingNameLike(String value) { addCriterion("shipping_name like", value, "shippingName"); return (Criteria) this; } public Criteria andShippingNameNotLike(String value) { addCriterion("shipping_name not like", value, "shippingName"); return (Criteria) this; } public Criteria andShippingNameIn(List values) { addCriterion("shipping_name in", values, "shippingName"); return (Criteria) this; } public Criteria andShippingNameNotIn(List values) { addCriterion("shipping_name not in", values, "shippingName"); return (Criteria) this; } public Criteria andShippingNameBetween(String value1, String value2) { addCriterion("shipping_name between", value1, value2, "shippingName"); return (Criteria) this; } public Criteria andShippingNameNotBetween(String value1, String value2) { addCriterion("shipping_name not between", value1, value2, "shippingName"); return (Criteria) this; } public Criteria andShippingCodeIsNull() { addCriterion("shipping_code is null"); return (Criteria) this; } public Criteria andShippingCodeIsNotNull() { addCriterion("shipping_code is not null"); return (Criteria) this; } public Criteria andShippingCodeEqualTo(String value) { addCriterion("shipping_code =", value, "shippingCode"); return (Criteria) this; } public Criteria andShippingCodeNotEqualTo(String value) { addCriterion("shipping_code <>", value, "shippingCode"); return (Criteria) this; } public Criteria andShippingCodeGreaterThan(String value) { addCriterion("shipping_code >", value, "shippingCode"); return (Criteria) this; } public Criteria andShippingCodeGreaterThanOrEqualTo(String value) { addCriterion("shipping_code >=", value, "shippingCode"); return (Criteria) this; } public Criteria andShippingCodeLessThan(String value) { addCriterion("shipping_code <", value, "shippingCode"); return (Criteria) this; } public Criteria andShippingCodeLessThanOrEqualTo(String value) { addCriterion("shipping_code <=", value, "shippingCode"); return (Criteria) this; } public Criteria andShippingCodeLike(String value) { addCriterion("shipping_code like", value, "shippingCode"); return (Criteria) this; } public Criteria andShippingCodeNotLike(String value) { addCriterion("shipping_code not like", value, "shippingCode"); return (Criteria) this; } public Criteria andShippingCodeIn(List values) { addCriterion("shipping_code in", values, "shippingCode"); return (Criteria) this; } public Criteria andShippingCodeNotIn(List values) { addCriterion("shipping_code not in", values, "shippingCode"); return (Criteria) this; } public Criteria andShippingCodeBetween(String value1, String value2) { addCriterion("shipping_code between", value1, value2, "shippingCode"); return (Criteria) this; } public Criteria andShippingCodeNotBetween(String value1, String value2) { addCriterion("shipping_code not between", value1, value2, "shippingCode"); return (Criteria) this; } public Criteria andUserIdIsNull() { addCriterion("user_id is null"); return (Criteria) this; } public Criteria andUserIdIsNotNull() { addCriterion("user_id is not null"); return (Criteria) this; } public Criteria andUserIdEqualTo(Long value) { addCriterion("user_id =", value, "userId"); return (Criteria) this; } public Criteria andUserIdNotEqualTo(Long value) { addCriterion("user_id <>", value, "userId"); return (Criteria) this; } public Criteria andUserIdGreaterThan(Long value) { addCriterion("user_id >", value, "userId"); return (Criteria) this; } public Criteria andUserIdGreaterThanOrEqualTo(Long value) { addCriterion("user_id >=", value, "userId"); return (Criteria) this; } public Criteria andUserIdLessThan(Long value) { addCriterion("user_id <", value, "userId"); return (Criteria) this; } public Criteria andUserIdLessThanOrEqualTo(Long value) { addCriterion("user_id <=", value, "userId"); return (Criteria) this; } public Criteria andUserIdIn(List values) { addCriterion("user_id in", values, "userId"); return (Criteria) this; } public Criteria andUserIdNotIn(List values) { addCriterion("user_id not in", values, "userId"); return (Criteria) this; } public Criteria andUserIdBetween(Long value1, Long value2) { addCriterion("user_id between", value1, value2, "userId"); return (Criteria) this; } public Criteria andUserIdNotBetween(Long value1, Long value2) { addCriterion("user_id not between", value1, value2, "userId"); return (Criteria) this; } public Criteria andBuyerMessageIsNull() { addCriterion("buyer_message is null"); return (Criteria) this; } public Criteria andBuyerMessageIsNotNull() { addCriterion("buyer_message is not null"); return (Criteria) this; } public Criteria andBuyerMessageEqualTo(String value) { addCriterion("buyer_message =", value, "buyerMessage"); return (Criteria) this; } public Criteria andBuyerMessageNotEqualTo(String value) { addCriterion("buyer_message <>", value, "buyerMessage"); return (Criteria) this; } public Criteria andBuyerMessageGreaterThan(String value) { addCriterion("buyer_message >", value, "buyerMessage"); return (Criteria) this; } public Criteria andBuyerMessageGreaterThanOrEqualTo(String value) { addCriterion("buyer_message >=", value, "buyerMessage"); return (Criteria) this; } public Criteria andBuyerMessageLessThan(String value) { addCriterion("buyer_message <", value, "buyerMessage"); return (Criteria) this; } public Criteria andBuyerMessageLessThanOrEqualTo(String value) { addCriterion("buyer_message <=", value, "buyerMessage"); return (Criteria) this; } public Criteria andBuyerMessageLike(String value) { addCriterion("buyer_message like", value, "buyerMessage"); return (Criteria) this; } public Criteria andBuyerMessageNotLike(String value) { addCriterion("buyer_message not like", value, "buyerMessage"); return (Criteria) this; } public Criteria andBuyerMessageIn(List values) { addCriterion("buyer_message in", values, "buyerMessage"); return (Criteria) this; } public Criteria andBuyerMessageNotIn(List values) { addCriterion("buyer_message not in", values, "buyerMessage"); return (Criteria) this; } public Criteria andBuyerMessageBetween(String value1, String value2) { addCriterion("buyer_message between", value1, value2, "buyerMessage"); return (Criteria) this; } public Criteria andBuyerMessageNotBetween(String value1, String value2) { addCriterion("buyer_message not between", value1, value2, "buyerMessage"); return (Criteria) this; } public Criteria andBuyerNickIsNull() { addCriterion("buyer_nick is null"); return (Criteria) this; } public Criteria andBuyerNickIsNotNull() { addCriterion("buyer_nick is not null"); return (Criteria) this; } public Criteria andBuyerNickEqualTo(String value) { addCriterion("buyer_nick =", value, "buyerNick"); return (Criteria) this; } public Criteria andBuyerNickNotEqualTo(String value) { addCriterion("buyer_nick <>", value, "buyerNick"); return (Criteria) this; } public Criteria andBuyerNickGreaterThan(String value) { addCriterion("buyer_nick >", value, "buyerNick"); return (Criteria) this; } public Criteria andBuyerNickGreaterThanOrEqualTo(String value) { addCriterion("buyer_nick >=", value, "buyerNick"); return (Criteria) this; } public Criteria andBuyerNickLessThan(String value) { addCriterion("buyer_nick <", value, "buyerNick"); return (Criteria) this; } public Criteria andBuyerNickLessThanOrEqualTo(String value) { addCriterion("buyer_nick <=", value, "buyerNick"); return (Criteria) this; } public Criteria andBuyerNickLike(String value) { addCriterion("buyer_nick like", value, "buyerNick"); return (Criteria) this; } public Criteria andBuyerNickNotLike(String value) { addCriterion("buyer_nick not like", value, "buyerNick"); return (Criteria) this; } public Criteria andBuyerNickIn(List values) { addCriterion("buyer_nick in", values, "buyerNick"); return (Criteria) this; } public Criteria andBuyerNickNotIn(List values) { addCriterion("buyer_nick not in", values, "buyerNick"); return (Criteria) this; } public Criteria andBuyerNickBetween(String value1, String value2) { addCriterion("buyer_nick between", value1, value2, "buyerNick"); return (Criteria) this; } public Criteria andBuyerNickNotBetween(String value1, String value2) { addCriterion("buyer_nick not between", value1, value2, "buyerNick"); return (Criteria) this; } public Criteria andBuyerRateIsNull() { addCriterion("buyer_rate is null"); return (Criteria) this; } public Criteria andBuyerRateIsNotNull() { addCriterion("buyer_rate is not null"); return (Criteria) this; } public Criteria andBuyerRateEqualTo(Integer value) { addCriterion("buyer_rate =", value, "buyerRate"); return (Criteria) this; } public Criteria andBuyerRateNotEqualTo(Integer value) { addCriterion("buyer_rate <>", value, "buyerRate"); return (Criteria) this; } public Criteria andBuyerRateGreaterThan(Integer value) { addCriterion("buyer_rate >", value, "buyerRate"); return (Criteria) this; } public Criteria andBuyerRateGreaterThanOrEqualTo(Integer value) { addCriterion("buyer_rate >=", value, "buyerRate"); return (Criteria) this; } public Criteria andBuyerRateLessThan(Integer value) { addCriterion("buyer_rate <", value, "buyerRate"); return (Criteria) this; } public Criteria andBuyerRateLessThanOrEqualTo(Integer value) { addCriterion("buyer_rate <=", value, "buyerRate"); return (Criteria) this; } public Criteria andBuyerRateIn(List values) { addCriterion("buyer_rate in", values, "buyerRate"); return (Criteria) this; } public Criteria andBuyerRateNotIn(List values) { addCriterion("buyer_rate not in", values, "buyerRate"); return (Criteria) this; } public Criteria andBuyerRateBetween(Integer value1, Integer value2) { addCriterion("buyer_rate between", value1, value2, "buyerRate"); return (Criteria) this; } public Criteria andBuyerRateNotBetween(Integer value1, Integer value2) { addCriterion("buyer_rate not between", value1, value2, "buyerRate"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_order * * @mbggenerated do_not_delete_during_merge Fri Aug 18 10:13:27 CST 2017 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_order * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public static class Criterion { private String condition; private Object value; private Object secondValue; private boolean noValue; private boolean singleValue; private boolean betweenValue; private boolean listValue; private String typeHandler; public String getCondition() { return condition; } public Object getValue() { return value; } public Object getSecondValue() { return secondValue; } public boolean isNoValue() { return noValue; } public boolean isSingleValue() { return singleValue; } public boolean isBetweenValue() { return betweenValue; } public boolean isListValue() { return listValue; } public String getTypeHandler() { return typeHandler; } protected Criterion(String condition) { super(); this.condition = condition; this.typeHandler = null; this.noValue = true; } protected Criterion(String condition, Object value, String typeHandler) { super(); this.condition = condition; this.value = value; this.typeHandler = typeHandler; if (value instanceof List) { this.listValue = true; } else { this.singleValue = true; } } protected Criterion(String condition, Object value) { this(condition, value, null); } protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { super(); this.condition = condition; this.value = value; this.secondValue = secondValue; this.typeHandler = typeHandler; this.betweenValue = true; } protected Criterion(String condition, Object value, Object secondValue) { this(condition, value, secondValue, null); } } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbOrderItem.java ================================================ package top.catalinali.pojo; import java.io.Serializable; public class TbOrderItem implements Serializable { /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order_item.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String id; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order_item.item_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String itemId; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order_item.order_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String orderId; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order_item.num * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Integer num; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order_item.title * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String title; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order_item.price * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Long price; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order_item.total_fee * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Long totalFee; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order_item.pic_path * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String picPath; /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order_item.id * * @return the value of tb_order_item.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getId() { return id; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order_item.id * * @param id the value for tb_order_item.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setId(String id) { this.id = id == null ? null : id.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order_item.item_id * * @return the value of tb_order_item.item_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getItemId() { return itemId; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order_item.item_id * * @param itemId the value for tb_order_item.item_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setItemId(String itemId) { this.itemId = itemId == null ? null : itemId.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order_item.order_id * * @return the value of tb_order_item.order_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getOrderId() { return orderId; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order_item.order_id * * @param orderId the value for tb_order_item.order_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setOrderId(String orderId) { this.orderId = orderId == null ? null : orderId.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order_item.num * * @return the value of tb_order_item.num * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Integer getNum() { return num; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order_item.num * * @param num the value for tb_order_item.num * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setNum(Integer num) { this.num = num; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order_item.title * * @return the value of tb_order_item.title * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getTitle() { return title; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order_item.title * * @param title the value for tb_order_item.title * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setTitle(String title) { this.title = title == null ? null : title.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order_item.price * * @return the value of tb_order_item.price * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Long getPrice() { return price; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order_item.price * * @param price the value for tb_order_item.price * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setPrice(Long price) { this.price = price; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order_item.total_fee * * @return the value of tb_order_item.total_fee * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Long getTotalFee() { return totalFee; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order_item.total_fee * * @param totalFee the value for tb_order_item.total_fee * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setTotalFee(Long totalFee) { this.totalFee = totalFee; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order_item.pic_path * * @return the value of tb_order_item.pic_path * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getPicPath() { return picPath; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order_item.pic_path * * @param picPath the value for tb_order_item.pic_path * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setPicPath(String picPath) { this.picPath = picPath == null ? null : picPath.trim(); } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbOrderItemExample.java ================================================ package top.catalinali.pojo; import java.util.ArrayList; import java.util.List; public class TbOrderItemExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected List oredCriteria; /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public TbOrderItemExample() { oredCriteria = new ArrayList(); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public boolean isDistinct() { return distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria or() { Criteria criteria = createCriteriaInternal(); oredCriteria.add(criteria); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria createCriteria() { Criteria criteria = createCriteriaInternal(); if (oredCriteria.size() == 0) { oredCriteria.add(criteria); } return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void clear() { oredCriteria.clear(); orderByClause = null; distinct = false; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected abstract static class GeneratedCriteria { protected List criteria; protected GeneratedCriteria() { super(); criteria = new ArrayList(); } public boolean isValid() { return criteria.size() > 0; } public List getAllCriteria() { return criteria; } public List getCriteria() { return criteria; } protected void addCriterion(String condition) { if (condition == null) { throw new RuntimeException("Value for condition cannot be null"); } criteria.add(new Criterion(condition)); } protected void addCriterion(String condition, Object value, String property) { if (value == null) { throw new RuntimeException("Value for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value)); } protected void addCriterion(String condition, Object value1, Object value2, String property) { if (value1 == null || value2 == null) { throw new RuntimeException("Between values for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value1, value2)); } public Criteria andIdIsNull() { addCriterion("id is null"); return (Criteria) this; } public Criteria andIdIsNotNull() { addCriterion("id is not null"); return (Criteria) this; } public Criteria andIdEqualTo(String value) { addCriterion("id =", value, "id"); return (Criteria) this; } public Criteria andIdNotEqualTo(String value) { addCriterion("id <>", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThan(String value) { addCriterion("id >", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThanOrEqualTo(String value) { addCriterion("id >=", value, "id"); return (Criteria) this; } public Criteria andIdLessThan(String value) { addCriterion("id <", value, "id"); return (Criteria) this; } public Criteria andIdLessThanOrEqualTo(String value) { addCriterion("id <=", value, "id"); return (Criteria) this; } public Criteria andIdLike(String value) { addCriterion("id like", value, "id"); return (Criteria) this; } public Criteria andIdNotLike(String value) { addCriterion("id not like", value, "id"); return (Criteria) this; } public Criteria andIdIn(List values) { addCriterion("id in", values, "id"); return (Criteria) this; } public Criteria andIdNotIn(List values) { addCriterion("id not in", values, "id"); return (Criteria) this; } public Criteria andIdBetween(String value1, String value2) { addCriterion("id between", value1, value2, "id"); return (Criteria) this; } public Criteria andIdNotBetween(String value1, String value2) { addCriterion("id not between", value1, value2, "id"); return (Criteria) this; } public Criteria andItemIdIsNull() { addCriterion("item_id is null"); return (Criteria) this; } public Criteria andItemIdIsNotNull() { addCriterion("item_id is not null"); return (Criteria) this; } public Criteria andItemIdEqualTo(String value) { addCriterion("item_id =", value, "itemId"); return (Criteria) this; } public Criteria andItemIdNotEqualTo(String value) { addCriterion("item_id <>", value, "itemId"); return (Criteria) this; } public Criteria andItemIdGreaterThan(String value) { addCriterion("item_id >", value, "itemId"); return (Criteria) this; } public Criteria andItemIdGreaterThanOrEqualTo(String value) { addCriterion("item_id >=", value, "itemId"); return (Criteria) this; } public Criteria andItemIdLessThan(String value) { addCriterion("item_id <", value, "itemId"); return (Criteria) this; } public Criteria andItemIdLessThanOrEqualTo(String value) { addCriterion("item_id <=", value, "itemId"); return (Criteria) this; } public Criteria andItemIdLike(String value) { addCriterion("item_id like", value, "itemId"); return (Criteria) this; } public Criteria andItemIdNotLike(String value) { addCriterion("item_id not like", value, "itemId"); return (Criteria) this; } public Criteria andItemIdIn(List values) { addCriterion("item_id in", values, "itemId"); return (Criteria) this; } public Criteria andItemIdNotIn(List values) { addCriterion("item_id not in", values, "itemId"); return (Criteria) this; } public Criteria andItemIdBetween(String value1, String value2) { addCriterion("item_id between", value1, value2, "itemId"); return (Criteria) this; } public Criteria andItemIdNotBetween(String value1, String value2) { addCriterion("item_id not between", value1, value2, "itemId"); return (Criteria) this; } public Criteria andOrderIdIsNull() { addCriterion("order_id is null"); return (Criteria) this; } public Criteria andOrderIdIsNotNull() { addCriterion("order_id is not null"); return (Criteria) this; } public Criteria andOrderIdEqualTo(String value) { addCriterion("order_id =", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdNotEqualTo(String value) { addCriterion("order_id <>", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdGreaterThan(String value) { addCriterion("order_id >", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdGreaterThanOrEqualTo(String value) { addCriterion("order_id >=", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdLessThan(String value) { addCriterion("order_id <", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdLessThanOrEqualTo(String value) { addCriterion("order_id <=", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdLike(String value) { addCriterion("order_id like", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdNotLike(String value) { addCriterion("order_id not like", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdIn(List values) { addCriterion("order_id in", values, "orderId"); return (Criteria) this; } public Criteria andOrderIdNotIn(List values) { addCriterion("order_id not in", values, "orderId"); return (Criteria) this; } public Criteria andOrderIdBetween(String value1, String value2) { addCriterion("order_id between", value1, value2, "orderId"); return (Criteria) this; } public Criteria andOrderIdNotBetween(String value1, String value2) { addCriterion("order_id not between", value1, value2, "orderId"); return (Criteria) this; } public Criteria andNumIsNull() { addCriterion("num is null"); return (Criteria) this; } public Criteria andNumIsNotNull() { addCriterion("num is not null"); return (Criteria) this; } public Criteria andNumEqualTo(Integer value) { addCriterion("num =", value, "num"); return (Criteria) this; } public Criteria andNumNotEqualTo(Integer value) { addCriterion("num <>", value, "num"); return (Criteria) this; } public Criteria andNumGreaterThan(Integer value) { addCriterion("num >", value, "num"); return (Criteria) this; } public Criteria andNumGreaterThanOrEqualTo(Integer value) { addCriterion("num >=", value, "num"); return (Criteria) this; } public Criteria andNumLessThan(Integer value) { addCriterion("num <", value, "num"); return (Criteria) this; } public Criteria andNumLessThanOrEqualTo(Integer value) { addCriterion("num <=", value, "num"); return (Criteria) this; } public Criteria andNumIn(List values) { addCriterion("num in", values, "num"); return (Criteria) this; } public Criteria andNumNotIn(List values) { addCriterion("num not in", values, "num"); return (Criteria) this; } public Criteria andNumBetween(Integer value1, Integer value2) { addCriterion("num between", value1, value2, "num"); return (Criteria) this; } public Criteria andNumNotBetween(Integer value1, Integer value2) { addCriterion("num not between", value1, value2, "num"); return (Criteria) this; } public Criteria andTitleIsNull() { addCriterion("title is null"); return (Criteria) this; } public Criteria andTitleIsNotNull() { addCriterion("title is not null"); return (Criteria) this; } public Criteria andTitleEqualTo(String value) { addCriterion("title =", value, "title"); return (Criteria) this; } public Criteria andTitleNotEqualTo(String value) { addCriterion("title <>", value, "title"); return (Criteria) this; } public Criteria andTitleGreaterThan(String value) { addCriterion("title >", value, "title"); return (Criteria) this; } public Criteria andTitleGreaterThanOrEqualTo(String value) { addCriterion("title >=", value, "title"); return (Criteria) this; } public Criteria andTitleLessThan(String value) { addCriterion("title <", value, "title"); return (Criteria) this; } public Criteria andTitleLessThanOrEqualTo(String value) { addCriterion("title <=", value, "title"); return (Criteria) this; } public Criteria andTitleLike(String value) { addCriterion("title like", value, "title"); return (Criteria) this; } public Criteria andTitleNotLike(String value) { addCriterion("title not like", value, "title"); return (Criteria) this; } public Criteria andTitleIn(List values) { addCriterion("title in", values, "title"); return (Criteria) this; } public Criteria andTitleNotIn(List values) { addCriterion("title not in", values, "title"); return (Criteria) this; } public Criteria andTitleBetween(String value1, String value2) { addCriterion("title between", value1, value2, "title"); return (Criteria) this; } public Criteria andTitleNotBetween(String value1, String value2) { addCriterion("title not between", value1, value2, "title"); return (Criteria) this; } public Criteria andPriceIsNull() { addCriterion("price is null"); return (Criteria) this; } public Criteria andPriceIsNotNull() { addCriterion("price is not null"); return (Criteria) this; } public Criteria andPriceEqualTo(Long value) { addCriterion("price =", value, "price"); return (Criteria) this; } public Criteria andPriceNotEqualTo(Long value) { addCriterion("price <>", value, "price"); return (Criteria) this; } public Criteria andPriceGreaterThan(Long value) { addCriterion("price >", value, "price"); return (Criteria) this; } public Criteria andPriceGreaterThanOrEqualTo(Long value) { addCriterion("price >=", value, "price"); return (Criteria) this; } public Criteria andPriceLessThan(Long value) { addCriterion("price <", value, "price"); return (Criteria) this; } public Criteria andPriceLessThanOrEqualTo(Long value) { addCriterion("price <=", value, "price"); return (Criteria) this; } public Criteria andPriceIn(List values) { addCriterion("price in", values, "price"); return (Criteria) this; } public Criteria andPriceNotIn(List values) { addCriterion("price not in", values, "price"); return (Criteria) this; } public Criteria andPriceBetween(Long value1, Long value2) { addCriterion("price between", value1, value2, "price"); return (Criteria) this; } public Criteria andPriceNotBetween(Long value1, Long value2) { addCriterion("price not between", value1, value2, "price"); return (Criteria) this; } public Criteria andTotalFeeIsNull() { addCriterion("total_fee is null"); return (Criteria) this; } public Criteria andTotalFeeIsNotNull() { addCriterion("total_fee is not null"); return (Criteria) this; } public Criteria andTotalFeeEqualTo(Long value) { addCriterion("total_fee =", value, "totalFee"); return (Criteria) this; } public Criteria andTotalFeeNotEqualTo(Long value) { addCriterion("total_fee <>", value, "totalFee"); return (Criteria) this; } public Criteria andTotalFeeGreaterThan(Long value) { addCriterion("total_fee >", value, "totalFee"); return (Criteria) this; } public Criteria andTotalFeeGreaterThanOrEqualTo(Long value) { addCriterion("total_fee >=", value, "totalFee"); return (Criteria) this; } public Criteria andTotalFeeLessThan(Long value) { addCriterion("total_fee <", value, "totalFee"); return (Criteria) this; } public Criteria andTotalFeeLessThanOrEqualTo(Long value) { addCriterion("total_fee <=", value, "totalFee"); return (Criteria) this; } public Criteria andTotalFeeIn(List values) { addCriterion("total_fee in", values, "totalFee"); return (Criteria) this; } public Criteria andTotalFeeNotIn(List values) { addCriterion("total_fee not in", values, "totalFee"); return (Criteria) this; } public Criteria andTotalFeeBetween(Long value1, Long value2) { addCriterion("total_fee between", value1, value2, "totalFee"); return (Criteria) this; } public Criteria andTotalFeeNotBetween(Long value1, Long value2) { addCriterion("total_fee not between", value1, value2, "totalFee"); return (Criteria) this; } public Criteria andPicPathIsNull() { addCriterion("pic_path is null"); return (Criteria) this; } public Criteria andPicPathIsNotNull() { addCriterion("pic_path is not null"); return (Criteria) this; } public Criteria andPicPathEqualTo(String value) { addCriterion("pic_path =", value, "picPath"); return (Criteria) this; } public Criteria andPicPathNotEqualTo(String value) { addCriterion("pic_path <>", value, "picPath"); return (Criteria) this; } public Criteria andPicPathGreaterThan(String value) { addCriterion("pic_path >", value, "picPath"); return (Criteria) this; } public Criteria andPicPathGreaterThanOrEqualTo(String value) { addCriterion("pic_path >=", value, "picPath"); return (Criteria) this; } public Criteria andPicPathLessThan(String value) { addCriterion("pic_path <", value, "picPath"); return (Criteria) this; } public Criteria andPicPathLessThanOrEqualTo(String value) { addCriterion("pic_path <=", value, "picPath"); return (Criteria) this; } public Criteria andPicPathLike(String value) { addCriterion("pic_path like", value, "picPath"); return (Criteria) this; } public Criteria andPicPathNotLike(String value) { addCriterion("pic_path not like", value, "picPath"); return (Criteria) this; } public Criteria andPicPathIn(List values) { addCriterion("pic_path in", values, "picPath"); return (Criteria) this; } public Criteria andPicPathNotIn(List values) { addCriterion("pic_path not in", values, "picPath"); return (Criteria) this; } public Criteria andPicPathBetween(String value1, String value2) { addCriterion("pic_path between", value1, value2, "picPath"); return (Criteria) this; } public Criteria andPicPathNotBetween(String value1, String value2) { addCriterion("pic_path not between", value1, value2, "picPath"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_order_item * * @mbggenerated do_not_delete_during_merge Fri Aug 18 10:13:27 CST 2017 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_order_item * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public static class Criterion { private String condition; private Object value; private Object secondValue; private boolean noValue; private boolean singleValue; private boolean betweenValue; private boolean listValue; private String typeHandler; public String getCondition() { return condition; } public Object getValue() { return value; } public Object getSecondValue() { return secondValue; } public boolean isNoValue() { return noValue; } public boolean isSingleValue() { return singleValue; } public boolean isBetweenValue() { return betweenValue; } public boolean isListValue() { return listValue; } public String getTypeHandler() { return typeHandler; } protected Criterion(String condition) { super(); this.condition = condition; this.typeHandler = null; this.noValue = true; } protected Criterion(String condition, Object value, String typeHandler) { super(); this.condition = condition; this.value = value; this.typeHandler = typeHandler; if (value instanceof List) { this.listValue = true; } else { this.singleValue = true; } } protected Criterion(String condition, Object value) { this(condition, value, null); } protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { super(); this.condition = condition; this.value = value; this.secondValue = secondValue; this.typeHandler = typeHandler; this.betweenValue = true; } protected Criterion(String condition, Object value, Object secondValue) { this(condition, value, secondValue, null); } } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbOrderShipping.java ================================================ package top.catalinali.pojo; import java.io.Serializable; import java.util.Date; public class TbOrderShipping implements Serializable { /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order_shipping.order_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String orderId; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order_shipping.receiver_name * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String receiverName; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order_shipping.receiver_phone * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String receiverPhone; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order_shipping.receiver_mobile * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String receiverMobile; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order_shipping.receiver_state * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String receiverState; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order_shipping.receiver_city * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String receiverCity; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order_shipping.receiver_district * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String receiverDistrict; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order_shipping.receiver_address * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String receiverAddress; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order_shipping.receiver_zip * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String receiverZip; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order_shipping.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date created; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_order_shipping.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date updated; /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order_shipping.order_id * * @return the value of tb_order_shipping.order_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getOrderId() { return orderId; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order_shipping.order_id * * @param orderId the value for tb_order_shipping.order_id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setOrderId(String orderId) { this.orderId = orderId == null ? null : orderId.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order_shipping.receiver_name * * @return the value of tb_order_shipping.receiver_name * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getReceiverName() { return receiverName; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order_shipping.receiver_name * * @param receiverName the value for tb_order_shipping.receiver_name * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setReceiverName(String receiverName) { this.receiverName = receiverName == null ? null : receiverName.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order_shipping.receiver_phone * * @return the value of tb_order_shipping.receiver_phone * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getReceiverPhone() { return receiverPhone; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order_shipping.receiver_phone * * @param receiverPhone the value for tb_order_shipping.receiver_phone * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setReceiverPhone(String receiverPhone) { this.receiverPhone = receiverPhone == null ? null : receiverPhone.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order_shipping.receiver_mobile * * @return the value of tb_order_shipping.receiver_mobile * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getReceiverMobile() { return receiverMobile; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order_shipping.receiver_mobile * * @param receiverMobile the value for tb_order_shipping.receiver_mobile * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setReceiverMobile(String receiverMobile) { this.receiverMobile = receiverMobile == null ? null : receiverMobile.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order_shipping.receiver_state * * @return the value of tb_order_shipping.receiver_state * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getReceiverState() { return receiverState; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order_shipping.receiver_state * * @param receiverState the value for tb_order_shipping.receiver_state * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setReceiverState(String receiverState) { this.receiverState = receiverState == null ? null : receiverState.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order_shipping.receiver_city * * @return the value of tb_order_shipping.receiver_city * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getReceiverCity() { return receiverCity; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order_shipping.receiver_city * * @param receiverCity the value for tb_order_shipping.receiver_city * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setReceiverCity(String receiverCity) { this.receiverCity = receiverCity == null ? null : receiverCity.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order_shipping.receiver_district * * @return the value of tb_order_shipping.receiver_district * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getReceiverDistrict() { return receiverDistrict; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order_shipping.receiver_district * * @param receiverDistrict the value for tb_order_shipping.receiver_district * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setReceiverDistrict(String receiverDistrict) { this.receiverDistrict = receiverDistrict == null ? null : receiverDistrict.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order_shipping.receiver_address * * @return the value of tb_order_shipping.receiver_address * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getReceiverAddress() { return receiverAddress; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order_shipping.receiver_address * * @param receiverAddress the value for tb_order_shipping.receiver_address * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setReceiverAddress(String receiverAddress) { this.receiverAddress = receiverAddress == null ? null : receiverAddress.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order_shipping.receiver_zip * * @return the value of tb_order_shipping.receiver_zip * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getReceiverZip() { return receiverZip; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order_shipping.receiver_zip * * @param receiverZip the value for tb_order_shipping.receiver_zip * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setReceiverZip(String receiverZip) { this.receiverZip = receiverZip == null ? null : receiverZip.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order_shipping.created * * @return the value of tb_order_shipping.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getCreated() { return created; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order_shipping.created * * @param created the value for tb_order_shipping.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setCreated(Date created) { this.created = created; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_order_shipping.updated * * @return the value of tb_order_shipping.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getUpdated() { return updated; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_order_shipping.updated * * @param updated the value for tb_order_shipping.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setUpdated(Date updated) { this.updated = updated; } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbOrderShippingExample.java ================================================ package top.catalinali.pojo; import java.util.ArrayList; import java.util.Date; import java.util.List; public class TbOrderShippingExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected List oredCriteria; /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public TbOrderShippingExample() { oredCriteria = new ArrayList(); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public boolean isDistinct() { return distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria or() { Criteria criteria = createCriteriaInternal(); oredCriteria.add(criteria); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria createCriteria() { Criteria criteria = createCriteriaInternal(); if (oredCriteria.size() == 0) { oredCriteria.add(criteria); } return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void clear() { oredCriteria.clear(); orderByClause = null; distinct = false; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected abstract static class GeneratedCriteria { protected List criteria; protected GeneratedCriteria() { super(); criteria = new ArrayList(); } public boolean isValid() { return criteria.size() > 0; } public List getAllCriteria() { return criteria; } public List getCriteria() { return criteria; } protected void addCriterion(String condition) { if (condition == null) { throw new RuntimeException("Value for condition cannot be null"); } criteria.add(new Criterion(condition)); } protected void addCriterion(String condition, Object value, String property) { if (value == null) { throw new RuntimeException("Value for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value)); } protected void addCriterion(String condition, Object value1, Object value2, String property) { if (value1 == null || value2 == null) { throw new RuntimeException("Between values for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value1, value2)); } public Criteria andOrderIdIsNull() { addCriterion("order_id is null"); return (Criteria) this; } public Criteria andOrderIdIsNotNull() { addCriterion("order_id is not null"); return (Criteria) this; } public Criteria andOrderIdEqualTo(String value) { addCriterion("order_id =", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdNotEqualTo(String value) { addCriterion("order_id <>", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdGreaterThan(String value) { addCriterion("order_id >", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdGreaterThanOrEqualTo(String value) { addCriterion("order_id >=", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdLessThan(String value) { addCriterion("order_id <", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdLessThanOrEqualTo(String value) { addCriterion("order_id <=", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdLike(String value) { addCriterion("order_id like", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdNotLike(String value) { addCriterion("order_id not like", value, "orderId"); return (Criteria) this; } public Criteria andOrderIdIn(List values) { addCriterion("order_id in", values, "orderId"); return (Criteria) this; } public Criteria andOrderIdNotIn(List values) { addCriterion("order_id not in", values, "orderId"); return (Criteria) this; } public Criteria andOrderIdBetween(String value1, String value2) { addCriterion("order_id between", value1, value2, "orderId"); return (Criteria) this; } public Criteria andOrderIdNotBetween(String value1, String value2) { addCriterion("order_id not between", value1, value2, "orderId"); return (Criteria) this; } public Criteria andReceiverNameIsNull() { addCriterion("receiver_name is null"); return (Criteria) this; } public Criteria andReceiverNameIsNotNull() { addCriterion("receiver_name is not null"); return (Criteria) this; } public Criteria andReceiverNameEqualTo(String value) { addCriterion("receiver_name =", value, "receiverName"); return (Criteria) this; } public Criteria andReceiverNameNotEqualTo(String value) { addCriterion("receiver_name <>", value, "receiverName"); return (Criteria) this; } public Criteria andReceiverNameGreaterThan(String value) { addCriterion("receiver_name >", value, "receiverName"); return (Criteria) this; } public Criteria andReceiverNameGreaterThanOrEqualTo(String value) { addCriterion("receiver_name >=", value, "receiverName"); return (Criteria) this; } public Criteria andReceiverNameLessThan(String value) { addCriterion("receiver_name <", value, "receiverName"); return (Criteria) this; } public Criteria andReceiverNameLessThanOrEqualTo(String value) { addCriterion("receiver_name <=", value, "receiverName"); return (Criteria) this; } public Criteria andReceiverNameLike(String value) { addCriterion("receiver_name like", value, "receiverName"); return (Criteria) this; } public Criteria andReceiverNameNotLike(String value) { addCriterion("receiver_name not like", value, "receiverName"); return (Criteria) this; } public Criteria andReceiverNameIn(List values) { addCriterion("receiver_name in", values, "receiverName"); return (Criteria) this; } public Criteria andReceiverNameNotIn(List values) { addCriterion("receiver_name not in", values, "receiverName"); return (Criteria) this; } public Criteria andReceiverNameBetween(String value1, String value2) { addCriterion("receiver_name between", value1, value2, "receiverName"); return (Criteria) this; } public Criteria andReceiverNameNotBetween(String value1, String value2) { addCriterion("receiver_name not between", value1, value2, "receiverName"); return (Criteria) this; } public Criteria andReceiverPhoneIsNull() { addCriterion("receiver_phone is null"); return (Criteria) this; } public Criteria andReceiverPhoneIsNotNull() { addCriterion("receiver_phone is not null"); return (Criteria) this; } public Criteria andReceiverPhoneEqualTo(String value) { addCriterion("receiver_phone =", value, "receiverPhone"); return (Criteria) this; } public Criteria andReceiverPhoneNotEqualTo(String value) { addCriterion("receiver_phone <>", value, "receiverPhone"); return (Criteria) this; } public Criteria andReceiverPhoneGreaterThan(String value) { addCriterion("receiver_phone >", value, "receiverPhone"); return (Criteria) this; } public Criteria andReceiverPhoneGreaterThanOrEqualTo(String value) { addCriterion("receiver_phone >=", value, "receiverPhone"); return (Criteria) this; } public Criteria andReceiverPhoneLessThan(String value) { addCriterion("receiver_phone <", value, "receiverPhone"); return (Criteria) this; } public Criteria andReceiverPhoneLessThanOrEqualTo(String value) { addCriterion("receiver_phone <=", value, "receiverPhone"); return (Criteria) this; } public Criteria andReceiverPhoneLike(String value) { addCriterion("receiver_phone like", value, "receiverPhone"); return (Criteria) this; } public Criteria andReceiverPhoneNotLike(String value) { addCriterion("receiver_phone not like", value, "receiverPhone"); return (Criteria) this; } public Criteria andReceiverPhoneIn(List values) { addCriterion("receiver_phone in", values, "receiverPhone"); return (Criteria) this; } public Criteria andReceiverPhoneNotIn(List values) { addCriterion("receiver_phone not in", values, "receiverPhone"); return (Criteria) this; } public Criteria andReceiverPhoneBetween(String value1, String value2) { addCriterion("receiver_phone between", value1, value2, "receiverPhone"); return (Criteria) this; } public Criteria andReceiverPhoneNotBetween(String value1, String value2) { addCriterion("receiver_phone not between", value1, value2, "receiverPhone"); return (Criteria) this; } public Criteria andReceiverMobileIsNull() { addCriterion("receiver_mobile is null"); return (Criteria) this; } public Criteria andReceiverMobileIsNotNull() { addCriterion("receiver_mobile is not null"); return (Criteria) this; } public Criteria andReceiverMobileEqualTo(String value) { addCriterion("receiver_mobile =", value, "receiverMobile"); return (Criteria) this; } public Criteria andReceiverMobileNotEqualTo(String value) { addCriterion("receiver_mobile <>", value, "receiverMobile"); return (Criteria) this; } public Criteria andReceiverMobileGreaterThan(String value) { addCriterion("receiver_mobile >", value, "receiverMobile"); return (Criteria) this; } public Criteria andReceiverMobileGreaterThanOrEqualTo(String value) { addCriterion("receiver_mobile >=", value, "receiverMobile"); return (Criteria) this; } public Criteria andReceiverMobileLessThan(String value) { addCriterion("receiver_mobile <", value, "receiverMobile"); return (Criteria) this; } public Criteria andReceiverMobileLessThanOrEqualTo(String value) { addCriterion("receiver_mobile <=", value, "receiverMobile"); return (Criteria) this; } public Criteria andReceiverMobileLike(String value) { addCriterion("receiver_mobile like", value, "receiverMobile"); return (Criteria) this; } public Criteria andReceiverMobileNotLike(String value) { addCriterion("receiver_mobile not like", value, "receiverMobile"); return (Criteria) this; } public Criteria andReceiverMobileIn(List values) { addCriterion("receiver_mobile in", values, "receiverMobile"); return (Criteria) this; } public Criteria andReceiverMobileNotIn(List values) { addCriterion("receiver_mobile not in", values, "receiverMobile"); return (Criteria) this; } public Criteria andReceiverMobileBetween(String value1, String value2) { addCriterion("receiver_mobile between", value1, value2, "receiverMobile"); return (Criteria) this; } public Criteria andReceiverMobileNotBetween(String value1, String value2) { addCriterion("receiver_mobile not between", value1, value2, "receiverMobile"); return (Criteria) this; } public Criteria andReceiverStateIsNull() { addCriterion("receiver_state is null"); return (Criteria) this; } public Criteria andReceiverStateIsNotNull() { addCriterion("receiver_state is not null"); return (Criteria) this; } public Criteria andReceiverStateEqualTo(String value) { addCriterion("receiver_state =", value, "receiverState"); return (Criteria) this; } public Criteria andReceiverStateNotEqualTo(String value) { addCriterion("receiver_state <>", value, "receiverState"); return (Criteria) this; } public Criteria andReceiverStateGreaterThan(String value) { addCriterion("receiver_state >", value, "receiverState"); return (Criteria) this; } public Criteria andReceiverStateGreaterThanOrEqualTo(String value) { addCriterion("receiver_state >=", value, "receiverState"); return (Criteria) this; } public Criteria andReceiverStateLessThan(String value) { addCriterion("receiver_state <", value, "receiverState"); return (Criteria) this; } public Criteria andReceiverStateLessThanOrEqualTo(String value) { addCriterion("receiver_state <=", value, "receiverState"); return (Criteria) this; } public Criteria andReceiverStateLike(String value) { addCriterion("receiver_state like", value, "receiverState"); return (Criteria) this; } public Criteria andReceiverStateNotLike(String value) { addCriterion("receiver_state not like", value, "receiverState"); return (Criteria) this; } public Criteria andReceiverStateIn(List values) { addCriterion("receiver_state in", values, "receiverState"); return (Criteria) this; } public Criteria andReceiverStateNotIn(List values) { addCriterion("receiver_state not in", values, "receiverState"); return (Criteria) this; } public Criteria andReceiverStateBetween(String value1, String value2) { addCriterion("receiver_state between", value1, value2, "receiverState"); return (Criteria) this; } public Criteria andReceiverStateNotBetween(String value1, String value2) { addCriterion("receiver_state not between", value1, value2, "receiverState"); return (Criteria) this; } public Criteria andReceiverCityIsNull() { addCriterion("receiver_city is null"); return (Criteria) this; } public Criteria andReceiverCityIsNotNull() { addCriterion("receiver_city is not null"); return (Criteria) this; } public Criteria andReceiverCityEqualTo(String value) { addCriterion("receiver_city =", value, "receiverCity"); return (Criteria) this; } public Criteria andReceiverCityNotEqualTo(String value) { addCriterion("receiver_city <>", value, "receiverCity"); return (Criteria) this; } public Criteria andReceiverCityGreaterThan(String value) { addCriterion("receiver_city >", value, "receiverCity"); return (Criteria) this; } public Criteria andReceiverCityGreaterThanOrEqualTo(String value) { addCriterion("receiver_city >=", value, "receiverCity"); return (Criteria) this; } public Criteria andReceiverCityLessThan(String value) { addCriterion("receiver_city <", value, "receiverCity"); return (Criteria) this; } public Criteria andReceiverCityLessThanOrEqualTo(String value) { addCriterion("receiver_city <=", value, "receiverCity"); return (Criteria) this; } public Criteria andReceiverCityLike(String value) { addCriterion("receiver_city like", value, "receiverCity"); return (Criteria) this; } public Criteria andReceiverCityNotLike(String value) { addCriterion("receiver_city not like", value, "receiverCity"); return (Criteria) this; } public Criteria andReceiverCityIn(List values) { addCriterion("receiver_city in", values, "receiverCity"); return (Criteria) this; } public Criteria andReceiverCityNotIn(List values) { addCriterion("receiver_city not in", values, "receiverCity"); return (Criteria) this; } public Criteria andReceiverCityBetween(String value1, String value2) { addCriterion("receiver_city between", value1, value2, "receiverCity"); return (Criteria) this; } public Criteria andReceiverCityNotBetween(String value1, String value2) { addCriterion("receiver_city not between", value1, value2, "receiverCity"); return (Criteria) this; } public Criteria andReceiverDistrictIsNull() { addCriterion("receiver_district is null"); return (Criteria) this; } public Criteria andReceiverDistrictIsNotNull() { addCriterion("receiver_district is not null"); return (Criteria) this; } public Criteria andReceiverDistrictEqualTo(String value) { addCriterion("receiver_district =", value, "receiverDistrict"); return (Criteria) this; } public Criteria andReceiverDistrictNotEqualTo(String value) { addCriterion("receiver_district <>", value, "receiverDistrict"); return (Criteria) this; } public Criteria andReceiverDistrictGreaterThan(String value) { addCriterion("receiver_district >", value, "receiverDistrict"); return (Criteria) this; } public Criteria andReceiverDistrictGreaterThanOrEqualTo(String value) { addCriterion("receiver_district >=", value, "receiverDistrict"); return (Criteria) this; } public Criteria andReceiverDistrictLessThan(String value) { addCriterion("receiver_district <", value, "receiverDistrict"); return (Criteria) this; } public Criteria andReceiverDistrictLessThanOrEqualTo(String value) { addCriterion("receiver_district <=", value, "receiverDistrict"); return (Criteria) this; } public Criteria andReceiverDistrictLike(String value) { addCriterion("receiver_district like", value, "receiverDistrict"); return (Criteria) this; } public Criteria andReceiverDistrictNotLike(String value) { addCriterion("receiver_district not like", value, "receiverDistrict"); return (Criteria) this; } public Criteria andReceiverDistrictIn(List values) { addCriterion("receiver_district in", values, "receiverDistrict"); return (Criteria) this; } public Criteria andReceiverDistrictNotIn(List values) { addCriterion("receiver_district not in", values, "receiverDistrict"); return (Criteria) this; } public Criteria andReceiverDistrictBetween(String value1, String value2) { addCriterion("receiver_district between", value1, value2, "receiverDistrict"); return (Criteria) this; } public Criteria andReceiverDistrictNotBetween(String value1, String value2) { addCriterion("receiver_district not between", value1, value2, "receiverDistrict"); return (Criteria) this; } public Criteria andReceiverAddressIsNull() { addCriterion("receiver_address is null"); return (Criteria) this; } public Criteria andReceiverAddressIsNotNull() { addCriterion("receiver_address is not null"); return (Criteria) this; } public Criteria andReceiverAddressEqualTo(String value) { addCriterion("receiver_address =", value, "receiverAddress"); return (Criteria) this; } public Criteria andReceiverAddressNotEqualTo(String value) { addCriterion("receiver_address <>", value, "receiverAddress"); return (Criteria) this; } public Criteria andReceiverAddressGreaterThan(String value) { addCriterion("receiver_address >", value, "receiverAddress"); return (Criteria) this; } public Criteria andReceiverAddressGreaterThanOrEqualTo(String value) { addCriterion("receiver_address >=", value, "receiverAddress"); return (Criteria) this; } public Criteria andReceiverAddressLessThan(String value) { addCriterion("receiver_address <", value, "receiverAddress"); return (Criteria) this; } public Criteria andReceiverAddressLessThanOrEqualTo(String value) { addCriterion("receiver_address <=", value, "receiverAddress"); return (Criteria) this; } public Criteria andReceiverAddressLike(String value) { addCriterion("receiver_address like", value, "receiverAddress"); return (Criteria) this; } public Criteria andReceiverAddressNotLike(String value) { addCriterion("receiver_address not like", value, "receiverAddress"); return (Criteria) this; } public Criteria andReceiverAddressIn(List values) { addCriterion("receiver_address in", values, "receiverAddress"); return (Criteria) this; } public Criteria andReceiverAddressNotIn(List values) { addCriterion("receiver_address not in", values, "receiverAddress"); return (Criteria) this; } public Criteria andReceiverAddressBetween(String value1, String value2) { addCriterion("receiver_address between", value1, value2, "receiverAddress"); return (Criteria) this; } public Criteria andReceiverAddressNotBetween(String value1, String value2) { addCriterion("receiver_address not between", value1, value2, "receiverAddress"); return (Criteria) this; } public Criteria andReceiverZipIsNull() { addCriterion("receiver_zip is null"); return (Criteria) this; } public Criteria andReceiverZipIsNotNull() { addCriterion("receiver_zip is not null"); return (Criteria) this; } public Criteria andReceiverZipEqualTo(String value) { addCriterion("receiver_zip =", value, "receiverZip"); return (Criteria) this; } public Criteria andReceiverZipNotEqualTo(String value) { addCriterion("receiver_zip <>", value, "receiverZip"); return (Criteria) this; } public Criteria andReceiverZipGreaterThan(String value) { addCriterion("receiver_zip >", value, "receiverZip"); return (Criteria) this; } public Criteria andReceiverZipGreaterThanOrEqualTo(String value) { addCriterion("receiver_zip >=", value, "receiverZip"); return (Criteria) this; } public Criteria andReceiverZipLessThan(String value) { addCriterion("receiver_zip <", value, "receiverZip"); return (Criteria) this; } public Criteria andReceiverZipLessThanOrEqualTo(String value) { addCriterion("receiver_zip <=", value, "receiverZip"); return (Criteria) this; } public Criteria andReceiverZipLike(String value) { addCriterion("receiver_zip like", value, "receiverZip"); return (Criteria) this; } public Criteria andReceiverZipNotLike(String value) { addCriterion("receiver_zip not like", value, "receiverZip"); return (Criteria) this; } public Criteria andReceiverZipIn(List values) { addCriterion("receiver_zip in", values, "receiverZip"); return (Criteria) this; } public Criteria andReceiverZipNotIn(List values) { addCriterion("receiver_zip not in", values, "receiverZip"); return (Criteria) this; } public Criteria andReceiverZipBetween(String value1, String value2) { addCriterion("receiver_zip between", value1, value2, "receiverZip"); return (Criteria) this; } public Criteria andReceiverZipNotBetween(String value1, String value2) { addCriterion("receiver_zip not between", value1, value2, "receiverZip"); return (Criteria) this; } public Criteria andCreatedIsNull() { addCriterion("created is null"); return (Criteria) this; } public Criteria andCreatedIsNotNull() { addCriterion("created is not null"); return (Criteria) this; } public Criteria andCreatedEqualTo(Date value) { addCriterion("created =", value, "created"); return (Criteria) this; } public Criteria andCreatedNotEqualTo(Date value) { addCriterion("created <>", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThan(Date value) { addCriterion("created >", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThanOrEqualTo(Date value) { addCriterion("created >=", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThan(Date value) { addCriterion("created <", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThanOrEqualTo(Date value) { addCriterion("created <=", value, "created"); return (Criteria) this; } public Criteria andCreatedIn(List values) { addCriterion("created in", values, "created"); return (Criteria) this; } public Criteria andCreatedNotIn(List values) { addCriterion("created not in", values, "created"); return (Criteria) this; } public Criteria andCreatedBetween(Date value1, Date value2) { addCriterion("created between", value1, value2, "created"); return (Criteria) this; } public Criteria andCreatedNotBetween(Date value1, Date value2) { addCriterion("created not between", value1, value2, "created"); return (Criteria) this; } public Criteria andUpdatedIsNull() { addCriterion("updated is null"); return (Criteria) this; } public Criteria andUpdatedIsNotNull() { addCriterion("updated is not null"); return (Criteria) this; } public Criteria andUpdatedEqualTo(Date value) { addCriterion("updated =", value, "updated"); return (Criteria) this; } public Criteria andUpdatedNotEqualTo(Date value) { addCriterion("updated <>", value, "updated"); return (Criteria) this; } public Criteria andUpdatedGreaterThan(Date value) { addCriterion("updated >", value, "updated"); return (Criteria) this; } public Criteria andUpdatedGreaterThanOrEqualTo(Date value) { addCriterion("updated >=", value, "updated"); return (Criteria) this; } public Criteria andUpdatedLessThan(Date value) { addCriterion("updated <", value, "updated"); return (Criteria) this; } public Criteria andUpdatedLessThanOrEqualTo(Date value) { addCriterion("updated <=", value, "updated"); return (Criteria) this; } public Criteria andUpdatedIn(List values) { addCriterion("updated in", values, "updated"); return (Criteria) this; } public Criteria andUpdatedNotIn(List values) { addCriterion("updated not in", values, "updated"); return (Criteria) this; } public Criteria andUpdatedBetween(Date value1, Date value2) { addCriterion("updated between", value1, value2, "updated"); return (Criteria) this; } public Criteria andUpdatedNotBetween(Date value1, Date value2) { addCriterion("updated not between", value1, value2, "updated"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_order_shipping * * @mbggenerated do_not_delete_during_merge Fri Aug 18 10:13:27 CST 2017 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_order_shipping * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public static class Criterion { private String condition; private Object value; private Object secondValue; private boolean noValue; private boolean singleValue; private boolean betweenValue; private boolean listValue; private String typeHandler; public String getCondition() { return condition; } public Object getValue() { return value; } public Object getSecondValue() { return secondValue; } public boolean isNoValue() { return noValue; } public boolean isSingleValue() { return singleValue; } public boolean isBetweenValue() { return betweenValue; } public boolean isListValue() { return listValue; } public String getTypeHandler() { return typeHandler; } protected Criterion(String condition) { super(); this.condition = condition; this.typeHandler = null; this.noValue = true; } protected Criterion(String condition, Object value, String typeHandler) { super(); this.condition = condition; this.value = value; this.typeHandler = typeHandler; if (value instanceof List) { this.listValue = true; } else { this.singleValue = true; } } protected Criterion(String condition, Object value) { this(condition, value, null); } protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { super(); this.condition = condition; this.value = value; this.secondValue = secondValue; this.typeHandler = typeHandler; this.betweenValue = true; } protected Criterion(String condition, Object value, Object secondValue) { this(condition, value, secondValue, null); } } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbUser.java ================================================ package top.catalinali.pojo; import java.io.Serializable; import java.util.Date; public class TbUser implements Serializable { /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_user.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Long id; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_user.username * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String username; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_user.password * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String password; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_user.phone * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String phone; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_user.email * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private String email; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_user.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date created; /** * This field was generated by MyBatis Generator. * This field corresponds to the database column tb_user.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ private Date updated; /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_user.id * * @return the value of tb_user.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Long getId() { return id; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_user.id * * @param id the value for tb_user.id * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setId(Long id) { this.id = id; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_user.username * * @return the value of tb_user.username * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getUsername() { return username; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_user.username * * @param username the value for tb_user.username * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setUsername(String username) { this.username = username == null ? null : username.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_user.password * * @return the value of tb_user.password * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getPassword() { return password; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_user.password * * @param password the value for tb_user.password * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setPassword(String password) { this.password = password == null ? null : password.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_user.phone * * @return the value of tb_user.phone * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getPhone() { return phone; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_user.phone * * @param phone the value for tb_user.phone * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setPhone(String phone) { this.phone = phone == null ? null : phone.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_user.email * * @return the value of tb_user.email * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getEmail() { return email; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_user.email * * @param email the value for tb_user.email * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setEmail(String email) { this.email = email == null ? null : email.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_user.created * * @return the value of tb_user.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getCreated() { return created; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_user.created * * @param created the value for tb_user.created * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setCreated(Date created) { this.created = created; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column tb_user.updated * * @return the value of tb_user.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Date getUpdated() { return updated; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column tb_user.updated * * @param updated the value for tb_user.updated * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setUpdated(Date updated) { this.updated = updated; } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/main/java/top/catalinali/pojo/TbUserExample.java ================================================ package top.catalinali.pojo; import java.util.ArrayList; import java.util.Date; import java.util.List; public class TbUserExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected List oredCriteria; /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public TbUserExample() { oredCriteria = new ArrayList(); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public boolean isDistinct() { return distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria or() { Criteria criteria = createCriteriaInternal(); oredCriteria.add(criteria); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public Criteria createCriteria() { Criteria criteria = createCriteriaInternal(); if (oredCriteria.size() == 0) { oredCriteria.add(criteria); } return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public void clear() { oredCriteria.clear(); orderByClause = null; distinct = false; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ protected abstract static class GeneratedCriteria { protected List criteria; protected GeneratedCriteria() { super(); criteria = new ArrayList(); } public boolean isValid() { return criteria.size() > 0; } public List getAllCriteria() { return criteria; } public List getCriteria() { return criteria; } protected void addCriterion(String condition) { if (condition == null) { throw new RuntimeException("Value for condition cannot be null"); } criteria.add(new Criterion(condition)); } protected void addCriterion(String condition, Object value, String property) { if (value == null) { throw new RuntimeException("Value for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value)); } protected void addCriterion(String condition, Object value1, Object value2, String property) { if (value1 == null || value2 == null) { throw new RuntimeException("Between values for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value1, value2)); } public Criteria andIdIsNull() { addCriterion("id is null"); return (Criteria) this; } public Criteria andIdIsNotNull() { addCriterion("id is not null"); return (Criteria) this; } public Criteria andIdEqualTo(Long value) { addCriterion("id =", value, "id"); return (Criteria) this; } public Criteria andIdNotEqualTo(Long value) { addCriterion("id <>", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThan(Long value) { addCriterion("id >", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThanOrEqualTo(Long value) { addCriterion("id >=", value, "id"); return (Criteria) this; } public Criteria andIdLessThan(Long value) { addCriterion("id <", value, "id"); return (Criteria) this; } public Criteria andIdLessThanOrEqualTo(Long value) { addCriterion("id <=", value, "id"); return (Criteria) this; } public Criteria andIdIn(List values) { addCriterion("id in", values, "id"); return (Criteria) this; } public Criteria andIdNotIn(List values) { addCriterion("id not in", values, "id"); return (Criteria) this; } public Criteria andIdBetween(Long value1, Long value2) { addCriterion("id between", value1, value2, "id"); return (Criteria) this; } public Criteria andIdNotBetween(Long value1, Long value2) { addCriterion("id not between", value1, value2, "id"); return (Criteria) this; } public Criteria andUsernameIsNull() { addCriterion("username is null"); return (Criteria) this; } public Criteria andUsernameIsNotNull() { addCriterion("username is not null"); return (Criteria) this; } public Criteria andUsernameEqualTo(String value) { addCriterion("username =", value, "username"); return (Criteria) this; } public Criteria andUsernameNotEqualTo(String value) { addCriterion("username <>", value, "username"); return (Criteria) this; } public Criteria andUsernameGreaterThan(String value) { addCriterion("username >", value, "username"); return (Criteria) this; } public Criteria andUsernameGreaterThanOrEqualTo(String value) { addCriterion("username >=", value, "username"); return (Criteria) this; } public Criteria andUsernameLessThan(String value) { addCriterion("username <", value, "username"); return (Criteria) this; } public Criteria andUsernameLessThanOrEqualTo(String value) { addCriterion("username <=", value, "username"); return (Criteria) this; } public Criteria andUsernameLike(String value) { addCriterion("username like", value, "username"); return (Criteria) this; } public Criteria andUsernameNotLike(String value) { addCriterion("username not like", value, "username"); return (Criteria) this; } public Criteria andUsernameIn(List values) { addCriterion("username in", values, "username"); return (Criteria) this; } public Criteria andUsernameNotIn(List values) { addCriterion("username not in", values, "username"); return (Criteria) this; } public Criteria andUsernameBetween(String value1, String value2) { addCriterion("username between", value1, value2, "username"); return (Criteria) this; } public Criteria andUsernameNotBetween(String value1, String value2) { addCriterion("username not between", value1, value2, "username"); return (Criteria) this; } public Criteria andPasswordIsNull() { addCriterion("password is null"); return (Criteria) this; } public Criteria andPasswordIsNotNull() { addCriterion("password is not null"); return (Criteria) this; } public Criteria andPasswordEqualTo(String value) { addCriterion("password =", value, "password"); return (Criteria) this; } public Criteria andPasswordNotEqualTo(String value) { addCriterion("password <>", value, "password"); return (Criteria) this; } public Criteria andPasswordGreaterThan(String value) { addCriterion("password >", value, "password"); return (Criteria) this; } public Criteria andPasswordGreaterThanOrEqualTo(String value) { addCriterion("password >=", value, "password"); return (Criteria) this; } public Criteria andPasswordLessThan(String value) { addCriterion("password <", value, "password"); return (Criteria) this; } public Criteria andPasswordLessThanOrEqualTo(String value) { addCriterion("password <=", value, "password"); return (Criteria) this; } public Criteria andPasswordLike(String value) { addCriterion("password like", value, "password"); return (Criteria) this; } public Criteria andPasswordNotLike(String value) { addCriterion("password not like", value, "password"); return (Criteria) this; } public Criteria andPasswordIn(List values) { addCriterion("password in", values, "password"); return (Criteria) this; } public Criteria andPasswordNotIn(List values) { addCriterion("password not in", values, "password"); return (Criteria) this; } public Criteria andPasswordBetween(String value1, String value2) { addCriterion("password between", value1, value2, "password"); return (Criteria) this; } public Criteria andPasswordNotBetween(String value1, String value2) { addCriterion("password not between", value1, value2, "password"); return (Criteria) this; } public Criteria andPhoneIsNull() { addCriterion("phone is null"); return (Criteria) this; } public Criteria andPhoneIsNotNull() { addCriterion("phone is not null"); return (Criteria) this; } public Criteria andPhoneEqualTo(String value) { addCriterion("phone =", value, "phone"); return (Criteria) this; } public Criteria andPhoneNotEqualTo(String value) { addCriterion("phone <>", value, "phone"); return (Criteria) this; } public Criteria andPhoneGreaterThan(String value) { addCriterion("phone >", value, "phone"); return (Criteria) this; } public Criteria andPhoneGreaterThanOrEqualTo(String value) { addCriterion("phone >=", value, "phone"); return (Criteria) this; } public Criteria andPhoneLessThan(String value) { addCriterion("phone <", value, "phone"); return (Criteria) this; } public Criteria andPhoneLessThanOrEqualTo(String value) { addCriterion("phone <=", value, "phone"); return (Criteria) this; } public Criteria andPhoneLike(String value) { addCriterion("phone like", value, "phone"); return (Criteria) this; } public Criteria andPhoneNotLike(String value) { addCriterion("phone not like", value, "phone"); return (Criteria) this; } public Criteria andPhoneIn(List values) { addCriterion("phone in", values, "phone"); return (Criteria) this; } public Criteria andPhoneNotIn(List values) { addCriterion("phone not in", values, "phone"); return (Criteria) this; } public Criteria andPhoneBetween(String value1, String value2) { addCriterion("phone between", value1, value2, "phone"); return (Criteria) this; } public Criteria andPhoneNotBetween(String value1, String value2) { addCriterion("phone not between", value1, value2, "phone"); return (Criteria) this; } public Criteria andEmailIsNull() { addCriterion("email is null"); return (Criteria) this; } public Criteria andEmailIsNotNull() { addCriterion("email is not null"); return (Criteria) this; } public Criteria andEmailEqualTo(String value) { addCriterion("email =", value, "email"); return (Criteria) this; } public Criteria andEmailNotEqualTo(String value) { addCriterion("email <>", value, "email"); return (Criteria) this; } public Criteria andEmailGreaterThan(String value) { addCriterion("email >", value, "email"); return (Criteria) this; } public Criteria andEmailGreaterThanOrEqualTo(String value) { addCriterion("email >=", value, "email"); return (Criteria) this; } public Criteria andEmailLessThan(String value) { addCriterion("email <", value, "email"); return (Criteria) this; } public Criteria andEmailLessThanOrEqualTo(String value) { addCriterion("email <=", value, "email"); return (Criteria) this; } public Criteria andEmailLike(String value) { addCriterion("email like", value, "email"); return (Criteria) this; } public Criteria andEmailNotLike(String value) { addCriterion("email not like", value, "email"); return (Criteria) this; } public Criteria andEmailIn(List values) { addCriterion("email in", values, "email"); return (Criteria) this; } public Criteria andEmailNotIn(List values) { addCriterion("email not in", values, "email"); return (Criteria) this; } public Criteria andEmailBetween(String value1, String value2) { addCriterion("email between", value1, value2, "email"); return (Criteria) this; } public Criteria andEmailNotBetween(String value1, String value2) { addCriterion("email not between", value1, value2, "email"); return (Criteria) this; } public Criteria andCreatedIsNull() { addCriterion("created is null"); return (Criteria) this; } public Criteria andCreatedIsNotNull() { addCriterion("created is not null"); return (Criteria) this; } public Criteria andCreatedEqualTo(Date value) { addCriterion("created =", value, "created"); return (Criteria) this; } public Criteria andCreatedNotEqualTo(Date value) { addCriterion("created <>", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThan(Date value) { addCriterion("created >", value, "created"); return (Criteria) this; } public Criteria andCreatedGreaterThanOrEqualTo(Date value) { addCriterion("created >=", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThan(Date value) { addCriterion("created <", value, "created"); return (Criteria) this; } public Criteria andCreatedLessThanOrEqualTo(Date value) { addCriterion("created <=", value, "created"); return (Criteria) this; } public Criteria andCreatedIn(List values) { addCriterion("created in", values, "created"); return (Criteria) this; } public Criteria andCreatedNotIn(List values) { addCriterion("created not in", values, "created"); return (Criteria) this; } public Criteria andCreatedBetween(Date value1, Date value2) { addCriterion("created between", value1, value2, "created"); return (Criteria) this; } public Criteria andCreatedNotBetween(Date value1, Date value2) { addCriterion("created not between", value1, value2, "created"); return (Criteria) this; } public Criteria andUpdatedIsNull() { addCriterion("updated is null"); return (Criteria) this; } public Criteria andUpdatedIsNotNull() { addCriterion("updated is not null"); return (Criteria) this; } public Criteria andUpdatedEqualTo(Date value) { addCriterion("updated =", value, "updated"); return (Criteria) this; } public Criteria andUpdatedNotEqualTo(Date value) { addCriterion("updated <>", value, "updated"); return (Criteria) this; } public Criteria andUpdatedGreaterThan(Date value) { addCriterion("updated >", value, "updated"); return (Criteria) this; } public Criteria andUpdatedGreaterThanOrEqualTo(Date value) { addCriterion("updated >=", value, "updated"); return (Criteria) this; } public Criteria andUpdatedLessThan(Date value) { addCriterion("updated <", value, "updated"); return (Criteria) this; } public Criteria andUpdatedLessThanOrEqualTo(Date value) { addCriterion("updated <=", value, "updated"); return (Criteria) this; } public Criteria andUpdatedIn(List values) { addCriterion("updated in", values, "updated"); return (Criteria) this; } public Criteria andUpdatedNotIn(List values) { addCriterion("updated not in", values, "updated"); return (Criteria) this; } public Criteria andUpdatedBetween(Date value1, Date value2) { addCriterion("updated between", value1, value2, "updated"); return (Criteria) this; } public Criteria andUpdatedNotBetween(Date value1, Date value2) { addCriterion("updated not between", value1, value2, "updated"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_user * * @mbggenerated do_not_delete_during_merge Fri Aug 18 10:13:27 CST 2017 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_user * * @mbggenerated Fri Aug 18 10:13:27 CST 2017 */ public static class Criterion { private String condition; private Object value; private Object secondValue; private boolean noValue; private boolean singleValue; private boolean betweenValue; private boolean listValue; private String typeHandler; public String getCondition() { return condition; } public Object getValue() { return value; } public Object getSecondValue() { return secondValue; } public boolean isNoValue() { return noValue; } public boolean isSingleValue() { return singleValue; } public boolean isBetweenValue() { return betweenValue; } public boolean isListValue() { return listValue; } public String getTypeHandler() { return typeHandler; } protected Criterion(String condition) { super(); this.condition = condition; this.typeHandler = null; this.noValue = true; } protected Criterion(String condition, Object value, String typeHandler) { super(); this.condition = condition; this.value = value; this.typeHandler = typeHandler; if (value instanceof List) { this.listValue = true; } else { this.singleValue = true; } } protected Criterion(String condition, Object value) { this(condition, value, null); } protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { super(); this.condition = condition; this.value = value; this.secondValue = secondValue; this.typeHandler = typeHandler; this.betweenValue = true; } protected Criterion(String condition, Object value, Object secondValue) { this(condition, value, secondValue, null); } } } ================================================ FILE: taotao-manage/taotao-manage-pojo/src/test/java/top/catalinali/AppTest.java ================================================ package top.catalinali; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ public AppTest( String testName ) { super( testName ); } /** * @return the suite of tests being tested */ public static Test suite() { return new TestSuite( AppTest.class ); } /** * Rigourous Test :-) */ public void testApp() { assertTrue( true ); } } ================================================ FILE: taotao-manage/taotao-manage-pojo/taotao-manage-pojo.iml ================================================ ================================================ FILE: taotao-manage/taotao-manage-service/pom.xml ================================================ taotao-manage top.catalinali 1.0-SNAPSHOT 4.0.0 taotao-manage-service jar taotao-manage-service http://maven.apache.org top.catalinali taotao-manage-mapper 1.0-SNAPSHOT top.catalinali taotao-manage-interface 1.0-SNAPSHOT commons-fileupload commons-fileupload org.springframework spring-context org.springframework spring-beans org.springframework spring-webmvc org.springframework spring-jdbc org.springframework spring-aspects org.springframework spring-jms org.springframework spring-context-support com.alibaba dubbo org.springframework spring org.jboss.netty netty org.apache.zookeeper zookeeper com.github.sgroschupf zkclient junit junit org.apache.activemq activemq-all junit junit 4.12 org.springframework.boot spring-boot-starter-tomcat org.springframework.boot spring-boot-starter org.springframework.boot spring-boot-starter-logging ================================================ FILE: taotao-manage/taotao-manage-service/src/main/java/top/catalinali/app/ManageApplication.java ================================================ package top.catalinali.app; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ImportResource; import java.util.concurrent.CountDownLatch; /** *
             * Description: ManageApplication
             * Copyright:	Copyright (c)2017
             * Author:		lllx
             * Version:		1.0
             * Created at:	2018/1/10
             * 
            */ @SpringBootApplication @ImportResource({"classpath:spring/applicationContext-*.xml"}) public class ManageApplication { @Bean public CountDownLatch closeLatch() { return new CountDownLatch(1); } public static void main(String[] args) throws InterruptedException { ApplicationContext ctx = new SpringApplicationBuilder() .sources(ManageApplication.class) .web(false) .run(args); CountDownLatch closeLatch = ctx.getBean(CountDownLatch.class); closeLatch.await(); } } ================================================ FILE: taotao-manage/taotao-manage-service/src/main/java/top/catalinali/service/impl/ItemCatServiceImpl.java ================================================ package top.catalinali.service.impl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import top.catalinali.common.pojo.EUTreeNode; import top.catalinali.mapper.TbItemCatMapper; import top.catalinali.pojo.TbItemCat; import top.catalinali.pojo.TbItemCatExample; import top.catalinali.service.ItemCatService; import java.util.ArrayList; import java.util.List; /** * Created by TDH on 2017/8/21. */ @Service public class ItemCatServiceImpl implements ItemCatService { @Autowired private TbItemCatMapper itemCatMapper; @Override public List getItemCatList(long parentId) { //根据parentId查询分类列表 TbItemCatExample example = new TbItemCatExample(); //设置查询条件 TbItemCatExample.Criteria criteria = example.createCriteria(); criteria.andParentIdEqualTo(parentId); List tbItemCats = itemCatMapper.selectByExample(example); //分类列表转换成TreeNode的列表 ArrayList resultList = new ArrayList<>(); for (TbItemCat tbItemCat : tbItemCats) { //创建一个TreeNode对象 EUTreeNode node = new EUTreeNode(tbItemCat.getId(), tbItemCat.getName(), tbItemCat.getIsParent()?"closed":"open"); resultList.add(node); } return resultList; } } ================================================ FILE: taotao-manage/taotao-manage-service/src/main/java/top/catalinali/service/impl/ItemServiceImpl.java ================================================ package top.catalinali.service.impl; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.jms.core.JmsTemplate; import org.springframework.jms.core.MessageCreator; import org.springframework.stereotype.Service; import top.catalinali.common.jedis.JedisClient; import top.catalinali.common.pojo.EUDataGridResult; import top.catalinali.common.pojo.TaotaoResult; import top.catalinali.common.util.IDUtils; import top.catalinali.common.util.JsonUtils; import top.catalinali.mapper.TbItemDescMapper; import top.catalinali.mapper.TbItemMapper; import top.catalinali.mapper.TbItemParamItemMapper; import top.catalinali.pojo.TbItem; import top.catalinali.pojo.TbItemDesc; import top.catalinali.pojo.TbItemExample; import top.catalinali.pojo.TbItemParamItem; import top.catalinali.service.ItemService; import javax.annotation.Resource; import javax.jms.*; import java.util.Date; import java.util.List; /** * Created by lllx on 2017/8/18. */ @Service public class ItemServiceImpl implements ItemService { @Autowired private TbItemMapper itemMapper; @Autowired private TbItemDescMapper itemDescMapper; @Autowired private TbItemParamItemMapper itemParamItemMapper; @Autowired private JmsTemplate jmsTemplate; @Resource private Destination topicDestination; @Autowired private JedisClient jedisClient; @Value("${REDIS_ITEM_PRE}") private String REDIS_ITEM_PRE; @Value("${ITEM_CACHE_EXPIRE}") private Integer ITEM_CACHE_EXPIRE; @Override public TbItem getItemById(long itemId) { //查询缓存 try { String json = jedisClient.get(REDIS_ITEM_PRE + ":" + itemId + ":BASE"); if(StringUtils.isNotBlank(json)) { TbItem tbItem = JsonUtils.jsonToPojo(json, TbItem.class); return tbItem; } } catch (Exception e) { e.printStackTrace(); } //缓存中没有,查询数据库 //根据主键查询 //TbItem tbItem = itemMapper.selectByPrimaryKey(itemId); TbItemExample example = new TbItemExample(); TbItemExample.Criteria criteria = example.createCriteria(); //设置查询条件 criteria.andIdEqualTo(itemId); //执行查询 List list = itemMapper.selectByExample(example); if (list != null && list.size() > 0) { //把结果添加到缓存 try { jedisClient.set(REDIS_ITEM_PRE + ":" + itemId + ":BASE", JsonUtils.objectToJson(list.get(0))); //设置过期时间 jedisClient.expire(REDIS_ITEM_PRE + ":" + itemId + ":BASE", ITEM_CACHE_EXPIRE); } catch (Exception e) { e.printStackTrace(); } return list.get(0); } return null; } @Override public EUDataGridResult getItemList(Integer page, Integer rows) { //查询商品列表 TbItemExample example = new TbItemExample(); //分页处理 PageHelper.startPage(page, rows); List list = itemMapper.selectByExample(example); //返回一个返回值对象 EUDataGridResult result = new EUDataGridResult(); result.setRows(list); //取记录总条数 PageInfo pageInfo = new PageInfo<>(list); result.setTotal(pageInfo.getTotal()); return result; } @Override public TbItemDesc getItemDescById(long itemId) { //查询缓存 try { String json = jedisClient.get(REDIS_ITEM_PRE + ":" + itemId + ":DESC"); if(StringUtils.isNotBlank(json)) { TbItemDesc tbItemDesc = JsonUtils.jsonToPojo(json, TbItemDesc.class); return tbItemDesc; } } catch (Exception e) { e.printStackTrace(); } TbItemDesc itemDesc = itemDescMapper.selectByPrimaryKey(itemId); //把结果添加到缓存 try { jedisClient.set(REDIS_ITEM_PRE + ":" + itemId + ":DESC", JsonUtils.objectToJson(itemDesc)); //设置过期时间 jedisClient.expire(REDIS_ITEM_PRE + ":" + itemId + ":DESC", ITEM_CACHE_EXPIRE); } catch (Exception e) { e.printStackTrace(); } return itemDesc; } @Override public TaotaoResult createItem(TbItem item, String desc, String itemParam) throws Exception { //item补全,生成商品ID final Long itemId = IDUtils.genItemId(); item.setId(itemId); //商品状态1正常2下架3删除 item.setStatus((byte) 1); item.setCreated(new Date()); item.setUpdated(new Date()); itemMapper.insert(item); TaotaoResult result = insertItemDesc(itemId, desc); if(result.getStatus() != 200){ throw new Exception(); } //添加规格参数 result = insertItemParamItem(itemId, itemParam); if(result.getStatus() != 200){ throw new Exception(); } //发送商品添加消息 jmsTemplate.send(topicDestination, new MessageCreator() { @Override public Message createMessage(Session session) throws JMSException { TextMessage textMessage = session.createTextMessage(itemId + ""); return textMessage; } }); return TaotaoResult.ok(); } //添加商品描述 private TaotaoResult insertItemDesc(Long itemId,String desc){ TbItemDesc itemDesc = new TbItemDesc(); itemDesc.setItemId(itemId); itemDesc.setItemDesc(desc); itemDesc.setCreated(new Date()); itemDesc.setUpdated(new Date()); itemDescMapper.insert(itemDesc); return TaotaoResult.ok(); } //添加参数规格 private TaotaoResult insertItemParamItem(Long ItemId,String itemParam){ //创建一个pojo TbItemParamItem itemParamItem = new TbItemParamItem(); itemParamItem.setItemId(ItemId); itemParamItem.setParamData(itemParam); itemParamItem.setCreated(new Date()); itemParamItem.setUpdated(new Date()); itemParamItemMapper.insert(itemParamItem); return TaotaoResult.ok(); } } ================================================ FILE: taotao-manage/taotao-manage-service/src/main/resources/banner.txt ================================================ _ _ _ _ _ | (_) | (_) ____ ____| |_ ____| |_ ____ ____| |_ / ___) _ | _)/ _ | | | _ \ / _ | | | ( (__( ( | | |_( ( | | | | | | ( ( | | | | \____)_||_|\___)_||_|_|_|_| |_|\_||_|_|_| ================================================ FILE: taotao-manage/taotao-manage-service/src/main/resources/log4j.properties ================================================ log4j.rootLogger=DEBUG,A1 log4j.logger.org.mybatis = DEBUG log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [%t] [%c]-[%p] %m%n ================================================ FILE: taotao-manage/taotao-manage-service/src/main/resources/mybatis/SqlMapConfig.xml ================================================ ================================================ FILE: taotao-manage/taotao-manage-service/src/main/resources/resource/db.properties ================================================ jdbc.driver=com.mysql.jdbc.Driver jdbc.url=jdbc:mysql://localhost:3306/taotao?characterEncoding=utf-8 jdbc.username=root jdbc.password= ================================================ FILE: taotao-manage/taotao-manage-service/src/main/resources/resource/resource.properties ================================================ #\u5546\u54c1\u6570\u636e\u5728\u7f13\u5b58\u4e2dkey\u7684\u524d\u7f00 REDIS_ITEM_PRE=ITEM_INFO #\u5546\u54C1\u6570\u636E\u7F13\u5B58\u7684\u8FC7\u671F\u65F6\u95F4\uFF0C\u9ED8\u8BA4\u4E3A\u4E00\u5C0F\u65F6 ITEM_CACHE_EXPIRE=3600 ================================================ FILE: taotao-manage/taotao-manage-service/src/main/resources/spring/applicationContext-activemq.xml ================================================ spring-queue ================================================ FILE: taotao-manage/taotao-manage-service/src/main/resources/spring/applicationContext-dao.xml ================================================ ================================================ FILE: taotao-manage/taotao-manage-service/src/main/resources/spring/applicationContext-redis.xml ================================================ ================================================ FILE: taotao-manage/taotao-manage-service/src/main/resources/spring/applicationContext-service.xml ================================================ ================================================ FILE: taotao-manage/taotao-manage-service/src/main/resources/spring/applicationContext-trans.xml ================================================ ================================================ FILE: taotao-manage/taotao-manage-service/src/main/test/top/catalinali/service/ActiveMqTest.java ================================================ package top.catalinali.service; import org.apache.activemq.ActiveMQConnectionFactory; import org.junit.Test; import javax.jms.*; /** *
             * Description:
             * Copyright:	Copyright (c)2017
             * Author:		lllx
             * Version:		1.0
             * Created at:	2017/12/18
             * 
            */ public class ActiveMqTest { /** * 点到点形式发送消息 *

            Title: testQueueProducer

            *

            Description:

            * @throws Exception */ @Test public void testQueueProducer() throws Exception { //1、创建一个连接工厂对象,需要指定服务的ip及端口。 ConnectionFactory connectionFactory = new ActiveMQConnectionFactory("tcp://192.168.72.121:61616"); //2、使用工厂对象创建一个Connection对象。 Connection connection = connectionFactory.createConnection(); //3、开启连接,调用Connection对象的start方法。 connection.start(); //4、创建一个Session对象。 //第一个参数:是否开启事务。如果true开启事务,第二个参数无意义。一般不开启事务false。 //第二个参数:应答模式。自动应答或者手动应答。一般自动应答。 Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); //5、使用Session对象创建一个Destination对象。两种形式queue、topic,现在应该使用queue Queue queue = session.createQueue("test-queue"); //6、使用Session对象创建一个Producer对象。 MessageProducer producer = session.createProducer(queue); //7、创建一个Message对象,可以使用TextMessage。 /*TextMessage textMessage = new ActiveMQTextMessage(); textMessage.setText("hello Activemq");*/ TextMessage textMessage = session.createTextMessage("hello activemq"); //8、发送消息 producer.send(textMessage); //9、关闭资源 producer.close(); session.close(); connection.close(); } @Test public void testQueueConsumer() throws Exception { //创建一个ConnectionFactory对象连接MQ服务器 ConnectionFactory connectionFactory = new ActiveMQConnectionFactory("tcp://192.168.72.121:61616"); //创建一个连接对象 Connection connection = connectionFactory.createConnection(); //开启连接 connection.start(); //使用Connection对象创建一个Session对象 Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); //创建一个Destination对象。queue对象 Queue queue = session.createQueue("test-queue"); //使用Session对象创建一个消费者对象。 MessageConsumer consumer = session.createConsumer(queue); //接收消息 consumer.setMessageListener(new MessageListener() { @Override public void onMessage(Message message) { //打印结果 TextMessage textMessage = (TextMessage) message; String text; try { text = textMessage.getText(); System.out.println(text); } catch (JMSException e) { e.printStackTrace(); } } }); //等待接收消息 System.in.read(); //关闭资源 consumer.close(); session.close(); connection.close(); } @Test public void testTopicProducer() throws Exception { //1、创建一个连接工厂对象,需要指定服务的ip及端口。 ConnectionFactory connectionFactory = new ActiveMQConnectionFactory("tcp://192.168.72.121:61616"); //2、使用工厂对象创建一个Connection对象。 Connection connection = connectionFactory.createConnection(); //3、开启连接,调用Connection对象的start方法。 connection.start(); //4、创建一个Session对象。 //第一个参数:是否开启事务。如果true开启事务,第二个参数无意义。一般不开启事务false。 //第二个参数:应答模式。自动应答或者手动应答。一般自动应答。 Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); //5、使用Session对象创建一个Destination对象。两种形式queue、topic,现在应该使用topic Topic topic = session.createTopic("test-topic"); //6、使用Session对象创建一个Producer对象。 MessageProducer producer = session.createProducer(topic); //7、创建一个Message对象,可以使用TextMessage。 /*TextMessage textMessage = new ActiveMQTextMessage(); textMessage.setText("hello Activemq");*/ TextMessage textMessage = session.createTextMessage("topic message"); //8、发送消息 producer.send(textMessage); //9、关闭资源 producer.close(); session.close(); connection.close(); } @Test public void testTopicConsumer() throws Exception { //创建一个ConnectionFactory对象连接MQ服务器 ConnectionFactory connectionFactory = new ActiveMQConnectionFactory("tcp://192.168.72.121:61616"); //创建一个连接对象 Connection connection = connectionFactory.createConnection(); //开启连接 connection.start(); //使用Connection对象创建一个Session对象 Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); //创建一个Destination对象。topic对象 Topic topic = session.createTopic("test-topic"); //使用Session对象创建一个消费者对象。 MessageConsumer consumer = session.createConsumer(topic); //接收消息 consumer.setMessageListener(new MessageListener() { @Override public void onMessage(Message message) { //打印结果 TextMessage textMessage = (TextMessage) message; String text; try { text = textMessage.getText(); System.out.println(text); } catch (JMSException e) { e.printStackTrace(); } } }); System.out.println("topic消费者3启动。。。。"); //等待接收消息 System.in.read(); //关闭资源 consumer.close(); session.close(); connection.close(); } } ================================================ FILE: taotao-manage/taotao-manage-service/src/main/test/top/catalinali/service/ActiveSpringTest.java ================================================ package top.catalinali.service; import org.junit.Test; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import org.springframework.jms.core.JmsTemplate; import org.springframework.jms.core.MessageCreator; import javax.jms.Destination; import javax.jms.JMSException; import javax.jms.Message; import javax.jms.Session; /** *
             * Description:
             * Copyright:	Copyright (c)2017
             * Author:		lllx
             * Version:		1.0
             * Created at:	2017/12/27
             * 
            */ public class ActiveSpringTest { @Test public void sendMessage() throws Exception { //初始化spring容器 ApplicationContext applicationContext = new ClassPathXmlApplicationContext("classpath:spring/applicationContext-activemq.xml"); //从容器中获得JmsTemplate对象。 JmsTemplate jmsTemplate = applicationContext.getBean(JmsTemplate.class); //从容器中获得一个Destination对象。 Destination destination = (Destination) applicationContext.getBean("queueDestination"); //发送消息 jmsTemplate.send(destination, new MessageCreator() { @Override public Message createMessage(Session session) throws JMSException { return session.createTextMessage("send activemq message111"); } }); } } ================================================ FILE: taotao-manage/taotao-manage-service/src/main/test/top/catalinali/service/TestPublish.java ================================================ package top.catalinali.service; import org.junit.Test; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; /** *
             * Description:
             * Copyright:	Copyright (c)2017
             * Author:		lllx
             * Version:		1.0
             * Created at:	2017/10/19
             * 
            */ public class TestPublish { @Test public void publishService() throws Exception{ ApplicationContext context = new ClassPathXmlApplicationContext("classpath:spring/applicationContext-*.xml"); while (true){ Thread.sleep(1000); } } } ================================================ FILE: taotao-manage/taotao-manage-service/taotao-manage-service.iml ================================================ ================================================ FILE: taotao-manage/taotao-manage.iml ================================================ ================================================ FILE: taotao-manage-web/pom.xml ================================================ taotao-parent top.catalinali 1.0-SNAPSHOT 4.0.0 taotao-manage-web war taotao-manage-web Maven Webapp http://maven.apache.org top.catalinali taotao-manage-interface 1.0-SNAPSHOT top.catalinali taotao-content-interface 1.0-SNAPSHOT top.catalinali taotao-search-interface 1.0-SNAPSHOT commons-fileupload commons-fileupload org.springframework spring-context org.springframework spring-beans org.springframework spring-webmvc org.springframework spring-jdbc org.springframework spring-aspects org.springframework spring-jms org.springframework spring-context-support jstl jstl javax.servlet servlet-api provided javax.servlet jsp-api provided com.alibaba dubbo org.springframework spring org.jboss.netty netty org.apache.zookeeper zookeeper com.github.sgroschupf zkclient fastdfs_client fastdfs_client 1.25 junit junit taotao-manage-web org.apache.tomcat.maven tomcat7-maven-plugin / 7080 ================================================ FILE: taotao-manage-web/src/main/java/top/catalinali/controller/ContentCatController.java ================================================ package top.catalinali.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.ResponseBody; import top.catalinali.common.pojo.EUTreeNode; import top.catalinali.common.pojo.TaotaoResult; import top.catalinali.content.service.ContentCategoryService; import java.util.List; /** *
             * Description: 内容分类管理Controller
             * Copyright:	Copyright (c)2017
             * Author:		lllx
             * Version:		1.0
             * Created at:	2017/10/19
             * 
            */ @Controller @RequestMapping("content/category") public class ContentCatController { @Autowired private ContentCategoryService contentCategoryService; @ResponseBody @RequestMapping("list") public List getContentCatList(@RequestParam(name="id", defaultValue="0")Long parentId) { List list = contentCategoryService.getContentCatList(parentId); return list; } /** * 添加分类节点 */ @RequestMapping(value="create", method= RequestMethod.POST) @ResponseBody public TaotaoResult createContentCategory(Long parentId, String name) { //调用服务添加节点 TaotaoResult taotaoResult = contentCategoryService.addContentCategory(parentId, name); return taotaoResult; } } ================================================ FILE: taotao-manage-web/src/main/java/top/catalinali/controller/ContentController.java ================================================ package top.catalinali.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.ResponseBody; import top.catalinali.common.pojo.TaotaoResult; import top.catalinali.content.service.ContentService; import top.catalinali.pojo.TbContent; /** *
             * Description: 内容管理Controller
             * Copyright:	Copyright (c)2017
             * Author:		lllx
             * Version:		1.0
             * Created at:	2017/10/25
             * 
            */ @Controller public class ContentController { @Autowired private ContentService contentService; @RequestMapping(value="/content/save", method= RequestMethod.POST) @ResponseBody public TaotaoResult addContent(TbContent content) { //调用服务把内容数据保存到数据库 TaotaoResult taotaoResult = contentService.addContent(content); return taotaoResult; } } ================================================ FILE: taotao-manage-web/src/main/java/top/catalinali/controller/ItemCatController.java ================================================ package top.catalinali.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.ResponseBody; import top.catalinali.common.pojo.EUTreeNode; import top.catalinali.service.ItemCatService; import java.util.List; /** * Created by TDH on 2017/8/21. */ @Controller @RequestMapping("/item/cat") public class ItemCatController { @Autowired private ItemCatService itemCatService; @ResponseBody @RequestMapping("/list") public List getItemCatList(@RequestParam(value="id",defaultValue="0")Long parentId){ List list = itemCatService.getItemCatList(parentId); return list; } } ================================================ FILE: taotao-manage-web/src/main/java/top/catalinali/controller/ItemController.java ================================================ package top.catalinali.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import top.catalinali.common.pojo.EUDataGridResult; import top.catalinali.common.pojo.TaotaoResult; import top.catalinali.pojo.TbItem; import top.catalinali.service.ItemService; /** * Created by lllx on 2017/8/18. */ @Controller @RequestMapping("/item") public class ItemController { @Autowired private ItemService itemService; @RequestMapping("/list") @ResponseBody public EUDataGridResult getItemList(@RequestParam(defaultValue="1")Integer page,@RequestParam(defaultValue="30")Integer rows){ EUDataGridResult result = itemService.getItemList(page, rows); return result; } @RequestMapping(value="/save",method= RequestMethod.POST) @ResponseBody public TaotaoResult createItem(TbItem item, String desc, String itemParams) throws Exception{ TaotaoResult result = itemService.createItem(item,desc,itemParams); return result; } @RequestMapping("/{itemId}") @ResponseBody public TbItem getItemById(@PathVariable Long itemId) { TbItem tbItem = itemService.getItemById(itemId); return tbItem; } } ================================================ FILE: taotao-manage-web/src/main/java/top/catalinali/controller/PageController.java ================================================ package top.catalinali.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class PageController { @RequestMapping("/") public String showIndex(){ return "index"; } @RequestMapping("/{page}") public String showPage(@PathVariable String page){ return page; } } ================================================ FILE: taotao-manage-web/src/main/java/top/catalinali/controller/PictureController.java ================================================ package top.catalinali.controller; import org.springframework.beans.factory.annotation.Value; import org.springframework.http.MediaType; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.multipart.MultipartFile; import top.catalinali.common.util.FastDFSClient; import top.catalinali.common.util.JsonUtils; import java.util.HashMap; import java.util.Map; /** *
             * Description:
             * Copyright:	Copyright (c)2017
             * Author:		lllx
             * Version:		1.0
             * Created at:	2017/8/23
             * 
            */ @Controller public class PictureController { @Value("${IMAGE_SERVER_URL}") private String IMAGE_SERVER_URL; @RequestMapping(value="/pic/upload", produces= MediaType.TEXT_PLAIN_VALUE+";charset=utf-8") @ResponseBody public String uploadFile(MultipartFile uploadFile) { try { //把图片上传的图片服务器 FastDFSClient fastDFSClient = new FastDFSClient("classpath:conf/client.conf"); //取文件扩展名 String originalFilename = uploadFile.getOriginalFilename(); String extName = originalFilename.substring(originalFilename.lastIndexOf(".") + 1); //得到一个图片的地址和文件名 String url = fastDFSClient.uploadFile(uploadFile.getBytes(), extName); //补充为完整的url url = IMAGE_SERVER_URL + url; //封装到map中返回 Map result = new HashMap<>(); result.put("error", 0); result.put("url", url); return JsonUtils.objectToJson(result); } catch (Exception e) { e.printStackTrace(); Map result = new HashMap<>(); result.put("error", 1); result.put("message", "图片上传失败"); return JsonUtils.objectToJson(result); } } } ================================================ FILE: taotao-manage-web/src/main/java/top/catalinali/controller/SearchItemController.java ================================================ package top.catalinali.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; import top.catalinali.common.pojo.TaotaoResult; import top.catalinali.search.service.SearchItemService; /** *
             * Description: 导入商品数据到索引库
             * Copyright:	Copyright (c)2017
             * Author:		lllx
             * Version:		1.0
             * Created at:	2017/12/6
             * 
            */ @Controller public class SearchItemController { @Autowired private SearchItemService searchItemService; @RequestMapping("/index/item/import") @ResponseBody public TaotaoResult importItemList() { TaotaoResult taotaoResult = searchItemService.importAllItems(); return taotaoResult; } } ================================================ FILE: taotao-manage-web/src/main/resources/conf/client.conf ================================================ tracker_server=192.168.72.121:22122 ================================================ FILE: taotao-manage-web/src/main/resources/conf/resource.properties ================================================ #\u56FE\u7247\u670D\u52A1\u5668\u7684\u5730\u5740 IMAGE_SERVER_URL=http://192.168.72.121/ ================================================ FILE: taotao-manage-web/src/main/resources/log4j.properties ================================================ log4j.rootLogger=DEBUG,A1 log4j.logger.org.mybatis = DEBUG log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [%t] [%c]-[%p] %m%n ================================================ FILE: taotao-manage-web/src/main/resources/spring/springmvc.xml ================================================ ================================================ FILE: taotao-manage-web/src/main/test/top/catalinali/fast/FastDFSTest.java ================================================ package top.catalinali.fast; import org.csource.fastdfs.*; import org.junit.Test; import top.catalinali.common.util.FastDFSClient; /** *
             * Description: fastDFSTest
             * Copyright:	Copyright (c)2017
             * Author:		lllx
             * Version:		1.0
             * Created at:	2017/12/26
             * 
            */ public class FastDFSTest { @Test public void testUpload() throws Exception { //创建一个配置文件。文件名任意。内容就是tracker服务器的地址。 //使用全局对象加载配置文件。 ClientGlobal.init("F:/TaoTao/ideaTaotao/taotao-manage-web/src/main/resources/conf/client.conf"); //创建一个TrackerClient对象 TrackerClient trackerClient = new TrackerClient(); //通过TrackClient获得一个TrackerServer对象 TrackerServer trackerServer = trackerClient.getConnection(); //创建一个StrorageServer的引用,可以是null StorageServer storageServer = null; //创建一个StorageClient,参数需要TrackerServer和StrorageServer StorageClient storageClient = new StorageClient(trackerServer, storageServer); //使用StorageClient上传文件。 String[] strings = storageClient.upload_file("C:/Users/TDH/Desktop/v2.jpg", "jpg", null); for (String string : strings) { System.out.println(string); } } @Test public void testFastDfsClient() throws Exception { FastDFSClient fastDFSClient = new FastDFSClient("F:/TaoTao/ideaTaotao/taotao-manage-web/src/main/resources/conf/client.conf"); String string = fastDFSClient.uploadFile("C:/Users/TDH/Desktop/v2.jpg"); System.out.println(string); } } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/css/default.css ================================================ /* @eric */ * { font-size: 12px; font-family: Tahoma, Verdana, 微软雅黑, 宋体 } body { background: #D2E0F2; } input { width: 140px; vertical-align: middle; padding: 2px 2px 2px 2px; border-width: 1px; border-left: 1px solid #B2B2B2; border-top: 1px solid #B2B2B2; border-bottom: 1px solid #B2B2B2; border-right: 1px solid #B2B2B2; } textarea { padding: 0px; overflow-y: auto; border: 1px solid #B2B2B2; } input[readonly] { background-color: #EBEBE4; } .radio { margin: 0; padding: 0; width: 14px; height: 14px; border: 0px; } a { color: Black; text-decoration: none; } a:hover { color: Red; text-decoration: underline; } #body { border: 0; padding: 3px; overflow: hidden; } #search_area { margin-bottom: 3px; border: 1px solid #99BBE8; background-color: #EFEFEF; } #openOrClose { display: block; cursor: pointer; background: url(../images/open.jpg) 0 0 no-repeat; margin: 0px auto; padding: 0px; width: 50px; height: 5px; overflow: hidden; text-indent: -999px; } .footer { text-align: center; color: #15428B; margin: 0px; padding: 0px; line-height: 23px; font-weight: bold; } .windowButton { text-align: right; position: absolute; bottom: 10px; right: 7px; } .showWindowButton { display:block; width:100%; border:0px solid red; text-align: center; height: auto; line-height: 30px; position: absolute; bottom: 10px; /*right: 7px;*/ margin: 0 auto; } .showDetail { color: blue; text-decoration: underline; } .clearable { background-color: #EBEBE4; } .my-dialog-button { margin-right: 3px; border: 1px solid #ccc !important; padding: 0 5px 0 0 !important; } .my-search-button { margin-right: 3px; border: 1px solid #ccc !important; padding: 0 5px 0 0 !important; background: url('../images/button_plain_hover.png') repeat-x !important; } .x { color: #FF0000; } #parent_win { display:block; overflow:hidden; } .northTitle { font-family:'微软雅黑'; font-size:24px; font-weight:bold; height:60px; line-height:40px; } .loginInfo { border:0px solid red; display:block; position:absolute; bottom:5px; right:10px; } #sysVersion{ border:0px solid red; height:25px; overflow:hidden; position:absolute; left:10px; } #nowTime{ border:0px solid red; height:25px; width:200px; text-align:left; overflow:hidden; position:absolute; right:10px; } #conditon{ overflow:hidden; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/css/e3.css ================================================ ul{ list-style: none; } .hide{ display: none; } .itemParam ul{ padding-left: 0px; } .itemParam li{ line-height: 25px; } .itemForm .pics ul{ list-style: none; padding-left: 0px; } .itemForm .pics ul li{ float: left; padding-right: 5px; } .itemForm .group{ font-weight: bold; text-align: center; background-color: #EAEAEA; } .itemForm .param{ width: 80px; text-align: right; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/common.js ================================================ Date.prototype.format = function(format){ var o = { "M+" : this.getMonth()+1, //month "d+" : this.getDate(), //day "h+" : this.getHours(), //hour "m+" : this.getMinutes(), //minute "s+" : this.getSeconds(), //second "q+" : Math.floor((this.getMonth()+3)/3), //quarter "S" : this.getMilliseconds() //millisecond }; if(/(y+)/.test(format)){ format = format.replace(RegExp.$1, (this.getFullYear()+"").substr(4 - RegExp.$1.length)); } for(var k in o) { if(new RegExp("("+ k +")").test(format)){ format = format.replace(RegExp.$1, RegExp.$1.length==1 ? o[k] : ("00"+ o[k]).substr((""+ o[k]).length)); } } return format; }; var E3 = { // 编辑器参数 kingEditorParams : { //指定上传文件参数名称 filePostName : "uploadFile", //指定上传文件请求的url。 uploadJson : '/pic/upload', //上传类型,分别为image、flash、media、file dir : "image" }, // 格式化时间 formatDateTime : function(val,row){ var now = new Date(val); return now.format("yyyy-MM-dd hh:mm:ss"); }, // 格式化连接 formatUrl : function(val,row){ if(val){ return "查看"; } return ""; }, // 格式化价格 formatPrice : function(val,row){ return (val/1000).toFixed(2); }, // 格式化商品的状态 formatItemStatus : function formatStatus(val,row){ if (val == 1){ return '正常'; } else if(val == 2){ return '下架'; } else { return '未知'; } }, init : function(data){ // 初始化图片上传组件 this.initPicUpload(data); // 初始化选择类目组件 this.initItemCat(data); }, // 初始化图片上传组件 initPicUpload : function(data){ $(".picFileUpload").each(function(i,e){ var _ele = $(e); _ele.siblings("div.pics").remove(); _ele.after('\
            \
              \
              '); // 回显图片 if(data && data.pics){ var imgs = data.pics.split(","); for(var i in imgs){ if($.trim(imgs[i]).length > 0){ _ele.siblings(".pics").find("ul").append("
            • "); } } } //给“上传图片按钮”绑定click事件 $(e).click(function(){ var form = $(this).parentsUntil("form").parent("form"); //打开图片上传窗口 KindEditor.editor(E3.kingEditorParams).loadPlugin('multiimage',function(){ var editor = this; editor.plugin.multiImageDialog({ clickFn : function(urlList) { var imgArray = []; KindEditor.each(urlList, function(i, data) { imgArray.push(data.url); form.find(".pics ul").append("
            • "); }); form.find("[name=image]").val(imgArray.join(",")); editor.hideDialog(); } }); }); }); }); }, // 初始化选择类目组件 initItemCat : function(data){ $(".selectItemCat").each(function(i,e){ var _ele = $(e); if(data && data.cid){ _ele.after(""+data.cid+""); }else{ _ele.after(""); } _ele.unbind('click').click(function(){ $("
              ").css({padding:"5px"}).html("
                ") .window({ width:'500', height:"450", modal:true, closed:true, iconCls:'icon-save', title:'选择类目', onOpen : function(){ var _win = this; $("ul",_win).tree({ url:'/item/cat/list', animate:true, onClick : function(node){ if($(this).tree("isLeaf",node.target)){ // 填写到cid中 _ele.parent().find("[name=cid]").val(node.id); _ele.next().text(node.text).attr("cid",node.id); $(_win).window('close'); if(data && data.fun){ data.fun.call(this,node); } } } }); }, onClose : function(){ $(this).window("destroy"); } }).window('open'); }); }); }, createEditor : function(select){ return KindEditor.create(select, E3.kingEditorParams); }, /** * 创建一个窗口,关闭窗口后销毁该窗口对象。
                * * 默认:
                * width : 80%
                * height : 80%
                * title : (空字符串)
                * * 参数:
                * width :
                * height :
                * title :
                * url : 必填参数
                * onLoad : function 加载完窗口内容后执行
                * * */ createWindow : function(params){ $("
                ").css({padding:"5px"}).window({ width : params.width?params.width:"80%", height : params.height?params.height:"80%", modal:true, title : params.title?params.title:" ", href : params.url, onClose : function(){ $(this).window("destroy"); }, onLoad : function(){ if(params.onLoad){ params.onLoad.call(this); } } }).window("open"); }, closeCurrentWindow : function(){ $(".panel-tool-close").click(); }, changeItemParam : function(node,formId){ $.getJSON("/item/param/query/itemcatid/" + node.id,function(data){ if(data.status == 200 && data.data){ $("#"+formId+" .params").show(); var paramData = JSON.parse(data.data.paramData); var html = "
                  "; for(var i in paramData){ var pd = paramData[i]; html+="
                • "; html+=""; for(var j in pd.params){ var ps = pd.params[j]; html+=""; } html+="
                  "+pd.group+"
                  "+ps+":
                  "; } html+= "
                "; $("#"+formId+" .params td").eq(1).html(html); }else{ $("#"+formId+" .params").hide(); $("#"+formId+" .params td").eq(1).empty(); } }); }, getSelectionsIds : function (select){ var list = $(select); var sels = list.datagrid("getSelections"); var ids = []; for(var i in sels){ ids.push(sels[i].id); } ids = ids.join(","); return ids; }, /** * 初始化单图片上传组件
                * 选择器为:.onePicUpload
                * 上传完成后会设置input内容以及在input后面追加 */ initOnePicUpload : function(){ $(".onePicUpload").click(function(){ var _self = $(this); KindEditor.editor(E3.kingEditorParams).loadPlugin('image', function() { this.plugin.imageDialog({ showRemote : false, clickFn : function(url, title, width, height, border, align) { var input = _self.siblings("input"); input.parent().find("img").remove(); input.val(url); input.after(""); this.hideDialog(); } }); }); }); } }; ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/changelog.txt ================================================ Version 1.4.1 ------------- * Bug * combogrid: The combogrid has different height than other combo components. fixed. * datagrid: The row element loses some class style value after calling 'updateRow' method. fixed. * menubutton: Calling 'enable' method on a disabled button can not work well. fixed. * form: The filebox components in the form do not work correctly after calling 'clear' method. fixed. * Improvement * tabs: The 'update' method accepts 'type' option that allows the user to update the header,body,or both. * panel: Add 'openAnimation','openDuration','closeAnimation' and 'closeDuration' properties to set the animation for opening or closing a panel. * panel: Add 'footer' property that allows the user to add a footer bar to the bottom of panel. * datagrid: Calling 'endEdit' method will accept the editing value correctly. * datagrid: Add 'onBeforeSelect','onBeforeCheck','onBeforeUnselect','onBeforeUncheck' events. * propertygrid: The user can edit a row by calling 'beginEdit' method. * datebox: Add 'cloneFrom' method to create the datebox component quickly. * datetimebox: Add 'cloneFrom' method to create the datetimebox component quickly. Version 1.4 ------------- * Bug * menu: The menu should not has a correct height when removed a menu item. fixed. * datagrid: The 'fitColumns' method does not work normally when the datarid width is too small. fixed. * Improvement * The fluid/percentange size is supported now for all easyui components. * menu: Add 'showItem', 'hideItem' and 'resize' methods. * menu: Auto resize the height upon the window size. * menu: Add 'duration' property that allows the user to define duration time in milliseconds to hide menu. * validatebox: Add 'onBeforeValidate' and 'onValidate' events. * combo: Extended from textbox now. * combo: Add 'panelMinWidth','panelMaxWidth','panelMinHeight' and 'panelMaxHeight' properties. * searchbox: Extended from textbox now. * tree: The 'getRoot' method will return the top parent node of a specified node if pass a 'nodeEl' parameter. * tree: Add 'queryParams' property. * datetimebox: Add 'spinnerWidth' property. * panel: Add 'doLayout' method to cause the panel to lay out its components. * panel: Add 'clear' method to clear the panel's content. * datagrid: The user is allowed to assign percent width to columns. * form: Add 'ajax','novalidate' and 'queryParams' properties. * linkbutton: Add 'resize' method. * New Plugins * textbox: A enhanced input field that allows users build their form easily. * datetimespinner: A date and time spinner that allows to pick a specific day. * filebox: The filebox component represents a file field of the forms. Version 1.3.6 ------------- * Bug * treegrid: The 'getChecked' method can not return correct checked rows. fixed. * tree: The checkbox does not display properly on async tree when 'onlyLeafCheck' property is true. fixed. * Improvement * treegrid: All the selecting and checking methods are extended from datagrid component. * linkbutton: The icon alignment is fully supported, possible values are: 'top','bottom','left','right'. * linkbutton: Add 'size' property, possible values are: 'small','large'. * linkbutton: Add 'onClick' event. * menubutton: Add 'menuAlign' property that allows the user set top level menu alignment. * combo: Add 'panelAlign' property, possible values are: 'left','right'. * calendar: The 'formatter','styler' and 'validator' options are available to custom the calendar dates. * calendar: Add 'onChange' event. * panel: Add 'method','queryParams' and 'loader' options. * panel: Add 'onLoadError' event. * datagrid: Add 'onBeginEdit' event that fires when a row goes into edit mode. * datagrid: Add 'onEndEdit' event that fires when finishing editing but before destroying editors. * datagrid: Add 'sort' method and 'onBeforeSortColumn' event. * datagrid: The 'combogrid' editor has been integrated into datagrid. * datagrid: Add 'ctrlSelect' property that only allows multi-selection when ctrl+click is used. * slider: Add 'converter' option that allows users determine how to convert a value to the slider position or the slider position to the value. * searchbox: Add 'disabled' property. * searchbox: Add 'disable','enable','clear','reset' methods. * spinner: Add 'readonly' property, 'readonly' method and 'onChange' event. Version 1.3.5 ------------- * Bug * searchbox: The 'searcher' function can not offer 'name' parameter value correctly. fixed. * combo: The 'isValid' method can not return boolean value. fixed. * combo: Clicking combo will trigger the 'onHidePanel' event of other combo components that have hidden drop-down panels. fixed. * combogrid: Some methods can not inherit from combo. fixed. * Improvement * datagrid: Improve performance on checking rows. * menu: Allows to append a menu separator. * menu: Add 'hideOnUnhover' property to indicate if the menu should be hidden when mouse exits it. * slider: Add 'clear' and 'reset' methods. * tabs: Add 'unselect' method that will trigger 'onUnselect' event. * tabs: Add 'selected' property to specify what tab panel will be opened. * tabs: The 'collapsible' property of tab panel is supported to determine if the tab panel can be collapsed. * tabs: Add 'showHeader' property, 'showHeader' and 'hideHeader' methods. * combobox: The 'disabled' property can be used to disable some items. * tree: Improve loading performance. * pagination: The 'layout' property can be used to customize the pagination layout. * accordion: Add 'unselect' method that will trigger 'onUnselect' event. * accordion: Add 'selected' and 'multiple' properties. * accordion: Add 'getSelections' method. * datebox: Add 'sharedCalendar' property that allows multiple datebox components share one calendar component. Version 1.3.4 ------------- * Bug * combobox: The onLoadSuccess event fires when parsing empty local data. fixed. * form: Calling 'reset' method can not reset datebox field. fixed. * Improvement * mobile: The context menu and double click features are supported on mobile devices. * combobox: The 'groupField' and 'groupFormatter' options are available to display items in groups. * tree: When append or insert nodes, the 'data' parameter accepts one or more nodes data. * tree: The 'getChecked' method accepts a single 'state' or an array of 'state'. * tree: Add 'scrollTo' method. * datagrid: The 'multiSort' property is added to support multiple column sorting. * datagrid: The 'rowStyler' and column 'styler' can return CSS class name or inline styles. * treegrid: Add 'load' method to load data and navigate to the first page. * tabs: Add 'tabWidth' and 'tabHeight' properties. * validatebox: The 'novalidate' property is available to indicate whether to perform the validation. * validatebox: Add 'enableValidation' and 'disableValidation' methods. * form: Add 'enableValidation' and 'disableValidation' methods. * slider: Add 'onComplete' event. * pagination: The 'buttons' property accepts the existing element. Version 1.3.3 ------------- * Bug * datagrid: Some style features are not supported by column styler function. fixed. * datagrid: IE 31 stylesheet limit. fixed. * treegrid: Some style features are not supported by column styler function. fixed. * menu: The auto width of menu item displays incorrect in ie6. fixed. * combo: The 'onHidePanel' event can not fire when clicked outside the combo area. fixed. * Improvement * datagrid: Add 'scrollTo' and 'highlightRow' methods. * treegrid: Enable treegrid to parse data from element. * combo: Add 'selectOnNavigation' and 'readonly' options. * combobox: Add 'loadFilter' option to allow users to change data format before loading into combobox. * tree: Add 'onBeforeDrop' callback event. * validatebox: Dependent on tooltip plugin now, add 'deltaX' property. * numberbox: The 'filter' options can be used to determine if the key pressed was accepted. * linkbutton: The group button is available. * layout: The 'minWidth','maxWidth','minHeight','maxHeight' and 'collapsible' properties are available for region panel. * New Plugins * tooltip: Display a popup message when moving mouse over an element. Version 1.3.2 ------------- * Bug * datagrid: The loading message window can not be centered when changing the width of datagrid. fixed. * treegrid: The 'mergeCells' method can not work normally. fixed. * propertygrid: Calling 'endEdit' method to stop editing a row will cause errors. fixed. * tree: Can not load empty data when 'lines' property set to true. fixed. * Improvement * RTL feature is supported now. * tabs: Add 'scrollBy' method to scroll the tab header by the specified amount of pixels * tabs: Add 'toolPosition' property to set tab tools to left or right. * tabs: Add 'tabPosition' property to define the tab position, possible values are: 'top','bottom','left','right'. * datagrid: Add a column level property 'order' that allows users to define different default sort order per column. * datagrid: Add a column level property 'halign' that allows users to define how to align the column header. * datagrid: Add 'resizeHandle' property to define the resizing column position, by grabbing the left or right edge of the column. * datagrid: Add 'freezeRow' method to freeze some rows that will always be displayed at the top when the datagrid is scrolled down. * datagrid: Add 'clearChecked' method to clear all checked records. * datagrid: Add 'data' property to initialize the datagrid data. * linkbutton: Add 'iconAlgin' property to define the icon position, supported values are: 'left','right'. * menu: Add 'minWidth' property. * menu: The menu width can be automatically calculated. * tree: New events are available including 'onBeforeDrag','onStartDrag','onDragEnter','onDragOver','onDragLeave',etc. * combo: Add 'height' property to allow users to define the height of combo. * combo: Add 'reset' method. * numberbox: Add 'reset' method. * spinner: Add 'reset' method. * spinner: Add 'height' property to allow users to define the height of spinner. * searchbox: Add 'height' property to allow users to define the height of searchbox. * form: Add 'reset' method. * validatebox: Add 'delay' property to delay validating from the last inputting value. * validatebox: Add 'tipPosition' property to define the tip position, supported values are: 'left','right'. * validatebox: Multiple validate rules on a field is supported now. * slider: Add 'reversed' property to determine if the min value and max value will switch their positions. * progressbar: Add 'height' property to allow users to define the height of progressbar. Version 1.3.1 ------------- * Bug * datagrid: Setting the 'pageNumber' property is not valid. fixed. * datagrid: The id attribute of rows isn't adjusted properly while calling 'insertRow' or 'deleteRow' method. * dialog: When load content from 'href', the script will run twice. fixed. * propertygrid: The editors that extended from combo can not accept its changed value. fixed. * Improvement * droppable: Add 'disabled' property. * droppable: Add 'options','enable' and 'disable' methods. * tabs: The tab panel tools can be changed by calling 'update' method. * messager: When show a message window, the user can define the window position by applying 'style' property. * window: Prevent script on window body from running twice. * window: Add 'hcenter','vcenter' and 'center' methods. * tree: Add 'onBeforeCheck' callback event. * tree: Extend the 'getChecked' method to allow users to get 'checked','unchecked' or 'indeterminate' nodes. * treegrid: Add 'update' method to update a specified node. * treegrid: Add 'insert' method to insert a new node. * treegrid: Add 'pop' method to remove a node and get the removed node data. Version 1.3 ----------- * Bug * combogrid: When set to 'remote' query mode, the 'queryParams' parameters can't be sent to server. fixed. * combotree: The tree nodes on drop-down panel can not be unchecked while calling 'clear' method. fixed. * datetimebox: Setting 'showSeconds' property to false cannot hide seconds info. fixed. * datagrid: Calling 'mergeCells' method can't auto resize the merged cell while header is hidden. fixed. * dialog: Set cache to false and load data via ajax, the content cannot be refreshed. fixed. * Improvement * The HTML5 'data-options' attribute is available for components to declare all custom options, including properties and events. * More detailed documentation is available. * panel: Prevent script on panel body from running twice. * accordion: Add 'getPanelIndex' method. * accordion: The tools can be added on panel header. * datetimebox: Add 'timeSeparator' option that allows users to define the time separator. * pagination: Add 'refresh' and 'select' methods. * datagrid: Auto resize the column width to fit the contents when the column width is not defined. * datagrid: Double click on the right border of columns to auto resize the columns to the contents in the columns. * datagrid: Add 'autoSizeColumn' method that allows users to adjust the column width to fit the contents. * datagrid: Add 'getChecked' method to get all rows where the checkbox has been checked. * datagrid: Add 'selectOnCheck' and 'checkOnSelect' properties and some checking methods to enhance the row selections. * datagrid: Add 'pagePosition' property to allow users to display pager bar at either top,bottom or both places of the grid. * datagrid: The buffer view and virtual scroll view are supported to display large amounts of records without pagination. * tabs: Add 'disableTab' and 'enableTab' methods to allow users to disable or enable a tab panel. Version 1.2.6 ------------- * Bug * tabs: Call 'add' method with 'selected:false' option, the added tab panel is always selected. fixed. * treegrid: The 'onSelect' and 'onUnselect' events can't be triggered. fixed. * treegrid: Cannot display zero value field. fixed. * Improvement * propertygrid: Add 'expandGroup' and 'collapseGroup' methods. * layout: Allow users to create collapsed layout panels by assigning 'collapsed' property to true. * layout: Add 'add' and 'remove' methods that allow users to dynamically add or remove region panel. * layout: Additional tool icons can be added on region panel header. * calendar: Add 'firstDay' option that allow users to set first day of week. Sunday is 0, Monday is 1, ... * tree: Add 'lines' option, true to display tree lines. * tree: Add 'loadFilter' option that allow users to change data format before loading into the tree. * tree: Add 'loader' option that allow users to define how to load data from remote server. * treegrid: Add 'onClickCell' and 'onDblClickCell' callback function options. * datagrid: Add 'autoRowHeight' property that allow users to determine if set the row height based on the contents of that row. * datagrid: Improve performance to load large data set. * datagrid: Add 'loader' option that allow users to define how to load data from remote server. * treegrid: Add 'loader' option that allow users to define how to load data from remote server. * combobox: Add 'onBeforeLoad' callback event function. * combobox: Add 'loader' option that allow users to define how to load data from remote server. * Add support for other loading mode such as dwr,xml,etc. * New Plugins * slider: Allows the user to choose a numeric value from a finite range. Version 1.2.5 ------------- * Bug * tabs: When add a new tab panel with href property, the content page is loaded twice. fixed. * form: Failed to call 'load' method to load form input with complex name. fixed. * draggable: End drag in ie9, the cursor cannot be restored. fixed. * Improvement * panel: The tools can be defined via html markup. * tabs: Call 'close' method to close specified tab panel, users can pass tab title or index of tab panel. Other methods such 'select','getTab' and 'exists' are similar to 'close' method. * tabs: Add 'getTabIndex' method. * tabs: Users can define mini tools on tabs. * tree: The mouse must move a specified distance to begin drag and drop operation. * resizable: Add 'options','enable' and 'disable' methods. * numberbox: Allow users to change number format. * datagrid: The subgrid is supported now. * searchbox: Add 'selectName' method to select searching type name. Version 1.2.4 ------------- * Bug * menu: The menu position is wrong when scroll bar appears. fixed. * accordion: Cannot display the default selected panel in jQuery 1.6.2. fixed. * tabs: Cannot display the default selected tab panel in jQuery 1.6.2. fixed. * Improvement * menu: Allow users to disable or enable menu item. * combo: Add 'delay' property to set the delay time to do searching from the last key input event. * treegrid: The 'getEditors' and 'getEditor' methods are supported now. * treegrid: The 'loadFilter' option is supported now. * messager: Add 'progress' method to display a message box with a progress bar. * panel: Add 'extractor' option to allow users to extract panel content from ajax response. * New Plugins * searchbox: Allow users to type words into box and do searching operation. * progressbar: To display the progress of a task. Version 1.2.3 ------------- * Bug * window: Cannot resize the window with iframe content. fixed. * tree: The node will be removed when dragging to its child. fixed. * combogrid: The onChange event fires multiple times. fixed. * accordion: Cannot add batch new panels when animate property is set to true. fixed. * Improvement * treegrid: The footer row and row styler features are supported now. * treegrid: Add 'getLevel','reloadFooter','getFooterRows' methods. * treegrid: Support root nodes pagination and editable features. * datagrid: Add 'getFooterRows','reloadFooter','insertRow' methods and improve editing performance. * datagrid: Add 'loadFilter' option that allow users to change original source data to standard data format. * draggable: Add 'onBeforeDrag' callback event function. * validatebox: Add 'remote' validation type. * combobox: Add 'method' option. * New Plugins * propertygrid: Allow users to edit property value in datagrid. Version 1.2.2 ------------- * Bug * datagrid: Apply fitColumns cannot work fine while set checkbox column. fixed. * datagrid: The validateRow method cannot return boolean type value. fixed. * numberbox: Cannot fix value in chrome when min or max property isn't defined. fixed. * Improvement * menu: Add some crud methods. * combo: Add hasDownArrow property to determine whether to display the down arrow button. * tree: Supports inline editing. * calendar: Add some useful methods such as 'resize', 'moveTo' etc. * timespinner: Add some useful methods. * datebox: Refactoring based on combo and calendar plugin now. * datagrid: Allow users to change row style in some conditions. * datagrid: Users can use the footer row to display summary information. * New Plugins * datetimebox: Combines datebox with timespinner component. Version 1.2.1 ------------- * Bug * easyloader: Some dependencies cannot be loaded by their order. fixed. * tree: The checkbox is setted incorrectly when removing a node. fixed. * dialog: The dialog layout incorrectly when 'closed' property is setted to true. fixed. * Improvement * parser: Add onComplete callback function that can indicate whether the parse action is complete. * menu: Add onClick callback function and some other methods. * tree: Add some useful methods. * tree: Drag and Drop feature is supported now. * tree: Add onContextMenu callback function. * tabs: Add onContextMenu callback function. * tabs: Add 'tools' property that can create buttons on right bar. * datagrid: Add onHeaderContextMenu and onRowContextMenu callback functions. * datagrid: Custom view is supported. * treegrid: Add onContextMenu callback function and append,remove methods. Version 1.2 ------------- * Improvement * tree: Add cascadeCheck,onlyLeafCheck properties and select event. * combobox: Enable multiple selection. * combotree: Enable multiple selection. * tabs: Remember the trace of selection, when current tab panel is closed, the previous selected tab will be selected. * datagrid: Extend from panel, so many properties defined in panel can be used for datagrid. * New Plugins * treegrid: Represent tabular data in hierarchical view, combines tree view and datagrid. * combo: The basic component that allow user to extend their combo component such as combobox,combotree,etc. * combogrid: Combines combobox with drop-down datagrid component. * spinner: The basic plugin to create numberspinner,timespinner,etc. * numberspinner: The numberbox that allow user to change value by clicking up and down spin buttons. * timespinner: The time selector that allow user to quickly inc/dec a time. Version 1.1.2 ------------- * Bug * messager: When call show method in layout, the message window will be blocked. fixed. * Improvement * datagrid: Add validateRow method, remember the current editing row status when do editing action. * datagrid: Add the ability to create merged cells. * form: Add callback functions when loading data. * panel,window,dialog: Add maximize,minimize,restore,collapse,expand methods. * panel,tabs,accordion: The lazy loading feature is supported. * tabs: Add getSelected,update,getTab methods. * accordion: Add crud methods. * linkbutton: Accept an id option to set the id attribute. * tree: Enhance tree node operation. Version 1.1.1 ------------- * Bug * form: Cannot clear the value of combobox and combotree component. fixed. * Improvement * tree: Add some useful methods such as 'getRoot','getChildren','update',etc. * datagrid: Add editable feature, improve performance while loading data. * datebox: Add destroy method. * combobox: Add destroy and clear method. * combotree: Add destroy and clear method. Version 1.1 ------------- * Bug * messager: When call show method with timeout property setted, an error occurs while clicking the close button. fixed. * combobox: The editable property of combobox plugin is invalid. fixed. * window: The proxy box will not be removed when dragging or resizing exceed browser border in ie. fixed. * Improvement * menu: The menu item can use markup to display a different page. * tree: The tree node can use markup to act as a tree menu. * pagination: Add some event on refresh button and page list. * datagrid: Add a 'param' parameter for reload method, with which users can pass query parameter when reload data. * numberbox: Add required validation support, the usage is same as validatebox plugin. * combobox: Add required validation support. * combotree: Add required validation support. * layout: Add some method that can get a region panel and attach event handlers. * New Plugins * droppable: A droppable plugin that supports drag drop operation. * calendar: A calendar plugin that can either be embedded within a page or popup. * datebox: Combines a textbox with a calendar that let users to select date. * easyloader: A JavaScript loader that allows you to load plugin and their dependencies into your page. Version 1.0.5 * Bug * panel: The fit property of panel performs incorrectly. fixed. * Improvement * menu: Add a href attribute for menu item, with which user can display a different page in the current browser window. * form: Add a validate method to do validation for validatebox component. * dialog: The dialog can read collapsible,minimizable,maximizable and resizable attribute from markup. * New Plugins * validatebox: A validation plugin that checks to make sure the user's input value is valid. Version 1.0.4 ------------- * Bug * panel: When panel is invisible, it is abnormal when resized. fixed. * panel: Memory leak in method 'destroy'. fixed. * messager: Memory leak when messager box is closed. fixed. * dialog: No onLoad event occurs when loading remote data. fixed. * Improvement * panel: Add method 'setTitle'. * window: Add method 'setTitle'. * dialog: Add method 'setTitle'. * combotree: Add method 'getValue'. * combobox: Add method 'getValue'. * form: The 'load' method can load data and fill combobox and combotree field correctly. Version 1.0.3 ------------- * Bug * menu: When menu is show in a DIV container, it will be cropped. fixed. * layout: If you collpase a region panel and then expand it immediately, the region panel will not show normally. fixed. * accordion: If no panel selected then the first one will become selected and the first panel's body height will not set correctly. fixed. * Improvement * tree: Add some methods to support CRUD operation. * datagrid: Toolbar can accept a new property named 'disabled' to disable the specified tool button. * New Plugins * combobox: Combines a textbox with a list of options that users are able to choose from. * combotree: Combines combobox with drop-down tree component. * numberbox: Make input element can only enter number char. * dialog: rewrite the dialog plugin, dialog can contains toolbar and buttons. ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/accordion/_content.html ================================================ AJAX Content

                Here is the content loaded via AJAX.

                • easyui is a collection of user-interface plugin based on jQuery.
                • easyui provides essential functionality for building modern, interactive, javascript applications.
                • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
                • complete framework for HTML5 web page.
                • easyui save your time and scales while developing your products.
                • easyui is very easy but powerful.
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/accordion/actions.html ================================================ Accordion Actions - jQuery EasyUI Demo

                Accordion Actions

                Click the buttons below to add or remove accordion items.

                Accordion for jQuery

                Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/accordion/ajax.html ================================================ Loading Accordion Content with AJAX - jQuery EasyUI Demo

                Loading Accordion Content with AJAX

                Click AJAX panel header to load content via AJAX.

                Accordion for jQuery

                Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

                The accordion allows you to provide multiple panels and display one or more at a time. Each panel has built-in support for expanding and collapsing. Clicking on a panel header to expand or collapse that panel body. The panel content can be loaded via ajax by specifying a 'href' property. Users can define a panel to be selected. If it is not specified, then the first panel is taken by default.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/accordion/basic.html ================================================ Basic Accordion - jQuery EasyUI Demo

                Basic Accordion

                Click on panel header to show its content.

                Accordion for jQuery

                Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

                The accordion allows you to provide multiple panels and display one or more at a time. Each panel has built-in support for expanding and collapsing. Clicking on a panel header to expand or collapse that panel body. The panel content can be loaded via ajax by specifying a 'href' property. Users can define a panel to be selected. If it is not specified, then the first panel is taken by default.

                • Foods
                  • Fruits
                    • apple
                    • orange
                  • Vegetables
                    • tomato
                    • carrot
                    • cabbage
                    • potato
                    • lettuce
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/accordion/datagrid_data1.json ================================================ {"total":28,"rows":[ {"productid":"FI-SW-01","productname":"Koi","unitcost":10.00,"status":"P","listprice":36.50,"attr1":"Large","itemid":"EST-1"}, {"productid":"K9-DL-01","productname":"Dalmation","unitcost":12.00,"status":"P","listprice":18.50,"attr1":"Spotted Adult Female","itemid":"EST-10"}, {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":38.50,"attr1":"Venomless","itemid":"EST-11"}, {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":26.50,"attr1":"Rattleless","itemid":"EST-12"}, {"productid":"RP-LI-02","productname":"Iguana","unitcost":12.00,"status":"P","listprice":35.50,"attr1":"Green Adult","itemid":"EST-13"}, {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":158.50,"attr1":"Tailless","itemid":"EST-14"}, {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":83.50,"attr1":"With tail","itemid":"EST-15"}, {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":23.50,"attr1":"Adult Female","itemid":"EST-16"}, {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":89.50,"attr1":"Adult Male","itemid":"EST-17"}, {"productid":"AV-CB-01","productname":"Amazon Parrot","unitcost":92.00,"status":"P","listprice":63.50,"attr1":"Adult Male","itemid":"EST-18"} ]} ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/accordion/expandable.html ================================================ Keep Expandable Panel in Accordion - jQuery EasyUI Demo

                Keep Expandable Panel in Accordion

                Keep a expandable panel and prevent it from collapsing.

                Accordion for jQuery

                Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

                Content1

                Content2

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/accordion/fluid.html ================================================ Fluid Accordion - jQuery EasyUI Demo

                Fluid Accordion

                This example shows how to set the width of accordion to a percentage of its parent container.

                width: 100%

                width: 50%

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/accordion/multiple.html ================================================ Multiple Accordion Panels - jQuery EasyUI Demo

                Multiple Accordion Panels

                Enable 'multiple' mode to expand multiple panels at one time.

                A programming language is a formal language designed to communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine and/or to express algorithms precisely.

                Java (Indonesian: Jawa) is an island of Indonesia. With a population of 135 million (excluding the 3.6 million on the island of Madura which is administered as part of the provinces of Java), Java is the world's most populous island, and one of the most densely populated places in the world.

                C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.

                A dynamic, reflective, general-purpose object-oriented programming language.

                Fortran (previously FORTRAN) is a general-purpose, imperative programming language that is especially suited to numeric computation and scientific computing.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/accordion/tools.html ================================================ Accordion Tools - jQuery EasyUI Demo

                Accordion Tools

                Click the tools on top right of panel to perform actions.

                Accordion for jQuery

                Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

                The accordion allows you to provide multiple panels and display one ore more at a time. Each panel has built-in support for expanding and collapsing. Clicking on a panel header to expand or collapse that panel body. The panel content can be loaded via ajax by specifying a 'href' property. Users can define a panel to be selected. If it is not specified, then the first panel is taken by default.

                Item ID Product ID List Price Unit Cost Attribute Status
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/calendar/basic.html ================================================ Basic Calendar - jQuery EasyUI Demo

                Basic Calendar

                Click to select date.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/calendar/custom.html ================================================ Custom Calendar - jQuery EasyUI Demo

                Custom Calendar

                This example shows how to custom the calendar date by using 'formatter' function.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/calendar/disabledate.html ================================================ Disable Calendar Date - jQuery EasyUI Demo

                Disable Calendar Date

                This example shows how to disable specified dates, only allows the user to select Mondays.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/calendar/firstday.html ================================================ First Day of Week - jQuery EasyUI Demo

                First Day of Week

                Choose the first day of the week.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/calendar/fluid.html ================================================ Fluid Calendar - jQuery EasyUI Demo

                Fluid Calendar

                This example shows how to set the width of calendar to a percentage of its parent container.

                width: 50%, height: 250px

                width: 30%, height: 40%

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combo/animation.html ================================================ Combo Animation - jQuery EasyUI Demo

                Combo Animation

                Change the animation type when open & close the drop-down panel.

                Animation Type:
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combo/basic.html ================================================ Basic Combo - jQuery EasyUI Demo

                Basic Combo

                Click the right arrow button to show drop down panel that can be filled with any content.

                Select a language
                Java
                C#
                Ruby
                Basic
                Fortran
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combobox/actions.html ================================================ ComboBox Actions - jQuery EasyUI Demo

                ComboBox

                Click the buttons below to perform actions.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combobox/basic.html ================================================ Basic ComboBox - jQuery EasyUI Demo

                Basic ComboBox

                Type in ComboBox to try auto complete.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combobox/combobox_data1.json ================================================ [{ "id":1, "text":"Java", "desc":"Write once, run anywhere" },{ "id":2, "text":"C#", "desc":"One of the programming languages designed for the Common Language Infrastructure" },{ "id":3, "text":"Ruby", "selected":true, "desc":"A dynamic, reflective, general-purpose object-oriented programming language" },{ "id":4, "text":"Perl", "desc":"A high-level, general-purpose, interpreted, dynamic programming language" },{ "id":5, "text":"Basic", "desc":"A family of general-purpose, high-level programming languages" }] ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combobox/combobox_data2.json ================================================ [{ "value":"f20", "text":"Firefox 2.0 or higher", "group":"Firefox" },{ "value":"f15", "text":"Firefox 1.5.x", "group":"Firefox" },{ "value":"f10", "text":"Firefox 1.0.x", "group":"Firefox" },{ "value":"ie7", "text":"Microsoft Internet Explorer 7.0 or higher", "group":"Microsoft Internet Explorer" },{ "value":"ie6", "text":"Microsoft Internet Explorer 6.x", "group":"Microsoft Internet Explorer" },{ "value":"ie5", "text":"Microsoft Internet Explorer 5.x", "group":"Microsoft Internet Explorer" },{ "value":"ie4", "text":"Microsoft Internet Explorer 4.x", "group":"Microsoft Internet Explorer" },{ "value":"op9", "text":"Opera 9.0 or higher", "group":"Opera" },{ "value":"op8", "text":"Opera 8.x", "group":"Opera" },{ "value":"op7", "text":"Opera 7.x", "group":"Opera" },{ "value":"Safari", "text":"Safari" },{ "value":"Other", "text":"Other" }] ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combobox/customformat.html ================================================ Custom Format in ComboBox - jQuery EasyUI Demo

                Custom Format in ComboBox

                This sample shows how to custom the format of list item.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combobox/dynamicdata.html ================================================ Load Dynamic ComboBox Data - jQuery EasyUI Demo

                Load Dynamic ComboBox Data

                Click the button below to load data.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combobox/fluid.html ================================================ Fluid ComboBox - jQuery EasyUI Demo

                Fluid ComboBox

                This example shows how to set the width of combobox to a percentage of its parent container.

                width: 50%

                width: 30%

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combobox/group.html ================================================ Group ComboBox - jQuery EasyUI Demo

                Group ComboBox

                This example shows how to display combobox items in groups.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combobox/icons.html ================================================ ComboBox with Extra Icons- jQuery EasyUI Demo

                ComboBox with Extra Icons

                The user can attach extra icons to the ComboBox.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combobox/multiline.html ================================================ Multiline ComboBox - jQuery EasyUI Demo

                Multiline ComboBox

                This example shows how to create a multiline ComboBox.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combobox/multiple.html ================================================ Multiple Select - jQuery EasyUI Demo

                Load Dynamic ComboBox Data

                Drop down the panel and select multiple items.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combobox/navigation.html ================================================ Navigate ComboBox - jQuery EasyUI Demo

                Navigate ComboBox

                Navigate through combobox items width keyboard to select an item.

                SelectOnNavigation
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combobox/remotedata.html ================================================ Binding to Remote Data - jQuery EasyUI Demo

                Binding to Remote Data

                The ComboBox is bound to a remote data.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combobox/remotejsonp.html ================================================ Remote JSONP - jQuery EasyUI Demo

                Remote JSONP

                This sample shows how to use JSONP to retrieve data from a remote site.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combogrid/actions.html ================================================ ComboGrid Actions - jQuery EasyUI Demo

                ComboGrid Actions

                Click the buttons below to perform actions.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combogrid/basic.html ================================================ Basic ComboGrid - jQuery EasyUI Demo

                Basic ComboGrid

                Click the right arrow button to show the DataGrid.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combogrid/datagrid_data1.json ================================================ {"total":28,"rows":[ {"productid":"FI-SW-01","productname":"Koi","unitcost":10.00,"status":"P","listprice":36.50,"attr1":"Large","itemid":"EST-1"}, {"productid":"K9-DL-01","productname":"Dalmation","unitcost":12.00,"status":"P","listprice":18.50,"attr1":"Spotted Adult Female","itemid":"EST-10"}, {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":38.50,"attr1":"Venomless","itemid":"EST-11"}, {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":26.50,"attr1":"Rattleless","itemid":"EST-12"}, {"selected":true,"productid":"RP-LI-02","productname":"Iguana","unitcost":12.00,"status":"P","listprice":35.50,"attr1":"Green Adult","itemid":"EST-13"}, {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":158.50,"attr1":"Tailless","itemid":"EST-14"}, {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":83.50,"attr1":"With tail","itemid":"EST-15"}, {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":23.50,"attr1":"Adult Female","itemid":"EST-16"}, {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":89.50,"attr1":"Adult Male","itemid":"EST-17"}, {"productid":"AV-CB-01","productname":"Amazon Parrot","unitcost":92.00,"status":"P","listprice":63.50,"attr1":"Adult Male","itemid":"EST-18"} ]} ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combogrid/fluid.html ================================================ Fluid ComboGrid - jQuery EasyUI Demo

                Fluid ComboGrid

                This example shows how to set the width of ComboGrid to a percentage of its parent container.

                width: 50%

                width: 30%

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combogrid/initvalue.html ================================================ Initialize Value for ComboGrid - jQuery EasyUI Demo

                Initialize Value for ComboGrid

                Initialize value when ComboGrid is created.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combogrid/multiple.html ================================================ Multiple ComboGrid - jQuery EasyUI Demo

                Multiple ComboGrid

                Click the right arrow button to show the DataGrid and select items.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combogrid/navigation.html ================================================ Navigate ComboGrid - jQuery EasyUI Demo

                Navigate ComboGrid

                Navigate through grid items with keyboard to select an item.

                SelectOnNavigation
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combotree/actions.html ================================================ ComboTree Actions - jQuery EasyUI Demo

                ComboTree Actions

                Click the buttons below to perform actions

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combotree/basic.html ================================================ Basic ComboTree - jQuery EasyUI Demo

                Basic ComboTree

                Click the right arrow button to show the tree panel.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combotree/fluid.html ================================================ Fluid ComboTree - jQuery EasyUI Demo

                Fluid ComboTree

                This example shows how to set the width of ComboTree to a percentage of its parent container.

                width: 50%

                width: 30%, height: 26px

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combotree/initvalue.html ================================================ Initialize Value for ComboTree - jQuery EasyUI Demo

                Initialize Value for ComboTree

                Initialize Value when ComboTree is created.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combotree/multiple.html ================================================ Multiple ComboTree - jQuery EasyUI Demo

                Multiple ComboTree

                Click the right arrow button to show the tree panel and select multiple nodes.

                Cascade Check:
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/combotree/tree_data1.json ================================================ [{ "id":1, "text":"My Documents", "children":[{ "id":11, "text":"Photos", "state":"closed", "children":[{ "id":111, "text":"Friend" },{ "id":112, "text":"Wife" },{ "id":113, "text":"Company" }] },{ "id":12, "text":"Program Files", "children":[{ "id":121, "text":"Intel" },{ "id":122, "text":"Java", "attributes":{ "p1":"Custom Attribute1", "p2":"Custom Attribute2" } },{ "id":123, "text":"Microsoft Office" },{ "id":124, "text":"Games", "checked":true }] },{ "id":13, "text":"index.html" },{ "id":14, "text":"about.html" },{ "id":15, "text":"welcome.html" }] }] ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/aligncolumns.html ================================================ Aligning Columns in DataGrid - jQuery EasyUI Demo

                Aligning Columns in DataGrid

                Use align and halign properties to set the alignment of the columns and their header.

                Item ID Product List Price Unit Cost Attribute Status
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/basic.html ================================================ Basic DataGrid - jQuery EasyUI Demo

                Basic DataGrid

                The DataGrid is created from markup, no JavaScript code needed.

                Item ID Product List Price Unit Cost Attribute Status
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/cacheeditor.html ================================================ Cache Editor for DataGrid - jQuery EasyUI Demo

                Cache Editor for DataGrid

                This example shows how to cache the editors for datagrid to improve the editing speed.

                Item ID Product List Price Unit Cost Attribute Status
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/cellediting.html ================================================ Cell Editing in DataGrid - jQuery EasyUI Demo

                Cell Editing in DataGrid

                Click a cell to start editing.

                Item ID Product List Price Unit Cost Attribute Status
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/cellstyle.html ================================================ DataGrid Cell Style - jQuery EasyUI Demo

                DataGrid Cell Style

                The cells which listprice value is less than 30 are highlighted.

                Item ID Product List Price Unit Cost Attribute Status
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/checkbox.html ================================================ CheckBox Selection on DataGrid - jQuery EasyUI Demo

                CheckBox Selection on DataGrid

                Click the checkbox on header to select or unselect all selections.

                Item ID Product List Price Unit Cost Attribute Status
                Selection Mode:
                SelectOnCheck:
                CheckOnSelect:
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/clientpagination.html ================================================ Client Side Pagination in DataGrid - jQuery EasyUI Demo

                Client Side Pagination in DataGrid

                This sample shows how to implement client side pagination in DataGrid.

                Inv No Date Name Amount Price Cost Note
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/columngroup.html ================================================ Column Group - jQuery EasyUI Demo

                Column Group

                The header cells can be merged. Useful to group columns under a category.

                Item ID Product Item Details
                List Price Unit Cost Attribute Status
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/complextoolbar.html ================================================ DataGrid Complex Toolbar - jQuery EasyUI Demo

                DataGrid Complex Toolbar

                The DataGrid toolbar can be defined from a <div> markup, so you can define the layout of toolbar easily.

                Item ID Product List Price Unit Cost Attribute Status
                Date From: To: Language: Search
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/contextmenu.html ================================================ Context Menu on DataGrid - jQuery EasyUI Demo

                Context Menu on DataGrid

                Right click on the header of DataGrid to display context menu.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/custompager.html ================================================ Custom DataGrid Pager - jQuery EasyUI Demo

                Custom DataGrid Pager

                You can append some buttons to the standard datagrid pager bar.

                Item ID Product List Price Unit Cost Attribute Status
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/datagrid_data1.json ================================================ {"total":28,"rows":[ {"productid":"FI-SW-01","productname":"Koi","unitcost":10.00,"status":"P","listprice":36.50,"attr1":"Large","itemid":"EST-1"}, {"productid":"K9-DL-01","productname":"Dalmation","unitcost":12.00,"status":"P","listprice":18.50,"attr1":"Spotted Adult Female","itemid":"EST-10"}, {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":38.50,"attr1":"Venomless","itemid":"EST-11"}, {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":26.50,"attr1":"Rattleless","itemid":"EST-12"}, {"productid":"RP-LI-02","productname":"Iguana","unitcost":12.00,"status":"P","listprice":35.50,"attr1":"Green Adult","itemid":"EST-13"}, {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":158.50,"attr1":"Tailless","itemid":"EST-14"}, {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":83.50,"attr1":"With tail","itemid":"EST-15"}, {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":23.50,"attr1":"Adult Female","itemid":"EST-16"}, {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":89.50,"attr1":"Adult Male","itemid":"EST-17"}, {"productid":"AV-CB-01","productname":"Amazon Parrot","unitcost":92.00,"status":"P","listprice":63.50,"attr1":"Adult Male","itemid":"EST-18"} ]} ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/datagrid_data2.json ================================================ {"total":28,"rows":[ {"productid":"FI-SW-01","unitcost":10.00,"status":"P","listprice":36.50,"attr1":"Large","itemid":"EST-1"}, {"productid":"K9-DL-01","unitcost":12.00,"status":"P","listprice":18.50,"attr1":"Spotted Adult Female","itemid":"EST-10"}, {"productid":"RP-SN-01","unitcost":12.00,"status":"P","listprice":28.50,"attr1":"Venomless","itemid":"EST-11"}, {"productid":"RP-SN-01","unitcost":12.00,"status":"P","listprice":26.50,"attr1":"Rattleless","itemid":"EST-12"}, {"productid":"RP-LI-02","unitcost":12.00,"status":"P","listprice":35.50,"attr1":"Green Adult","itemid":"EST-13"}, {"productid":"FL-DSH-01","unitcost":12.00,"status":"P","listprice":158.50,"attr1":"Tailless","itemid":"EST-14"}, {"productid":"FL-DSH-01","unitcost":12.00,"status":"P","listprice":83.50,"attr1":"With tail","itemid":"EST-15"}, {"productid":"FL-DLH-02","unitcost":12.00,"status":"P","listprice":63.50,"attr1":"Adult Female","itemid":"EST-16"}, {"productid":"FL-DLH-02","unitcost":12.00,"status":"P","listprice":89.50,"attr1":"Adult Male","itemid":"EST-17"}, {"productid":"AV-CB-01","unitcost":92.00,"status":"P","listprice":63.50,"attr1":"Adult Male","itemid":"EST-18"} ],"footer":[ {"unitcost":19.80,"listprice":60.40,"productid":"Average:"}, {"unitcost":198.00,"listprice":604.00,"productid":"Total:"} ]} ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/fluid.html ================================================ Fluid DataGrid - jQuery EasyUI Demo

                Fluid DataGrid

                This example shows how to assign percentage width to a column in DataGrid.

                Item ID(15%) Product(15%) List Price(15%) Unit Cost(15%) Attribute(25%) Status(15%)
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/footer.html ================================================ Footer Rows in DataGrid - jQuery EasyUI Demo

                Footer Rows in DataGrid

                The summary informations can be displayed in footer rows.

                Item ID Product ID List Price Unit Cost Attribute Status
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/formatcolumns.html ================================================ Format DataGrid Columns - jQuery EasyUI Demo

                Format DataGrid Columns

                The list price value will show red color when less than 30.

                Item ID Product List Price Unit Cost Attribute Status
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/frozencolumns.html ================================================ Frozen Columns in DataGrid - jQuery EasyUI Demo

                Frozen Columns in DataGrid

                You can freeze some columns that can't scroll out of view.

                Item ID Product
                List Price Unit Cost Attribute Status
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/frozenrows.html ================================================ Frozen Rows in DataGrid - jQuery EasyUI Demo

                Frozen Rows in DataGrid

                This sample shows how to freeze some rows that will always be displayed at the top when the datagrid is scrolled down.

                Item ID Product
                List Price Unit Cost Attribute Status
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/mergecells.html ================================================ Merge Cells for DataGrid - jQuery EasyUI Demo

                Merge Cells for DataGrid

                Cells in DataGrid body can be merged.

                Product Item ID List Price Unit Cost Attribute Status
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/multisorting.html ================================================ Multiple Sorting - jQuery EasyUI Demo

                Multiple Sorting

                Set 'multiSort' property to true to enable multiple column sorting.

                Item ID Product List Price Unit Cost Attribute Status
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/products.json ================================================ [ {"productid":"FI-SW-01","productname":"Koi"}, {"productid":"K9-DL-01","productname":"Dalmation"}, {"productid":"RP-SN-01","productname":"Rattlesnake"}, {"productid":"RP-LI-02","productname":"Iguana"}, {"productid":"FL-DSH-01","productname":"Manx"}, {"productid":"FL-DLH-02","productname":"Persian"}, {"productid":"AV-CB-01","productname":"Amazon Parrot"} ] ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/rowborder.html ================================================ Row Border in DataGrid - jQuery EasyUI Demo

                Row Border in DataGrid

                This sample shows how to change the row border style of datagrid.

                Border: Striped:
                Item ID Product List Price Unit Cost Attribute Status
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/rowediting.html ================================================ Row Editing in DataGrid - jQuery EasyUI Demo

                Row Editing in DataGrid

                Click the row to start editing.

                Item ID Product List Price Unit Cost Attribute Status
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/rowstyle.html ================================================ DataGrid Row Style - jQuery EasyUI Demo

                DataGrid Row Style

                The rows which listprice value is less than 30 are highlighted.

                Item ID Product List Price Unit Cost Attribute Status
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/selection.html ================================================ DataGrid Selection - jQuery EasyUI Demo

                DataGrid Selection

                Choose a selection mode and select one or more rows.

                Item ID Product List Price Unit Cost Attribute Status
                Selection Mode:
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/simpletoolbar.html ================================================ DataGrid with Toolbar - jQuery EasyUI Demo

                DataGrid with Toolbar

                Put buttons on top toolbar of DataGrid.

                Item ID Product List Price Unit Cost Attribute Status
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datagrid/transform.html ================================================ Transform DataGrid from Table - jQuery EasyUI Demo

                Transform DataGrid from Table

                Transform DataGrid from an existing, unformatted html table.

                Item ID Product List Price Attribute
                EST-1FI-SW-0136.50Large
                EST-10K9-DL-0118.50Spotted Adult Female
                EST-11RP-SN-0128.50Venomless
                EST-12RP-SN-0126.50Rattleless
                EST-13RP-LI-0235.50Green Adult
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datebox/basic.html ================================================ Basic DateBox - jQuery EasyUI Demo

                Basic DateBox

                Click the calendar image on the right side.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datebox/buttons.html ================================================ DateBox Buttons - jQuery EasyUI Demo

                DateBox Buttons

                This example shows how to customize the datebox buttons underneath the calendar.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datebox/dateformat.html ================================================ Date Format - jQuery EasyUI Demo

                Date Format

                Different date formats are applied to different DateBox components.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datebox/events.html ================================================ DateBox Events - jQuery EasyUI Demo

                DateBox Events

                Click the calendar image on the right side.

                Selected Date:
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datebox/fluid.html ================================================ Fluid DateBox - jQuery EasyUI Demo

                Fluid DateBox

                This example shows how to set the width of DateBox to a percentage of its parent container.

                width: 50%

                width: 30%

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datebox/restrict.html ================================================ Restrict Date Range in DateBox - jQuery EasyUI Demo

                Restrict Date Range in DateBox

                This example shows how to restrict the user to select only ten days from now.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datebox/sharedcalendar.html ================================================ Shared Calendar in DateBox - jQuery EasyUI Demo

                Shared Calendar in DateBox

                Multiple datebox components can share a calendar and use it to pick dates.

                Start Date: End Date:
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datebox/validate.html ================================================ Validate DateBox - jQuery EasyUI Demo

                Validate DateBox

                When the selected date is greater than specified date. The field validator will raise an error.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datetimebox/basic.html ================================================ Basic DateTimeBox - jQuery EasyUI Demo

                Basic DateTimeBox

                Click the calendar image on the right side.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datetimebox/fluid.html ================================================ Fluid DateTimeBox - jQuery EasyUI Demo

                Fluid DateTimeBox

                This example shows how to set the width of DateTimeBox to a percentage of its parent container.

                width: 50%

                width: 30%

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datetimebox/initvalue.html ================================================ Initialize Value for DateTime - jQuery EasyUI Demo

                Initialize Value for DateTime

                The value is initialized when DateTimeBox has been created.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datetimebox/showseconds.html ================================================ Display Seconds - jQuery EasyUI Demo

                Display Seconds

                The user can decide to display seconds part or not.

                Show Seconds:
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datetimespinner/basic.html ================================================ Basic DateTimeSpinner - jQuery EasyUI Demo

                Basic DateTimeSpinner

                Click spin button to adjust date and time.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datetimespinner/clearicon.html ================================================ DateTimeSpinner with Clear Icon - jQuery EasyUI Demo

                DateTimeSpinner with Clear Icon

                A clear icon can be attached to the datetimespinner. Click it to clear the entered value.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datetimespinner/fluid.html ================================================ Fluid DateTimeSpinner - jQuery EasyUI Demo

                Fluid DateTimeSpinner

                The width of datetimespinner is set in percentages.

                width: 50%

                width: 30%

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/datetimespinner/format.html ================================================ Format DateTimeSpinner - jQuery EasyUI Demo

                Format DateTimeSpinner

                The DataTimeSpinner value can be formatted by specifying the 'formatter' and 'parser' functions.

                mm/dd/yyyy hh:mm

                mm/dd/yyyy

                yyyy-mm

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/demo.css ================================================ *{ font-size:12px; } body { font-family:verdana,helvetica,arial,sans-serif; padding:20px; font-size:12px; margin:0; } h2 { font-size:18px; font-weight:bold; margin:0; margin-bottom:15px; } .demo-info{ padding:0 0 12px 0; } .demo-tip{ display:none; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/dialog/basic.html ================================================ Basic Dialog - jQuery EasyUI Demo

                Basic Dialog

                Click below button to open or close dialog.

                The dialog content.
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/dialog/complextoolbar.html ================================================ Complex Toolbar on Dialog - jQuery EasyUI Demo

                Complex Toolbar on Dialog

                This sample shows how to create complex toolbar on dialog.

                The dialog content.
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/dialog/fluid.html ================================================ Fluid Dialog - jQuery EasyUI Demo

                Fluid Dialog

                This example shows how to set the width of Dialog to a percentage of its parent container.

                width: 80%; height: 200px

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/dialog/toolbarbuttons.html ================================================ Toolbar and Buttons - jQuery EasyUI Demo

                Toolbar and Buttons

                The toolbar and buttons can be added to dialog.

                The dialog content.
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/draggable/basic.html ================================================ Basic Draggable - jQuery EasyUI Demo

                Basic Draggable

                Move the boxes below by clicking on it with mouse.

                Title
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/draggable/constrain.html ================================================ Constrain Draggable - jQuery EasyUI Demo

                Constrain Draggable

                The draggable object can only be moved within its parent container.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/draggable/snap.html ================================================ Snap Draggable - jQuery EasyUI Demo

                Snap Draggable

                This sample shows how to snap a draggable object to a 20x20 grid.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/droppable/accept.html ================================================ Accept a Drop - jQuery EasyUI Demo

                Accept a Drop

                Some draggable object can not be accepted.

                drag me!
                Drag 1
                Drag 2
                Drag 3
                drop here!
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/droppable/basic.html ================================================ Basic Droppable - jQuery EasyUI Demo

                Basic Droppable

                Drag the boxed on left to the target area on right.

                Source
                Apple
                Peach
                Orange
                Target
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/droppable/sort.html ================================================ Change Items Order - jQuery EasyUI Demo

                Change Items Order

                Drag the list items to change their order.

                • Drag 1
                • Drag 2
                • Drag 3
                • Drag 4
                • Drag 5
                • Drag 6
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/easyloader/basic.html ================================================ Basic EasyLoader - jQuery EasyUI Demo

                Basic EasyLoader

                Click the buttons below to load components dynamically.
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/filebox/basic.html ================================================ Basic FileBox - jQuery EasyUI Demo

                Basic FileBox

                The filebox component represents a file field of the forms.

                Name:
                File1:
                File2:
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/filebox/buttonalign.html ================================================ Button Align on FileBox - jQuery EasyUI Demo

                Button Align on FileBox

                Change the button align to the left or right of filebox.

                Select Button Align:
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/filebox/fluid.html ================================================ Fluid FileBox - jQuery EasyUI Demo

                Fluid FileBox

                This example shows how to set the width of FileBox to a percentage of its parent container.

                width: 50%

                width: 30%

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/form/basic.html ================================================ Basic Form - jQuery EasyUI Demo

                Basic Form

                Fill the form and submit it.

                Name:
                Email:
                Subject:
                Message:
                Language:
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/form/form_data1.json ================================================ { "name":"easyui", "email":"easyui@gmail.com", "subject":"Subject Title", "message":"Message Content", "language":"de" } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/form/load.html ================================================ Load Form Data - jQuery EasyUI Demo

                Load Form Data

                Click the buttons below to load form data.

                Name:
                Email:
                Subject:
                Message:
                Language:
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/form/validateonsubmit.html ================================================ Validate Form on Submit - jQuery EasyUI Demo

                Validate Form on Submit

                The form does not perform validation before being submitted.

                Name:
                Email:
                Subject:
                Message:
                Language:
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/layout/_content.html ================================================ AJAX Content

                jQuery EasyUI framework help you build your web page easily.

                • easyui is a collection of user-interface plugin based on jQuery.
                • easyui provides essential functionality for building modern, interactive, javascript applications.
                • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
                • complete framework for HTML5 web page.
                • easyui save your time and scales while developing your products.
                • easyui is very easy but powerful.
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/layout/addremove.html ================================================ Add and Remove Layout - jQuery EasyUI Demo

                Add and Remove Layout

                Click the buttons below to add or remove region panel of layout.

                Select Region Panel: Add Remove
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/layout/autoheight.html ================================================ Auto Height for Layout - jQuery EasyUI Demo

                Auto Height for Layout

                This example shows how to auto adjust layout height after dynamically adding items.

                Panel Content.

                Panel Content.

                Panel Content.

                Panel Content.

                Panel Content.

                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/layout/basic.html ================================================ Basic Layout - jQuery EasyUI Demo

                Basic Layout

                The layout contains north,south,west,east and center regions.

                Item ID Product ID List Price Unit Cost Attribute Status
                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/layout/complex.html ================================================ Complex Layout - jQuery EasyUI Demo

                Complex Layout

                This sample shows how to create a complex layout.

                  content1
                  content2
                  content3
                  Item ID Product ID List Price Unit Cost Attribute Status
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/layout/datagrid_data1.json ================================================ {"total":28,"rows":[ {"productid":"FI-SW-01","productname":"Koi","unitcost":10.00,"status":"P","listprice":36.50,"attr1":"Large","itemid":"EST-1"}, {"productid":"K9-DL-01","productname":"Dalmation","unitcost":12.00,"status":"P","listprice":18.50,"attr1":"Spotted Adult Female","itemid":"EST-10"}, {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":38.50,"attr1":"Venomless","itemid":"EST-11"}, {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":26.50,"attr1":"Rattleless","itemid":"EST-12"}, {"productid":"RP-LI-02","productname":"Iguana","unitcost":12.00,"status":"P","listprice":35.50,"attr1":"Green Adult","itemid":"EST-13"}, {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":158.50,"attr1":"Tailless","itemid":"EST-14"}, {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":83.50,"attr1":"With tail","itemid":"EST-15"}, {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":23.50,"attr1":"Adult Female","itemid":"EST-16"}, {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":89.50,"attr1":"Adult Male","itemid":"EST-17"}, {"productid":"AV-CB-01","productname":"Amazon Parrot","unitcost":92.00,"status":"P","listprice":63.50,"attr1":"Adult Male","itemid":"EST-18"} ]} ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/layout/fluid.html ================================================ Fluid Layout - jQuery EasyUI Demo

                  Fluid Layout

                  Percentage width of region panel in a layout.

                  width: 30%

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/layout/full.html ================================================ Full Layout - jQuery EasyUI Demo
                  north region
                  west content
                  east region
                  south region
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/layout/nestedlayout.html ================================================ Nested Layout - jQuery EasyUI Demo

                  Nested Layout

                  The layout region panel contains another layout or other components.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/layout/nocollapsible.html ================================================ No collapsible button in Layout - jQuery EasyUI Demo

                  No collapsible button in Layout

                  The layout region panel has no collapsible button.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/layout/propertygrid_data1.json ================================================ {"total":7,"rows":[ {"name":"Name","value":"Bill Smith","group":"ID Settings","editor":"text"}, {"name":"Address","value":"","group":"ID Settings","editor":"text"}, {"name":"Age","value":"40","group":"ID Settings","editor":"numberbox"}, {"name":"Birthday","value":"01/02/2012","group":"ID Settings","editor":"datebox"}, {"name":"SSN","value":"123-456-7890","group":"ID Settings","editor":"text"}, {"name":"Email","value":"bill@gmail.com","group":"Marketing Settings","editor":{ "type":"validatebox", "options":{ "validType":"email" } }}, {"name":"FrequentBuyer","value":"false","group":"Marketing Settings","editor":{ "type":"checkbox", "options":{ "on":true, "off":false } }} ]} ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/layout/tree_data1.json ================================================ [{ "id":1, "text":"My Documents", "children":[{ "id":11, "text":"Photos", "state":"closed", "children":[{ "id":111, "text":"Friend" },{ "id":112, "text":"Wife" },{ "id":113, "text":"Company" }] },{ "id":12, "text":"Program Files", "children":[{ "id":121, "text":"Intel" },{ "id":122, "text":"Java", "attributes":{ "p1":"Custom Attribute1", "p2":"Custom Attribute2" } },{ "id":123, "text":"Microsoft Office" },{ "id":124, "text":"Games", "checked":true }] },{ "id":13, "text":"index.html" },{ "id":14, "text":"about.html" },{ "id":15, "text":"welcome.html" }] }] ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/linkbutton/basic.html ================================================ Basic LinkButton - jQuery EasyUI Demo

                  Basic LinkButton

                  Buttons can be created from <a> or <button> elements.

                  Basic Buttons

                  Fixed Width Buttons

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/linkbutton/fluid.html ================================================ Fluid LinkButton - jQuery EasyUI Demo

                  Fluid LinkButton

                  This example shows how to set the width of LinkButton to a percentage of its parent container.

                  width: 15%

                  width: 20%

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/linkbutton/group.html ================================================ Button Group - jQuery EasyUI Demo

                  Button Group

                  In a button group only one button can be selected.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/linkbutton/iconalign.html ================================================ Icon Align on LinkButton - jQuery EasyUI Demo

                  Icon Align on LinkButton

                  Change the icon align to place icon on left, right, top or bottom of button.

                  Select Icon Align:
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/linkbutton/plain.html ================================================ Plain LinkButton - jQuery EasyUI Demo

                  Plain LinkButton

                  The buttons with plain style have transparent background.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/linkbutton/size.html ================================================ LinkButton Size - jQuery EasyUI Demo

                  LinkButton Size

                  This sample shows how to display small buttons and large buttons.

                  Small Buttons

                  Large Buttons

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/linkbutton/style.html ================================================ Style LinkButton - jQuery EasyUI Demo

                  Style LinkButton

                  This example shows how to style a linkbutton.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/linkbutton/toggle.html ================================================ Toggle Button - jQuery EasyUI Demo

                  Toggle Button

                  Click the button below to switch its selected state.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/menu/basic.html ================================================ Basic Menu - jQuery EasyUI Demo

                  Basic Menu

                  Right click on page to display menu.

                  New
                  Open
                  Word
                  Excel
                  PowerPoint
                  M1
                  sub1
                  sub2
                  Sub
                  sub21
                  sub22
                  sub23
                  sub3
                  Window Demos
                  Window
                  Dialog
                  Save
                  Print
                  Exit
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/menu/customitem.html ================================================ Custom Menu Item - jQuery EasyUI Demo

                  Custom Menu Item

                  Right click on page to display menu, move to the 'Open' item to display its custom sub content.

                  New
                  Open
                  Save
                  Print
                  Exit
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/menu/events.html ================================================ Menu Events - jQuery EasyUI Demo

                  Menu Events

                  Right click on page to display menu and click an item.

                  New
                  Save
                  Print
                  Exit
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/menubutton/actions.html ================================================ MenuButton Actions - jQuery EasyUI Demo

                  MenuButton Actions

                  Click the buttons below to perform actions.

                  Undo
                  Redo
                  Cut
                  Copy
                  Paste
                  Toolbar
                  Address
                  Link
                  Navigation Toolbar
                  Bookmark Toolbar
                  New Toolbar...
                  Delete
                  Select All
                  Help
                  Update
                  About
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/menubutton/alignment.html ================================================ Menu Alignment on MenuButton - jQuery EasyUI Demo

                  Menu Alignment on MenuButton

                  This example shows how to change the alignment of the top level menu.

                  Change Alignment:
                  Undo
                  Redo
                  Cut
                  Copy
                  Paste
                  Toolbar
                  Address
                  Link
                  Navigation Toolbar
                  Bookmark Toolbar
                  New Toolbar...
                  Delete
                  Select All
                  Help
                  Update
                  About
                  History
                  Faq
                  Our Team
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/menubutton/basic.html ================================================ Basic MenuButton - jQuery EasyUI Demo

                  Basic MenuButton

                  Move mouse over the button to drop down menu.

                  Undo
                  Redo
                  Cut
                  Copy
                  Paste
                  Toolbar
                  Address
                  Link
                  Navigation Toolbar
                  Bookmark Toolbar
                  New Toolbar...
                  Delete
                  Select All
                  Help
                  Update
                  About
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/messager/alert.html ================================================ Alert Messager - jQuery EasyUI Demo

                  Alert Messager

                  Click on each button to display different alert message box.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/messager/basic.html ================================================ Basic Messager - jQuery EasyUI Demo

                  Basic Messager

                  Click on each button to see a distinct message box.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/messager/interactive.html ================================================ Interactive Messager - jQuery EasyUI Demo

                  Interactive Messager

                  Click on each button to display interactive message box.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/messager/position.html ================================================ Message Box Position - jQuery EasyUI Demo

                  Message Box Position

                  Click the buttons below to display message box on different position.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/numberbox/basic.html ================================================ Basic NumberBox - jQuery EasyUI Demo

                  Basic NumberBox

                  The NumberBox can only accept inputing numbers.

                  List Price:

                  Amount:

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/numberbox/fluid.html ================================================ Fluid NumberBox - jQuery EasyUI Demo

                  Fluid NumberBox

                  This example shows how to set the width of NumberBox to a percentage of its parent container.

                  width: 100%

                  width: 50%

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/numberbox/format.html ================================================ Format NumberBox - jQuery EasyUI Demo

                  Format NumberBox

                  Number formatting is the ability to control how a number is displayed.

                  Number in the United States
                  Number in France
                  Currency:USD
                  Currency:EUR
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/numberbox/range.html ================================================ Number Range - jQuery EasyUI Demo

                  Number Range

                  The value is constrained to a specified range.

                  Amount:

                  Weight:

                  Age:

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/numberspinner/basic.html ================================================ Basic NumberSpinner - jQuery EasyUI Demo

                  Basic NumberSpinner

                  Click spinner button to change value.

                  Value:
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/numberspinner/fluid.html ================================================ Fluid NumberSpinner - jQuery EasyUI Demo

                  Fluid NumberSpinner

                  This example shows how to set the width of NumberSpinner to a percentage of its parent container.

                  width: 50%

                  width: 30%

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/numberspinner/increment.html ================================================ Increment Number - jQuery EasyUI Demo

                  Increment Number

                  The sample shows how to set the increment step.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/numberspinner/range.html ================================================ Number Range - jQuery EasyUI Demo

                  Number Range

                  The value is constrained to a range between 10 and 100.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/pagination/attaching.html ================================================ Attaching Other Components - jQuery EasyUI Demo

                  Attaching Other Components

                  Any other components can be attached to page bar.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/pagination/basic.html ================================================ Basic Pagination - jQuery EasyUI Demo

                  Basic Pagination

                  The user can change page number and page size on page bar.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/pagination/custombuttons.html ================================================ Custom Pagination Buttons - jQuery EasyUI Demo

                  Custom Pagination Buttons

                  The customized buttons can be appended to page bar.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/pagination/layout.html ================================================ Pagination Layout - jQuery EasyUI Demo

                  Pagination Layout

                  The pagination layout supports various types of pages which you can choose.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/pagination/links.html ================================================ Pagination Links - jQuery EasyUI Demo

                  Pagination Links

                  The example shows how to customize numbered pagination links.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/pagination/simple.html ================================================ Simplify Pagination - jQuery EasyUI Demo

                  Simplify Pagination

                  The sample shows how to simplify pagination.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/panel/_content.html ================================================ AJAX Content

                  Here is the content loaded via AJAX.

                  • easyui is a collection of user-interface plugin based on jQuery.
                  • easyui provides essential functionality for building modern, interactive, javascript applications.
                  • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
                  • complete framework for HTML5 web page.
                  • easyui save your time and scales while developing your products.
                  • easyui is very easy but powerful.
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/panel/basic.html ================================================ Basic Panel - jQuery EasyUI Demo

                  Basic Panel

                  The panel is a container for other components or elements.

                  jQuery EasyUI framework helps you build your web pages easily.

                  • easyui is a collection of user-interface plugin based on jQuery.
                  • easyui provides essential functionality for building modem, interactive, javascript applications.
                  • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
                  • complete framework for HTML5 web page.
                  • easyui save your time and scales while developing your products.
                  • easyui is very easy but powerful.
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/panel/customtools.html ================================================ Custom Panel Tools - jQuery EasyUI Demo

                  Custom Panel Tools

                  Click the right top buttons to perform actions with panel.

                  jQuery EasyUI framework helps you build your web pages easily.

                  • easyui is a collection of user-interface plugin based on jQuery.
                  • easyui provides essential functionality for building modem, interactive, javascript applications.
                  • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
                  • complete framework for HTML5 web page.
                  • easyui save your time and scales while developing your products.
                  • easyui is very easy but powerful.
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/panel/fluid.html ================================================ Fluid Panel - jQuery EasyUI Demo

                  Fluid Panel

                  This example shows how to set the width of Panel to a percentage of its parent container.

                  The panel has a width of 100%.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/panel/footer.html ================================================ Panel Footer - jQuery EasyUI Demo

                  Panel Footer

                  The panel footer is displayed at the bottom of the panel and can consist of any other components.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/panel/loadcontent.html ================================================ Load Panel Content - jQuery EasyUI Demo

                  Load Panel Content

                  Click the refresh button on top right of panel to load content.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/panel/nestedpanel.html ================================================ Nested Panel - jQuery EasyUI Demo

                  Nested Panel

                  The panel can be placed inside containers and can contain other components.

                  Left Content
                  Right Content
                  Right Content
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/panel/paneltools.html ================================================ Panel Tools - jQuery EasyUI Demo

                  Panel Tools

                  Click the right top buttons to perform actions with panel.

                  jQuery EasyUI framework helps you build your web pages easily.

                  • easyui is a collection of user-interface plugin based on jQuery.
                  • easyui provides essential functionality for building modem, interactive, javascript applications.
                  • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
                  • complete framework for HTML5 web page.
                  • easyui save your time and scales while developing your products.
                  • easyui is very easy but powerful.
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/progressbar/basic.html ================================================ Basic ProgressBar - jQuery EasyUI Demo

                  Basic ProgressBar

                  Click the button below to show progress information.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/progressbar/fluid.html ================================================ Fluid ProgressBar - jQuery EasyUI Demo

                  Fluid ProgressBar

                  This example shows how to set the width of ProgressBar to a percentage of its parent container.

                  width: 50%

                  width: 30%

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/propertygrid/basic.html ================================================ Basic PropertyGrid - jQuery EasyUI Demo

                  Basic PropertyGrid

                  Click on row to change each property value.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/propertygrid/customcolumns.html ================================================ Customize Columns of PropertyGrid - jQuery EasyUI Demo

                  Customize Columns of PropertyGrid

                  The columns of PropertyGrid can be changed.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/propertygrid/groupformat.html ================================================ Group Format - jQuery EasyUI Demo

                  Group Format

                  The user can change the group information.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/propertygrid/propertygrid_data1.json ================================================ {"total":7,"rows":[ {"name":"Name","value":"Bill Smith","group":"ID Settings","editor":"text"}, {"name":"Address","value":"","group":"ID Settings","editor":"text"}, {"name":"Age","value":"40","group":"ID Settings","editor":"numberbox"}, {"name":"Birthday","value":"01/02/2012","group":"ID Settings","editor":"datebox"}, {"name":"SSN","value":"123-456-7890","group":"ID Settings","editor":"text"}, {"name":"Email","value":"bill@gmail.com","group":"Marketing Settings","editor":{ "type":"validatebox", "options":{ "validType":"email" } }}, {"name":"FrequentBuyer","value":"false","group":"Marketing Settings","editor":{ "type":"checkbox", "options":{ "on":true, "off":false } }} ]} ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/resizable/basic.html ================================================ Basic Resizable - jQuery EasyUI Demo

                  Basic Resizable

                  Click on the edge of box and move the edge to resize the box.

                  Resize Me
                  Title
                  Drag and Resize Me
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/searchbox/basic.html ================================================ Basic SearchBox - jQuery EasyUI Demo

                  Basic SearchBox

                  Click search button or press enter key in input box to do searching.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/searchbox/category.html ================================================ Search Category - jQuery EasyUI Demo

                  Search Category

                  Select a category and click search button or press enter key in input box to do searching.

                  All News
                  Sports News
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/searchbox/fluid.html ================================================ Fluid SearchBox - jQuery EasyUI Demo

                  Fluid SearchBox

                  This example shows how to set the width of SearchBox to a percentage of its parent container.

                  width: 50%

                  width: 30%

                  All News
                  Sports News
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/slider/basic.html ================================================ Basic Slider - jQuery EasyUI Demo

                  Basic Slider

                  Drag the slider to change value.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/slider/fluid.html ================================================ Fluid Slider - jQuery EasyUI Demo

                  Fluid Slider

                  This example shows how to set the width of Slider to a percentage of its parent container.

                  width: 50%

                  width: 30%

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/slider/formattip.html ================================================ Format Tip Information - jQuery EasyUI Demo

                  Format Tip Information

                  This sample shows how to format tip information.

                  jQuery EasyUI
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/slider/nonlinear.html ================================================ Non Linear Slider - jQuery EasyUI Demo

                  Non Linear Slider

                  This example shows how to create a slider with a non-linear scale.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/slider/rule.html ================================================ Slider Rule - jQuery EasyUI Demo

                  Slider Rule

                  This sample shows how to define slider rule.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/slider/vertical.html ================================================ Vertical Slider - jQuery EasyUI Demo

                  Vertical Slider

                  This sample shows how to create a vertical slider.

                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/splitbutton/actions.html ================================================ SplitButton Actions - jQuery EasyUI Demo

                  SplitButton Actions

                  Click the buttons below to perform actions.

                  Undo
                  Redo
                  Cut
                  Copy
                  Paste
                  Toolbar
                  Address
                  Link
                  Navigation Toolbar
                  Bookmark Toolbar
                  New Toolbar...
                  Delete
                  Select All
                  Ok
                  Cancel
                  Help
                  Update
                  About
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/splitbutton/basic.html ================================================ Basic SplitButton - jQuery EasyUI Demo

                  Basic SplitButton

                  Move mouse over the arrow area of button to drop down menu.

                  Undo
                  Redo
                  Cut
                  Copy
                  Paste
                  Toolbar
                  Address
                  Link
                  Navigation Toolbar
                  Bookmark Toolbar
                  New Toolbar...
                  Delete
                  Select All
                  Ok
                  Cancel
                  Help
                  Update
                  About
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tabs/_content.html ================================================ AJAX Content

                  Here is the content loaded via AJAX.

                  • easyui is a collection of user-interface plugin based on jQuery.
                  • easyui provides essential functionality for building modern, interactive, javascript applications.
                  • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
                  • complete framework for HTML5 web page.
                  • easyui save your time and scales while developing your products.
                  • easyui is very easy but powerful.
                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tabs/autoheight.html ================================================ Auto Height for Tabs - jQuery EasyUI Demo

                  Auto Height for Tabs

                  The tabs height is auto adjusted according to tab panel content.

                  jQuery EasyUI framework helps you build your web pages easily.

                  • easyui is a collection of user-interface plugin based on jQuery.
                  • easyui provides essential functionality for building modem, interactive, javascript applications.
                  • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
                  • complete framework for HTML5 web page.
                  • easyui save your time and scales while developing your products.
                  • easyui is very easy but powerful.
                    This is the help content.
                    ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tabs/basic.html ================================================ Basic Tabs - jQuery EasyUI Demo

                    Basic Tabs

                    Click tab strip to swap tab panel content.

                    jQuery EasyUI framework helps you build your web pages easily.

                    • easyui is a collection of user-interface plugin based on jQuery.
                    • easyui provides essential functionality for building modem, interactive, javascript applications.
                    • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
                    • complete framework for HTML5 web page.
                    • easyui save your time and scales while developing your products.
                    • easyui is very easy but powerful.
                      This is the help content.
                      ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tabs/dropdown.html ================================================ Tabs with DropDown - jQuery EasyUI Demo

                      Tabs with DropDown

                      This sample shows how to add a dropdown menu over a tab strip.

                      jQuery EasyUI framework helps you build your web pages easily.

                      • easyui is a collection of user-interface plugin based on jQuery.
                      • easyui provides essential functionality for building modem, interactive, javascript applications.
                      • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
                      • complete framework for HTML5 web page.
                      • easyui save your time and scales while developing your products.
                      • easyui is very easy but powerful.
                        This is the help content.
                        Welcome
                        Help Contents
                        Search
                        Dynamic Help
                        ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tabs/fixedwidth.html ================================================ Fixed Tab Width - jQuery EasyUI Demo

                        Fixed Tab Width

                        The tab strips have fixed width and height.

                        Home Content.

                        Maps Content.

                        Journal Content.

                        History Content.

                        References Content.

                        Contact Content.

                        ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tabs/fluid.html ================================================ Fluid Tabs - jQuery EasyUI Demo

                        Fluid Tabs

                        This example shows how to set the width of Tabs to a percentage of its parent container.

                        The tabs has a width of 100%.

                        ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tabs/hover.html ================================================ Hover Tabs - jQuery EasyUI Demo

                        Hover Tabs

                        Move mouse over the tab strip to open the tab panel.

                        jQuery EasyUI framework helps you build your web pages easily.

                        • easyui is a collection of user-interface plugin based on jQuery.
                        • easyui provides essential functionality for building modem, interactive, javascript applications.
                        • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
                        • complete framework for HTML5 web page.
                        • easyui save your time and scales while developing your products.
                        • easyui is very easy but powerful.
                          This is the help content.
                          ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tabs/nestedtabs.html ================================================ Nested Tabs - jQuery EasyUI Demo

                          Nested Tabs

                          The tab panel can contain sub tabs or other components.

                          Content 1
                          Content 2
                          Content 3
                          Title1 Title2 Title3
                          d11 d12 d13
                          d21 d22 d23
                          ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tabs/striptools.html ================================================ Tabs Strip Tools - jQuery EasyUI Demo

                          Tabs Strip Tools

                          Click the mini-buttons on the tab strip to perform actions.

                          jQuery EasyUI framework helps you build your web pages easily.

                          • easyui is a collection of user-interface plugin based on jQuery.
                          • easyui provides essential functionality for building modem, interactive, javascript applications.
                          • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
                          • complete framework for HTML5 web page.
                          • easyui save your time and scales while developing your products.
                          • easyui is very easy but powerful.
                          This is the help content.
                          ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tabs/tabimage.html ================================================ Tabs with Images - jQuery EasyUI Demo

                          Tabs with Images

                          The tab strip can display big images.

                          A modem (modulator-demodulator) is a device that modulates an analog carrier signal to encode digital information, and also demodulates such a carrier signal to decode the transmitted information.

                          In computing, an image scanner—often abbreviated to just scanner—is a device that optically scans images, printed text, handwriting, or an object, and converts it to a digital image.

                          A personal digital assistant (PDA), also known as a palmtop computer, or personal data assistant, is a mobile device that functions as a personal information manager. PDAs are largely considered obsolete with the widespread adoption of smartphones.

                          A tablet computer, or simply tablet, is a one-piece mobile computer. Devices typically have a touchscreen, with finger or stylus gestures replacing the conventional computer mouse.

                          ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tabs/tabposition.html ================================================ Tab Position - jQuery EasyUI Demo

                          Tab Position

                          Click the 'position' drop-down list and select an item to change the tab position.

                          Position:

                          jQuery EasyUI framework helps you build your web pages easily.

                          • easyui is a collection of user-interface plugin based on jQuery.
                          • easyui provides essential functionality for building modem, interactive, javascript applications.
                          • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
                          • complete framework for HTML5 web page.
                          • easyui save your time and scales while developing your products.
                          • easyui is very easy but powerful.
                            This is the help content.
                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tabs/tabstools.html ================================================ Tabs Tools - jQuery EasyUI Demo

                            Tabs Tools

                            Click the buttons on the top right of tabs header to add or remove tab panel.

                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tabs/tree_data1.json ================================================ [{ "id":1, "text":"My Documents", "children":[{ "id":11, "text":"Photos", "state":"closed", "children":[{ "id":111, "text":"Friend" },{ "id":112, "text":"Wife" },{ "id":113, "text":"Company" }] },{ "id":12, "text":"Program Files", "children":[{ "id":121, "text":"Intel" },{ "id":122, "text":"Java", "attributes":{ "p1":"Custom Attribute1", "p2":"Custom Attribute2" } },{ "id":123, "text":"Microsoft Office" },{ "id":124, "text":"Games", "checked":true }] },{ "id":13, "text":"index.html" },{ "id":14, "text":"about.html" },{ "id":15, "text":"welcome.html" }] }] ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/textbox/basic.html ================================================ Basic TextBox - jQuery EasyUI Demo

                            Basic TextBox

                            The textbox allows a user to enter information.

                            Email:
                            First Name:
                            Last Name:
                            Company:
                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/textbox/button.html ================================================ TextBox with Button - jQuery EasyUI Demo

                            TextBox with Button

                            The button can be attached to a textbox.

                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/textbox/clearicon.html ================================================ TextBox with Clear Icon - jQuery EasyUI Demo

                            TextBox with Clear Icon

                            This example shows how to create an textbox with an icon to clear the input element itself.

                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/textbox/custom.html ================================================ Custom TextBox - jQuery EasyUI Demo

                            Custom TextBox

                            This example shows how to custom a login form.

                            Remember me
                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/textbox/fluid.html ================================================ Fluid TextBox - jQuery EasyUI Demo

                            Fluid TextBox

                            This example shows how to set the width of TextBox to a percentage of its parent container.

                            width: 50%

                            width: 30%

                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/textbox/icons.html ================================================ TextBox with Icons - jQuery EasyUI Demo

                            TextBox with Icons

                            Click the icons on textbox to perform actions.

                            Select Icon Align:
                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/textbox/multiline.html ================================================ Multiline TextBox - jQuery EasyUI Demo

                            Multiline TextBox

                            This example shows how to define a textbox for the user to enter multi-line text input.

                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/textbox/size.html ================================================ TextBox Size - jQuery EasyUI Demo

                            TextBox Size

                            The textbox can vary in size.

                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/timespinner/actions.html ================================================ TimeSpinner Actions - jQuery EasyUI Demo

                            TimeSpinner Actions

                            Click the buttons below to perform actions.

                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/timespinner/basic.html ================================================ Basic TimeSpinner - jQuery EasyUI Demo

                            Basic TimeSpinner

                            Click spin button to adjust time.

                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/timespinner/fluid.html ================================================ Fluid TimeSpinner - jQuery EasyUI Demo

                            Fluid TimeSpinner

                            This example shows how to set the width of TimeSpinner to a percentage of its parent container.

                            width: 50%

                            width: 30%

                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/timespinner/range.html ================================================ Time Range - jQuery EasyUI Demo

                            Time Range

                            The time value is constrained in specified range.

                            From 08:30 to 18:00
                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tooltip/_content.html ================================================ AJAX Content

                            Here is the content loaded via AJAX.

                            • easyui is a collection of user-interface plugin based on jQuery.
                            • easyui provides essential functionality for building modern, interactive, javascript applications.
                            • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
                            • complete framework for HTML5 web page.
                            • easyui save your time and scales while developing your products.
                            • easyui is very easy but powerful.
                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tooltip/_dialog.html ================================================ Dialog Content
                            User Name:
                            Password:
                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tooltip/ajax.html ================================================ Ajax Tooltip - jQuery EasyUI Demo

                            Ajax Tooltip

                            The tooltip content can be loaded via AJAX.

                            Hove me to display tooltip content via AJAX. ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tooltip/basic.html ================================================ Basic Tooltip - jQuery EasyUI Demo

                            Basic Tooltip

                            Hover the links to display tooltip message.

                            The tooltip can use each elements title attribute. Hover me to display tooltip.

                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tooltip/customcontent.html ================================================ Custom Tooltip Content - jQuery EasyUI Demo

                            Custom Tooltip Content

                            Access to each elements attribute to get the tooltip content.

                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tooltip/customstyle.html ================================================ Custom Tooltip Style - jQuery EasyUI Demo

                            Custom Tooltip Style

                            This sample shows how to change the tooltip style.

                            Hover Me
                            Hover Me
                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tooltip/position.html ================================================ Tooltip Position - jQuery EasyUI Demo

                            Tooltip Position

                            Click the drop-down list below to change where the tooltip appears.

                            Select position:
                            Hover Me
                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tooltip/toolbar.html ================================================ Tooltip as Toolbar - jQuery EasyUI Demo

                            Tooltip as Toolbar

                            This sample shows how to create a tooltip style toolbar.

                            Hover me to display toolbar.

                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tooltip/tooltipdialog.html ================================================ Tooltip Dialog - jQuery EasyUI Demo

                            Tooltip Dialog

                            This sample shows how to create a tooltip dialog.

                            Click here to see the tooltip dialog.

                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tree/actions.html ================================================ Tree Actions - jQuery EasyUI Demo

                            Tree Actions

                            Click the buttons below to perform actions.

                              ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tree/animation.html ================================================ Animation Tree - jQuery EasyUI Demo

                              Animation Tree

                              Apply 'animate' property to true to enable animation effect.

                                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tree/basic.html ================================================ Basic Tree - jQuery EasyUI Demo

                                Basic Tree

                                Click the arrow on the left to expand or collapse nodes.

                                • My Documents
                                  • Photos
                                    • Friend
                                    • Wife
                                    • Company
                                  • Program Files
                                    • Intel
                                    • Java
                                    • Microsoft Office
                                    • Games
                                  • index.html
                                  • about.html
                                  • welcome.html
                                ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tree/checkbox.html ================================================ CheckBox Tree - jQuery EasyUI Demo

                                CheckBox Tree

                                Tree nodes with check boxes.

                                CascadeCheck OnlyLeafCheck
                                  ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tree/contextmenu.html ================================================ Tree Context Menu - jQuery EasyUI Demo

                                  Tree Context Menu

                                  Right click on a node to display context menu.

                                    Append
                                    Remove
                                    Expand
                                    Collapse
                                    ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tree/dnd.html ================================================ Drag Drop Tree Nodes - jQuery EasyUI Demo

                                    Drag Drop Tree Nodes

                                    Press mouse down and drag a node to another position.

                                      ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tree/editable.html ================================================ Editable Tree - jQuery EasyUI Demo

                                      Editable Tree

                                      Click the node to begin edit, press enter key to stop edit or esc key to cancel edit.

                                        ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tree/formatting.html ================================================ Formatting Tree Nodes - jQuery EasyUI Demo

                                        Formatting Tree Nodes

                                        This example shows how to display extra information on nodes.

                                        ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tree/icons.html ================================================ Tree Node Icons - jQuery EasyUI Demo

                                        Tree Node Icons

                                        This sample illustrates how to add icons to tree node.

                                          ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tree/lazyload.html ================================================ Lazy Load Tree Nodes - jQuery EasyUI Demo

                                          Lazy Load Tree Nodes

                                          Get full hierarchical tree data but lazy load nodes level by level.

                                            ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tree/lines.html ================================================ Tree Lines - jQuery EasyUI Demo

                                            Tree Lines

                                            This sample shows how to show tree lines.

                                              ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tree/tree_data1.json ================================================ [{ "id":1, "text":"My Documents", "children":[{ "id":11, "text":"Photos", "state":"closed", "children":[{ "id":111, "text":"Friend" },{ "id":112, "text":"Wife" },{ "id":113, "text":"Company" }] },{ "id":12, "text":"Program Files", "children":[{ "id":121, "text":"Intel" },{ "id":122, "text":"Java", "attributes":{ "p1":"Custom Attribute1", "p2":"Custom Attribute2" } },{ "id":123, "text":"Microsoft Office" },{ "id":124, "text":"Games", "checked":true }] },{ "id":13, "text":"index.html" },{ "id":14, "text":"about.html" },{ "id":15, "text":"welcome.html" }] }] ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/tree/tree_data2.json ================================================ [{ "id":1, "text":"My Documents", "children":[{ "id":11, "text":"Photos", "state":"closed", "children":[{ "id":111, "text":"Friend" },{ "id":112, "text":"Wife" },{ "id":113, "text":"Company" }] },{ "id":12, "text":"Program Files", "state":"closed", "children":[{ "id":121, "text":"Intel" },{ "id":122, "text":"Java" },{ "id":123, "text":"Microsoft Office" },{ "id":124, "text":"Games" }] },{ "id":16, "text":"Actions", "children":[{ "text":"Add", "iconCls":"icon-add" },{ "text":"Remove", "iconCls":"icon-remove" },{ "text":"Save", "iconCls":"icon-save" },{ "text":"Search", "iconCls":"icon-search" }] },{ "id":13, "text":"index.html" },{ "id":14, "text":"about.html" },{ "id":15, "text":"welcome.html" }] }] ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/treegrid/actions.html ================================================ TreeGrid Actions - jQuery EasyUI Demo

                                              TreeGrid Actions

                                              Click the buttons below to perform actions.

                                              Task Name Persons Begin Date End Date Progress
                                              ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/treegrid/basic.html ================================================ Basic TreeGrid - jQuery EasyUI Demo

                                              Basic TreeGrid

                                              TreeGrid allows you to expand or collapse group rows.

                                              Name Size Modified Date
                                              ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/treegrid/clientpagination.html ================================================ Client Side Pagination in TreeGrid - jQuery EasyUI Demo

                                              Client Side Pagination in TreeGrid

                                              This sample shows how to implement client side pagination in TreeGrid.

                                              Task Name Persons Begin Date End Date Progress
                                              ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/treegrid/contextmenu.html ================================================ TreeGrid ContextMenu - jQuery EasyUI Demo

                                              TreeGrid ContextMenu

                                              Right click to display the context menu.

                                              Task Name Persons Begin Date End Date Progress
                                              Append
                                              Remove
                                              Collapse
                                              Expand
                                              ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/treegrid/editable.html ================================================ Editable TreeGrid - jQuery EasyUI Demo

                                              Editable TreeGrid

                                              Select one node and click edit button to perform editing.

                                              Task Name Persons Begin Date End Date Progress
                                              ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/treegrid/fluid.html ================================================ Fluid TreeGrid - jQuery EasyUI Demo

                                              Fluid TreeGrid

                                              This example shows how to assign percentage width to a column in TreeGrid.

                                              Name(50%) Size(20%) Modified Date(30%)
                                              ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/treegrid/footer.html ================================================ TreeGrid with Footer - jQuery EasyUI Demo

                                              TreeGrid with Footer

                                              Show summary information on TreeGrid footer.

                                              ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/treegrid/lines.html ================================================ TreeGrid Lines - jQuery EasyUI Demo

                                              TreeGrid Lines

                                              This example shows how to show treegrid lines.

                                              Name Size Modified Date
                                              ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/treegrid/reports.html ================================================ Reports using TreeGrid - jQuery EasyUI Demo

                                              Reports using TreeGrid

                                              Using TreeGrid to show complex reports.

                                              Region
                                              2009 2010
                                              1st qrt. 2st qrt. 3st qrt. 4st qrt. 1st qrt. 2st qrt. 3st qrt. 4st qrt.
                                              ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/treegrid/treegrid_data1.json ================================================ [{ "id":1, "name":"C", "size":"", "date":"02/19/2010", "children":[{ "id":2, "name":"Program Files", "size":"120 MB", "date":"03/20/2010", "children":[{ "id":21, "name":"Java", "size":"", "date":"01/13/2010", "state":"closed", "children":[{ "id":211, "name":"java.exe", "size":"142 KB", "date":"01/13/2010" },{ "id":212, "name":"jawt.dll", "size":"5 KB", "date":"01/13/2010" }] },{ "id":22, "name":"MySQL", "size":"", "date":"01/13/2010", "state":"closed", "children":[{ "id":221, "name":"my.ini", "size":"10 KB", "date":"02/26/2009" },{ "id":222, "name":"my-huge.ini", "size":"5 KB", "date":"02/26/2009" },{ "id":223, "name":"my-large.ini", "size":"5 KB", "date":"02/26/2009" }] }] },{ "id":3, "name":"eclipse", "size":"", "date":"01/20/2010", "children":[{ "id":31, "name":"eclipse.exe", "size":"56 KB", "date":"05/19/2009" },{ "id":32, "name":"eclipse.ini", "size":"1 KB", "date":"04/20/2010" },{ "id":33, "name":"notice.html", "size":"7 KB", "date":"03/17/2005" }] }] }] ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/treegrid/treegrid_data2.json ================================================ {"total":7,"rows":[ {"id":1,"name":"All Tasks","begin":"3/4/2010","end":"3/20/2010","progress":60,"iconCls":"icon-ok"}, {"id":2,"name":"Designing","begin":"3/4/2010","end":"3/10/2010","progress":100,"_parentId":1,"state":"closed"}, {"id":21,"name":"Database","persons":2,"begin":"3/4/2010","end":"3/6/2010","progress":100,"_parentId":2}, {"id":22,"name":"UML","persons":1,"begin":"3/7/2010","end":"3/8/2010","progress":100,"_parentId":2}, {"id":23,"name":"Export Document","persons":1,"begin":"3/9/2010","end":"3/10/2010","progress":100,"_parentId":2}, {"id":3,"name":"Coding","persons":2,"begin":"3/11/2010","end":"3/18/2010","progress":80}, {"id":4,"name":"Testing","persons":1,"begin":"3/19/2010","end":"3/20/2010","progress":20} ],"footer":[ {"name":"Total Persons:","persons":7,"iconCls":"icon-sum"} ]} ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/treegrid/treegrid_data3.json ================================================ {"total":9,"rows":[ {"id":1,"region":"Wyoming"}, {"id":11,"region":"Albin","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":1}, {"id":12,"region":"Canon","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":1}, {"id":13,"region":"Egbert","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":1}, {"id":2,"region":"Washington"}, {"id":21,"region":"Bellingham","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":2}, {"id":22,"region":"Chehalis","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":2}, {"id":23,"region":"Ellensburg","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":2}, {"id":24,"region":"Monroe","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":2} ],"footer":[ {"region":"Total","f1":14000,"f2":12600,"f3":13321,"f4":15281,"f5":14931,"f6":13461,"f7":14126,"f8":12866} ]} ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/validatebox/basic.html ================================================ Basic ValidateBox - jQuery EasyUI Demo

                                              Basic ValidateBox

                                              It's easy to add validate logic to a input box.

                                              User Name:
                                              Email:
                                              Birthday:
                                              URL:
                                              Phone:
                                              ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/validatebox/customtooltip.html ================================================ Custom ValidateBox Tooltip - jQuery EasyUI Demo

                                              Custom ValidateBox Tooltip

                                              This sample shows how to display another tooltip message on a valid textbox.

                                              User Name:
                                              Email:
                                              Birthday:
                                              URL:
                                              Phone:
                                              ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/validatebox/validateonblur.html ================================================ Validate On Blur - jQuery EasyUI Demo

                                              Validate On Blur

                                              Active validation on first blur event.

                                              User Name:
                                              Email:
                                              Birthday:
                                              URL:
                                              Phone:
                                              ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/window/basic.html ================================================ Basic Window - jQuery EasyUI Demo

                                              Basic Window

                                              Window can be dragged freely on screen.

                                              The window content.
                                              ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/window/customtools.html ================================================ Custom Window Tools - jQuery EasyUI Demo

                                              Custom Window Tools

                                              Click the right top buttons to perform actions.

                                              The window content.
                                              ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/window/fluid.html ================================================ Fluid Window - jQuery EasyUI Demo

                                              Fluid Window

                                              This example shows how to set the width of Window to a percentage of its parent container.

                                              The window has a width of 80%.

                                              ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/window/footer.html ================================================ Window with a Footer - jQuery EasyUI Demo

                                              Window with a Footer

                                              This example shows how to attach a footer bar to the window.

                                              The window content.
                                              ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/window/inlinewindow.html ================================================ Inline Window - jQuery EasyUI Demo

                                              Inline Window

                                              The inline window stay inside its parent.

                                              This window stay inside its parent
                                              ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/window/modalwindow.html ================================================ Modal Window - jQuery EasyUI Demo

                                              Modal Window

                                              Click the open button below to open the modal window.

                                              The window content.
                                              ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/demo/window/windowlayout.html ================================================ Window Layout - jQuery EasyUI Demo

                                              Window Layout

                                              Using layout on window.

                                              jQuery EasyUI framework help you build your web page easily.
                                              ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/easyloader.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function(){ var _1={draggable:{js:"jquery.draggable.js"},droppable:{js:"jquery.droppable.js"},resizable:{js:"jquery.resizable.js"},linkbutton:{js:"jquery.linkbutton.js",css:"linkbutton.css"},progressbar:{js:"jquery.progressbar.js",css:"progressbar.css"},tooltip:{js:"jquery.tooltip.js",css:"tooltip.css"},pagination:{js:"jquery.pagination.js",css:"pagination.css",dependencies:["linkbutton"]},datagrid:{js:"jquery.datagrid.js",css:"datagrid.css",dependencies:["panel","resizable","linkbutton","pagination"]},treegrid:{js:"jquery.treegrid.js",css:"tree.css",dependencies:["datagrid"]},propertygrid:{js:"jquery.propertygrid.js",css:"propertygrid.css",dependencies:["datagrid"]},panel:{js:"jquery.panel.js",css:"panel.css"},window:{js:"jquery.window.js",css:"window.css",dependencies:["resizable","draggable","panel"]},dialog:{js:"jquery.dialog.js",css:"dialog.css",dependencies:["linkbutton","window"]},messager:{js:"jquery.messager.js",css:"messager.css",dependencies:["linkbutton","window","progressbar"]},layout:{js:"jquery.layout.js",css:"layout.css",dependencies:["resizable","panel"]},form:{js:"jquery.form.js"},menu:{js:"jquery.menu.js",css:"menu.css"},tabs:{js:"jquery.tabs.js",css:"tabs.css",dependencies:["panel","linkbutton"]},menubutton:{js:"jquery.menubutton.js",css:"menubutton.css",dependencies:["linkbutton","menu"]},splitbutton:{js:"jquery.splitbutton.js",css:"splitbutton.css",dependencies:["menubutton"]},accordion:{js:"jquery.accordion.js",css:"accordion.css",dependencies:["panel"]},calendar:{js:"jquery.calendar.js",css:"calendar.css"},textbox:{js:"jquery.textbox.js",css:"textbox.css",dependencies:["validatebox","linkbutton"]},filebox:{js:"jquery.filebox.js",css:"filebox.css",dependencies:["textbox"]},combo:{js:"jquery.combo.js",css:"combo.css",dependencies:["panel","textbox"]},combobox:{js:"jquery.combobox.js",css:"combobox.css",dependencies:["combo"]},combotree:{js:"jquery.combotree.js",dependencies:["combo","tree"]},combogrid:{js:"jquery.combogrid.js",dependencies:["combo","datagrid"]},validatebox:{js:"jquery.validatebox.js",css:"validatebox.css",dependencies:["tooltip"]},numberbox:{js:"jquery.numberbox.js",dependencies:["textbox"]},searchbox:{js:"jquery.searchbox.js",css:"searchbox.css",dependencies:["menubutton","textbox"]},spinner:{js:"jquery.spinner.js",css:"spinner.css",dependencies:["textbox"]},numberspinner:{js:"jquery.numberspinner.js",dependencies:["spinner","numberbox"]},timespinner:{js:"jquery.timespinner.js",dependencies:["spinner"]},tree:{js:"jquery.tree.js",css:"tree.css",dependencies:["draggable","droppable"]},datebox:{js:"jquery.datebox.js",css:"datebox.css",dependencies:["calendar","combo"]},datetimebox:{js:"jquery.datetimebox.js",dependencies:["datebox","timespinner"]},slider:{js:"jquery.slider.js",dependencies:["draggable"]},tooltip:{js:"jquery.tooltip.js"},parser:{js:"jquery.parser.js"}}; var _2={"af":"easyui-lang-af.js","ar":"easyui-lang-ar.js","bg":"easyui-lang-bg.js","ca":"easyui-lang-ca.js","cs":"easyui-lang-cs.js","cz":"easyui-lang-cz.js","da":"easyui-lang-da.js","de":"easyui-lang-de.js","el":"easyui-lang-el.js","en":"easyui-lang-en.js","es":"easyui-lang-es.js","fr":"easyui-lang-fr.js","it":"easyui-lang-it.js","jp":"easyui-lang-jp.js","nl":"easyui-lang-nl.js","pl":"easyui-lang-pl.js","pt_BR":"easyui-lang-pt_BR.js","ru":"easyui-lang-ru.js","sv_SE":"easyui-lang-sv_SE.js","tr":"easyui-lang-tr.js","zh_CN":"easyui-lang-zh_CN.js","zh_TW":"easyui-lang-zh_TW.js"}; var _3={}; function _4(_5,_6){ var _7=false; var _8=document.createElement("script"); _8.type="text/javascript"; _8.language="javascript"; _8.src=_5; _8.onload=_8.onreadystatechange=function(){ if(!_7&&(!_8.readyState||_8.readyState=="loaded"||_8.readyState=="complete")){ _7=true; _8.onload=_8.onreadystatechange=null; if(_6){ _6.call(_8); } } }; document.getElementsByTagName("head")[0].appendChild(_8); }; function _9(_a,_b){ _4(_a,function(){ document.getElementsByTagName("head")[0].removeChild(this); if(_b){ _b(); } }); }; function _c(_d,_e){ var _f=document.createElement("link"); _f.rel="stylesheet"; _f.type="text/css"; _f.media="screen"; _f.href=_d; document.getElementsByTagName("head")[0].appendChild(_f); if(_e){ _e.call(_f); } }; function _10(_11,_12){ _3[_11]="loading"; var _13=_1[_11]; var _14="loading"; var _15=(easyloader.css&&_13["css"])?"loading":"loaded"; if(easyloader.css&&_13["css"]){ if(/^http/i.test(_13["css"])){ var url=_13["css"]; }else{ var url=easyloader.base+"themes/"+easyloader.theme+"/"+_13["css"]; } _c(url,function(){ _15="loaded"; if(_14=="loaded"&&_15=="loaded"){ _16(); } }); } if(/^http/i.test(_13["js"])){ var url=_13["js"]; }else{ var url=easyloader.base+"plugins/"+_13["js"]; } _4(url,function(){ _14="loaded"; if(_14=="loaded"&&_15=="loaded"){ _16(); } }); function _16(){ _3[_11]="loaded"; easyloader.onProgress(_11); if(_12){ _12(); } }; }; function _17(_18,_19){ var mm=[]; var _1a=false; if(typeof _18=="string"){ add(_18); }else{ for(var i=0;i<_18.length;i++){ add(_18[i]); } } function add(_1b){ if(!_1[_1b]){ return; } var d=_1[_1b]["dependencies"]; if(d){ for(var i=0;i Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Galleria is a javascript image gallery written in jQuery Copyright (C) 2008 David Hellsing This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Galleria Copyright (C) 2008 David Hellsing This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-af.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'Bladsy'; $.fn.pagination.defaults.afterPageText = 'Van {pages}'; $.fn.pagination.defaults.displayMsg = 'Wys (from) tot (to) van (total) items'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = 'Verwerking, wag asseblief ...'; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = 'Ok'; $.messager.defaults.cancel = 'Die styl'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = 'Die veld is verpligtend.'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = "Gee 'n geldige e-pos adres."; $.fn.validatebox.defaults.rules.url.message = "Gee 'n geldige URL nie."; $.fn.validatebox.defaults.rules.length.message = "Voer 'n waarde tussen {0} en {1}."; } if ($.fn.calendar){ $.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S']; $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = 'Vandag'; $.fn.datebox.defaults.closeText = 'Sluit'; $.fn.datebox.defaults.okText = 'Ok'; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-am.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'Էջ'; $.fn.pagination.defaults.afterPageText = 'ից {pages}'; $.fn.pagination.defaults.displayMsg = 'Դիտել {from}-ից {to}-ը {total} գրառումից'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = 'Մշակվում է, խնդրում ենք սպասել ...'; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = 'Այո'; $.messager.defaults.cancel = 'Փակել'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = 'Այս դաշտը պարտադիր է.'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = 'Խնդրում ենք մուտքագրել գործող e-mail հասցե.'; $.fn.validatebox.defaults.rules.url.message = 'Խնդրում ենք մուտքագրել գործող URL.'; $.fn.validatebox.defaults.rules.length.message = 'Խնդրում ենք մուտքագրել արժեք {0} {1}.'; $.fn.validatebox.defaults.rules.remote.message = 'Խնդրում ենք ուղղել այս դաշտը.'; } if ($.fn.calendar){ $.fn.calendar.defaults.firstDay = 1; $.fn.calendar.defaults.weeks = ['Կ.','Ե.','Ե.','Չ.','Հ.','Ու.','Շ.']; $.fn.calendar.defaults.months = ['Հունվար', 'Փետրվար', 'Մարտ', 'Ապրիլ', 'Մայիս', 'Հունիս', 'Հուլիս', 'Օգոստոս', 'Սեպտեմբեր', 'Հոկտեմբեր', 'Նոյեմբեր', 'Դեկտեմբեր']; } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = 'Այսօր'; $.fn.datebox.defaults.closeText = 'Փակել'; $.fn.datebox.defaults.okText = 'Այո'; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-ar.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'صفحة'; $.fn.pagination.defaults.afterPageText = 'من {pages}'; $.fn.pagination.defaults.displayMsg = 'عرض {from} إلى {to} من {total} عنصر'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = 'معالجة, الرجاء الإنتظار ...'; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = 'موافق'; $.messager.defaults.cancel = 'إلغاء'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = 'هذا الحقل مطلوب.'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = 'الرجاء إدخال بريد إلكتروني صحيح.'; $.fn.validatebox.defaults.rules.url.message = 'الرجاء إدخال رابط صحيح.'; $.fn.validatebox.defaults.rules.length.message = 'الرجاء إدخال قيمة بين {0} و {1}.'; $.fn.validatebox.defaults.rules.remote.message = 'الرجاء التأكد من الحقل.'; } if ($.fn.calendar){ $.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S']; $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = 'اليوم'; $.fn.datebox.defaults.closeText = 'إغلاق'; $.fn.datebox.defaults.okText = 'موافق'; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-bg.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'Страница'; $.fn.pagination.defaults.afterPageText = 'от {pages}'; $.fn.pagination.defaults.displayMsg = 'Показани {from} за {to} от {total} продукти'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = 'Обработка, моля изчакайте ...'; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = 'Добре'; $.messager.defaults.cancel = 'Задрасквам'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = 'Това поле е задължително.'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = 'Моля, въведете валиден имейл адрес.'; $.fn.validatebox.defaults.rules.url.message = 'Моля въведете валиден URL.'; $.fn.validatebox.defaults.rules.length.message = 'Моля, въведете стойност между {0} и {1}.'; } if ($.fn.calendar){ $.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S']; $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = 'Днес'; $.fn.datebox.defaults.closeText = 'Близо'; $.fn.datebox.defaults.okText = 'Добре'; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-ca.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'Pàgina'; $.fn.pagination.defaults.afterPageText = 'de {pages}'; $.fn.pagination.defaults.displayMsg = "Veient {from} a {to} de {total} d'articles"; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = 'Elaboració, si us plau esperi ...'; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = 'Ok'; $.messager.defaults.cancel = 'Cancel'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = 'Aquest camp és obligatori.'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = 'Introduïu una adreça de correu electrònic vàlida.'; $.fn.validatebox.defaults.rules.url.message = 'Si us plau, introduïu un URL vàlida.'; $.fn.validatebox.defaults.rules.length.message = 'Si us plau, introduïu un valor entre {0} i {1}.'; } if ($.fn.calendar){ $.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S']; $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = 'Avui'; $.fn.datebox.defaults.closeText = 'Tancar'; $.fn.datebox.defaults.okText = 'Ok'; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-cs.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'Strana'; $.fn.pagination.defaults.afterPageText = 'z {pages}'; $.fn.pagination.defaults.displayMsg = 'Zobrazuji {from} do {to} z {total} položky'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = 'Zpracování, čekejte prosím ...'; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = 'Ok'; $.messager.defaults.cancel = 'Zrušit'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = 'Toto pole je vyžadováno.'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = 'Zadejte prosím platnou e-mailovou adresu.'; $.fn.validatebox.defaults.rules.url.message = 'Zadejte prosím platnou adresu URL.'; $.fn.validatebox.defaults.rules.length.message = 'Prosím, zadejte hodnotu mezi {0} a {1}.'; } if ($.fn.calendar){ $.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S']; $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = 'Dnes'; $.fn.datebox.defaults.closeText = 'Zavřít'; $.fn.datebox.defaults.okText = 'Ok'; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-cz.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'Strana'; $.fn.pagination.defaults.afterPageText = 'z {pages}'; $.fn.pagination.defaults.displayMsg = 'Zobrazuji záznam {from} až {to} z {total}.'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = 'Pracuji, čekejte prosím…'; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = 'Ok'; $.messager.defaults.cancel = 'Zrušit'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = 'Toto pole je vyžadováno.'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = 'Zadejte, prosím, platnou e-mailovou adresu.'; $.fn.validatebox.defaults.rules.url.message = 'Zadejte, prosím, platnou adresu URL.'; $.fn.validatebox.defaults.rules.length.message = 'Zadejte, prosím, hodnotu mezi {0} a {1}.'; } if ($.fn.calendar){ $.fn.calendar.defaults.weeks = ['N','P','Ú','S','Č','P','S']; //neděle pondělí úterý středa čtvrtek pátek sobota $.fn.calendar.defaults.months = ['led', 'únr', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro']; //leden únor březen duben květen červen červenec srpen září říjen listopad prosinec } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = 'Dnes'; $.fn.datebox.defaults.closeText = 'Zavřít'; $.fn.datebox.defaults.okText = 'Ok'; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-da.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'Page'; $.fn.pagination.defaults.afterPageText = 'af {pages}'; $.fn.pagination.defaults.displayMsg = 'Viser {from} til {to} af {total} poster'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = 'Behandling, vent venligst ...'; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = 'Ok'; $.messager.defaults.cancel = 'Annuller'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = 'Dette felt er påkrævet.'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = 'Angiv en gyldig e-mail-adresse.'; $.fn.validatebox.defaults.rules.url.message = 'Angiv en gyldig webadresse.'; $.fn.validatebox.defaults.rules.length.message = 'Angiv en værdi mellem {0} og {1}.'; } if ($.fn.calendar){ $.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S']; $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = 'I dag'; $.fn.datebox.defaults.closeText = 'Luk'; $.fn.datebox.defaults.okText = 'Ok'; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-de.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'Seite'; $.fn.pagination.defaults.afterPageText = 'von {pages}'; $.fn.pagination.defaults.displayMsg = '{from} bis {to} von {total} Datensätzen'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = 'Verarbeitung läuft, bitte warten ...'; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = 'OK'; $.messager.defaults.cancel = 'Abbruch'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = 'Dieses Feld wird benötigt.'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = 'Bitte geben Sie eine gültige E-Mail-Adresse ein.'; $.fn.validatebox.defaults.rules.url.message = 'Bitte geben Sie eine gültige URL ein.'; $.fn.validatebox.defaults.rules.length.message = 'Bitte geben Sie einen Wert zwischen {0} und {1} ein.'; } if ($.fn.calendar){ $.fn.calendar.defaults.firstDay = 1; $.fn.calendar.defaults.weeks = ['S','M','D','M','D','F','S']; $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez']; } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = 'Heute'; $.fn.datebox.defaults.closeText = 'Schließen'; $.fn.datebox.defaults.okText = 'OK'; $.fn.datebox.defaults.formatter = function(date){ var y = date.getFullYear(); var m = date.getMonth()+1; var d = date.getDate(); return (d<10?('0'+d):d)+'.'+(m<10?('0'+m):m)+'.'+y; }; $.fn.datebox.defaults.parser = function(s){ if (!s) return new Date(); var ss = s.split('.'); var m = parseInt(ss[1],10); var d = parseInt(ss[0],10); var y = parseInt(ss[2],10); if (!isNaN(y) && !isNaN(m) && !isNaN(d)){ return new Date(y,m-1,d); } else { return new Date(); } }; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-el.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'Σελίδα'; $.fn.pagination.defaults.afterPageText = 'από {pages}'; $.fn.pagination.defaults.displayMsg = 'Εμφάνιση {from} εώς {to} από {total} αντικείμενα'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = 'Γίνεται Επεξεργασία, Παρακαλώ Περιμένετε ...'; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = 'Εντάξει'; $.messager.defaults.cancel = 'Άκυρο'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = 'Το πεδίο είναι υποχρεωτικό.'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = 'Παρακαλώ εισάγετε σωστή Ηλ.Διεύθυνση.'; $.fn.validatebox.defaults.rules.url.message = 'Παρακαλώ εισάγετε σωστό σύνδεσμο.'; $.fn.validatebox.defaults.rules.length.message = 'Παρακαλώ εισάγετε τιμή μεταξύ {0} και {1}.'; $.fn.validatebox.defaults.rules.remote.message = 'Παρακαλώ διορθώστε αυτό το πεδίο.'; } if ($.fn.calendar){ $.fn.calendar.defaults.weeks = ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ']; $.fn.calendar.defaults.months = ['Ιαν', 'Φεβ', 'Μαρ', 'Απρ', 'Μαϊ', 'Ιου', 'Ιου', 'Αυγ', 'Σεπ', 'Οκτ', 'Νοε', 'Δεκ']; } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = 'Σήμερα'; $.fn.datebox.defaults.closeText = 'Κλείσιμο'; $.fn.datebox.defaults.okText = 'Εντάξει'; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-en.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'Page'; $.fn.pagination.defaults.afterPageText = 'of {pages}'; $.fn.pagination.defaults.displayMsg = 'Displaying {from} to {to} of {total} items'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = 'Processing, please wait ...'; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = 'Ok'; $.messager.defaults.cancel = 'Cancel'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = 'This field is required.'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = 'Please enter a valid email address.'; $.fn.validatebox.defaults.rules.url.message = 'Please enter a valid URL.'; $.fn.validatebox.defaults.rules.length.message = 'Please enter a value between {0} and {1}.'; $.fn.validatebox.defaults.rules.remote.message = 'Please fix this field.'; } if ($.fn.calendar){ $.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S']; $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = 'Today'; $.fn.datebox.defaults.closeText = 'Close'; $.fn.datebox.defaults.okText = 'Ok'; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-es.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'Página'; $.fn.pagination.defaults.afterPageText = 'de {pages}'; $.fn.pagination.defaults.displayMsg = 'Mostrando {from} a {to} de {total} elementos'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = 'Procesando, por favor espere ...'; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = 'Aceptar'; $.messager.defaults.cancel = 'Cancelar'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = 'Este campo es obligatorio.'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = 'Por favor ingrese una dirección de correo válida.'; $.fn.validatebox.defaults.rules.url.message = 'Por favor ingrese una URL válida.'; $.fn.validatebox.defaults.rules.length.message = 'Por favor ingrese un valor entre {0} y {1}.'; $.fn.validatebox.defaults.rules.remote.message = 'Por favor corrija este campo.'; } if ($.fn.calendar){ $.fn.calendar.defaults.weeks = ['Do','Lu','Ma','Mi','Ju','Vi','Sá']; $.fn.calendar.defaults.months = ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic']; } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = 'Hoy'; $.fn.datebox.defaults.closeText = 'Cerrar'; $.fn.datebox.defaults.okText = 'Aceptar'; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-fr.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'Page'; $.fn.pagination.defaults.afterPageText = 'de {pages}'; $.fn.pagination.defaults.displayMsg = 'Affichage de {from} et {to} au {total} des articles'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = "Traitement, s'il vous plaît patienter ..."; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = 'Ok'; $.messager.defaults.cancel = 'Annuler'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = 'Ce champ est obligatoire.'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = "S'il vous plaît entrer une adresse email valide."; $.fn.validatebox.defaults.rules.url.message = "S'il vous plaît entrer une URL valide."; $.fn.validatebox.defaults.rules.length.message = "S'il vous plaît entrez une valeur comprise entre {0} et {1}."; } if ($.fn.calendar){ $.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S']; $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = "Aujourd'hui"; $.fn.datebox.defaults.closeText = 'Fermer'; $.fn.datebox.defaults.okText = 'Ok'; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-it.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'Pagina'; $.fn.pagination.defaults.afterPageText = 'di {pages}'; $.fn.pagination.defaults.displayMsg = 'Visualizzazione {from} a {to} di {total} elementi'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = 'In lavorazione, attendere ...'; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = 'Ok'; $.messager.defaults.cancel = 'Annulla'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = 'Questo campo è richiesto.'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = 'Inserisci un indirizzo email valido.'; $.fn.validatebox.defaults.rules.url.message = 'Inserisci un URL valido.'; $.fn.validatebox.defaults.rules.length.message = 'Inserisci un valore tra {0} e {1}.'; $.fn.validatebox.defaults.rules.remote.message = 'Aggiusta questo campo.'; } if ($.fn.calendar){ $.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S']; $.fn.calendar.defaults.months = ['Gen', 'Feb', 'Mar', 'Apr', 'Mag', 'Giu', 'Lug', 'Ago', 'Set', 'Ott', 'Nov', 'Dic']; } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = 'Oggi'; $.fn.datebox.defaults.closeText = 'Chiudi'; $.fn.datebox.defaults.okText = 'Ok'; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-jp.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'ページ'; $.fn.pagination.defaults.afterPageText = '{pages} 中'; $.fn.pagination.defaults.displayMsg = '全 {total} アイテム中 {from} から {to} を表示中'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = '処理中です。少々お待ちください...'; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = 'OK'; $.messager.defaults.cancel = 'キャンセル'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = '入力は必須です。'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = '正しいメールアドレスを入力してください。'; $.fn.validatebox.defaults.rules.url.message = '正しいURLを入力してください。'; $.fn.validatebox.defaults.rules.length.message = '{0} から {1} の範囲の正しい値を入力してください。'; $.fn.validatebox.defaults.rules.remote.message = 'このフィールドを修正してください。'; } if ($.fn.calendar){ $.fn.calendar.defaults.weeks = ['日','月','火','水','木','金','土']; $.fn.calendar.defaults.months = ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月']; } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = '今日'; $.fn.datebox.defaults.closeText = '閉じる'; $.fn.datebox.defaults.okText = 'OK'; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-nl.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'Pagina'; $.fn.pagination.defaults.afterPageText = 'van {pages}'; $.fn.pagination.defaults.displayMsg = 'Tonen van {from} tot {to} van de {total} items'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = 'Verwerking, even geduld ...'; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = 'Ok'; $.messager.defaults.cancel = 'Annuleren'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = 'Dit veld is verplicht.'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = 'Geef een geldig e-mailadres.'; $.fn.validatebox.defaults.rules.url.message = 'Vul een geldige URL.'; $.fn.validatebox.defaults.rules.length.message = 'Voer een waarde tussen {0} en {1}.'; } if ($.fn.calendar){ $.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S']; $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = 'Vandaag'; $.fn.datebox.defaults.closeText = 'Dicht'; $.fn.datebox.defaults.okText = 'Ok'; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-pl.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'Strona'; $.fn.pagination.defaults.afterPageText = 'z {pages}'; $.fn.pagination.defaults.displayMsg = 'Wyświetlono elementy od {from} do {to} z {total}'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = 'Przetwarzanie, proszę czekać ...'; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = 'Ok'; $.messager.defaults.cancel = 'Cancel'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = 'To pole jest wymagane.'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = 'Wprowadź poprawny adres email.'; $.fn.validatebox.defaults.rules.url.message = 'Wprowadź poprawny adres URL.'; $.fn.validatebox.defaults.rules.length.message = 'Wprowadź wartość z zakresu od {0} do {1}.'; $.fn.validatebox.defaults.rules.remote.message = 'Proszę poprawić to pole.'; } if ($.fn.calendar){ $.fn.calendar.defaults.weeks = ['N','P','W','Ś','C','P','S']; $.fn.calendar.defaults.months = ['Sty', 'Lut', 'Mar', 'Kwi', 'Maj', 'Cze', 'Lip', 'Sie', 'Wrz', 'Paź', 'Lis', 'Gru']; } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = 'Dzisiaj'; $.fn.datebox.defaults.closeText = 'Zamknij'; $.fn.datebox.defaults.okText = 'Ok'; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-pt_BR.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'Página'; $.fn.pagination.defaults.afterPageText = 'de {pages}'; $.fn.pagination.defaults.displayMsg = 'Mostrando {from} a {to} de {total} itens'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = 'Processando, aguarde ...'; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = 'Ok'; $.messager.defaults.cancel = 'Cancelar'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = 'Esse campo é requerido.'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = 'Insira um endereço de email válido.'; $.fn.validatebox.defaults.rules.url.message = 'Insira uma URL válida.'; $.fn.validatebox.defaults.rules.length.message = 'Insira uma valor entre {0} e {1}.'; $.fn.validatebox.defaults.rules.remote.message = 'Corrija esse campo.'; } if ($.fn.calendar){ $.fn.calendar.defaults.weeks = ['D','S','T','Q','Q','S','S']; $.fn.calendar.defaults.months = ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez']; } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = 'Hoje'; $.fn.datebox.defaults.closeText = 'Fechar'; $.fn.datebox.defaults.okText = 'Ok'; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-ru.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'Страница'; $.fn.pagination.defaults.afterPageText = 'из {pages}'; $.fn.pagination.defaults.displayMsg = 'Просмотр {from} до {to} из {total} записей'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = 'Обрабатывается, пожалуйста ждите ...'; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = 'Ок'; $.messager.defaults.cancel = 'Закрыть'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = 'Это поле необходимо.'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = 'Пожалуйста введите корректный e-mail адрес.'; $.fn.validatebox.defaults.rules.url.message = 'Пожалуйста введите корректный URL.'; $.fn.validatebox.defaults.rules.length.message = 'Пожалуйста введите зачение между {0} и {1}.'; $.fn.validatebox.defaults.rules.remote.message = 'Пожалуйста исправте это поле.'; } if ($.fn.calendar){ $.fn.calendar.defaults.firstDay = 1; $.fn.calendar.defaults.weeks = ['В','П','В','С','Ч','П','С']; $.fn.calendar.defaults.months = ['Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', 'Окт', 'Ноя', 'Дек']; } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = 'Сегодня'; $.fn.datebox.defaults.closeText = 'Закрыть'; $.fn.datebox.defaults.okText = 'Ок'; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-sv_SE.js ================================================ if ($.fn.pagination) { $.fn.pagination.defaults.beforePageText = 'Sida'; $.fn.pagination.defaults.afterPageText = 'av {pages}'; $.fn.pagination.defaults.displayMsg = 'Visar {from} till {to} av {total} poster'; } if ($.fn.datagrid) { $.fn.datagrid.defaults.loadMsg = 'Bearbetar, vänligen vänta ...'; } if ($.fn.treegrid && $.fn.datagrid) { $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager) { $.messager.defaults.ok = 'Ok'; $.messager.defaults.cancel = 'Avbryt'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = 'Detta fält är obligatoriskt.'; } }); if ($.fn.validatebox) { $.fn.validatebox.defaults.rules.email.message = 'Vänligen ange en korrekt e-post adress.'; $.fn.validatebox.defaults.rules.url.message = 'Vänligen ange en korrekt URL.'; $.fn.validatebox.defaults.rules.length.message = 'Vänligen ange ett nummer mellan {0} och {1}.'; $.fn.validatebox.defaults.rules.remote.message = 'Vänligen åtgärda detta fält.'; } if ($.fn.calendar) { $.fn.calendar.defaults.weeks = ['Sön', 'Mån', 'Tis', 'Ons', 'Tors', 'Fre', 'Lör']; $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec']; } if ($.fn.datebox) { $.fn.datebox.defaults.currentText = 'I dag'; $.fn.datebox.defaults.closeText = 'Stäng'; $.fn.datebox.defaults.okText = 'Ok'; } if ($.fn.datetimebox && $.fn.datebox) { $.extend($.fn.datetimebox.defaults, { currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-tr.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'Sayfa'; $.fn.pagination.defaults.afterPageText = ' / {pages}'; $.fn.pagination.defaults.displayMsg = '{from} ile {to} arası gösteriliyor, toplam {total} kayıt'; } if ($.fn.datagrid){ $.fn.panel.defaults.loadingMessage = "Yükleniyor..."; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadingMessage = "Yükleniyor..."; $.fn.datagrid.defaults.loadMsg = 'İşleminiz Yapılıyor, lütfen bekleyin ...'; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = 'Tamam'; $.messager.defaults.cancel = 'İptal'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = 'Bu alan zorunludur.'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = 'Lütfen geçerli bir email adresi giriniz.'; $.fn.validatebox.defaults.rules.url.message = 'Lütfen geçerli bir URL giriniz.'; $.fn.validatebox.defaults.rules.length.message = 'Lütfen {0} ile {1} arasında bir değer giriniz.'; $.fn.validatebox.defaults.rules.remote.message = 'Lütfen bu alanı düzeltiniz.'; } if ($.fn.calendar){ $.fn.calendar.defaults.weeks = ['Pz','Pt','Sa','Ça','Pe','Cu','Ct']; $.fn.calendar.defaults.months = ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara']; } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = 'Bugün'; $.fn.datebox.defaults.closeText = 'Kapat'; $.fn.datebox.defaults.okText = 'Tamam'; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); $.fn.datebox.defaults.formatter=function(date){ var y=date.getFullYear(); var m=date.getMonth()+1; var d=date.getDate(); if(m<10){m="0"+m;} if(d<10){d="0"+d;} return d+"."+m+"."+y; }; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-zh_CN.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = '第'; $.fn.pagination.defaults.afterPageText = '共{pages}页'; $.fn.pagination.defaults.displayMsg = '显示{from}到{to},共{total}记录'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = '正在处理,请稍待。。。'; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = '确定'; $.messager.defaults.cancel = '取消'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = '该输入项为必输项'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = '请输入有效的电子邮件地址'; $.fn.validatebox.defaults.rules.url.message = '请输入有效的URL地址'; $.fn.validatebox.defaults.rules.length.message = '输入内容长度必须介于{0}和{1}之间'; $.fn.validatebox.defaults.rules.remote.message = '请修正该字段'; } if ($.fn.calendar){ $.fn.calendar.defaults.weeks = ['日','一','二','三','四','五','六']; $.fn.calendar.defaults.months = ['一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月']; } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = '今天'; $.fn.datebox.defaults.closeText = '关闭'; $.fn.datebox.defaults.okText = '确定'; $.fn.datebox.defaults.formatter = function(date){ var y = date.getFullYear(); var m = date.getMonth()+1; var d = date.getDate(); return y+'-'+(m<10?('0'+m):m)+'-'+(d<10?('0'+d):d); }; $.fn.datebox.defaults.parser = function(s){ if (!s) return new Date(); var ss = s.split('-'); var y = parseInt(ss[0],10); var m = parseInt(ss[1],10); var d = parseInt(ss[2],10); if (!isNaN(y) && !isNaN(m) && !isNaN(d)){ return new Date(y,m-1,d); } else { return new Date(); } }; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } if ($.fn.datetimespinner){ $.fn.datetimespinner.defaults.selections = [[0,4],[5,7],[8,10],[11,13],[14,16],[17,19]] } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/locale/easyui-lang-zh_TW.js ================================================ if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = '第'; $.fn.pagination.defaults.afterPageText = '共{pages}頁'; $.fn.pagination.defaults.displayMsg = '顯示{from}到{to},共{total}記錄'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = '正在處理,請稍待。。。'; } if ($.fn.treegrid && $.fn.datagrid){ $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; } if ($.messager){ $.messager.defaults.ok = '確定'; $.messager.defaults.cancel = '取消'; } $.map(['validatebox','textbox','filebox','searchbox', 'combo','combobox','combogrid','combotree', 'datebox','datetimebox','numberbox', 'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){ if ($.fn[plugin]){ $.fn[plugin].defaults.missingMessage = '該輸入項為必輸項'; } }); if ($.fn.validatebox){ $.fn.validatebox.defaults.rules.email.message = '請輸入有效的電子郵件地址'; $.fn.validatebox.defaults.rules.url.message = '請輸入有效的URL地址'; $.fn.validatebox.defaults.rules.length.message = '輸入內容長度必須介於{0}和{1}之間'; $.fn.validatebox.defaults.rules.remote.message = '請修正此欄位'; } if ($.fn.calendar){ $.fn.calendar.defaults.weeks = ['日','一','二','三','四','五','六']; $.fn.calendar.defaults.months = ['一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月']; } if ($.fn.datebox){ $.fn.datebox.defaults.currentText = '今天'; $.fn.datebox.defaults.closeText = '關閉'; $.fn.datebox.defaults.okText = '確定'; } if ($.fn.datetimebox && $.fn.datebox){ $.extend($.fn.datetimebox.defaults,{ currentText: $.fn.datebox.defaults.currentText, closeText: $.fn.datebox.defaults.closeText, okText: $.fn.datebox.defaults.okText }); } if ($.fn.datetimespinner){ $.fn.datetimespinner.defaults.selections = [[0,4],[5,7],[8,10],[11,13],[14,16],[17,19]] } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.accordion.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2,_3){ var _4=$.data(_2,"accordion"); var _5=_4.options; var _6=_4.panels; var cc=$(_2); if(_3){ $.extend(_5,{width:_3.width,height:_3.height}); } cc._size(_5); var _7=0; var _8="auto"; var _9=cc.find(">div.panel>div.accordion-header"); if(_9.length){ _7=$(_9[0]).css("height","")._outerHeight(); } if(!isNaN(parseInt(_5.height))){ _8=cc.height()-_7*_9.length; } _a(true,_8-_a(false)+1); function _a(_b,_c){ var _d=0; for(var i=0;i<_6.length;i++){ var p=_6[i]; var h=p.panel("header")._outerHeight(_7); if(p.panel("options").collapsible==_b){ var _e=isNaN(_c)?undefined:(_c+_7*h.length); p.panel("resize",{width:cc.width(),height:(_b?_e:undefined)}); _d+=p.panel("panel").outerHeight()-_7*h.length; } } return _d; }; }; function _f(_10,_11,_12,all){ var _13=$.data(_10,"accordion").panels; var pp=[]; for(var i=0;i<_13.length;i++){ var p=_13[i]; if(_11){ if(p.panel("options")[_11]==_12){ pp.push(p); } }else{ if(p[0]==$(_12)[0]){ return i; } } } if(_11){ return all?pp:(pp.length?pp[0]:null); }else{ return -1; } }; function _14(_15){ return _f(_15,"collapsed",false,true); }; function _16(_17){ var pp=_14(_17); return pp.length?pp[0]:null; }; function _18(_19,_1a){ return _f(_19,null,_1a); }; function _1b(_1c,_1d){ var _1e=$.data(_1c,"accordion").panels; if(typeof _1d=="number"){ if(_1d<0||_1d>=_1e.length){ return null; }else{ return _1e[_1d]; } } return _f(_1c,"title",_1d); }; function _1f(_20){ var _21=$.data(_20,"accordion").options; var cc=$(_20); if(_21.border){ cc.removeClass("accordion-noborder"); }else{ cc.addClass("accordion-noborder"); } }; function _22(_23){ var _24=$.data(_23,"accordion"); var cc=$(_23); cc.addClass("accordion"); _24.panels=[]; cc.children("div").each(function(){ var _25=$.extend({},$.parser.parseOptions(this),{selected:($(this).attr("selected")?true:undefined)}); var pp=$(this); _24.panels.push(pp); _27(_23,pp,_25); }); cc.bind("_resize",function(e,_26){ if($(this).hasClass("easyui-fluid")||_26){ _1(_23); } return false; }); }; function _27(_28,pp,_29){ var _2a=$.data(_28,"accordion").options; pp.panel($.extend({},{collapsible:true,minimizable:false,maximizable:false,closable:false,doSize:false,collapsed:true,headerCls:"accordion-header",bodyCls:"accordion-body"},_29,{onBeforeExpand:function(){ if(_29.onBeforeExpand){ if(_29.onBeforeExpand.call(this)==false){ return false; } } if(!_2a.multiple){ var all=$.grep(_14(_28),function(p){ return p.panel("options").collapsible; }); for(var i=0;i").addClass("accordion-collapse accordion-expand").appendTo(_2e); t.bind("click",function(){ var _2f=_18(_28,pp); if(pp.panel("options").collapsed){ _30(_28,_2f); }else{ _35(_28,_2f); } return false; }); pp.panel("options").collapsible?t.show():t.hide(); _2d.click(function(){ $(this).find("a.accordion-collapse:visible").triggerHandler("click"); return false; }); }; function _30(_31,_32){ var p=_1b(_31,_32); if(!p){ return; } _33(_31); var _34=$.data(_31,"accordion").options; p.panel("expand",_34.animate); }; function _35(_36,_37){ var p=_1b(_36,_37); if(!p){ return; } _33(_36); var _38=$.data(_36,"accordion").options; p.panel("collapse",_38.animate); }; function _39(_3a){ var _3b=$.data(_3a,"accordion").options; var p=_f(_3a,"selected",true); if(p){ _3c(_18(_3a,p)); }else{ _3c(_3b.selected); } function _3c(_3d){ var _3e=_3b.animate; _3b.animate=false; _30(_3a,_3d); _3b.animate=_3e; }; }; function _33(_3f){ var _40=$.data(_3f,"accordion").panels; for(var i=0;i<_40.length;i++){ _40[i].stop(true,true); } }; function add(_41,_42){ var _43=$.data(_41,"accordion"); var _44=_43.options; var _45=_43.panels; if(_42.selected==undefined){ _42.selected=true; } _33(_41); var pp=$("
                                              ").appendTo(_41); _45.push(pp); _27(_41,pp,_42); _1(_41); _44.onAdd.call(_41,_42.title,_45.length-1); if(_42.selected){ _30(_41,_45.length-1); } }; function _46(_47,_48){ var _49=$.data(_47,"accordion"); var _4a=_49.options; var _4b=_49.panels; _33(_47); var _4c=_1b(_47,_48); var _4d=_4c.panel("options").title; var _4e=_18(_47,_4c); if(!_4c){ return; } if(_4a.onBeforeRemove.call(_47,_4d,_4e)==false){ return; } _4b.splice(_4e,1); _4c.panel("destroy"); if(_4b.length){ _1(_47); var _4f=_16(_47); if(!_4f){ _30(_47,0); } } _4a.onRemove.call(_47,_4d,_4e); }; $.fn.accordion=function(_50,_51){ if(typeof _50=="string"){ return $.fn.accordion.methods[_50](this,_51); } _50=_50||{}; return this.each(function(){ var _52=$.data(this,"accordion"); if(_52){ $.extend(_52.options,_50); }else{ $.data(this,"accordion",{options:$.extend({},$.fn.accordion.defaults,$.fn.accordion.parseOptions(this),_50),accordion:$(this).addClass("accordion"),panels:[]}); _22(this); } _1f(this); _1(this); _39(this); }); }; $.fn.accordion.methods={options:function(jq){ return $.data(jq[0],"accordion").options; },panels:function(jq){ return $.data(jq[0],"accordion").panels; },resize:function(jq,_53){ return jq.each(function(){ _1(this,_53); }); },getSelections:function(jq){ return _14(jq[0]); },getSelected:function(jq){ return _16(jq[0]); },getPanel:function(jq,_54){ return _1b(jq[0],_54); },getPanelIndex:function(jq,_55){ return _18(jq[0],_55); },select:function(jq,_56){ return jq.each(function(){ _30(this,_56); }); },unselect:function(jq,_57){ return jq.each(function(){ _35(this,_57); }); },add:function(jq,_58){ return jq.each(function(){ add(this,_58); }); },remove:function(jq,_59){ return jq.each(function(){ _46(this,_59); }); }}; $.fn.accordion.parseOptions=function(_5a){ var t=$(_5a); return $.extend({},$.parser.parseOptions(_5a,["width","height",{fit:"boolean",border:"boolean",animate:"boolean",multiple:"boolean",selected:"number"}])); }; $.fn.accordion.defaults={width:"auto",height:"auto",fit:false,border:true,animate:true,multiple:false,selected:0,onSelect:function(_5b,_5c){ },onUnselect:function(_5d,_5e){ },onAdd:function(_5f,_60){ },onBeforeRemove:function(_61,_62){ },onRemove:function(_63,_64){ }}; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.calendar.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2,_3){ var _4=$.data(_2,"calendar").options; var t=$(_2); if(_3){ $.extend(_4,{width:_3.width,height:_3.height}); } t._size(_4,t.parent()); t.find(".calendar-body")._outerHeight(t.height()-t.find(".calendar-header")._outerHeight()); if(t.find(".calendar-menu").is(":visible")){ _5(_2); } }; function _6(_7){ $(_7).addClass("calendar").html("
                                              "+"
                                              "+"
                                              "+"
                                              "+"
                                              "+"
                                              "+""+"
                                              "+"
                                              "+"
                                              "+"
                                              "+"
                                              "+""+""+""+"
                                              "+"
                                              "+"
                                              "+"
                                              "+"
                                              "); $(_7).bind("_resize",function(e,_8){ if($(this).hasClass("easyui-fluid")||_8){ _1(_7); } return false; }); }; function _9(_a){ var _b=$.data(_a,"calendar").options; var _c=$(_a).find(".calendar-menu"); _c.find(".calendar-menu-year").unbind(".calendar").bind("keypress.calendar",function(e){ if(e.keyCode==13){ _d(true); } }); $(_a).unbind(".calendar").bind("mouseover.calendar",function(e){ var t=_e(e.target); if(t.hasClass("calendar-nav")||t.hasClass("calendar-text")||(t.hasClass("calendar-day")&&!t.hasClass("calendar-disabled"))){ t.addClass("calendar-nav-hover"); } }).bind("mouseout.calendar",function(e){ var t=_e(e.target); if(t.hasClass("calendar-nav")||t.hasClass("calendar-text")||(t.hasClass("calendar-day")&&!t.hasClass("calendar-disabled"))){ t.removeClass("calendar-nav-hover"); } }).bind("click.calendar",function(e){ var t=_e(e.target); if(t.hasClass("calendar-menu-next")||t.hasClass("calendar-nextyear")){ _f(1); }else{ if(t.hasClass("calendar-menu-prev")||t.hasClass("calendar-prevyear")){ _f(-1); }else{ if(t.hasClass("calendar-menu-month")){ _c.find(".calendar-selected").removeClass("calendar-selected"); t.addClass("calendar-selected"); _d(true); }else{ if(t.hasClass("calendar-prevmonth")){ _10(-1); }else{ if(t.hasClass("calendar-nextmonth")){ _10(1); }else{ if(t.hasClass("calendar-text")){ if(_c.is(":visible")){ _c.hide(); }else{ _5(_a); } }else{ if(t.hasClass("calendar-day")){ if(t.hasClass("calendar-disabled")){ return; } var _11=_b.current; t.closest("div.calendar-body").find(".calendar-selected").removeClass("calendar-selected"); t.addClass("calendar-selected"); var _12=t.attr("abbr").split(","); var y=parseInt(_12[0]); var m=parseInt(_12[1]); var d=parseInt(_12[2]); _b.current=new Date(y,m-1,d); _b.onSelect.call(_a,_b.current); if(!_11||_11.getTime()!=_b.current.getTime()){ _b.onChange.call(_a,_b.current,_11); } if(_b.year!=y||_b.month!=m){ _b.year=y; _b.month=m; _19(_a); } } } } } } } } }); function _e(t){ var day=$(t).closest(".calendar-day"); if(day.length){ return day; }else{ return $(t); } }; function _d(_13){ var _14=$(_a).find(".calendar-menu"); var _15=_14.find(".calendar-menu-year").val(); var _16=_14.find(".calendar-selected").attr("abbr"); if(!isNaN(_15)){ _b.year=parseInt(_15); _b.month=parseInt(_16); _19(_a); } if(_13){ _14.hide(); } }; function _f(_17){ _b.year+=_17; _19(_a); _c.find(".calendar-menu-year").val(_b.year); }; function _10(_18){ _b.month+=_18; if(_b.month>12){ _b.year++; _b.month=1; }else{ if(_b.month<1){ _b.year--; _b.month=12; } } _19(_a); _c.find("td.calendar-selected").removeClass("calendar-selected"); _c.find("td:eq("+(_b.month-1)+")").addClass("calendar-selected"); }; }; function _5(_1a){ var _1b=$.data(_1a,"calendar").options; $(_1a).find(".calendar-menu").show(); if($(_1a).find(".calendar-menu-month-inner").is(":empty")){ $(_1a).find(".calendar-menu-month-inner").empty(); var t=$("
                                              ").appendTo($(_1a).find(".calendar-menu-month-inner")); var idx=0; for(var i=0;i<3;i++){ var tr=$("").appendTo(t); for(var j=0;j<4;j++){ $("").html(_1b.months[idx++]).attr("abbr",idx).appendTo(tr); } } } var _1c=$(_1a).find(".calendar-body"); var _1d=$(_1a).find(".calendar-menu"); var _1e=_1d.find(".calendar-menu-year-inner"); var _1f=_1d.find(".calendar-menu-month-inner"); _1e.find("input").val(_1b.year).focus(); _1f.find("td.calendar-selected").removeClass("calendar-selected"); _1f.find("td:eq("+(_1b.month-1)+")").addClass("calendar-selected"); _1d._outerWidth(_1c._outerWidth()); _1d._outerHeight(_1c._outerHeight()); _1f._outerHeight(_1d.height()-_1e._outerHeight()); }; function _20(_21,_22,_23){ var _24=$.data(_21,"calendar").options; var _25=[]; var _26=new Date(_22,_23,0).getDate(); for(var i=1;i<=_26;i++){ _25.push([_22,_23,i]); } var _27=[],_28=[]; var _29=-1; while(_25.length>0){ var _2a=_25.shift(); _28.push(_2a); var day=new Date(_2a[0],_2a[1]-1,_2a[2]).getDay(); if(_29==day){ day=0; }else{ if(day==(_24.firstDay==0?7:_24.firstDay)-1){ _27.push(_28); _28=[]; } } _29=day; } if(_28.length){ _27.push(_28); } var _2b=_27[0]; if(_2b.length<7){ while(_2b.length<7){ var _2c=_2b[0]; var _2a=new Date(_2c[0],_2c[1]-1,_2c[2]-1); _2b.unshift([_2a.getFullYear(),_2a.getMonth()+1,_2a.getDate()]); } }else{ var _2c=_2b[0]; var _28=[]; for(var i=1;i<=7;i++){ var _2a=new Date(_2c[0],_2c[1]-1,_2c[2]-i); _28.unshift([_2a.getFullYear(),_2a.getMonth()+1,_2a.getDate()]); } _27.unshift(_28); } var _2d=_27[_27.length-1]; while(_2d.length<7){ var _2e=_2d[_2d.length-1]; var _2a=new Date(_2e[0],_2e[1]-1,_2e[2]+1); _2d.push([_2a.getFullYear(),_2a.getMonth()+1,_2a.getDate()]); } if(_27.length<6){ var _2e=_2d[_2d.length-1]; var _28=[]; for(var i=1;i<=7;i++){ var _2a=new Date(_2e[0],_2e[1]-1,_2e[2]+i); _28.push([_2a.getFullYear(),_2a.getMonth()+1,_2a.getDate()]); } _27.push(_28); } return _27; }; function _19(_2f){ var _30=$.data(_2f,"calendar").options; if(_30.current&&!_30.validator.call(_2f,_30.current)){ _30.current=null; } var now=new Date(); var _31=now.getFullYear()+","+(now.getMonth()+1)+","+now.getDate(); var _32=_30.current?(_30.current.getFullYear()+","+(_30.current.getMonth()+1)+","+_30.current.getDate()):""; var _33=6-_30.firstDay; var _34=_33+1; if(_33>=7){ _33-=7; } if(_34>=7){ _34-=7; } $(_2f).find(".calendar-title span").html(_30.months[_30.month-1]+" "+_30.year); var _35=$(_2f).find("div.calendar-body"); _35.children("table").remove(); var _36=[""]; _36.push(""); for(var i=_30.firstDay;i<_30.weeks.length;i++){ _36.push(""); } for(var i=0;i<_30.firstDay;i++){ _36.push(""); } _36.push(""); _36.push(""); var _37=_20(_2f,_30.year,_30.month); for(var i=0;i<_37.length;i++){ var _38=_37[i]; var cls=""; if(i==0){ cls="calendar-first"; }else{ if(i==_37.length-1){ cls="calendar-last"; } } _36.push(""); for(var j=0;j<_38.length;j++){ var day=_38[j]; var s=day[0]+","+day[1]+","+day[2]; var _39=new Date(day[0],parseInt(day[1])-1,day[2]); var d=_30.formatter.call(_2f,_39); var css=_30.styler.call(_2f,_39); var _3a=""; var _3b=""; if(typeof css=="string"){ _3b=css; }else{ if(css){ _3a=css["class"]||""; _3b=css["style"]||""; } } var cls="calendar-day"; if(!(_30.year==day[0]&&_30.month==day[1])){ cls+=" calendar-other-month"; } if(s==_31){ cls+=" calendar-today"; } if(s==_32){ cls+=" calendar-selected"; } if(j==_33){ cls+=" calendar-saturday"; }else{ if(j==_34){ cls+=" calendar-sunday"; } } if(j==0){ cls+=" calendar-first"; }else{ if(j==_38.length-1){ cls+=" calendar-last"; } } cls+=" "+_3a; if(!_30.validator.call(_2f,_39)){ cls+=" calendar-disabled"; } _36.push(""); } _36.push(""); } _36.push(""); _36.push("
                                              "+_30.weeks[i]+""+_30.weeks[i]+"
                                              "+d+"
                                              "); _35.append(_36.join("")); _35.children("table.calendar-dtable").prependTo(_35); _30.onNavigate.call(_2f,_30.year,_30.month); }; $.fn.calendar=function(_3c,_3d){ if(typeof _3c=="string"){ return $.fn.calendar.methods[_3c](this,_3d); } _3c=_3c||{}; return this.each(function(){ var _3e=$.data(this,"calendar"); if(_3e){ $.extend(_3e.options,_3c); }else{ _3e=$.data(this,"calendar",{options:$.extend({},$.fn.calendar.defaults,$.fn.calendar.parseOptions(this),_3c)}); _6(this); } if(_3e.options.border==false){ $(this).addClass("calendar-noborder"); } _1(this); _9(this); _19(this); $(this).find("div.calendar-menu").hide(); }); }; $.fn.calendar.methods={options:function(jq){ return $.data(jq[0],"calendar").options; },resize:function(jq,_3f){ return jq.each(function(){ _1(this,_3f); }); },moveTo:function(jq,_40){ return jq.each(function(){ var _41=$(this).calendar("options"); if(_41.validator.call(this,_40)){ var _42=_41.current; $(this).calendar({year:_40.getFullYear(),month:_40.getMonth()+1,current:_40}); if(!_42||_42.getTime()!=_40.getTime()){ _41.onChange.call(this,_41.current,_42); } } }); }}; $.fn.calendar.parseOptions=function(_43){ var t=$(_43); return $.extend({},$.parser.parseOptions(_43,[{firstDay:"number",fit:"boolean",border:"boolean"}])); }; $.fn.calendar.defaults={width:180,height:180,fit:false,border:true,firstDay:0,weeks:["S","M","T","W","T","F","S"],months:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],year:new Date().getFullYear(),month:new Date().getMonth()+1,current:(function(){ var d=new Date(); return new Date(d.getFullYear(),d.getMonth(),d.getDate()); })(),formatter:function(_44){ return _44.getDate(); },styler:function(_45){ return ""; },validator:function(_46){ return true; },onSelect:function(_47){ },onChange:function(_48,_49){ },onNavigate:function(_4a,_4b){ }}; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.combo.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ $(function(){ $(document).unbind(".combo").bind("mousedown.combo mousewheel.combo",function(e){ var p=$(e.target).closest("span.combo,div.combo-p"); if(p.length){ _1(p); return; } $("body>div.combo-p>div.combo-panel:visible").panel("close"); }); }); function _2(_3){ var _4=$.data(_3,"combo"); var _5=_4.options; if(!_4.panel){ _4.panel=$("
                                              ").appendTo("body"); _4.panel.panel({minWidth:_5.panelMinWidth,maxWidth:_5.panelMaxWidth,minHeight:_5.panelMinHeight,maxHeight:_5.panelMaxHeight,doSize:false,closed:true,cls:"combo-p",style:{position:"absolute",zIndex:10},onOpen:function(){ var _6=$(this).panel("options").comboTarget; var _7=$.data(_6,"combo"); if(_7){ _7.options.onShowPanel.call(_6); } },onBeforeClose:function(){ _1(this); },onClose:function(){ var _8=$(this).panel("options").comboTarget; var _9=$.data(_8,"combo"); if(_9){ _9.options.onHidePanel.call(_8); } }}); } var _a=$.extend(true,[],_5.icons); if(_5.hasDownArrow){ _a.push({iconCls:"combo-arrow",handler:function(e){ _f(e.data.target); }}); } $(_3).addClass("combo-f").textbox($.extend({},_5,{icons:_a,onChange:function(){ }})); $(_3).attr("comboName",$(_3).attr("textboxName")); _4.combo=$(_3).next(); _4.combo.addClass("combo"); }; function _b(_c){ var _d=$.data(_c,"combo"); var _e=_d.options; var p=_d.panel; if(p.is(":visible")){ p.panel("close"); } if(!_e.cloned){ p.panel("destroy"); } $(_c).textbox("destroy"); }; function _f(_10){ var _11=$.data(_10,"combo").panel; if(_11.is(":visible")){ _12(_10); }else{ var p=$(_10).closest("div.combo-panel"); $("div.combo-panel:visible").not(_11).not(p).panel("close"); $(_10).combo("showPanel"); } $(_10).combo("textbox").focus(); }; function _1(_13){ $(_13).find(".combo-f").each(function(){ var p=$(this).combo("panel"); if(p.is(":visible")){ p.panel("close"); } }); }; function _14(e){ var _15=e.data.target; var _16=$.data(_15,"combo"); var _17=_16.options; var _18=_16.panel; if(!_17.editable){ _f(_15); }else{ var p=$(_15).closest("div.combo-panel"); $("div.combo-panel:visible").not(_18).not(p).panel("close"); } }; function _19(e){ var _1a=e.data.target; var t=$(_1a); var _1b=t.data("combo"); var _1c=t.combo("options"); switch(e.keyCode){ case 38: _1c.keyHandler.up.call(_1a,e); break; case 40: _1c.keyHandler.down.call(_1a,e); break; case 37: _1c.keyHandler.left.call(_1a,e); break; case 39: _1c.keyHandler.right.call(_1a,e); break; case 13: e.preventDefault(); _1c.keyHandler.enter.call(_1a,e); return false; case 9: case 27: _12(_1a); break; default: if(_1c.editable){ if(_1b.timer){ clearTimeout(_1b.timer); } _1b.timer=setTimeout(function(){ var q=t.combo("getText"); if(_1b.previousText!=q){ _1b.previousText=q; t.combo("showPanel"); _1c.keyHandler.query.call(_1a,q,e); t.combo("validate"); } },_1c.delay); } } }; function _1d(_1e){ var _1f=$.data(_1e,"combo"); var _20=_1f.combo; var _21=_1f.panel; var _22=$(_1e).combo("options"); var _23=_21.panel("options"); _23.comboTarget=_1e; if(_23.closed){ _21.panel("panel").show().css({zIndex:($.fn.menu?$.fn.menu.defaults.zIndex++:$.fn.window.defaults.zIndex++),left:-999999}); _21.panel("resize",{width:(_22.panelWidth?_22.panelWidth:_20._outerWidth()),height:_22.panelHeight}); _21.panel("panel").hide(); _21.panel("open"); } (function(){ if(_21.is(":visible")){ _21.panel("move",{left:_24(),top:_25()}); setTimeout(arguments.callee,200); } })(); function _24(){ var _26=_20.offset().left; if(_22.panelAlign=="right"){ _26+=_20._outerWidth()-_21._outerWidth(); } if(_26+_21._outerWidth()>$(window)._outerWidth()+$(document).scrollLeft()){ _26=$(window)._outerWidth()+$(document).scrollLeft()-_21._outerWidth(); } if(_26<0){ _26=0; } return _26; }; function _25(){ var top=_20.offset().top+_20._outerHeight(); if(top+_21._outerHeight()>$(window)._outerHeight()+$(document).scrollTop()){ top=_20.offset().top-_21._outerHeight(); } if(top<$(document).scrollTop()){ top=_20.offset().top+_20._outerHeight(); } return top; }; }; function _12(_27){ var _28=$.data(_27,"combo").panel; _28.panel("close"); }; function _29(_2a){ var _2b=$.data(_2a,"combo"); var _2c=_2b.options; var _2d=_2b.combo; $(_2a).textbox("clear"); if(_2c.multiple){ _2d.find(".textbox-value").remove(); }else{ _2d.find(".textbox-value").val(""); } }; function _2e(_2f,_30){ var _31=$.data(_2f,"combo"); var _32=$(_2f).textbox("getText"); if(_32!=_30){ $(_2f).textbox("setText",_30); _31.previousText=_30; } }; function _33(_34){ var _35=[]; var _36=$.data(_34,"combo").combo; _36.find(".textbox-value").each(function(){ _35.push($(this).val()); }); return _35; }; function _37(_38,_39){ var _3a=$.data(_38,"combo"); var _3b=_3a.options; var _3c=_3a.combo; if(!$.isArray(_39)){ _39=_39.split(_3b.separator); } var _3d=_33(_38); _3c.find(".textbox-value").remove(); var _3e=$(_38).attr("textboxName")||""; for(var i=0;i<_39.length;i++){ var _3f=$("").appendTo(_3c); _3f.attr("name",_3e); if(_3b.disabled){ _3f.attr("disabled","disabled"); } _3f.val(_39[i]); } var _40=(function(){ if(_3d.length!=_39.length){ return true; } var a1=$.extend(true,[],_3d); var a2=$.extend(true,[],_39); a1.sort(); a2.sort(); for(var i=0;i_c.height()){ var h=_c.scrollTop()+_d.position().top+_d.outerHeight()-_c.height(); _c.scrollTop(h); } } } }; function _e(_f,dir){ var _10=$.data(_f,"combobox").options; var _11=$(_f).combobox("panel"); var _12=_11.children("div.combobox-item-hover"); if(!_12.length){ _12=_11.children("div.combobox-item-selected"); } _12.removeClass("combobox-item-hover"); var _13="div.combobox-item:visible:not(.combobox-item-disabled):first"; var _14="div.combobox-item:visible:not(.combobox-item-disabled):last"; if(!_12.length){ _12=_11.children(dir=="next"?_13:_14); }else{ if(dir=="next"){ _12=_12.nextAll(_13); if(!_12.length){ _12=_11.children(_13); } }else{ _12=_12.prevAll(_13); if(!_12.length){ _12=_11.children(_14); } } } if(_12.length){ _12.addClass("combobox-item-hover"); var row=_10.finder.getRow(_f,_12); if(row){ _8(_f,row[_10.valueField]); if(_10.selectOnNavigation){ _15(_f,row[_10.valueField]); } } } }; function _15(_16,_17){ var _18=$.data(_16,"combobox").options; var _19=$(_16).combo("getValues"); if($.inArray(_17+"",_19)==-1){ if(_18.multiple){ _19.push(_17); }else{ _19=[_17]; } _1a(_16,_19); _18.onSelect.call(_16,_18.finder.getRow(_16,_17)); } }; function _1b(_1c,_1d){ var _1e=$.data(_1c,"combobox").options; var _1f=$(_1c).combo("getValues"); var _20=$.inArray(_1d+"",_1f); if(_20>=0){ _1f.splice(_20,1); _1a(_1c,_1f); _1e.onUnselect.call(_1c,_1e.finder.getRow(_1c,_1d)); } }; function _1a(_21,_22,_23){ var _24=$.data(_21,"combobox").options; var _25=$(_21).combo("panel"); if(!$.isArray(_22)){ _22=_22.split(_24.separator); } _25.find("div.combobox-item-selected").removeClass("combobox-item-selected"); var vv=[],ss=[]; for(var i=0;i<_22.length;i++){ var v=_22[i]; var s=v; _24.finder.getEl(_21,v).addClass("combobox-item-selected"); var row=_24.finder.getRow(_21,v); if(row){ s=row[_24.textField]; } vv.push(v); ss.push(s); } $(_21).combo("setValues",vv); if(!_23){ $(_21).combo("setText",ss.join(_24.separator)); } }; function _26(_27,_28,_29){ var _2a=$.data(_27,"combobox"); var _2b=_2a.options; _2a.data=_2b.loadFilter.call(_27,_28); _2a.groups=[]; _28=_2a.data; var _2c=$(_27).combobox("getValues"); var dd=[]; var _2d=undefined; for(var i=0;i<_28.length;i++){ var row=_28[i]; var v=row[_2b.valueField]+""; var s=row[_2b.textField]; var g=row[_2b.groupField]; if(g){ if(_2d!=g){ _2d=g; _2a.groups.push(g); dd.push("
                                              "); dd.push(_2b.groupFormatter?_2b.groupFormatter.call(_27,g):g); dd.push("
                                              "); } }else{ _2d=undefined; } var cls="combobox-item"+(row.disabled?" combobox-item-disabled":"")+(g?" combobox-gitem":""); dd.push("
                                              "); dd.push(_2b.formatter?_2b.formatter.call(_27,row):s); dd.push("
                                              "); if(row["selected"]&&$.inArray(v,_2c)==-1){ _2c.push(v); } } $(_27).combo("panel").html(dd.join("")); if(_2b.multiple){ _1a(_27,_2c,_29); }else{ _1a(_27,_2c.length?[_2c[_2c.length-1]]:[],_29); } _2b.onLoadSuccess.call(_27,_28); }; function _2e(_2f,url,_30,_31){ var _32=$.data(_2f,"combobox").options; if(url){ _32.url=url; } _30=_30||{}; if(_32.onBeforeLoad.call(_2f,_30)==false){ return; } _32.loader.call(_2f,_30,function(_33){ _26(_2f,_33,_31); },function(){ _32.onLoadError.apply(this,arguments); }); }; function _34(_35,q){ var _36=$.data(_35,"combobox"); var _37=_36.options; if(_37.multiple&&!q){ _1a(_35,[],true); }else{ _1a(_35,[q],true); } if(_37.mode=="remote"){ _2e(_35,null,{q:q},true); }else{ var _38=$(_35).combo("panel"); _38.find("div.combobox-item-selected,div.combobox-item-hover").removeClass("combobox-item-selected combobox-item-hover"); _38.find("div.combobox-item,div.combobox-group").hide(); var _39=_36.data; var vv=[]; var qq=_37.multiple?q.split(_37.separator):[q]; $.map(qq,function(q){ q=$.trim(q); var _3a=undefined; for(var i=0;i<_39.length;i++){ var row=_39[i]; if(_37.filter.call(_35,q,row)){ var v=row[_37.valueField]; var s=row[_37.textField]; var g=row[_37.groupField]; var _3b=_37.finder.getEl(_35,v).show(); if(s.toLowerCase()==q.toLowerCase()){ vv.push(v); _3b.addClass("combobox-item-selected"); } if(_37.groupField&&_3a!=g){ $("#"+_36.groupIdPrefix+"_"+$.inArray(g,_36.groups)).show(); _3a=g; } } } }); _1a(_35,vv,true); } }; function _3c(_3d){ var t=$(_3d); var _3e=t.combobox("options"); var _3f=t.combobox("panel"); var _40=_3f.children("div.combobox-item-hover"); if(_40.length){ var row=_3e.finder.getRow(_3d,_40); var _41=row[_3e.valueField]; if(_3e.multiple){ if(_40.hasClass("combobox-item-selected")){ t.combobox("unselect",_41); }else{ t.combobox("select",_41); } }else{ t.combobox("select",_41); } } var vv=[]; $.map(t.combobox("getValues"),function(v){ if(_2(_3d,v)>=0){ vv.push(v); } }); t.combobox("setValues",vv); if(!_3e.multiple){ t.combobox("hidePanel"); } }; function _42(_43){ var _44=$.data(_43,"combobox"); var _45=_44.options; _1++; _44.itemIdPrefix="_easyui_combobox_i"+_1; _44.groupIdPrefix="_easyui_combobox_g"+_1; $(_43).addClass("combobox-f"); $(_43).combo($.extend({},_45,{onShowPanel:function(){ $(_43).combo("panel").find("div.combobox-item,div.combobox-group").show(); _8(_43,$(_43).combobox("getValue")); _45.onShowPanel.call(_43); }})); $(_43).combo("panel").unbind().bind("mouseover",function(e){ $(this).children("div.combobox-item-hover").removeClass("combobox-item-hover"); var _46=$(e.target).closest("div.combobox-item"); if(!_46.hasClass("combobox-item-disabled")){ _46.addClass("combobox-item-hover"); } e.stopPropagation(); }).bind("mouseout",function(e){ $(e.target).closest("div.combobox-item").removeClass("combobox-item-hover"); e.stopPropagation(); }).bind("click",function(e){ var _47=$(e.target).closest("div.combobox-item"); if(!_47.length||_47.hasClass("combobox-item-disabled")){ return; } var row=_45.finder.getRow(_43,_47); if(!row){ return; } var _48=row[_45.valueField]; if(_45.multiple){ if(_47.hasClass("combobox-item-selected")){ _1b(_43,_48); }else{ _15(_43,_48); } }else{ _15(_43,_48); $(_43).combo("hidePanel"); } e.stopPropagation(); }); }; $.fn.combobox=function(_49,_4a){ if(typeof _49=="string"){ var _4b=$.fn.combobox.methods[_49]; if(_4b){ return _4b(this,_4a); }else{ return this.combo(_49,_4a); } } _49=_49||{}; return this.each(function(){ var _4c=$.data(this,"combobox"); if(_4c){ $.extend(_4c.options,_49); _42(this); }else{ _4c=$.data(this,"combobox",{options:$.extend({},$.fn.combobox.defaults,$.fn.combobox.parseOptions(this),_49),data:[]}); _42(this); var _4d=$.fn.combobox.parseData(this); if(_4d.length){ _26(this,_4d); } } if(_4c.options.data){ _26(this,_4c.options.data); } _2e(this); }); }; $.fn.combobox.methods={options:function(jq){ var _4e=jq.combo("options"); return $.extend($.data(jq[0],"combobox").options,{width:_4e.width,height:_4e.height,originalValue:_4e.originalValue,disabled:_4e.disabled,readonly:_4e.readonly}); },getData:function(jq){ return $.data(jq[0],"combobox").data; },setValues:function(jq,_4f){ return jq.each(function(){ _1a(this,_4f); }); },setValue:function(jq,_50){ return jq.each(function(){ _1a(this,[_50]); }); },clear:function(jq){ return jq.each(function(){ $(this).combo("clear"); var _51=$(this).combo("panel"); _51.find("div.combobox-item-selected").removeClass("combobox-item-selected"); }); },reset:function(jq){ return jq.each(function(){ var _52=$(this).combobox("options"); if(_52.multiple){ $(this).combobox("setValues",_52.originalValue); }else{ $(this).combobox("setValue",_52.originalValue); } }); },loadData:function(jq,_53){ return jq.each(function(){ _26(this,_53); }); },reload:function(jq,url){ return jq.each(function(){ _2e(this,url); }); },select:function(jq,_54){ return jq.each(function(){ _15(this,_54); }); },unselect:function(jq,_55){ return jq.each(function(){ _1b(this,_55); }); }}; $.fn.combobox.parseOptions=function(_56){ var t=$(_56); return $.extend({},$.fn.combo.parseOptions(_56),$.parser.parseOptions(_56,["valueField","textField","groupField","mode","method","url"])); }; $.fn.combobox.parseData=function(_57){ var _58=[]; var _59=$(_57).combobox("options"); $(_57).children().each(function(){ if(this.tagName.toLowerCase()=="optgroup"){ var _5a=$(this).attr("label"); $(this).children().each(function(){ _5b(this,_5a); }); }else{ _5b(this); } }); return _58; function _5b(el,_5c){ var t=$(el); var row={}; row[_59.valueField]=t.attr("value")!=undefined?t.attr("value"):t.text(); row[_59.textField]=t.text(); row["selected"]=t.is(":selected"); row["disabled"]=t.is(":disabled"); if(_5c){ _59.groupField=_59.groupField||"group"; row[_59.groupField]=_5c; } _58.push(row); }; }; $.fn.combobox.defaults=$.extend({},$.fn.combo.defaults,{valueField:"value",textField:"text",groupField:null,groupFormatter:function(_5d){ return _5d; },mode:"local",method:"post",url:null,data:null,keyHandler:{up:function(e){ _e(this,"prev"); e.preventDefault(); },down:function(e){ _e(this,"next"); e.preventDefault(); },left:function(e){ },right:function(e){ },enter:function(e){ _3c(this); },query:function(q,e){ _34(this,q); }},filter:function(q,row){ var _5e=$(this).combobox("options"); return row[_5e.textField].toLowerCase().indexOf(q.toLowerCase())==0; },formatter:function(row){ var _5f=$(this).combobox("options"); return row[_5f.textField]; },loader:function(_60,_61,_62){ var _63=$(this).combobox("options"); if(!_63.url){ return false; } $.ajax({type:_63.method,url:_63.url,data:_60,dataType:"json",success:function(_64){ _61(_64); },error:function(){ _62.apply(this,arguments); }}); },loadFilter:function(_65){ return _65; },finder:{getEl:function(_66,_67){ var _68=_2(_66,_67); var id=$.data(_66,"combobox").itemIdPrefix+"_"+_68; return $("#"+id); },getRow:function(_69,p){ var _6a=$.data(_69,"combobox"); var _6b=(p instanceof jQuery)?p.attr("id").substr(_6a.itemIdPrefix.length+1):_2(_69,p); return _6a.data[parseInt(_6b)]; }},onBeforeLoad:function(_6c){ },onLoadSuccess:function(){ },onLoadError:function(){ },onSelect:function(_6d){ },onUnselect:function(_6e){ }}); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.combogrid.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ var _3=$.data(_2,"combogrid"); var _4=_3.options; var _5=_3.grid; $(_2).addClass("combogrid-f").combo($.extend({},_4,{onShowPanel:function(){ var p=$(this).combogrid("panel"); var _6=p.outerHeight()-p.height(); var _7=p._size("minHeight"); var _8=p._size("maxHeight"); $(this).combogrid("grid").datagrid("resize",{width:"100%",height:(isNaN(parseInt(_4.panelHeight))?"auto":"100%"),minHeight:(_7?_7-_6:""),maxHeight:(_8?_8-_6:"")}); _4.onShowPanel.call(this); }})); var _9=$(_2).combo("panel"); if(!_5){ _5=$("
                                              ").appendTo(_9); _3.grid=_5; } _5.datagrid($.extend({},_4,{border:false,singleSelect:(!_4.multiple),onLoadSuccess:function(_a){ var _b=$(_2).combo("getValues"); var _c=_4.onSelect; _4.onSelect=function(){ }; _1c(_2,_b,_3.remainText); _4.onSelect=_c; _4.onLoadSuccess.apply(_2,arguments); },onClickRow:_d,onSelect:function(_e,_f){ _10(); _4.onSelect.call(this,_e,_f); },onUnselect:function(_11,row){ _10(); _4.onUnselect.call(this,_11,row); },onSelectAll:function(_12){ _10(); _4.onSelectAll.call(this,_12); },onUnselectAll:function(_13){ if(_4.multiple){ _10(); } _4.onUnselectAll.call(this,_13); }})); function _d(_14,row){ _3.remainText=false; _10(); if(!_4.multiple){ $(_2).combo("hidePanel"); } _4.onClickRow.call(this,_14,row); }; function _10(){ var _15=_5.datagrid("getSelections"); var vv=[],ss=[]; for(var i=0;i<_15.length;i++){ vv.push(_15[i][_4.idField]); ss.push(_15[i][_4.textField]); } if(!_4.multiple){ $(_2).combo("setValues",(vv.length?vv:[""])); }else{ $(_2).combo("setValues",vv); } if(!_3.remainText){ $(_2).combo("setText",ss.join(_4.separator)); } }; }; function nav(_16,dir){ var _17=$.data(_16,"combogrid"); var _18=_17.options; var _19=_17.grid; var _1a=_19.datagrid("getRows").length; if(!_1a){ return; } var tr=_18.finder.getTr(_19[0],null,"highlight"); if(!tr.length){ tr=_18.finder.getTr(_19[0],null,"selected"); } var _1b; if(!tr.length){ _1b=(dir=="next"?0:_1a-1); }else{ var _1b=parseInt(tr.attr("datagrid-row-index")); _1b+=(dir=="next"?1:-1); if(_1b<0){ _1b=_1a-1; } if(_1b>=_1a){ _1b=0; } } _19.datagrid("highlightRow",_1b); if(_18.selectOnNavigation){ _17.remainText=false; _19.datagrid("selectRow",_1b); } }; function _1c(_1d,_1e,_1f){ var _20=$.data(_1d,"combogrid"); var _21=_20.options; var _22=_20.grid; var _23=_22.datagrid("getRows"); var ss=[]; var _24=$(_1d).combo("getValues"); var _25=$(_1d).combo("options"); var _26=_25.onChange; _25.onChange=function(){ }; _22.datagrid("clearSelections"); if(!$.isArray(_1e)){ _1e=_1e.split(_21.separator); } for(var i=0;i<_1e.length;i++){ var _27=_22.datagrid("getRowIndex",_1e[i]); if(_27>=0){ _22.datagrid("selectRow",_27); ss.push(_23[_27][_21.textField]); }else{ ss.push(_1e[i]); } } $(_1d).combo("setValues",_24); _25.onChange=_26; $(_1d).combo("setValues",_1e); if(!_1f){ var s=ss.join(_21.separator); if($(_1d).combo("getText")!=s){ $(_1d).combo("setText",s); } } }; function _28(_29,q){ var _2a=$.data(_29,"combogrid"); var _2b=_2a.options; var _2c=_2a.grid; _2a.remainText=true; if(_2b.multiple&&!q){ _1c(_29,[],true); }else{ _1c(_29,[q],true); } if(_2b.mode=="remote"){ _2c.datagrid("clearSelections"); _2c.datagrid("load",$.extend({},_2b.queryParams,{q:q})); }else{ if(!q){ return; } _2c.datagrid("clearSelections").datagrid("highlightRow",-1); var _2d=_2c.datagrid("getRows"); var qq=_2b.multiple?q.split(_2b.separator):[q]; $.map(qq,function(q){ q=$.trim(q); if(q){ $.map(_2d,function(row,i){ if(q==row[_2b.textField]){ _2c.datagrid("selectRow",i); }else{ if(_2b.filter.call(_29,q,row)){ _2c.datagrid("highlightRow",i); } } }); } }); } }; function _2e(_2f){ var _30=$.data(_2f,"combogrid"); var _31=_30.options; var _32=_30.grid; var tr=_31.finder.getTr(_32[0],null,"highlight"); _30.remainText=false; if(tr.length){ var _33=parseInt(tr.attr("datagrid-row-index")); if(_31.multiple){ if(tr.hasClass("datagrid-row-selected")){ _32.datagrid("unselectRow",_33); }else{ _32.datagrid("selectRow",_33); } }else{ _32.datagrid("selectRow",_33); } } var vv=[]; $.map(_32.datagrid("getSelections"),function(row){ vv.push(row[_31.idField]); }); $(_2f).combogrid("setValues",vv); if(!_31.multiple){ $(_2f).combogrid("hidePanel"); } }; $.fn.combogrid=function(_34,_35){ if(typeof _34=="string"){ var _36=$.fn.combogrid.methods[_34]; if(_36){ return _36(this,_35); }else{ return this.combo(_34,_35); } } _34=_34||{}; return this.each(function(){ var _37=$.data(this,"combogrid"); if(_37){ $.extend(_37.options,_34); }else{ _37=$.data(this,"combogrid",{options:$.extend({},$.fn.combogrid.defaults,$.fn.combogrid.parseOptions(this),_34)}); } _1(this); }); }; $.fn.combogrid.methods={options:function(jq){ var _38=jq.combo("options"); return $.extend($.data(jq[0],"combogrid").options,{width:_38.width,height:_38.height,originalValue:_38.originalValue,disabled:_38.disabled,readonly:_38.readonly}); },grid:function(jq){ return $.data(jq[0],"combogrid").grid; },setValues:function(jq,_39){ return jq.each(function(){ _1c(this,_39); }); },setValue:function(jq,_3a){ return jq.each(function(){ _1c(this,[_3a]); }); },clear:function(jq){ return jq.each(function(){ $(this).combogrid("grid").datagrid("clearSelections"); $(this).combo("clear"); }); },reset:function(jq){ return jq.each(function(){ var _3b=$(this).combogrid("options"); if(_3b.multiple){ $(this).combogrid("setValues",_3b.originalValue); }else{ $(this).combogrid("setValue",_3b.originalValue); } }); }}; $.fn.combogrid.parseOptions=function(_3c){ var t=$(_3c); return $.extend({},$.fn.combo.parseOptions(_3c),$.fn.datagrid.parseOptions(_3c),$.parser.parseOptions(_3c,["idField","textField","mode"])); }; $.fn.combogrid.defaults=$.extend({},$.fn.combo.defaults,$.fn.datagrid.defaults,{height:22,loadMsg:null,idField:null,textField:null,mode:"local",keyHandler:{up:function(e){ nav(this,"prev"); e.preventDefault(); },down:function(e){ nav(this,"next"); e.preventDefault(); },left:function(e){ },right:function(e){ },enter:function(e){ _2e(this); },query:function(q,e){ _28(this,q); }},filter:function(q,row){ var _3d=$(this).combogrid("options"); return row[_3d.textField].toLowerCase().indexOf(q.toLowerCase())==0; }}); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.combotree.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ var _3=$.data(_2,"combotree"); var _4=_3.options; var _5=_3.tree; $(_2).addClass("combotree-f"); $(_2).combo(_4); var _6=$(_2).combo("panel"); if(!_5){ _5=$("
                                                ").appendTo(_6); $.data(_2,"combotree").tree=_5; } _5.tree($.extend({},_4,{checkbox:_4.multiple,onLoadSuccess:function(_7,_8){ var _9=$(_2).combotree("getValues"); if(_4.multiple){ var _a=_5.tree("getChecked"); for(var i=0;i<_a.length;i++){ var id=_a[i].id; (function(){ for(var i=0;i<_9.length;i++){ if(id==_9[i]){ return; } } _9.push(id); })(); } } $(_2).combotree("setValues",_9); _4.onLoadSuccess.call(this,_7,_8); },onClick:function(_b){ if(_4.multiple){ $(this).tree(_b.checked?"uncheck":"check",_b.target); }else{ $(_2).combo("hidePanel"); } _e(_2); _4.onClick.call(this,_b); },onCheck:function(_c,_d){ _e(_2); _4.onCheck.call(this,_c,_d); }})); }; function _e(_f){ var _10=$.data(_f,"combotree"); var _11=_10.options; var _12=_10.tree; var vv=[],ss=[]; if(_11.multiple){ var _13=_12.tree("getChecked"); for(var i=0;i<_13.length;i++){ vv.push(_13[i].id); ss.push(_13[i].text); } }else{ var _14=_12.tree("getSelected"); if(_14){ vv.push(_14.id); ss.push(_14.text); } } $(_f).combo("setValues",vv).combo("setText",ss.join(_11.separator)); }; function _15(_16,_17){ var _18=$.data(_16,"combotree"); var _19=_18.options; var _1a=_18.tree; var _1b=_1a.tree("options"); var _1c=_1b.onCheck; var _1d=_1b.onSelect; _1b.onCheck=_1b.onSelect=function(){ }; _1a.find("span.tree-checkbox").addClass("tree-checkbox0").removeClass("tree-checkbox1 tree-checkbox2"); if(!$.isArray(_17)){ _17=_17.split(_19.separator); } for(var i=0;i<_17.length;i++){ var _1e=_1a.tree("find",_17[i]); if(_1e){ _1a.tree("check",_1e.target); _1a.tree("select",_1e.target); } } _1b.onCheck=_1c; _1b.onSelect=_1d; _e(_16); }; $.fn.combotree=function(_1f,_20){ if(typeof _1f=="string"){ var _21=$.fn.combotree.methods[_1f]; if(_21){ return _21(this,_20); }else{ return this.combo(_1f,_20); } } _1f=_1f||{}; return this.each(function(){ var _22=$.data(this,"combotree"); if(_22){ $.extend(_22.options,_1f); }else{ $.data(this,"combotree",{options:$.extend({},$.fn.combotree.defaults,$.fn.combotree.parseOptions(this),_1f)}); } _1(this); }); }; $.fn.combotree.methods={options:function(jq){ var _23=jq.combo("options"); return $.extend($.data(jq[0],"combotree").options,{width:_23.width,height:_23.height,originalValue:_23.originalValue,disabled:_23.disabled,readonly:_23.readonly}); },clone:function(jq,_24){ var t=jq.combo("clone",_24); t.data("combotree",{options:$.extend(true,{},jq.combotree("options")),tree:jq.combotree("tree")}); return t; },tree:function(jq){ return $.data(jq[0],"combotree").tree; },loadData:function(jq,_25){ return jq.each(function(){ var _26=$.data(this,"combotree").options; _26.data=_25; var _27=$.data(this,"combotree").tree; _27.tree("loadData",_25); }); },reload:function(jq,url){ return jq.each(function(){ var _28=$.data(this,"combotree").options; var _29=$.data(this,"combotree").tree; if(url){ _28.url=url; } _29.tree({url:_28.url}); }); },setValues:function(jq,_2a){ return jq.each(function(){ _15(this,_2a); }); },setValue:function(jq,_2b){ return jq.each(function(){ _15(this,[_2b]); }); },clear:function(jq){ return jq.each(function(){ var _2c=$.data(this,"combotree").tree; _2c.find("div.tree-node-selected").removeClass("tree-node-selected"); var cc=_2c.tree("getChecked"); for(var i=0;i"]; for(var i=0;i<_f.length;i++){ _e.cache[_f[i][0]]={width:_f[i][1]}; } var _10=0; for(var s in _e.cache){ var _11=_e.cache[s]; _11.index=_10++; ss.push(s+"{width:"+_11.width+"}"); } ss.push(""); $(ss.join("\n")).appendTo(cc); cc.children("style[easyui]:not(:last)").remove(); },getRule:function(_12){ var _13=cc.children("style[easyui]:last")[0]; var _14=_13.styleSheet?_13.styleSheet:(_13.sheet||document.styleSheets[document.styleSheets.length-1]); var _15=_14.cssRules||_14.rules; return _15[_12]; },set:function(_16,_17){ var _18=_e.cache[_16]; if(_18){ _18.width=_17; var _19=this.getRule(_18.index); if(_19){ _19.style["width"]=_17; } } },remove:function(_1a){ var tmp=[]; for(var s in _e.cache){ if(s.indexOf(_1a)==-1){ tmp.push([s,_e.cache[s].width]); } } _e.cache={}; this.add(tmp); },dirty:function(_1b){ if(_1b){ _e.dirty.push(_1b); } },clean:function(){ for(var i=0;i<_e.dirty.length;i++){ this.remove(_e.dirty[i]); } _e.dirty=[]; }}; }; function _1c(_1d,_1e){ var _1f=$.data(_1d,"datagrid"); var _20=_1f.options; var _21=_1f.panel; if(_1e){ $.extend(_20,_1e); } if(_20.fit==true){ var p=_21.panel("panel").parent(); _20.width=p.width(); _20.height=p.height(); } _21.panel("resize",_20); }; function _22(_23){ var _24=$.data(_23,"datagrid"); var _25=_24.options; var dc=_24.dc; var _26=_24.panel; var _27=_26.width(); var _28=_26.height(); var _29=dc.view; var _2a=dc.view1; var _2b=dc.view2; var _2c=_2a.children("div.datagrid-header"); var _2d=_2b.children("div.datagrid-header"); var _2e=_2c.find("table"); var _2f=_2d.find("table"); _29.width(_27); var _30=_2c.children("div.datagrid-header-inner").show(); _2a.width(_30.find("table").width()); if(!_25.showHeader){ _30.hide(); } _2b.width(_27-_2a._outerWidth()); _2a.children("div.datagrid-header,div.datagrid-body,div.datagrid-footer").width(_2a.width()); _2b.children("div.datagrid-header,div.datagrid-body,div.datagrid-footer").width(_2b.width()); var hh; _2c.add(_2d).css("height",""); _2e.add(_2f).css("height",""); hh=Math.max(_2e.height(),_2f.height()); _2e.add(_2f).height(hh); _2c.add(_2d)._outerHeight(hh); dc.body1.add(dc.body2).children("table.datagrid-btable-frozen").css({position:"absolute",top:dc.header2._outerHeight()}); var _31=dc.body2.children("table.datagrid-btable-frozen")._outerHeight(); var _32=_31+_2b.children("div.datagrid-header")._outerHeight()+_2b.children("div.datagrid-footer")._outerHeight()+_26.children("div.datagrid-toolbar")._outerHeight(); _26.children("div.datagrid-pager").each(function(){ _32+=$(this)._outerHeight(); }); var _33=_26.outerHeight()-_26.height(); var _34=_26._size("minHeight")||""; var _35=_26._size("maxHeight")||""; _2a.add(_2b).children("div.datagrid-body").css({marginTop:_31,height:(isNaN(parseInt(_25.height))?"":(_28-_32)),minHeight:(_34?_34-_33-_32:""),maxHeight:(_35?_35-_33-_32:"")}); _29.height(_2b.height()); }; function _36(_37,_38,_39){ var _3a=$.data(_37,"datagrid").data.rows; var _3b=$.data(_37,"datagrid").options; var dc=$.data(_37,"datagrid").dc; if(!dc.body1.is(":empty")&&(!_3b.nowrap||_3b.autoRowHeight||_39)){ if(_38!=undefined){ var tr1=_3b.finder.getTr(_37,_38,"body",1); var tr2=_3b.finder.getTr(_37,_38,"body",2); _3c(tr1,tr2); }else{ var tr1=_3b.finder.getTr(_37,0,"allbody",1); var tr2=_3b.finder.getTr(_37,0,"allbody",2); _3c(tr1,tr2); if(_3b.showFooter){ var tr1=_3b.finder.getTr(_37,0,"allfooter",1); var tr2=_3b.finder.getTr(_37,0,"allfooter",2); _3c(tr1,tr2); } } } _22(_37); if(_3b.height=="auto"){ var _3d=dc.body1.parent(); var _3e=dc.body2; var _3f=_40(_3e); var _41=_3f.height; if(_3f.width>_3e.width()){ _41+=18; } _41-=parseInt(_3e.css("marginTop"))||0; _3d.height(_41); _3e.height(_41); dc.view.height(dc.view2.height()); } dc.body2.triggerHandler("scroll"); function _3c(_42,_43){ for(var i=0;i<_43.length;i++){ var tr1=$(_42[i]); var tr2=$(_43[i]); tr1.css("height",""); tr2.css("height",""); var _44=Math.max(tr1.height(),tr2.height()); tr1.css("height",_44); tr2.css("height",_44); } }; function _40(cc){ var _45=0; var _46=0; $(cc).children().each(function(){ var c=$(this); if(c.is(":visible")){ _46+=c._outerHeight(); if(_45"); } _4c(true); _4c(false); _22(_48); function _4c(_4d){ var _4e=_4d?1:2; var tr=_4b.finder.getTr(_48,_49,"body",_4e); (_4d?dc.body1:dc.body2).children("table.datagrid-btable-frozen").append(tr); }; }; function _4f(_50,_51){ function _52(){ var _53=[]; var _54=[]; $(_50).children("thead").each(function(){ var opt=$.parser.parseOptions(this,[{frozen:"boolean"}]); $(this).find("tr").each(function(){ var _55=[]; $(this).find("th").each(function(){ var th=$(this); var col=$.extend({},$.parser.parseOptions(this,["field","align","halign","order","width",{sortable:"boolean",checkbox:"boolean",resizable:"boolean",fixed:"boolean"},{rowspan:"number",colspan:"number"}]),{title:(th.html()||undefined),hidden:(th.attr("hidden")?true:undefined),formatter:(th.attr("formatter")?eval(th.attr("formatter")):undefined),styler:(th.attr("styler")?eval(th.attr("styler")):undefined),sorter:(th.attr("sorter")?eval(th.attr("sorter")):undefined)}); if(col.width&&String(col.width).indexOf("%")==-1){ col.width=parseInt(col.width); } if(th.attr("editor")){ var s=$.trim(th.attr("editor")); if(s.substr(0,1)=="{"){ col.editor=eval("("+s+")"); }else{ col.editor=s; } } _55.push(col); }); opt.frozen?_53.push(_55):_54.push(_55); }); }); return [_53,_54]; }; var _56=$("
                                                "+"
                                                "+"
                                                "+"
                                                "+"
                                                "+"
                                                "+"
                                                "+"
                                                "+"
                                                "+"
                                                "+""+"
                                                "+"
                                                "+"
                                                "+"
                                                "+"
                                                "+"
                                                "+"
                                                "+"
                                                "+""+"
                                                "+"
                                                "+"
                                                "+"
                                                ").insertAfter(_50); _56.panel({doSize:false,cls:"datagrid"}); $(_50).addClass("datagrid-f").hide().appendTo(_56.children("div.datagrid-view")); var cc=_52(); var _57=_56.children("div.datagrid-view"); var _58=_57.children("div.datagrid-view1"); var _59=_57.children("div.datagrid-view2"); return {panel:_56,frozenColumns:cc[0],columns:cc[1],dc:{view:_57,view1:_58,view2:_59,header1:_58.children("div.datagrid-header").children("div.datagrid-header-inner"),header2:_59.children("div.datagrid-header").children("div.datagrid-header-inner"),body1:_58.children("div.datagrid-body").children("div.datagrid-body-inner"),body2:_59.children("div.datagrid-body"),footer1:_58.children("div.datagrid-footer").children("div.datagrid-footer-inner"),footer2:_59.children("div.datagrid-footer").children("div.datagrid-footer-inner")}}; }; function _5a(_5b){ var _5c=$.data(_5b,"datagrid"); var _5d=_5c.options; var dc=_5c.dc; var _5e=_5c.panel; _5c.ss=$(_5b).datagrid("createStyleSheet"); _5e.panel($.extend({},_5d,{id:null,doSize:false,onResize:function(_5f,_60){ setTimeout(function(){ if($.data(_5b,"datagrid")){ _22(_5b); _b0(_5b); _5d.onResize.call(_5e,_5f,_60); } },0); },onExpand:function(){ _36(_5b); _5d.onExpand.call(_5e); }})); _5c.rowIdPrefix="datagrid-row-r"+(++_1); _5c.cellClassPrefix="datagrid-cell-c"+_1; _61(dc.header1,_5d.frozenColumns,true); _61(dc.header2,_5d.columns,false); _62(); dc.header1.add(dc.header2).css("display",_5d.showHeader?"block":"none"); dc.footer1.add(dc.footer2).css("display",_5d.showFooter?"block":"none"); if(_5d.toolbar){ if($.isArray(_5d.toolbar)){ $("div.datagrid-toolbar",_5e).remove(); var tb=$("
                                                ").prependTo(_5e); var tr=tb.find("tr"); for(var i=0;i<_5d.toolbar.length;i++){ var btn=_5d.toolbar[i]; if(btn=="-"){ $("
                                                ").appendTo(tr); }else{ var td=$("").appendTo(tr); var _63=$("").appendTo(td); _63[0].onclick=eval(btn.handler||function(){ }); _63.linkbutton($.extend({},btn,{plain:true})); } } }else{ $(_5d.toolbar).addClass("datagrid-toolbar").prependTo(_5e); $(_5d.toolbar).show(); } }else{ $("div.datagrid-toolbar",_5e).remove(); } $("div.datagrid-pager",_5e).remove(); if(_5d.pagination){ var _64=$("
                                                "); if(_5d.pagePosition=="bottom"){ _64.appendTo(_5e); }else{ if(_5d.pagePosition=="top"){ _64.addClass("datagrid-pager-top").prependTo(_5e); }else{ var _65=$("
                                                ").prependTo(_5e); _64.appendTo(_5e); _64=_64.add(_65); } } _64.pagination({total:(_5d.pageNumber*_5d.pageSize),pageNumber:_5d.pageNumber,pageSize:_5d.pageSize,pageList:_5d.pageList,onSelectPage:function(_66,_67){ _5d.pageNumber=_66||1; _5d.pageSize=_67; _64.pagination("refresh",{pageNumber:_66,pageSize:_67}); _ae(_5b); }}); _5d.pageSize=_64.pagination("options").pageSize; } function _61(_68,_69,_6a){ if(!_69){ return; } $(_68).show(); $(_68).empty(); var _6b=[]; var _6c=[]; if(_5d.sortName){ _6b=_5d.sortName.split(","); _6c=_5d.sortOrder.split(","); } var t=$("
                                                ").appendTo(_68); for(var i=0;i<_69.length;i++){ var tr=$("").appendTo($("tbody",t)); var _6d=_69[i]; for(var j=0;j<_6d.length;j++){ var col=_6d[j]; var _6e=""; if(col.rowspan){ _6e+="rowspan=\""+col.rowspan+"\" "; } if(col.colspan){ _6e+="colspan=\""+col.colspan+"\" "; } var td=$("").appendTo(tr); if(col.checkbox){ td.attr("field",col.field); $("
                                                ").html("").appendTo(td); }else{ if(col.field){ td.attr("field",col.field); td.append("
                                                "); $("span",td).html(col.title); $("span.datagrid-sort-icon",td).html(" "); var _6f=td.find("div.datagrid-cell"); var pos=_2(_6b,col.field); if(pos>=0){ _6f.addClass("datagrid-sort-"+_6c[pos]); } if(col.resizable==false){ _6f.attr("resizable","false"); } if(col.width){ var _70=$.parser.parseValue("width",col.width,dc.view,_5d.scrollbarSize); _6f._outerWidth(_70-1); col.boxWidth=parseInt(_6f[0].style.width); col.deltaWidth=_70-col.boxWidth; }else{ col.auto=true; } _6f.css("text-align",(col.halign||col.align||"")); col.cellClass=_5c.cellClassPrefix+"-"+col.field.replace(/[\.|\s]/g,"-"); _6f.addClass(col.cellClass).css("width",""); }else{ $("
                                                ").html(col.title).appendTo(td); } } if(col.hidden){ td.hide(); } } } if(_6a&&_5d.rownumbers){ var td=$("
                                                "); if($("tr",t).length==0){ td.wrap("").parent().appendTo($("tbody",t)); }else{ td.prependTo($("tr:first",t)); } } }; function _62(){ var _71=[]; var _72=_73(_5b,true).concat(_73(_5b)); for(var i=0;i<_72.length;i++){ var col=_74(_5b,_72[i]); if(col&&!col.checkbox){ _71.push(["."+col.cellClass,col.boxWidth?col.boxWidth+"px":"auto"]); } } _5c.ss.add(_71); _5c.ss.dirty(_5c.cellSelectorPrefix); _5c.cellSelectorPrefix="."+_5c.cellClassPrefix; }; }; function _75(_76){ var _77=$.data(_76,"datagrid"); var _78=_77.panel; var _79=_77.options; var dc=_77.dc; var _7a=dc.header1.add(dc.header2); _7a.find("input[type=checkbox]").unbind(".datagrid").bind("click.datagrid",function(e){ if(_79.singleSelect&&_79.selectOnCheck){ return false; } if($(this).is(":checked")){ _123(_76); }else{ _129(_76); } e.stopPropagation(); }); var _7b=_7a.find("div.datagrid-cell"); _7b.closest("td").unbind(".datagrid").bind("mouseenter.datagrid",function(){ if(_77.resizing){ return; } $(this).addClass("datagrid-header-over"); }).bind("mouseleave.datagrid",function(){ $(this).removeClass("datagrid-header-over"); }).bind("contextmenu.datagrid",function(e){ var _7c=$(this).attr("field"); _79.onHeaderContextMenu.call(_76,e,_7c); }); _7b.unbind(".datagrid").bind("click.datagrid",function(e){ var p1=$(this).offset().left+5; var p2=$(this).offset().left+$(this)._outerWidth()-5; if(e.pageXp1){ _a2(_76,$(this).parent().attr("field")); } }).bind("dblclick.datagrid",function(e){ var p1=$(this).offset().left+5; var p2=$(this).offset().left+$(this)._outerWidth()-5; var _7d=_79.resizeHandle=="right"?(e.pageX>p2):(_79.resizeHandle=="left"?(e.pageXp2)); if(_7d){ var _7e=$(this).parent().attr("field"); var col=_74(_76,_7e); if(col.resizable==false){ return; } $(_76).datagrid("autoSizeColumn",_7e); col.auto=false; } }); var _7f=_79.resizeHandle=="right"?"e":(_79.resizeHandle=="left"?"w":"e,w"); _7b.each(function(){ $(this).resizable({handles:_7f,disabled:($(this).attr("resizable")?$(this).attr("resizable")=="false":false),minWidth:25,onStartResize:function(e){ _77.resizing=true; _7a.css("cursor",$("body").css("cursor")); if(!_77.proxy){ _77.proxy=$("
                                                ").appendTo(dc.view); } _77.proxy.css({left:e.pageX-$(_78).offset().left-1,display:"none"}); setTimeout(function(){ if(_77.proxy){ _77.proxy.show(); } },500); },onResize:function(e){ _77.proxy.css({left:e.pageX-$(_78).offset().left-1,display:"block"}); return false; },onStopResize:function(e){ _7a.css("cursor",""); $(this).css("height",""); var _80=$(this).parent().attr("field"); var col=_74(_76,_80); col.width=$(this)._outerWidth(); col.boxWidth=col.width-col.deltaWidth; col.auto=undefined; $(this).css("width",""); _d1(_76,_80); _77.proxy.remove(); _77.proxy=null; if($(this).parents("div:first.datagrid-header").parent().hasClass("datagrid-view1")){ _22(_76); } _b0(_76); _79.onResizeColumn.call(_76,_80,col.width); setTimeout(function(){ _77.resizing=false; },0); }}); }); var bb=dc.body1.add(dc.body2); bb.unbind(); for(var _81 in _79.rowEvents){ bb.bind(_81,_79.rowEvents[_81]); } dc.body1.bind("mousewheel DOMMouseScroll",function(e){ var e1=e.originalEvent||window.event; var _82=e1.wheelDelta||e1.detail*(-1); var dg=$(e.target).closest("div.datagrid-view").children(".datagrid-f"); var dc=dg.data("datagrid").dc; dc.body2.scrollTop(dc.body2.scrollTop()-_82); }); dc.body2.bind("scroll",function(){ var b1=dc.view1.children("div.datagrid-body"); b1.scrollTop($(this).scrollTop()); var c1=dc.body1.children(":first"); var c2=dc.body2.children(":first"); if(c1.length&&c2.length){ var _83=c1.offset().top; var _84=c2.offset().top; if(_83!=_84){ b1.scrollTop(b1.scrollTop()+_83-_84); } } dc.view2.children("div.datagrid-header,div.datagrid-footer")._scrollLeft($(this)._scrollLeft()); dc.body2.children("table.datagrid-btable-frozen").css("left",-$(this)._scrollLeft()); }); }; function _85(_86){ return function(e){ var tr=_87(e.target); if(!tr){ return; } var _88=_89(tr); if($.data(_88,"datagrid").resizing){ return; } var _8a=_8b(tr); if(_86){ _8c(_88,_8a); }else{ var _8d=$.data(_88,"datagrid").options; _8d.finder.getTr(_88,_8a).removeClass("datagrid-row-over"); } }; }; function _8e(e){ var tr=_87(e.target); if(!tr){ return; } var _8f=_89(tr); var _90=$.data(_8f,"datagrid").options; var _91=_8b(tr); var tt=$(e.target); if(tt.parent().hasClass("datagrid-cell-check")){ if(_90.singleSelect&&_90.selectOnCheck){ tt._propAttr("checked",!tt.is(":checked")); _92(_8f,_91); }else{ if(tt.is(":checked")){ tt._propAttr("checked",false); _92(_8f,_91); }else{ tt._propAttr("checked",true); _93(_8f,_91); } } }else{ var row=_90.finder.getRow(_8f,_91); var td=tt.closest("td[field]",tr); if(td.length){ var _94=td.attr("field"); _90.onClickCell.call(_8f,_91,_94,row[_94]); } if(_90.singleSelect==true){ _95(_8f,_91); }else{ if(_90.ctrlSelect){ if(e.ctrlKey){ if(tr.hasClass("datagrid-row-selected")){ _96(_8f,_91); }else{ _95(_8f,_91); } }else{ if(e.shiftKey){ $(_8f).datagrid("clearSelections"); var _97=Math.min(_90.lastSelectedIndex||0,_91); var _98=Math.max(_90.lastSelectedIndex||0,_91); for(var i=_97;i<=_98;i++){ _95(_8f,i); } }else{ $(_8f).datagrid("clearSelections"); _95(_8f,_91); _90.lastSelectedIndex=_91; } } }else{ if(tr.hasClass("datagrid-row-selected")){ _96(_8f,_91); }else{ _95(_8f,_91); } } } _90.onClickRow.call(_8f,_91,row); } }; function _99(e){ var tr=_87(e.target); if(!tr){ return; } var _9a=_89(tr); var _9b=$.data(_9a,"datagrid").options; var _9c=_8b(tr); var row=_9b.finder.getRow(_9a,_9c); var td=$(e.target).closest("td[field]",tr); if(td.length){ var _9d=td.attr("field"); _9b.onDblClickCell.call(_9a,_9c,_9d,row[_9d]); } _9b.onDblClickRow.call(_9a,_9c,row); }; function _9e(e){ var tr=_87(e.target); if(!tr){ return; } var _9f=_89(tr); var _a0=$.data(_9f,"datagrid").options; var _a1=_8b(tr); var row=_a0.finder.getRow(_9f,_a1); _a0.onRowContextMenu.call(_9f,e,_a1,row); }; function _89(t){ return $(t).closest("div.datagrid-view").children(".datagrid-f")[0]; }; function _87(t){ var tr=$(t).closest("tr.datagrid-row"); if(tr.length&&tr.parent().length){ return tr; }else{ return undefined; } }; function _8b(tr){ if(tr.attr("datagrid-row-index")){ return parseInt(tr.attr("datagrid-row-index")); }else{ return tr.attr("node-id"); } }; function _a2(_a3,_a4){ var _a5=$.data(_a3,"datagrid"); var _a6=_a5.options; _a4=_a4||{}; var _a7={sortName:_a6.sortName,sortOrder:_a6.sortOrder}; if(typeof _a4=="object"){ $.extend(_a7,_a4); } var _a8=[]; var _a9=[]; if(_a7.sortName){ _a8=_a7.sortName.split(","); _a9=_a7.sortOrder.split(","); } if(typeof _a4=="string"){ var _aa=_a4; var col=_74(_a3,_aa); if(!col.sortable||_a5.resizing){ return; } var _ab=col.order||"asc"; var pos=_2(_a8,_aa); if(pos>=0){ var _ac=_a9[pos]=="asc"?"desc":"asc"; if(_a6.multiSort&&_ac==_ab){ _a8.splice(pos,1); _a9.splice(pos,1); }else{ _a9[pos]=_ac; } }else{ if(_a6.multiSort){ _a8.push(_aa); _a9.push(_ab); }else{ _a8=[_aa]; _a9=[_ab]; } } _a7.sortName=_a8.join(","); _a7.sortOrder=_a9.join(","); } if(_a6.onBeforeSortColumn.call(_a3,_a7.sortName,_a7.sortOrder)==false){ return; } $.extend(_a6,_a7); var dc=_a5.dc; var _ad=dc.header1.add(dc.header2); _ad.find("div.datagrid-cell").removeClass("datagrid-sort-asc datagrid-sort-desc"); for(var i=0;i<_a8.length;i++){ var col=_74(_a3,_a8[i]); _ad.find("div."+col.cellClass).addClass("datagrid-sort-"+_a9[i]); } if(_a6.remoteSort){ _ae(_a3); }else{ _af(_a3,$(_a3).datagrid("getData")); } _a6.onSortColumn.call(_a3,_a6.sortName,_a6.sortOrder); }; function _b0(_b1){ var _b2=$.data(_b1,"datagrid"); var _b3=_b2.options; var dc=_b2.dc; var _b4=dc.view2.children("div.datagrid-header"); dc.body2.css("overflow-x",""); _b5(); _b6(); if(_b4.width()>=_b4.find("table").width()){ dc.body2.css("overflow-x","hidden"); } function _b6(){ if(!_b3.fitColumns){ return; } if(!_b2.leftWidth){ _b2.leftWidth=0; } var _b7=0; var cc=[]; var _b8=_73(_b1,false); for(var i=0;i<_b8.length;i++){ var col=_74(_b1,_b8[i]); if(_b9(col)){ _b7+=col.width; cc.push({field:col.field,col:col,addingWidth:0}); } } if(!_b7){ return; } cc[cc.length-1].addingWidth-=_b2.leftWidth; var _ba=_b4.children("div.datagrid-header-inner").show(); var _bb=_b4.width()-_b4.find("table").width()-_b3.scrollbarSize+_b2.leftWidth; var _bc=_bb/_b7; if(!_b3.showHeader){ _ba.hide(); } for(var i=0;i0){ c.col.boxWidth+=c.addingWidth; c.col.width+=c.addingWidth; } } _b2.leftWidth=_bb; _d1(_b1); }; function _b5(){ var _be=false; var _bf=_73(_b1,true).concat(_73(_b1,false)); $.map(_bf,function(_c0){ var col=_74(_b1,_c0); if(String(col.width||"").indexOf("%")>=0){ var _c1=$.parser.parseValue("width",col.width,dc.view,_b3.scrollbarSize)-col.deltaWidth; if(_c1>0){ col.boxWidth=_c1; _be=true; } } }); if(_be){ _d1(_b1); } }; function _b9(col){ if(String(col.width||"").indexOf("%")>=0){ return false; } if(!col.hidden&&!col.checkbox&&!col.auto&&!col.fixed){ return true; } }; }; function _c2(_c3,_c4){ var _c5=$.data(_c3,"datagrid"); var _c6=_c5.options; var dc=_c5.dc; var tmp=$("
                                                ").appendTo("body"); if(_c4){ _1c(_c4); if(_c6.fitColumns){ _22(_c3); _b0(_c3); } }else{ var _c7=false; var _c8=_73(_c3,true).concat(_73(_c3,false)); for(var i=0;i<_c8.length;i++){ var _c4=_c8[i]; var col=_74(_c3,_c4); if(col.auto){ _1c(_c4); _c7=true; } } if(_c7&&_c6.fitColumns){ _22(_c3); _b0(_c3); } } tmp.remove(); function _1c(_c9){ var _ca=dc.view.find("div.datagrid-header td[field=\""+_c9+"\"] div.datagrid-cell"); _ca.css("width",""); var col=$(_c3).datagrid("getColumnOption",_c9); col.width=undefined; col.boxWidth=undefined; col.auto=true; $(_c3).datagrid("fixColumnSize",_c9); var _cb=Math.max(_cc("header"),_cc("allbody"),_cc("allfooter"))+1; _ca._outerWidth(_cb-1); col.width=_cb; col.boxWidth=parseInt(_ca[0].style.width); col.deltaWidth=_cb-col.boxWidth; _ca.css("width",""); $(_c3).datagrid("fixColumnSize",_c9); _c6.onResizeColumn.call(_c3,_c9,col.width); function _cc(_cd){ var _ce=0; if(_cd=="header"){ _ce=_cf(_ca); }else{ _c6.finder.getTr(_c3,0,_cd).find("td[field=\""+_c9+"\"] div.datagrid-cell").each(function(){ var w=_cf($(this)); if(_ce=0){ var _ee=col.field||""; for(var c=0;c<(col.colspan||1);c++){ for(var r=0;r<(col.rowspan||1);r++){ aa[_eb+r][_ec]=_ee; } _ec++; } } }); } return aa[aa.length-1]; function _ea(){ var _ef=0; $.map(_e8[0],function(col){ _ef+=col.colspan||1; }); return _ef; }; function _ed(a){ for(var i=0;ib?1:-1); }; r=_f6(r1[sn],r2[sn])*(so=="asc"?1:-1); if(r!=0){ return r; } } return r; }); } if(_f3.view.onBeforeRender){ _f3.view.onBeforeRender.call(_f3.view,_f0,_f1.rows); } _f3.view.render.call(_f3.view,_f0,dc.body2,false); _f3.view.render.call(_f3.view,_f0,dc.body1,true); if(_f3.showFooter){ _f3.view.renderFooter.call(_f3.view,_f0,dc.footer2,false); _f3.view.renderFooter.call(_f3.view,_f0,dc.footer1,true); } if(_f3.view.onAfterRender){ _f3.view.onAfterRender.call(_f3.view,_f0); } _f2.ss.clean(); var _f7=$(_f0).datagrid("getPager"); if(_f7.length){ var _f8=_f7.pagination("options"); if(_f8.total!=_f1.total){ _f7.pagination("refresh",{total:_f1.total}); if(_f3.pageNumber!=_f8.pageNumber&&_f8.pageNumber>0){ _f3.pageNumber=_f8.pageNumber; _ae(_f0); } } } _36(_f0); dc.body2.triggerHandler("scroll"); $(_f0).datagrid("setSelectionState"); $(_f0).datagrid("autoSizeColumn"); _f3.onLoadSuccess.call(_f0,_f1); }; function _f9(_fa){ var _fb=$.data(_fa,"datagrid"); var _fc=_fb.options; var dc=_fb.dc; dc.header1.add(dc.header2).find("input[type=checkbox]")._propAttr("checked",false); if(_fc.idField){ var _fd=$.data(_fa,"treegrid")?true:false; var _fe=_fc.onSelect; var _ff=_fc.onCheck; _fc.onSelect=_fc.onCheck=function(){ }; var rows=_fc.finder.getRows(_fa); for(var i=0;i_110.height()-18){ _110.scrollTop(_110.scrollTop()+top+tr._outerHeight()-_110.height()+18); } } } }; function _8c(_112,_113){ var _114=$.data(_112,"datagrid"); var opts=_114.options; opts.finder.getTr(_112,_114.highlightIndex).removeClass("datagrid-row-over"); opts.finder.getTr(_112,_113).addClass("datagrid-row-over"); _114.highlightIndex=_113; }; function _95(_115,_116,_117){ var _118=$.data(_115,"datagrid"); var opts=_118.options; var row=opts.finder.getRow(_115,_116); if(opts.onBeforeSelect.call(_115,_116,row)==false){ return; } if(opts.singleSelect){ _119(_115,true); _118.selectedRows=[]; } if(!_117&&opts.checkOnSelect){ _92(_115,_116,true); } if(opts.idField){ _7(_118.selectedRows,opts.idField,row); } opts.finder.getTr(_115,_116).addClass("datagrid-row-selected"); opts.onSelect.call(_115,_116,row); _10b(_115,_116); }; function _96(_11a,_11b,_11c){ var _11d=$.data(_11a,"datagrid"); var dc=_11d.dc; var opts=_11d.options; var row=opts.finder.getRow(_11a,_11b); if(opts.onBeforeUnselect.call(_11a,_11b,row)==false){ return; } if(!_11c&&opts.checkOnSelect){ _93(_11a,_11b,true); } opts.finder.getTr(_11a,_11b).removeClass("datagrid-row-selected"); if(opts.idField){ _4(_11d.selectedRows,opts.idField,row[opts.idField]); } opts.onUnselect.call(_11a,_11b,row); }; function _11e(_11f,_120){ var _121=$.data(_11f,"datagrid"); var opts=_121.options; var rows=opts.finder.getRows(_11f); var _122=$.data(_11f,"datagrid").selectedRows; if(!_120&&opts.checkOnSelect){ _123(_11f,true); } opts.finder.getTr(_11f,"","allbody").addClass("datagrid-row-selected"); if(opts.idField){ for(var _124=0;_124"); cell.children("table").bind("click dblclick contextmenu",function(e){ e.stopPropagation(); }); $.data(cell[0],"datagrid.editor",{actions:_15a,target:_15a.init(cell.find("td"),_159),field:_157,type:_158,oldHtml:_15b}); } } }); _36(_155,_156,true); }; function _14c(_15d,_15e){ var opts=$.data(_15d,"datagrid").options; var tr=opts.finder.getTr(_15d,_15e); tr.children("td").each(function(){ var cell=$(this).find("div.datagrid-editable"); if(cell.length){ var ed=$.data(cell[0],"datagrid.editor"); if(ed.actions.destroy){ ed.actions.destroy(ed.target); } cell.html(ed.oldHtml); $.removeData(cell[0],"datagrid.editor"); cell.removeClass("datagrid-editable"); cell.css("width",""); } }); }; function _13f(_15f,_160){ var tr=$.data(_15f,"datagrid").options.finder.getTr(_15f,_160); if(!tr.hasClass("datagrid-row-editing")){ return true; } var vbox=tr.find(".validatebox-text"); vbox.validatebox("validate"); vbox.trigger("mouseleave"); var _161=tr.find(".validatebox-invalid"); return _161.length==0; }; function _162(_163,_164){ var _165=$.data(_163,"datagrid").insertedRows; var _166=$.data(_163,"datagrid").deletedRows; var _167=$.data(_163,"datagrid").updatedRows; if(!_164){ var rows=[]; rows=rows.concat(_165); rows=rows.concat(_166); rows=rows.concat(_167); return rows; }else{ if(_164=="inserted"){ return _165; }else{ if(_164=="deleted"){ return _166; }else{ if(_164=="updated"){ return _167; } } } } return []; }; function _168(_169,_16a){ var _16b=$.data(_169,"datagrid"); var opts=_16b.options; var data=_16b.data; var _16c=_16b.insertedRows; var _16d=_16b.deletedRows; $(_169).datagrid("cancelEdit",_16a); var row=opts.finder.getRow(_169,_16a); if(_2(_16c,row)>=0){ _4(_16c,row); }else{ _16d.push(row); } _4(_16b.selectedRows,opts.idField,row[opts.idField]); _4(_16b.checkedRows,opts.idField,row[opts.idField]); opts.view.deleteRow.call(opts.view,_169,_16a); if(opts.height=="auto"){ _36(_169); } $(_169).datagrid("getPager").pagination("refresh",{total:data.total}); }; function _16e(_16f,_170){ var data=$.data(_16f,"datagrid").data; var view=$.data(_16f,"datagrid").options.view; var _171=$.data(_16f,"datagrid").insertedRows; view.insertRow.call(view,_16f,_170.index,_170.row); _171.push(_170.row); $(_16f).datagrid("getPager").pagination("refresh",{total:data.total}); }; function _172(_173,row){ var data=$.data(_173,"datagrid").data; var view=$.data(_173,"datagrid").options.view; var _174=$.data(_173,"datagrid").insertedRows; view.insertRow.call(view,_173,null,row); _174.push(row); $(_173).datagrid("getPager").pagination("refresh",{total:data.total}); }; function _175(_176){ var _177=$.data(_176,"datagrid"); var data=_177.data; var rows=data.rows; var _178=[]; for(var i=0;i=0){ (_185=="s"?_95:_92)(_17c,_186,true); } } }; for(var i=0;i0){ _af(this,data); _175(this); } } _ae(this); }); }; function _197(_198){ var _199={}; $.map(_198,function(name){ _199[name]=_19a(name); }); return _199; function _19a(name){ function isA(_19b){ return $.data($(_19b)[0],name)!=undefined; }; return {init:function(_19c,_19d){ var _19e=$("").appendTo(_19c); if(_19e[name]&&name!="text"){ return _19e[name](_19d); }else{ return _19e; } },destroy:function(_19f){ if(isA(_19f,name)){ $(_19f)[name]("destroy"); } },getValue:function(_1a0){ if(isA(_1a0,name)){ var opts=$(_1a0)[name]("options"); if(opts.multiple){ return $(_1a0)[name]("getValues").join(opts.separator); }else{ return $(_1a0)[name]("getValue"); } }else{ return $(_1a0).val(); } },setValue:function(_1a1,_1a2){ if(isA(_1a1,name)){ var opts=$(_1a1)[name]("options"); if(opts.multiple){ if(_1a2){ $(_1a1)[name]("setValues",_1a2.split(opts.separator)); }else{ $(_1a1)[name]("clear"); } }else{ $(_1a1)[name]("setValue",_1a2); } }else{ $(_1a1).val(_1a2); } },resize:function(_1a3,_1a4){ if(isA(_1a3,name)){ $(_1a3)[name]("resize",_1a4); }else{ $(_1a3)._outerWidth(_1a4)._outerHeight(22); } }}; }; }; var _1a5=$.extend({},_197(["text","textbox","numberbox","numberspinner","combobox","combotree","combogrid","datebox","datetimebox","timespinner","datetimespinner"]),{textarea:{init:function(_1a6,_1a7){ var _1a8=$("").appendTo(_1a6); return _1a8; },getValue:function(_1a9){ return $(_1a9).val(); },setValue:function(_1aa,_1ab){ $(_1aa).val(_1ab); },resize:function(_1ac,_1ad){ $(_1ac)._outerWidth(_1ad); }},checkbox:{init:function(_1ae,_1af){ var _1b0=$("").appendTo(_1ae); _1b0.val(_1af.on); _1b0.attr("offval",_1af.off); return _1b0; },getValue:function(_1b1){ if($(_1b1).is(":checked")){ return $(_1b1).val(); }else{ return $(_1b1).attr("offval"); } },setValue:function(_1b2,_1b3){ var _1b4=false; if($(_1b2).val()==_1b3){ _1b4=true; } $(_1b2)._propAttr("checked",_1b4); }},validatebox:{init:function(_1b5,_1b6){ var _1b7=$("").appendTo(_1b5); _1b7.validatebox(_1b6); return _1b7; },destroy:function(_1b8){ $(_1b8).validatebox("destroy"); },getValue:function(_1b9){ return $(_1b9).val(); },setValue:function(_1ba,_1bb){ $(_1ba).val(_1bb); },resize:function(_1bc,_1bd){ $(_1bc)._outerWidth(_1bd)._outerHeight(22); }}}); $.fn.datagrid.methods={options:function(jq){ var _1be=$.data(jq[0],"datagrid").options; var _1bf=$.data(jq[0],"datagrid").panel.panel("options"); var opts=$.extend(_1be,{width:_1bf.width,height:_1bf.height,closed:_1bf.closed,collapsed:_1bf.collapsed,minimized:_1bf.minimized,maximized:_1bf.maximized}); return opts; },setSelectionState:function(jq){ return jq.each(function(){ _f9(this); }); },createStyleSheet:function(jq){ return _9(jq[0]); },getPanel:function(jq){ return $.data(jq[0],"datagrid").panel; },getPager:function(jq){ return $.data(jq[0],"datagrid").panel.children("div.datagrid-pager"); },getColumnFields:function(jq,_1c0){ return _73(jq[0],_1c0); },getColumnOption:function(jq,_1c1){ return _74(jq[0],_1c1); },resize:function(jq,_1c2){ return jq.each(function(){ _1c(this,_1c2); }); },load:function(jq,_1c3){ return jq.each(function(){ var opts=$(this).datagrid("options"); if(typeof _1c3=="string"){ opts.url=_1c3; _1c3=null; } opts.pageNumber=1; var _1c4=$(this).datagrid("getPager"); _1c4.pagination("refresh",{pageNumber:1}); _ae(this,_1c3); }); },reload:function(jq,_1c5){ return jq.each(function(){ var opts=$(this).datagrid("options"); if(typeof _1c5=="string"){ opts.url=_1c5; _1c5=null; } _ae(this,_1c5); }); },reloadFooter:function(jq,_1c6){ return jq.each(function(){ var opts=$.data(this,"datagrid").options; var dc=$.data(this,"datagrid").dc; if(_1c6){ $.data(this,"datagrid").footer=_1c6; } if(opts.showFooter){ opts.view.renderFooter.call(opts.view,this,dc.footer2,false); opts.view.renderFooter.call(opts.view,this,dc.footer1,true); if(opts.view.onAfterRender){ opts.view.onAfterRender.call(opts.view,this); } $(this).datagrid("fixRowHeight"); } }); },loading:function(jq){ return jq.each(function(){ var opts=$.data(this,"datagrid").options; $(this).datagrid("getPager").pagination("loading"); if(opts.loadMsg){ var _1c7=$(this).datagrid("getPanel"); if(!_1c7.children("div.datagrid-mask").length){ $("
                                                ").appendTo(_1c7); var msg=$("
                                                ").html(opts.loadMsg).appendTo(_1c7); msg._outerHeight(40); msg.css({marginLeft:(-msg.outerWidth()/2),lineHeight:(msg.height()+"px")}); } } }); },loaded:function(jq){ return jq.each(function(){ $(this).datagrid("getPager").pagination("loaded"); var _1c8=$(this).datagrid("getPanel"); _1c8.children("div.datagrid-mask-msg").remove(); _1c8.children("div.datagrid-mask").remove(); }); },fitColumns:function(jq){ return jq.each(function(){ _b0(this); }); },fixColumnSize:function(jq,_1c9){ return jq.each(function(){ _d1(this,_1c9); }); },fixRowHeight:function(jq,_1ca){ return jq.each(function(){ _36(this,_1ca); }); },freezeRow:function(jq,_1cb){ return jq.each(function(){ _47(this,_1cb); }); },autoSizeColumn:function(jq,_1cc){ return jq.each(function(){ _c2(this,_1cc); }); },loadData:function(jq,data){ return jq.each(function(){ _af(this,data); _175(this); }); },getData:function(jq){ return $.data(jq[0],"datagrid").data; },getRows:function(jq){ return $.data(jq[0],"datagrid").data.rows; },getFooterRows:function(jq){ return $.data(jq[0],"datagrid").footer; },getRowIndex:function(jq,id){ return _102(jq[0],id); },getChecked:function(jq){ return _108(jq[0]); },getSelected:function(jq){ var rows=_105(jq[0]); return rows.length>0?rows[0]:null; },getSelections:function(jq){ return _105(jq[0]); },clearSelections:function(jq){ return jq.each(function(){ var _1cd=$.data(this,"datagrid"); var _1ce=_1cd.selectedRows; var _1cf=_1cd.checkedRows; _1ce.splice(0,_1ce.length); _119(this); if(_1cd.options.checkOnSelect){ _1cf.splice(0,_1cf.length); } }); },clearChecked:function(jq){ return jq.each(function(){ var _1d0=$.data(this,"datagrid"); var _1d1=_1d0.selectedRows; var _1d2=_1d0.checkedRows; _1d2.splice(0,_1d2.length); _129(this); if(_1d0.options.selectOnCheck){ _1d1.splice(0,_1d1.length); } }); },scrollTo:function(jq,_1d3){ return jq.each(function(){ _10b(this,_1d3); }); },highlightRow:function(jq,_1d4){ return jq.each(function(){ _8c(this,_1d4); _10b(this,_1d4); }); },selectAll:function(jq){ return jq.each(function(){ _11e(this); }); },unselectAll:function(jq){ return jq.each(function(){ _119(this); }); },selectRow:function(jq,_1d5){ return jq.each(function(){ _95(this,_1d5); }); },selectRecord:function(jq,id){ return jq.each(function(){ var opts=$.data(this,"datagrid").options; if(opts.idField){ var _1d6=_102(this,id); if(_1d6>=0){ $(this).datagrid("selectRow",_1d6); } } }); },unselectRow:function(jq,_1d7){ return jq.each(function(){ _96(this,_1d7); }); },checkRow:function(jq,_1d8){ return jq.each(function(){ _92(this,_1d8); }); },uncheckRow:function(jq,_1d9){ return jq.each(function(){ _93(this,_1d9); }); },checkAll:function(jq){ return jq.each(function(){ _123(this); }); },uncheckAll:function(jq){ return jq.each(function(){ _129(this); }); },beginEdit:function(jq,_1da){ return jq.each(function(){ _13a(this,_1da); }); },endEdit:function(jq,_1db){ return jq.each(function(){ _140(this,_1db,false); }); },cancelEdit:function(jq,_1dc){ return jq.each(function(){ _140(this,_1dc,true); }); },getEditors:function(jq,_1dd){ return _14d(jq[0],_1dd); },getEditor:function(jq,_1de){ return _151(jq[0],_1de); },refreshRow:function(jq,_1df){ return jq.each(function(){ var opts=$.data(this,"datagrid").options; opts.view.refreshRow.call(opts.view,this,_1df); }); },validateRow:function(jq,_1e0){ return _13f(jq[0],_1e0); },updateRow:function(jq,_1e1){ return jq.each(function(){ var opts=$.data(this,"datagrid").options; opts.view.updateRow.call(opts.view,this,_1e1.index,_1e1.row); }); },appendRow:function(jq,row){ return jq.each(function(){ _172(this,row); }); },insertRow:function(jq,_1e2){ return jq.each(function(){ _16e(this,_1e2); }); },deleteRow:function(jq,_1e3){ return jq.each(function(){ _168(this,_1e3); }); },getChanges:function(jq,_1e4){ return _162(jq[0],_1e4); },acceptChanges:function(jq){ return jq.each(function(){ _179(this); }); },rejectChanges:function(jq){ return jq.each(function(){ _17b(this); }); },mergeCells:function(jq,_1e5){ return jq.each(function(){ _18e(this,_1e5); }); },showColumn:function(jq,_1e6){ return jq.each(function(){ var _1e7=$(this).datagrid("getPanel"); _1e7.find("td[field=\""+_1e6+"\"]").show(); $(this).datagrid("getColumnOption",_1e6).hidden=false; $(this).datagrid("fitColumns"); }); },hideColumn:function(jq,_1e8){ return jq.each(function(){ var _1e9=$(this).datagrid("getPanel"); _1e9.find("td[field=\""+_1e8+"\"]").hide(); $(this).datagrid("getColumnOption",_1e8).hidden=true; $(this).datagrid("fitColumns"); }); },sort:function(jq,_1ea){ return jq.each(function(){ _a2(this,_1ea); }); }}; $.fn.datagrid.parseOptions=function(_1eb){ var t=$(_1eb); return $.extend({},$.fn.panel.parseOptions(_1eb),$.parser.parseOptions(_1eb,["url","toolbar","idField","sortName","sortOrder","pagePosition","resizeHandle",{sharedStyleSheet:"boolean",fitColumns:"boolean",autoRowHeight:"boolean",striped:"boolean",nowrap:"boolean"},{rownumbers:"boolean",singleSelect:"boolean",ctrlSelect:"boolean",checkOnSelect:"boolean",selectOnCheck:"boolean"},{pagination:"boolean",pageSize:"number",pageNumber:"number"},{multiSort:"boolean",remoteSort:"boolean",showHeader:"boolean",showFooter:"boolean"},{scrollbarSize:"number"}]),{pageList:(t.attr("pageList")?eval(t.attr("pageList")):undefined),loadMsg:(t.attr("loadMsg")!=undefined?t.attr("loadMsg"):undefined),rowStyler:(t.attr("rowStyler")?eval(t.attr("rowStyler")):undefined)}); }; $.fn.datagrid.parseData=function(_1ec){ var t=$(_1ec); var data={total:0,rows:[]}; var _1ed=t.datagrid("getColumnFields",true).concat(t.datagrid("getColumnFields",false)); t.find("tbody tr").each(function(){ data.total++; var row={}; $.extend(row,$.parser.parseOptions(this,["iconCls","state"])); for(var i=0;i<_1ed.length;i++){ row[_1ed[i]]=$(this).find("td:eq("+i+")").html(); } data.rows.push(row); }); return data; }; var _1ee={render:function(_1ef,_1f0,_1f1){ var _1f2=$.data(_1ef,"datagrid"); var opts=_1f2.options; var rows=_1f2.data.rows; var _1f3=$(_1ef).datagrid("getColumnFields",_1f1); if(_1f1){ if(!(opts.rownumbers||(opts.frozenColumns&&opts.frozenColumns.length))){ return; } } var _1f4=[""]; for(var i=0;i"); _1f4.push(this.renderRow.call(this,_1ef,_1f3,_1f1,i,rows[i])); _1f4.push(""); } _1f4.push("
                                                "); $(_1f0).html(_1f4.join("")); },renderFooter:function(_1f9,_1fa,_1fb){ var opts=$.data(_1f9,"datagrid").options; var rows=$.data(_1f9,"datagrid").footer||[]; var _1fc=$(_1f9).datagrid("getColumnFields",_1fb); var _1fd=[""]; for(var i=0;i"); _1fd.push(this.renderRow.call(this,_1f9,_1fc,_1fb,i,rows[i])); _1fd.push(""); } _1fd.push("
                                                "); $(_1fa).html(_1fd.join("")); },renderRow:function(_1fe,_1ff,_200,_201,_202){ var opts=$.data(_1fe,"datagrid").options; var cc=[]; if(_200&&opts.rownumbers){ var _203=_201+1; if(opts.pagination){ _203+=(opts.pageNumber-1)*opts.pageSize; } cc.push("
                                                "+_203+"
                                                "); } for(var i=0;i<_1ff.length;i++){ var _204=_1ff[i]; var col=$(_1fe).datagrid("getColumnOption",_204); if(col){ var _205=_202[_204]; var css=col.styler?(col.styler(_205,_202,_201)||""):""; var _206=""; var _207=""; if(typeof css=="string"){ _207=css; }else{ if(css){ _206=css["class"]||""; _207=css["style"]||""; } } var cls=_206?"class=\""+_206+"\"":""; var _208=col.hidden?"style=\"display:none;"+_207+"\"":(_207?"style=\""+_207+"\"":""); cc.push(""); var _208=""; if(!col.checkbox){ if(col.align){ _208+="text-align:"+col.align+";"; } if(!opts.nowrap){ _208+="white-space:normal;height:auto;"; }else{ if(opts.autoRowHeight){ _208+="height:auto;"; } } } cc.push("
                                                "); if(col.checkbox){ cc.push(""); }else{ if(col.formatter){ cc.push(col.formatter(_205,_202,_201)); }else{ cc.push(_205); } } cc.push("
                                                "); cc.push(""); } } return cc.join(""); },refreshRow:function(_209,_20a){ this.updateRow.call(this,_209,_20a,{}); },updateRow:function(_20b,_20c,row){ var opts=$.data(_20b,"datagrid").options; var rows=$(_20b).datagrid("getRows"); var _20d=_20e(_20c); $.extend(rows[_20c],row); var _20f=_20e(_20c); var _210=_20d.c; var _211=_20f.s; var _212="datagrid-row "+(_20c%2&&opts.striped?"datagrid-row-alt ":" ")+_20f.c; function _20e(_213){ var css=opts.rowStyler?opts.rowStyler.call(_20b,_213,rows[_213]):""; var _214=""; var _215=""; if(typeof css=="string"){ _215=css; }else{ if(css){ _214=css["class"]||""; _215=css["style"]||""; } } return {c:_214,s:_215}; }; function _216(_217){ var _218=$(_20b).datagrid("getColumnFields",_217); var tr=opts.finder.getTr(_20b,_20c,"body",(_217?1:2)); var _219=tr.find("div.datagrid-cell-check input[type=checkbox]").is(":checked"); tr.html(this.renderRow.call(this,_20b,_218,_217,_20c,rows[_20c])); tr.attr("style",_211).removeClass(_210).addClass(_212); if(_219){ tr.find("div.datagrid-cell-check input[type=checkbox]")._propAttr("checked",true); } }; _216.call(this,true); _216.call(this,false); $(_20b).datagrid("fixRowHeight",_20c); },insertRow:function(_21a,_21b,row){ var _21c=$.data(_21a,"datagrid"); var opts=_21c.options; var dc=_21c.dc; var data=_21c.data; if(_21b==undefined||_21b==null){ _21b=data.rows.length; } if(_21b>data.rows.length){ _21b=data.rows.length; } function _21d(_21e){ var _21f=_21e?1:2; for(var i=data.rows.length-1;i>=_21b;i--){ var tr=opts.finder.getTr(_21a,i,"body",_21f); tr.attr("datagrid-row-index",i+1); tr.attr("id",_21c.rowIdPrefix+"-"+_21f+"-"+(i+1)); if(_21e&&opts.rownumbers){ var _220=i+2; if(opts.pagination){ _220+=(opts.pageNumber-1)*opts.pageSize; } tr.find("div.datagrid-cell-rownumber").html(_220); } if(opts.striped){ tr.removeClass("datagrid-row-alt").addClass((i+1)%2?"datagrid-row-alt":""); } } }; function _221(_222){ var _223=_222?1:2; var _224=$(_21a).datagrid("getColumnFields",_222); var _225=_21c.rowIdPrefix+"-"+_223+"-"+_21b; var tr=""; if(_21b>=data.rows.length){ if(data.rows.length){ opts.finder.getTr(_21a,"","last",_223).after(tr); }else{ var cc=_222?dc.body1:dc.body2; cc.html(""+tr+"
                                                "); } }else{ opts.finder.getTr(_21a,_21b+1,"body",_223).before(tr); } }; _21d.call(this,true); _21d.call(this,false); _221.call(this,true); _221.call(this,false); data.total+=1; data.rows.splice(_21b,0,row); this.refreshRow.call(this,_21a,_21b); },deleteRow:function(_226,_227){ var _228=$.data(_226,"datagrid"); var opts=_228.options; var data=_228.data; function _229(_22a){ var _22b=_22a?1:2; for(var i=_227+1;itable>tbody>tr[datagrid-row-index="+_236+"]"); } return tr; }else{ if(type=="footer"){ return (_237==1?dc.footer1:dc.footer2).find(">table>tbody>tr[datagrid-row-index="+_236+"]"); }else{ if(type=="selected"){ return (_237==1?dc.body1:dc.body2).find(">table>tbody>tr.datagrid-row-selected"); }else{ if(type=="highlight"){ return (_237==1?dc.body1:dc.body2).find(">table>tbody>tr.datagrid-row-over"); }else{ if(type=="checked"){ return (_237==1?dc.body1:dc.body2).find(">table>tbody>tr.datagrid-row-checked"); }else{ if(type=="editing"){ return (_237==1?dc.body1:dc.body2).find(">table>tbody>tr.datagrid-row-editing"); }else{ if(type=="last"){ return (_237==1?dc.body1:dc.body2).find(">table>tbody>tr[datagrid-row-index]:last"); }else{ if(type=="allbody"){ return (_237==1?dc.body1:dc.body2).find(">table>tbody>tr[datagrid-row-index]"); }else{ if(type=="allfooter"){ return (_237==1?dc.footer1:dc.footer2).find(">table>tbody>tr[datagrid-row-index]"); } } } } } } } } } } },getRow:function(_239,p){ var _23a=(typeof p=="object")?p.attr("datagrid-row-index"):p; return $.data(_239,"datagrid").data.rows[parseInt(_23a)]; },getRows:function(_23b){ return $(_23b).datagrid("getRows"); }},view:_1ee,onBeforeLoad:function(_23c){ },onLoadSuccess:function(){ },onLoadError:function(){ },onClickRow:function(_23d,_23e){ },onDblClickRow:function(_23f,_240){ },onClickCell:function(_241,_242,_243){ },onDblClickCell:function(_244,_245,_246){ },onBeforeSortColumn:function(sort,_247){ },onSortColumn:function(sort,_248){ },onResizeColumn:function(_249,_24a){ },onBeforeSelect:function(_24b,_24c){ },onSelect:function(_24d,_24e){ },onBeforeUnselect:function(_24f,_250){ },onUnselect:function(_251,_252){ },onSelectAll:function(rows){ },onUnselectAll:function(rows){ },onBeforeCheck:function(_253,_254){ },onCheck:function(_255,_256){ },onBeforeUncheck:function(_257,_258){ },onUncheck:function(_259,_25a){ },onCheckAll:function(rows){ },onUncheckAll:function(rows){ },onBeforeEdit:function(_25b,_25c){ },onBeginEdit:function(_25d,_25e){ },onEndEdit:function(_25f,_260,_261){ },onAfterEdit:function(_262,_263,_264){ },onCancelEdit:function(_265,_266){ },onHeaderContextMenu:function(e,_267){ },onRowContextMenu:function(e,_268,_269){ }}); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.datebox.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ var _3=$.data(_2,"datebox"); var _4=_3.options; $(_2).addClass("datebox-f").combo($.extend({},_4,{onShowPanel:function(){ _5(this); _6(this); _7(this); _18(this,$(this).datebox("getText"),true); _4.onShowPanel.call(this); }})); if(!_3.calendar){ var _8=$(_2).combo("panel").css("overflow","hidden"); _8.panel("options").onBeforeDestroy=function(){ var c=$(this).find(".calendar-shared"); if(c.length){ c.insertBefore(c[0].pholder); } }; var cc=$("
                                                ").prependTo(_8); if(_4.sharedCalendar){ var c=$(_4.sharedCalendar); if(!c[0].pholder){ c[0].pholder=$("
                                                ").insertAfter(c); } c.addClass("calendar-shared").appendTo(cc); if(!c.hasClass("calendar")){ c.calendar(); } _3.calendar=c; }else{ _3.calendar=$("
                                                ").appendTo(cc).calendar(); } $.extend(_3.calendar.calendar("options"),{fit:true,border:false,onSelect:function(_9){ var _a=this.target; var _b=$(_a).datebox("options"); _18(_a,_b.formatter.call(_a,_9)); $(_a).combo("hidePanel"); _b.onSelect.call(_a,_9); }}); } $(_2).combo("textbox").parent().addClass("datebox"); $(_2).datebox("initValue",_4.value); function _5(_c){ var _d=$(_c).datebox("options"); var _e=$(_c).combo("panel"); _e.unbind(".datebox").bind("click.datebox",function(e){ if($(e.target).hasClass("datebox-button-a")){ var _f=parseInt($(e.target).attr("datebox-button-index")); _d.buttons[_f].handler.call(e.target,_c); } }); }; function _6(_10){ var _11=$(_10).combo("panel"); if(_11.children("div.datebox-button").length){ return; } var _12=$("
                                                ").appendTo(_11); var tr=_12.find("tr"); for(var i=0;i<_4.buttons.length;i++){ var td=$("").appendTo(tr); var btn=_4.buttons[i]; var t=$("").html($.isFunction(btn.text)?btn.text(_10):btn.text).appendTo(td); t.attr("datebox-button-index",i); } tr.find("td").css("width",(100/_4.buttons.length)+"%"); }; function _7(_13){ var _14=$(_13).combo("panel"); var cc=_14.children("div.datebox-calendar-inner"); _14.children()._outerWidth(_14.width()); _3.calendar.appendTo(cc); _3.calendar[0].target=_13; if(_4.panelHeight!="auto"){ var _15=_14.height(); _14.children().not(cc).each(function(){ _15-=$(this).outerHeight(); }); cc._outerHeight(_15); } _3.calendar.calendar("resize"); }; }; function _16(_17,q){ _18(_17,q,true); }; function _19(_1a){ var _1b=$.data(_1a,"datebox"); var _1c=_1b.options; var _1d=_1b.calendar.calendar("options").current; if(_1d){ _18(_1a,_1c.formatter.call(_1a,_1d)); $(_1a).combo("hidePanel"); } }; function _18(_1e,_1f,_20){ var _21=$.data(_1e,"datebox"); var _22=_21.options; var _23=_21.calendar; $(_1e).combo("setValue",_1f); _23.calendar("moveTo",_22.parser.call(_1e,_1f)); if(!_20){ if(_1f){ _1f=_22.formatter.call(_1e,_23.calendar("options").current); $(_1e).combo("setValue",_1f).combo("setText",_1f); }else{ $(_1e).combo("setText",_1f); } } }; $.fn.datebox=function(_24,_25){ if(typeof _24=="string"){ var _26=$.fn.datebox.methods[_24]; if(_26){ return _26(this,_25); }else{ return this.combo(_24,_25); } } _24=_24||{}; return this.each(function(){ var _27=$.data(this,"datebox"); if(_27){ $.extend(_27.options,_24); }else{ $.data(this,"datebox",{options:$.extend({},$.fn.datebox.defaults,$.fn.datebox.parseOptions(this),_24)}); } _1(this); }); }; $.fn.datebox.methods={options:function(jq){ var _28=jq.combo("options"); return $.extend($.data(jq[0],"datebox").options,{width:_28.width,height:_28.height,originalValue:_28.originalValue,disabled:_28.disabled,readonly:_28.readonly}); },cloneFrom:function(jq,_29){ return jq.each(function(){ $(this).combo("cloneFrom",_29); $.data(this,"datebox",{options:$.extend(true,{},$(_29).datebox("options")),calendar:$(_29).datebox("calendar")}); $(this).addClass("datebox-f"); }); },calendar:function(jq){ return $.data(jq[0],"datebox").calendar; },initValue:function(jq,_2a){ return jq.each(function(){ var _2b=$(this).datebox("options"); var _2c=_2b.value; if(_2c){ _2c=_2b.formatter.call(this,_2b.parser.call(this,_2c)); } $(this).combo("initValue",_2c).combo("setText",_2c); }); },setValue:function(jq,_2d){ return jq.each(function(){ _18(this,_2d); }); },reset:function(jq){ return jq.each(function(){ var _2e=$(this).datebox("options"); $(this).datebox("setValue",_2e.originalValue); }); }}; $.fn.datebox.parseOptions=function(_2f){ return $.extend({},$.fn.combo.parseOptions(_2f),$.parser.parseOptions(_2f,["sharedCalendar"])); }; $.fn.datebox.defaults=$.extend({},$.fn.combo.defaults,{panelWidth:180,panelHeight:"auto",sharedCalendar:null,keyHandler:{up:function(e){ },down:function(e){ },left:function(e){ },right:function(e){ },enter:function(e){ _19(this); },query:function(q,e){ _16(this,q); }},currentText:"Today",closeText:"Close",okText:"Ok",buttons:[{text:function(_30){ return $(_30).datebox("options").currentText; },handler:function(_31){ $(_31).datebox("calendar").calendar({year:new Date().getFullYear(),month:new Date().getMonth()+1,current:new Date()}); _19(_31); }},{text:function(_32){ return $(_32).datebox("options").closeText; },handler:function(_33){ $(this).closest("div.combo-panel").panel("close"); }}],formatter:function(_34){ var y=_34.getFullYear(); var m=_34.getMonth()+1; var d=_34.getDate(); return (m<10?("0"+m):m)+"/"+(d<10?("0"+d):d)+"/"+y; },parser:function(s){ if(!s){ return new Date(); } var ss=s.split("/"); var m=parseInt(ss[0],10); var d=parseInt(ss[1],10); var y=parseInt(ss[2],10); if(!isNaN(y)&&!isNaN(m)&&!isNaN(d)){ return new Date(y,m-1,d); }else{ return new Date(); } },onSelect:function(_35){ }}); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.datetimebox.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ var _3=$.data(_2,"datetimebox"); var _4=_3.options; $(_2).datebox($.extend({},_4,{onShowPanel:function(){ var _5=$(this).datetimebox("getValue"); _d(this,_5,true); _4.onShowPanel.call(this); },formatter:$.fn.datebox.defaults.formatter,parser:$.fn.datebox.defaults.parser})); $(_2).removeClass("datebox-f").addClass("datetimebox-f"); $(_2).datebox("calendar").calendar({onSelect:function(_6){ _4.onSelect.call(this.target,_6); }}); if(!_3.spinner){ var _7=$(_2).datebox("panel"); var p=$("
                                                ").insertAfter(_7.children("div.datebox-calendar-inner")); _3.spinner=p.children("input"); } _3.spinner.timespinner({width:_4.spinnerWidth,showSeconds:_4.showSeconds,separator:_4.timeSeparator}); $(_2).datetimebox("initValue",_4.value); }; function _8(_9){ var c=$(_9).datetimebox("calendar"); var t=$(_9).datetimebox("spinner"); var _a=c.calendar("options").current; return new Date(_a.getFullYear(),_a.getMonth(),_a.getDate(),t.timespinner("getHours"),t.timespinner("getMinutes"),t.timespinner("getSeconds")); }; function _b(_c,q){ _d(_c,q,true); }; function _e(_f){ var _10=$.data(_f,"datetimebox").options; var _11=_8(_f); _d(_f,_10.formatter.call(_f,_11)); $(_f).combo("hidePanel"); }; function _d(_12,_13,_14){ var _15=$.data(_12,"datetimebox").options; $(_12).combo("setValue",_13); if(!_14){ if(_13){ var _16=_15.parser.call(_12,_13); $(_12).combo("setValue",_15.formatter.call(_12,_16)); $(_12).combo("setText",_15.formatter.call(_12,_16)); }else{ $(_12).combo("setText",_13); } } var _16=_15.parser.call(_12,_13); $(_12).datetimebox("calendar").calendar("moveTo",_16); $(_12).datetimebox("spinner").timespinner("setValue",_17(_16)); function _17(_18){ function _19(_1a){ return (_1a<10?"0":"")+_1a; }; var tt=[_19(_18.getHours()),_19(_18.getMinutes())]; if(_15.showSeconds){ tt.push(_19(_18.getSeconds())); } return tt.join($(_12).datetimebox("spinner").timespinner("options").separator); }; }; $.fn.datetimebox=function(_1b,_1c){ if(typeof _1b=="string"){ var _1d=$.fn.datetimebox.methods[_1b]; if(_1d){ return _1d(this,_1c); }else{ return this.datebox(_1b,_1c); } } _1b=_1b||{}; return this.each(function(){ var _1e=$.data(this,"datetimebox"); if(_1e){ $.extend(_1e.options,_1b); }else{ $.data(this,"datetimebox",{options:$.extend({},$.fn.datetimebox.defaults,$.fn.datetimebox.parseOptions(this),_1b)}); } _1(this); }); }; $.fn.datetimebox.methods={options:function(jq){ var _1f=jq.datebox("options"); return $.extend($.data(jq[0],"datetimebox").options,{originalValue:_1f.originalValue,disabled:_1f.disabled,readonly:_1f.readonly}); },cloneFrom:function(jq,_20){ return jq.each(function(){ $(this).datebox("cloneFrom",_20); $.data(this,"datetimebox",{options:$.extend(true,{},$(_20).datetimebox("options")),spinner:$(_20).datetimebox("spinner")}); $(this).removeClass("datebox-f").addClass("datetimebox-f"); }); },spinner:function(jq){ return $.data(jq[0],"datetimebox").spinner; },initValue:function(jq,_21){ return jq.each(function(){ var _22=$(this).datetimebox("options"); var _23=_22.value; if(_23){ _23=_22.formatter.call(this,_22.parser.call(this,_23)); } $(this).combo("initValue",_23).combo("setText",_23); }); },setValue:function(jq,_24){ return jq.each(function(){ _d(this,_24); }); },reset:function(jq){ return jq.each(function(){ var _25=$(this).datetimebox("options"); $(this).datetimebox("setValue",_25.originalValue); }); }}; $.fn.datetimebox.parseOptions=function(_26){ var t=$(_26); return $.extend({},$.fn.datebox.parseOptions(_26),$.parser.parseOptions(_26,["timeSeparator","spinnerWidth",{showSeconds:"boolean"}])); }; $.fn.datetimebox.defaults=$.extend({},$.fn.datebox.defaults,{spinnerWidth:"100%",showSeconds:true,timeSeparator:":",keyHandler:{up:function(e){ },down:function(e){ },left:function(e){ },right:function(e){ },enter:function(e){ _e(this); },query:function(q,e){ _b(this,q); }},buttons:[{text:function(_27){ return $(_27).datetimebox("options").currentText; },handler:function(_28){ var _29=$(_28).datetimebox("options"); _d(_28,_29.formatter.call(_28,new Date())); $(_28).datetimebox("hidePanel"); }},{text:function(_2a){ return $(_2a).datetimebox("options").okText; },handler:function(_2b){ _e(_2b); }},{text:function(_2c){ return $(_2c).datetimebox("options").closeText; },handler:function(_2d){ $(_2d).datetimebox("hidePanel"); }}],formatter:function(_2e){ var h=_2e.getHours(); var M=_2e.getMinutes(); var s=_2e.getSeconds(); function _2f(_30){ return (_30<10?"0":"")+_30; }; var _31=$(this).datetimebox("spinner").timespinner("options").separator; var r=$.fn.datebox.defaults.formatter(_2e)+" "+_2f(h)+_31+_2f(M); if($(this).datetimebox("options").showSeconds){ r+=_31+_2f(s); } return r; },parser:function(s){ if($.trim(s)==""){ return new Date(); } var dt=s.split(" "); var d=$.fn.datebox.defaults.parser(dt[0]); if(dt.length<2){ return d; } var _32=$(this).datetimebox("spinner").timespinner("options").separator; var tt=dt[1].split(_32); var _33=parseInt(tt[0],10)||0; var _34=parseInt(tt[1],10)||0; var _35=parseInt(tt[2],10)||0; return new Date(d.getFullYear(),d.getMonth(),d.getDate(),_33,_34,_35); }}); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.datetimespinner.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ var _3=$.data(_2,"datetimespinner").options; $(_2).addClass("datetimespinner-f").timespinner(_3); }; $.fn.datetimespinner=function(_4,_5){ if(typeof _4=="string"){ var _6=$.fn.datetimespinner.methods[_4]; if(_6){ return _6(this,_5); }else{ return this.timespinner(_4,_5); } } _4=_4||{}; return this.each(function(){ var _7=$.data(this,"datetimespinner"); if(_7){ $.extend(_7.options,_4); }else{ $.data(this,"datetimespinner",{options:$.extend({},$.fn.datetimespinner.defaults,$.fn.datetimespinner.parseOptions(this),_4)}); } _1(this); }); }; $.fn.datetimespinner.methods={options:function(jq){ var _8=jq.timespinner("options"); return $.extend($.data(jq[0],"datetimespinner").options,{width:_8.width,value:_8.value,originalValue:_8.originalValue,disabled:_8.disabled,readonly:_8.readonly}); }}; $.fn.datetimespinner.parseOptions=function(_9){ return $.extend({},$.fn.timespinner.parseOptions(_9),$.parser.parseOptions(_9,[])); }; $.fn.datetimespinner.defaults=$.extend({},$.fn.timespinner.defaults,{formatter:function(_a){ if(!_a){ return ""; } return $.fn.datebox.defaults.formatter.call(this,_a)+" "+$.fn.timespinner.defaults.formatter.call(this,_a); },parser:function(s){ s=$.trim(s); if(!s){ return null; } var dt=s.split(" "); var _b=$.fn.datebox.defaults.parser.call(this,dt[0]); if(dt.length<2){ return _b; } var _c=$.fn.timespinner.defaults.parser.call(this,dt[1]); return new Date(_b.getFullYear(),_b.getMonth(),_b.getDate(),_c.getHours(),_c.getMinutes(),_c.getSeconds()); },selections:[[0,2],[3,5],[6,10],[11,13],[14,16],[17,19]]}); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.dialog.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ var _3=$.data(_2,"dialog").options; _3.inited=false; $(_2).window($.extend({},_3,{onResize:function(w,h){ if(_3.inited){ _a(this); _3.onResize.call(this,w,h); } }})); var _4=$(_2).window("window"); if(_3.toolbar){ if($.isArray(_3.toolbar)){ $(_2).siblings("div.dialog-toolbar").remove(); var _5=$("
                                                ").appendTo(_4); var tr=_5.find("tr"); for(var i=0;i<_3.toolbar.length;i++){ var _6=_3.toolbar[i]; if(_6=="-"){ $("
                                                ").appendTo(tr); }else{ var td=$("").appendTo(tr); var _7=$("").appendTo(td); _7[0].onclick=eval(_6.handler||function(){ }); _7.linkbutton($.extend({},_6,{plain:true})); } } }else{ $(_3.toolbar).addClass("dialog-toolbar").appendTo(_4); $(_3.toolbar).show(); } }else{ $(_2).siblings("div.dialog-toolbar").remove(); } if(_3.buttons){ if($.isArray(_3.buttons)){ $(_2).siblings("div.dialog-button").remove(); var _8=$("
                                                ").appendTo(_4); for(var i=0;i<_3.buttons.length;i++){ var p=_3.buttons[i]; var _9=$("").appendTo(_8); if(p.handler){ _9[0].onclick=p.handler; } _9.linkbutton(p); } }else{ $(_3.buttons).addClass("dialog-button").appendTo(_4); $(_3.buttons).show(); } }else{ $(_2).siblings("div.dialog-button").remove(); } _3.inited=true; _4.show(); $(_2).window("resize"); if(_3.closed){ _4.hide(); } }; function _a(_b,_c){ var t=$(_b); var _d=t.dialog("options"); var _e=_d.noheader; var tb=t.siblings(".dialog-toolbar"); var bb=t.siblings(".dialog-button"); tb.insertBefore(_b).css({position:"relative",borderTopWidth:(_e?1:0),top:(_e?tb.length:0)}); bb.insertAfter(_b).css({position:"relative",top:-1}); if(!isNaN(parseInt(_d.height))){ t._outerHeight(t._outerHeight()-tb._outerHeight()-bb._outerHeight()); } tb.add(bb)._outerWidth(t._outerWidth()); var _f=$.data(_b,"window").shadow; if(_f){ var cc=t.panel("panel"); _f.css({width:cc._outerWidth(),height:cc._outerHeight()}); } }; $.fn.dialog=function(_10,_11){ if(typeof _10=="string"){ var _12=$.fn.dialog.methods[_10]; if(_12){ return _12(this,_11); }else{ return this.window(_10,_11); } } _10=_10||{}; return this.each(function(){ var _13=$.data(this,"dialog"); if(_13){ $.extend(_13.options,_10); }else{ $.data(this,"dialog",{options:$.extend({},$.fn.dialog.defaults,$.fn.dialog.parseOptions(this),_10)}); } _1(this); }); }; $.fn.dialog.methods={options:function(jq){ var _14=$.data(jq[0],"dialog").options; var _15=jq.panel("options"); $.extend(_14,{width:_15.width,height:_15.height,left:_15.left,top:_15.top,closed:_15.closed,collapsed:_15.collapsed,minimized:_15.minimized,maximized:_15.maximized}); return _14; },dialog:function(jq){ return jq.window("window"); }}; $.fn.dialog.parseOptions=function(_16){ return $.extend({},$.fn.window.parseOptions(_16),$.parser.parseOptions(_16,["toolbar","buttons"])); }; $.fn.dialog.defaults=$.extend({},$.fn.window.defaults,{title:"New Dialog",collapsible:false,minimizable:false,maximizable:false,resizable:false,toolbar:null,buttons:null}); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.draggable.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(e){ var _2=$.data(e.data.target,"draggable"); var _3=_2.options; var _4=_2.proxy; var _5=e.data; var _6=_5.startLeft+e.pageX-_5.startX; var _7=_5.startTop+e.pageY-_5.startY; if(_4){ if(_4.parent()[0]==document.body){ if(_3.deltaX!=null&&_3.deltaX!=undefined){ _6=e.pageX+_3.deltaX; }else{ _6=e.pageX-e.data.offsetWidth; } if(_3.deltaY!=null&&_3.deltaY!=undefined){ _7=e.pageY+_3.deltaY; }else{ _7=e.pageY-e.data.offsetHeight; } }else{ if(_3.deltaX!=null&&_3.deltaX!=undefined){ _6+=e.data.offsetWidth+_3.deltaX; } if(_3.deltaY!=null&&_3.deltaY!=undefined){ _7+=e.data.offsetHeight+_3.deltaY; } } } if(e.data.parent!=document.body){ _6+=$(e.data.parent).scrollLeft(); _7+=$(e.data.parent).scrollTop(); } if(_3.axis=="h"){ _5.left=_6; }else{ if(_3.axis=="v"){ _5.top=_7; }else{ _5.left=_6; _5.top=_7; } } }; function _8(e){ var _9=$.data(e.data.target,"draggable"); var _a=_9.options; var _b=_9.proxy; if(!_b){ _b=$(e.data.target); } _b.css({left:e.data.left,top:e.data.top}); $("body").css("cursor",_a.cursor); }; function _c(e){ $.fn.draggable.isDragging=true; var _d=$.data(e.data.target,"draggable"); var _e=_d.options; var _f=$(".droppable").filter(function(){ return e.data.target!=this; }).filter(function(){ var _10=$.data(this,"droppable").options.accept; if(_10){ return $(_10).filter(function(){ return this==e.data.target; }).length>0; }else{ return true; } }); _d.droppables=_f; var _11=_d.proxy; if(!_11){ if(_e.proxy){ if(_e.proxy=="clone"){ _11=$(e.data.target).clone().insertAfter(e.data.target); }else{ _11=_e.proxy.call(e.data.target,e.data.target); } _d.proxy=_11; }else{ _11=$(e.data.target); } } _11.css("position","absolute"); _1(e); _8(e); _e.onStartDrag.call(e.data.target,e); return false; }; function _12(e){ var _13=$.data(e.data.target,"draggable"); _1(e); if(_13.options.onDrag.call(e.data.target,e)!=false){ _8(e); } var _14=e.data.target; _13.droppables.each(function(){ var _15=$(this); if(_15.droppable("options").disabled){ return; } var p2=_15.offset(); if(e.pageX>p2.left&&e.pageXp2.top&&e.pageYp2.left&&e.pageXp2.top&&e.pageY_2a.options.edge; }; }); }; $.fn.draggable.methods={options:function(jq){ return $.data(jq[0],"draggable").options; },proxy:function(jq){ return $.data(jq[0],"draggable").proxy; },enable:function(jq){ return jq.each(function(){ $(this).draggable({disabled:false}); }); },disable:function(jq){ return jq.each(function(){ $(this).draggable({disabled:true}); }); }}; $.fn.draggable.parseOptions=function(_2f){ var t=$(_2f); return $.extend({},$.parser.parseOptions(_2f,["cursor","handle","axis",{"revert":"boolean","deltaX":"number","deltaY":"number","edge":"number"}]),{disabled:(t.attr("disabled")?true:undefined)}); }; $.fn.draggable.defaults={proxy:null,revert:false,cursor:"move",deltaX:null,deltaY:null,handle:null,disabled:false,edge:0,axis:null,onBeforeDrag:function(e){ },onStartDrag:function(e){ },onDrag:function(e){ },onStopDrag:function(e){ }}; $.fn.draggable.isDragging=false; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.droppable.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ $(_2).addClass("droppable"); $(_2).bind("_dragenter",function(e,_3){ $.data(_2,"droppable").options.onDragEnter.apply(_2,[e,_3]); }); $(_2).bind("_dragleave",function(e,_4){ $.data(_2,"droppable").options.onDragLeave.apply(_2,[e,_4]); }); $(_2).bind("_dragover",function(e,_5){ $.data(_2,"droppable").options.onDragOver.apply(_2,[e,_5]); }); $(_2).bind("_drop",function(e,_6){ $.data(_2,"droppable").options.onDrop.apply(_2,[e,_6]); }); }; $.fn.droppable=function(_7,_8){ if(typeof _7=="string"){ return $.fn.droppable.methods[_7](this,_8); } _7=_7||{}; return this.each(function(){ var _9=$.data(this,"droppable"); if(_9){ $.extend(_9.options,_7); }else{ _1(this); $.data(this,"droppable",{options:$.extend({},$.fn.droppable.defaults,$.fn.droppable.parseOptions(this),_7)}); } }); }; $.fn.droppable.methods={options:function(jq){ return $.data(jq[0],"droppable").options; },enable:function(jq){ return jq.each(function(){ $(this).droppable({disabled:false}); }); },disable:function(jq){ return jq.each(function(){ $(this).droppable({disabled:true}); }); }}; $.fn.droppable.parseOptions=function(_a){ var t=$(_a); return $.extend({},$.parser.parseOptions(_a,["accept"]),{disabled:(t.attr("disabled")?true:undefined)}); }; $.fn.droppable.defaults={accept:null,disabled:false,onDragEnter:function(e,_b){ },onDragOver:function(e,_c){ },onDragLeave:function(e,_d){ },onDrop:function(e,_e){ }}; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.filebox.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ var _1=0; function _2(_3){ var _4=$.data(_3,"filebox"); var _5=_4.options; var id="filebox_file_id_"+(++_1); $(_3).addClass("filebox-f").textbox($.extend({},_5,{buttonText:_5.buttonText?(""):""})); $(_3).textbox("textbox").attr("readonly","readonly"); _4.filebox=$(_3).next().addClass("filebox"); _4.filebox.find(".textbox-value").remove(); _5.oldValue=""; var _6=$("").appendTo(_4.filebox); _6.attr("id",id).attr("name",$(_3).attr("textboxName")||""); _6.change(function(){ $(_3).filebox("setText",this.value); _5.onChange.call(_3,this.value,_5.oldValue); _5.oldValue=this.value; }); var _7=$(_3).filebox("button"); if(_7.length){ if(_7.linkbutton("options").disabled){ _6.attr("disabled","disabled"); }else{ _6.removeAttr("disabled"); } } }; $.fn.filebox=function(_8,_9){ if(typeof _8=="string"){ var _a=$.fn.filebox.methods[_8]; if(_a){ return _a(this,_9); }else{ return this.textbox(_8,_9); } } _8=_8||{}; return this.each(function(){ var _b=$.data(this,"filebox"); if(_b){ $.extend(_b.options,_8); }else{ $.data(this,"filebox",{options:$.extend({},$.fn.filebox.defaults,$.fn.filebox.parseOptions(this),_8)}); } _2(this); }); }; $.fn.filebox.methods={options:function(jq){ var _c=jq.textbox("options"); return $.extend($.data(jq[0],"filebox").options,{width:_c.width,value:_c.value,originalValue:_c.originalValue,disabled:_c.disabled,readonly:_c.readonly}); }}; $.fn.filebox.parseOptions=function(_d){ return $.extend({},$.fn.textbox.parseOptions(_d),{}); }; $.fn.filebox.defaults=$.extend({},$.fn.textbox.defaults,{buttonIcon:null,buttonText:"Choose File",buttonAlign:"right",inputEvents:{}}); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.form.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2,_3){ var _4=$.data(_2,"form").options; $.extend(_4,_3||{}); var _5=$.extend({},_4.queryParams); if(_4.onSubmit.call(_2,_5)==false){ return; } $(_2).find(".textbox-text:focus").blur(); var _6="easyui_frame_"+(new Date().getTime()); var _7=$("").appendTo("body"); _7.attr("src",window.ActiveXObject?"javascript:false":"about:blank"); _7.css({position:"absolute",top:-1000,left:-1000}); _7.bind("load",cb); _8(_5); function _8(_9){ var _a=$(_2); if(_4.url){ _a.attr("action",_4.url); } var t=_a.attr("target"),a=_a.attr("action"); _a.attr("target",_6); var _b=$(); try{ for(var n in _9){ var _c=$("").val(_9[n]).appendTo(_a); _b=_b.add(_c); } _d(); _a[0].submit(); } finally{ _a.attr("action",a); t?_a.attr("target",t):_a.removeAttr("target"); _b.remove(); } }; function _d(){ var f=$("#"+_6); if(!f.length){ return; } try{ var s=f.contents()[0].readyState; if(s&&s.toLowerCase()=="uninitialized"){ setTimeout(_d,100); } } catch(e){ cb(); } }; var _e=10; function cb(){ var f=$("#"+_6); if(!f.length){ return; } f.unbind(); var _f=""; try{ var _10=f.contents().find("body"); _f=_10.html(); if(_f==""){ if(--_e){ setTimeout(cb,100); return; } } var ta=_10.find(">textarea"); if(ta.length){ _f=ta.val(); }else{ var pre=_10.find(">pre"); if(pre.length){ _f=pre.html(); } } } catch(e){ } _4.success(_f); setTimeout(function(){ f.unbind(); f.remove(); },100); }; }; function _11(_12,_13){ var _14=$.data(_12,"form").options; if(typeof _13=="string"){ var _15={}; if(_14.onBeforeLoad.call(_12,_15)==false){ return; } $.ajax({url:_13,data:_15,dataType:"json",success:function(_16){ _17(_16); },error:function(){ _14.onLoadError.apply(_12,arguments); }}); }else{ _17(_13); } function _17(_18){ var _19=$(_12); for(var _1a in _18){ var val=_18[_1a]; var rr=_1b(_1a,val); if(!rr.length){ var _1c=_1d(_1a,val); if(!_1c){ $("input[name=\""+_1a+"\"]",_19).val(val); $("textarea[name=\""+_1a+"\"]",_19).val(val); $("select[name=\""+_1a+"\"]",_19).val(val); } } _1e(_1a,val); } _14.onLoadSuccess.call(_12,_18); _2b(_12); }; function _1b(_1f,val){ var rr=$(_12).find("input[name=\""+_1f+"\"][type=radio], input[name=\""+_1f+"\"][type=checkbox]"); rr._propAttr("checked",false); rr.each(function(){ var f=$(this); if(f.val()==String(val)||$.inArray(f.val(),$.isArray(val)?val:[val])>=0){ f._propAttr("checked",true); } }); return rr; }; function _1d(_20,val){ var _21=0; var pp=["textbox","numberbox","slider"]; for(var i=0;i=0){ _17(_13,_15,this); } }); }; cc.children("form").length?_14(cc.children("form")):_14(cc); cc.append("
                                                "); cc.bind("_resize",function(e,_16){ if($(this).hasClass("easyui-fluid")||_16){ _2(_13); } return false; }); }; function _17(_18,_19,el){ _19.region=_19.region||"center"; var _1a=$.data(_18,"layout").panels; var cc=$(_18); var dir=_19.region; if(_1a[dir].length){ return; } var pp=$(el); if(!pp.length){ pp=$("
                                                ").appendTo(cc); } var _1b=$.extend({},$.fn.layout.paneldefaults,{width:(pp.length?parseInt(pp[0].style.width)||pp.outerWidth():"auto"),height:(pp.length?parseInt(pp[0].style.height)||pp.outerHeight():"auto"),doSize:false,collapsible:true,cls:("layout-panel layout-panel-"+dir),bodyCls:"layout-body",onOpen:function(){ var _1c=$(this).panel("header").children("div.panel-tool"); _1c.children("a.panel-tool-collapse").hide(); var _1d={north:"up",south:"down",east:"right",west:"left"}; if(!_1d[dir]){ return; } var _1e="layout-button-"+_1d[dir]; var t=_1c.children("a."+_1e); if(!t.length){ t=$("").addClass(_1e).appendTo(_1c); t.bind("click",{dir:dir},function(e){ _2b(_18,e.data.dir); return false; }); } $(this).panel("options").collapsible?t.show():t.hide(); }},_19); pp.panel(_1b); _1a[dir]=pp; if(pp.panel("options").split){ var _1f=pp.panel("panel"); _1f.addClass("layout-split-"+dir); var _20=""; if(dir=="north"){ _20="s"; } if(dir=="south"){ _20="n"; } if(dir=="east"){ _20="w"; } if(dir=="west"){ _20="e"; } _1f.resizable($.extend({},{handles:_20,onStartResize:function(e){ _1=true; if(dir=="north"||dir=="south"){ var _21=$(">div.layout-split-proxy-v",_18); }else{ var _21=$(">div.layout-split-proxy-h",_18); } var top=0,_22=0,_23=0,_24=0; var pos={display:"block"}; if(dir=="north"){ pos.top=parseInt(_1f.css("top"))+_1f.outerHeight()-_21.height(); pos.left=parseInt(_1f.css("left")); pos.width=_1f.outerWidth(); pos.height=_21.height(); }else{ if(dir=="south"){ pos.top=parseInt(_1f.css("top")); pos.left=parseInt(_1f.css("left")); pos.width=_1f.outerWidth(); pos.height=_21.height(); }else{ if(dir=="east"){ pos.top=parseInt(_1f.css("top"))||0; pos.left=parseInt(_1f.css("left"))||0; pos.width=_21.width(); pos.height=_1f.outerHeight(); }else{ if(dir=="west"){ pos.top=parseInt(_1f.css("top"))||0; pos.left=_1f.outerWidth()-_21.width(); pos.width=_21.width(); pos.height=_1f.outerHeight(); } } } } _21.css(pos); $("
                                                ").css({left:0,top:0,width:cc.width(),height:cc.height()}).appendTo(cc); },onResize:function(e){ if(dir=="north"||dir=="south"){ var _25=$(">div.layout-split-proxy-v",_18); _25.css("top",e.pageY-$(_18).offset().top-_25.height()/2); }else{ var _25=$(">div.layout-split-proxy-h",_18); _25.css("left",e.pageX-$(_18).offset().left-_25.width()/2); } return false; },onStopResize:function(e){ cc.children("div.layout-split-proxy-v,div.layout-split-proxy-h").hide(); pp.panel("resize",e.data); _2(_18); _1=false; cc.find(">div.layout-mask").remove(); }},_19)); } }; function _26(_27,_28){ var _29=$.data(_27,"layout").panels; if(_29[_28].length){ _29[_28].panel("destroy"); _29[_28]=$(); var _2a="expand"+_28.substring(0,1).toUpperCase()+_28.substring(1); if(_29[_2a]){ _29[_2a].panel("destroy"); _29[_2a]=undefined; } } }; function _2b(_2c,_2d,_2e){ if(_2e==undefined){ _2e="normal"; } var _2f=$.data(_2c,"layout").panels; var p=_2f[_2d]; var _30=p.panel("options"); if(_30.onBeforeCollapse.call(p)==false){ return; } var _31="expand"+_2d.substring(0,1).toUpperCase()+_2d.substring(1); if(!_2f[_31]){ _2f[_31]=_32(_2d); _2f[_31].panel("panel").bind("click",function(){ p.panel("expand",false).panel("open"); var _33=_34(); p.panel("resize",_33.collapse); p.panel("panel").animate(_33.expand,function(){ $(this).unbind(".layout").bind("mouseleave.layout",{region:_2d},function(e){ if(_1==true){ return; } if($("body>div.combo-p>div.combo-panel:visible").length){ return; } _2b(_2c,e.data.region); }); }); return false; }); } var _35=_34(); if(!_a(_2f[_31])){ _2f.center.panel("resize",_35.resizeC); } p.panel("panel").animate(_35.collapse,_2e,function(){ p.panel("collapse",false).panel("close"); _2f[_31].panel("open").panel("resize",_35.expandP); $(this).unbind(".layout"); }); function _32(dir){ var _36; if(dir=="east"){ _36="layout-button-left"; }else{ if(dir=="west"){ _36="layout-button-right"; }else{ if(dir=="north"){ _36="layout-button-down"; }else{ if(dir=="south"){ _36="layout-button-up"; } } } } var p=$("
                                                ").appendTo(_2c); p.panel($.extend({},$.fn.layout.paneldefaults,{cls:("layout-expand layout-expand-"+dir),title:" ",closed:true,minWidth:0,minHeight:0,doSize:false,tools:[{iconCls:_36,handler:function(){ _3c(_2c,_2d); return false; }}]})); p.panel("panel").hover(function(){ $(this).addClass("layout-expand-over"); },function(){ $(this).removeClass("layout-expand-over"); }); return p; }; function _34(){ var cc=$(_2c); var _37=_2f.center.panel("options"); var _38=_30.collapsedSize; if(_2d=="east"){ var _39=p.panel("panel")._outerWidth(); var _3a=_37.width+_39-_38; if(_30.split||!_30.border){ _3a++; } return {resizeC:{width:_3a},expand:{left:cc.width()-_39},expandP:{top:_37.top,left:cc.width()-_38,width:_38,height:_37.height},collapse:{left:cc.width(),top:_37.top,height:_37.height}}; }else{ if(_2d=="west"){ var _39=p.panel("panel")._outerWidth(); var _3a=_37.width+_39-_38; if(_30.split||!_30.border){ _3a++; } return {resizeC:{width:_3a,left:_38-1},expand:{left:0},expandP:{left:0,top:_37.top,width:_38,height:_37.height},collapse:{left:-_39,top:_37.top,height:_37.height}}; }else{ if(_2d=="north"){ var _3b=p.panel("panel")._outerHeight(); var hh=_37.height; if(!_a(_2f.expandNorth)){ hh+=_3b-_38+((_30.split||!_30.border)?1:0); } _2f.east.add(_2f.west).add(_2f.expandEast).add(_2f.expandWest).panel("resize",{top:_38-1,height:hh}); return {resizeC:{top:_38-1,height:hh},expand:{top:0},expandP:{top:0,left:0,width:cc.width(),height:_38},collapse:{top:-_3b,width:cc.width()}}; }else{ if(_2d=="south"){ var _3b=p.panel("panel")._outerHeight(); var hh=_37.height; if(!_a(_2f.expandSouth)){ hh+=_3b-_38+((_30.split||!_30.border)?1:0); } _2f.east.add(_2f.west).add(_2f.expandEast).add(_2f.expandWest).panel("resize",{height:hh}); return {resizeC:{height:hh},expand:{top:cc.height()-_3b},expandP:{top:cc.height()-_38,left:0,width:cc.width(),height:_38},collapse:{top:cc.height(),width:cc.width()}}; } } } } }; }; function _3c(_3d,_3e){ var _3f=$.data(_3d,"layout").panels; var p=_3f[_3e]; var _40=p.panel("options"); if(_40.onBeforeExpand.call(p)==false){ return; } var _41="expand"+_3e.substring(0,1).toUpperCase()+_3e.substring(1); if(_3f[_41]){ _3f[_41].panel("close"); p.panel("panel").stop(true,true); p.panel("expand",false).panel("open"); var _42=_43(); p.panel("resize",_42.collapse); p.panel("panel").animate(_42.expand,function(){ _2(_3d); }); } function _43(){ var cc=$(_3d); var _44=_3f.center.panel("options"); if(_3e=="east"&&_3f.expandEast){ return {collapse:{left:cc.width(),top:_44.top,height:_44.height},expand:{left:cc.width()-p.panel("panel")._outerWidth()}}; }else{ if(_3e=="west"&&_3f.expandWest){ return {collapse:{left:-p.panel("panel")._outerWidth(),top:_44.top,height:_44.height},expand:{left:0}}; }else{ if(_3e=="north"&&_3f.expandNorth){ return {collapse:{top:-p.panel("panel")._outerHeight(),width:cc.width()},expand:{top:0}}; }else{ if(_3e=="south"&&_3f.expandSouth){ return {collapse:{top:cc.height(),width:cc.width()},expand:{top:cc.height()-p.panel("panel")._outerHeight()}}; } } } } }; }; function _a(pp){ if(!pp){ return false; } if(pp.length){ return pp.panel("panel").is(":visible"); }else{ return false; } }; function _45(_46){ var _47=$.data(_46,"layout").panels; if(_47.east.length&&_47.east.panel("options").collapsed){ _2b(_46,"east",0); } if(_47.west.length&&_47.west.panel("options").collapsed){ _2b(_46,"west",0); } if(_47.north.length&&_47.north.panel("options").collapsed){ _2b(_46,"north",0); } if(_47.south.length&&_47.south.panel("options").collapsed){ _2b(_46,"south",0); } }; $.fn.layout=function(_48,_49){ if(typeof _48=="string"){ return $.fn.layout.methods[_48](this,_49); } _48=_48||{}; return this.each(function(){ var _4a=$.data(this,"layout"); if(_4a){ $.extend(_4a.options,_48); }else{ var _4b=$.extend({},$.fn.layout.defaults,$.fn.layout.parseOptions(this),_48); $.data(this,"layout",{options:_4b,panels:{center:$(),north:$(),south:$(),east:$(),west:$()}}); _12(this); } _2(this); _45(this); }); }; $.fn.layout.methods={options:function(jq){ return $.data(jq[0],"layout").options; },resize:function(jq,_4c){ return jq.each(function(){ _2(this,_4c); }); },panel:function(jq,_4d){ return $.data(jq[0],"layout").panels[_4d]; },collapse:function(jq,_4e){ return jq.each(function(){ _2b(this,_4e); }); },expand:function(jq,_4f){ return jq.each(function(){ _3c(this,_4f); }); },add:function(jq,_50){ return jq.each(function(){ _17(this,_50); _2(this); if($(this).layout("panel",_50.region).panel("options").collapsed){ _2b(this,_50.region,0); } }); },remove:function(jq,_51){ return jq.each(function(){ _26(this,_51); _2(this); }); }}; $.fn.layout.parseOptions=function(_52){ return $.extend({},$.parser.parseOptions(_52,[{fit:"boolean"}])); }; $.fn.layout.defaults={fit:false}; $.fn.layout.parsePanelOptions=function(_53){ var t=$(_53); return $.extend({},$.fn.panel.parseOptions(_53),$.parser.parseOptions(_53,["region",{split:"boolean",collpasedSize:"number",minWidth:"number",minHeight:"number",maxWidth:"number",maxHeight:"number"}])); }; $.fn.layout.paneldefaults=$.extend({},$.fn.panel.defaults,{region:null,split:false,collapsedSize:28,minWidth:10,minHeight:10,maxWidth:10000,maxHeight:10000}); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.linkbutton.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2,_3){ var _4=$.data(_2,"linkbutton").options; if(_3){ $.extend(_4,_3); } if(_4.width||_4.height||_4.fit){ var _5=$(_2); var _6=_5.parent(); var _7=_5.is(":visible"); if(!_7){ var _8=$("
                                                ").insertBefore(_2); var _9={position:_5.css("position"),display:_5.css("display"),left:_5.css("left")}; _5.appendTo("body"); _5.css({position:"absolute",display:"inline-block",left:-20000}); } _5._size(_4,_6); var _a=_5.find(".l-btn-left"); _a.css("margin-top",0); _a.css("margin-top",parseInt((_5.height()-_a.height())/2)+"px"); if(!_7){ _5.insertAfter(_8); _5.css(_9); _8.remove(); } } }; function _b(_c){ var _d=$.data(_c,"linkbutton").options; var t=$(_c).empty(); t.addClass("l-btn").removeClass("l-btn-plain l-btn-selected l-btn-plain-selected"); t.removeClass("l-btn-small l-btn-medium l-btn-large").addClass("l-btn-"+_d.size); if(_d.plain){ t.addClass("l-btn-plain"); } if(_d.selected){ t.addClass(_d.plain?"l-btn-selected l-btn-plain-selected":"l-btn-selected"); } t.attr("group",_d.group||""); t.attr("id",_d.id||""); var _e=$("").appendTo(t); if(_d.text){ $("").html(_d.text).appendTo(_e); }else{ $(" ").appendTo(_e); } if(_d.iconCls){ $(" ").addClass(_d.iconCls).appendTo(_e); _e.addClass("l-btn-icon-"+_d.iconAlign); } t.unbind(".linkbutton").bind("focus.linkbutton",function(){ if(!_d.disabled){ $(this).addClass("l-btn-focus"); } }).bind("blur.linkbutton",function(){ $(this).removeClass("l-btn-focus"); }).bind("click.linkbutton",function(){ if(!_d.disabled){ if(_d.toggle){ if(_d.selected){ $(this).linkbutton("unselect"); }else{ $(this).linkbutton("select"); } } _d.onClick.call(this); } }); _f(_c,_d.selected); _10(_c,_d.disabled); }; function _f(_11,_12){ var _13=$.data(_11,"linkbutton").options; if(_12){ if(_13.group){ $("a.l-btn[group=\""+_13.group+"\"]").each(function(){ var o=$(this).linkbutton("options"); if(o.toggle){ $(this).removeClass("l-btn-selected l-btn-plain-selected"); o.selected=false; } }); } $(_11).addClass(_13.plain?"l-btn-selected l-btn-plain-selected":"l-btn-selected"); _13.selected=true; }else{ if(!_13.group){ $(_11).removeClass("l-btn-selected l-btn-plain-selected"); _13.selected=false; } } }; function _10(_14,_15){ var _16=$.data(_14,"linkbutton"); var _17=_16.options; $(_14).removeClass("l-btn-disabled l-btn-plain-disabled"); if(_15){ _17.disabled=true; var _18=$(_14).attr("href"); if(_18){ _16.href=_18; $(_14).attr("href","javascript:void(0)"); } if(_14.onclick){ _16.onclick=_14.onclick; _14.onclick=null; } _17.plain?$(_14).addClass("l-btn-disabled l-btn-plain-disabled"):$(_14).addClass("l-btn-disabled"); }else{ _17.disabled=false; if(_16.href){ $(_14).attr("href",_16.href); } if(_16.onclick){ _14.onclick=_16.onclick; } } }; $.fn.linkbutton=function(_19,_1a){ if(typeof _19=="string"){ return $.fn.linkbutton.methods[_19](this,_1a); } _19=_19||{}; return this.each(function(){ var _1b=$.data(this,"linkbutton"); if(_1b){ $.extend(_1b.options,_19); }else{ $.data(this,"linkbutton",{options:$.extend({},$.fn.linkbutton.defaults,$.fn.linkbutton.parseOptions(this),_19)}); $(this).removeAttr("disabled"); $(this).bind("_resize",function(e,_1c){ if($(this).hasClass("easyui-fluid")||_1c){ _1(this); } return false; }); } _b(this); _1(this); }); }; $.fn.linkbutton.methods={options:function(jq){ return $.data(jq[0],"linkbutton").options; },resize:function(jq,_1d){ return jq.each(function(){ _1(this,_1d); }); },enable:function(jq){ return jq.each(function(){ _10(this,false); }); },disable:function(jq){ return jq.each(function(){ _10(this,true); }); },select:function(jq){ return jq.each(function(){ _f(this,true); }); },unselect:function(jq){ return jq.each(function(){ _f(this,false); }); }}; $.fn.linkbutton.parseOptions=function(_1e){ var t=$(_1e); return $.extend({},$.parser.parseOptions(_1e,["id","iconCls","iconAlign","group","size",{plain:"boolean",toggle:"boolean",selected:"boolean"}]),{disabled:(t.attr("disabled")?true:undefined),text:$.trim(t.html()),iconCls:(t.attr("icon")||t.attr("iconCls"))}); }; $.fn.linkbutton.defaults={id:null,disabled:false,toggle:false,selected:false,group:null,plain:false,text:"",iconCls:null,iconAlign:"left",size:"small",onClick:function(){ }}; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.menu.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ $(_2).appendTo("body"); $(_2).addClass("menu-top"); $(document).unbind(".menu").bind("mousedown.menu",function(e){ var m=$(e.target).closest("div.menu,div.combo-p"); if(m.length){ return; } $("body>div.menu-top:visible").menu("hide"); }); var _3=_4($(_2)); for(var i=0;i<_3.length;i++){ _5(_3[i]); } function _4(_6){ var _7=[]; _6.addClass("menu"); _7.push(_6); if(!_6.hasClass("menu-content")){ _6.children("div").each(function(){ var _8=$(this).children("div"); if(_8.length){ _8.insertAfter(_2); this.submenu=_8; var mm=_4(_8); _7=_7.concat(mm); } }); } return _7; }; function _5(_9){ var wh=$.parser.parseOptions(_9[0],["width","height"]); _9[0].originalHeight=wh.height||0; if(_9.hasClass("menu-content")){ _9[0].originalWidth=wh.width||_9._outerWidth(); }else{ _9[0].originalWidth=wh.width||0; _9.children("div").each(function(){ var _a=$(this); var _b=$.extend({},$.parser.parseOptions(this,["name","iconCls","href",{separator:"boolean"}]),{disabled:(_a.attr("disabled")?true:undefined)}); if(_b.separator){ _a.addClass("menu-sep"); } if(!_a.hasClass("menu-sep")){ _a[0].itemName=_b.name||""; _a[0].itemHref=_b.href||""; var _c=_a.addClass("menu-item").html(); _a.empty().append($("
                                                ").html(_c)); if(_b.iconCls){ $("
                                                ").addClass(_b.iconCls).appendTo(_a); } if(_b.disabled){ _d(_2,_a[0],true); } if(_a[0].submenu){ $("
                                                ").appendTo(_a); } _e(_2,_a); } }); $("
                                                ").prependTo(_9); } _f(_2,_9); _9.hide(); _10(_2,_9); }; }; function _f(_11,_12){ var _13=$.data(_11,"menu").options; var _14=_12.attr("style")||""; _12.css({display:"block",left:-10000,height:"auto",overflow:"hidden"}); var el=_12[0]; var _15=el.originalWidth||0; if(!_15){ _15=0; _12.find("div.menu-text").each(function(){ if(_15<$(this)._outerWidth()){ _15=$(this)._outerWidth(); } $(this).closest("div.menu-item")._outerHeight($(this)._outerHeight()+2); }); _15+=40; } _15=Math.max(_15,_13.minWidth); var _16=el.originalHeight||0; if(!_16){ _16=_12.outerHeight(); if(_12.hasClass("menu-top")&&_13.alignTo){ var at=$(_13.alignTo); var h1=at.offset().top-$(document).scrollTop(); var h2=$(window)._outerHeight()+$(document).scrollTop()-at.offset().top-at._outerHeight(); _16=Math.min(_16,Math.max(h1,h2)); }else{ if(_16>$(window)._outerHeight()){ _16=$(window).height(); _14+=";overflow:auto"; }else{ _14+=";overflow:hidden"; } } } var _17=Math.max(el.originalHeight,_12.outerHeight())-2; _12._outerWidth(_15)._outerHeight(_16); _12.children("div.menu-line")._outerHeight(_17); _14+=";width:"+el.style.width+";height:"+el.style.height; _12.attr("style",_14); }; function _10(_18,_19){ var _1a=$.data(_18,"menu"); _19.unbind(".menu").bind("mouseenter.menu",function(){ if(_1a.timer){ clearTimeout(_1a.timer); _1a.timer=null; } }).bind("mouseleave.menu",function(){ if(_1a.options.hideOnUnhover){ _1a.timer=setTimeout(function(){ _1b(_18); },_1a.options.duration); } }); }; function _e(_1c,_1d){ if(!_1d.hasClass("menu-item")){ return; } _1d.unbind(".menu"); _1d.bind("click.menu",function(){ if($(this).hasClass("menu-item-disabled")){ return; } if(!this.submenu){ _1b(_1c); var _1e=this.itemHref; if(_1e){ location.href=_1e; } } var _1f=$(_1c).menu("getItem",this); $.data(_1c,"menu").options.onClick.call(_1c,_1f); }).bind("mouseenter.menu",function(e){ _1d.siblings().each(function(){ if(this.submenu){ _22(this.submenu); } $(this).removeClass("menu-active"); }); _1d.addClass("menu-active"); if($(this).hasClass("menu-item-disabled")){ _1d.addClass("menu-active-disabled"); return; } var _20=_1d[0].submenu; if(_20){ $(_1c).menu("show",{menu:_20,parent:_1d}); } }).bind("mouseleave.menu",function(e){ _1d.removeClass("menu-active menu-active-disabled"); var _21=_1d[0].submenu; if(_21){ if(e.pageX>=parseInt(_21.css("left"))){ _1d.addClass("menu-active"); }else{ _22(_21); } }else{ _1d.removeClass("menu-active"); } }); }; function _1b(_23){ var _24=$.data(_23,"menu"); if(_24){ if($(_23).is(":visible")){ _22($(_23)); _24.options.onHide.call(_23); } } return false; }; function _25(_26,_27){ var _28,top; _27=_27||{}; var _29=$(_27.menu||_26); $(_26).menu("resize",_29[0]); if(_29.hasClass("menu-top")){ var _2a=$.data(_26,"menu").options; $.extend(_2a,_27); _28=_2a.left; top=_2a.top; if(_2a.alignTo){ var at=$(_2a.alignTo); _28=at.offset().left; top=at.offset().top+at._outerHeight(); if(_2a.align=="right"){ _28+=at.outerWidth()-_29.outerWidth(); } } if(_28+_29.outerWidth()>$(window)._outerWidth()+$(document)._scrollLeft()){ _28=$(window)._outerWidth()+$(document).scrollLeft()-_29.outerWidth()-5; } if(_28<0){ _28=0; } top=_2b(top,_2a.alignTo); }else{ var _2c=_27.parent; _28=_2c.offset().left+_2c.outerWidth()-2; if(_28+_29.outerWidth()+5>$(window)._outerWidth()+$(document).scrollLeft()){ _28=_2c.offset().left-_29.outerWidth()+2; } top=_2b(_2c.offset().top-3); } function _2b(top,_2d){ if(top+_29.outerHeight()>$(window)._outerHeight()+$(document).scrollTop()){ if(_2d){ top=$(_2d).offset().top-_29._outerHeight(); }else{ top=$(window)._outerHeight()+$(document).scrollTop()-_29.outerHeight(); } } if(top<0){ top=0; } return top; }; _29.css({left:_28,top:top}); _29.show(0,function(){ if(!_29[0].shadow){ _29[0].shadow=$("
                                                ").insertAfter(_29); } _29[0].shadow.css({display:"block",zIndex:$.fn.menu.defaults.zIndex++,left:_29.css("left"),top:_29.css("top"),width:_29.outerWidth(),height:_29.outerHeight()}); _29.css("z-index",$.fn.menu.defaults.zIndex++); if(_29.hasClass("menu-top")){ $.data(_29[0],"menu").options.onShow.call(_29[0]); } }); }; function _22(_2e){ if(!_2e){ return; } _2f(_2e); _2e.find("div.menu-item").each(function(){ if(this.submenu){ _22(this.submenu); } $(this).removeClass("menu-active"); }); function _2f(m){ m.stop(true,true); if(m[0].shadow){ m[0].shadow.hide(); } m.hide(); }; }; function _30(_31,_32){ var _33=null; var tmp=$("
                                                "); function _34(_35){ _35.children("div.menu-item").each(function(){ var _36=$(_31).menu("getItem",this); var s=tmp.empty().html(_36.text).text(); if(_32==$.trim(s)){ _33=_36; }else{ if(this.submenu&&!_33){ _34(this.submenu); } } }); }; _34($(_31)); tmp.remove(); return _33; }; function _d(_37,_38,_39){ var t=$(_38); if(!t.hasClass("menu-item")){ return; } if(_39){ t.addClass("menu-item-disabled"); if(_38.onclick){ _38.onclick1=_38.onclick; _38.onclick=null; } }else{ t.removeClass("menu-item-disabled"); if(_38.onclick1){ _38.onclick=_38.onclick1; _38.onclick1=null; } } }; function _3a(_3b,_3c){ var _3d=$(_3b); if(_3c.parent){ if(!_3c.parent.submenu){ var _3e=$("
                                                ").appendTo("body"); _3e.hide(); _3c.parent.submenu=_3e; $("
                                                ").appendTo(_3c.parent); } _3d=_3c.parent.submenu; } if(_3c.separator){ var _3f=$("
                                                ").appendTo(_3d); }else{ var _3f=$("
                                                ").appendTo(_3d); $("
                                                ").html(_3c.text).appendTo(_3f); } if(_3c.iconCls){ $("
                                                ").addClass(_3c.iconCls).appendTo(_3f); } if(_3c.id){ _3f.attr("id",_3c.id); } if(_3c.name){ _3f[0].itemName=_3c.name; } if(_3c.href){ _3f[0].itemHref=_3c.href; } if(_3c.onclick){ if(typeof _3c.onclick=="string"){ _3f.attr("onclick",_3c.onclick); }else{ _3f[0].onclick=eval(_3c.onclick); } } if(_3c.handler){ _3f[0].onclick=eval(_3c.handler); } if(_3c.disabled){ _d(_3b,_3f[0],true); } _e(_3b,_3f); _10(_3b,_3d); _f(_3b,_3d); }; function _40(_41,_42){ function _43(el){ if(el.submenu){ el.submenu.children("div.menu-item").each(function(){ _43(this); }); var _44=el.submenu[0].shadow; if(_44){ _44.remove(); } el.submenu.remove(); } $(el).remove(); }; var _45=$(_42).parent(); _43(_42); _f(_41,_45); }; function _46(_47,_48,_49){ var _4a=$(_48).parent(); if(_49){ $(_48).show(); }else{ $(_48).hide(); } _f(_47,_4a); }; function _4b(_4c){ $(_4c).children("div.menu-item").each(function(){ _40(_4c,this); }); if(_4c.shadow){ _4c.shadow.remove(); } $(_4c).remove(); }; $.fn.menu=function(_4d,_4e){ if(typeof _4d=="string"){ return $.fn.menu.methods[_4d](this,_4e); } _4d=_4d||{}; return this.each(function(){ var _4f=$.data(this,"menu"); if(_4f){ $.extend(_4f.options,_4d); }else{ _4f=$.data(this,"menu",{options:$.extend({},$.fn.menu.defaults,$.fn.menu.parseOptions(this),_4d)}); _1(this); } $(this).css({left:_4f.options.left,top:_4f.options.top}); }); }; $.fn.menu.methods={options:function(jq){ return $.data(jq[0],"menu").options; },show:function(jq,pos){ return jq.each(function(){ _25(this,pos); }); },hide:function(jq){ return jq.each(function(){ _1b(this); }); },destroy:function(jq){ return jq.each(function(){ _4b(this); }); },setText:function(jq,_50){ return jq.each(function(){ $(_50.target).children("div.menu-text").html(_50.text); }); },setIcon:function(jq,_51){ return jq.each(function(){ $(_51.target).children("div.menu-icon").remove(); if(_51.iconCls){ $("
                                                ").addClass(_51.iconCls).appendTo(_51.target); } }); },getItem:function(jq,_52){ var t=$(_52); var _53={target:_52,id:t.attr("id"),text:$.trim(t.children("div.menu-text").html()),disabled:t.hasClass("menu-item-disabled"),name:_52.itemName,href:_52.itemHref,onclick:_52.onclick}; var _54=t.children("div.menu-icon"); if(_54.length){ var cc=[]; var aa=_54.attr("class").split(" "); for(var i=0;i").addClass(_3.cls.arrow).appendTo(_5); $("").addClass("m-btn-line").appendTo(_5); if(_3.menu){ $(_3.menu).menu({duration:_3.duration}); var _6=$(_3.menu).menu("options"); var _7=_6.onShow; var _8=_6.onHide; $.extend(_6,{onShow:function(){ var _9=$(this).menu("options"); var _a=$(_9.alignTo); var _b=_a.menubutton("options"); _a.addClass((_b.plain==true)?_b.cls.btn2:_b.cls.btn1); _7.call(this); },onHide:function(){ var _c=$(this).menu("options"); var _d=$(_c.alignTo); var _e=_d.menubutton("options"); _d.removeClass((_e.plain==true)?_e.cls.btn2:_e.cls.btn1); _8.call(this); }}); } }; function _f(_10){ var _11=$.data(_10,"menubutton").options; var btn=$(_10); var t=btn.find("."+_11.cls.trigger); if(!t.length){ t=btn; } t.unbind(".menubutton"); var _12=null; t.bind("click.menubutton",function(){ if(!_13()){ _14(_10); return false; } }).bind("mouseenter.menubutton",function(){ if(!_13()){ _12=setTimeout(function(){ _14(_10); },_11.duration); return false; } }).bind("mouseleave.menubutton",function(){ if(_12){ clearTimeout(_12); } $(_11.menu).triggerHandler("mouseleave"); }); function _13(){ return $(_10).linkbutton("options").disabled; }; }; function _14(_15){ var _16=$(_15).menubutton("options"); if(_16.disabled||!_16.menu){ return; } $("body>div.menu-top").menu("hide"); var btn=$(_15); var mm=$(_16.menu); if(mm.length){ mm.menu("options").alignTo=btn; mm.menu("show",{alignTo:btn,align:_16.menuAlign}); } btn.blur(); }; $.fn.menubutton=function(_17,_18){ if(typeof _17=="string"){ var _19=$.fn.menubutton.methods[_17]; if(_19){ return _19(this,_18); }else{ return this.linkbutton(_17,_18); } } _17=_17||{}; return this.each(function(){ var _1a=$.data(this,"menubutton"); if(_1a){ $.extend(_1a.options,_17); }else{ $.data(this,"menubutton",{options:$.extend({},$.fn.menubutton.defaults,$.fn.menubutton.parseOptions(this),_17)}); $(this).removeAttr("disabled"); } _1(this); _f(this); }); }; $.fn.menubutton.methods={options:function(jq){ var _1b=jq.linkbutton("options"); return $.extend($.data(jq[0],"menubutton").options,{toggle:_1b.toggle,selected:_1b.selected,disabled:_1b.disabled}); },destroy:function(jq){ return jq.each(function(){ var _1c=$(this).menubutton("options"); if(_1c.menu){ $(_1c.menu).menu("destroy"); } $(this).remove(); }); }}; $.fn.menubutton.parseOptions=function(_1d){ var t=$(_1d); return $.extend({},$.fn.linkbutton.parseOptions(_1d),$.parser.parseOptions(_1d,["menu",{plain:"boolean",duration:"number"}])); }; $.fn.menubutton.defaults=$.extend({},$.fn.linkbutton.defaults,{plain:true,menu:null,menuAlign:"left",duration:100,cls:{btn1:"m-btn-active",btn2:"m-btn-plain-active",arrow:"m-btn-downarrow",trigger:"m-btn"}}); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.messager.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(el,_2,_3,_4){ var _5=$(el).window("window"); if(!_5){ return; } switch(_2){ case null: _5.show(); break; case "slide": _5.slideDown(_3); break; case "fade": _5.fadeIn(_3); break; case "show": _5.show(_3); break; } var _6=null; if(_4>0){ _6=setTimeout(function(){ _7(el,_2,_3); },_4); } _5.hover(function(){ if(_6){ clearTimeout(_6); } },function(){ if(_4>0){ _6=setTimeout(function(){ _7(el,_2,_3); },_4); } }); }; function _7(el,_8,_9){ if(el.locked==true){ return; } el.locked=true; var _a=$(el).window("window"); if(!_a){ return; } switch(_8){ case null: _a.hide(); break; case "slide": _a.slideUp(_9); break; case "fade": _a.fadeOut(_9); break; case "show": _a.hide(_9); break; } setTimeout(function(){ $(el).window("destroy"); },_9); }; function _b(_c){ var _d=$.extend({},$.fn.window.defaults,{collapsible:false,minimizable:false,maximizable:false,shadow:false,draggable:false,resizable:false,closed:true,style:{left:"",top:"",right:0,zIndex:$.fn.window.defaults.zIndex++,bottom:-document.body.scrollTop-document.documentElement.scrollTop},onBeforeOpen:function(){ _1(this,_d.showType,_d.showSpeed,_d.timeout); return false; },onBeforeClose:function(){ _7(this,_d.showType,_d.showSpeed); return false; }},{title:"",width:250,height:100,showType:"slide",showSpeed:600,msg:"",timeout:4000},_c); _d.style.zIndex=$.fn.window.defaults.zIndex++; var _e=$("
                                                ").html(_d.msg).appendTo("body"); _e.window(_d); _e.window("window").css(_d.style); _e.window("open"); return _e; }; function _f(_10,_11,_12){ var win=$("
                                                ").appendTo("body"); win.append(_11); if(_12){ var tb=$("
                                                ").appendTo(win); for(var _13 in _12){ $("").attr("href","javascript:void(0)").text(_13).css("margin-left",10).bind("click",eval(_12[_13])).appendTo(tb).linkbutton(); } } win.window({title:_10,noheader:(_10?false:true),width:300,height:"auto",modal:true,collapsible:false,minimizable:false,maximizable:false,resizable:false,onClose:function(){ setTimeout(function(){ win.window("destroy"); },100); }}); win.window("window").addClass("messager-window"); win.children("div.messager-button").children("a:first").focus(); return win; }; $.messager={show:function(_14){ return _b(_14); },alert:function(_15,msg,_16,fn){ var _17="
                                                "+msg+"
                                                "; switch(_16){ case "error": _17="
                                                "+_17; break; case "info": _17="
                                                "+_17; break; case "question": _17="
                                                "+_17; break; case "warning": _17="
                                                "+_17; break; } _17+="
                                                "; var _18={}; _18[$.messager.defaults.ok]=function(){ win.window("close"); if(fn){ fn(); return false; } }; var win=_f(_15,_17,_18); return win; },confirm:function(_19,msg,fn){ var _1a="
                                                "+"
                                                "+msg+"
                                                "+"
                                                "; var _1b={}; _1b[$.messager.defaults.ok]=function(){ win.window("close"); if(fn){ fn(true); return false; } }; _1b[$.messager.defaults.cancel]=function(){ win.window("close"); if(fn){ fn(false); return false; } }; var win=_f(_19,_1a,_1b); return win; },prompt:function(_1c,msg,fn){ var _1d="
                                                "+"
                                                "+msg+"
                                                "+"
                                                "+"
                                                "+"
                                                "; var _1e={}; _1e[$.messager.defaults.ok]=function(){ win.window("close"); if(fn){ fn($(".messager-input",win).val()); return false; } }; _1e[$.messager.defaults.cancel]=function(){ win.window("close"); if(fn){ fn(); return false; } }; var win=_f(_1c,_1d,_1e); win.children("input.messager-input").focus(); return win; },progress:function(_1f){ var _20={bar:function(){ return $("body>div.messager-window").find("div.messager-p-bar"); },close:function(){ var win=$("body>div.messager-window>div.messager-body:has(div.messager-progress)"); if(win.length){ win.window("close"); } }}; if(typeof _1f=="string"){ var _21=_20[_1f]; return _21(); } var _22=$.extend({title:"",msg:"",text:undefined,interval:300},_1f||{}); var _23="
                                                "; var win=_f(_22.title,_23,null); win.find("div.messager-p-msg").html(_22.msg); var bar=win.find("div.messager-p-bar"); bar.progressbar({text:_22.text}); win.window({closable:false,onClose:function(){ if(this.timer){ clearInterval(this.timer); } $(this).window("destroy"); }}); if(_22.interval){ win[0].timer=setInterval(function(){ var v=bar.progressbar("getValue"); v+=10; if(v>100){ v=0; } bar.progressbar("setValue",v); },_22.interval); } return win; }}; $.messager.defaults={ok:"Ok",cancel:"Cancel"}; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.numberbox.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ var _3=$.data(_2,"numberbox"); var _4=_3.options; $(_2).addClass("numberbox-f").textbox(_4); $(_2).textbox("textbox").css({imeMode:"disabled"}); $(_2).attr("numberboxName",$(_2).attr("textboxName")); _3.numberbox=$(_2).next(); _3.numberbox.addClass("numberbox"); var _5=_4.parser.call(_2,_4.value); var _6=_4.formatter.call(_2,_5); $(_2).numberbox("initValue",_5).numberbox("setText",_6); }; function _7(_8,_9){ var _a=$.data(_8,"numberbox"); var _b=_a.options; var _9=_b.parser.call(_8,_9); var _c=_b.formatter.call(_8,_9); _b.value=_9; $(_8).textbox("setValue",_9).textbox("setText",_c); }; $.fn.numberbox=function(_d,_e){ if(typeof _d=="string"){ var _f=$.fn.numberbox.methods[_d]; if(_f){ return _f(this,_e); }else{ return this.textbox(_d,_e); } } _d=_d||{}; return this.each(function(){ var _10=$.data(this,"numberbox"); if(_10){ $.extend(_10.options,_d); }else{ _10=$.data(this,"numberbox",{options:$.extend({},$.fn.numberbox.defaults,$.fn.numberbox.parseOptions(this),_d)}); } _1(this); }); }; $.fn.numberbox.methods={options:function(jq){ var _11=jq.data("textbox")?jq.textbox("options"):{}; return $.extend($.data(jq[0],"numberbox").options,{width:_11.width,originalValue:_11.originalValue,disabled:_11.disabled,readonly:_11.readonly}); },fix:function(jq){ return jq.each(function(){ $(this).numberbox("setValue",$(this).numberbox("getText")); }); },setValue:function(jq,_12){ return jq.each(function(){ _7(this,_12); }); },clear:function(jq){ return jq.each(function(){ $(this).textbox("clear"); $(this).numberbox("options").value=""; }); },reset:function(jq){ return jq.each(function(){ $(this).textbox("reset"); $(this).numberbox("setValue",$(this).numberbox("getValue")); }); }}; $.fn.numberbox.parseOptions=function(_13){ var t=$(_13); return $.extend({},$.fn.textbox.parseOptions(_13),$.parser.parseOptions(_13,["decimalSeparator","groupSeparator","suffix",{min:"number",max:"number",precision:"number"}]),{prefix:(t.attr("prefix")?t.attr("prefix"):undefined)}); }; $.fn.numberbox.defaults=$.extend({},$.fn.textbox.defaults,{inputEvents:{keypress:function(e){ var _14=e.data.target; var _15=$(_14).numberbox("options"); return _15.filter.call(_14,e); },blur:function(e){ var _16=e.data.target; $(_16).numberbox("setValue",$(_16).numberbox("getText")); },keydown:function(e){ if(e.keyCode==13){ var _17=e.data.target; $(_17).numberbox("setValue",$(_17).numberbox("getText")); } }},min:null,max:null,precision:0,decimalSeparator:".",groupSeparator:"",prefix:"",suffix:"",filter:function(e){ var _18=$(this).numberbox("options"); var s=$(this).numberbox("getText"); if(e.which==13){ return true; } if(e.which==45){ return (s.indexOf("-")==-1?true:false); } var c=String.fromCharCode(e.which); if(c==_18.decimalSeparator){ return (s.indexOf(c)==-1?true:false); }else{ if(c==_18.groupSeparator){ return true; }else{ if((e.which>=48&&e.which<=57&&e.ctrlKey==false&&e.shiftKey==false)||e.which==0||e.which==8){ return true; }else{ if(e.ctrlKey==true&&(e.which==99||e.which==118)){ return true; }else{ return false; } } } } },formatter:function(_19){ if(!_19){ return _19; } _19=_19+""; var _1a=$(this).numberbox("options"); var s1=_19,s2=""; var _1b=_19.indexOf("."); if(_1b>=0){ s1=_19.substring(0,_1b); s2=_19.substring(_1b+1,_19.length); } if(_1a.groupSeparator){ var p=/(\d+)(\d{3})/; while(p.test(s1)){ s1=s1.replace(p,"$1"+_1a.groupSeparator+"$2"); } } if(s2){ return _1a.prefix+s1+_1a.decimalSeparator+s2+_1a.suffix; }else{ return _1a.prefix+s1+_1a.suffix; } },parser:function(s){ s=s+""; var _1c=$(this).numberbox("options"); if(parseFloat(s)!=s){ if(_1c.prefix){ s=$.trim(s.replace(new RegExp("\\"+$.trim(_1c.prefix),"g"),"")); } if(_1c.suffix){ s=$.trim(s.replace(new RegExp("\\"+$.trim(_1c.suffix),"g"),"")); } if(_1c.groupSeparator){ s=$.trim(s.replace(new RegExp("\\"+_1c.groupSeparator,"g"),"")); } if(_1c.decimalSeparator){ s=$.trim(s.replace(new RegExp("\\"+_1c.decimalSeparator,"g"),".")); } s=s.replace(/\s/g,""); } var val=parseFloat(s).toFixed(_1c.precision); if(isNaN(val)){ val=""; }else{ if(typeof (_1c.min)=="number"&&val<_1c.min){ val=_1c.min.toFixed(_1c.precision); }else{ if(typeof (_1c.max)=="number"&&val>_1c.max){ val=_1c.max.toFixed(_1c.precision); } } } return val; }}); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.numberspinner.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ $(_2).addClass("numberspinner-f"); var _3=$.data(_2,"numberspinner").options; $(_2).numberbox(_3).spinner(_3); $(_2).numberbox("setValue",_3.value); }; function _4(_5,_6){ var _7=$.data(_5,"numberspinner").options; var v=parseFloat($(_5).numberbox("getValue")||_7.value)||0; if(_6){ v-=_7.increment; }else{ v+=_7.increment; } $(_5).numberbox("setValue",v); }; $.fn.numberspinner=function(_8,_9){ if(typeof _8=="string"){ var _a=$.fn.numberspinner.methods[_8]; if(_a){ return _a(this,_9); }else{ return this.numberbox(_8,_9); } } _8=_8||{}; return this.each(function(){ var _b=$.data(this,"numberspinner"); if(_b){ $.extend(_b.options,_8); }else{ $.data(this,"numberspinner",{options:$.extend({},$.fn.numberspinner.defaults,$.fn.numberspinner.parseOptions(this),_8)}); } _1(this); }); }; $.fn.numberspinner.methods={options:function(jq){ var _c=jq.numberbox("options"); return $.extend($.data(jq[0],"numberspinner").options,{width:_c.width,value:_c.value,originalValue:_c.originalValue,disabled:_c.disabled,readonly:_c.readonly}); }}; $.fn.numberspinner.parseOptions=function(_d){ return $.extend({},$.fn.spinner.parseOptions(_d),$.fn.numberbox.parseOptions(_d),{}); }; $.fn.numberspinner.defaults=$.extend({},$.fn.spinner.defaults,$.fn.numberbox.defaults,{spin:function(_e){ _4(this,_e); }}); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.pagination.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ var _3=$.data(_2,"pagination"); var _4=_3.options; var bb=_3.bb={}; var _5=$(_2).addClass("pagination").html("
                                                "); var tr=_5.find("tr"); var aa=$.extend([],_4.layout); if(!_4.showPageList){ _6(aa,"list"); } if(!_4.showRefresh){ _6(aa,"refresh"); } if(aa[0]=="sep"){ aa.shift(); } if(aa[aa.length-1]=="sep"){ aa.pop(); } for(var _7=0;_7"); ps.bind("change",function(){ _4.pageSize=parseInt($(this).val()); _4.onChangePageSize.call(_2,_4.pageSize); _10(_2,_4.pageNumber); }); for(var i=0;i<_4.pageList.length;i++){ $("").text(_4.pageList[i]).appendTo(ps); } $("").append(ps).appendTo(tr); }else{ if(_8=="sep"){ $("
                                                ").appendTo(tr); }else{ if(_8=="first"){ bb.first=_9("first"); }else{ if(_8=="prev"){ bb.prev=_9("prev"); }else{ if(_8=="next"){ bb.next=_9("next"); }else{ if(_8=="last"){ bb.last=_9("last"); }else{ if(_8=="manual"){ $("").html(_4.beforePageText).appendTo(tr).wrap(""); bb.num=$("").appendTo(tr).wrap(""); bb.num.unbind(".pagination").bind("keydown.pagination",function(e){ if(e.keyCode==13){ var _a=parseInt($(this).val())||1; _10(_2,_a); return false; } }); bb.after=$("").appendTo(tr).wrap(""); }else{ if(_8=="refresh"){ bb.refresh=_9("refresh"); }else{ if(_8=="links"){ $("").appendTo(tr); } } } } } } } } } } if(_4.buttons){ $("
                                                ").appendTo(tr); if($.isArray(_4.buttons)){ for(var i=0;i<_4.buttons.length;i++){ var _b=_4.buttons[i]; if(_b=="-"){ $("
                                                ").appendTo(tr); }else{ var td=$("").appendTo(tr); var a=$("").appendTo(td); a[0].onclick=eval(_b.handler||function(){ }); a.linkbutton($.extend({},_b,{plain:true})); } } }else{ var td=$("").appendTo(tr); $(_4.buttons).appendTo(td).show(); } } $("
                                                ").appendTo(_5); $("
                                                ").appendTo(_5); function _9(_c){ var _d=_4.nav[_c]; var a=$("").appendTo(tr); a.wrap(""); a.linkbutton({iconCls:_d.iconCls,plain:true}).unbind(".pagination").bind("click.pagination",function(){ _d.handler.call(_2); }); return a; }; function _6(aa,_e){ var _f=$.inArray(_e,aa); if(_f>=0){ aa.splice(_f,1); } return aa; }; }; function _10(_11,_12){ var _13=$.data(_11,"pagination").options; _14(_11,{pageNumber:_12}); _13.onSelectPage.call(_11,_13.pageNumber,_13.pageSize); }; function _14(_15,_16){ var _17=$.data(_15,"pagination"); var _18=_17.options; var bb=_17.bb; $.extend(_18,_16||{}); var ps=$(_15).find("select.pagination-page-list"); if(ps.length){ ps.val(_18.pageSize+""); _18.pageSize=parseInt(ps.val()); } var _19=Math.ceil(_18.total/_18.pageSize)||1; if(_18.pageNumber<1){ _18.pageNumber=1; } if(_18.pageNumber>_19){ _18.pageNumber=_19; } if(_18.total==0){ _18.pageNumber=0; _19=0; } if(bb.num){ bb.num.val(_18.pageNumber); } if(bb.after){ bb.after.html(_18.afterPageText.replace(/{pages}/,_19)); } var td=$(_15).find("td.pagination-links"); if(td.length){ td.empty(); var _1a=_18.pageNumber-Math.floor(_18.links/2); if(_1a<1){ _1a=1; } var _1b=_1a+_18.links-1; if(_1b>_19){ _1b=_19; } _1a=_1b-_18.links+1; if(_1a<1){ _1a=1; } for(var i=_1a;i<=_1b;i++){ var a=$("").appendTo(td); a.linkbutton({plain:true,text:i}); if(i==_18.pageNumber){ a.linkbutton("select"); }else{ a.unbind(".pagination").bind("click.pagination",{pageNumber:i},function(e){ _10(_15,e.data.pageNumber); }); } } } var _1c=_18.displayMsg; _1c=_1c.replace(/{from}/,_18.total==0?0:_18.pageSize*(_18.pageNumber-1)+1); _1c=_1c.replace(/{to}/,Math.min(_18.pageSize*(_18.pageNumber),_18.total)); _1c=_1c.replace(/{total}/,_18.total); $(_15).find("div.pagination-info").html(_1c); if(bb.first){ bb.first.linkbutton({disabled:((!_18.total)||_18.pageNumber==1)}); } if(bb.prev){ bb.prev.linkbutton({disabled:((!_18.total)||_18.pageNumber==1)}); } if(bb.next){ bb.next.linkbutton({disabled:(_18.pageNumber==_19)}); } if(bb.last){ bb.last.linkbutton({disabled:(_18.pageNumber==_19)}); } _1d(_15,_18.loading); }; function _1d(_1e,_1f){ var _20=$.data(_1e,"pagination"); var _21=_20.options; _21.loading=_1f; if(_21.showRefresh&&_20.bb.refresh){ _20.bb.refresh.linkbutton({iconCls:(_21.loading?"pagination-loading":"pagination-load")}); } }; $.fn.pagination=function(_22,_23){ if(typeof _22=="string"){ return $.fn.pagination.methods[_22](this,_23); } _22=_22||{}; return this.each(function(){ var _24; var _25=$.data(this,"pagination"); if(_25){ _24=$.extend(_25.options,_22); }else{ _24=$.extend({},$.fn.pagination.defaults,$.fn.pagination.parseOptions(this),_22); $.data(this,"pagination",{options:_24}); } _1(this); _14(this); }); }; $.fn.pagination.methods={options:function(jq){ return $.data(jq[0],"pagination").options; },loading:function(jq){ return jq.each(function(){ _1d(this,true); }); },loaded:function(jq){ return jq.each(function(){ _1d(this,false); }); },refresh:function(jq,_26){ return jq.each(function(){ _14(this,_26); }); },select:function(jq,_27){ return jq.each(function(){ _10(this,_27); }); }}; $.fn.pagination.parseOptions=function(_28){ var t=$(_28); return $.extend({},$.parser.parseOptions(_28,[{total:"number",pageSize:"number",pageNumber:"number",links:"number"},{loading:"boolean",showPageList:"boolean",showRefresh:"boolean"}]),{pageList:(t.attr("pageList")?eval(t.attr("pageList")):undefined)}); }; $.fn.pagination.defaults={total:1,pageSize:10,pageNumber:1,pageList:[10,20,30,50],loading:false,buttons:null,showPageList:true,showRefresh:true,links:10,layout:["list","sep","first","prev","sep","manual","sep","next","last","sep","refresh"],onSelectPage:function(_29,_2a){ },onBeforeRefresh:function(_2b,_2c){ },onRefresh:function(_2d,_2e){ },onChangePageSize:function(_2f){ },beforePageText:"Page",afterPageText:"of {pages}",displayMsg:"Displaying {from} to {to} of {total} items",nav:{first:{iconCls:"pagination-first",handler:function(){ var _30=$(this).pagination("options"); if(_30.pageNumber>1){ $(this).pagination("select",1); } }},prev:{iconCls:"pagination-prev",handler:function(){ var _31=$(this).pagination("options"); if(_31.pageNumber>1){ $(this).pagination("select",_31.pageNumber-1); } }},next:{iconCls:"pagination-next",handler:function(){ var _32=$(this).pagination("options"); var _33=Math.ceil(_32.total/_32.pageSize); if(_32.pageNumber<_33){ $(this).pagination("select",_32.pageNumber+1); } }},last:{iconCls:"pagination-last",handler:function(){ var _34=$(this).pagination("options"); var _35=Math.ceil(_34.total/_34.pageSize); if(_34.pageNumber<_35){ $(this).pagination("select",_35); } }},refresh:{iconCls:"pagination-refresh",handler:function(){ var _36=$(this).pagination("options"); if(_36.onBeforeRefresh.call(this,_36.pageNumber,_36.pageSize)!=false){ $(this).pagination("select",_36.pageNumber); _36.onRefresh.call(this,_36.pageNumber,_36.pageSize); } }}}}; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.panel.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ $.fn._remove=function(){ return this.each(function(){ $(this).remove(); try{ this.outerHTML=""; } catch(err){ } }); }; function _1(_2){ _2._remove(); }; function _3(_4,_5){ var _6=$.data(_4,"panel"); var _7=_6.options; var _8=_6.panel; var _9=_8.children("div.panel-header"); var _a=_8.children("div.panel-body"); var _b=_8.children("div.panel-footer"); if(_5){ $.extend(_7,{width:_5.width,height:_5.height,minWidth:_5.minWidth,maxWidth:_5.maxWidth,minHeight:_5.minHeight,maxHeight:_5.maxHeight,left:_5.left,top:_5.top}); } _8._size(_7); _9.add(_a)._outerWidth(_8.width()); if(!isNaN(parseInt(_7.height))){ _a._outerHeight(_8.height()-_9._outerHeight()-_b._outerHeight()); }else{ _a.css("height",""); var _c=$.parser.parseValue("minHeight",_7.minHeight,_8.parent()); var _d=$.parser.parseValue("maxHeight",_7.maxHeight,_8.parent()); var _e=_9._outerHeight()+_b._outerHeight()+_8._outerHeight()-_8.height(); _a._size("minHeight",_c?(_c-_e):""); _a._size("maxHeight",_d?(_d-_e):""); } _8.css({height:"",minHeight:"",maxHeight:"",left:_7.left,top:_7.top}); _7.onResize.apply(_4,[_7.width,_7.height]); $(_4).panel("doLayout"); }; function _f(_10,_11){ var _12=$.data(_10,"panel").options; var _13=$.data(_10,"panel").panel; if(_11){ if(_11.left!=null){ _12.left=_11.left; } if(_11.top!=null){ _12.top=_11.top; } } _13.css({left:_12.left,top:_12.top}); _12.onMove.apply(_10,[_12.left,_12.top]); }; function _14(_15){ $(_15).addClass("panel-body")._size("clear"); var _16=$("
                                                ").insertBefore(_15); _16[0].appendChild(_15); _16.bind("_resize",function(e,_17){ if($(this).hasClass("easyui-fluid")||_17){ _3(_15); } return false; }); return _16; }; function _18(_19){ var _1a=$.data(_19,"panel"); var _1b=_1a.options; var _1c=_1a.panel; _1c.css(_1b.style); _1c.addClass(_1b.cls); _1d(); _1e(); var _1f=$(_19).panel("header"); var _20=$(_19).panel("body"); var _21=$(_19).siblings("div.panel-footer"); if(_1b.border){ _1f.removeClass("panel-header-noborder"); _20.removeClass("panel-body-noborder"); _21.removeClass("panel-footer-noborder"); }else{ _1f.addClass("panel-header-noborder"); _20.addClass("panel-body-noborder"); _21.addClass("panel-footer-noborder"); } _1f.addClass(_1b.headerCls); _20.addClass(_1b.bodyCls); $(_19).attr("id",_1b.id||""); if(_1b.content){ $(_19).panel("clear"); $(_19).html(_1b.content); $.parser.parse($(_19)); } function _1d(){ if(_1b.tools&&typeof _1b.tools=="string"){ _1c.find(">div.panel-header>div.panel-tool .panel-tool-a").appendTo(_1b.tools); } _1(_1c.children("div.panel-header")); if(_1b.title&&!_1b.noheader){ var _22=$("
                                                ").prependTo(_1c); var _23=$("
                                                ").html(_1b.title).appendTo(_22); if(_1b.iconCls){ _23.addClass("panel-with-icon"); $("
                                                ").addClass(_1b.iconCls).appendTo(_22); } var _24=$("
                                                ").appendTo(_22); _24.bind("click",function(e){ e.stopPropagation(); }); if(_1b.tools){ if($.isArray(_1b.tools)){ for(var i=0;i<_1b.tools.length;i++){ var t=$("").addClass(_1b.tools[i].iconCls).appendTo(_24); if(_1b.tools[i].handler){ t.bind("click",eval(_1b.tools[i].handler)); } } }else{ $(_1b.tools).children().each(function(){ $(this).addClass($(this).attr("iconCls")).addClass("panel-tool-a").appendTo(_24); }); } } if(_1b.collapsible){ $("").appendTo(_24).bind("click",function(){ if(_1b.collapsed==true){ _4a(_19,true); }else{ _38(_19,true); } return false; }); } if(_1b.minimizable){ $("").appendTo(_24).bind("click",function(){ _55(_19); return false; }); } if(_1b.maximizable){ $("").appendTo(_24).bind("click",function(){ if(_1b.maximized==true){ _59(_19); }else{ _37(_19); } return false; }); } if(_1b.closable){ $("").appendTo(_24).bind("click",function(){ _39(_19); return false; }); } _1c.children("div.panel-body").removeClass("panel-body-noheader"); }else{ _1c.children("div.panel-body").addClass("panel-body-noheader"); } }; function _1e(){ if(_1b.footer){ $(_1b.footer).addClass("panel-footer").appendTo(_1c); $(_19).addClass("panel-body-nobottom"); }else{ _1c.children("div.panel-footer").remove(); $(_19).removeClass("panel-body-nobottom"); } }; }; function _25(_26,_27){ var _28=$.data(_26,"panel"); var _29=_28.options; if(_2a){ _29.queryParams=_27; } if(!_29.href){ return; } if(!_28.isLoaded||!_29.cache){ var _2a=$.extend({},_29.queryParams); if(_29.onBeforeLoad.call(_26,_2a)==false){ return; } _28.isLoaded=false; $(_26).panel("clear"); if(_29.loadingMessage){ $(_26).html($("
                                                ").html(_29.loadingMessage)); } _29.loader.call(_26,_2a,function(_2b){ var _2c=_29.extractor.call(_26,_2b); $(_26).html(_2c); $.parser.parse($(_26)); _29.onLoad.apply(_26,arguments); _28.isLoaded=true; },function(){ _29.onLoadError.apply(_26,arguments); }); } }; function _2d(_2e){ var t=$(_2e); t.find(".combo-f").each(function(){ $(this).combo("destroy"); }); t.find(".m-btn").each(function(){ $(this).menubutton("destroy"); }); t.find(".s-btn").each(function(){ $(this).splitbutton("destroy"); }); t.find(".tooltip-f").each(function(){ $(this).tooltip("destroy"); }); t.children("div").each(function(){ $(this)._size("unfit"); }); t.empty(); }; function _2f(_30){ $(_30).panel("doLayout",true); }; function _31(_32,_33){ var _34=$.data(_32,"panel").options; var _35=$.data(_32,"panel").panel; if(_33!=true){ if(_34.onBeforeOpen.call(_32)==false){ return; } } _35.stop(true,true); if($.isFunction(_34.openAnimation)){ _34.openAnimation.call(_32,cb); }else{ switch(_34.openAnimation){ case "slide": _35.slideDown(_34.openDuration,cb); break; case "fade": _35.fadeIn(_34.openDuration,cb); break; case "show": _35.show(_34.openDuration,cb); break; default: _35.show(); cb(); } } function cb(){ _34.closed=false; _34.minimized=false; var _36=_35.children("div.panel-header").find("a.panel-tool-restore"); if(_36.length){ _34.maximized=true; } _34.onOpen.call(_32); if(_34.maximized==true){ _34.maximized=false; _37(_32); } if(_34.collapsed==true){ _34.collapsed=false; _38(_32); } if(!_34.collapsed){ _25(_32); _2f(_32); } }; }; function _39(_3a,_3b){ var _3c=$.data(_3a,"panel").options; var _3d=$.data(_3a,"panel").panel; if(_3b!=true){ if(_3c.onBeforeClose.call(_3a)==false){ return; } } _3d.stop(true,true); _3d._size("unfit"); if($.isFunction(_3c.closeAnimation)){ _3c.closeAnimation.call(_3a,cb); }else{ switch(_3c.closeAnimation){ case "slide": _3d.slideUp(_3c.closeDuration,cb); break; case "fade": _3d.fadeOut(_3c.closeDuration,cb); break; case "hide": _3d.hide(_3c.closeDuration,cb); break; default: _3d.hide(); cb(); } } function cb(){ _3c.closed=true; _3c.onClose.call(_3a); }; }; function _3e(_3f,_40){ var _41=$.data(_3f,"panel"); var _42=_41.options; var _43=_41.panel; if(_40!=true){ if(_42.onBeforeDestroy.call(_3f)==false){ return; } } $(_3f).panel("clear").panel("clear","footer"); _1(_43); _42.onDestroy.call(_3f); }; function _38(_44,_45){ var _46=$.data(_44,"panel").options; var _47=$.data(_44,"panel").panel; var _48=_47.children("div.panel-body"); var _49=_47.children("div.panel-header").find("a.panel-tool-collapse"); if(_46.collapsed==true){ return; } _48.stop(true,true); if(_46.onBeforeCollapse.call(_44)==false){ return; } _49.addClass("panel-tool-expand"); if(_45==true){ _48.slideUp("normal",function(){ _46.collapsed=true; _46.onCollapse.call(_44); }); }else{ _48.hide(); _46.collapsed=true; _46.onCollapse.call(_44); } }; function _4a(_4b,_4c){ var _4d=$.data(_4b,"panel").options; var _4e=$.data(_4b,"panel").panel; var _4f=_4e.children("div.panel-body"); var _50=_4e.children("div.panel-header").find("a.panel-tool-collapse"); if(_4d.collapsed==false){ return; } _4f.stop(true,true); if(_4d.onBeforeExpand.call(_4b)==false){ return; } _50.removeClass("panel-tool-expand"); if(_4c==true){ _4f.slideDown("normal",function(){ _4d.collapsed=false; _4d.onExpand.call(_4b); _25(_4b); _2f(_4b); }); }else{ _4f.show(); _4d.collapsed=false; _4d.onExpand.call(_4b); _25(_4b); _2f(_4b); } }; function _37(_51){ var _52=$.data(_51,"panel").options; var _53=$.data(_51,"panel").panel; var _54=_53.children("div.panel-header").find("a.panel-tool-max"); if(_52.maximized==true){ return; } _54.addClass("panel-tool-restore"); if(!$.data(_51,"panel").original){ $.data(_51,"panel").original={width:_52.width,height:_52.height,left:_52.left,top:_52.top,fit:_52.fit}; } _52.left=0; _52.top=0; _52.fit=true; _3(_51); _52.minimized=false; _52.maximized=true; _52.onMaximize.call(_51); }; function _55(_56){ var _57=$.data(_56,"panel").options; var _58=$.data(_56,"panel").panel; _58._size("unfit"); _58.hide(); _57.minimized=true; _57.maximized=false; _57.onMinimize.call(_56); }; function _59(_5a){ var _5b=$.data(_5a,"panel").options; var _5c=$.data(_5a,"panel").panel; var _5d=_5c.children("div.panel-header").find("a.panel-tool-max"); if(_5b.maximized==false){ return; } _5c.show(); _5d.removeClass("panel-tool-restore"); $.extend(_5b,$.data(_5a,"panel").original); _3(_5a); _5b.minimized=false; _5b.maximized=false; $.data(_5a,"panel").original=null; _5b.onRestore.call(_5a); }; function _5e(_5f,_60){ $.data(_5f,"panel").options.title=_60; $(_5f).panel("header").find("div.panel-title").html(_60); }; var _61=null; $(window).unbind(".panel").bind("resize.panel",function(){ if(_61){ clearTimeout(_61); } _61=setTimeout(function(){ var _62=$("body.layout"); if(_62.length){ _62.layout("resize"); $("body").children(".easyui-fluid:visible").trigger("_resize"); }else{ $("body").panel("doLayout"); } _61=null; },100); }); $.fn.panel=function(_63,_64){ if(typeof _63=="string"){ return $.fn.panel.methods[_63](this,_64); } _63=_63||{}; return this.each(function(){ var _65=$.data(this,"panel"); var _66; if(_65){ _66=$.extend(_65.options,_63); _65.isLoaded=false; }else{ _66=$.extend({},$.fn.panel.defaults,$.fn.panel.parseOptions(this),_63); $(this).attr("title",""); _65=$.data(this,"panel",{options:_66,panel:_14(this),isLoaded:false}); } _18(this); if(_66.doSize==true){ _65.panel.css("display","block"); _3(this); } if(_66.closed==true||_66.minimized==true){ _65.panel.hide(); }else{ _31(this); } }); }; $.fn.panel.methods={options:function(jq){ return $.data(jq[0],"panel").options; },panel:function(jq){ return $.data(jq[0],"panel").panel; },header:function(jq){ return $.data(jq[0],"panel").panel.find(">div.panel-header"); },footer:function(jq){ return jq.panel("panel").children(".panel-footer"); },body:function(jq){ return $.data(jq[0],"panel").panel.find(">div.panel-body"); },setTitle:function(jq,_67){ return jq.each(function(){ _5e(this,_67); }); },open:function(jq,_68){ return jq.each(function(){ _31(this,_68); }); },close:function(jq,_69){ return jq.each(function(){ _39(this,_69); }); },destroy:function(jq,_6a){ return jq.each(function(){ _3e(this,_6a); }); },clear:function(jq,_6b){ return jq.each(function(){ _2d(_6b=="footer"?$(this).panel("footer"):this); }); },refresh:function(jq,_6c){ return jq.each(function(){ var _6d=$.data(this,"panel"); _6d.isLoaded=false; if(_6c){ if(typeof _6c=="string"){ _6d.options.href=_6c; }else{ _6d.options.queryParams=_6c; } } _25(this); }); },resize:function(jq,_6e){ return jq.each(function(){ _3(this,_6e); }); },doLayout:function(jq,all){ return jq.each(function(){ _6f(this,"body"); _6f($(this).siblings("div.panel-footer")[0],"footer"); function _6f(_70,_71){ if(!_70){ return; } var _72=_70==$("body")[0]; var s=$(_70).find("div.panel:visible,div.accordion:visible,div.tabs-container:visible,div.layout:visible,.easyui-fluid:visible").filter(function(_73,el){ var p=$(el).parents("div.panel-"+_71+":first"); return _72?p.length==0:p[0]==_70; }); s.trigger("_resize",[all||false]); }; }); },move:function(jq,_74){ return jq.each(function(){ _f(this,_74); }); },maximize:function(jq){ return jq.each(function(){ _37(this); }); },minimize:function(jq){ return jq.each(function(){ _55(this); }); },restore:function(jq){ return jq.each(function(){ _59(this); }); },collapse:function(jq,_75){ return jq.each(function(){ _38(this,_75); }); },expand:function(jq,_76){ return jq.each(function(){ _4a(this,_76); }); }}; $.fn.panel.parseOptions=function(_77){ var t=$(_77); return $.extend({},$.parser.parseOptions(_77,["id","width","height","left","top","title","iconCls","cls","headerCls","bodyCls","tools","href","method",{cache:"boolean",fit:"boolean",border:"boolean",noheader:"boolean"},{collapsible:"boolean",minimizable:"boolean",maximizable:"boolean"},{closable:"boolean",collapsed:"boolean",minimized:"boolean",maximized:"boolean",closed:"boolean"},"openAnimation","closeAnimation",{openDuration:"number",closeDuration:"number"},]),{loadingMessage:(t.attr("loadingMessage")!=undefined?t.attr("loadingMessage"):undefined)}); }; $.fn.panel.defaults={id:null,title:null,iconCls:null,width:"auto",height:"auto",left:null,top:null,cls:null,headerCls:null,bodyCls:null,style:{},href:null,cache:true,fit:false,border:true,doSize:true,noheader:false,content:null,collapsible:false,minimizable:false,maximizable:false,closable:false,collapsed:false,minimized:false,maximized:false,closed:false,openAnimation:false,openDuration:400,closeAnimation:false,closeDuration:400,tools:null,footer:null,queryParams:{},method:"get",href:null,loadingMessage:"Loading...",loader:function(_78,_79,_7a){ var _7b=$(this).panel("options"); if(!_7b.href){ return false; } $.ajax({type:_7b.method,url:_7b.href,cache:false,data:_78,dataType:"html",success:function(_7c){ _79(_7c); },error:function(){ _7a.apply(this,arguments); }}); },extractor:function(_7d){ var _7e=/]*>((.|[\n\r])*)<\/body>/im; var _7f=_7e.exec(_7d); if(_7f){ return _7f[1]; }else{ return _7d; } },onBeforeLoad:function(_80){ },onLoad:function(){ },onLoadError:function(){ },onBeforeOpen:function(){ },onOpen:function(){ },onBeforeClose:function(){ },onClose:function(){ },onBeforeDestroy:function(){ },onDestroy:function(){ },onResize:function(_81,_82){ },onMove:function(_83,top){ },onMaximize:function(){ },onRestore:function(){ },onMinimize:function(){ },onBeforeCollapse:function(){ },onBeforeExpand:function(){ },onCollapse:function(){ },onExpand:function(){ }}; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.parser.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ $.parser={auto:true,onComplete:function(_1){ },plugins:["draggable","droppable","resizable","pagination","tooltip","linkbutton","menu","menubutton","splitbutton","progressbar","tree","textbox","filebox","combo","combobox","combotree","combogrid","numberbox","validatebox","searchbox","spinner","numberspinner","timespinner","datetimespinner","calendar","datebox","datetimebox","slider","layout","panel","datagrid","propertygrid","treegrid","tabs","accordion","window","dialog","form"],parse:function(_2){ var aa=[]; for(var i=0;i<$.parser.plugins.length;i++){ var _3=$.parser.plugins[i]; var r=$(".easyui-"+_3,_2); if(r.length){ if(r[_3]){ r[_3](); }else{ aa.push({name:_3,jq:r}); } } } if(aa.length&&window.easyloader){ var _4=[]; for(var i=0;i=0){ v=Math.floor((_8.width()-_9)*v/100); }else{ v=Math.floor((_8.height()-_9)*v/100); } }else{ v=parseInt(v)||undefined; } return v; },parseOptions:function(_b,_c){ var t=$(_b); var _d={}; var s=$.trim(t.attr("data-options")); if(s){ if(s.substring(0,1)!="{"){ s="{"+s+"}"; } _d=(new Function("return "+s))(); } $.map(["width","height","left","top","minWidth","maxWidth","minHeight","maxHeight"],function(p){ var pv=$.trim(_b.style[p]||""); if(pv){ if(pv.indexOf("%")==-1){ pv=parseInt(pv)||undefined; } _d[p]=pv; } }); if(_c){ var _e={}; for(var i=0;i<_c.length;i++){ var pp=_c[i]; if(typeof pp=="string"){ _e[pp]=t.attr(pp); }else{ for(var _f in pp){ var _10=pp[_f]; if(_10=="boolean"){ _e[_f]=t.attr(_f)?(t.attr(_f)=="true"):undefined; }else{ if(_10=="number"){ _e[_f]=t.attr(_f)=="0"?0:parseFloat(t.attr(_f))||undefined; } } } } } $.extend(_d,_e); } return _d; }}; $(function(){ var d=$("
                                                ").appendTo("body"); $._boxModel=d.outerWidth()!=100; d.remove(); if(!window.easyloader&&$.parser.auto){ $.parser.parse(); } }); $.fn._outerWidth=function(_11){ if(_11==undefined){ if(this[0]==window){ return this.width()||document.body.clientWidth; } return this.outerWidth()||0; } return this._size("width",_11); }; $.fn._outerHeight=function(_12){ if(_12==undefined){ if(this[0]==window){ return this.height()||document.body.clientHeight; } return this.outerHeight()||0; } return this._size("height",_12); }; $.fn._scrollLeft=function(_13){ if(_13==undefined){ return this.scrollLeft(); }else{ return this.each(function(){ $(this).scrollLeft(_13); }); } }; $.fn._propAttr=$.fn.prop||$.fn.attr; $.fn._size=function(_14,_15){ if(typeof _14=="string"){ if(_14=="clear"){ return this.each(function(){ $(this).css({width:"",minWidth:"",maxWidth:"",height:"",minHeight:"",maxHeight:""}); }); }else{ if(_14=="fit"){ return this.each(function(){ _16(this,this.tagName=="BODY"?$("body"):$(this).parent(),true); }); }else{ if(_14=="unfit"){ return this.each(function(){ _16(this,$(this).parent(),false); }); }else{ if(_15==undefined){ return _17(this[0],_14); }else{ return this.each(function(){ _17(this,_14,_15); }); } } } } }else{ return this.each(function(){ _15=_15||$(this).parent(); $.extend(_14,_16(this,_15,_14.fit)||{}); var r1=_18(this,"width",_15,_14); var r2=_18(this,"height",_15,_14); if(r1||r2){ $(this).addClass("easyui-fluid"); }else{ $(this).removeClass("easyui-fluid"); } }); } function _16(_19,_1a,fit){ if(!_1a.length){ return false; } var t=$(_19)[0]; var p=_1a[0]; var _1b=p.fcount||0; if(fit){ if(!t.fitted){ t.fitted=true; p.fcount=_1b+1; $(p).addClass("panel-noscroll"); if(p.tagName=="BODY"){ $("html").addClass("panel-fit"); } } return {width:($(p).width()||1),height:($(p).height()||1)}; }else{ if(t.fitted){ t.fitted=false; p.fcount=_1b-1; if(p.fcount==0){ $(p).removeClass("panel-noscroll"); if(p.tagName=="BODY"){ $("html").removeClass("panel-fit"); } } } return false; } }; function _18(_1c,_1d,_1e,_1f){ var t=$(_1c); var p=_1d; var p1=p.substr(0,1).toUpperCase()+p.substr(1); var min=$.parser.parseValue("min"+p1,_1f["min"+p1],_1e); var max=$.parser.parseValue("max"+p1,_1f["max"+p1],_1e); var val=$.parser.parseValue(p,_1f[p],_1e); var _20=(String(_1f[p]||"").indexOf("%")>=0?true:false); if(!isNaN(val)){ var v=Math.min(Math.max(val,min||0),max||99999); if(!_20){ _1f[p]=v; } t._size("min"+p1,""); t._size("max"+p1,""); t._size(p,v); }else{ t._size(p,""); t._size("min"+p1,min); t._size("max"+p1,max); } return _20||_1f.fit; }; function _17(_21,_22,_23){ var t=$(_21); if(_23==undefined){ _23=parseInt(_21.style[_22]); if(isNaN(_23)){ return undefined; } if($._boxModel){ _23+=_24(); } return _23; }else{ if(_23===""){ t.css(_22,""); }else{ if($._boxModel){ _23-=_24(); if(_23<0){ _23=0; } } t.css(_22,_23+"px"); } } function _24(){ if(_22.toLowerCase().indexOf("width")>=0){ return t.outerWidth()-t.width(); }else{ return t.outerHeight()-t.height(); } }; }; }; })(jQuery); (function($){ var _25=null; var _26=null; var _27=false; function _28(e){ if(e.touches.length!=1){ return; } if(!_27){ _27=true; dblClickTimer=setTimeout(function(){ _27=false; },500); }else{ clearTimeout(dblClickTimer); _27=false; _29(e,"dblclick"); } _25=setTimeout(function(){ _29(e,"contextmenu",3); },1000); _29(e,"mousedown"); if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ e.preventDefault(); } }; function _2a(e){ if(e.touches.length!=1){ return; } if(_25){ clearTimeout(_25); } _29(e,"mousemove"); if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ e.preventDefault(); } }; function _2b(e){ if(_25){ clearTimeout(_25); } _29(e,"mouseup"); if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ e.preventDefault(); } }; function _29(e,_2c,_2d){ var _2e=new $.Event(_2c); _2e.pageX=e.changedTouches[0].pageX; _2e.pageY=e.changedTouches[0].pageY; _2e.which=_2d||1; $(e.target).trigger(_2e); }; if(document.addEventListener){ document.addEventListener("touchstart",_28,true); document.addEventListener("touchmove",_2a,true); document.addEventListener("touchend",_2b,true); } })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.progressbar.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ $(_2).addClass("progressbar"); $(_2).html("
                                                "); $(_2).bind("_resize",function(e,_3){ if($(this).hasClass("easyui-fluid")||_3){ _4(_2); } return false; }); return $(_2); }; function _4(_5,_6){ var _7=$.data(_5,"progressbar").options; var _8=$.data(_5,"progressbar").bar; if(_6){ _7.width=_6; } _8._size(_7); _8.find("div.progressbar-text").css("width",_8.width()); _8.find("div.progressbar-text,div.progressbar-value").css({height:_8.height()+"px",lineHeight:_8.height()+"px"}); }; $.fn.progressbar=function(_9,_a){ if(typeof _9=="string"){ var _b=$.fn.progressbar.methods[_9]; if(_b){ return _b(this,_a); } } _9=_9||{}; return this.each(function(){ var _c=$.data(this,"progressbar"); if(_c){ $.extend(_c.options,_9); }else{ _c=$.data(this,"progressbar",{options:$.extend({},$.fn.progressbar.defaults,$.fn.progressbar.parseOptions(this),_9),bar:_1(this)}); } $(this).progressbar("setValue",_c.options.value); _4(this); }); }; $.fn.progressbar.methods={options:function(jq){ return $.data(jq[0],"progressbar").options; },resize:function(jq,_d){ return jq.each(function(){ _4(this,_d); }); },getValue:function(jq){ return $.data(jq[0],"progressbar").options.value; },setValue:function(jq,_e){ if(_e<0){ _e=0; } if(_e>100){ _e=100; } return jq.each(function(){ var _f=$.data(this,"progressbar").options; var _10=_f.text.replace(/{value}/,_e); var _11=_f.value; _f.value=_e; $(this).find("div.progressbar-value").width(_e+"%"); $(this).find("div.progressbar-text").html(_10); if(_11!=_e){ _f.onChange.call(this,_e,_11); } }); }}; $.fn.progressbar.parseOptions=function(_12){ return $.extend({},$.parser.parseOptions(_12,["width","height","text",{value:"number"}])); }; $.fn.progressbar.defaults={width:"auto",height:22,value:0,text:"{value}%",onChange:function(_13,_14){ }}; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.propertygrid.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ var _1; $(document).unbind(".propertygrid").bind("mousedown.propertygrid",function(e){ var p=$(e.target).closest("div.datagrid-view,div.combo-panel"); if(p.length){ return; } _2(_1); _1=undefined; }); function _3(_4){ var _5=$.data(_4,"propertygrid"); var _6=$.data(_4,"propertygrid").options; $(_4).datagrid($.extend({},_6,{cls:"propertygrid",view:(_6.showGroup?_6.groupView:_6.view),onBeforeEdit:function(_7,_8){ if(_6.onBeforeEdit.call(_4,_7,_8)==false){ return false; } var dg=$(this); var _8=dg.datagrid("getRows")[_7]; var _9=dg.datagrid("getColumnOption","value"); _9.editor=_8.editor; },onClickCell:function(_a,_b,_c){ if(_1!=this){ _2(_1); _1=this; } if(_6.editIndex!=_a){ _2(_1); $(this).datagrid("beginEdit",_a); var ed=$(this).datagrid("getEditor",{index:_a,field:_b}); if(!ed){ ed=$(this).datagrid("getEditor",{index:_a,field:"value"}); } if(ed){ var t=$(ed.target); var _d=t.data("textbox")?t.textbox("textbox"):t; _d.focus(); _6.editIndex=_a; } } _6.onClickCell.call(_4,_a,_b,_c); },loadFilter:function(_e){ _2(this); return _6.loadFilter.call(this,_e); }})); }; function _2(_f){ var t=$(_f); if(!t.length){ return; } var _10=$.data(_f,"propertygrid").options; _10.finder.getTr(_f,null,"editing").each(function(){ var _11=parseInt($(this).attr("datagrid-row-index")); if(t.datagrid("validateRow",_11)){ t.datagrid("endEdit",_11); }else{ t.datagrid("cancelEdit",_11); } }); }; $.fn.propertygrid=function(_12,_13){ if(typeof _12=="string"){ var _14=$.fn.propertygrid.methods[_12]; if(_14){ return _14(this,_13); }else{ return this.datagrid(_12,_13); } } _12=_12||{}; return this.each(function(){ var _15=$.data(this,"propertygrid"); if(_15){ $.extend(_15.options,_12); }else{ var _16=$.extend({},$.fn.propertygrid.defaults,$.fn.propertygrid.parseOptions(this),_12); _16.frozenColumns=$.extend(true,[],_16.frozenColumns); _16.columns=$.extend(true,[],_16.columns); $.data(this,"propertygrid",{options:_16}); } _3(this); }); }; $.fn.propertygrid.methods={options:function(jq){ return $.data(jq[0],"propertygrid").options; }}; $.fn.propertygrid.parseOptions=function(_17){ return $.extend({},$.fn.datagrid.parseOptions(_17),$.parser.parseOptions(_17,[{showGroup:"boolean"}])); }; var _18=$.extend({},$.fn.datagrid.defaults.view,{render:function(_19,_1a,_1b){ var _1c=[]; var _1d=this.groups; for(var i=0;i<_1d.length;i++){ _1c.push(this.renderGroup.call(this,_19,i,_1d[i],_1b)); } $(_1a).html(_1c.join("")); },renderGroup:function(_1e,_1f,_20,_21){ var _22=$.data(_1e,"datagrid"); var _23=_22.options; var _24=$(_1e).datagrid("getColumnFields",_21); var _25=[]; _25.push("
                                                "); _25.push(""); _25.push(""); if((_21&&(_23.rownumbers||_23.frozenColumns.length))||(!_21&&!(_23.rownumbers||_23.frozenColumns.length))){ _25.push(""); } _25.push(""); _25.push(""); _25.push("
                                                 "); if(!_21){ _25.push(""); _25.push(_23.groupFormatter.call(_1e,_20.value,_20.rows)); _25.push(""); } _25.push("
                                                "); _25.push("
                                                "); _25.push(""); var _26=_20.startIndex; for(var j=0;j<_20.rows.length;j++){ var css=_23.rowStyler?_23.rowStyler.call(_1e,_26,_20.rows[j]):""; var _27=""; var _28=""; if(typeof css=="string"){ _28=css; }else{ if(css){ _27=css["class"]||""; _28=css["style"]||""; } } var cls="class=\"datagrid-row "+(_26%2&&_23.striped?"datagrid-row-alt ":" ")+_27+"\""; var _29=_28?"style=\""+_28+"\"":""; var _2a=_22.rowIdPrefix+"-"+(_21?1:2)+"-"+_26; _25.push(""); _25.push(this.renderRow.call(this,_1e,_24,_21,_26,_20.rows[j])); _25.push(""); _26++; } _25.push("
                                                "); return _25.join(""); },bindEvents:function(_2b){ var _2c=$.data(_2b,"datagrid"); var dc=_2c.dc; var _2d=dc.body1.add(dc.body2); var _2e=($.data(_2d[0],"events")||$._data(_2d[0],"events")).click[0].handler; _2d.unbind("click").bind("click",function(e){ var tt=$(e.target); var _2f=tt.closest("span.datagrid-row-expander"); if(_2f.length){ var _30=_2f.closest("div.datagrid-group").attr("group-index"); if(_2f.hasClass("datagrid-row-collapse")){ $(_2b).datagrid("collapseGroup",_30); }else{ $(_2b).datagrid("expandGroup",_30); } }else{ _2e(e); } e.stopPropagation(); }); },onBeforeRender:function(_31,_32){ var _33=$.data(_31,"datagrid"); var _34=_33.options; _35(); var _36=[]; for(var i=0;i<_32.length;i++){ var row=_32[i]; var _37=_38(row[_34.groupField]); if(!_37){ _37={value:row[_34.groupField],rows:[row]}; _36.push(_37); }else{ _37.rows.push(row); } } var _39=0; var _3a=[]; for(var i=0;i<_36.length;i++){ var _37=_36[i]; _37.startIndex=_39; _39+=_37.rows.length; _3a=_3a.concat(_37.rows); } _33.data.rows=_3a; this.groups=_36; var _3b=this; setTimeout(function(){ _3b.bindEvents(_31); },0); function _38(_3c){ for(var i=0;i<_36.length;i++){ var _3d=_36[i]; if(_3d.value==_3c){ return _3d; } } return null; }; function _35(){ if(!$("#datagrid-group-style").length){ $("head").append(""); } }; }}); $.extend($.fn.datagrid.methods,{expandGroup:function(jq,_3e){ return jq.each(function(){ var _3f=$.data(this,"datagrid").dc.view; var _40=_3f.find(_3e!=undefined?"div.datagrid-group[group-index=\""+_3e+"\"]":"div.datagrid-group"); var _41=_40.find("span.datagrid-row-expander"); if(_41.hasClass("datagrid-row-expand")){ _41.removeClass("datagrid-row-expand").addClass("datagrid-row-collapse"); _40.next("table").show(); } $(this).datagrid("fixRowHeight"); }); },collapseGroup:function(jq,_42){ return jq.each(function(){ var _43=$.data(this,"datagrid").dc.view; var _44=_43.find(_42!=undefined?"div.datagrid-group[group-index=\""+_42+"\"]":"div.datagrid-group"); var _45=_44.find("span.datagrid-row-expander"); if(_45.hasClass("datagrid-row-collapse")){ _45.removeClass("datagrid-row-collapse").addClass("datagrid-row-expand"); _44.next("table").hide(); } $(this).datagrid("fixRowHeight"); }); }}); $.extend(_18,{refreshGroupTitle:function(_46,_47){ var _48=$.data(_46,"datagrid"); var _49=_48.options; var dc=_48.dc; var _4a=this.groups[_47]; var _4b=dc.body2.children("div.datagrid-group[group-index="+_47+"]").find("span.datagrid-group-title"); _4b.html(_49.groupFormatter.call(_46,_4a.value,_4a.rows)); },insertRow:function(_4c,_4d,row){ var _4e=$.data(_4c,"datagrid"); var _4f=_4e.options; var dc=_4e.dc; var _50=null; var _51; for(var i=0;i_50.startIndex+_50.rows.length){ _4d=_50.startIndex+_50.rows.length; } } $.fn.datagrid.defaults.view.insertRow.call(this,_4c,_4d,row); if(_4d>=_50.startIndex+_50.rows.length){ _52(_4d,true); _52(_4d,false); } _50.rows.splice(_4d-_50.startIndex,0,row); }else{ _50={value:row[_4f.groupField],rows:[row],startIndex:_4e.data.rows.length}; _51=this.groups.length; dc.body1.append(this.renderGroup.call(this,_4c,_51,_50,true)); dc.body2.append(this.renderGroup.call(this,_4c,_51,_50,false)); this.groups.push(_50); _4e.data.rows.push(row); } this.refreshGroupTitle(_4c,_51); function _52(_53,_54){ var _55=_54?1:2; var _56=_4f.finder.getTr(_4c,_53-1,"body",_55); var tr=_4f.finder.getTr(_4c,_53,"body",_55); tr.insertAfter(_56); }; },updateRow:function(_57,_58,row){ var _59=$.data(_57,"datagrid").options; $.fn.datagrid.defaults.view.updateRow.call(this,_57,_58,row); var tb=_59.finder.getTr(_57,_58,"body",2).closest("table.datagrid-btable"); var _5a=parseInt(tb.prev().attr("group-index")); this.refreshGroupTitle(_57,_5a); },deleteRow:function(_5b,_5c){ var _5d=$.data(_5b,"datagrid"); var _5e=_5d.options; var dc=_5d.dc; var _5f=dc.body1.add(dc.body2); var tb=_5e.finder.getTr(_5b,_5c,"body",2).closest("table.datagrid-btable"); var _60=parseInt(tb.prev().attr("group-index")); $.fn.datagrid.defaults.view.deleteRow.call(this,_5b,_5c); var _61=this.groups[_60]; if(_61.rows.length>1){ _61.rows.splice(_5c-_61.startIndex,1); this.refreshGroupTitle(_5b,_60); }else{ _5f.children("div.datagrid-group[group-index="+_60+"]").remove(); for(var i=_60+1;i_13.top&&e.pageY<_13.top+_16){ dir+="n"; }else{ if(e.pageY<_13.top+_15&&e.pageY>_13.top+_15-_16){ dir+="s"; } } if(e.pageX>_13.left&&e.pageX<_13.left+_16){ dir+="w"; }else{ if(e.pageX<_13.left+_14&&e.pageX>_13.left+_14-_16){ dir+="e"; } } var _17=_d.handles.split(","); for(var i=0;i<_17.length;i++){ var _18=_17[i].replace(/(^\s*)|(\s*$)/g,""); if(_18=="all"||_18==dir){ return dir; } } return ""; }; }); }; $.fn.resizable.methods={options:function(jq){ return $.data(jq[0],"resizable").options; },enable:function(jq){ return jq.each(function(){ $(this).resizable({disabled:false}); }); },disable:function(jq){ return jq.each(function(){ $(this).resizable({disabled:true}); }); }}; $.fn.resizable.parseOptions=function(_19){ var t=$(_19); return $.extend({},$.parser.parseOptions(_19,["handles",{minWidth:"number",minHeight:"number",maxWidth:"number",maxHeight:"number",edge:"number"}]),{disabled:(t.attr("disabled")?true:undefined)}); }; $.fn.resizable.defaults={disabled:false,handles:"n, e, s, w, ne, se, sw, nw, all",minWidth:10,minHeight:10,maxWidth:10000,maxHeight:10000,edge:5,onStartResize:function(e){ },onResize:function(e){ },onStopResize:function(e){ }}; $.fn.resizable.isResizing=false; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.searchbox.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ var _3=$.data(_2,"searchbox"); var _4=_3.options; var _5=$.extend(true,[],_4.icons); _5.push({iconCls:"searchbox-button",handler:function(e){ var t=$(e.data.target); var _6=t.searchbox("options"); _6.searcher.call(e.data.target,t.searchbox("getValue"),t.searchbox("getName")); }}); _7(); var _8=_9(); $(_2).addClass("searchbox-f").textbox($.extend({},_4,{icons:_5,buttonText:(_8?_8.text:"")})); $(_2).attr("searchboxName",$(_2).attr("textboxName")); _3.searchbox=$(_2).next(); _3.searchbox.addClass("searchbox"); _a(_8); function _7(){ if(_4.menu){ _3.menu=$(_4.menu).menu(); var _b=_3.menu.menu("options"); var _c=_b.onClick; _b.onClick=function(_d){ _a(_d); _c.call(this,_d); }; }else{ if(_3.menu){ _3.menu.menu("destroy"); } _3.menu=null; } }; function _9(){ if(_3.menu){ var _e=_3.menu.children("div.menu-item:first"); _3.menu.children("div.menu-item").each(function(){ var _f=$.extend({},$.parser.parseOptions(this),{selected:($(this).attr("selected")?true:undefined)}); if(_f.selected){ _e=$(this); return false; } }); return _3.menu.menu("getItem",_e[0]); }else{ return null; } }; function _a(_10){ if(!_10){ return; } $(_2).textbox("button").menubutton({text:_10.text,iconCls:(_10.iconCls||null),menu:_3.menu,menuAlign:_4.buttonAlign,plain:false}); _3.searchbox.find("input.textbox-value").attr("name",_10.name||_10.text); $(_2).searchbox("resize"); }; }; $.fn.searchbox=function(_11,_12){ if(typeof _11=="string"){ var _13=$.fn.searchbox.methods[_11]; if(_13){ return _13(this,_12); }else{ return this.textbox(_11,_12); } } _11=_11||{}; return this.each(function(){ var _14=$.data(this,"searchbox"); if(_14){ $.extend(_14.options,_11); }else{ $.data(this,"searchbox",{options:$.extend({},$.fn.searchbox.defaults,$.fn.searchbox.parseOptions(this),_11)}); } _1(this); }); }; $.fn.searchbox.methods={options:function(jq){ var _15=jq.textbox("options"); return $.extend($.data(jq[0],"searchbox").options,{width:_15.width,value:_15.value,originalValue:_15.originalValue,disabled:_15.disabled,readonly:_15.readonly}); },menu:function(jq){ return $.data(jq[0],"searchbox").menu; },getName:function(jq){ return $.data(jq[0],"searchbox").searchbox.find("input.textbox-value").attr("name"); },selectName:function(jq,_16){ return jq.each(function(){ var _17=$.data(this,"searchbox").menu; if(_17){ _17.children("div.menu-item").each(function(){ var _18=_17.menu("getItem",this); if(_18.name==_16){ $(this).triggerHandler("click"); return false; } }); } }); },destroy:function(jq){ return jq.each(function(){ var _19=$(this).searchbox("menu"); if(_19){ _19.menu("destroy"); } $(this).textbox("destroy"); }); }}; $.fn.searchbox.parseOptions=function(_1a){ var t=$(_1a); return $.extend({},$.fn.textbox.parseOptions(_1a),$.parser.parseOptions(_1a,["menu"]),{searcher:(t.attr("searcher")?eval(t.attr("searcher")):undefined)}); }; $.fn.searchbox.defaults=$.extend({},$.fn.textbox.defaults,{inputEvents:$.extend({},$.fn.textbox.defaults.inputEvents,{keydown:function(e){ if(e.keyCode==13){ e.preventDefault(); var t=$(e.data.target); var _1b=t.searchbox("options"); t.searchbox("setValue",$(this).val()); _1b.searcher.call(e.data.target,t.searchbox("getValue"),t.searchbox("getName")); return false; } }}),buttonAlign:"left",menu:null,searcher:function(_1c,_1d){ }}); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.slider.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ var _3=$("
                                                "+"
                                                "+""+""+"
                                                "+"
                                                "+"
                                                "+"
                                                "+""+"
                                                ").insertAfter(_2); var t=$(_2); t.addClass("slider-f").hide(); var _4=t.attr("name"); if(_4){ _3.find("input.slider-value").attr("name",_4); t.removeAttr("name").attr("sliderName",_4); } _3.bind("_resize",function(e,_5){ if($(this).hasClass("easyui-fluid")||_5){ _6(_2); } return false; }); return _3; }; function _6(_7,_8){ var _9=$.data(_7,"slider"); var _a=_9.options; var _b=_9.slider; if(_8){ if(_8.width){ _a.width=_8.width; } if(_8.height){ _a.height=_8.height; } } _b._size(_a); if(_a.mode=="h"){ _b.css("height",""); _b.children("div").css("height",""); }else{ _b.css("width",""); _b.children("div").css("width",""); _b.children("div.slider-rule,div.slider-rulelabel,div.slider-inner")._outerHeight(_b._outerHeight()); } _c(_7); }; function _d(_e){ var _f=$.data(_e,"slider"); var _10=_f.options; var _11=_f.slider; var aa=_10.mode=="h"?_10.rule:_10.rule.slice(0).reverse(); if(_10.reversed){ aa=aa.slice(0).reverse(); } _12(aa); function _12(aa){ var _13=_11.find("div.slider-rule"); var _14=_11.find("div.slider-rulelabel"); _13.empty(); _14.empty(); for(var i=0;i").appendTo(_13); _16.css((_10.mode=="h"?"left":"top"),_15); if(aa[i]!="|"){ _16=$("").appendTo(_14); _16.html(aa[i]); if(_10.mode=="h"){ _16.css({left:_15,marginLeft:-Math.round(_16.outerWidth()/2)}); }else{ _16.css({top:_15,marginTop:-Math.round(_16.outerHeight()/2)}); } } } }; }; function _17(_18){ var _19=$.data(_18,"slider"); var _1a=_19.options; var _1b=_19.slider; _1b.removeClass("slider-h slider-v slider-disabled"); _1b.addClass(_1a.mode=="h"?"slider-h":"slider-v"); _1b.addClass(_1a.disabled?"slider-disabled":""); _1b.find("a.slider-handle").draggable({axis:_1a.mode,cursor:"pointer",disabled:_1a.disabled,onDrag:function(e){ var _1c=e.data.left; var _1d=_1b.width(); if(_1a.mode!="h"){ _1c=e.data.top; _1d=_1b.height(); } if(_1c<0||_1c>_1d){ return false; }else{ var _1e=_34(_18,_1c); _1f(_1e); return false; } },onBeforeDrag:function(){ _19.isDragging=true; },onStartDrag:function(){ _1a.onSlideStart.call(_18,_1a.value); },onStopDrag:function(e){ var _20=_34(_18,(_1a.mode=="h"?e.data.left:e.data.top)); _1f(_20); _1a.onSlideEnd.call(_18,_1a.value); _1a.onComplete.call(_18,_1a.value); _19.isDragging=false; }}); _1b.find("div.slider-inner").unbind(".slider").bind("mousedown.slider",function(e){ if(_19.isDragging||_1a.disabled){ return; } var pos=$(this).offset(); var _21=_34(_18,(_1a.mode=="h"?(e.pageX-pos.left):(e.pageY-pos.top))); _1f(_21); _1a.onComplete.call(_18,_1a.value); }); function _1f(_22){ var s=Math.abs(_22%_1a.step); if(s<_1a.step/2){ _22-=s; }else{ _22=_22-s+_1a.step; } _23(_18,_22); }; }; function _23(_24,_25){ var _26=$.data(_24,"slider"); var _27=_26.options; var _28=_26.slider; var _29=_27.value; if(_25<_27.min){ _25=_27.min; } if(_25>_27.max){ _25=_27.max; } _27.value=_25; $(_24).val(_25); _28.find("input.slider-value").val(_25); var pos=_2a(_24,_25); var tip=_28.find(".slider-tip"); if(_27.showTip){ tip.show(); tip.html(_27.tipFormatter.call(_24,_27.value)); }else{ tip.hide(); } if(_27.mode=="h"){ var _2b="left:"+pos+"px;"; _28.find(".slider-handle").attr("style",_2b); tip.attr("style",_2b+"margin-left:"+(-Math.round(tip.outerWidth()/2))+"px"); }else{ var _2b="top:"+pos+"px;"; _28.find(".slider-handle").attr("style",_2b); tip.attr("style",_2b+"margin-left:"+(-Math.round(tip.outerWidth()))+"px"); } if(_29!=_25){ _27.onChange.call(_24,_25,_29); } }; function _c(_2c){ var _2d=$.data(_2c,"slider").options; var fn=_2d.onChange; _2d.onChange=function(){ }; _23(_2c,_2d.value); _2d.onChange=fn; }; function _2a(_2e,_2f){ var _30=$.data(_2e,"slider"); var _31=_30.options; var _32=_30.slider; var _33=_31.mode=="h"?_32.width():_32.height(); var pos=_31.converter.toPosition.call(_2e,_2f,_33); if(_31.mode=="v"){ pos=_32.height()-pos; } if(_31.reversed){ pos=_33-pos; } return pos.toFixed(0); }; function _34(_35,pos){ var _36=$.data(_35,"slider"); var _37=_36.options; var _38=_36.slider; var _39=_37.mode=="h"?_38.width():_38.height(); var _3a=_37.converter.toValue.call(_35,_37.mode=="h"?(_37.reversed?(_39-pos):pos):(_39-pos),_39); return _3a.toFixed(0); }; $.fn.slider=function(_3b,_3c){ if(typeof _3b=="string"){ return $.fn.slider.methods[_3b](this,_3c); } _3b=_3b||{}; return this.each(function(){ var _3d=$.data(this,"slider"); if(_3d){ $.extend(_3d.options,_3b); }else{ _3d=$.data(this,"slider",{options:$.extend({},$.fn.slider.defaults,$.fn.slider.parseOptions(this),_3b),slider:_1(this)}); $(this).removeAttr("disabled"); } var _3e=_3d.options; _3e.min=parseFloat(_3e.min); _3e.max=parseFloat(_3e.max); _3e.value=parseFloat(_3e.value); _3e.step=parseFloat(_3e.step); _3e.originalValue=_3e.value; _17(this); _d(this); _6(this); }); }; $.fn.slider.methods={options:function(jq){ return $.data(jq[0],"slider").options; },destroy:function(jq){ return jq.each(function(){ $.data(this,"slider").slider.remove(); $(this).remove(); }); },resize:function(jq,_3f){ return jq.each(function(){ _6(this,_3f); }); },getValue:function(jq){ return jq.slider("options").value; },setValue:function(jq,_40){ return jq.each(function(){ _23(this,_40); }); },clear:function(jq){ return jq.each(function(){ var _41=$(this).slider("options"); _23(this,_41.min); }); },reset:function(jq){ return jq.each(function(){ var _42=$(this).slider("options"); _23(this,_42.originalValue); }); },enable:function(jq){ return jq.each(function(){ $.data(this,"slider").options.disabled=false; _17(this); }); },disable:function(jq){ return jq.each(function(){ $.data(this,"slider").options.disabled=true; _17(this); }); }}; $.fn.slider.parseOptions=function(_43){ var t=$(_43); return $.extend({},$.parser.parseOptions(_43,["width","height","mode",{reversed:"boolean",showTip:"boolean",min:"number",max:"number",step:"number"}]),{value:(t.val()||undefined),disabled:(t.attr("disabled")?true:undefined),rule:(t.attr("rule")?eval(t.attr("rule")):undefined)}); }; $.fn.slider.defaults={width:"auto",height:"auto",mode:"h",reversed:false,showTip:false,disabled:false,value:0,min:0,max:100,step:1,rule:[],tipFormatter:function(_44){ return _44; },converter:{toPosition:function(_45,_46){ var _47=$(this).slider("options"); return (_45-_47.min)/(_47.max-_47.min)*_46; },toValue:function(pos,_48){ var _49=$(this).slider("options"); return _49.min+(_49.max-_49.min)*(pos/_48); }},onChange:function(_4a,_4b){ },onSlideStart:function(_4c){ },onSlideEnd:function(_4d){ },onComplete:function(_4e){ }}; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.spinner.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ var _3=$.data(_2,"spinner"); var _4=_3.options; var _5=$.extend(true,[],_4.icons); _5.push({iconCls:"spinner-arrow",handler:function(e){ _6(e); }}); $(_2).addClass("spinner-f").textbox($.extend({},_4,{icons:_5})); var _7=$(_2).textbox("getIcon",_5.length-1); _7.append(""); _7.append(""); $(_2).attr("spinnerName",$(_2).attr("textboxName")); _3.spinner=$(_2).next(); _3.spinner.addClass("spinner"); }; function _6(e){ var _8=e.data.target; var _9=$(_8).spinner("options"); var up=$(e.target).closest("a.spinner-arrow-up"); if(up.length){ _9.spin.call(_8,false); _9.onSpinUp.call(_8); $(_8).spinner("validate"); } var _a=$(e.target).closest("a.spinner-arrow-down"); if(_a.length){ _9.spin.call(_8,true); _9.onSpinDown.call(_8); $(_8).spinner("validate"); } }; $.fn.spinner=function(_b,_c){ if(typeof _b=="string"){ var _d=$.fn.spinner.methods[_b]; if(_d){ return _d(this,_c); }else{ return this.textbox(_b,_c); } } _b=_b||{}; return this.each(function(){ var _e=$.data(this,"spinner"); if(_e){ $.extend(_e.options,_b); }else{ _e=$.data(this,"spinner",{options:$.extend({},$.fn.spinner.defaults,$.fn.spinner.parseOptions(this),_b)}); } _1(this); }); }; $.fn.spinner.methods={options:function(jq){ var _f=jq.textbox("options"); return $.extend($.data(jq[0],"spinner").options,{width:_f.width,value:_f.value,originalValue:_f.originalValue,disabled:_f.disabled,readonly:_f.readonly}); }}; $.fn.spinner.parseOptions=function(_10){ return $.extend({},$.fn.textbox.parseOptions(_10),$.parser.parseOptions(_10,["min","max",{increment:"number"}])); }; $.fn.spinner.defaults=$.extend({},$.fn.textbox.defaults,{min:null,max:null,increment:1,spin:function(_11){ },onSpinUp:function(){ },onSpinDown:function(){ }}); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.splitbutton.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ var _3=$.data(_2,"splitbutton").options; $(_2).menubutton(_3); $(_2).addClass("s-btn"); }; $.fn.splitbutton=function(_4,_5){ if(typeof _4=="string"){ var _6=$.fn.splitbutton.methods[_4]; if(_6){ return _6(this,_5); }else{ return this.menubutton(_4,_5); } } _4=_4||{}; return this.each(function(){ var _7=$.data(this,"splitbutton"); if(_7){ $.extend(_7.options,_4); }else{ $.data(this,"splitbutton",{options:$.extend({},$.fn.splitbutton.defaults,$.fn.splitbutton.parseOptions(this),_4)}); $(this).removeAttr("disabled"); } _1(this); }); }; $.fn.splitbutton.methods={options:function(jq){ var _8=jq.menubutton("options"); var _9=$.data(jq[0],"splitbutton").options; $.extend(_9,{disabled:_8.disabled,toggle:_8.toggle,selected:_8.selected}); return _9; }}; $.fn.splitbutton.parseOptions=function(_a){ var t=$(_a); return $.extend({},$.fn.linkbutton.parseOptions(_a),$.parser.parseOptions(_a,["menu",{plain:"boolean",duration:"number"}])); }; $.fn.splitbutton.defaults=$.extend({},$.fn.linkbutton.defaults,{plain:true,menu:null,duration:100,cls:{btn1:"m-btn-active s-btn-active",btn2:"m-btn-plain-active s-btn-plain-active",arrow:"m-btn-downarrow",trigger:"m-btn-line"}}); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.tabs.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ var _3=$.data(_2,"tabs").options; if(_3.tabPosition=="left"||_3.tabPosition=="right"||!_3.showHeader){ return; } var _4=$(_2).children("div.tabs-header"); var _5=_4.children("div.tabs-tool"); var _6=_4.children("div.tabs-scroller-left"); var _7=_4.children("div.tabs-scroller-right"); var _8=_4.children("div.tabs-wrap"); var _9=_4.outerHeight(); if(_3.plain){ _9-=_9-_4.height(); } _5._outerHeight(_9); var _a=0; $("ul.tabs li",_4).each(function(){ _a+=$(this).outerWidth(true); }); var _b=_4.width()-_5._outerWidth(); if(_a>_b){ _6.add(_7).show()._outerHeight(_9); if(_3.toolPosition=="left"){ _5.css({left:_6.outerWidth(),right:""}); _8.css({marginLeft:_6.outerWidth()+_5._outerWidth(),marginRight:_7._outerWidth(),width:_b-_6.outerWidth()-_7.outerWidth()}); }else{ _5.css({left:"",right:_7.outerWidth()}); _8.css({marginLeft:_6.outerWidth(),marginRight:_7.outerWidth()+_5._outerWidth(),width:_b-_6.outerWidth()-_7.outerWidth()}); } }else{ _6.add(_7).hide(); if(_3.toolPosition=="left"){ _5.css({left:0,right:""}); _8.css({marginLeft:_5._outerWidth(),marginRight:0,width:_b}); }else{ _5.css({left:"",right:0}); _8.css({marginLeft:0,marginRight:_5._outerWidth(),width:_b}); } } }; function _c(_d){ var _e=$.data(_d,"tabs").options; var _f=$(_d).children("div.tabs-header"); if(_e.tools){ if(typeof _e.tools=="string"){ $(_e.tools).addClass("tabs-tool").appendTo(_f); $(_e.tools).show(); }else{ _f.children("div.tabs-tool").remove(); var _10=$("
                                                ").appendTo(_f); var tr=_10.find("tr"); for(var i=0;i<_e.tools.length;i++){ var td=$("").appendTo(tr); var _11=$("").appendTo(td); _11[0].onclick=eval(_e.tools[i].handler||function(){ }); _11.linkbutton($.extend({},_e.tools[i],{plain:true})); } } }else{ _f.children("div.tabs-tool").remove(); } }; function _12(_13,_14){ var _15=$.data(_13,"tabs"); var _16=_15.options; var cc=$(_13); if(_14){ $.extend(_16,{width:_14.width,height:_14.height}); } cc._size(_16); var _17=cc.children("div.tabs-header"); var _18=cc.children("div.tabs-panels"); var _19=_17.find("div.tabs-wrap"); var ul=_19.find(".tabs"); for(var i=0;i<_15.tabs.length;i++){ var _1a=_15.tabs[i].panel("options"); var p_t=_1a.tab.find("a.tabs-inner"); var _1b=parseInt(_1a.tabWidth||_16.tabWidth)||undefined; if(_1b){ p_t._outerWidth(_1b); }else{ p_t.css("width",""); } p_t._outerHeight(_16.tabHeight); p_t.css("lineHeight",p_t.height()+"px"); } if(_16.tabPosition=="left"||_16.tabPosition=="right"){ _17._outerWidth(_16.showHeader?_16.headerWidth:0); _18._outerWidth(cc.width()-_17.outerWidth()); _17.add(_18)._outerHeight(_16.height); _19._outerWidth(_17.width()); ul._outerWidth(_19.width()).css("height",""); }else{ var lrt=_17.children("div.tabs-scroller-left,div.tabs-scroller-right,div.tabs-tool"); _17._outerWidth(_16.width).css("height",""); if(_16.showHeader){ _17.css("background-color",""); _19.css("height",""); lrt.show(); }else{ _17.css("background-color","transparent"); _17._outerHeight(0); _19._outerHeight(0); lrt.hide(); } ul._outerHeight(_16.tabHeight).css("width",""); _1(_13); _18._size("height",isNaN(_16.height)?"":(_16.height-_17.outerHeight())); _18._size("width",isNaN(_16.width)?"":_16.width); } }; function _1c(_1d){ var _1e=$.data(_1d,"tabs").options; var tab=_1f(_1d); if(tab){ var _20=$(_1d).children("div.tabs-panels"); var _21=_1e.width=="auto"?"auto":_20.width(); var _22=_1e.height=="auto"?"auto":_20.height(); tab.panel("resize",{width:_21,height:_22}); } }; function _23(_24){ var _25=$.data(_24,"tabs").tabs; var cc=$(_24); cc.addClass("tabs-container"); var pp=$("
                                                ").insertBefore(cc); cc.children("div").each(function(){ pp[0].appendChild(this); }); cc[0].appendChild(pp[0]); $("
                                                "+"
                                                "+"
                                                "+"
                                                "+"
                                                  "+"
                                                  "+"
                                                  ").prependTo(_24); cc.children("div.tabs-panels").children("div").each(function(i){ var _26=$.extend({},$.parser.parseOptions(this),{selected:($(this).attr("selected")?true:undefined)}); var pp=$(this); _25.push(pp); _35(_24,pp,_26); }); cc.children("div.tabs-header").find(".tabs-scroller-left, .tabs-scroller-right").hover(function(){ $(this).addClass("tabs-scroller-over"); },function(){ $(this).removeClass("tabs-scroller-over"); }); cc.bind("_resize",function(e,_27){ if($(this).hasClass("easyui-fluid")||_27){ _12(_24); _1c(_24); } return false; }); }; function _28(_29){ var _2a=$.data(_29,"tabs"); var _2b=_2a.options; $(_29).children("div.tabs-header").unbind().bind("click",function(e){ if($(e.target).hasClass("tabs-scroller-left")){ $(_29).tabs("scrollBy",-_2b.scrollIncrement); }else{ if($(e.target).hasClass("tabs-scroller-right")){ $(_29).tabs("scrollBy",_2b.scrollIncrement); }else{ var li=$(e.target).closest("li"); if(li.hasClass("tabs-disabled")){ return; } var a=$(e.target).closest("a.tabs-close"); if(a.length){ _4c(_29,_2c(li)); }else{ if(li.length){ var _2d=_2c(li); var _2e=_2a.tabs[_2d].panel("options"); if(_2e.collapsible){ _2e.closed?_41(_29,_2d):_6b(_29,_2d); }else{ _41(_29,_2d); } } } } } }).bind("contextmenu",function(e){ var li=$(e.target).closest("li"); if(li.hasClass("tabs-disabled")){ return; } if(li.length){ _2b.onContextMenu.call(_29,e,li.find("span.tabs-title").html(),_2c(li)); } }); function _2c(li){ var _2f=0; li.parent().children("li").each(function(i){ if(li[0]==this){ _2f=i; return false; } }); return _2f; }; }; function _30(_31){ var _32=$.data(_31,"tabs").options; var _33=$(_31).children("div.tabs-header"); var _34=$(_31).children("div.tabs-panels"); _33.removeClass("tabs-header-top tabs-header-bottom tabs-header-left tabs-header-right"); _34.removeClass("tabs-panels-top tabs-panels-bottom tabs-panels-left tabs-panels-right"); if(_32.tabPosition=="top"){ _33.insertBefore(_34); }else{ if(_32.tabPosition=="bottom"){ _33.insertAfter(_34); _33.addClass("tabs-header-bottom"); _34.addClass("tabs-panels-top"); }else{ if(_32.tabPosition=="left"){ _33.addClass("tabs-header-left"); _34.addClass("tabs-panels-right"); }else{ if(_32.tabPosition=="right"){ _33.addClass("tabs-header-right"); _34.addClass("tabs-panels-left"); } } } } if(_32.plain==true){ _33.addClass("tabs-header-plain"); }else{ _33.removeClass("tabs-header-plain"); } if(_32.border==true){ _33.removeClass("tabs-header-noborder"); _34.removeClass("tabs-panels-noborder"); }else{ _33.addClass("tabs-header-noborder"); _34.addClass("tabs-panels-noborder"); } }; function _35(_36,pp,_37){ var _38=$.data(_36,"tabs"); _37=_37||{}; pp.panel($.extend({},_37,{border:false,noheader:true,closed:true,doSize:false,iconCls:(_37.icon?_37.icon:undefined),onLoad:function(){ if(_37.onLoad){ _37.onLoad.call(this,arguments); } _38.options.onLoad.call(_36,$(this)); }})); var _39=pp.panel("options"); var _3a=$(_36).children("div.tabs-header").find("ul.tabs"); _39.tab=$("
                                                • ").appendTo(_3a); _39.tab.append(""+""+""+""); $(_36).tabs("update",{tab:pp,options:_39,type:"header"}); }; function _3b(_3c,_3d){ var _3e=$.data(_3c,"tabs"); var _3f=_3e.options; var _40=_3e.tabs; if(_3d.selected==undefined){ _3d.selected=true; } var pp=$("
                                                  ").appendTo($(_3c).children("div.tabs-panels")); _40.push(pp); _35(_3c,pp,_3d); _3f.onAdd.call(_3c,_3d.title,_40.length-1); _12(_3c); if(_3d.selected){ _41(_3c,_40.length-1); } }; function _42(_43,_44){ _44.type=_44.type||"all"; var _45=$.data(_43,"tabs").selectHis; var pp=_44.tab; var _46=pp.panel("options").title; if(_44.type=="all"||_44=="body"){ pp.panel($.extend({},_44.options,{iconCls:(_44.options.icon?_44.options.icon:undefined)})); } if(_44.type=="all"||_44.type=="header"){ var _47=pp.panel("options"); var tab=_47.tab; var _48=tab.find("span.tabs-title"); var _49=tab.find("span.tabs-icon"); _48.html(_47.title); _49.attr("class","tabs-icon"); tab.find("a.tabs-close").remove(); if(_47.closable){ _48.addClass("tabs-closable"); $("").appendTo(tab); }else{ _48.removeClass("tabs-closable"); } if(_47.iconCls){ _48.addClass("tabs-with-icon"); _49.addClass(_47.iconCls); }else{ _48.removeClass("tabs-with-icon"); } if(_46!=_47.title){ for(var i=0;i<_45.length;i++){ if(_45[i]==_46){ _45[i]=_47.title; } } } tab.find("span.tabs-p-tool").remove(); if(_47.tools){ var _4a=$("").insertAfter(tab.find("a.tabs-inner")); if($.isArray(_47.tools)){ for(var i=0;i<_47.tools.length;i++){ var t=$("").appendTo(_4a); t.addClass(_47.tools[i].iconCls); if(_47.tools[i].handler){ t.bind("click",{handler:_47.tools[i].handler},function(e){ if($(this).parents("li").hasClass("tabs-disabled")){ return; } e.data.handler.call(this); }); } } }else{ $(_47.tools).children().appendTo(_4a); } var pr=_4a.children().length*12; if(_47.closable){ pr+=8; }else{ pr-=3; _4a.css("right","5px"); } _48.css("padding-right",pr+"px"); } } _12(_43); $.data(_43,"tabs").options.onUpdate.call(_43,_47.title,_4b(_43,pp)); }; function _4c(_4d,_4e){ var _4f=$.data(_4d,"tabs").options; var _50=$.data(_4d,"tabs").tabs; var _51=$.data(_4d,"tabs").selectHis; if(!_52(_4d,_4e)){ return; } var tab=_53(_4d,_4e); var _54=tab.panel("options").title; var _55=_4b(_4d,tab); if(_4f.onBeforeClose.call(_4d,_54,_55)==false){ return; } var tab=_53(_4d,_4e,true); tab.panel("options").tab.remove(); tab.panel("destroy"); _4f.onClose.call(_4d,_54,_55); _12(_4d); for(var i=0;i<_51.length;i++){ if(_51[i]==_54){ _51.splice(i,1); i--; } } var _56=_51.pop(); if(_56){ _41(_4d,_56); }else{ if(_50.length){ _41(_4d,0); } } }; function _53(_57,_58,_59){ var _5a=$.data(_57,"tabs").tabs; if(typeof _58=="number"){ if(_58<0||_58>=_5a.length){ return null; }else{ var tab=_5a[_58]; if(_59){ _5a.splice(_58,1); } return tab; } } for(var i=0;i<_5a.length;i++){ var tab=_5a[i]; if(tab.panel("options").title==_58){ if(_59){ _5a.splice(i,1); } return tab; } } return null; }; function _4b(_5b,tab){ var _5c=$.data(_5b,"tabs").tabs; for(var i=0;i<_5c.length;i++){ if(_5c[i][0]==$(tab)[0]){ return i; } } return -1; }; function _1f(_5d){ var _5e=$.data(_5d,"tabs").tabs; for(var i=0;i<_5e.length;i++){ var tab=_5e[i]; if(tab.panel("options").closed==false){ return tab; } } return null; }; function _5f(_60){ var _61=$.data(_60,"tabs"); var _62=_61.tabs; for(var i=0;i<_62.length;i++){ if(_62[i].panel("options").selected){ _41(_60,i); return; } } _41(_60,_61.options.selected); }; function _41(_63,_64){ var _65=$.data(_63,"tabs"); var _66=_65.options; var _67=_65.tabs; var _68=_65.selectHis; if(_67.length==0){ return; } var _69=_53(_63,_64); if(!_69){ return; } var _6a=_1f(_63); if(_6a){ if(_69[0]==_6a[0]){ _1c(_63); return; } _6b(_63,_4b(_63,_6a)); if(!_6a.panel("options").closed){ return; } } _69.panel("open"); var _6c=_69.panel("options").title; _68.push(_6c); var tab=_69.panel("options").tab; tab.addClass("tabs-selected"); var _6d=$(_63).find(">div.tabs-header>div.tabs-wrap"); var _6e=tab.position().left; var _6f=_6e+tab.outerWidth(); if(_6e<0||_6f>_6d.width()){ var _70=_6e-(_6d.width()-tab.width())/2; $(_63).tabs("scrollBy",_70); }else{ $(_63).tabs("scrollBy",0); } _1c(_63); _66.onSelect.call(_63,_6c,_4b(_63,_69)); }; function _6b(_71,_72){ var _73=$.data(_71,"tabs"); var p=_53(_71,_72); if(p){ var _74=p.panel("options"); if(!_74.closed){ p.panel("close"); if(_74.closed){ _74.tab.removeClass("tabs-selected"); _73.options.onUnselect.call(_71,_74.title,_4b(_71,p)); } } } }; function _52(_75,_76){ return _53(_75,_76)!=null; }; function _77(_78,_79){ var _7a=$.data(_78,"tabs").options; _7a.showHeader=_79; $(_78).tabs("resize"); }; $.fn.tabs=function(_7b,_7c){ if(typeof _7b=="string"){ return $.fn.tabs.methods[_7b](this,_7c); } _7b=_7b||{}; return this.each(function(){ var _7d=$.data(this,"tabs"); if(_7d){ $.extend(_7d.options,_7b); }else{ $.data(this,"tabs",{options:$.extend({},$.fn.tabs.defaults,$.fn.tabs.parseOptions(this),_7b),tabs:[],selectHis:[]}); _23(this); } _c(this); _30(this); _12(this); _28(this); _5f(this); }); }; $.fn.tabs.methods={options:function(jq){ var cc=jq[0]; var _7e=$.data(cc,"tabs").options; var s=_1f(cc); _7e.selected=s?_4b(cc,s):-1; return _7e; },tabs:function(jq){ return $.data(jq[0],"tabs").tabs; },resize:function(jq,_7f){ return jq.each(function(){ _12(this,_7f); _1c(this); }); },add:function(jq,_80){ return jq.each(function(){ _3b(this,_80); }); },close:function(jq,_81){ return jq.each(function(){ _4c(this,_81); }); },getTab:function(jq,_82){ return _53(jq[0],_82); },getTabIndex:function(jq,tab){ return _4b(jq[0],tab); },getSelected:function(jq){ return _1f(jq[0]); },select:function(jq,_83){ return jq.each(function(){ _41(this,_83); }); },unselect:function(jq,_84){ return jq.each(function(){ _6b(this,_84); }); },exists:function(jq,_85){ return _52(jq[0],_85); },update:function(jq,_86){ return jq.each(function(){ _42(this,_86); }); },enableTab:function(jq,_87){ return jq.each(function(){ $(this).tabs("getTab",_87).panel("options").tab.removeClass("tabs-disabled"); }); },disableTab:function(jq,_88){ return jq.each(function(){ $(this).tabs("getTab",_88).panel("options").tab.addClass("tabs-disabled"); }); },showHeader:function(jq){ return jq.each(function(){ _77(this,true); }); },hideHeader:function(jq){ return jq.each(function(){ _77(this,false); }); },scrollBy:function(jq,_89){ return jq.each(function(){ var _8a=$(this).tabs("options"); var _8b=$(this).find(">div.tabs-header>div.tabs-wrap"); var pos=Math.min(_8b._scrollLeft()+_89,_8c()); _8b.animate({scrollLeft:pos},_8a.scrollDuration); function _8c(){ var w=0; var ul=_8b.children("ul"); ul.children("li").each(function(){ w+=$(this).outerWidth(true); }); return w-_8b.width()+(ul.outerWidth()-ul.width()); }; }); }}; $.fn.tabs.parseOptions=function(_8d){ return $.extend({},$.parser.parseOptions(_8d,["tools","toolPosition","tabPosition",{fit:"boolean",border:"boolean",plain:"boolean",headerWidth:"number",tabWidth:"number",tabHeight:"number",selected:"number",showHeader:"boolean"}])); }; $.fn.tabs.defaults={width:"auto",height:"auto",headerWidth:150,tabWidth:"auto",tabHeight:27,selected:0,showHeader:true,plain:false,fit:false,border:true,tools:null,toolPosition:"right",tabPosition:"top",scrollIncrement:100,scrollDuration:400,onLoad:function(_8e){ },onSelect:function(_8f,_90){ },onUnselect:function(_91,_92){ },onBeforeClose:function(_93,_94){ },onClose:function(_95,_96){ },onAdd:function(_97,_98){ },onUpdate:function(_99,_9a){ },onContextMenu:function(e,_9b,_9c){ }}; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.textbox.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ $(_2).addClass("textbox-f").hide(); var _3=$(""+""+""+"").insertAfter(_2); var _4=$(_2).attr("name"); if(_4){ _3.find("input.textbox-value").attr("name",_4); $(_2).removeAttr("name").attr("textboxName",_4); } return _3; }; function _5(_6){ var _7=$.data(_6,"textbox"); var _8=_7.options; var tb=_7.textbox; tb.find(".textbox-text").remove(); if(_8.multiline){ $("").prependTo(tb); }else{ $("").prependTo(tb); } tb.find(".textbox-addon").remove(); var bb=_8.icons?$.extend(true,[],_8.icons):[]; if(_8.iconCls){ bb.push({iconCls:_8.iconCls,disabled:true}); } if(bb.length){ var bc=$("").prependTo(tb); bc.addClass("textbox-addon-"+_8.iconAlign); for(var i=0;i"); } } tb.find(".textbox-button").remove(); if(_8.buttonText||_8.buttonIcon){ var _9=$("").prependTo(tb); _9.addClass("textbox-button-"+_8.buttonAlign).linkbutton({text:_8.buttonText,iconCls:_8.buttonIcon}); } _a(_6,_8.disabled); _b(_6,_8.readonly); }; function _c(_d){ var tb=$.data(_d,"textbox").textbox; tb.find(".textbox-text").validatebox("destroy"); tb.remove(); $(_d).remove(); }; function _e(_f,_10){ var _11=$.data(_f,"textbox"); var _12=_11.options; var tb=_11.textbox; var _13=tb.parent(); if(_10){ _12.width=_10; } if(isNaN(parseInt(_12.width))){ var c=$(_f).clone(); c.css("visibility","hidden"); c.insertAfter(_f); _12.width=c.outerWidth(); c.remove(); } tb.appendTo("body"); var _14=tb.find(".textbox-text"); var btn=tb.find(".textbox-button"); var _15=tb.find(".textbox-addon"); var _16=_15.find(".textbox-icon"); tb._size(_12,_13); btn.linkbutton("resize",{height:tb.height()}); btn.css({left:(_12.buttonAlign=="left"?0:""),right:(_12.buttonAlign=="right"?0:"")}); _15.css({left:(_12.iconAlign=="left"?(_12.buttonAlign=="left"?btn._outerWidth():0):""),right:(_12.iconAlign=="right"?(_12.buttonAlign=="right"?btn._outerWidth():0):"")}); _16.css({width:_12.iconWidth+"px",height:tb.height()+"px"}); _14.css({paddingLeft:(_f.style.paddingLeft||""),paddingRight:(_f.style.paddingRight||""),marginLeft:_17("left"),marginRight:_17("right")}); if(_12.multiline){ _14.css({paddingTop:(_f.style.paddingTop||""),paddingBottom:(_f.style.paddingBottom||"")}); _14._outerHeight(tb.height()); }else{ var _18=Math.floor((tb.height()-_14.height())/2); _14.css({paddingTop:_18+"px",paddingBottom:_18+"px"}); } _14._outerWidth(tb.width()-_16.length*_12.iconWidth-btn._outerWidth()); tb.insertAfter(_f); _12.onResize.call(_f,_12.width,_12.height); function _17(_19){ return (_12.iconAlign==_19?_15._outerWidth():0)+(_12.buttonAlign==_19?btn._outerWidth():0); }; }; function _1a(_1b){ var _1c=$(_1b).textbox("options"); var _1d=$(_1b).textbox("textbox"); _1d.validatebox($.extend({},_1c,{deltaX:$(_1b).textbox("getTipX"),onBeforeValidate:function(){ var box=$(this); if(!box.is(":focus")){ _1c.oldInputValue=box.val(); box.val(_1c.value); } },onValidate:function(_1e){ var box=$(this); if(_1c.oldInputValue!=undefined){ box.val(_1c.oldInputValue); _1c.oldInputValue=undefined; } var tb=box.parent(); if(_1e){ tb.removeClass("textbox-invalid"); }else{ tb.addClass("textbox-invalid"); } }})); }; function _1f(_20){ var _21=$.data(_20,"textbox"); var _22=_21.options; var tb=_21.textbox; var _23=tb.find(".textbox-text"); _23.attr("placeholder",_22.prompt); _23.unbind(".textbox"); if(!_22.disabled&&!_22.readonly){ _23.bind("blur.textbox",function(e){ if(!tb.hasClass("textbox-focused")){ return; } _22.value=$(this).val(); if(_22.value==""){ $(this).val(_22.prompt).addClass("textbox-prompt"); }else{ $(this).removeClass("textbox-prompt"); } tb.removeClass("textbox-focused"); }).bind("focus.textbox",function(e){ if(tb.hasClass("textbox-focused")){ return; } if($(this).val()!=_22.value){ $(this).val(_22.value); } $(this).removeClass("textbox-prompt"); tb.addClass("textbox-focused"); }); for(var _24 in _22.inputEvents){ _23.bind(_24+".textbox",{target:_20},_22.inputEvents[_24]); } } var _25=tb.find(".textbox-addon"); _25.unbind().bind("click",{target:_20},function(e){ var _26=$(e.target).closest("a.textbox-icon:not(.textbox-icon-disabled)"); if(_26.length){ var _27=parseInt(_26.attr("icon-index")); var _28=_22.icons[_27]; if(_28&&_28.handler){ _28.handler.call(_26[0],e); _22.onClickIcon.call(_20,_27); } } }); _25.find(".textbox-icon").each(function(_29){ var _2a=_22.icons[_29]; var _2b=$(this); if(!_2a||_2a.disabled||_22.disabled||_22.readonly){ _2b.addClass("textbox-icon-disabled"); }else{ _2b.removeClass("textbox-icon-disabled"); } }); var btn=tb.find(".textbox-button"); btn.unbind(".textbox").bind("click.textbox",function(){ if(!btn.linkbutton("options").disabled){ _22.onClickButton.call(_20); } }); btn.linkbutton((_22.disabled||_22.readonly)?"disable":"enable"); tb.unbind(".textbox").bind("_resize.textbox",function(e,_2c){ if($(this).hasClass("easyui-fluid")||_2c){ _e(_20); } return false; }); }; function _a(_2d,_2e){ var _2f=$.data(_2d,"textbox"); var _30=_2f.options; var tb=_2f.textbox; if(_2e){ _30.disabled=true; $(_2d).attr("disabled","disabled"); tb.find(".textbox-text,.textbox-value").attr("disabled","disabled"); }else{ _30.disabled=false; $(_2d).removeAttr("disabled"); tb.find(".textbox-text,.textbox-value").removeAttr("disabled"); } }; function _b(_31,_32){ var _33=$.data(_31,"textbox"); var _34=_33.options; _34.readonly=_32==undefined?true:_32; var _35=_33.textbox.find(".textbox-text"); _35.removeAttr("readonly").removeClass("textbox-text-readonly"); if(_34.readonly||!_34.editable){ _35.attr("readonly","readonly").addClass("textbox-text-readonly"); } }; $.fn.textbox=function(_36,_37){ if(typeof _36=="string"){ var _38=$.fn.textbox.methods[_36]; if(_38){ return _38(this,_37); }else{ return this.each(function(){ var _39=$(this).textbox("textbox"); _39.validatebox(_36,_37); }); } } _36=_36||{}; return this.each(function(){ var _3a=$.data(this,"textbox"); if(_3a){ $.extend(_3a.options,_36); if(_36.value!=undefined){ _3a.options.originalValue=_36.value; } }else{ _3a=$.data(this,"textbox",{options:$.extend({},$.fn.textbox.defaults,$.fn.textbox.parseOptions(this),_36),textbox:_1(this)}); _3a.options.originalValue=_3a.options.value; } _5(this); _1f(this); _e(this); _1a(this); $(this).textbox("initValue",_3a.options.value); }); }; $.fn.textbox.methods={options:function(jq){ return $.data(jq[0],"textbox").options; },cloneFrom:function(jq,_3b){ return jq.each(function(){ var t=$(this); if(t.data("textbox")){ return; } if(!$(_3b).data("textbox")){ $(_3b).textbox(); } var _3c=t.attr("name")||""; t.addClass("textbox-f").hide(); t.removeAttr("name").attr("textboxName",_3c); var _3d=$(_3b).next().clone().insertAfter(t); _3d.find("input.textbox-value").attr("name",_3c); $.data(this,"textbox",{options:$.extend(true,{},$(_3b).textbox("options")),textbox:_3d}); var _3e=$(_3b).textbox("button"); if(_3e.length){ t.textbox("button").linkbutton($.extend(true,{},_3e.linkbutton("options"))); } _1f(this); _1a(this); }); },textbox:function(jq){ return $.data(jq[0],"textbox").textbox.find(".textbox-text"); },button:function(jq){ return $.data(jq[0],"textbox").textbox.find(".textbox-button"); },destroy:function(jq){ return jq.each(function(){ _c(this); }); },resize:function(jq,_3f){ return jq.each(function(){ _e(this,_3f); }); },disable:function(jq){ return jq.each(function(){ _a(this,true); _1f(this); }); },enable:function(jq){ return jq.each(function(){ _a(this,false); _1f(this); }); },readonly:function(jq,_40){ return jq.each(function(){ _b(this,_40); _1f(this); }); },isValid:function(jq){ return jq.textbox("textbox").validatebox("isValid"); },clear:function(jq){ return jq.each(function(){ $(this).textbox("setValue",""); }); },setText:function(jq,_41){ return jq.each(function(){ var _42=$(this).textbox("options"); var _43=$(this).textbox("textbox"); if($(this).textbox("getText")!=_41){ _42.value=_41; _43.val(_41); } if(!_43.is(":focus")){ if(_41){ _43.removeClass("textbox-prompt"); }else{ _43.val(_42.prompt).addClass("textbox-prompt"); } } $(this).textbox("validate"); }); },initValue:function(jq,_44){ return jq.each(function(){ var _45=$.data(this,"textbox"); _45.options.value=""; $(this).textbox("setText",_44); _45.textbox.find(".textbox-value").val(_44); $(this).val(_44); }); },setValue:function(jq,_46){ return jq.each(function(){ var _47=$.data(this,"textbox").options; var _48=$(this).textbox("getValue"); $(this).textbox("initValue",_46); if(_48!=_46){ _47.onChange.call(this,_46,_48); } }); },getText:function(jq){ var _49=jq.textbox("textbox"); if(_49.is(":focus")){ return _49.val(); }else{ return jq.textbox("options").value; } },getValue:function(jq){ return jq.data("textbox").textbox.find(".textbox-value").val(); },reset:function(jq){ return jq.each(function(){ var _4a=$(this).textbox("options"); $(this).textbox("setValue",_4a.originalValue); }); },getIcon:function(jq,_4b){ return jq.data("textbox").textbox.find(".textbox-icon:eq("+_4b+")"); },getTipX:function(jq){ var _4c=jq.data("textbox"); var _4d=_4c.options; var tb=_4c.textbox; var _4e=tb.find(".textbox-text"); var _4f=tb.find(".textbox-addon")._outerWidth(); var _50=tb.find(".textbox-button")._outerWidth(); if(_4d.tipPosition=="right"){ return (_4d.iconAlign=="right"?_4f:0)+(_4d.buttonAlign=="right"?_50:0)+1; }else{ if(_4d.tipPosition=="left"){ return (_4d.iconAlign=="left"?-_4f:0)+(_4d.buttonAlign=="left"?-_50:0)-1; }else{ return _4f/2*(_4d.iconAlign=="right"?1:-1); } } }}; $.fn.textbox.parseOptions=function(_51){ var t=$(_51); return $.extend({},$.fn.validatebox.parseOptions(_51),$.parser.parseOptions(_51,["prompt","iconCls","iconAlign","buttonText","buttonIcon","buttonAlign",{multiline:"boolean",editable:"boolean",iconWidth:"number"}]),{value:(t.val()||undefined),type:(t.attr("type")?t.attr("type"):undefined),disabled:(t.attr("disabled")?true:undefined),readonly:(t.attr("readonly")?true:undefined)}); }; $.fn.textbox.defaults=$.extend({},$.fn.validatebox.defaults,{width:"auto",height:22,prompt:"",value:"",type:"text",multiline:false,editable:true,disabled:false,readonly:false,icons:[],iconCls:null,iconAlign:"right",iconWidth:18,buttonText:"",buttonIcon:null,buttonAlign:"right",inputEvents:{blur:function(e){ var t=$(e.data.target); var _52=t.textbox("options"); t.textbox("setValue",_52.value); },keydown:function(e){ if(e.keyCode==13){ var t=$(e.data.target); t.textbox("setValue",t.textbox("getText")); } }},onChange:function(_53,_54){ },onResize:function(_55,_56){ },onClickButton:function(){ },onClickIcon:function(_57){ }}); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.timespinner.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ var _3=0; if(_2.selectionStart){ _3=_2.selectionStart; }else{ if(_2.createTextRange){ var _4=_2.createTextRange(); var s=document.selection.createRange(); s.setEndPoint("StartToStart",_4); _3=s.text.length; } } return _3; }; function _5(_6,_7,_8){ if(_6.selectionStart){ _6.setSelectionRange(_7,_8); }else{ if(_6.createTextRange){ var _9=_6.createTextRange(); _9.collapse(); _9.moveEnd("character",_8); _9.moveStart("character",_7); _9.select(); } } }; function _a(_b){ var _c=$.data(_b,"timespinner").options; $(_b).addClass("timespinner-f").spinner(_c); var _d=_c.formatter.call(_b,_c.parser.call(_b,_c.value)); $(_b).timespinner("initValue",_d); }; function _e(e){ var _f=e.data.target; var _10=$.data(_f,"timespinner").options; var _11=_1(this); for(var i=0;i<_10.selections.length;i++){ var _12=_10.selections[i]; if(_11>=_12[0]&&_11<=_12[1]){ _13(_f,i); return; } } }; function _13(_14,_15){ var _16=$.data(_14,"timespinner").options; if(_15!=undefined){ _16.highlight=_15; } var _17=_16.selections[_16.highlight]; if(_17){ var tb=$(_14).timespinner("textbox"); _5(tb[0],_17[0],_17[1]); tb.focus(); } }; function _18(_19,_1a){ var _1b=$.data(_19,"timespinner").options; var _1a=_1b.parser.call(_19,_1a); var _1c=_1b.formatter.call(_19,_1a); $(_19).spinner("setValue",_1c); }; function _1d(_1e,_1f){ var _20=$.data(_1e,"timespinner").options; var s=$(_1e).timespinner("getValue"); var _21=_20.selections[_20.highlight]; var s1=s.substring(0,_21[0]); var s2=s.substring(_21[0],_21[1]); var s3=s.substring(_21[1]); var v=s1+((parseInt(s2)||0)+_20.increment*(_1f?-1:1))+s3; $(_1e).timespinner("setValue",v); _13(_1e); }; $.fn.timespinner=function(_22,_23){ if(typeof _22=="string"){ var _24=$.fn.timespinner.methods[_22]; if(_24){ return _24(this,_23); }else{ return this.spinner(_22,_23); } } _22=_22||{}; return this.each(function(){ var _25=$.data(this,"timespinner"); if(_25){ $.extend(_25.options,_22); }else{ $.data(this,"timespinner",{options:$.extend({},$.fn.timespinner.defaults,$.fn.timespinner.parseOptions(this),_22)}); } _a(this); }); }; $.fn.timespinner.methods={options:function(jq){ var _26=jq.data("spinner")?jq.spinner("options"):{}; return $.extend($.data(jq[0],"timespinner").options,{width:_26.width,value:_26.value,originalValue:_26.originalValue,disabled:_26.disabled,readonly:_26.readonly}); },setValue:function(jq,_27){ return jq.each(function(){ _18(this,_27); }); },getHours:function(jq){ var _28=$.data(jq[0],"timespinner").options; var vv=jq.timespinner("getValue").split(_28.separator); return parseInt(vv[0],10); },getMinutes:function(jq){ var _29=$.data(jq[0],"timespinner").options; var vv=jq.timespinner("getValue").split(_29.separator); return parseInt(vv[1],10); },getSeconds:function(jq){ var _2a=$.data(jq[0],"timespinner").options; var vv=jq.timespinner("getValue").split(_2a.separator); return parseInt(vv[2],10)||0; }}; $.fn.timespinner.parseOptions=function(_2b){ return $.extend({},$.fn.spinner.parseOptions(_2b),$.parser.parseOptions(_2b,["separator",{showSeconds:"boolean",highlight:"number"}])); }; $.fn.timespinner.defaults=$.extend({},$.fn.spinner.defaults,{inputEvents:$.extend({},$.fn.spinner.defaults.inputEvents,{click:function(e){ _e.call(this,e); },blur:function(e){ var t=$(e.data.target); t.timespinner("setValue",t.timespinner("getText")); },keydown:function(e){ if(e.keyCode==13){ var t=$(e.data.target); t.timespinner("setValue",t.timespinner("getText")); } }}),formatter:function(_2c){ if(!_2c){ return ""; } var _2d=$(this).timespinner("options"); var tt=[_2e(_2c.getHours()),_2e(_2c.getMinutes())]; if(_2d.showSeconds){ tt.push(_2e(_2c.getSeconds())); } return tt.join(_2d.separator); function _2e(_2f){ return (_2f<10?"0":"")+_2f; }; },parser:function(s){ var _30=$(this).timespinner("options"); var _31=_32(s); if(_31){ var min=_32(_30.min); var max=_32(_30.max); if(min&&min>_31){ _31=min; } if(max&&max<_31){ _31=max; } } return _31; function _32(s){ if(!s){ return null; } var tt=s.split(_30.separator); return new Date(1900,0,0,parseInt(tt[0],10)||0,parseInt(tt[1],10)||0,parseInt(tt[2],10)||0); }; if(!s){ return null; } var tt=s.split(_30.separator); return new Date(1900,0,0,parseInt(tt[0],10)||0,parseInt(tt[1],10)||0,parseInt(tt[2],10)||0); },selections:[[0,2],[3,5],[6,8]],separator:":",showSeconds:false,highlight:0,spin:function(_33){ _1d(this,_33); }}); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.tooltip.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ $(_2).addClass("tooltip-f"); }; function _3(_4){ var _5=$.data(_4,"tooltip").options; $(_4).unbind(".tooltip").bind(_5.showEvent+".tooltip",function(e){ $(_4).tooltip("show",e); }).bind(_5.hideEvent+".tooltip",function(e){ $(_4).tooltip("hide",e); }).bind("mousemove.tooltip",function(e){ if(_5.trackMouse){ _5.trackMouseX=e.pageX; _5.trackMouseY=e.pageY; $(_4).tooltip("reposition"); } }); }; function _6(_7){ var _8=$.data(_7,"tooltip"); if(_8.showTimer){ clearTimeout(_8.showTimer); _8.showTimer=null; } if(_8.hideTimer){ clearTimeout(_8.hideTimer); _8.hideTimer=null; } }; function _9(_a){ var _b=$.data(_a,"tooltip"); if(!_b||!_b.tip){ return; } var _c=_b.options; var _d=_b.tip; var _e={left:-100000,top:-100000}; if($(_a).is(":visible")){ _e=_f(_c.position); if(_c.position=="top"&&_e.top<0){ _e=_f("bottom"); }else{ if((_c.position=="bottom")&&(_e.top+_d._outerHeight()>$(window)._outerHeight()+$(document).scrollTop())){ _e=_f("top"); } } if(_e.left<0){ if(_c.position=="left"){ _e=_f("right"); }else{ $(_a).tooltip("arrow").css("left",_d._outerWidth()/2+_e.left); _e.left=0; } }else{ if(_e.left+_d._outerWidth()>$(window)._outerWidth()+$(document)._scrollLeft()){ if(_c.position=="right"){ _e=_f("left"); }else{ var _10=_e.left; _e.left=$(window)._outerWidth()+$(document)._scrollLeft()-_d._outerWidth(); $(_a).tooltip("arrow").css("left",_d._outerWidth()/2-(_e.left-_10)); } } } } _d.css({left:_e.left,top:_e.top,zIndex:(_c.zIndex!=undefined?_c.zIndex:($.fn.window?$.fn.window.defaults.zIndex++:""))}); _c.onPosition.call(_a,_e.left,_e.top); function _f(_11){ _c.position=_11||"bottom"; _d.removeClass("tooltip-top tooltip-bottom tooltip-left tooltip-right").addClass("tooltip-"+_c.position); var _12,top; if(_c.trackMouse){ t=$(); _12=_c.trackMouseX+_c.deltaX; top=_c.trackMouseY+_c.deltaY; }else{ var t=$(_a); _12=t.offset().left+_c.deltaX; top=t.offset().top+_c.deltaY; } switch(_c.position){ case "right": _12+=t._outerWidth()+12+(_c.trackMouse?12:0); top-=(_d._outerHeight()-t._outerHeight())/2; break; case "left": _12-=_d._outerWidth()+12+(_c.trackMouse?12:0); top-=(_d._outerHeight()-t._outerHeight())/2; break; case "top": _12-=(_d._outerWidth()-t._outerWidth())/2; top-=_d._outerHeight()+12+(_c.trackMouse?12:0); break; case "bottom": _12-=(_d._outerWidth()-t._outerWidth())/2; top+=t._outerHeight()+12+(_c.trackMouse?12:0); break; } return {left:_12,top:top}; }; }; function _13(_14,e){ var _15=$.data(_14,"tooltip"); var _16=_15.options; var tip=_15.tip; if(!tip){ tip=$("
                                                  "+"
                                                  "+"
                                                  "+"
                                                  "+"
                                                  ").appendTo("body"); _15.tip=tip; _17(_14); } _6(_14); _15.showTimer=setTimeout(function(){ $(_14).tooltip("reposition"); tip.show(); _16.onShow.call(_14,e); var _18=tip.children(".tooltip-arrow-outer"); var _19=tip.children(".tooltip-arrow"); var bc="border-"+_16.position+"-color"; _18.add(_19).css({borderTopColor:"",borderBottomColor:"",borderLeftColor:"",borderRightColor:""}); _18.css(bc,tip.css(bc)); _19.css(bc,tip.css("backgroundColor")); },_16.showDelay); }; function _1a(_1b,e){ var _1c=$.data(_1b,"tooltip"); if(_1c&&_1c.tip){ _6(_1b); _1c.hideTimer=setTimeout(function(){ _1c.tip.hide(); _1c.options.onHide.call(_1b,e); },_1c.options.hideDelay); } }; function _17(_1d,_1e){ var _1f=$.data(_1d,"tooltip"); var _20=_1f.options; if(_1e){ _20.content=_1e; } if(!_1f.tip){ return; } var cc=typeof _20.content=="function"?_20.content.call(_1d):_20.content; _1f.tip.children(".tooltip-content").html(cc); _20.onUpdate.call(_1d,cc); }; function _21(_22){ var _23=$.data(_22,"tooltip"); if(_23){ _6(_22); var _24=_23.options; if(_23.tip){ _23.tip.remove(); } if(_24._title){ $(_22).attr("title",_24._title); } $.removeData(_22,"tooltip"); $(_22).unbind(".tooltip").removeClass("tooltip-f"); _24.onDestroy.call(_22); } }; $.fn.tooltip=function(_25,_26){ if(typeof _25=="string"){ return $.fn.tooltip.methods[_25](this,_26); } _25=_25||{}; return this.each(function(){ var _27=$.data(this,"tooltip"); if(_27){ $.extend(_27.options,_25); }else{ $.data(this,"tooltip",{options:$.extend({},$.fn.tooltip.defaults,$.fn.tooltip.parseOptions(this),_25)}); _1(this); } _3(this); _17(this); }); }; $.fn.tooltip.methods={options:function(jq){ return $.data(jq[0],"tooltip").options; },tip:function(jq){ return $.data(jq[0],"tooltip").tip; },arrow:function(jq){ return jq.tooltip("tip").children(".tooltip-arrow-outer,.tooltip-arrow"); },show:function(jq,e){ return jq.each(function(){ _13(this,e); }); },hide:function(jq,e){ return jq.each(function(){ _1a(this,e); }); },update:function(jq,_28){ return jq.each(function(){ _17(this,_28); }); },reposition:function(jq){ return jq.each(function(){ _9(this); }); },destroy:function(jq){ return jq.each(function(){ _21(this); }); }}; $.fn.tooltip.parseOptions=function(_29){ var t=$(_29); var _2a=$.extend({},$.parser.parseOptions(_29,["position","showEvent","hideEvent","content",{trackMouse:"boolean",deltaX:"number",deltaY:"number",showDelay:"number",hideDelay:"number"}]),{_title:t.attr("title")}); t.attr("title",""); if(!_2a.content){ _2a.content=_2a._title; } return _2a; }; $.fn.tooltip.defaults={position:"bottom",content:null,trackMouse:false,deltaX:0,deltaY:0,showEvent:"mouseenter",hideEvent:"mouseleave",showDelay:200,hideDelay:100,onShow:function(e){ },onHide:function(e){ },onUpdate:function(_2b){ },onPosition:function(_2c,top){ },onDestroy:function(){ }}; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.tree.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ var _3=$(_2); _3.addClass("tree"); return _3; }; function _4(_5){ var _6=$.data(_5,"tree").options; $(_5).unbind().bind("mouseover",function(e){ var tt=$(e.target); var _7=tt.closest("div.tree-node"); if(!_7.length){ return; } _7.addClass("tree-node-hover"); if(tt.hasClass("tree-hit")){ if(tt.hasClass("tree-expanded")){ tt.addClass("tree-expanded-hover"); }else{ tt.addClass("tree-collapsed-hover"); } } e.stopPropagation(); }).bind("mouseout",function(e){ var tt=$(e.target); var _8=tt.closest("div.tree-node"); if(!_8.length){ return; } _8.removeClass("tree-node-hover"); if(tt.hasClass("tree-hit")){ if(tt.hasClass("tree-expanded")){ tt.removeClass("tree-expanded-hover"); }else{ tt.removeClass("tree-collapsed-hover"); } } e.stopPropagation(); }).bind("click",function(e){ var tt=$(e.target); var _9=tt.closest("div.tree-node"); if(!_9.length){ return; } if(tt.hasClass("tree-hit")){ _81(_5,_9[0]); return false; }else{ if(tt.hasClass("tree-checkbox")){ _34(_5,_9[0],!tt.hasClass("tree-checkbox1")); return false; }else{ _db(_5,_9[0]); _6.onClick.call(_5,_c(_5,_9[0])); } } e.stopPropagation(); }).bind("dblclick",function(e){ var _a=$(e.target).closest("div.tree-node"); if(!_a.length){ return; } _db(_5,_a[0]); _6.onDblClick.call(_5,_c(_5,_a[0])); e.stopPropagation(); }).bind("contextmenu",function(e){ var _b=$(e.target).closest("div.tree-node"); if(!_b.length){ return; } _6.onContextMenu.call(_5,e,_c(_5,_b[0])); e.stopPropagation(); }); }; function _d(_e){ var _f=$.data(_e,"tree").options; _f.dnd=false; var _10=$(_e).find("div.tree-node"); _10.draggable("disable"); _10.css("cursor","pointer"); }; function _11(_12){ var _13=$.data(_12,"tree"); var _14=_13.options; var _15=_13.tree; _13.disabledNodes=[]; _14.dnd=true; _15.find("div.tree-node").draggable({disabled:false,revert:true,cursor:"pointer",proxy:function(_16){ var p=$("
                                                  ").appendTo("body"); p.html(" "+$(_16).find(".tree-title").html()); p.hide(); return p; },deltaX:15,deltaY:15,onBeforeDrag:function(e){ if(_14.onBeforeDrag.call(_12,_c(_12,this))==false){ return false; } if($(e.target).hasClass("tree-hit")||$(e.target).hasClass("tree-checkbox")){ return false; } if(e.which!=1){ return false; } $(this).next("ul").find("div.tree-node").droppable({accept:"no-accept"}); var _17=$(this).find("span.tree-indent"); if(_17.length){ e.data.offsetWidth-=_17.length*_17.width(); } },onStartDrag:function(){ $(this).draggable("proxy").css({left:-10000,top:-10000}); _14.onStartDrag.call(_12,_c(_12,this)); var _18=_c(_12,this); if(_18.id==undefined){ _18.id="easyui_tree_node_id_temp"; _56(_12,_18); } _13.draggingNodeId=_18.id; },onDrag:function(e){ var x1=e.pageX,y1=e.pageY,x2=e.data.startX,y2=e.data.startY; var d=Math.sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)); if(d>3){ $(this).draggable("proxy").show(); } this.pageY=e.pageY; },onStopDrag:function(){ $(this).next("ul").find("div.tree-node").droppable({accept:"div.tree-node"}); for(var i=0;i<_13.disabledNodes.length;i++){ $(_13.disabledNodes[i]).droppable("enable"); } _13.disabledNodes=[]; var _19=_ce(_12,_13.draggingNodeId); if(_19&&_19.id=="easyui_tree_node_id_temp"){ _19.id=""; _56(_12,_19); } _14.onStopDrag.call(_12,_19); }}).droppable({accept:"div.tree-node",onDragEnter:function(e,_1a){ if(_14.onDragEnter.call(_12,this,_1b(_1a))==false){ _1c(_1a,false); $(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); $(this).droppable("disable"); _13.disabledNodes.push(this); } },onDragOver:function(e,_1d){ if($(this).droppable("options").disabled){ return; } var _1e=_1d.pageY; var top=$(this).offset().top; var _1f=top+$(this).outerHeight(); _1c(_1d,true); $(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); if(_1e>top+(_1f-top)/2){ if(_1f-_1e<5){ $(this).addClass("tree-node-bottom"); }else{ $(this).addClass("tree-node-append"); } }else{ if(_1e-top<5){ $(this).addClass("tree-node-top"); }else{ $(this).addClass("tree-node-append"); } } if(_14.onDragOver.call(_12,this,_1b(_1d))==false){ _1c(_1d,false); $(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); $(this).droppable("disable"); _13.disabledNodes.push(this); } },onDragLeave:function(e,_20){ _1c(_20,false); $(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); _14.onDragLeave.call(_12,this,_1b(_20)); },onDrop:function(e,_21){ var _22=this; var _23,_24; if($(this).hasClass("tree-node-append")){ _23=_25; _24="append"; }else{ _23=_26; _24=$(this).hasClass("tree-node-top")?"top":"bottom"; } if(_14.onBeforeDrop.call(_12,_22,_1b(_21),_24)==false){ $(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); return; } _23(_21,_22,_24); $(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); }}); function _1b(_27,pop){ return $(_27).closest("ul.tree").tree(pop?"pop":"getData",_27); }; function _1c(_28,_29){ var _2a=$(_28).draggable("proxy").find("span.tree-dnd-icon"); _2a.removeClass("tree-dnd-yes tree-dnd-no").addClass(_29?"tree-dnd-yes":"tree-dnd-no"); }; function _25(_2b,_2c){ if(_c(_12,_2c).state=="closed"){ _75(_12,_2c,function(){ _2d(); }); }else{ _2d(); } function _2d(){ var _2e=_1b(_2b,true); $(_12).tree("append",{parent:_2c,data:[_2e]}); _14.onDrop.call(_12,_2c,_2e,"append"); }; }; function _26(_2f,_30,_31){ var _32={}; if(_31=="top"){ _32.before=_30; }else{ _32.after=_30; } var _33=_1b(_2f,true); _32.data=_33; $(_12).tree("insert",_32); _14.onDrop.call(_12,_30,_33,_31); }; }; function _34(_35,_36,_37){ var _38=$.data(_35,"tree").options; if(!_38.checkbox){ return; } var _39=_c(_35,_36); if(_38.onBeforeCheck.call(_35,_39,_37)==false){ return; } var _3a=$(_36); var ck=_3a.find(".tree-checkbox"); ck.removeClass("tree-checkbox0 tree-checkbox1 tree-checkbox2"); if(_37){ ck.addClass("tree-checkbox1"); }else{ ck.addClass("tree-checkbox0"); } if(_38.cascadeCheck){ _3b(_3a); _3c(_3a); } _38.onCheck.call(_35,_39,_37); function _3c(_3d){ var _3e=_3d.next().find(".tree-checkbox"); _3e.removeClass("tree-checkbox0 tree-checkbox1 tree-checkbox2"); if(_3d.find(".tree-checkbox").hasClass("tree-checkbox1")){ _3e.addClass("tree-checkbox1"); }else{ _3e.addClass("tree-checkbox0"); } }; function _3b(_3f){ var _40=_8c(_35,_3f[0]); if(_40){ var ck=$(_40.target).find(".tree-checkbox"); ck.removeClass("tree-checkbox0 tree-checkbox1 tree-checkbox2"); if(_41(_3f)){ ck.addClass("tree-checkbox1"); }else{ if(_42(_3f)){ ck.addClass("tree-checkbox0"); }else{ ck.addClass("tree-checkbox2"); } } _3b($(_40.target)); } function _41(n){ var ck=n.find(".tree-checkbox"); if(ck.hasClass("tree-checkbox0")||ck.hasClass("tree-checkbox2")){ return false; } var b=true; n.parent().siblings().each(function(){ if(!$(this).children("div.tree-node").children(".tree-checkbox").hasClass("tree-checkbox1")){ b=false; } }); return b; }; function _42(n){ var ck=n.find(".tree-checkbox"); if(ck.hasClass("tree-checkbox1")||ck.hasClass("tree-checkbox2")){ return false; } var b=true; n.parent().siblings().each(function(){ if(!$(this).children("div.tree-node").children(".tree-checkbox").hasClass("tree-checkbox0")){ b=false; } }); return b; }; }; }; function _43(_44,_45){ var _46=$.data(_44,"tree").options; if(!_46.checkbox){ return; } var _47=$(_45); if(_48(_44,_45)){ var ck=_47.find(".tree-checkbox"); if(ck.length){ if(ck.hasClass("tree-checkbox1")){ _34(_44,_45,true); }else{ _34(_44,_45,false); } }else{ if(_46.onlyLeafCheck){ $("").insertBefore(_47.find(".tree-title")); } } }else{ var ck=_47.find(".tree-checkbox"); if(_46.onlyLeafCheck){ ck.remove(); }else{ if(ck.hasClass("tree-checkbox1")){ _34(_44,_45,true); }else{ if(ck.hasClass("tree-checkbox2")){ var _49=true; var _4a=true; var _4b=_4c(_44,_45); for(var i=0;i<_4b.length;i++){ if(_4b[i].checked){ _4a=false; }else{ _49=false; } } if(_49){ _34(_44,_45,true); } if(_4a){ _34(_44,_45,false); } } } } } }; function _4d(_4e,ul,_4f,_50){ var _51=$.data(_4e,"tree"); var _52=_51.options; var _53=$(ul).prevAll("div.tree-node:first"); _4f=_52.loadFilter.call(_4e,_4f,_53[0]); var _54=_55(_4e,"domId",_53.attr("id")); if(!_50){ _54?_54.children=_4f:_51.data=_4f; $(ul).empty(); }else{ if(_54){ _54.children?_54.children=_54.children.concat(_4f):_54.children=_4f; }else{ _51.data=_51.data.concat(_4f); } } _52.view.render.call(_52.view,_4e,ul,_4f); if(_52.dnd){ _11(_4e); } if(_54){ _56(_4e,_54); } var _57=[]; var _58=[]; for(var i=0;i<_4f.length;i++){ var _59=_4f[i]; if(!_59.checked){ _57.push(_59); } } _5a(_4f,function(_5b){ if(_5b.checked){ _58.push(_5b); } }); var _5c=_52.onCheck; _52.onCheck=function(){ }; if(_57.length){ _34(_4e,$("#"+_57[0].domId)[0],false); } for(var i=0;i<_58.length;i++){ _34(_4e,$("#"+_58[i].domId)[0],true); } _52.onCheck=_5c; setTimeout(function(){ _5d(_4e,_4e); },0); _52.onLoadSuccess.call(_4e,_54,_4f); }; function _5d(_5e,ul,_5f){ var _60=$.data(_5e,"tree").options; if(_60.lines){ $(_5e).addClass("tree-lines"); }else{ $(_5e).removeClass("tree-lines"); return; } if(!_5f){ _5f=true; $(_5e).find("span.tree-indent").removeClass("tree-line tree-join tree-joinbottom"); $(_5e).find("div.tree-node").removeClass("tree-node-last tree-root-first tree-root-one"); var _61=$(_5e).tree("getRoots"); if(_61.length>1){ $(_61[0].target).addClass("tree-root-first"); }else{ if(_61.length==1){ $(_61[0].target).addClass("tree-root-one"); } } } $(ul).children("li").each(function(){ var _62=$(this).children("div.tree-node"); var ul=_62.next("ul"); if(ul.length){ if($(this).next().length){ _63(_62); } _5d(_5e,ul,_5f); }else{ _64(_62); } }); var _65=$(ul).children("li:last").children("div.tree-node").addClass("tree-node-last"); _65.children("span.tree-join").removeClass("tree-join").addClass("tree-joinbottom"); function _64(_66,_67){ var _68=_66.find("span.tree-icon"); _68.prev("span.tree-indent").addClass("tree-join"); }; function _63(_69){ var _6a=_69.find("span.tree-indent, span.tree-hit").length; _69.next().find("div.tree-node").each(function(){ $(this).children("span:eq("+(_6a-1)+")").addClass("tree-line"); }); }; }; function _6b(_6c,ul,_6d,_6e){ var _6f=$.data(_6c,"tree").options; _6d=$.extend({},_6f.queryParams,_6d||{}); var _70=null; if(_6c!=ul){ var _71=$(ul).prev(); _70=_c(_6c,_71[0]); } if(_6f.onBeforeLoad.call(_6c,_70,_6d)==false){ return; } var _72=$(ul).prev().children("span.tree-folder"); _72.addClass("tree-loading"); var _73=_6f.loader.call(_6c,_6d,function(_74){ _72.removeClass("tree-loading"); _4d(_6c,ul,_74); if(_6e){ _6e(); } },function(){ _72.removeClass("tree-loading"); _6f.onLoadError.apply(_6c,arguments); if(_6e){ _6e(); } }); if(_73==false){ _72.removeClass("tree-loading"); } }; function _75(_76,_77,_78){ var _79=$.data(_76,"tree").options; var hit=$(_77).children("span.tree-hit"); if(hit.length==0){ return; } if(hit.hasClass("tree-expanded")){ return; } var _7a=_c(_76,_77); if(_79.onBeforeExpand.call(_76,_7a)==false){ return; } hit.removeClass("tree-collapsed tree-collapsed-hover").addClass("tree-expanded"); hit.next().addClass("tree-folder-open"); var ul=$(_77).next(); if(ul.length){ if(_79.animate){ ul.slideDown("normal",function(){ _7a.state="open"; _79.onExpand.call(_76,_7a); if(_78){ _78(); } }); }else{ ul.css("display","block"); _7a.state="open"; _79.onExpand.call(_76,_7a); if(_78){ _78(); } } }else{ var _7b=$("
                                                    ").insertAfter(_77); _6b(_76,_7b[0],{id:_7a.id},function(){ if(_7b.is(":empty")){ _7b.remove(); } if(_79.animate){ _7b.slideDown("normal",function(){ _7a.state="open"; _79.onExpand.call(_76,_7a); if(_78){ _78(); } }); }else{ _7b.css("display","block"); _7a.state="open"; _79.onExpand.call(_76,_7a); if(_78){ _78(); } } }); } }; function _7c(_7d,_7e){ var _7f=$.data(_7d,"tree").options; var hit=$(_7e).children("span.tree-hit"); if(hit.length==0){ return; } if(hit.hasClass("tree-collapsed")){ return; } var _80=_c(_7d,_7e); if(_7f.onBeforeCollapse.call(_7d,_80)==false){ return; } hit.removeClass("tree-expanded tree-expanded-hover").addClass("tree-collapsed"); hit.next().removeClass("tree-folder-open"); var ul=$(_7e).next(); if(_7f.animate){ ul.slideUp("normal",function(){ _80.state="closed"; _7f.onCollapse.call(_7d,_80); }); }else{ ul.css("display","none"); _80.state="closed"; _7f.onCollapse.call(_7d,_80); } }; function _81(_82,_83){ var hit=$(_83).children("span.tree-hit"); if(hit.length==0){ return; } if(hit.hasClass("tree-expanded")){ _7c(_82,_83); }else{ _75(_82,_83); } }; function _84(_85,_86){ var _87=_4c(_85,_86); if(_86){ _87.unshift(_c(_85,_86)); } for(var i=0;i<_87.length;i++){ _75(_85,_87[i].target); } }; function _88(_89,_8a){ var _8b=[]; var p=_8c(_89,_8a); while(p){ _8b.unshift(p); p=_8c(_89,p.target); } for(var i=0;i<_8b.length;i++){ _75(_89,_8b[i].target); } }; function _8d(_8e,_8f){ var c=$(_8e).parent(); while(c[0].tagName!="BODY"&&c.css("overflow-y")!="auto"){ c=c.parent(); } var n=$(_8f); var _90=n.offset().top; if(c[0].tagName!="BODY"){ var _91=c.offset().top; if(_90<_91){ c.scrollTop(c.scrollTop()+_90-_91); }else{ if(_90+n.outerHeight()>_91+c.outerHeight()-18){ c.scrollTop(c.scrollTop()+_90+n.outerHeight()-_91-c.outerHeight()+18); } } }else{ c.scrollTop(_90); } }; function _92(_93,_94){ var _95=_4c(_93,_94); if(_94){ _95.unshift(_c(_93,_94)); } for(var i=0;i<_95.length;i++){ _7c(_93,_95[i].target); } }; function _96(_97,_98){ var _99=$(_98.parent); var _9a=_98.data; if(!_9a){ return; } _9a=$.isArray(_9a)?_9a:[_9a]; if(!_9a.length){ return; } var ul; if(_99.length==0){ ul=$(_97); }else{ if(_48(_97,_99[0])){ var _9b=_99.find("span.tree-icon"); _9b.removeClass("tree-file").addClass("tree-folder tree-folder-open"); var hit=$("").insertBefore(_9b); if(hit.prev().length){ hit.prev().remove(); } } ul=_99.next(); if(!ul.length){ ul=$("
                                                      ").insertAfter(_99); } } _4d(_97,ul[0],_9a,true); _43(_97,ul.prev()); }; function _9c(_9d,_9e){ var ref=_9e.before||_9e.after; var _9f=_8c(_9d,ref); var _a0=_9e.data; if(!_a0){ return; } _a0=$.isArray(_a0)?_a0:[_a0]; if(!_a0.length){ return; } _96(_9d,{parent:(_9f?_9f.target:null),data:_a0}); var _a1=_9f?_9f.children:$(_9d).tree("getRoots"); for(var i=0;i<_a1.length;i++){ if(_a1[i].domId==$(ref).attr("id")){ for(var j=_a0.length-1;j>=0;j--){ _a1.splice((_9e.before?i:(i+1)),0,_a0[j]); } _a1.splice(_a1.length-_a0.length,_a0.length); break; } } var li=$(); for(var i=0;i<_a0.length;i++){ li=li.add($("#"+_a0[i].domId).parent()); } if(_9e.before){ li.insertBefore($(ref).parent()); }else{ li.insertAfter($(ref).parent()); } }; function _a2(_a3,_a4){ var _a5=del(_a4); $(_a4).parent().remove(); if(_a5){ if(!_a5.children||!_a5.children.length){ var _a6=$(_a5.target); _a6.find(".tree-icon").removeClass("tree-folder").addClass("tree-file"); _a6.find(".tree-hit").remove(); $("").prependTo(_a6); _a6.next().remove(); } _56(_a3,_a5); _43(_a3,_a5.target); } _5d(_a3,_a3); function del(_a7){ var id=$(_a7).attr("id"); var _a8=_8c(_a3,_a7); var cc=_a8?_a8.children:$.data(_a3,"tree").data; for(var i=0;i=0;i--){ _d9.unshift(_da.children[i]); } } } }; function _db(_dc,_dd){ var _de=$.data(_dc,"tree").options; var _df=_c(_dc,_dd); if(_de.onBeforeSelect.call(_dc,_df)==false){ return; } $(_dc).find("div.tree-node-selected").removeClass("tree-node-selected"); $(_dd).addClass("tree-node-selected"); _de.onSelect.call(_dc,_df); }; function _48(_e0,_e1){ return $(_e1).children("span.tree-hit").length==0; }; function _e2(_e3,_e4){ var _e5=$.data(_e3,"tree").options; var _e6=_c(_e3,_e4); if(_e5.onBeforeEdit.call(_e3,_e6)==false){ return; } $(_e4).css("position","relative"); var nt=$(_e4).find(".tree-title"); var _e7=nt.outerWidth(); nt.empty(); var _e8=$("").appendTo(nt); _e8.val(_e6.text).focus(); _e8.width(_e7+20); _e8.height(document.compatMode=="CSS1Compat"?(18-(_e8.outerHeight()-_e8.height())):18); _e8.bind("click",function(e){ return false; }).bind("mousedown",function(e){ e.stopPropagation(); }).bind("mousemove",function(e){ e.stopPropagation(); }).bind("keydown",function(e){ if(e.keyCode==13){ _e9(_e3,_e4); return false; }else{ if(e.keyCode==27){ _ef(_e3,_e4); return false; } } }).bind("blur",function(e){ e.stopPropagation(); _e9(_e3,_e4); }); }; function _e9(_ea,_eb){ var _ec=$.data(_ea,"tree").options; $(_eb).css("position",""); var _ed=$(_eb).find("input.tree-editor"); var val=_ed.val(); _ed.remove(); var _ee=_c(_ea,_eb); _ee.text=val; _56(_ea,_ee); _ec.onAfterEdit.call(_ea,_ee); }; function _ef(_f0,_f1){ var _f2=$.data(_f0,"tree").options; $(_f1).css("position",""); $(_f1).find("input.tree-editor").remove(); var _f3=_c(_f0,_f1); _56(_f0,_f3); _f2.onCancelEdit.call(_f0,_f3); }; $.fn.tree=function(_f4,_f5){ if(typeof _f4=="string"){ return $.fn.tree.methods[_f4](this,_f5); } var _f4=_f4||{}; return this.each(function(){ var _f6=$.data(this,"tree"); var _f7; if(_f6){ _f7=$.extend(_f6.options,_f4); _f6.options=_f7; }else{ _f7=$.extend({},$.fn.tree.defaults,$.fn.tree.parseOptions(this),_f4); $.data(this,"tree",{options:_f7,tree:_1(this),data:[]}); var _f8=$.fn.tree.parseData(this); if(_f8.length){ _4d(this,this,_f8); } } _4(this); if(_f7.data){ _4d(this,this,$.extend(true,[],_f7.data)); } _6b(this,this); }); }; $.fn.tree.methods={options:function(jq){ return $.data(jq[0],"tree").options; },loadData:function(jq,_f9){ return jq.each(function(){ _4d(this,this,_f9); }); },getNode:function(jq,_fa){ return _c(jq[0],_fa); },getData:function(jq,_fb){ return _c7(jq[0],_fb); },reload:function(jq,_fc){ return jq.each(function(){ if(_fc){ var _fd=$(_fc); var hit=_fd.children("span.tree-hit"); hit.removeClass("tree-expanded tree-expanded-hover").addClass("tree-collapsed"); _fd.next().remove(); _75(this,_fc); }else{ $(this).empty(); _6b(this,this); } }); },getRoot:function(jq,_fe){ return _af(jq[0],_fe); },getRoots:function(jq){ return _b3(jq[0]); },getParent:function(jq,_ff){ return _8c(jq[0],_ff); },getChildren:function(jq,_100){ return _4c(jq[0],_100); },getChecked:function(jq,_101){ return _be(jq[0],_101); },getSelected:function(jq){ return _c4(jq[0]); },isLeaf:function(jq,_102){ return _48(jq[0],_102); },find:function(jq,id){ return _ce(jq[0],id); },select:function(jq,_103){ return jq.each(function(){ _db(this,_103); }); },check:function(jq,_104){ return jq.each(function(){ _34(this,_104,true); }); },uncheck:function(jq,_105){ return jq.each(function(){ _34(this,_105,false); }); },collapse:function(jq,_106){ return jq.each(function(){ _7c(this,_106); }); },expand:function(jq,_107){ return jq.each(function(){ _75(this,_107); }); },collapseAll:function(jq,_108){ return jq.each(function(){ _92(this,_108); }); },expandAll:function(jq,_109){ return jq.each(function(){ _84(this,_109); }); },expandTo:function(jq,_10a){ return jq.each(function(){ _88(this,_10a); }); },scrollTo:function(jq,_10b){ return jq.each(function(){ _8d(this,_10b); }); },toggle:function(jq,_10c){ return jq.each(function(){ _81(this,_10c); }); },append:function(jq,_10d){ return jq.each(function(){ _96(this,_10d); }); },insert:function(jq,_10e){ return jq.each(function(){ _9c(this,_10e); }); },remove:function(jq,_10f){ return jq.each(function(){ _a2(this,_10f); }); },pop:function(jq,_110){ var node=jq.tree("getData",_110); jq.tree("remove",_110); return node; },update:function(jq,_111){ return jq.each(function(){ _56(this,_111); }); },enableDnd:function(jq){ return jq.each(function(){ _11(this); }); },disableDnd:function(jq){ return jq.each(function(){ _d(this); }); },beginEdit:function(jq,_112){ return jq.each(function(){ _e2(this,_112); }); },endEdit:function(jq,_113){ return jq.each(function(){ _e9(this,_113); }); },cancelEdit:function(jq,_114){ return jq.each(function(){ _ef(this,_114); }); }}; $.fn.tree.parseOptions=function(_115){ var t=$(_115); return $.extend({},$.parser.parseOptions(_115,["url","method",{checkbox:"boolean",cascadeCheck:"boolean",onlyLeafCheck:"boolean"},{animate:"boolean",lines:"boolean",dnd:"boolean"}])); }; $.fn.tree.parseData=function(_116){ var data=[]; _117(data,$(_116)); return data; function _117(aa,tree){ tree.children("li").each(function(){ var node=$(this); var item=$.extend({},$.parser.parseOptions(this,["id","iconCls","state"]),{checked:(node.attr("checked")?true:undefined)}); item.text=node.children("span").html(); if(!item.text){ item.text=node.html(); } var _118=node.children("ul"); if(_118.length){ item.children=[]; _117(item.children,_118); } aa.push(item); }); }; }; var _119=1; var _11a={render:function(_11b,ul,data){ var opts=$.data(_11b,"tree").options; var _11c=$(ul).prev("div.tree-node").find("span.tree-indent, span.tree-hit").length; var cc=_11d(_11c,data); $(ul).append(cc.join("")); function _11d(_11e,_11f){ var cc=[]; for(var i=0;i<_11f.length;i++){ var item=_11f[i]; if(item.state!="open"&&item.state!="closed"){ item.state="open"; } item.domId="_easyui_tree_"+_119++; cc.push("
                                                    • "); cc.push("
                                                      "); for(var j=0;j<_11e;j++){ cc.push(""); } var _120=false; if(item.state=="closed"){ cc.push(""); cc.push(""); }else{ if(item.children&&item.children.length){ cc.push(""); cc.push(""); }else{ cc.push(""); cc.push(""); _120=true; } } if(opts.checkbox){ if((!opts.onlyLeafCheck)||_120){ cc.push(""); } } cc.push(""+opts.formatter.call(_11b,item)+""); cc.push("
                                                      "); if(item.children&&item.children.length){ var tmp=_11d(_11e+1,item.children); cc.push("
                                                        "); cc=cc.concat(tmp); cc.push("
                                                      "); } cc.push("
                                                    • "); } return cc; }; }}; $.fn.tree.defaults={url:null,method:"post",animate:false,checkbox:false,cascadeCheck:true,onlyLeafCheck:false,lines:false,dnd:false,data:null,queryParams:{},formatter:function(node){ return node.text; },loader:function(_121,_122,_123){ var opts=$(this).tree("options"); if(!opts.url){ return false; } $.ajax({type:opts.method,url:opts.url,data:_121,dataType:"json",success:function(data){ _122(data); },error:function(){ _123.apply(this,arguments); }}); },loadFilter:function(data,_124){ return data; },view:_11a,onBeforeLoad:function(node,_125){ },onLoadSuccess:function(node,data){ },onLoadError:function(){ },onClick:function(node){ },onDblClick:function(node){ },onBeforeExpand:function(node){ },onExpand:function(node){ },onBeforeCollapse:function(node){ },onCollapse:function(node){ },onBeforeCheck:function(node,_126){ },onCheck:function(node,_127){ },onBeforeSelect:function(node){ },onSelect:function(node){ },onContextMenu:function(e,node){ },onBeforeDrag:function(node){ },onStartDrag:function(node){ },onStopDrag:function(node){ },onDragEnter:function(_128,_129){ },onDragOver:function(_12a,_12b){ },onDragLeave:function(_12c,_12d){ },onBeforeDrop:function(_12e,_12f,_130){ },onDrop:function(_131,_132,_133){ },onBeforeEdit:function(node){ },onAfterEdit:function(node){ },onCancelEdit:function(node){ }}; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.treegrid.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2){ var _3=$.data(_2,"treegrid"); var _4=_3.options; $(_2).datagrid($.extend({},_4,{url:null,data:null,loader:function(){ return false; },onBeforeLoad:function(){ return false; },onLoadSuccess:function(){ },onResizeColumn:function(_5,_6){ _26(_2); _4.onResizeColumn.call(_2,_5,_6); },onBeforeSortColumn:function(_7,_8){ if(_4.onBeforeSortColumn.call(_2,_7,_8)==false){ return false; } },onSortColumn:function(_9,_a){ _4.sortName=_9; _4.sortOrder=_a; if(_4.remoteSort){ _25(_2); }else{ var _b=$(_2).treegrid("getData"); _3f(_2,0,_b); } _4.onSortColumn.call(_2,_9,_a); },onBeforeEdit:function(_c,_d){ if(_4.onBeforeEdit.call(_2,_d)==false){ return false; } },onAfterEdit:function(_e,_f,_10){ _4.onAfterEdit.call(_2,_f,_10); },onCancelEdit:function(_11,row){ _4.onCancelEdit.call(_2,row); },onBeforeSelect:function(_12){ if(_4.onBeforeSelect.call(_2,_47(_2,_12))==false){ return false; } },onSelect:function(_13){ _4.onSelect.call(_2,_47(_2,_13)); },onBeforeUnselect:function(_14){ if(_4.onBeforeUnselect.call(_2,_47(_2,_14))==false){ return false; } },onUnselect:function(_15){ _4.onUnselect.call(_2,_47(_2,_15)); },onBeforeCheck:function(_16){ if(_4.onBeforeCheck.call(_2,_47(_2,_16))==false){ return false; } },onCheck:function(_17){ _4.onCheck.call(_2,_47(_2,_17)); },onBeforeUncheck:function(_18){ if(_4.onBeforeUncheck.call(_2,_47(_2,_18))==false){ return false; } },onUncheck:function(_19){ _4.onUncheck.call(_2,_47(_2,_19)); },onClickRow:function(_1a){ _4.onClickRow.call(_2,_47(_2,_1a)); },onDblClickRow:function(_1b){ _4.onDblClickRow.call(_2,_47(_2,_1b)); },onClickCell:function(_1c,_1d){ _4.onClickCell.call(_2,_1d,_47(_2,_1c)); },onDblClickCell:function(_1e,_1f){ _4.onDblClickCell.call(_2,_1f,_47(_2,_1e)); },onRowContextMenu:function(e,_20){ _4.onContextMenu.call(_2,e,_47(_2,_20)); }})); if(!_4.columns){ var _21=$.data(_2,"datagrid").options; _4.columns=_21.columns; _4.frozenColumns=_21.frozenColumns; } _3.dc=$.data(_2,"datagrid").dc; if(_4.pagination){ var _22=$(_2).datagrid("getPager"); _22.pagination({pageNumber:_4.pageNumber,pageSize:_4.pageSize,pageList:_4.pageList,onSelectPage:function(_23,_24){ _4.pageNumber=_23; _4.pageSize=_24; _25(_2); }}); _4.pageSize=_22.pagination("options").pageSize; } }; function _26(_27,_28){ var _29=$.data(_27,"datagrid").options; var dc=$.data(_27,"datagrid").dc; if(!dc.body1.is(":empty")&&(!_29.nowrap||_29.autoRowHeight)){ if(_28!=undefined){ var _2a=_2b(_27,_28); for(var i=0;i<_2a.length;i++){ _2c(_2a[i][_29.idField]); } } } $(_27).datagrid("fixRowHeight",_28); function _2c(_2d){ var tr1=_29.finder.getTr(_27,_2d,"body",1); var tr2=_29.finder.getTr(_27,_2d,"body",2); tr1.css("height",""); tr2.css("height",""); var _2e=Math.max(tr1.height(),tr2.height()); tr1.css("height",_2e); tr2.css("height",_2e); }; }; function _2f(_30){ var dc=$.data(_30,"datagrid").dc; var _31=$.data(_30,"treegrid").options; if(!_31.rownumbers){ return; } dc.body1.find("div.datagrid-cell-rownumber").each(function(i){ $(this).html(i+1); }); }; function _32(_33){ return function(e){ $.fn.datagrid.defaults.rowEvents[_33?"mouseover":"mouseout"](e); var tt=$(e.target); var fn=_33?"addClass":"removeClass"; if(tt.hasClass("tree-hit")){ tt.hasClass("tree-expanded")?tt[fn]("tree-expanded-hover"):tt[fn]("tree-collapsed-hover"); } }; }; function _34(e){ var tt=$(e.target); if(tt.hasClass("tree-hit")){ var tr=tt.closest("tr.datagrid-row"); var _35=tr.closest("div.datagrid-view").children(".datagrid-f")[0]; _36(_35,tr.attr("node-id")); }else{ $.fn.datagrid.defaults.rowEvents.click(e); } }; function _37(_38,_39){ var _3a=$.data(_38,"treegrid").options; var tr1=_3a.finder.getTr(_38,_39,"body",1); var tr2=_3a.finder.getTr(_38,_39,"body",2); var _3b=$(_38).datagrid("getColumnFields",true).length+(_3a.rownumbers?1:0); var _3c=$(_38).datagrid("getColumnFields",false).length; _3d(tr1,_3b); _3d(tr2,_3c); function _3d(tr,_3e){ $(""+""+"
                                                      "+""+"").insertAfter(tr); }; }; function _3f(_40,_41,_42,_43){ var _44=$.data(_40,"treegrid"); var _45=_44.options; var dc=_44.dc; _42=_45.loadFilter.call(_40,_42,_41); var _46=_47(_40,_41); if(_46){ var _48=_45.finder.getTr(_40,_41,"body",1); var _49=_45.finder.getTr(_40,_41,"body",2); var cc1=_48.next("tr.treegrid-tr-tree").children("td").children("div"); var cc2=_49.next("tr.treegrid-tr-tree").children("td").children("div"); if(!_43){ _46.children=[]; } }else{ var cc1=dc.body1; var cc2=dc.body2; if(!_43){ _44.data=[]; } } if(!_43){ cc1.empty(); cc2.empty(); } if(_45.view.onBeforeRender){ _45.view.onBeforeRender.call(_45.view,_40,_41,_42); } _45.view.render.call(_45.view,_40,cc1,true); _45.view.render.call(_45.view,_40,cc2,false); if(_45.showFooter){ _45.view.renderFooter.call(_45.view,_40,dc.footer1,true); _45.view.renderFooter.call(_45.view,_40,dc.footer2,false); } if(_45.view.onAfterRender){ _45.view.onAfterRender.call(_45.view,_40); } if(!_41&&_45.pagination){ var _4a=$.data(_40,"treegrid").total; var _4b=$(_40).datagrid("getPager"); if(_4b.pagination("options").total!=_4a){ _4b.pagination({total:_4a}); } } _26(_40); _2f(_40); $(_40).treegrid("showLines"); $(_40).treegrid("setSelectionState"); $(_40).treegrid("autoSizeColumn"); _45.onLoadSuccess.call(_40,_46,_42); }; function _25(_4c,_4d,_4e,_4f,_50){ var _51=$.data(_4c,"treegrid").options; var _52=$(_4c).datagrid("getPanel").find("div.datagrid-body"); if(_4e){ _51.queryParams=_4e; } var _53=$.extend({},_51.queryParams); if(_51.pagination){ $.extend(_53,{page:_51.pageNumber,rows:_51.pageSize}); } if(_51.sortName){ $.extend(_53,{sort:_51.sortName,order:_51.sortOrder}); } var row=_47(_4c,_4d); if(_51.onBeforeLoad.call(_4c,row,_53)==false){ return; } var _54=_52.find("tr[node-id=\""+_4d+"\"] span.tree-folder"); _54.addClass("tree-loading"); $(_4c).treegrid("loading"); var _55=_51.loader.call(_4c,_53,function(_56){ _54.removeClass("tree-loading"); $(_4c).treegrid("loaded"); _3f(_4c,_4d,_56,_4f); if(_50){ _50(); } },function(){ _54.removeClass("tree-loading"); $(_4c).treegrid("loaded"); _51.onLoadError.apply(_4c,arguments); if(_50){ _50(); } }); if(_55==false){ _54.removeClass("tree-loading"); $(_4c).treegrid("loaded"); } }; function _57(_58){ var _59=_5a(_58); if(_59.length){ return _59[0]; }else{ return null; } }; function _5a(_5b){ return $.data(_5b,"treegrid").data; }; function _5c(_5d,_5e){ var row=_47(_5d,_5e); if(row._parentId){ return _47(_5d,row._parentId); }else{ return null; } }; function _2b(_5f,_60){ var _61=$.data(_5f,"treegrid").options; var _62=$(_5f).datagrid("getPanel").find("div.datagrid-view2 div.datagrid-body"); var _63=[]; if(_60){ _64(_60); }else{ var _65=_5a(_5f); for(var i=0;i<_65.length;i++){ _63.push(_65[i]); _64(_65[i][_61.idField]); } } function _64(_66){ var _67=_47(_5f,_66); if(_67&&_67.children){ for(var i=0,len=_67.children.length;i").insertBefore(_95); if(hit.prev().length){ hit.prev().remove(); } } } _3f(_91,_92.parent,_92.data,true); }; function _96(_97,_98){ var ref=_98.before||_98.after; var _99=$.data(_97,"treegrid").options; var _9a=_5c(_97,ref); _90(_97,{parent:(_9a?_9a[_99.idField]:null),data:[_98.data]}); var _9b=_9a?_9a.children:$(_97).treegrid("getRoots"); for(var i=0;i<_9b.length;i++){ if(_9b[i][_99.idField]==ref){ var _9c=_9b[_9b.length-1]; _9b.splice(_98.before?i:(i+1),0,_9c); _9b.splice(_9b.length-1,1); break; } } _9d(true); _9d(false); _2f(_97); $(_97).treegrid("showLines"); function _9d(_9e){ var _9f=_9e?1:2; var tr=_99.finder.getTr(_97,_98.data[_99.idField],"body",_9f); var _a0=tr.closest("table.datagrid-btable"); tr=tr.parent().children(); var _a1=_99.finder.getTr(_97,ref,"body",_9f); if(_98.before){ tr.insertBefore(_a1); }else{ var sub=_a1.next("tr.treegrid-tr-tree"); tr.insertAfter(sub.length?sub:_a1); } _a0.remove(); }; }; function _a2(_a3,_a4){ var _a5=$.data(_a3,"treegrid"); $(_a3).datagrid("deleteRow",_a4); _2f(_a3); _a5.total-=1; $(_a3).datagrid("getPager").pagination("refresh",{total:_a5.total}); $(_a3).treegrid("showLines"); }; function _a6(_a7){ var t=$(_a7); var _a8=t.treegrid("options"); if(_a8.lines){ t.treegrid("getPanel").addClass("tree-lines"); }else{ t.treegrid("getPanel").removeClass("tree-lines"); return; } t.treegrid("getPanel").find("span.tree-indent").removeClass("tree-line tree-join tree-joinbottom"); t.treegrid("getPanel").find("div.datagrid-cell").removeClass("tree-node-last tree-root-first tree-root-one"); var _a9=t.treegrid("getRoots"); if(_a9.length>1){ _aa(_a9[0]).addClass("tree-root-first"); }else{ if(_a9.length==1){ _aa(_a9[0]).addClass("tree-root-one"); } } _ab(_a9); _ac(_a9); function _ab(_ad){ $.map(_ad,function(_ae){ if(_ae.children&&_ae.children.length){ _ab(_ae.children); }else{ var _af=_aa(_ae); _af.find(".tree-icon").prev().addClass("tree-join"); } }); if(_ad.length){ var _b0=_aa(_ad[_ad.length-1]); _b0.addClass("tree-node-last"); _b0.find(".tree-join").removeClass("tree-join").addClass("tree-joinbottom"); } }; function _ac(_b1){ $.map(_b1,function(_b2){ if(_b2.children&&_b2.children.length){ _ac(_b2.children); } }); for(var i=0;i<_b1.length-1;i++){ var _b3=_b1[i]; var _b4=t.treegrid("getLevel",_b3[_a8.idField]); var tr=_a8.finder.getTr(_a7,_b3[_a8.idField]); var cc=tr.next().find("tr.datagrid-row td[field=\""+_a8.treeField+"\"] div.datagrid-cell"); cc.find("span:eq("+(_b4-1)+")").addClass("tree-line"); } }; function _aa(_b5){ var tr=_a8.finder.getTr(_a7,_b5[_a8.idField]); var _b6=tr.find("td[field=\""+_a8.treeField+"\"] div.datagrid-cell"); return _b6; }; }; $.fn.treegrid=function(_b7,_b8){ if(typeof _b7=="string"){ var _b9=$.fn.treegrid.methods[_b7]; if(_b9){ return _b9(this,_b8); }else{ return this.datagrid(_b7,_b8); } } _b7=_b7||{}; return this.each(function(){ var _ba=$.data(this,"treegrid"); if(_ba){ $.extend(_ba.options,_b7); }else{ _ba=$.data(this,"treegrid",{options:$.extend({},$.fn.treegrid.defaults,$.fn.treegrid.parseOptions(this),_b7),data:[]}); } _1(this); if(_ba.options.data){ $(this).treegrid("loadData",_ba.options.data); } _25(this); }); }; $.fn.treegrid.methods={options:function(jq){ return $.data(jq[0],"treegrid").options; },resize:function(jq,_bb){ return jq.each(function(){ $(this).datagrid("resize",_bb); }); },fixRowHeight:function(jq,_bc){ return jq.each(function(){ _26(this,_bc); }); },loadData:function(jq,_bd){ return jq.each(function(){ _3f(this,_bd.parent,_bd); }); },load:function(jq,_be){ return jq.each(function(){ $(this).treegrid("options").pageNumber=1; $(this).treegrid("getPager").pagination({pageNumber:1}); $(this).treegrid("reload",_be); }); },reload:function(jq,id){ return jq.each(function(){ var _bf=$(this).treegrid("options"); var _c0={}; if(typeof id=="object"){ _c0=id; }else{ _c0=$.extend({},_bf.queryParams); _c0.id=id; } if(_c0.id){ var _c1=$(this).treegrid("find",_c0.id); if(_c1.children){ _c1.children.splice(0,_c1.children.length); } _bf.queryParams=_c0; var tr=_bf.finder.getTr(this,_c0.id); tr.next("tr.treegrid-tr-tree").remove(); tr.find("span.tree-hit").removeClass("tree-expanded tree-expanded-hover").addClass("tree-collapsed"); _78(this,_c0.id); }else{ _25(this,null,_c0); } }); },reloadFooter:function(jq,_c2){ return jq.each(function(){ var _c3=$.data(this,"treegrid").options; var dc=$.data(this,"datagrid").dc; if(_c2){ $.data(this,"treegrid").footer=_c2; } if(_c3.showFooter){ _c3.view.renderFooter.call(_c3.view,this,dc.footer1,true); _c3.view.renderFooter.call(_c3.view,this,dc.footer2,false); if(_c3.view.onAfterRender){ _c3.view.onAfterRender.call(_c3.view,this); } $(this).treegrid("fixRowHeight"); } }); },getData:function(jq){ return $.data(jq[0],"treegrid").data; },getFooterRows:function(jq){ return $.data(jq[0],"treegrid").footer; },getRoot:function(jq){ return _57(jq[0]); },getRoots:function(jq){ return _5a(jq[0]); },getParent:function(jq,id){ return _5c(jq[0],id); },getChildren:function(jq,id){ return _2b(jq[0],id); },getLevel:function(jq,id){ return _69(jq[0],id); },find:function(jq,id){ return _47(jq[0],id); },isLeaf:function(jq,id){ var _c4=$.data(jq[0],"treegrid").options; var tr=_c4.finder.getTr(jq[0],id); var hit=tr.find("span.tree-hit"); return hit.length==0; },select:function(jq,id){ return jq.each(function(){ $(this).datagrid("selectRow",id); }); },unselect:function(jq,id){ return jq.each(function(){ $(this).datagrid("unselectRow",id); }); },collapse:function(jq,id){ return jq.each(function(){ _74(this,id); }); },expand:function(jq,id){ return jq.each(function(){ _78(this,id); }); },toggle:function(jq,id){ return jq.each(function(){ _36(this,id); }); },collapseAll:function(jq,id){ return jq.each(function(){ _82(this,id); }); },expandAll:function(jq,id){ return jq.each(function(){ _87(this,id); }); },expandTo:function(jq,id){ return jq.each(function(){ _8c(this,id); }); },append:function(jq,_c5){ return jq.each(function(){ _90(this,_c5); }); },insert:function(jq,_c6){ return jq.each(function(){ _96(this,_c6); }); },remove:function(jq,id){ return jq.each(function(){ _a2(this,id); }); },pop:function(jq,id){ var row=jq.treegrid("find",id); jq.treegrid("remove",id); return row; },refresh:function(jq,id){ return jq.each(function(){ var _c7=$.data(this,"treegrid").options; _c7.view.refreshRow.call(_c7.view,this,id); }); },update:function(jq,_c8){ return jq.each(function(){ var _c9=$.data(this,"treegrid").options; _c9.view.updateRow.call(_c9.view,this,_c8.id,_c8.row); }); },beginEdit:function(jq,id){ return jq.each(function(){ $(this).datagrid("beginEdit",id); $(this).treegrid("fixRowHeight",id); }); },endEdit:function(jq,id){ return jq.each(function(){ $(this).datagrid("endEdit",id); }); },cancelEdit:function(jq,id){ return jq.each(function(){ $(this).datagrid("cancelEdit",id); }); },showLines:function(jq){ return jq.each(function(){ _a6(this); }); }}; $.fn.treegrid.parseOptions=function(_ca){ return $.extend({},$.fn.datagrid.parseOptions(_ca),$.parser.parseOptions(_ca,["treeField",{animate:"boolean"}])); }; var _cb=$.extend({},$.fn.datagrid.defaults.view,{render:function(_cc,_cd,_ce){ var _cf=$.data(_cc,"treegrid").options; var _d0=$(_cc).datagrid("getColumnFields",_ce); var _d1=$.data(_cc,"datagrid").rowIdPrefix; if(_ce){ if(!(_cf.rownumbers||(_cf.frozenColumns&&_cf.frozenColumns.length))){ return; } } var _d2=this; if(this.treeNodes&&this.treeNodes.length){ var _d3=_d4(_ce,this.treeLevel,this.treeNodes); $(_cd).append(_d3.join("")); } function _d4(_d5,_d6,_d7){ var _d8=$(_cc).treegrid("getParent",_d7[0][_cf.idField]); var _d9=(_d8?_d8.children.length:$(_cc).treegrid("getRoots").length)-_d7.length; var _da=[""]; for(var i=0;i<_d7.length;i++){ var row=_d7[i]; if(row.state!="open"&&row.state!="closed"){ row.state="open"; } var css=_cf.rowStyler?_cf.rowStyler.call(_cc,row):""; var _db=""; var _dc=""; if(typeof css=="string"){ _dc=css; }else{ if(css){ _db=css["class"]||""; _dc=css["style"]||""; } } var cls="class=\"datagrid-row "+(_d9++%2&&_cf.striped?"datagrid-row-alt ":" ")+_db+"\""; var _dd=_dc?"style=\""+_dc+"\"":""; var _de=_d1+"-"+(_d5?1:2)+"-"+row[_cf.idField]; _da.push(""); _da=_da.concat(_d2.renderRow.call(_d2,_cc,_d0,_d5,_d6,row)); _da.push(""); if(row.children&&row.children.length){ var tt=_d4(_d5,_d6+1,row.children); var v=row.state=="closed"?"none":"block"; _da.push(""); } } _da.push("
                                                      "); _da=_da.concat(tt); _da.push("
                                                      "); return _da; }; },renderFooter:function(_df,_e0,_e1){ var _e2=$.data(_df,"treegrid").options; var _e3=$.data(_df,"treegrid").footer||[]; var _e4=$(_df).datagrid("getColumnFields",_e1); var _e5=[""]; for(var i=0;i<_e3.length;i++){ var row=_e3[i]; row[_e2.idField]=row[_e2.idField]||("foot-row-id"+i); _e5.push(""); _e5.push(this.renderRow.call(this,_df,_e4,_e1,0,row)); _e5.push(""); } _e5.push("
                                                      "); $(_e0).html(_e5.join("")); },renderRow:function(_e6,_e7,_e8,_e9,row){ var _ea=$.data(_e6,"treegrid").options; var cc=[]; if(_e8&&_ea.rownumbers){ cc.push("
                                                      0
                                                      "); } for(var i=0;i<_e7.length;i++){ var _eb=_e7[i]; var col=$(_e6).datagrid("getColumnOption",_eb); if(col){ var css=col.styler?(col.styler(row[_eb],row)||""):""; var _ec=""; var _ed=""; if(typeof css=="string"){ _ed=css; }else{ if(cc){ _ec=css["class"]||""; _ed=css["style"]||""; } } var cls=_ec?"class=\""+_ec+"\"":""; var _ee=col.hidden?"style=\"display:none;"+_ed+"\"":(_ed?"style=\""+_ed+"\"":""); cc.push(""); var _ee=""; if(!col.checkbox){ if(col.align){ _ee+="text-align:"+col.align+";"; } if(!_ea.nowrap){ _ee+="white-space:normal;height:auto;"; }else{ if(_ea.autoRowHeight){ _ee+="height:auto;"; } } } cc.push("
                                                      "); if(col.checkbox){ if(row.checked){ cc.push(""); }else{ var val=null; if(col.formatter){ val=col.formatter(row[_eb],row); }else{ val=row[_eb]; } if(_eb==_ea.treeField){ for(var j=0;j<_e9;j++){ cc.push(""); } if(row.state=="closed"){ cc.push(""); cc.push(""); }else{ if(row.children&&row.children.length){ cc.push(""); cc.push(""); }else{ cc.push(""); cc.push(""); } } cc.push(""+val+""); }else{ cc.push(val); } } cc.push("
                                                      "); cc.push(""); } } return cc.join(""); },refreshRow:function(_ef,id){ this.updateRow.call(this,_ef,id,{}); },updateRow:function(_f0,id,row){ var _f1=$.data(_f0,"treegrid").options; var _f2=$(_f0).treegrid("find",id); $.extend(_f2,row); var _f3=$(_f0).treegrid("getLevel",id)-1; var _f4=_f1.rowStyler?_f1.rowStyler.call(_f0,_f2):""; var _f5=$.data(_f0,"datagrid").rowIdPrefix; var _f6=_f2[_f1.idField]; function _f7(_f8){ var _f9=$(_f0).treegrid("getColumnFields",_f8); var tr=_f1.finder.getTr(_f0,id,"body",(_f8?1:2)); var _fa=tr.find("div.datagrid-cell-rownumber").html(); var _fb=tr.find("div.datagrid-cell-check input[type=checkbox]").is(":checked"); tr.html(this.renderRow(_f0,_f9,_f8,_f3,_f2)); tr.attr("style",_f4||""); tr.find("div.datagrid-cell-rownumber").html(_fa); if(_fb){ tr.find("div.datagrid-cell-check input[type=checkbox]")._propAttr("checked",true); } if(_f6!=id){ tr.attr("id",_f5+"-"+(_f8?1:2)+"-"+_f6); tr.attr("node-id",_f6); } }; _f7.call(this,true); _f7.call(this,false); $(_f0).treegrid("fixRowHeight",id); },deleteRow:function(_fc,id){ var _fd=$.data(_fc,"treegrid").options; var tr=_fd.finder.getTr(_fc,id); tr.next("tr.treegrid-tr-tree").remove(); tr.remove(); var _fe=del(id); if(_fe){ if(_fe.children.length==0){ tr=_fd.finder.getTr(_fc,_fe[_fd.idField]); tr.next("tr.treegrid-tr-tree").remove(); var _ff=tr.children("td[field=\""+_fd.treeField+"\"]").children("div.datagrid-cell"); _ff.find(".tree-icon").removeClass("tree-folder").addClass("tree-file"); _ff.find(".tree-hit").remove(); $("").prependTo(_ff); } } function del(id){ var cc; var _100=$(_fc).treegrid("getParent",id); if(_100){ cc=_100.children; }else{ cc=$(_fc).treegrid("getData"); } for(var i=0;ib?1:-1); }; r=_10b(r1[sn],r2[sn])*(so=="asc"?1:-1); if(r!=0){ return r; } } return r; }); for(var i=0;i=_3d[0]&&len<=_3d[1]; },message:"Please enter a value between {0} and {1}."},remote:{validator:function(_3e,_3f){ var _40={}; _40[_3f[1]]=_3e; var _41=$.ajax({url:_3f[0],dataType:"json",data:_40,async:false,cache:false,type:"post"}).responseText; return _41=="true"; },message:"Please fix this field."}},onBeforeValidate:function(){ },onValidate:function(_42){ }}; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/plugins/jquery.window.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ (function($){ function _1(_2,_3){ var _4=$.data(_2,"window"); if(_3){ if(_3.left!=null){ _4.options.left=_3.left; } if(_3.top!=null){ _4.options.top=_3.top; } } $(_2).panel("move",_4.options); if(_4.shadow){ _4.shadow.css({left:_4.options.left,top:_4.options.top}); } }; function _5(_6,_7){ var _8=$.data(_6,"window").options; var pp=$(_6).window("panel"); var _9=pp._outerWidth(); if(_8.inline){ var _a=pp.parent(); _8.left=Math.ceil((_a.width()-_9)/2+_a.scrollLeft()); }else{ _8.left=Math.ceil(($(window)._outerWidth()-_9)/2+$(document).scrollLeft()); } if(_7){ _1(_6); } }; function _b(_c,_d){ var _e=$.data(_c,"window").options; var pp=$(_c).window("panel"); var _f=pp._outerHeight(); if(_e.inline){ var _10=pp.parent(); _e.top=Math.ceil((_10.height()-_f)/2+_10.scrollTop()); }else{ _e.top=Math.ceil(($(window)._outerHeight()-_f)/2+$(document).scrollTop()); } if(_d){ _1(_c); } }; function _11(_12){ var _13=$.data(_12,"window"); var _14=_13.options; var win=$(_12).panel($.extend({},_13.options,{border:false,doSize:true,closed:true,cls:"window",headerCls:"window-header",bodyCls:"window-body "+(_14.noheader?"window-body-noheader":""),onBeforeDestroy:function(){ if(_14.onBeforeDestroy.call(_12)==false){ return false; } if(_13.shadow){ _13.shadow.remove(); } if(_13.mask){ _13.mask.remove(); } },onClose:function(){ if(_13.shadow){ _13.shadow.hide(); } if(_13.mask){ _13.mask.hide(); } _14.onClose.call(_12); },onOpen:function(){ if(_13.mask){ _13.mask.css({display:"block",zIndex:$.fn.window.defaults.zIndex++}); } if(_13.shadow){ _13.shadow.css({display:"block",zIndex:$.fn.window.defaults.zIndex++,left:_14.left,top:_14.top,width:_13.window._outerWidth(),height:_13.window._outerHeight()}); } _13.window.css("z-index",$.fn.window.defaults.zIndex++); _14.onOpen.call(_12); },onResize:function(_15,_16){ var _17=$(this).panel("options"); $.extend(_14,{width:_17.width,height:_17.height,left:_17.left,top:_17.top}); if(_13.shadow){ _13.shadow.css({left:_14.left,top:_14.top,width:_13.window._outerWidth(),height:_13.window._outerHeight()}); } _14.onResize.call(_12,_15,_16); },onMinimize:function(){ if(_13.shadow){ _13.shadow.hide(); } if(_13.mask){ _13.mask.hide(); } _13.options.onMinimize.call(_12); },onBeforeCollapse:function(){ if(_14.onBeforeCollapse.call(_12)==false){ return false; } if(_13.shadow){ _13.shadow.hide(); } },onExpand:function(){ if(_13.shadow){ _13.shadow.show(); } _14.onExpand.call(_12); }})); _13.window=win.panel("panel"); if(_13.mask){ _13.mask.remove(); } if(_14.modal==true){ _13.mask=$("
                                                      ").insertAfter(_13.window); _13.mask.css({width:(_14.inline?_13.mask.parent().width():_18().width),height:(_14.inline?_13.mask.parent().height():_18().height),display:"none"}); } if(_13.shadow){ _13.shadow.remove(); } if(_14.shadow==true){ _13.shadow=$("
                                                      ").insertAfter(_13.window); _13.shadow.css({display:"none"}); } if(_14.left==null){ _5(_12); } if(_14.top==null){ _b(_12); } _1(_12); if(!_14.closed){ win.window("open"); } }; function _19(_1a){ var _1b=$.data(_1a,"window"); _1b.window.draggable({handle:">div.panel-header>div.panel-title",disabled:_1b.options.draggable==false,onStartDrag:function(e){ if(_1b.mask){ _1b.mask.css("z-index",$.fn.window.defaults.zIndex++); } if(_1b.shadow){ _1b.shadow.css("z-index",$.fn.window.defaults.zIndex++); } _1b.window.css("z-index",$.fn.window.defaults.zIndex++); if(!_1b.proxy){ _1b.proxy=$("
                                                      ").insertAfter(_1b.window); } _1b.proxy.css({display:"none",zIndex:$.fn.window.defaults.zIndex++,left:e.data.left,top:e.data.top}); _1b.proxy._outerWidth(_1b.window._outerWidth()); _1b.proxy._outerHeight(_1b.window._outerHeight()); setTimeout(function(){ if(_1b.proxy){ _1b.proxy.show(); } },500); },onDrag:function(e){ _1b.proxy.css({display:"block",left:e.data.left,top:e.data.top}); return false; },onStopDrag:function(e){ _1b.options.left=e.data.left; _1b.options.top=e.data.top; $(_1a).window("move"); _1b.proxy.remove(); _1b.proxy=null; }}); _1b.window.resizable({disabled:_1b.options.resizable==false,onStartResize:function(e){ if(_1b.pmask){ _1b.pmask.remove(); } _1b.pmask=$("
                                                      ").insertAfter(_1b.window); _1b.pmask.css({zIndex:$.fn.window.defaults.zIndex++,left:e.data.left,top:e.data.top,width:_1b.window._outerWidth(),height:_1b.window._outerHeight()}); if(_1b.proxy){ _1b.proxy.remove(); } _1b.proxy=$("
                                                      ").insertAfter(_1b.window); _1b.proxy.css({zIndex:$.fn.window.defaults.zIndex++,left:e.data.left,top:e.data.top}); _1b.proxy._outerWidth(e.data.width)._outerHeight(e.data.height); },onResize:function(e){ _1b.proxy.css({left:e.data.left,top:e.data.top}); _1b.proxy._outerWidth(e.data.width); _1b.proxy._outerHeight(e.data.height); return false; },onStopResize:function(e){ $(_1a).window("resize",e.data); _1b.pmask.remove(); _1b.pmask=null; _1b.proxy.remove(); _1b.proxy=null; }}); }; function _18(){ if(document.compatMode=="BackCompat"){ return {width:Math.max(document.body.scrollWidth,document.body.clientWidth),height:Math.max(document.body.scrollHeight,document.body.clientHeight)}; }else{ return {width:Math.max(document.documentElement.scrollWidth,document.documentElement.clientWidth),height:Math.max(document.documentElement.scrollHeight,document.documentElement.clientHeight)}; } }; $(window).resize(function(){ $("body>div.window-mask").css({width:$(window)._outerWidth(),height:$(window)._outerHeight()}); setTimeout(function(){ $("body>div.window-mask").css({width:_18().width,height:_18().height}); },50); }); $.fn.window=function(_1c,_1d){ if(typeof _1c=="string"){ var _1e=$.fn.window.methods[_1c]; if(_1e){ return _1e(this,_1d); }else{ return this.panel(_1c,_1d); } } _1c=_1c||{}; return this.each(function(){ var _1f=$.data(this,"window"); if(_1f){ $.extend(_1f.options,_1c); }else{ _1f=$.data(this,"window",{options:$.extend({},$.fn.window.defaults,$.fn.window.parseOptions(this),_1c)}); if(!_1f.options.inline){ document.body.appendChild(this); } } _11(this); _19(this); }); }; $.fn.window.methods={options:function(jq){ var _20=jq.panel("options"); var _21=$.data(jq[0],"window").options; return $.extend(_21,{closed:_20.closed,collapsed:_20.collapsed,minimized:_20.minimized,maximized:_20.maximized}); },window:function(jq){ return $.data(jq[0],"window").window; },move:function(jq,_22){ return jq.each(function(){ _1(this,_22); }); },hcenter:function(jq){ return jq.each(function(){ _5(this,true); }); },vcenter:function(jq){ return jq.each(function(){ _b(this,true); }); },center:function(jq){ return jq.each(function(){ _5(this); _b(this); _1(this); }); }}; $.fn.window.parseOptions=function(_23){ return $.extend({},$.fn.panel.parseOptions(_23),$.parser.parseOptions(_23,[{draggable:"boolean",resizable:"boolean",shadow:"boolean",modal:"boolean",inline:"boolean"}])); }; $.fn.window.defaults=$.extend({},$.fn.panel.defaults,{zIndex:9000,draggable:true,resizable:true,shadow:true,modal:false,inline:false,title:"New Window",collapsible:true,minimizable:true,maximizable:true,closable:true,closed:false}); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/readme.txt ================================================ Current Version: 1.4.1 ====================== This software is allowed to use under GPL or you need to buy commercial license for better support or other purpose. Please contact us at info@jeasyui.com ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/src/easyloader.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ /** * easyloader - jQuery EasyUI * */ (function(){ var modules = { draggable:{ js:'jquery.draggable.js' }, droppable:{ js:'jquery.droppable.js' }, resizable:{ js:'jquery.resizable.js' }, linkbutton:{ js:'jquery.linkbutton.js', css:'linkbutton.css' }, progressbar:{ js:'jquery.progressbar.js', css:'progressbar.css' }, tooltip:{ js:'jquery.tooltip.js', css:'tooltip.css' }, pagination:{ js:'jquery.pagination.js', css:'pagination.css', dependencies:['linkbutton'] }, datagrid:{ js:'jquery.datagrid.js', css:'datagrid.css', dependencies:['panel','resizable','linkbutton','pagination'] }, treegrid:{ js:'jquery.treegrid.js', css:'tree.css', dependencies:['datagrid'] }, propertygrid:{ js:'jquery.propertygrid.js', css:'propertygrid.css', dependencies:['datagrid'] }, panel: { js:'jquery.panel.js', css:'panel.css' }, window:{ js:'jquery.window.js', css:'window.css', dependencies:['resizable','draggable','panel'] }, dialog:{ js:'jquery.dialog.js', css:'dialog.css', dependencies:['linkbutton','window'] }, messager:{ js:'jquery.messager.js', css:'messager.css', dependencies:['linkbutton','window','progressbar'] }, layout:{ js:'jquery.layout.js', css:'layout.css', dependencies:['resizable','panel'] }, form:{ js:'jquery.form.js' }, menu:{ js:'jquery.menu.js', css:'menu.css' }, tabs:{ js:'jquery.tabs.js', css:'tabs.css', dependencies:['panel','linkbutton'] }, menubutton:{ js:'jquery.menubutton.js', css:'menubutton.css', dependencies:['linkbutton','menu'] }, splitbutton:{ js:'jquery.splitbutton.js', css:'splitbutton.css', dependencies:['menubutton'] }, accordion:{ js:'jquery.accordion.js', css:'accordion.css', dependencies:['panel'] }, calendar:{ js:'jquery.calendar.js', css:'calendar.css' }, textbox:{ js:'jquery.textbox.js', css:'textbox.css', dependencies:['validatebox','linkbutton'] }, filebox:{ js:'jquery.filebox.js', css:'filebox.css', dependencies:['textbox'] }, combo:{ js:'jquery.combo.js', css:'combo.css', dependencies:['panel','textbox'] }, combobox:{ js:'jquery.combobox.js', css:'combobox.css', dependencies:['combo'] }, combotree:{ js:'jquery.combotree.js', dependencies:['combo','tree'] }, combogrid:{ js:'jquery.combogrid.js', dependencies:['combo','datagrid'] }, validatebox:{ js:'jquery.validatebox.js', css:'validatebox.css', dependencies:['tooltip'] }, numberbox:{ js:'jquery.numberbox.js', dependencies:['textbox'] }, searchbox:{ js:'jquery.searchbox.js', css:'searchbox.css', dependencies:['menubutton','textbox'] }, spinner:{ js:'jquery.spinner.js', css:'spinner.css', dependencies:['textbox'] }, numberspinner:{ js:'jquery.numberspinner.js', dependencies:['spinner','numberbox'] }, timespinner:{ js:'jquery.timespinner.js', dependencies:['spinner'] }, tree:{ js:'jquery.tree.js', css:'tree.css', dependencies:['draggable','droppable'] }, datebox:{ js:'jquery.datebox.js', css:'datebox.css', dependencies:['calendar','combo'] }, datetimebox:{ js:'jquery.datetimebox.js', dependencies:['datebox','timespinner'] }, slider:{ js:'jquery.slider.js', dependencies:['draggable'] }, tooltip:{ js:'jquery.tooltip.js' }, parser:{ js:'jquery.parser.js' } }; var locales = { 'af':'easyui-lang-af.js', 'ar':'easyui-lang-ar.js', 'bg':'easyui-lang-bg.js', 'ca':'easyui-lang-ca.js', 'cs':'easyui-lang-cs.js', 'cz':'easyui-lang-cz.js', 'da':'easyui-lang-da.js', 'de':'easyui-lang-de.js', 'el':'easyui-lang-el.js', 'en':'easyui-lang-en.js', 'es':'easyui-lang-es.js', 'fr':'easyui-lang-fr.js', 'it':'easyui-lang-it.js', 'jp':'easyui-lang-jp.js', 'nl':'easyui-lang-nl.js', 'pl':'easyui-lang-pl.js', 'pt_BR':'easyui-lang-pt_BR.js', 'ru':'easyui-lang-ru.js', 'sv_SE':'easyui-lang-sv_SE.js', 'tr':'easyui-lang-tr.js', 'zh_CN':'easyui-lang-zh_CN.js', 'zh_TW':'easyui-lang-zh_TW.js' }; var queues = {}; function loadJs(url, callback){ var done = false; var script = document.createElement('script'); script.type = 'text/javascript'; script.language = 'javascript'; script.src = url; script.onload = script.onreadystatechange = function(){ if (!done && (!script.readyState || script.readyState == 'loaded' || script.readyState == 'complete')){ done = true; script.onload = script.onreadystatechange = null; if (callback){ callback.call(script); } } } document.getElementsByTagName("head")[0].appendChild(script); } function runJs(url, callback){ loadJs(url, function(){ document.getElementsByTagName("head")[0].removeChild(this); if (callback){ callback(); } }); } function loadCss(url, callback){ var link = document.createElement('link'); link.rel = 'stylesheet'; link.type = 'text/css'; link.media = 'screen'; link.href = url; document.getElementsByTagName('head')[0].appendChild(link); if (callback){ callback.call(link); } } function loadSingle(name, callback){ queues[name] = 'loading'; var module = modules[name]; var jsStatus = 'loading'; var cssStatus = (easyloader.css && module['css']) ? 'loading' : 'loaded'; if (easyloader.css && module['css']){ if (/^http/i.test(module['css'])){ var url = module['css']; } else { var url = easyloader.base + 'themes/' + easyloader.theme + '/' + module['css']; } loadCss(url, function(){ cssStatus = 'loaded'; if (jsStatus == 'loaded' && cssStatus == 'loaded'){ finish(); } }); } if (/^http/i.test(module['js'])){ var url = module['js']; } else { var url = easyloader.base + 'plugins/' + module['js']; } loadJs(url, function(){ jsStatus = 'loaded'; if (jsStatus == 'loaded' && cssStatus == 'loaded'){ finish(); } }); function finish(){ queues[name] = 'loaded'; easyloader.onProgress(name); if (callback){ callback(); } } } function loadModule(name, callback){ var mm = []; var doLoad = false; if (typeof name == 'string'){ add(name); } else { for(var i=0; idiv.panel>div.accordion-header'); if (headers.length){ headerHeight = $(headers[0]).css('height', '')._outerHeight(); } if (!isNaN(parseInt(opts.height))){ bodyHeight = cc.height() - headerHeight*headers.length; } _resize(true, bodyHeight - _resize(false) + 1); function _resize(collapsible, height){ var totalHeight = 0; for(var i=0; i= panels.length){ return null; } else { return panels[which]; } } return findBy(container, 'title', which); } function setProperties(container){ var opts = $.data(container, 'accordion').options; var cc = $(container); if (opts.border){ cc.removeClass('accordion-noborder'); } else { cc.addClass('accordion-noborder'); } } function init(container){ var state = $.data(container, 'accordion'); var cc = $(container); cc.addClass('accordion'); state.panels = []; cc.children('div').each(function(){ var opts = $.extend({}, $.parser.parseOptions(this), { selected: ($(this).attr('selected') ? true : undefined) }); var pp = $(this); state.panels.push(pp); createPanel(container, pp, opts); }); cc.bind('_resize', function(e,force){ if ($(this).hasClass('easyui-fluid') || force){ setSize(container); } return false; }); } function createPanel(container, pp, options){ var opts = $.data(container, 'accordion').options; pp.panel($.extend({}, { collapsible: true, minimizable: false, maximizable: false, closable: false, doSize: false, collapsed: true, headerCls: 'accordion-header', bodyCls: 'accordion-body' }, options, { onBeforeExpand: function(){ if (options.onBeforeExpand){ if (options.onBeforeExpand.call(this) == false){return false} } if (!opts.multiple){ // get all selected panel var all = $.grep(getSelections(container), function(p){ return p.panel('options').collapsible; }); for(var i=0; i').addClass('accordion-collapse accordion-expand').appendTo(tool); t.bind('click', function(){ var index = getPanelIndex(container, pp); if (pp.panel('options').collapsed){ select(container, index); } else { unselect(container, index); } return false; }); pp.panel('options').collapsible ? t.show() : t.hide(); header.click(function(){ $(this).find('a.accordion-collapse:visible').triggerHandler('click'); return false; }); } /** * select and set the specified panel active */ function select(container, which){ var p = getPanel(container, which); if (!p){return} stopAnimate(container); var opts = $.data(container, 'accordion').options; p.panel('expand', opts.animate); } function unselect(container, which){ var p = getPanel(container, which); if (!p){return} stopAnimate(container); var opts = $.data(container, 'accordion').options; p.panel('collapse', opts.animate); } function doFirstSelect(container){ var opts = $.data(container, 'accordion').options; var p = findBy(container, 'selected', true); if (p){ _select(getPanelIndex(container, p)); } else { _select(opts.selected); } function _select(index){ var animate = opts.animate; opts.animate = false; select(container, index); opts.animate = animate; } } /** * stop the animation of all panels */ function stopAnimate(container){ var panels = $.data(container, 'accordion').panels; for(var i=0; i
                                                      ').appendTo(container); panels.push(pp); createPanel(container, pp, options); setSize(container); opts.onAdd.call(container, options.title, panels.length-1); if (options.selected){ select(container, panels.length-1); } } function remove(container, which){ var state = $.data(container, 'accordion'); var opts = state.options; var panels = state.panels; stopAnimate(container); var panel = getPanel(container, which); var title = panel.panel('options').title; var index = getPanelIndex(container, panel); if (!panel){return} if (opts.onBeforeRemove.call(container, title, index) == false){return} panels.splice(index, 1); panel.panel('destroy'); if (panels.length){ setSize(container); var curr = getSelected(container); if (!curr){ select(container, 0); } } opts.onRemove.call(container, title, index); } $.fn.accordion = function(options, param){ if (typeof options == 'string'){ return $.fn.accordion.methods[options](this, param); } options = options || {}; return this.each(function(){ var state = $.data(this, 'accordion'); if (state){ $.extend(state.options, options); } else { $.data(this, 'accordion', { options: $.extend({}, $.fn.accordion.defaults, $.fn.accordion.parseOptions(this), options), accordion: $(this).addClass('accordion'), panels: [] }); init(this); } setProperties(this); setSize(this); doFirstSelect(this); }); }; $.fn.accordion.methods = { options: function(jq){ return $.data(jq[0], 'accordion').options; }, panels: function(jq){ return $.data(jq[0], 'accordion').panels; }, resize: function(jq, param){ return jq.each(function(){ setSize(this, param); }); }, getSelections: function(jq){ return getSelections(jq[0]); }, getSelected: function(jq){ return getSelected(jq[0]); }, getPanel: function(jq, which){ return getPanel(jq[0], which); }, getPanelIndex: function(jq, panel){ return getPanelIndex(jq[0], panel); }, select: function(jq, which){ return jq.each(function(){ select(this, which); }); }, unselect: function(jq, which){ return jq.each(function(){ unselect(this, which); }); }, add: function(jq, options){ return jq.each(function(){ add(this, options); }); }, remove: function(jq, which){ return jq.each(function(){ remove(this, which); }); } }; $.fn.accordion.parseOptions = function(target){ var t = $(target); return $.extend({}, $.parser.parseOptions(target, [ 'width','height', {fit:'boolean',border:'boolean',animate:'boolean',multiple:'boolean',selected:'number'} ])); }; $.fn.accordion.defaults = { width: 'auto', height: 'auto', fit: false, border: true, animate: true, multiple: false, selected: 0, onSelect: function(title, index){}, onUnselect: function(title, index){}, onAdd: function(title, index){}, onBeforeRemove: function(title, index){}, onRemove: function(title, index){} }; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/src/jquery.calendar.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ /** * calendar - jQuery EasyUI * */ (function($){ function setSize(target, param){ var opts = $.data(target, 'calendar').options; var t = $(target); if (param){ $.extend(opts, { width: param.width, height: param.height }); } t._size(opts, t.parent()); t.find('.calendar-body')._outerHeight(t.height() - t.find('.calendar-header')._outerHeight()); if (t.find('.calendar-menu').is(':visible')){ showSelectMenus(target); } } function init(target){ $(target).addClass('calendar').html( '
                                                      ' + '
                                                      ' + '
                                                      ' + '
                                                      ' + '
                                                      ' + '
                                                      ' + '' + '
                                                      ' + '
                                                      ' + '
                                                      ' + '
                                                      ' + '
                                                      ' + '' + '' + '' + '
                                                      ' + '
                                                      ' + '
                                                      ' + '
                                                      ' + '
                                                      ' ); $(target).bind('_resize', function(e,force){ if ($(this).hasClass('easyui-fluid') || force){ setSize(target); } return false; }); } function bindEvents(target){ var opts = $.data(target, 'calendar').options; var menu = $(target).find('.calendar-menu'); menu.find('.calendar-menu-year').unbind('.calendar').bind('keypress.calendar', function(e){ if (e.keyCode == 13){ setDate(true); } }); $(target).unbind('.calendar').bind('mouseover.calendar', function(e){ var t = toTarget(e.target); if (t.hasClass('calendar-nav') || t.hasClass('calendar-text') || (t.hasClass('calendar-day') && !t.hasClass('calendar-disabled'))){ t.addClass('calendar-nav-hover'); } }).bind('mouseout.calendar', function(e){ var t = toTarget(e.target); if (t.hasClass('calendar-nav') || t.hasClass('calendar-text') || (t.hasClass('calendar-day') && !t.hasClass('calendar-disabled'))){ t.removeClass('calendar-nav-hover'); } }).bind('click.calendar', function(e){ var t = toTarget(e.target); if (t.hasClass('calendar-menu-next') || t.hasClass('calendar-nextyear')){ showYear(1); } else if (t.hasClass('calendar-menu-prev') || t.hasClass('calendar-prevyear')){ showYear(-1); } else if (t.hasClass('calendar-menu-month')){ menu.find('.calendar-selected').removeClass('calendar-selected'); t.addClass('calendar-selected'); setDate(true); } else if (t.hasClass('calendar-prevmonth')){ showMonth(-1); } else if (t.hasClass('calendar-nextmonth')){ showMonth(1); } else if (t.hasClass('calendar-text')){ if (menu.is(':visible')){ menu.hide(); } else { showSelectMenus(target); } } else if (t.hasClass('calendar-day')){ if (t.hasClass('calendar-disabled')){return} var oldValue = opts.current; t.closest('div.calendar-body').find('.calendar-selected').removeClass('calendar-selected'); t.addClass('calendar-selected'); var parts = t.attr('abbr').split(','); var y = parseInt(parts[0]); var m = parseInt(parts[1]); var d = parseInt(parts[2]); opts.current = new Date(y, m-1, d); opts.onSelect.call(target, opts.current); if (!oldValue || oldValue.getTime() != opts.current.getTime()){ opts.onChange.call(target, opts.current, oldValue); } if (opts.year != y || opts.month != m){ opts.year = y; opts.month = m; show(target); } } }); function toTarget(t){ var day = $(t).closest('.calendar-day'); if (day.length){ return day; } else { return $(t); } } function setDate(hideMenu){ var menu = $(target).find('.calendar-menu'); var year = menu.find('.calendar-menu-year').val(); var month = menu.find('.calendar-selected').attr('abbr'); if (!isNaN(year)){ opts.year = parseInt(year); opts.month = parseInt(month); show(target); } if (hideMenu){menu.hide()} } function showYear(delta){ opts.year += delta; show(target); menu.find('.calendar-menu-year').val(opts.year); } function showMonth(delta){ opts.month += delta; if (opts.month > 12){ opts.year++; opts.month = 1; } else if (opts.month < 1){ opts.year--; opts.month = 12; } show(target); menu.find('td.calendar-selected').removeClass('calendar-selected'); menu.find('td:eq(' + (opts.month-1) + ')').addClass('calendar-selected'); } } /** * show the select menu that can change year or month, if the menu is not be created then create it. */ function showSelectMenus(target){ var opts = $.data(target, 'calendar').options; $(target).find('.calendar-menu').show(); if ($(target).find('.calendar-menu-month-inner').is(':empty')){ $(target).find('.calendar-menu-month-inner').empty(); var t = $('
                                                      ').appendTo($(target).find('.calendar-menu-month-inner')); var idx = 0; for(var i=0; i<3; i++){ var tr = $('').appendTo(t); for(var j=0; j<4; j++){ $('').html(opts.months[idx++]).attr('abbr',idx).appendTo(tr); } } } var body = $(target).find('.calendar-body'); var sele = $(target).find('.calendar-menu'); var seleYear = sele.find('.calendar-menu-year-inner'); var seleMonth = sele.find('.calendar-menu-month-inner'); seleYear.find('input').val(opts.year).focus(); seleMonth.find('td.calendar-selected').removeClass('calendar-selected'); seleMonth.find('td:eq('+(opts.month-1)+')').addClass('calendar-selected'); sele._outerWidth(body._outerWidth()); sele._outerHeight(body._outerHeight()); seleMonth._outerHeight(sele.height() - seleYear._outerHeight()); } /** * get weeks data. */ function getWeeks(target, year, month){ var opts = $.data(target, 'calendar').options; var dates = []; var lastDay = new Date(year, month, 0).getDate(); for(var i=1; i<=lastDay; i++) dates.push([year,month,i]); // group date by week var weeks = [], week = []; var memoDay = -1; while(dates.length > 0){ var date = dates.shift(); week.push(date); var day = new Date(date[0],date[1]-1,date[2]).getDay(); if (memoDay == day){ day = 0; } else if (day == (opts.firstDay==0 ? 7 : opts.firstDay) - 1){ weeks.push(week); week = []; } memoDay = day; } if (week.length){ weeks.push(week); } var firstWeek = weeks[0]; if (firstWeek.length < 7){ while(firstWeek.length < 7){ var firstDate = firstWeek[0]; var date = new Date(firstDate[0],firstDate[1]-1,firstDate[2]-1) firstWeek.unshift([date.getFullYear(), date.getMonth()+1, date.getDate()]); } } else { var firstDate = firstWeek[0]; var week = []; for(var i=1; i<=7; i++){ var date = new Date(firstDate[0], firstDate[1]-1, firstDate[2]-i); week.unshift([date.getFullYear(), date.getMonth()+1, date.getDate()]); } weeks.unshift(week); } var lastWeek = weeks[weeks.length-1]; while(lastWeek.length < 7){ var lastDate = lastWeek[lastWeek.length-1]; var date = new Date(lastDate[0], lastDate[1]-1, lastDate[2]+1); lastWeek.push([date.getFullYear(), date.getMonth()+1, date.getDate()]); } if (weeks.length < 6){ var lastDate = lastWeek[lastWeek.length-1]; var week = []; for(var i=1; i<=7; i++){ var date = new Date(lastDate[0], lastDate[1]-1, lastDate[2]+i); week.push([date.getFullYear(), date.getMonth()+1, date.getDate()]); } weeks.push(week); } return weeks; } /** * show the calendar day. */ function show(target){ var opts = $.data(target, 'calendar').options; if (opts.current && !opts.validator.call(target, opts.current)){ opts.current = null; } var now = new Date(); var todayInfo = now.getFullYear()+','+(now.getMonth()+1)+','+now.getDate(); var currentInfo = opts.current ? (opts.current.getFullYear()+','+(opts.current.getMonth()+1)+','+opts.current.getDate()) : ''; // calulate the saturday and sunday index var saIndex = 6 - opts.firstDay; var suIndex = saIndex + 1; if (saIndex >= 7) saIndex -= 7; if (suIndex >= 7) suIndex -= 7; $(target).find('.calendar-title span').html(opts.months[opts.month-1] + ' ' + opts.year); var body = $(target).find('div.calendar-body'); body.children('table').remove(); var data = ['']; data.push(''); for(var i=opts.firstDay; i'+opts.weeks[i]+''); } for(var i=0; i'+opts.weeks[i]+''); } data.push(''); data.push(''); var weeks = getWeeks(target, opts.year, opts.month); for(var i=0; i'); for(var j=0; j' + d + ''); } data.push(''); } data.push(''); data.push('
                                                      '); body.append(data.join('')); body.children('table.calendar-dtable').prependTo(body); opts.onNavigate.call(target, opts.year, opts.month); } $.fn.calendar = function(options, param){ if (typeof options == 'string'){ return $.fn.calendar.methods[options](this, param); } options = options || {}; return this.each(function(){ var state = $.data(this, 'calendar'); if (state){ $.extend(state.options, options); } else { state = $.data(this, 'calendar', { options:$.extend({}, $.fn.calendar.defaults, $.fn.calendar.parseOptions(this), options) }); init(this); } if (state.options.border == false){ $(this).addClass('calendar-noborder'); } setSize(this); bindEvents(this); show(this); $(this).find('div.calendar-menu').hide(); // hide the calendar menu }); }; $.fn.calendar.methods = { options: function(jq){ return $.data(jq[0], 'calendar').options; }, resize: function(jq, param){ return jq.each(function(){ setSize(this, param); }); }, moveTo: function(jq, date){ return jq.each(function(){ var opts = $(this).calendar('options'); if (opts.validator.call(this, date)){ var oldValue = opts.current; $(this).calendar({ year: date.getFullYear(), month: date.getMonth()+1, current: date }); if (!oldValue || oldValue.getTime() != date.getTime()){ opts.onChange.call(this, opts.current, oldValue); } } }); } }; $.fn.calendar.parseOptions = function(target){ var t = $(target); return $.extend({}, $.parser.parseOptions(target, [ {firstDay:'number',fit:'boolean',border:'boolean'} ])); }; $.fn.calendar.defaults = { width:180, height:180, fit:false, border:true, firstDay:0, weeks:['S','M','T','W','T','F','S'], months:['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], year:new Date().getFullYear(), month:new Date().getMonth()+1, current:(function(){ var d = new Date(); return new Date(d.getFullYear(), d.getMonth(), d.getDate()); })(), formatter:function(date){return date.getDate()}, styler:function(date){return ''}, validator:function(date){return true}, onSelect: function(date){}, onChange: function(newDate, oldDate){}, onNavigate: function(year, month){} }; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/src/jquery.combobox.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ /** * combobox - jQuery EasyUI * * Dependencies: * combo * */ (function($){ var COMBOBOX_SERNO = 0; function getRowIndex(target, value){ var state = $.data(target, 'combobox'); var opts = state.options; var data = state.data; for(var i=0; i panel.height()){ var h = panel.scrollTop() + item.position().top + item.outerHeight() - panel.height(); panel.scrollTop(h); } } } function nav(target, dir){ var opts = $.data(target, 'combobox').options; var panel = $(target).combobox('panel'); var item = panel.children('div.combobox-item-hover'); if (!item.length){ item = panel.children('div.combobox-item-selected'); } item.removeClass('combobox-item-hover'); var firstSelector = 'div.combobox-item:visible:not(.combobox-item-disabled):first'; var lastSelector = 'div.combobox-item:visible:not(.combobox-item-disabled):last'; if (!item.length){ item = panel.children(dir=='next' ? firstSelector : lastSelector); // item = panel.children('div.combobox-item:visible:' + (dir=='next'?'first':'last')); } else { if (dir == 'next'){ item = item.nextAll(firstSelector); // item = item.nextAll('div.combobox-item:visible:first'); if (!item.length){ item = panel.children(firstSelector); // item = panel.children('div.combobox-item:visible:first'); } } else { item = item.prevAll(firstSelector); // item = item.prevAll('div.combobox-item:visible:first'); if (!item.length){ item = panel.children(lastSelector); // item = panel.children('div.combobox-item:visible:last'); } } } if (item.length){ item.addClass('combobox-item-hover'); var row = opts.finder.getRow(target, item); if (row){ scrollTo(target, row[opts.valueField]); if (opts.selectOnNavigation){ select(target, row[opts.valueField]); } } } } /** * select the specified value */ function select(target, value){ var opts = $.data(target, 'combobox').options; var values = $(target).combo('getValues'); if ($.inArray(value+'', values) == -1){ if (opts.multiple){ values.push(value); } else { values = [value]; } setValues(target, values); opts.onSelect.call(target, opts.finder.getRow(target, value)); } } /** * unselect the specified value */ function unselect(target, value){ var opts = $.data(target, 'combobox').options; var values = $(target).combo('getValues'); var index = $.inArray(value+'', values); if (index >= 0){ values.splice(index, 1); setValues(target, values); opts.onUnselect.call(target, opts.finder.getRow(target, value)); } } /** * set values */ function setValues(target, values, remainText){ var opts = $.data(target, 'combobox').options; var panel = $(target).combo('panel'); if (!$.isArray(values)){values = values.split(opts.separator)} panel.find('div.combobox-item-selected').removeClass('combobox-item-selected'); var vv = [], ss = []; for(var i=0; i'); dd.push(opts.groupFormatter ? opts.groupFormatter.call(target, g) : g); dd.push('
                                                      '); } } else { group = undefined; } var cls = 'combobox-item' + (row.disabled ? ' combobox-item-disabled' : '') + (g ? ' combobox-gitem' : ''); dd.push('
                                                      '); dd.push(opts.formatter ? opts.formatter.call(target, row) : s); dd.push('
                                                      '); // if (item['selected']){ // (function(){ // for(var i=0; i= 0){ vv.push(v); } }); t.combobox('setValues', vv); if (!opts.multiple){ t.combobox('hidePanel'); } } /** * create the component */ function create(target){ var state = $.data(target, 'combobox'); var opts = state.options; COMBOBOX_SERNO++; state.itemIdPrefix = '_easyui_combobox_i' + COMBOBOX_SERNO; state.groupIdPrefix = '_easyui_combobox_g' + COMBOBOX_SERNO; $(target).addClass('combobox-f'); $(target).combo($.extend({}, opts, { onShowPanel: function(){ $(target).combo('panel').find('div.combobox-item,div.combobox-group').show(); scrollTo(target, $(target).combobox('getValue')); opts.onShowPanel.call(target); } })); $(target).combo('panel').unbind().bind('mouseover', function(e){ $(this).children('div.combobox-item-hover').removeClass('combobox-item-hover'); var item = $(e.target).closest('div.combobox-item'); if (!item.hasClass('combobox-item-disabled')){ item.addClass('combobox-item-hover'); } e.stopPropagation(); }).bind('mouseout', function(e){ $(e.target).closest('div.combobox-item').removeClass('combobox-item-hover'); e.stopPropagation(); }).bind('click', function(e){ var item = $(e.target).closest('div.combobox-item'); if (!item.length || item.hasClass('combobox-item-disabled')){return} var row = opts.finder.getRow(target, item); if (!row){return} var value = row[opts.valueField]; if (opts.multiple){ if (item.hasClass('combobox-item-selected')){ unselect(target, value); } else { select(target, value); } } else { select(target, value); $(target).combo('hidePanel'); } e.stopPropagation(); }); } $.fn.combobox = function(options, param){ if (typeof options == 'string'){ var method = $.fn.combobox.methods[options]; if (method){ return method(this, param); } else { return this.combo(options, param); } } options = options || {}; return this.each(function(){ var state = $.data(this, 'combobox'); if (state){ $.extend(state.options, options); create(this); } else { state = $.data(this, 'combobox', { options: $.extend({}, $.fn.combobox.defaults, $.fn.combobox.parseOptions(this), options), data: [] }); create(this); var data = $.fn.combobox.parseData(this); if (data.length){ loadData(this, data); } } if (state.options.data){ loadData(this, state.options.data); } request(this); }); }; $.fn.combobox.methods = { options: function(jq){ var copts = jq.combo('options'); return $.extend($.data(jq[0], 'combobox').options, { width: copts.width, height: copts.height, originalValue: copts.originalValue, disabled: copts.disabled, readonly: copts.readonly }); }, getData: function(jq){ return $.data(jq[0], 'combobox').data; }, setValues: function(jq, values){ return jq.each(function(){ setValues(this, values); }); }, setValue: function(jq, value){ return jq.each(function(){ setValues(this, [value]); }); }, clear: function(jq){ return jq.each(function(){ $(this).combo('clear'); var panel = $(this).combo('panel'); panel.find('div.combobox-item-selected').removeClass('combobox-item-selected'); }); }, reset: function(jq){ return jq.each(function(){ var opts = $(this).combobox('options'); if (opts.multiple){ $(this).combobox('setValues', opts.originalValue); } else { $(this).combobox('setValue', opts.originalValue); } }); }, loadData: function(jq, data){ return jq.each(function(){ loadData(this, data); }); }, reload: function(jq, url){ return jq.each(function(){ request(this, url); }); }, select: function(jq, value){ return jq.each(function(){ select(this, value); }); }, unselect: function(jq, value){ return jq.each(function(){ unselect(this, value); }); } }; $.fn.combobox.parseOptions = function(target){ var t = $(target); return $.extend({}, $.fn.combo.parseOptions(target), $.parser.parseOptions(target,[ 'valueField','textField','groupField','mode','method','url' ])); }; $.fn.combobox.parseData = function(target){ var data = []; var opts = $(target).combobox('options'); $(target).children().each(function(){ if (this.tagName.toLowerCase() == 'optgroup'){ var group = $(this).attr('label'); $(this).children().each(function(){ _parseItem(this, group); }); } else { _parseItem(this); } }); return data; function _parseItem(el, group){ var t = $(el); var row = {}; row[opts.valueField] = t.attr('value')!=undefined ? t.attr('value') : t.text(); row[opts.textField] = t.text(); row['selected'] = t.is(':selected'); row['disabled'] = t.is(':disabled'); if (group){ opts.groupField = opts.groupField || 'group'; row[opts.groupField] = group; } data.push(row); } }; $.fn.combobox.defaults = $.extend({}, $.fn.combo.defaults, { valueField: 'value', textField: 'text', groupField: null, groupFormatter: function(group){return group;}, mode: 'local', // or 'remote' method: 'post', url: null, data: null, keyHandler: { up: function(e){nav(this,'prev');e.preventDefault()}, down: function(e){nav(this,'next');e.preventDefault()}, left: function(e){}, right: function(e){}, enter: function(e){doEnter(this)}, query: function(q,e){doQuery(this, q)} }, filter: function(q, row){ var opts = $(this).combobox('options'); return row[opts.textField].toLowerCase().indexOf(q.toLowerCase()) == 0; }, formatter: function(row){ var opts = $(this).combobox('options'); return row[opts.textField]; }, loader: function(param, success, error){ var opts = $(this).combobox('options'); if (!opts.url) return false; $.ajax({ type: opts.method, url: opts.url, data: param, dataType: 'json', success: function(data){ success(data); }, error: function(){ error.apply(this, arguments); } }); }, loadFilter: function(data){ return data; }, finder:{ getEl:function(target, value){ var index = getRowIndex(target, value); var id = $.data(target, 'combobox').itemIdPrefix + '_' + index; return $('#'+id); }, getRow:function(target, p){ var state = $.data(target, 'combobox'); var index = (p instanceof jQuery) ? p.attr('id').substr(state.itemIdPrefix.length+1) : getRowIndex(target, p); return state.data[parseInt(index)]; } }, onBeforeLoad: function(param){}, onLoadSuccess: function(){}, onLoadError: function(){}, onSelect: function(record){}, onUnselect: function(record){} }); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/src/jquery.datebox.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ /** * datebox - jQuery EasyUI * * Dependencies: * calendar * combo * */ (function($){ /** * create date box */ function createBox(target){ var state = $.data(target, 'datebox'); var opts = state.options; $(target).addClass('datebox-f').combo($.extend({}, opts, { onShowPanel:function(){ bindEvents(this); setButtons(this); setCalendar(this); setValue(this, $(this).datebox('getText'), true); opts.onShowPanel.call(this); } })); /** * if the calendar isn't created, create it. */ if (!state.calendar){ var panel = $(target).combo('panel').css('overflow','hidden'); panel.panel('options').onBeforeDestroy = function(){ var c = $(this).find('.calendar-shared'); if (c.length){ c.insertBefore(c[0].pholder); } }; var cc = $('
                                                      ').prependTo(panel); if (opts.sharedCalendar){ var c = $(opts.sharedCalendar); if (!c[0].pholder){ c[0].pholder = $('').insertAfter(c); } c.addClass('calendar-shared').appendTo(cc); if (!c.hasClass('calendar')){ c.calendar(); } state.calendar = c; } else { state.calendar = $('
                                                      ').appendTo(cc).calendar(); } $.extend(state.calendar.calendar('options'), { fit:true, border:false, onSelect:function(date){ var target = this.target; var opts = $(target).datebox('options'); setValue(target, opts.formatter.call(target, date)); $(target).combo('hidePanel'); opts.onSelect.call(target, date); } }); } $(target).combo('textbox').parent().addClass('datebox'); $(target).datebox('initValue', opts.value); function bindEvents(target){ var opts = $(target).datebox('options'); var panel = $(target).combo('panel'); panel.unbind('.datebox').bind('click.datebox', function(e){ if ($(e.target).hasClass('datebox-button-a')){ var index = parseInt($(e.target).attr('datebox-button-index')); opts.buttons[index].handler.call(e.target, target); } }); } function setButtons(target){ var panel = $(target).combo('panel'); if (panel.children('div.datebox-button').length){return} var button = $('
                                                      ').appendTo(panel); var tr = button.find('tr'); for(var i=0; i').appendTo(tr); var btn = opts.buttons[i]; var t = $('').html($.isFunction(btn.text) ? btn.text(target) : btn.text).appendTo(td); t.attr('datebox-button-index', i); } tr.find('td').css('width', (100/opts.buttons.length)+'%'); } function setCalendar(target){ var panel = $(target).combo('panel'); var cc = panel.children('div.datebox-calendar-inner'); panel.children()._outerWidth(panel.width()); state.calendar.appendTo(cc); state.calendar[0].target = target; if (opts.panelHeight != 'auto'){ var height = panel.height(); panel.children().not(cc).each(function(){ height -= $(this).outerHeight(); }); cc._outerHeight(height); } state.calendar.calendar('resize'); } } /** * called when user inputs some value in text box */ function doQuery(target, q){ setValue(target, q, true); } /** * called when user press enter key */ function doEnter(target){ var state = $.data(target, 'datebox'); var opts = state.options; var current = state.calendar.calendar('options').current; if (current){ setValue(target, opts.formatter.call(target, current)); $(target).combo('hidePanel'); } } function setValue(target, value, remainText){ var state = $.data(target, 'datebox'); var opts = state.options; var calendar = state.calendar; $(target).combo('setValue', value); calendar.calendar('moveTo', opts.parser.call(target, value)); if (!remainText){ if (value){ value = opts.formatter.call(target, calendar.calendar('options').current); $(target).combo('setValue', value).combo('setText', value); } else { $(target).combo('setText', value); } } } $.fn.datebox = function(options, param){ if (typeof options == 'string'){ var method = $.fn.datebox.methods[options]; if (method){ return method(this, param); } else { return this.combo(options, param); } } options = options || {}; return this.each(function(){ var state = $.data(this, 'datebox'); if (state){ $.extend(state.options, options); } else { $.data(this, 'datebox', { options: $.extend({}, $.fn.datebox.defaults, $.fn.datebox.parseOptions(this), options) }); } createBox(this); }); }; $.fn.datebox.methods = { options: function(jq){ var copts = jq.combo('options'); return $.extend($.data(jq[0], 'datebox').options, { width: copts.width, height: copts.height, originalValue: copts.originalValue, disabled: copts.disabled, readonly: copts.readonly }); }, cloneFrom: function(jq, from){ return jq.each(function(){ $(this).combo('cloneFrom', from); $.data(this, 'datebox', { options: $.extend(true, {}, $(from).datebox('options')), calendar: $(from).datebox('calendar') }); $(this).addClass('datebox-f'); }); }, calendar: function(jq){ // get the calendar object return $.data(jq[0], 'datebox').calendar; }, initValue: function(jq, value){ return jq.each(function(){ var opts = $(this).datebox('options'); var value = opts.value; if (value){ value = opts.formatter.call(this, opts.parser.call(this, value)); } $(this).combo('initValue', value).combo('setText', value); }); }, setValue: function(jq, value){ return jq.each(function(){ setValue(this, value); }); }, reset: function(jq){ return jq.each(function(){ var opts = $(this).datebox('options'); $(this).datebox('setValue', opts.originalValue); }); } }; $.fn.datebox.parseOptions = function(target){ return $.extend({}, $.fn.combo.parseOptions(target), $.parser.parseOptions(target, ['sharedCalendar'])); }; $.fn.datebox.defaults = $.extend({}, $.fn.combo.defaults, { panelWidth:180, panelHeight:'auto', sharedCalendar:null, keyHandler: { up:function(e){}, down:function(e){}, left: function(e){}, right: function(e){}, enter:function(e){doEnter(this)}, query:function(q,e){doQuery(this, q)} }, currentText:'Today', closeText:'Close', okText:'Ok', buttons:[{ text: function(target){return $(target).datebox('options').currentText;}, handler: function(target){ $(target).datebox('calendar').calendar({ year:new Date().getFullYear(), month:new Date().getMonth()+1, current:new Date() }); doEnter(target); } },{ text: function(target){return $(target).datebox('options').closeText;}, handler: function(target){ $(this).closest('div.combo-panel').panel('close'); } }], formatter:function(date){ var y = date.getFullYear(); var m = date.getMonth()+1; var d = date.getDate(); return (m<10?('0'+m):m)+'/'+(d<10?('0'+d):d)+'/'+y; }, parser:function(s){ if (!s) return new Date(); var ss = s.split('/'); var m = parseInt(ss[0],10); var d = parseInt(ss[1],10); var y = parseInt(ss[2],10); if (!isNaN(y) && !isNaN(m) && !isNaN(d)){ return new Date(y,m-1,d); } else { return new Date(); } }, onSelect:function(date){} }); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/src/jquery.draggable.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ /** * draggable - jQuery EasyUI * */ (function($){ // var isDragging = false; function drag(e){ var state = $.data(e.data.target, 'draggable'); var opts = state.options; var proxy = state.proxy; var dragData = e.data; var left = dragData.startLeft + e.pageX - dragData.startX; var top = dragData.startTop + e.pageY - dragData.startY; if (proxy){ if (proxy.parent()[0] == document.body){ if (opts.deltaX != null && opts.deltaX != undefined){ left = e.pageX + opts.deltaX; } else { left = e.pageX - e.data.offsetWidth; } if (opts.deltaY != null && opts.deltaY != undefined){ top = e.pageY + opts.deltaY; } else { top = e.pageY - e.data.offsetHeight; } } else { if (opts.deltaX != null && opts.deltaX != undefined){ left += e.data.offsetWidth + opts.deltaX; } if (opts.deltaY != null && opts.deltaY != undefined){ top += e.data.offsetHeight + opts.deltaY; } } } // if (opts.deltaX != null && opts.deltaX != undefined){ // left = e.pageX + opts.deltaX; // } // if (opts.deltaY != null && opts.deltaY != undefined){ // top = e.pageY + opts.deltaY; // } if (e.data.parent != document.body) { left += $(e.data.parent).scrollLeft(); top += $(e.data.parent).scrollTop(); } if (opts.axis == 'h') { dragData.left = left; } else if (opts.axis == 'v') { dragData.top = top; } else { dragData.left = left; dragData.top = top; } } function applyDrag(e){ var state = $.data(e.data.target, 'draggable'); var opts = state.options; var proxy = state.proxy; if (!proxy){ proxy = $(e.data.target); } // if (proxy){ // proxy.css('cursor', opts.cursor); // } else { // proxy = $(e.data.target); // $.data(e.data.target, 'draggable').handle.css('cursor', opts.cursor); // } proxy.css({ left:e.data.left, top:e.data.top }); $('body').css('cursor', opts.cursor); } function doDown(e){ // isDragging = true; $.fn.draggable.isDragging = true; var state = $.data(e.data.target, 'draggable'); var opts = state.options; var droppables = $('.droppable').filter(function(){ return e.data.target != this; }).filter(function(){ var accept = $.data(this, 'droppable').options.accept; if (accept){ return $(accept).filter(function(){ return this == e.data.target; }).length > 0; } else { return true; } }); state.droppables = droppables; var proxy = state.proxy; if (!proxy){ if (opts.proxy){ if (opts.proxy == 'clone'){ proxy = $(e.data.target).clone().insertAfter(e.data.target); } else { proxy = opts.proxy.call(e.data.target, e.data.target); } state.proxy = proxy; } else { proxy = $(e.data.target); } } proxy.css('position', 'absolute'); drag(e); applyDrag(e); opts.onStartDrag.call(e.data.target, e); return false; } function doMove(e){ var state = $.data(e.data.target, 'draggable'); drag(e); if (state.options.onDrag.call(e.data.target, e) != false){ applyDrag(e); } var source = e.data.target; state.droppables.each(function(){ var dropObj = $(this); if (dropObj.droppable('options').disabled){return;} var p2 = dropObj.offset(); if (e.pageX > p2.left && e.pageX < p2.left + dropObj.outerWidth() && e.pageY > p2.top && e.pageY < p2.top + dropObj.outerHeight()){ if (!this.entered){ $(this).trigger('_dragenter', [source]); this.entered = true; } $(this).trigger('_dragover', [source]); } else { if (this.entered){ $(this).trigger('_dragleave', [source]); this.entered = false; } } }); return false; } function doUp(e){ // isDragging = false; $.fn.draggable.isDragging = false; // drag(e); doMove(e); var state = $.data(e.data.target, 'draggable'); var proxy = state.proxy; var opts = state.options; if (opts.revert){ if (checkDrop() == true){ $(e.data.target).css({ position:e.data.startPosition, left:e.data.startLeft, top:e.data.startTop }); } else { if (proxy){ var left, top; if (proxy.parent()[0] == document.body){ left = e.data.startX - e.data.offsetWidth; top = e.data.startY - e.data.offsetHeight; } else { left = e.data.startLeft; top = e.data.startTop; } proxy.animate({ left: left, top: top }, function(){ removeProxy(); }); } else { $(e.data.target).animate({ left:e.data.startLeft, top:e.data.startTop }, function(){ $(e.data.target).css('position', e.data.startPosition); }); } } } else { $(e.data.target).css({ position:'absolute', left:e.data.left, top:e.data.top }); checkDrop(); } opts.onStopDrag.call(e.data.target, e); $(document).unbind('.draggable'); setTimeout(function(){ $('body').css('cursor',''); },100); function removeProxy(){ if (proxy){ proxy.remove(); } state.proxy = null; } function checkDrop(){ var dropped = false; state.droppables.each(function(){ var dropObj = $(this); if (dropObj.droppable('options').disabled){return;} var p2 = dropObj.offset(); if (e.pageX > p2.left && e.pageX < p2.left + dropObj.outerWidth() && e.pageY > p2.top && e.pageY < p2.top + dropObj.outerHeight()){ if (opts.revert){ $(e.data.target).css({ position:e.data.startPosition, left:e.data.startLeft, top:e.data.startTop }); } $(this).trigger('_drop', [e.data.target]); removeProxy(); dropped = true; this.entered = false; return false; } }); if (!dropped && !opts.revert){ removeProxy(); } return dropped; } return false; } $.fn.draggable = function(options, param){ if (typeof options == 'string'){ return $.fn.draggable.methods[options](this, param); } return this.each(function(){ var opts; var state = $.data(this, 'draggable'); if (state) { state.handle.unbind('.draggable'); opts = $.extend(state.options, options); } else { opts = $.extend({}, $.fn.draggable.defaults, $.fn.draggable.parseOptions(this), options || {}); } var handle = opts.handle ? (typeof opts.handle=='string' ? $(opts.handle, this) : opts.handle) : $(this); $.data(this, 'draggable', { options: opts, handle: handle }); if (opts.disabled) { $(this).css('cursor', ''); return; } handle.unbind('.draggable').bind('mousemove.draggable', {target:this}, function(e){ // if (isDragging) return; if ($.fn.draggable.isDragging){return} var opts = $.data(e.data.target, 'draggable').options; if (checkArea(e)){ $(this).css('cursor', opts.cursor); } else { $(this).css('cursor', ''); } }).bind('mouseleave.draggable', {target:this}, function(e){ $(this).css('cursor', ''); }).bind('mousedown.draggable', {target:this}, function(e){ if (checkArea(e) == false) return; $(this).css('cursor', ''); var position = $(e.data.target).position(); var offset = $(e.data.target).offset(); var data = { startPosition: $(e.data.target).css('position'), startLeft: position.left, startTop: position.top, left: position.left, top: position.top, startX: e.pageX, startY: e.pageY, offsetWidth: (e.pageX - offset.left), offsetHeight: (e.pageY - offset.top), target: e.data.target, parent: $(e.data.target).parent()[0] }; $.extend(e.data, data); var opts = $.data(e.data.target, 'draggable').options; if (opts.onBeforeDrag.call(e.data.target, e) == false) return; $(document).bind('mousedown.draggable', e.data, doDown); $(document).bind('mousemove.draggable', e.data, doMove); $(document).bind('mouseup.draggable', e.data, doUp); // $('body').css('cursor', opts.cursor); }); // check if the handle can be dragged function checkArea(e) { var state = $.data(e.data.target, 'draggable'); var handle = state.handle; var offset = $(handle).offset(); var width = $(handle).outerWidth(); var height = $(handle).outerHeight(); var t = e.pageY - offset.top; var r = offset.left + width - e.pageX; var b = offset.top + height - e.pageY; var l = e.pageX - offset.left; return Math.min(t,r,b,l) > state.options.edge; } }); }; $.fn.draggable.methods = { options: function(jq){ return $.data(jq[0], 'draggable').options; }, proxy: function(jq){ return $.data(jq[0], 'draggable').proxy; }, enable: function(jq){ return jq.each(function(){ $(this).draggable({disabled:false}); }); }, disable: function(jq){ return jq.each(function(){ $(this).draggable({disabled:true}); }); } }; $.fn.draggable.parseOptions = function(target){ var t = $(target); return $.extend({}, $.parser.parseOptions(target, ['cursor','handle','axis', {'revert':'boolean','deltaX':'number','deltaY':'number','edge':'number'}]), { disabled: (t.attr('disabled') ? true : undefined) }); }; $.fn.draggable.defaults = { proxy:null, // 'clone' or a function that will create the proxy object, // the function has the source parameter that indicate the source object dragged. revert:false, cursor:'move', deltaX:null, deltaY:null, handle: null, disabled: false, edge:0, axis:null, // v or h onBeforeDrag: function(e){}, onStartDrag: function(e){}, onDrag: function(e){}, onStopDrag: function(e){} }; $.fn.draggable.isDragging = false; // $(function(){ // function touchHandler(e) { // var touches = e.changedTouches, first = touches[0], type = ""; // // switch(e.type) { // case "touchstart": type = "mousedown"; break; // case "touchmove": type = "mousemove"; break; // case "touchend": type = "mouseup"; break; // default: return; // } // var simulatedEvent = document.createEvent("MouseEvent"); // simulatedEvent.initMouseEvent(type, true, true, window, 1, // first.screenX, first.screenY, // first.clientX, first.clientY, false, // false, false, false, 0/*left*/, null); // // first.target.dispatchEvent(simulatedEvent); // if (isDragging){ // e.preventDefault(); // } // } // // if (document.addEventListener){ // document.addEventListener("touchstart", touchHandler, true); // document.addEventListener("touchmove", touchHandler, true); // document.addEventListener("touchend", touchHandler, true); // document.addEventListener("touchcancel", touchHandler, true); // } // }); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/src/jquery.droppable.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ /** * droppable - jQuery EasyUI * */ (function($){ function init(target){ $(target).addClass('droppable'); $(target).bind('_dragenter', function(e, source){ $.data(target, 'droppable').options.onDragEnter.apply(target, [e, source]); }); $(target).bind('_dragleave', function(e, source){ $.data(target, 'droppable').options.onDragLeave.apply(target, [e, source]); }); $(target).bind('_dragover', function(e, source){ $.data(target, 'droppable').options.onDragOver.apply(target, [e, source]); }); $(target).bind('_drop', function(e, source){ $.data(target, 'droppable').options.onDrop.apply(target, [e, source]); }); } $.fn.droppable = function(options, param){ if (typeof options == 'string'){ return $.fn.droppable.methods[options](this, param); } options = options || {}; return this.each(function(){ var state = $.data(this, 'droppable'); if (state){ $.extend(state.options, options); } else { init(this); $.data(this, 'droppable', { options: $.extend({}, $.fn.droppable.defaults, $.fn.droppable.parseOptions(this), options) }); } }); }; $.fn.droppable.methods = { options: function(jq){ return $.data(jq[0], 'droppable').options; }, enable: function(jq){ return jq.each(function(){ $(this).droppable({disabled:false}); }); }, disable: function(jq){ return jq.each(function(){ $(this).droppable({disabled:true}); }); } }; $.fn.droppable.parseOptions = function(target){ var t = $(target); return $.extend({}, $.parser.parseOptions(target, ['accept']), { disabled: (t.attr('disabled') ? true : undefined) }); }; $.fn.droppable.defaults = { accept:null, disabled:false, onDragEnter:function(e, source){}, onDragOver:function(e, source){}, onDragLeave:function(e, source){}, onDrop:function(e, source){} }; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/src/jquery.form.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ /** * form - jQuery EasyUI * */ (function($){ /** * submit the form */ function ajaxSubmit(target, options){ var opts = $.data(target, 'form').options; $.extend(opts, options||{}); var param = $.extend({}, opts.queryParams); if (opts.onSubmit.call(target, param) == false){return;} $(target).find('.textbox-text:focus').blur(); var frameId = 'easyui_frame_' + (new Date().getTime()); var frame = $('').appendTo('body') frame.attr('src', window.ActiveXObject ? 'javascript:false' : 'about:blank'); frame.css({ position:'absolute', top:-1000, left:-1000 }); frame.bind('load', cb); submit(param); function submit(param){ var form = $(target); if (opts.url){ form.attr('action', opts.url); } var t = form.attr('target'), a = form.attr('action'); form.attr('target', frameId); var paramFields = $(); try { for(var n in param){ var field = $('').val(param[n]).appendTo(form); paramFields = paramFields.add(field); } checkState(); form[0].submit(); } finally { form.attr('action', a); t ? form.attr('target', t) : form.removeAttr('target'); paramFields.remove(); } } function checkState(){ var f = $('#'+frameId); if (!f.length){return} try{ var s = f.contents()[0].readyState; if (s && s.toLowerCase() == 'uninitialized'){ setTimeout(checkState, 100); } } catch(e){ cb(); } } var checkCount = 10; function cb(){ var f = $('#'+frameId); if (!f.length){return} f.unbind(); var data = ''; try{ var body = f.contents().find('body'); data = body.html(); if (data == ''){ if (--checkCount){ setTimeout(cb, 100); return; } } var ta = body.find('>textarea'); if (ta.length){ data = ta.val(); } else { var pre = body.find('>pre'); if (pre.length){ data = pre.html(); } } } catch(e){ } opts.success(data); setTimeout(function(){ f.unbind(); f.remove(); }, 100); } } /** * load form data * if data is a URL string type load from remote site, * otherwise load from local data object. */ function load(target, data){ var opts = $.data(target, 'form').options; if (typeof data == 'string'){ var param = {}; if (opts.onBeforeLoad.call(target, param) == false) return; $.ajax({ url: data, data: param, dataType: 'json', success: function(data){ _load(data); }, error: function(){ opts.onLoadError.apply(target, arguments); } }); } else { _load(data); } function _load(data){ var form = $(target); for(var name in data){ var val = data[name]; var rr = _checkField(name, val); if (!rr.length){ var count = _loadOther(name, val); if (!count){ $('input[name="'+name+'"]', form).val(val); $('textarea[name="'+name+'"]', form).val(val); $('select[name="'+name+'"]', form).val(val); } } _loadCombo(name, val); } opts.onLoadSuccess.call(target, data); validate(target); } /** * check the checkbox and radio fields */ function _checkField(name, val){ var rr = $(target).find('input[name="'+name+'"][type=radio], input[name="'+name+'"][type=checkbox]'); rr._propAttr('checked', false); rr.each(function(){ var f = $(this); if (f.val() == String(val) || $.inArray(f.val(), $.isArray(val)?val:[val]) >= 0){ f._propAttr('checked', true); } }); return rr; } function _loadOther(name, val){ var count = 0; var pp = ['textbox','numberbox','slider']; for(var i=0; i
                                                      ').insertBefore(target); var style = { position: btn.css('position'), display: btn.css('display'), left: btn.css('left') }; btn.appendTo('body'); btn.css({ position: 'absolute', display: 'inline-block', left: -20000 }); } btn._size(opts, parent); var left = btn.find('.l-btn-left'); left.css('margin-top', 0); left.css('margin-top', parseInt((btn.height()-left.height())/2)+'px'); if (!isVisible){ btn.insertAfter(spacer); btn.css(style); spacer.remove(); } } } function createButton(target) { var opts = $.data(target, 'linkbutton').options; var t = $(target).empty(); t.addClass('l-btn').removeClass('l-btn-plain l-btn-selected l-btn-plain-selected'); t.removeClass('l-btn-small l-btn-medium l-btn-large').addClass('l-btn-'+opts.size); if (opts.plain){t.addClass('l-btn-plain')} if (opts.selected){ t.addClass(opts.plain ? 'l-btn-selected l-btn-plain-selected' : 'l-btn-selected'); } t.attr('group', opts.group || ''); t.attr('id', opts.id || ''); var inner = $('').appendTo(t); if (opts.text){ $('').html(opts.text).appendTo(inner); } else { $(' ').appendTo(inner); } if (opts.iconCls){ $(' ').addClass(opts.iconCls).appendTo(inner); inner.addClass('l-btn-icon-'+opts.iconAlign); } t.unbind('.linkbutton').bind('focus.linkbutton',function(){ if (!opts.disabled){ $(this).addClass('l-btn-focus'); } }).bind('blur.linkbutton',function(){ $(this).removeClass('l-btn-focus'); }).bind('click.linkbutton',function(){ if (!opts.disabled){ if (opts.toggle){ if (opts.selected){ $(this).linkbutton('unselect'); } else { $(this).linkbutton('select'); } } opts.onClick.call(this); } // return false; }); // if (opts.toggle && !opts.disabled){ // t.bind('click.linkbutton', function(){ // if (opts.selected){ // $(this).linkbutton('unselect'); // } else { // $(this).linkbutton('select'); // } // }); // } setSelected(target, opts.selected) setDisabled(target, opts.disabled); } function setSelected(target, selected){ var opts = $.data(target, 'linkbutton').options; if (selected){ if (opts.group){ $('a.l-btn[group="'+opts.group+'"]').each(function(){ var o = $(this).linkbutton('options'); if (o.toggle){ $(this).removeClass('l-btn-selected l-btn-plain-selected'); o.selected = false; } }); } $(target).addClass(opts.plain ? 'l-btn-selected l-btn-plain-selected' : 'l-btn-selected'); opts.selected = true; } else { if (!opts.group){ $(target).removeClass('l-btn-selected l-btn-plain-selected'); opts.selected = false; } } } function setDisabled(target, disabled){ var state = $.data(target, 'linkbutton'); var opts = state.options; $(target).removeClass('l-btn-disabled l-btn-plain-disabled'); if (disabled){ opts.disabled = true; var href = $(target).attr('href'); if (href){ state.href = href; $(target).attr('href', 'javascript:void(0)'); } if (target.onclick){ state.onclick = target.onclick; target.onclick = null; } opts.plain ? $(target).addClass('l-btn-disabled l-btn-plain-disabled') : $(target).addClass('l-btn-disabled'); } else { opts.disabled = false; if (state.href) { $(target).attr('href', state.href); } if (state.onclick) { target.onclick = state.onclick; } } } $.fn.linkbutton = function(options, param){ if (typeof options == 'string'){ return $.fn.linkbutton.methods[options](this, param); } options = options || {}; return this.each(function(){ var state = $.data(this, 'linkbutton'); if (state){ $.extend(state.options, options); } else { $.data(this, 'linkbutton', { options: $.extend({}, $.fn.linkbutton.defaults, $.fn.linkbutton.parseOptions(this), options) }); $(this).removeAttr('disabled'); $(this).bind('_resize', function(e, force){ if ($(this).hasClass('easyui-fluid') || force){ setSize(this); } return false; }); } createButton(this); setSize(this); }); }; $.fn.linkbutton.methods = { options: function(jq){ return $.data(jq[0], 'linkbutton').options; }, resize: function(jq, param){ return jq.each(function(){ setSize(this, param); }); }, enable: function(jq){ return jq.each(function(){ setDisabled(this, false); }); }, disable: function(jq){ return jq.each(function(){ setDisabled(this, true); }); }, select: function(jq){ return jq.each(function(){ setSelected(this, true); }); }, unselect: function(jq){ return jq.each(function(){ setSelected(this, false); }); } }; $.fn.linkbutton.parseOptions = function(target){ var t = $(target); return $.extend({}, $.parser.parseOptions(target, ['id','iconCls','iconAlign','group','size',{plain:'boolean',toggle:'boolean',selected:'boolean'}] ), { disabled: (t.attr('disabled') ? true : undefined), text: $.trim(t.html()), iconCls: (t.attr('icon') || t.attr('iconCls')) }); }; $.fn.linkbutton.defaults = { id: null, disabled: false, toggle: false, selected: false, group: null, plain: false, text: '', iconCls: null, iconAlign: 'left', size: 'small', // small,large onClick: function(){} }; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/src/jquery.menu.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ /** * menu - jQuery EasyUI * */ (function($){ /** * initialize the target menu, the function can be invoked only once */ function init(target){ $(target).appendTo('body'); $(target).addClass('menu-top'); // the top menu $(document).unbind('.menu').bind('mousedown.menu', function(e){ // var allMenu = $('body>div.menu:visible'); // var m = $(e.target).closest('div.menu', allMenu); var m = $(e.target).closest('div.menu,div.combo-p'); if (m.length){return} $('body>div.menu-top:visible').menu('hide'); }); var menus = splitMenu($(target)); for(var i=0; i
                                                      ').html(text)); if (itemOpts.iconCls){ $('').addClass(itemOpts.iconCls).appendTo(item); } if (itemOpts.disabled){ setDisabled(target, item[0], true); } if (item[0].submenu){ $('').appendTo(item); // has sub menu } bindMenuItemEvent(target, item); } }); $('').prependTo(menu); } setMenuSize(target, menu); menu.hide(); bindMenuEvent(target, menu); } } function setMenuSize(target, menu){ var opts = $.data(target, 'menu').options; var style = menu.attr('style') || ''; menu.css({ display: 'block', left:-10000, height: 'auto', overflow: 'hidden' }); var el = menu[0]; var width = el.originalWidth || 0; if (!width){ width = 0; menu.find('div.menu-text').each(function(){ if (width < $(this)._outerWidth()){ width = $(this)._outerWidth(); } $(this).closest('div.menu-item')._outerHeight($(this)._outerHeight()+2); }); width += 40; } width = Math.max(width, opts.minWidth); // var height = el.originalHeight || menu.outerHeight(); var height = el.originalHeight || 0; if (!height){ height = menu.outerHeight(); if (menu.hasClass('menu-top') && opts.alignTo){ var at = $(opts.alignTo); var h1 = at.offset().top - $(document).scrollTop(); var h2 = $(window)._outerHeight() + $(document).scrollTop() - at.offset().top - at._outerHeight(); height = Math.min(height, Math.max(h1, h2)); } else if (height > $(window)._outerHeight()){ height = $(window).height(); style += ';overflow:auto'; } else { style += ';overflow:hidden'; } // if (height > $(window).height()-5){ // height = $(window).height()-5; // style += ';overflow:auto'; // } else { // style += ';overflow:hidden'; // } } var lineHeight = Math.max(el.originalHeight, menu.outerHeight()) - 2; menu._outerWidth(width)._outerHeight(height); menu.children('div.menu-line')._outerHeight(lineHeight); style += ';width:' + el.style.width + ';height:' + el.style.height; menu.attr('style', style); } /** * bind menu event */ function bindMenuEvent(target, menu){ var state = $.data(target, 'menu'); menu.unbind('.menu').bind('mouseenter.menu', function(){ if (state.timer){ clearTimeout(state.timer); state.timer = null; } }).bind('mouseleave.menu', function(){ if (state.options.hideOnUnhover){ state.timer = setTimeout(function(){ hideAll(target); }, state.options.duration); } }); } /** * bind menu item event */ function bindMenuItemEvent(target, item){ if (!item.hasClass('menu-item')){return} item.unbind('.menu'); item.bind('click.menu', function(){ if ($(this).hasClass('menu-item-disabled')){ return; } // only the sub menu clicked can hide all menus if (!this.submenu){ hideAll(target); var href = this.itemHref; if (href){ location.href = href; } } var item = $(target).menu('getItem', this); $.data(target, 'menu').options.onClick.call(target, item); }).bind('mouseenter.menu', function(e){ // hide other menu item.siblings().each(function(){ if (this.submenu){ hideMenu(this.submenu); } $(this).removeClass('menu-active'); }); // show this menu item.addClass('menu-active'); if ($(this).hasClass('menu-item-disabled')){ item.addClass('menu-active-disabled'); return; } var submenu = item[0].submenu; if (submenu){ $(target).menu('show', { menu: submenu, parent: item }); } }).bind('mouseleave.menu', function(e){ item.removeClass('menu-active menu-active-disabled'); var submenu = item[0].submenu; if (submenu){ if (e.pageX>=parseInt(submenu.css('left'))){ item.addClass('menu-active'); } else { hideMenu(submenu); } } else { item.removeClass('menu-active'); } }); } /** * hide top menu and it's all sub menus */ function hideAll(target){ var state = $.data(target, 'menu'); if (state){ if ($(target).is(':visible')){ hideMenu($(target)); state.options.onHide.call(target); } } return false; } /** * show the menu, the 'param' object has one or more properties: * left: the left position to display * top: the top position to display * menu: the menu to display, if not defined, the 'target menu' is used * parent: the parent menu item to align to * alignTo: the element object to align to */ function showMenu(target, param){ var left,top; param = param || {}; var menu = $(param.menu || target); $(target).menu('resize', menu[0]); if (menu.hasClass('menu-top')){ var opts = $.data(target, 'menu').options; $.extend(opts, param); left = opts.left; top = opts.top; if (opts.alignTo){ var at = $(opts.alignTo); left = at.offset().left; top = at.offset().top + at._outerHeight(); if (opts.align == 'right'){ left += at.outerWidth() - menu.outerWidth(); } } if (left + menu.outerWidth() > $(window)._outerWidth() + $(document)._scrollLeft()){ left = $(window)._outerWidth() + $(document).scrollLeft() - menu.outerWidth() - 5; } if (left < 0){left = 0;} top = _fixTop(top, opts.alignTo); } else { var parent = param.parent; // the parent menu item left = parent.offset().left + parent.outerWidth() - 2; if (left + menu.outerWidth() + 5 > $(window)._outerWidth() + $(document).scrollLeft()){ left = parent.offset().left - menu.outerWidth() + 2; } top = _fixTop(parent.offset().top - 3); } function _fixTop(top, alignTo){ if (top + menu.outerHeight() > $(window)._outerHeight() + $(document).scrollTop()){ if (alignTo){ top = $(alignTo).offset().top - menu._outerHeight(); } else { top = $(window)._outerHeight() + $(document).scrollTop() - menu.outerHeight(); } } if (top < 0){top = 0;} return top; } menu.css({left:left,top:top}); menu.show(0, function(){ if (!menu[0].shadow){ menu[0].shadow = $('').insertAfter(menu); } menu[0].shadow.css({ display:'block', zIndex:$.fn.menu.defaults.zIndex++, left:menu.css('left'), top:menu.css('top'), width:menu.outerWidth(), height:menu.outerHeight() }); menu.css('z-index', $.fn.menu.defaults.zIndex++); if (menu.hasClass('menu-top')){ $.data(menu[0], 'menu').options.onShow.call(menu[0]); } }); } function hideMenu(menu){ if (!menu) return; hideit(menu); menu.find('div.menu-item').each(function(){ if (this.submenu){ hideMenu(this.submenu); } $(this).removeClass('menu-active'); }); function hideit(m){ m.stop(true,true); if (m[0].shadow){ m[0].shadow.hide(); } m.hide(); } } function findItem(target, text){ var result = null; var tmp = $('
                                                      '); function find(menu){ menu.children('div.menu-item').each(function(){ var item = $(target).menu('getItem', this); var s = tmp.empty().html(item.text).text(); if (text == $.trim(s)) { result = item; } else if (this.submenu && !result){ find(this.submenu); } }); } find($(target)); tmp.remove(); return result; } function setDisabled(target, itemEl, disabled){ var t = $(itemEl); if (!t.hasClass('menu-item')){return} if (disabled){ t.addClass('menu-item-disabled'); if (itemEl.onclick){ itemEl.onclick1 = itemEl.onclick; itemEl.onclick = null; } } else { t.removeClass('menu-item-disabled'); if (itemEl.onclick1){ itemEl.onclick = itemEl.onclick1; itemEl.onclick1 = null; } } } function appendItem(target, param){ var menu = $(target); if (param.parent){ if (!param.parent.submenu){ var submenu = $('').appendTo('body'); submenu.hide(); param.parent.submenu = submenu; $('').appendTo(param.parent); } menu = param.parent.submenu; } if (param.separator){ var item = $('').appendTo(menu); } else { var item = $('').appendTo(menu); $('').html(param.text).appendTo(item); } if (param.iconCls) $('').addClass(param.iconCls).appendTo(item); if (param.id) item.attr('id', param.id); if (param.name){item[0].itemName = param.name} if (param.href){item[0].itemHref = param.href} if (param.onclick){ if (typeof param.onclick == 'string'){ item.attr('onclick', param.onclick); } else { item[0].onclick = eval(param.onclick); } } if (param.handler){item[0].onclick = eval(param.handler)} if (param.disabled){setDisabled(target, item[0], true)} bindMenuItemEvent(target, item); bindMenuEvent(target, menu); setMenuSize(target, menu); } function removeItem(target, itemEl){ function removeit(el){ if (el.submenu){ el.submenu.children('div.menu-item').each(function(){ removeit(this); }); var shadow = el.submenu[0].shadow; if (shadow) shadow.remove(); el.submenu.remove(); } $(el).remove(); } var menu = $(itemEl).parent(); removeit(itemEl); setMenuSize(target, menu); } function setVisible(target, itemEl, visible){ var menu = $(itemEl).parent(); if (visible){ $(itemEl).show(); } else { $(itemEl).hide(); } setMenuSize(target, menu); } function destroyMenu(target){ $(target).children('div.menu-item').each(function(){ removeItem(target, this); }); if (target.shadow) target.shadow.remove(); $(target).remove(); } $.fn.menu = function(options, param){ if (typeof options == 'string'){ return $.fn.menu.methods[options](this, param); } options = options || {}; return this.each(function(){ var state = $.data(this, 'menu'); if (state){ $.extend(state.options, options); } else { state = $.data(this, 'menu', { options: $.extend({}, $.fn.menu.defaults, $.fn.menu.parseOptions(this), options) }); init(this); } $(this).css({ left: state.options.left, top: state.options.top }); }); }; $.fn.menu.methods = { options: function(jq){ return $.data(jq[0], 'menu').options; }, show: function(jq, pos){ return jq.each(function(){ showMenu(this, pos); }); }, hide: function(jq){ return jq.each(function(){ hideAll(this); }); }, destroy: function(jq){ return jq.each(function(){ destroyMenu(this); }); }, /** * set the menu item text * param: { * target: DOM object, indicate the menu item * text: string, the new text * } */ setText: function(jq, param){ return jq.each(function(){ $(param.target).children('div.menu-text').html(param.text); }); }, /** * set the menu icon class * param: { * target: DOM object, indicate the menu item * iconCls: the menu item icon class * } */ setIcon: function(jq, param){ return jq.each(function(){ $(param.target).children('div.menu-icon').remove(); if (param.iconCls){ $('').addClass(param.iconCls).appendTo(param.target); } }); }, /** * get the menu item data that contains the following property: * { * target: DOM object, the menu item * id: the menu id * text: the menu item text * iconCls: the icon class * href: a remote address to redirect to * onclick: a function to be called when the item is clicked * } */ getItem: function(jq, itemEl){ var t = $(itemEl); var item = { target: itemEl, id: t.attr('id'), text: $.trim(t.children('div.menu-text').html()), disabled: t.hasClass('menu-item-disabled'), // href: t.attr('href'), // name: t.attr('name'), name: itemEl.itemName, href: itemEl.itemHref, onclick: itemEl.onclick } var icon = t.children('div.menu-icon'); if (icon.length){ var cc = []; var aa = icon.attr('class').split(' '); for(var i=0; i= 0){ v = Math.floor((parent.width()-delta) * v / 100.0); } else { v = Math.floor((parent.height()-delta) * v / 100.0); } } else { v = parseInt(v) || undefined; } return v; }, /** * parse options, including standard 'data-options' attribute. * * calling examples: * $.parser.parseOptions(target); * $.parser.parseOptions(target, ['id','title','width',{fit:'boolean',border:'boolean'},{min:'number'}]); */ parseOptions: function(target, properties){ var t = $(target); var options = {}; var s = $.trim(t.attr('data-options')); if (s){ if (s.substring(0, 1) != '{'){ s = '{' + s + '}'; } options = (new Function('return ' + s))(); } $.map(['width','height','left','top','minWidth','maxWidth','minHeight','maxHeight'], function(p){ var pv = $.trim(target.style[p] || ''); if (pv){ if (pv.indexOf('%') == -1){ pv = parseInt(pv) || undefined; } options[p] = pv; } }); if (properties){ var opts = {}; for(var i=0; i
                                                    ').appendTo('body'); $._boxModel = d.outerWidth()!=100; d.remove(); if (!window.easyloader && $.parser.auto){ $.parser.parse(); } }); /** * extend plugin to set box model width */ $.fn._outerWidth = function(width){ if (width == undefined){ if (this[0] == window){ return this.width() || document.body.clientWidth; } return this.outerWidth()||0; } return this._size('width', width); }; /** * extend plugin to set box model height */ $.fn._outerHeight = function(height){ if (height == undefined){ if (this[0] == window){ return this.height() || document.body.clientHeight; } return this.outerHeight()||0; } return this._size('height', height); }; $.fn._scrollLeft = function(left){ if (left == undefined){ return this.scrollLeft(); } else { return this.each(function(){$(this).scrollLeft(left)}); } }; $.fn._propAttr = $.fn.prop || $.fn.attr; $.fn._size = function(options, parent){ if (typeof options == 'string'){ if (options == 'clear'){ return this.each(function(){ $(this).css({width:'',minWidth:'',maxWidth:'',height:'',minHeight:'',maxHeight:''}); }); } else if (options == 'fit'){ return this.each(function(){ _fit(this, this.tagName=='BODY' ? $('body') : $(this).parent(), true); }); } else if (options == 'unfit'){ return this.each(function(){ _fit(this, $(this).parent(), false); }); } else { if (parent == undefined){ return _css(this[0], options); } else { return this.each(function(){ _css(this, options, parent); }); } } } else { return this.each(function(){ parent = parent || $(this).parent(); $.extend(options, _fit(this, parent, options.fit)||{}); var r1 = _setSize(this, 'width', parent, options); var r2 = _setSize(this, 'height', parent, options); if (r1 || r2){ $(this).addClass('easyui-fluid'); } else { $(this).removeClass('easyui-fluid'); } }); } function _fit(target, parent, fit){ if (!parent.length){return false;} var t = $(target)[0]; var p = parent[0]; var fcount = p.fcount || 0; if (fit){ if (!t.fitted){ t.fitted = true; p.fcount = fcount + 1; $(p).addClass('panel-noscroll'); if (p.tagName == 'BODY'){ $('html').addClass('panel-fit'); } } return { width: ($(p).width()||1), height: ($(p).height()||1) }; } else { if (t.fitted){ t.fitted = false; p.fcount = fcount - 1; if (p.fcount == 0){ $(p).removeClass('panel-noscroll'); if (p.tagName == 'BODY'){ $('html').removeClass('panel-fit'); } } } return false; } } function _setSize(target, property, parent, options){ var t = $(target); var p = property; var p1 = p.substr(0,1).toUpperCase() + p.substr(1); var min = $.parser.parseValue('min'+p1, options['min'+p1], parent);// || 0; var max = $.parser.parseValue('max'+p1, options['max'+p1], parent);// || 99999; var val = $.parser.parseValue(p, options[p], parent); var fluid = (String(options[p]||'').indexOf('%') >= 0 ? true : false); if (!isNaN(val)){ var v = Math.min(Math.max(val, min||0), max||99999); if (!fluid){ options[p] = v; } t._size('min'+p1, ''); t._size('max'+p1, ''); t._size(p, v); } else { t._size(p, ''); t._size('min'+p1, min); t._size('max'+p1, max); } return fluid || options.fit; } function _css(target, property, value){ var t = $(target); if (value == undefined){ value = parseInt(target.style[property]); if (isNaN(value)){return undefined;} if ($._boxModel){ value += getDeltaSize(); } return value; } else if (value === ''){ t.css(property, ''); } else { if ($._boxModel){ value -= getDeltaSize(); if (value < 0){value = 0;} } t.css(property, value+'px'); } function getDeltaSize(){ if (property.toLowerCase().indexOf('width') >= 0){ return t.outerWidth() - t.width(); } else { return t.outerHeight() - t.height(); } } } }; })(jQuery); /** * support for mobile devices */ (function($){ var longTouchTimer = null; var dblTouchTimer = null; var isDblClick = false; function onTouchStart(e){ if (e.touches.length != 1){return} if (!isDblClick){ isDblClick = true; dblClickTimer = setTimeout(function(){ isDblClick = false; }, 500); } else { clearTimeout(dblClickTimer); isDblClick = false; fire(e, 'dblclick'); // e.preventDefault(); } longTouchTimer = setTimeout(function(){ fire(e, 'contextmenu', 3); }, 1000); fire(e, 'mousedown'); if ($.fn.draggable.isDragging || $.fn.resizable.isResizing){ e.preventDefault(); } } function onTouchMove(e){ if (e.touches.length != 1){return} if (longTouchTimer){ clearTimeout(longTouchTimer); } fire(e, 'mousemove'); if ($.fn.draggable.isDragging || $.fn.resizable.isResizing){ e.preventDefault(); } } function onTouchEnd(e){ // if (e.touches.length > 0){return} if (longTouchTimer){ clearTimeout(longTouchTimer); } fire(e, 'mouseup'); if ($.fn.draggable.isDragging || $.fn.resizable.isResizing){ e.preventDefault(); } } function fire(e, name, which){ var event = new $.Event(name); event.pageX = e.changedTouches[0].pageX; event.pageY = e.changedTouches[0].pageY; event.which = which || 1; $(e.target).trigger(event); } if (document.addEventListener){ document.addEventListener("touchstart", onTouchStart, true); document.addEventListener("touchmove", onTouchMove, true); document.addEventListener("touchend", onTouchEnd, true); } })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/src/jquery.progressbar.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ /** * progressbar - jQuery EasyUI * * Dependencies: * none * */ (function($){ function init(target){ $(target).addClass('progressbar'); $(target).html('
                                                    '); $(target).bind('_resize', function(e,force){ if ($(this).hasClass('easyui-fluid') || force){ setSize(target); } return false; }); return $(target); } function setSize(target,width){ var opts = $.data(target, 'progressbar').options; var bar = $.data(target, 'progressbar').bar; if (width) opts.width = width; bar._size(opts); bar.find('div.progressbar-text').css('width', bar.width()); bar.find('div.progressbar-text,div.progressbar-value').css({ height: bar.height()+'px', lineHeight: bar.height()+'px' }); } $.fn.progressbar = function(options, param){ if (typeof options == 'string'){ var method = $.fn.progressbar.methods[options]; if (method){ return method(this, param); } } options = options || {}; return this.each(function(){ var state = $.data(this, 'progressbar'); if (state){ $.extend(state.options, options); } else { state = $.data(this, 'progressbar', { options: $.extend({}, $.fn.progressbar.defaults, $.fn.progressbar.parseOptions(this), options), bar: init(this) }); } $(this).progressbar('setValue', state.options.value); setSize(this); }); }; $.fn.progressbar.methods = { options: function(jq){ return $.data(jq[0], 'progressbar').options; }, resize: function(jq, width){ return jq.each(function(){ setSize(this, width); }); }, getValue: function(jq){ return $.data(jq[0], 'progressbar').options.value; }, setValue: function(jq, value){ if (value < 0) value = 0; if (value > 100) value = 100; return jq.each(function(){ var opts = $.data(this, 'progressbar').options; var text = opts.text.replace(/{value}/, value); var oldValue = opts.value; opts.value = value; $(this).find('div.progressbar-value').width(value+'%'); $(this).find('div.progressbar-text').html(text); if (oldValue != value){ opts.onChange.call(this, value, oldValue); } }); } }; $.fn.progressbar.parseOptions = function(target){ return $.extend({}, $.parser.parseOptions(target, ['width','height','text',{value:'number'}])); }; $.fn.progressbar.defaults = { width: 'auto', height: 22, value: 0, // percentage value text: '{value}%', onChange:function(newValue,oldValue){} }; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/src/jquery.propertygrid.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ /** * propertygrid - jQuery EasyUI * * Dependencies: * datagrid * */ (function($){ var currTarget; $(document).unbind('.propertygrid').bind('mousedown.propertygrid', function(e){ var p = $(e.target).closest('div.datagrid-view,div.combo-panel'); if (p.length){return;} stopEditing(currTarget); currTarget = undefined; }); function buildGrid(target){ var state = $.data(target, 'propertygrid'); var opts = $.data(target, 'propertygrid').options; $(target).datagrid($.extend({}, opts, { cls:'propertygrid', view:(opts.showGroup ? opts.groupView : opts.view), onBeforeEdit:function(index, row){ if (opts.onBeforeEdit.call(target, index, row) == false){return false;} var dg = $(this); var row = dg.datagrid('getRows')[index]; var col = dg.datagrid('getColumnOption', 'value'); col.editor = row.editor; }, onClickCell:function(index, field, value){ if (currTarget != this){ stopEditing(currTarget); currTarget = this; } if (opts.editIndex != index){ stopEditing(currTarget); $(this).datagrid('beginEdit', index); var ed = $(this).datagrid('getEditor', {index:index,field:field}); if (!ed){ ed = $(this).datagrid('getEditor', {index:index,field:'value'}); } if (ed){ var t = $(ed.target); var input = t.data('textbox') ? t.textbox('textbox') : t; input.focus(); opts.editIndex = index; } } opts.onClickCell.call(target, index, field, value); }, loadFilter:function(data){ stopEditing(this); return opts.loadFilter.call(this, data); } })); } function stopEditing(target){ var t = $(target); if (!t.length){return} var opts = $.data(target, 'propertygrid').options; opts.finder.getTr(target, null, 'editing').each(function(){ var index = parseInt($(this).attr('datagrid-row-index')); if (t.datagrid('validateRow', index)){ t.datagrid('endEdit', index); } else { t.datagrid('cancelEdit', index); } }); } $.fn.propertygrid = function(options, param){ if (typeof options == 'string'){ var method = $.fn.propertygrid.methods[options]; if (method){ return method(this, param); } else { return this.datagrid(options, param); } } options = options || {}; return this.each(function(){ var state = $.data(this, 'propertygrid'); if (state){ $.extend(state.options, options); } else { var opts = $.extend({}, $.fn.propertygrid.defaults, $.fn.propertygrid.parseOptions(this), options); opts.frozenColumns = $.extend(true, [], opts.frozenColumns); opts.columns = $.extend(true, [], opts.columns); $.data(this, 'propertygrid', { options: opts }); } buildGrid(this); }); } $.fn.propertygrid.methods = { options: function(jq){ return $.data(jq[0], 'propertygrid').options; } }; $.fn.propertygrid.parseOptions = function(target){ return $.extend({}, $.fn.datagrid.parseOptions(target), $.parser.parseOptions(target,[{showGroup:'boolean'}])); }; // the group view definition var groupview = $.extend({}, $.fn.datagrid.defaults.view, { render: function(target, container, frozen){ var table = []; var groups = this.groups; for(var i=0; i'); table.push(''); table.push(''); if ((frozen && (opts.rownumbers || opts.frozenColumns.length)) || (!frozen && !(opts.rownumbers || opts.frozenColumns.length))){ table.push(''); } table.push(''); table.push(''); table.push('
                                                     '); if (!frozen){ table.push(''); table.push(opts.groupFormatter.call(target, group.value, group.rows)); table.push(''); } table.push('
                                                    '); table.push(''); table.push(''); var index = group.startIndex; for(var j=0; j'); table.push(this.renderRow.call(this, target, fields, frozen, index, group.rows[j])); table.push(''); index++; } table.push('
                                                    '); return table.join(''); }, bindEvents: function(target){ var state = $.data(target, 'datagrid'); var dc = state.dc; var body = dc.body1.add(dc.body2); var clickHandler = ($.data(body[0],'events')||$._data(body[0],'events')).click[0].handler; body.unbind('click').bind('click', function(e){ var tt = $(e.target); var expander = tt.closest('span.datagrid-row-expander'); if (expander.length){ var gindex = expander.closest('div.datagrid-group').attr('group-index'); if (expander.hasClass('datagrid-row-collapse')){ $(target).datagrid('collapseGroup', gindex); } else { $(target).datagrid('expandGroup', gindex); } } else { clickHandler(e); } e.stopPropagation(); }); }, onBeforeRender: function(target, rows){ var state = $.data(target, 'datagrid'); var opts = state.options; initCss(); var groups = []; for(var i=0; i' + '.datagrid-group{height:25px;overflow:hidden;font-weight:bold;border-bottom:1px solid #ccc;}' + '' ); } } } }); $.extend($.fn.datagrid.methods, { expandGroup:function(jq, groupIndex){ return jq.each(function(){ var view = $.data(this, 'datagrid').dc.view; var group = view.find(groupIndex!=undefined ? 'div.datagrid-group[group-index="'+groupIndex+'"]' : 'div.datagrid-group'); var expander = group.find('span.datagrid-row-expander'); if (expander.hasClass('datagrid-row-expand')){ expander.removeClass('datagrid-row-expand').addClass('datagrid-row-collapse'); group.next('table').show(); } $(this).datagrid('fixRowHeight'); }); }, collapseGroup:function(jq, groupIndex){ return jq.each(function(){ var view = $.data(this, 'datagrid').dc.view; var group = view.find(groupIndex!=undefined ? 'div.datagrid-group[group-index="'+groupIndex+'"]' : 'div.datagrid-group'); var expander = group.find('span.datagrid-row-expander'); if (expander.hasClass('datagrid-row-collapse')){ expander.removeClass('datagrid-row-collapse').addClass('datagrid-row-expand'); group.next('table').hide(); } $(this).datagrid('fixRowHeight'); }); } }); $.extend(groupview, { refreshGroupTitle: function(target, groupIndex){ var state = $.data(target, 'datagrid'); var opts = state.options; var dc = state.dc; var group = this.groups[groupIndex]; var span = dc.body2.children('div.datagrid-group[group-index=' + groupIndex + ']').find('span.datagrid-group-title'); span.html(opts.groupFormatter.call(target, group.value, group.rows)); }, insertRow: function(target, index, row){ var state = $.data(target, 'datagrid'); var opts = state.options; var dc = state.dc; var group = null; var groupIndex; for(var i=0; i group.startIndex + group.rows.length){ index = group.startIndex + group.rows.length; } $.fn.datagrid.defaults.view.insertRow.call(this, target, index, row); if (index >= group.startIndex + group.rows.length){ _moveTr(index, true); _moveTr(index, false); } group.rows.splice(index - group.startIndex, 0, row); } else { group = { value: row[opts.groupField], rows: [row], startIndex: state.data.rows.length } groupIndex = this.groups.length; dc.body1.append(this.renderGroup.call(this, target, groupIndex, group, true)); dc.body2.append(this.renderGroup.call(this, target, groupIndex, group, false)); this.groups.push(group); state.data.rows.push(row); } this.refreshGroupTitle(target, groupIndex); function _moveTr(index,frozen){ var serno = frozen?1:2; var prevTr = opts.finder.getTr(target, index-1, 'body', serno); var tr = opts.finder.getTr(target, index, 'body', serno); tr.insertAfter(prevTr); } }, updateRow: function(target, index, row){ var opts = $.data(target, 'datagrid').options; $.fn.datagrid.defaults.view.updateRow.call(this, target, index, row); var tb = opts.finder.getTr(target, index, 'body', 2).closest('table.datagrid-btable'); var groupIndex = parseInt(tb.prev().attr('group-index')); this.refreshGroupTitle(target, groupIndex); }, deleteRow: function(target, index){ var state = $.data(target, 'datagrid'); var opts = state.options; var dc = state.dc; var body = dc.body1.add(dc.body2); var tb = opts.finder.getTr(target, index, 'body', 2).closest('table.datagrid-btable'); var groupIndex = parseInt(tb.prev().attr('group-index')); $.fn.datagrid.defaults.view.deleteRow.call(this, target, index); var group = this.groups[groupIndex]; if (group.rows.length > 1){ group.rows.splice(index-group.startIndex, 1); this.refreshGroupTitle(target, groupIndex); } else { body.children('div.datagrid-group[group-index='+groupIndex+']').remove(); for(var i=groupIndex+1; i= options.minWidth && resizeData.width <= options.maxWidth) { // resizeData.left = resizeData.startLeft + e.pageX - resizeData.startX; // } } if (resizeData.dir.indexOf('n') != -1) { var height = resizeData.startHeight - e.pageY + resizeData.startY; height = Math.min( Math.max(height, options.minHeight), options.maxHeight ); resizeData.height = height; resizeData.top = resizeData.startTop + resizeData.startHeight - resizeData.height; // resizeData.height = resizeData.startHeight - e.pageY + resizeData.startY; // if (resizeData.height >= options.minHeight && resizeData.height <= options.maxHeight) { // resizeData.top = resizeData.startTop + e.pageY - resizeData.startY; // } } } function applySize(e){ var resizeData = e.data; var t = $(resizeData.target); t.css({ left: resizeData.left, top: resizeData.top }); if (t.outerWidth() != resizeData.width){t._outerWidth(resizeData.width)} if (t.outerHeight() != resizeData.height){t._outerHeight(resizeData.height)} // t._outerWidth(resizeData.width)._outerHeight(resizeData.height); } function doDown(e){ // isResizing = true; $.fn.resizable.isResizing = true; $.data(e.data.target, 'resizable').options.onStartResize.call(e.data.target, e); return false; } function doMove(e){ resize(e); if ($.data(e.data.target, 'resizable').options.onResize.call(e.data.target, e) != false){ applySize(e) } return false; } function doUp(e){ // isResizing = false; $.fn.resizable.isResizing = false; resize(e, true); applySize(e); $.data(e.data.target, 'resizable').options.onStopResize.call(e.data.target, e); $(document).unbind('.resizable'); $('body').css('cursor',''); // $('body').css('cursor','auto'); return false; } return this.each(function(){ var opts = null; var state = $.data(this, 'resizable'); if (state) { $(this).unbind('.resizable'); opts = $.extend(state.options, options || {}); } else { opts = $.extend({}, $.fn.resizable.defaults, $.fn.resizable.parseOptions(this), options || {}); $.data(this, 'resizable', { options:opts }); } if (opts.disabled == true) { return; } // bind mouse event using namespace resizable $(this).bind('mousemove.resizable', {target:this}, function(e){ // if (isResizing) return; if ($.fn.resizable.isResizing){return} var dir = getDirection(e); if (dir == '') { $(e.data.target).css('cursor', ''); } else { $(e.data.target).css('cursor', dir + '-resize'); } }).bind('mouseleave.resizable', {target:this}, function(e){ $(e.data.target).css('cursor', ''); }).bind('mousedown.resizable', {target:this}, function(e){ var dir = getDirection(e); if (dir == '') return; function getCssValue(css) { var val = parseInt($(e.data.target).css(css)); if (isNaN(val)) { return 0; } else { return val; } } var data = { target: e.data.target, dir: dir, startLeft: getCssValue('left'), startTop: getCssValue('top'), left: getCssValue('left'), top: getCssValue('top'), startX: e.pageX, startY: e.pageY, startWidth: $(e.data.target).outerWidth(), startHeight: $(e.data.target).outerHeight(), width: $(e.data.target).outerWidth(), height: $(e.data.target).outerHeight(), deltaWidth: $(e.data.target).outerWidth() - $(e.data.target).width(), deltaHeight: $(e.data.target).outerHeight() - $(e.data.target).height() }; $(document).bind('mousedown.resizable', data, doDown); $(document).bind('mousemove.resizable', data, doMove); $(document).bind('mouseup.resizable', data, doUp); $('body').css('cursor', dir+'-resize'); }); // get the resize direction function getDirection(e) { var tt = $(e.data.target); var dir = ''; var offset = tt.offset(); var width = tt.outerWidth(); var height = tt.outerHeight(); var edge = opts.edge; if (e.pageY > offset.top && e.pageY < offset.top + edge) { dir += 'n'; } else if (e.pageY < offset.top + height && e.pageY > offset.top + height - edge) { dir += 's'; } if (e.pageX > offset.left && e.pageX < offset.left + edge) { dir += 'w'; } else if (e.pageX < offset.left + width && e.pageX > offset.left + width - edge) { dir += 'e'; } var handles = opts.handles.split(','); for(var i=0; i' + '
                                                    ' + '' + '' + '
                                                    ' + '
                                                    ' + '
                                                    ' + '
                                                    ' + '' + '').insertAfter(target); var t = $(target); t.addClass('slider-f').hide(); var name = t.attr('name'); if (name){ slider.find('input.slider-value').attr('name', name); t.removeAttr('name').attr('sliderName', name); } slider.bind('_resize', function(e,force){ if ($(this).hasClass('easyui-fluid') || force){ setSize(target); } return false; }); return slider; } /** * set the slider size, for vertical slider, the height property is required */ function setSize(target, param){ var state = $.data(target, 'slider'); var opts = state.options; var slider = state.slider; if (param){ if (param.width) opts.width = param.width; if (param.height) opts.height = param.height; } slider._size(opts); if (opts.mode == 'h'){ slider.css('height', ''); slider.children('div').css('height', ''); } else { slider.css('width', ''); slider.children('div').css('width', ''); slider.children('div.slider-rule,div.slider-rulelabel,div.slider-inner')._outerHeight(slider._outerHeight()); } initValue(target); } /** * show slider rule if needed */ function showRule(target){ var state = $.data(target, 'slider'); var opts = state.options; var slider = state.slider; var aa = opts.mode == 'h' ? opts.rule : opts.rule.slice(0).reverse(); if (opts.reversed){ aa = aa.slice(0).reverse(); } _build(aa); function _build(aa){ var rule = slider.find('div.slider-rule'); var label = slider.find('div.slider-rulelabel'); rule.empty(); label.empty(); for(var i=0; i
                                                    ').appendTo(rule); span.css((opts.mode=='h'?'left':'top'), distance); // show the labels if (aa[i] != '|'){ span = $('').appendTo(label); span.html(aa[i]); if (opts.mode == 'h'){ span.css({ left: distance, marginLeft: -Math.round(span.outerWidth()/2) }); } else { span.css({ top: distance, marginTop: -Math.round(span.outerHeight()/2) }); } } } } } /** * build the slider and set some properties */ function buildSlider(target){ var state = $.data(target, 'slider'); var opts = state.options; var slider = state.slider; slider.removeClass('slider-h slider-v slider-disabled'); slider.addClass(opts.mode == 'h' ? 'slider-h' : 'slider-v'); slider.addClass(opts.disabled ? 'slider-disabled' : ''); slider.find('a.slider-handle').draggable({ axis:opts.mode, cursor:'pointer', disabled: opts.disabled, onDrag:function(e){ var left = e.data.left; var width = slider.width(); if (opts.mode!='h'){ left = e.data.top; width = slider.height(); } if (left < 0 || left > width) { return false; } else { var value = pos2value(target, left); adjustValue(value); return false; } }, onBeforeDrag:function(){ state.isDragging = true; }, onStartDrag:function(){ opts.onSlideStart.call(target, opts.value); }, onStopDrag:function(e){ var value = pos2value(target, (opts.mode=='h'?e.data.left:e.data.top)); adjustValue(value); opts.onSlideEnd.call(target, opts.value); opts.onComplete.call(target, opts.value); state.isDragging = false; } }); slider.find('div.slider-inner').unbind('.slider').bind('mousedown.slider', function(e){ if (state.isDragging || opts.disabled){return} var pos = $(this).offset(); var value = pos2value(target, (opts.mode=='h'?(e.pageX-pos.left):(e.pageY-pos.top))); adjustValue(value); opts.onComplete.call(target, opts.value); }); function adjustValue(value){ var s = Math.abs(value % opts.step); if (s < opts.step/2){ value -= s; } else { value = value - s + opts.step; } setValue(target, value); } } /** * set a specified value to slider */ function setValue(target, value){ var state = $.data(target, 'slider'); var opts = state.options; var slider = state.slider; var oldValue = opts.value; if (value < opts.min) value = opts.min; if (value > opts.max) value = opts.max; opts.value = value; $(target).val(value); slider.find('input.slider-value').val(value); var pos = value2pos(target, value); var tip = slider.find('.slider-tip'); if (opts.showTip){ tip.show(); tip.html(opts.tipFormatter.call(target, opts.value)); } else { tip.hide(); } if (opts.mode == 'h'){ var style = 'left:'+pos+'px;'; slider.find('.slider-handle').attr('style', style); tip.attr('style', style + 'margin-left:' + (-Math.round(tip.outerWidth()/2)) + 'px'); } else { var style = 'top:' + pos + 'px;'; slider.find('.slider-handle').attr('style', style); tip.attr('style', style + 'margin-left:' + (-Math.round(tip.outerWidth())) + 'px'); } if (oldValue != value){ opts.onChange.call(target, value, oldValue); } } function initValue(target){ var opts = $.data(target, 'slider').options; var fn = opts.onChange; opts.onChange = function(){}; setValue(target, opts.value); opts.onChange = fn; } /** * translate value to slider position */ // function value2pos(target, value){ // var state = $.data(target, 'slider'); // var opts = state.options; // var slider = state.slider; // if (opts.mode == 'h'){ // var pos = (value-opts.min)/(opts.max-opts.min)*slider.width(); // if (opts.reversed){ // pos = slider.width() - pos; // } // } else { // var pos = slider.height() - (value-opts.min)/(opts.max-opts.min)*slider.height(); // if (opts.reversed){ // pos = slider.height() - pos; // } // } // return pos.toFixed(0); // } function value2pos(target, value){ var state = $.data(target, 'slider'); var opts = state.options; var slider = state.slider; var size = opts.mode == 'h' ? slider.width() : slider.height(); var pos = opts.converter.toPosition.call(target, value, size); if (opts.mode == 'v'){ pos = slider.height() - pos; } if (opts.reversed){ pos = size - pos; } return pos.toFixed(0); } /** * translate slider position to value */ // function pos2value(target, pos){ // var state = $.data(target, 'slider'); // var opts = state.options; // var slider = state.slider; // if (opts.mode == 'h'){ // var value = opts.min + (opts.max-opts.min)*(pos/slider.width()); // } else { // var value = opts.min + (opts.max-opts.min)*((slider.height()-pos)/slider.height()); // } // return opts.reversed ? opts.max - value.toFixed(0) : value.toFixed(0); // } function pos2value(target, pos){ var state = $.data(target, 'slider'); var opts = state.options; var slider = state.slider; var size = opts.mode == 'h' ? slider.width() : slider.height(); var value = opts.converter.toValue.call(target, opts.mode=='h'?(opts.reversed?(size-pos):pos):(size-pos), size); return value.toFixed(0); // var value = opts.converter.toValue.call(target, opts.mode=='h'?pos:(size-pos), size); // return opts.reversed ? opts.max - value.toFixed(0) : value.toFixed(0); } $.fn.slider = function(options, param){ if (typeof options == 'string'){ return $.fn.slider.methods[options](this, param); } options = options || {}; return this.each(function(){ var state = $.data(this, 'slider'); if (state){ $.extend(state.options, options); } else { state = $.data(this, 'slider', { options: $.extend({}, $.fn.slider.defaults, $.fn.slider.parseOptions(this), options), slider: init(this) }); $(this).removeAttr('disabled'); } var opts = state.options; opts.min = parseFloat(opts.min); opts.max = parseFloat(opts.max); opts.value = parseFloat(opts.value); opts.step = parseFloat(opts.step); opts.originalValue = opts.value; buildSlider(this); showRule(this); setSize(this); }); }; $.fn.slider.methods = { options: function(jq){ return $.data(jq[0], 'slider').options; }, destroy: function(jq){ return jq.each(function(){ $.data(this, 'slider').slider.remove(); $(this).remove(); }); }, resize: function(jq, param){ return jq.each(function(){ setSize(this, param); }); }, getValue: function(jq){ return jq.slider('options').value; }, setValue: function(jq, value){ return jq.each(function(){ setValue(this, value); }); }, clear: function(jq){ return jq.each(function(){ var opts = $(this).slider('options'); setValue(this, opts.min); }); }, reset: function(jq){ return jq.each(function(){ var opts = $(this).slider('options'); setValue(this, opts.originalValue); }); }, enable: function(jq){ return jq.each(function(){ $.data(this, 'slider').options.disabled = false; buildSlider(this); }); }, disable: function(jq){ return jq.each(function(){ $.data(this, 'slider').options.disabled = true; buildSlider(this); }); } }; $.fn.slider.parseOptions = function(target){ var t = $(target); return $.extend({}, $.parser.parseOptions(target, [ 'width','height','mode',{reversed:'boolean',showTip:'boolean',min:'number',max:'number',step:'number'} ]), { value: (t.val() || undefined), disabled: (t.attr('disabled') ? true : undefined), rule: (t.attr('rule') ? eval(t.attr('rule')) : undefined) }); }; $.fn.slider.defaults = { width: 'auto', height: 'auto', mode: 'h', // 'h'(horizontal) or 'v'(vertical) reversed: false, showTip: false, disabled: false, value: 0, min: 0, max: 100, step: 1, rule: [], // [0,'|',100] tipFormatter: function(value){return value}, converter:{ toPosition:function(value, size){ var opts = $(this).slider('options'); return (value-opts.min)/(opts.max-opts.min)*size; }, toValue:function(pos, size){ var opts = $(this).slider('options'); return opts.min + (opts.max-opts.min)*(pos/size); } }, onChange: function(value, oldValue){}, onSlideStart: function(value){}, onSlideEnd: function(value){}, onComplete: function(value){} }; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/src/jquery.tabs.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ /** * tabs - jQuery EasyUI * * Dependencies: * panel * linkbutton * */ (function($){ /** * set the tabs scrollers to show or not, * dependent on the tabs count and width */ function setScrollers(container) { var opts = $.data(container, 'tabs').options; if (opts.tabPosition == 'left' || opts.tabPosition == 'right' || !opts.showHeader){return} var header = $(container).children('div.tabs-header'); var tool = header.children('div.tabs-tool'); var sLeft = header.children('div.tabs-scroller-left'); var sRight = header.children('div.tabs-scroller-right'); var wrap = header.children('div.tabs-wrap'); // set the tool height var tHeight = header.outerHeight(); if (opts.plain){ tHeight -= tHeight - header.height(); } tool._outerHeight(tHeight); var tabsWidth = 0; $('ul.tabs li', header).each(function(){ tabsWidth += $(this).outerWidth(true); }); var cWidth = header.width() - tool._outerWidth(); if (tabsWidth > cWidth) { sLeft.add(sRight).show()._outerHeight(tHeight); if (opts.toolPosition == 'left'){ tool.css({ left: sLeft.outerWidth(), right: '' }); wrap.css({ marginLeft: sLeft.outerWidth() + tool._outerWidth(), marginRight: sRight._outerWidth(), width: cWidth - sLeft.outerWidth() - sRight.outerWidth() }); } else { tool.css({ left: '', right: sRight.outerWidth() }); wrap.css({ marginLeft: sLeft.outerWidth(), marginRight: sRight.outerWidth() + tool._outerWidth(), width: cWidth - sLeft.outerWidth() - sRight.outerWidth() }); } } else { sLeft.add(sRight).hide(); if (opts.toolPosition == 'left'){ tool.css({ left: 0, right: '' }); wrap.css({ marginLeft: tool._outerWidth(), marginRight: 0, width: cWidth }); } else { tool.css({ left: '', right: 0 }); wrap.css({ marginLeft: 0, marginRight: tool._outerWidth(), width: cWidth }); } } } function addTools(container){ var opts = $.data(container, 'tabs').options; var header = $(container).children('div.tabs-header'); if (opts.tools) { if (typeof opts.tools == 'string'){ $(opts.tools).addClass('tabs-tool').appendTo(header); $(opts.tools).show(); } else { header.children('div.tabs-tool').remove(); var tools = $('
                                                    ').appendTo(header); var tr = tools.find('tr'); for(var i=0; i').appendTo(tr); var tool = $('').appendTo(td); tool[0].onclick = eval(opts.tools[i].handler || function(){}); tool.linkbutton($.extend({}, opts.tools[i], { plain: true })); } } } else { header.children('div.tabs-tool').remove(); } } function setSize(container, param) { var state = $.data(container, 'tabs'); var opts = state.options; var cc = $(container); if (param){ $.extend(opts, { width: param.width, height: param.height }); } cc._size(opts); var header = cc.children('div.tabs-header'); var panels = cc.children('div.tabs-panels'); var wrap = header.find('div.tabs-wrap'); var ul = wrap.find('.tabs'); for(var i=0; i').insertBefore(cc); cc.children('div').each(function(){ pp[0].appendChild(this); }); cc[0].appendChild(pp[0]); // cc.wrapInner('
                                                    '); $('
                                                    ' + '
                                                    ' + '
                                                    ' + '
                                                    ' + '
                                                      ' + '
                                                      ' + '
                                                      ').prependTo(container); cc.children('div.tabs-panels').children('div').each(function(i){ var opts = $.extend({}, $.parser.parseOptions(this), { selected: ($(this).attr('selected') ? true : undefined) }); var pp = $(this); tabs.push(pp); createTab(container, pp, opts); }); cc.children('div.tabs-header').find('.tabs-scroller-left, .tabs-scroller-right').hover( function(){$(this).addClass('tabs-scroller-over');}, function(){$(this).removeClass('tabs-scroller-over');} ); cc.bind('_resize', function(e,force){ if ($(this).hasClass('easyui-fluid') || force){ setSize(container); setSelectedSize(container); } return false; }); } function bindEvents(container){ var state = $.data(container, 'tabs') var opts = state.options; $(container).children('div.tabs-header').unbind().bind('click', function(e){ if ($(e.target).hasClass('tabs-scroller-left')){ $(container).tabs('scrollBy', -opts.scrollIncrement); } else if ($(e.target).hasClass('tabs-scroller-right')){ $(container).tabs('scrollBy', opts.scrollIncrement); } else { var li = $(e.target).closest('li'); if (li.hasClass('tabs-disabled')){return;} var a = $(e.target).closest('a.tabs-close'); if (a.length){ closeTab(container, getLiIndex(li)); } else if (li.length){ // selectTab(container, getLiIndex(li)); var index = getLiIndex(li); var popts = state.tabs[index].panel('options'); if (popts.collapsible){ popts.closed ? selectTab(container, index) : unselectTab(container, index); } else { selectTab(container, index); } } } }).bind('contextmenu', function(e){ var li = $(e.target).closest('li'); if (li.hasClass('tabs-disabled')){return;} if (li.length){ opts.onContextMenu.call(container, e, li.find('span.tabs-title').html(), getLiIndex(li)); } }); function getLiIndex(li){ var index = 0; li.parent().children('li').each(function(i){ if (li[0] == this){ index = i; return false; } }); return index; } } function setProperties(container){ var opts = $.data(container, 'tabs').options; var header = $(container).children('div.tabs-header'); var panels = $(container).children('div.tabs-panels'); header.removeClass('tabs-header-top tabs-header-bottom tabs-header-left tabs-header-right'); panels.removeClass('tabs-panels-top tabs-panels-bottom tabs-panels-left tabs-panels-right'); if (opts.tabPosition == 'top'){ header.insertBefore(panels); } else if (opts.tabPosition == 'bottom'){ header.insertAfter(panels); header.addClass('tabs-header-bottom'); panels.addClass('tabs-panels-top'); } else if (opts.tabPosition == 'left'){ header.addClass('tabs-header-left'); panels.addClass('tabs-panels-right'); } else if (opts.tabPosition == 'right'){ header.addClass('tabs-header-right'); panels.addClass('tabs-panels-left'); } if (opts.plain == true) { header.addClass('tabs-header-plain'); } else { header.removeClass('tabs-header-plain'); } if (opts.border == true){ header.removeClass('tabs-header-noborder'); panels.removeClass('tabs-panels-noborder'); } else { header.addClass('tabs-header-noborder'); panels.addClass('tabs-panels-noborder'); } } function createTab(container, pp, options) { var state = $.data(container, 'tabs'); options = options || {}; // create panel pp.panel($.extend({}, options, { border: false, noheader: true, closed: true, doSize: false, iconCls: (options.icon ? options.icon : undefined), onLoad: function(){ if (options.onLoad){ options.onLoad.call(this, arguments); } state.options.onLoad.call(container, $(this)); } })); var opts = pp.panel('options'); var tabs = $(container).children('div.tabs-header').find('ul.tabs'); opts.tab = $('
                                                    • ').appendTo(tabs); // set the tab object in panel options opts.tab.append( '' + '' + '' + '' ); // only update the tab header $(container).tabs('update', { tab: pp, options: opts, type: 'header' }); } function addTab(container, options) { var state = $.data(container, 'tabs'); var opts = state.options; var tabs = state.tabs; if (options.selected == undefined) options.selected = true; var pp = $('
                                                      ').appendTo($(container).children('div.tabs-panels')); tabs.push(pp); createTab(container, pp, options); opts.onAdd.call(container, options.title, tabs.length-1); setSize(container); if (options.selected){ selectTab(container, tabs.length-1); // select the added tab panel } } /** * update tab panel, param has following properties: * tab: the tab panel to be updated * options: the tab panel options * type: the update type, possible values are: 'header','body','all' */ function updateTab(container, param){ param.type = param.type || 'all'; var selectHis = $.data(container, 'tabs').selectHis; var pp = param.tab; // the tab panel var oldTitle = pp.panel('options').title; if (param.type == 'all' || param == 'body'){ pp.panel($.extend({}, param.options, { iconCls: (param.options.icon ? param.options.icon : undefined) })); } if (param.type == 'all' || param.type == 'header'){ var opts = pp.panel('options'); // get the tab panel options var tab = opts.tab; var s_title = tab.find('span.tabs-title'); var s_icon = tab.find('span.tabs-icon'); s_title.html(opts.title); s_icon.attr('class', 'tabs-icon'); tab.find('a.tabs-close').remove(); if (opts.closable){ s_title.addClass('tabs-closable'); $('').appendTo(tab); } else{ s_title.removeClass('tabs-closable'); } if (opts.iconCls){ s_title.addClass('tabs-with-icon'); s_icon.addClass(opts.iconCls); } else { s_title.removeClass('tabs-with-icon'); } if (oldTitle != opts.title){ for(var i=0; i').insertAfter(tab.find('a.tabs-inner')); if ($.isArray(opts.tools)){ for(var i=0; i').appendTo(p_tool); t.addClass(opts.tools[i].iconCls); if (opts.tools[i].handler){ t.bind('click', {handler:opts.tools[i].handler}, function(e){ if ($(this).parents('li').hasClass('tabs-disabled')){return;} e.data.handler.call(this); }); } } } else { $(opts.tools).children().appendTo(p_tool); } var pr = p_tool.children().length * 12; if (opts.closable) { pr += 8; } else { pr -= 3; p_tool.css('right','5px'); } s_title.css('padding-right', pr+'px'); } } setSize(container); $.data(container, 'tabs').options.onUpdate.call(container, opts.title, getTabIndex(container, pp)); } /** * close a tab with specified index or title */ function closeTab(container, which) { var opts = $.data(container, 'tabs').options; var tabs = $.data(container, 'tabs').tabs; var selectHis = $.data(container, 'tabs').selectHis; if (!exists(container, which)) return; var tab = getTab(container, which); var title = tab.panel('options').title; var index = getTabIndex(container, tab); if (opts.onBeforeClose.call(container, title, index) == false) return; var tab = getTab(container, which, true); tab.panel('options').tab.remove(); tab.panel('destroy'); opts.onClose.call(container, title, index); // setScrollers(container); setSize(container); // remove the select history item for(var i=0; i= tabs.length){ return null; } else { var tab = tabs[which]; if (removeit) { tabs.splice(which, 1); } return tab; } } for(var i=0; idiv.tabs-header>div.tabs-wrap'); var left = tab.position().left; var right = left + tab.outerWidth(); if (left < 0 || right > wrap.width()){ var deltaX = left - (wrap.width()-tab.width()) / 2; $(container).tabs('scrollBy', deltaX); } else { $(container).tabs('scrollBy', 0); } setSelectedSize(container); opts.onSelect.call(container, title, getTabIndex(container, panel)); } function unselectTab(container, which){ var state = $.data(container, 'tabs'); var p = getTab(container, which); if (p){ var opts = p.panel('options'); if (!opts.closed){ p.panel('close'); if (opts.closed){ opts.tab.removeClass('tabs-selected'); state.options.onUnselect.call(container, opts.title, getTabIndex(container, p)); } } } } function exists(container, which){ return getTab(container, which) != null; } function showHeader(container, visible){ var opts = $.data(container, 'tabs').options; opts.showHeader = visible; $(container).tabs('resize'); } $.fn.tabs = function(options, param){ if (typeof options == 'string') { return $.fn.tabs.methods[options](this, param); } options = options || {}; return this.each(function(){ var state = $.data(this, 'tabs'); if (state) { $.extend(state.options, options); } else { $.data(this, 'tabs', { options: $.extend({},$.fn.tabs.defaults, $.fn.tabs.parseOptions(this), options), tabs: [], selectHis: [] }); wrapTabs(this); } addTools(this); setProperties(this); setSize(this); bindEvents(this); doFirstSelect(this); }); }; $.fn.tabs.methods = { options: function(jq){ var cc = jq[0]; var opts = $.data(cc, 'tabs').options; var s = getSelectedTab(cc); opts.selected = s ? getTabIndex(cc, s) : -1; return opts; }, tabs: function(jq){ return $.data(jq[0], 'tabs').tabs; }, resize: function(jq, param){ return jq.each(function(){ setSize(this, param); setSelectedSize(this); }); }, add: function(jq, options){ return jq.each(function(){ addTab(this, options); }); }, close: function(jq, which){ return jq.each(function(){ closeTab(this, which); }); }, getTab: function(jq, which){ return getTab(jq[0], which); }, getTabIndex: function(jq, tab){ return getTabIndex(jq[0], tab); }, getSelected: function(jq){ return getSelectedTab(jq[0]); }, select: function(jq, which){ return jq.each(function(){ selectTab(this, which); }); }, unselect: function(jq, which){ return jq.each(function(){ unselectTab(this, which); }); }, exists: function(jq, which){ return exists(jq[0], which); }, update: function(jq, options){ return jq.each(function(){ updateTab(this, options); }); }, enableTab: function(jq, which){ return jq.each(function(){ $(this).tabs('getTab', which).panel('options').tab.removeClass('tabs-disabled'); }); }, disableTab: function(jq, which){ return jq.each(function(){ $(this).tabs('getTab', which).panel('options').tab.addClass('tabs-disabled'); }); }, showHeader: function(jq){ return jq.each(function(){ showHeader(this, true); }); }, hideHeader: function(jq){ return jq.each(function(){ showHeader(this, false); }); }, scrollBy: function(jq, deltaX){ // scroll the tab header by the specified amount of pixels return jq.each(function(){ var opts = $(this).tabs('options'); var wrap = $(this).find('>div.tabs-header>div.tabs-wrap'); var pos = Math.min(wrap._scrollLeft() + deltaX, getMaxScrollWidth()); wrap.animate({scrollLeft: pos}, opts.scrollDuration); function getMaxScrollWidth(){ var w = 0; var ul = wrap.children('ul'); ul.children('li').each(function(){ w += $(this).outerWidth(true); }); return w - wrap.width() + (ul.outerWidth() - ul.width()); } }); } }; $.fn.tabs.parseOptions = function(target){ return $.extend({}, $.parser.parseOptions(target, [ 'tools','toolPosition','tabPosition', {fit:'boolean',border:'boolean',plain:'boolean',headerWidth:'number',tabWidth:'number',tabHeight:'number',selected:'number',showHeader:'boolean'} ])); }; $.fn.tabs.defaults = { width: 'auto', height: 'auto', headerWidth: 150, // the tab header width, it is valid only when tabPosition set to 'left' or 'right' tabWidth: 'auto', // the tab width tabHeight: 27, // the tab height selected: 0, // the initialized selected tab index showHeader: true, plain: false, fit: false, border: true, tools: null, toolPosition: 'right', // left,right tabPosition: 'top', // possible values: top,bottom scrollIncrement: 100, scrollDuration: 400, onLoad: function(panel){}, onSelect: function(title, index){}, onUnselect: function(title, index){}, onBeforeClose: function(title, index){}, onClose: function(title, index){}, onAdd: function(title, index){}, onUpdate: function(title, index){}, onContextMenu: function(e, title, index){} }; })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/src/jquery.window.js ================================================ /** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ /** * window - jQuery EasyUI * * Dependencies: * panel * draggable * resizable * */ (function($){ function moveWindow(target, param){ var state = $.data(target, 'window'); if (param){ if (param.left != null) state.options.left = param.left; if (param.top != null) state.options.top = param.top; } $(target).panel('move', state.options); if (state.shadow){ state.shadow.css({ left: state.options.left, top: state.options.top }); } } /** * center the window only horizontally */ function hcenter(target, tomove){ var opts = $.data(target, 'window').options; var pp = $(target).window('panel'); var width = pp._outerWidth(); if (opts.inline){ var parent = pp.parent(); opts.left = Math.ceil((parent.width() - width) / 2 + parent.scrollLeft()); } else { opts.left = Math.ceil(($(window)._outerWidth() - width) / 2 + $(document).scrollLeft()); } if (tomove){moveWindow(target);} } /** * center the window only vertically */ function vcenter(target, tomove){ var opts = $.data(target, 'window').options; var pp = $(target).window('panel'); var height = pp._outerHeight(); if (opts.inline){ var parent = pp.parent(); opts.top = Math.ceil((parent.height() - height) / 2 + parent.scrollTop()); } else { opts.top = Math.ceil(($(window)._outerHeight() - height) / 2 + $(document).scrollTop()); } if (tomove){moveWindow(target);} } function create(target){ var state = $.data(target, 'window'); var opts = state.options; var win = $(target).panel($.extend({}, state.options, { border: false, doSize: true, // size the panel, the property undefined in window component closed: true, // close the panel cls: 'window', headerCls: 'window-header', bodyCls: 'window-body ' + (opts.noheader ? 'window-body-noheader' : ''), onBeforeDestroy: function(){ if (opts.onBeforeDestroy.call(target) == false){return false;} if (state.shadow){state.shadow.remove();} if (state.mask){state.mask.remove();} }, onClose: function(){ if (state.shadow){state.shadow.hide();} if (state.mask){state.mask.hide();} opts.onClose.call(target); }, onOpen: function(){ if (state.mask){ state.mask.css({ display:'block', zIndex: $.fn.window.defaults.zIndex++ }); } if (state.shadow){ state.shadow.css({ display:'block', zIndex: $.fn.window.defaults.zIndex++, left: opts.left, top: opts.top, width: state.window._outerWidth(), height: state.window._outerHeight() }); } state.window.css('z-index', $.fn.window.defaults.zIndex++); opts.onOpen.call(target); }, onResize: function(width, height){ var popts = $(this).panel('options'); $.extend(opts, { width: popts.width, height: popts.height, left: popts.left, top: popts.top }); if (state.shadow){ state.shadow.css({ left: opts.left, top: opts.top, width: state.window._outerWidth(), height: state.window._outerHeight() }); } opts.onResize.call(target, width, height); }, onMinimize: function(){ if (state.shadow){state.shadow.hide();} if (state.mask){state.mask.hide();} state.options.onMinimize.call(target); }, onBeforeCollapse: function(){ if (opts.onBeforeCollapse.call(target) == false){return false;} if (state.shadow){state.shadow.hide();} }, onExpand: function(){ if (state.shadow){state.shadow.show();} opts.onExpand.call(target); } })); state.window = win.panel('panel'); // create mask if (state.mask){state.mask.remove();} if (opts.modal == true){ state.mask = $('
                                                      ').insertAfter(state.window); state.mask.css({ width: (opts.inline ? state.mask.parent().width() : getPageArea().width), height: (opts.inline ? state.mask.parent().height() : getPageArea().height), display: 'none' }); } // create shadow if (state.shadow){state.shadow.remove();} if (opts.shadow == true){ state.shadow = $('
                                                      ').insertAfter(state.window); state.shadow.css({ display: 'none' }); } // if require center the window if (opts.left == null){hcenter(target);} if (opts.top == null){vcenter(target);} moveWindow(target); if (!opts.closed){ win.window('open'); // open the window } } /** * set window drag and resize property */ function setProperties(target){ var state = $.data(target, 'window'); state.window.draggable({ handle: '>div.panel-header>div.panel-title', disabled: state.options.draggable == false, onStartDrag: function(e){ if (state.mask) state.mask.css('z-index', $.fn.window.defaults.zIndex++); if (state.shadow) state.shadow.css('z-index', $.fn.window.defaults.zIndex++); state.window.css('z-index', $.fn.window.defaults.zIndex++); if (!state.proxy){ state.proxy = $('
                                                      ').insertAfter(state.window); } state.proxy.css({ display:'none', zIndex: $.fn.window.defaults.zIndex++, left: e.data.left, top: e.data.top }); state.proxy._outerWidth(state.window._outerWidth()); state.proxy._outerHeight(state.window._outerHeight()); setTimeout(function(){ if (state.proxy) state.proxy.show(); }, 500); }, onDrag: function(e){ state.proxy.css({ display:'block', left: e.data.left, top: e.data.top }); return false; }, onStopDrag: function(e){ state.options.left = e.data.left; state.options.top = e.data.top; $(target).window('move'); state.proxy.remove(); state.proxy = null; } }); state.window.resizable({ disabled: state.options.resizable == false, onStartResize:function(e){ if (state.pmask){state.pmask.remove();} state.pmask = $('
                                                      ').insertAfter(state.window); state.pmask.css({ zIndex: $.fn.window.defaults.zIndex++, left: e.data.left, top: e.data.top, width: state.window._outerWidth(), height: state.window._outerHeight() }); if (state.proxy){state.proxy.remove();} state.proxy = $('
                                                      ').insertAfter(state.window); state.proxy.css({ zIndex: $.fn.window.defaults.zIndex++, left: e.data.left, top: e.data.top }); state.proxy._outerWidth(e.data.width)._outerHeight(e.data.height); }, onResize: function(e){ state.proxy.css({ left: e.data.left, top: e.data.top }); state.proxy._outerWidth(e.data.width); state.proxy._outerHeight(e.data.height); return false; }, onStopResize: function(e){ $(target).window('resize', e.data); state.pmask.remove(); state.pmask = null; state.proxy.remove(); state.proxy = null; } }); } function getPageArea() { if (document.compatMode == 'BackCompat') { return { width: Math.max(document.body.scrollWidth, document.body.clientWidth), height: Math.max(document.body.scrollHeight, document.body.clientHeight) } } else { return { width: Math.max(document.documentElement.scrollWidth, document.documentElement.clientWidth), height: Math.max(document.documentElement.scrollHeight, document.documentElement.clientHeight) } } } // when window resize, reset the width and height of the window's mask $(window).resize(function(){ $('body>div.window-mask').css({ width: $(window)._outerWidth(), height: $(window)._outerHeight() }); setTimeout(function(){ $('body>div.window-mask').css({ width: getPageArea().width, height: getPageArea().height }); }, 50); }); $.fn.window = function(options, param){ if (typeof options == 'string'){ var method = $.fn.window.methods[options]; if (method){ return method(this, param); } else { return this.panel(options, param); } } options = options || {}; return this.each(function(){ var state = $.data(this, 'window'); if (state){ $.extend(state.options, options); } else { state = $.data(this, 'window', { options: $.extend({}, $.fn.window.defaults, $.fn.window.parseOptions(this), options) }); if (!state.options.inline){ // $(this).appendTo('body'); document.body.appendChild(this); } } create(this); setProperties(this); }); }; $.fn.window.methods = { options: function(jq){ var popts = jq.panel('options'); var wopts = $.data(jq[0], 'window').options; return $.extend(wopts, { closed: popts.closed, collapsed: popts.collapsed, minimized: popts.minimized, maximized: popts.maximized }); }, window: function(jq){ return $.data(jq[0], 'window').window; }, move: function(jq, param){ return jq.each(function(){ moveWindow(this, param); }); }, hcenter: function(jq){ return jq.each(function(){ hcenter(this, true); }); }, vcenter: function(jq){ return jq.each(function(){ vcenter(this, true); }); }, center: function(jq){ return jq.each(function(){ hcenter(this); vcenter(this); moveWindow(this); }); } }; $.fn.window.parseOptions = function(target){ return $.extend({}, $.fn.panel.parseOptions(target), $.parser.parseOptions(target, [ {draggable:'boolean',resizable:'boolean',shadow:'boolean',modal:'boolean',inline:'boolean'} ])); }; // Inherited from $.fn.panel.defaults $.fn.window.defaults = $.extend({}, $.fn.panel.defaults, { zIndex: 9000, draggable: true, resizable: true, shadow: true, modal: false, inline: false, // true to stay inside its parent, false to go on top of all elements // window's property which difference from panel title: 'New Window', collapsible: true, minimizable: true, maximizable: true, closable: true, closed: false }); })(jQuery); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/accordion.css ================================================ .accordion { overflow: hidden; border-width: 1px; border-style: solid; } .accordion .accordion-header { border-width: 0 0 1px; cursor: pointer; } .accordion .accordion-body { border-width: 0 0 1px; } .accordion-noborder { border-width: 0; } .accordion-noborder .accordion-header { border-width: 0 0 1px; } .accordion-noborder .accordion-body { border-width: 0 0 1px; } .accordion-collapse { background: url('images/accordion_arrows.png') no-repeat 0 0; } .accordion-expand { background: url('images/accordion_arrows.png') no-repeat -16px 0; } .accordion { background: #666; border-color: #000; } .accordion .accordion-header { background: #3d3d3d; filter: none; } .accordion .accordion-header-selected { background: #0052A3; } .accordion .accordion-header-selected .panel-title { color: #fff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/calendar.css ================================================ .calendar { border-width: 1px; border-style: solid; padding: 1px; overflow: hidden; } .calendar table { table-layout: fixed; border-collapse: separate; font-size: 12px; width: 100%; height: 100%; } .calendar table td, .calendar table th { font-size: 12px; } .calendar-noborder { border: 0; } .calendar-header { position: relative; height: 22px; } .calendar-title { text-align: center; height: 22px; } .calendar-title span { position: relative; display: inline-block; top: 2px; padding: 0 3px; height: 18px; line-height: 18px; font-size: 12px; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-prevmonth, .calendar-nextmonth, .calendar-prevyear, .calendar-nextyear { position: absolute; top: 50%; margin-top: -7px; width: 14px; height: 14px; cursor: pointer; font-size: 1px; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-prevmonth { left: 20px; background: url('images/calendar_arrows.png') no-repeat -18px -2px; } .calendar-nextmonth { right: 20px; background: url('images/calendar_arrows.png') no-repeat -34px -2px; } .calendar-prevyear { left: 3px; background: url('images/calendar_arrows.png') no-repeat -1px -2px; } .calendar-nextyear { right: 3px; background: url('images/calendar_arrows.png') no-repeat -49px -2px; } .calendar-body { position: relative; } .calendar-body th, .calendar-body td { text-align: center; } .calendar-day { border: 0; padding: 1px; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-other-month { opacity: 0.3; filter: alpha(opacity=30); } .calendar-disabled { opacity: 0.6; filter: alpha(opacity=60); cursor: default; } .calendar-menu { position: absolute; top: 0; left: 0; width: 180px; height: 150px; padding: 5px; font-size: 12px; display: none; overflow: hidden; } .calendar-menu-year-inner { text-align: center; padding-bottom: 5px; } .calendar-menu-year { width: 40px; text-align: center; border-width: 1px; border-style: solid; margin: 0; padding: 2px; font-weight: bold; font-size: 12px; } .calendar-menu-prev, .calendar-menu-next { display: inline-block; width: 21px; height: 21px; vertical-align: top; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-menu-prev { margin-right: 10px; background: url('images/calendar_arrows.png') no-repeat 2px 2px; } .calendar-menu-next { margin-left: 10px; background: url('images/calendar_arrows.png') no-repeat -45px 2px; } .calendar-menu-month { text-align: center; cursor: pointer; font-weight: bold; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-body th, .calendar-menu-month { color: #ffffff; } .calendar-day { color: #fff; } .calendar-sunday { color: #CC2222; } .calendar-saturday { color: #00ee00; } .calendar-today { color: #0000ff; } .calendar-menu-year { border-color: #000; } .calendar { border-color: #000; } .calendar-header { background: #3d3d3d; } .calendar-body, .calendar-menu { background: #666; } .calendar-body th { background: #555; padding: 2px 0; } .calendar-hover, .calendar-nav-hover, .calendar-menu-hover { background-color: #777; color: #fff; } .calendar-hover { border: 1px solid #555; padding: 0; } .calendar-selected { background-color: #0052A3; color: #fff; border: 1px solid #00458a; padding: 0; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/combo.css ================================================ .combo { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .combo .combo-text { font-size: 12px; border: 0px; margin: 0; padding: 0px 2px; vertical-align: baseline; } .combo-arrow { width: 18px; height: 20px; overflow: hidden; display: inline-block; vertical-align: top; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); } .combo-arrow-hover { opacity: 1.0; filter: alpha(opacity=100); } .combo-panel { overflow: auto; } .combo-arrow { background: url('images/combo_arrow.png') no-repeat center center; } .combo-panel { background-color: #666; } .combo { border-color: #000; background-color: #fff; } .combo-arrow { background-color: #3d3d3d; } .combo-arrow-hover { background-color: #777; } .combo-arrow:hover { background-color: #777; } .combo .textbox-icon-disabled:hover { cursor: default; } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/combobox.css ================================================ .combobox-item, .combobox-group { font-size: 12px; padding: 3px; padding-right: 0px; } .combobox-item-disabled { opacity: 0.5; filter: alpha(opacity=50); } .combobox-gitem { padding-left: 10px; } .combobox-group { font-weight: bold; } .combobox-item-hover { background-color: #777; color: #fff; } .combobox-item-selected { background-color: #0052A3; color: #fff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/datagrid.css ================================================ .datagrid .panel-body { overflow: hidden; position: relative; } .datagrid-view { position: relative; overflow: hidden; } .datagrid-view1, .datagrid-view2 { position: absolute; overflow: hidden; top: 0; } .datagrid-view1 { left: 0; } .datagrid-view2 { right: 0; } .datagrid-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0.3; filter: alpha(opacity=30); display: none; } .datagrid-mask-msg { position: absolute; top: 50%; margin-top: -20px; padding: 10px 5px 10px 30px; width: auto; height: 16px; border-width: 2px; border-style: solid; display: none; } .datagrid-sort-icon { padding: 0; } .datagrid-toolbar { height: auto; padding: 1px 2px; border-width: 0 0 1px 0; border-style: solid; } .datagrid-btn-separator { float: left; height: 24px; border-left: 1px solid #444; border-right: 1px solid #777; margin: 2px 1px; } .datagrid .datagrid-pager { display: block; margin: 0; border-width: 1px 0 0 0; border-style: solid; } .datagrid .datagrid-pager-top { border-width: 0 0 1px 0; } .datagrid-header { overflow: hidden; cursor: default; border-width: 0 0 1px 0; border-style: solid; } .datagrid-header-inner { float: left; width: 10000px; } .datagrid-header-row, .datagrid-row { height: 25px; } .datagrid-header td, .datagrid-body td, .datagrid-footer td { border-width: 0 1px 1px 0; border-style: dotted; margin: 0; padding: 0; } .datagrid-cell, .datagrid-cell-group, .datagrid-header-rownumber, .datagrid-cell-rownumber { margin: 0; padding: 0 4px; white-space: nowrap; word-wrap: normal; overflow: hidden; height: 18px; line-height: 18px; font-size: 12px; } .datagrid-header .datagrid-cell { height: auto; } .datagrid-header .datagrid-cell span { font-size: 12px; } .datagrid-cell-group { text-align: center; } .datagrid-header-rownumber, .datagrid-cell-rownumber { width: 25px; text-align: center; margin: 0; padding: 0; } .datagrid-body { margin: 0; padding: 0; overflow: auto; zoom: 1; } .datagrid-view1 .datagrid-body-inner { padding-bottom: 20px; } .datagrid-view1 .datagrid-body { overflow: hidden; } .datagrid-footer { overflow: hidden; } .datagrid-footer-inner { border-width: 1px 0 0 0; border-style: solid; width: 10000px; float: left; } .datagrid-row-editing .datagrid-cell { height: auto; } .datagrid-header-check, .datagrid-cell-check { padding: 0; width: 27px; height: 18px; font-size: 1px; text-align: center; overflow: hidden; } .datagrid-header-check input, .datagrid-cell-check input { margin: 0; padding: 0; width: 15px; height: 18px; } .datagrid-resize-proxy { position: absolute; width: 1px; height: 10000px; top: 0; cursor: e-resize; display: none; } .datagrid-body .datagrid-editable { margin: 0; padding: 0; } .datagrid-body .datagrid-editable table { width: 100%; height: 100%; } .datagrid-body .datagrid-editable td { border: 0; margin: 0; padding: 0; } .datagrid-view .datagrid-editable-input { margin: 0; padding: 2px 4px; border: 1px solid #000; font-size: 12px; outline-style: none; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .datagrid-sort-desc .datagrid-sort-icon { padding: 0 13px 0 0; background: url('images/datagrid_icons.png') no-repeat -16px center; } .datagrid-sort-asc .datagrid-sort-icon { padding: 0 13px 0 0; background: url('images/datagrid_icons.png') no-repeat 0px center; } .datagrid-row-collapse { background: url('images/datagrid_icons.png') no-repeat -48px center; } .datagrid-row-expand { background: url('images/datagrid_icons.png') no-repeat -32px center; } .datagrid-mask-msg { background: #666 url('images/loading.gif') no-repeat scroll 5px center; } .datagrid-header, .datagrid-td-rownumber { background-color: #444; background: -webkit-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); background: -moz-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); background: -o-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); background: linear-gradient(to bottom,#4c4c4c 0,#3f3f3f 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4c4c4c,endColorstr=#3f3f3f,GradientType=0); } .datagrid-cell-rownumber { color: #fff; } .datagrid-resize-proxy { background: #cccccc; } .datagrid-mask { background: #000; } .datagrid-mask-msg { border-color: #000; } .datagrid-toolbar, .datagrid-pager { background: #555; } .datagrid-header, .datagrid-toolbar, .datagrid-pager, .datagrid-footer-inner { border-color: #222; } .datagrid-header td, .datagrid-body td, .datagrid-footer td { border-color: #222; } .datagrid-htable, .datagrid-btable, .datagrid-ftable { color: #fff; border-collapse: separate; } .datagrid-row-alt { background: #555; } .datagrid-row-over, .datagrid-header td.datagrid-header-over { background: #777; color: #fff; cursor: default; } .datagrid-row-selected { background: #0052A3; color: #fff; } .datagrid-row-editing .textbox, .datagrid-row-editing .textbox-text { -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/datebox.css ================================================ .datebox-calendar-inner { height: 180px; } .datebox-button { height: 18px; padding: 2px 5px; text-align: center; } .datebox-button a { font-size: 12px; font-weight: bold; text-decoration: none; opacity: 0.6; filter: alpha(opacity=60); } .datebox-button a:hover { opacity: 1.0; filter: alpha(opacity=100); } .datebox-current, .datebox-close { float: left; } .datebox-close { float: right; } .datebox .combo-arrow { background-image: url('images/datebox_arrow.png'); background-position: center center; } .datebox-button { background-color: #555; } .datebox-button a { color: #fff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/dialog.css ================================================ .dialog-content { overflow: auto; } .dialog-toolbar { padding: 2px 5px; } .dialog-tool-separator { float: left; height: 24px; border-left: 1px solid #444; border-right: 1px solid #777; margin: 2px 1px; } .dialog-button { padding: 5px; text-align: right; } .dialog-button .l-btn { margin-left: 5px; } .dialog-toolbar, .dialog-button { background: #555; border-width: 1px; border-style: solid; } .dialog-toolbar { border-color: #000 #000 #222 #000; } .dialog-button { border-color: #222 #000 #000 #000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/easyui.css ================================================ .panel { overflow: hidden; text-align: left; margin: 0; border: 0; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .panel-header, .panel-body { border-width: 1px; border-style: solid; } .panel-header { padding: 5px; position: relative; } .panel-title { background: url('images/blank.gif') no-repeat; } .panel-header-noborder { border-width: 0 0 1px 0; } .panel-body { overflow: auto; border-top-width: 0; padding: 0; } .panel-body-noheader { border-top-width: 1px; } .panel-body-noborder { border-width: 0px; } .panel-body-nobottom { border-bottom-width: 0; } .panel-with-icon { padding-left: 18px; } .panel-icon, .panel-tool { position: absolute; top: 50%; margin-top: -8px; height: 16px; overflow: hidden; } .panel-icon { left: 5px; width: 16px; } .panel-tool { right: 5px; width: auto; } .panel-tool a { display: inline-block; width: 16px; height: 16px; opacity: 0.6; filter: alpha(opacity=60); margin: 0 0 0 2px; vertical-align: top; } .panel-tool a:hover { opacity: 1; filter: alpha(opacity=100); background-color: #777; -moz-border-radius: 3px 3px 3px 3px; -webkit-border-radius: 3px 3px 3px 3px; border-radius: 3px 3px 3px 3px; } .panel-loading { padding: 11px 0px 10px 30px; } .panel-noscroll { overflow: hidden; } .panel-fit, .panel-fit body { height: 100%; margin: 0; padding: 0; border: 0; overflow: hidden; } .panel-loading { background: url('images/loading.gif') no-repeat 10px 10px; } .panel-tool-close { background: url('images/panel_tools.png') no-repeat -16px 0px; } .panel-tool-min { background: url('images/panel_tools.png') no-repeat 0px 0px; } .panel-tool-max { background: url('images/panel_tools.png') no-repeat 0px -16px; } .panel-tool-restore { background: url('images/panel_tools.png') no-repeat -16px -16px; } .panel-tool-collapse { background: url('images/panel_tools.png') no-repeat -32px 0; } .panel-tool-expand { background: url('images/panel_tools.png') no-repeat -32px -16px; } .panel-header, .panel-body { border-color: #000; } .panel-header { background-color: #3d3d3d; background: -webkit-linear-gradient(top,#454545 0,#383838 100%); background: -moz-linear-gradient(top,#454545 0,#383838 100%); background: -o-linear-gradient(top,#454545 0,#383838 100%); background: linear-gradient(to bottom,#454545 0,#383838 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); } .panel-body { background-color: #666; color: #fff; font-size: 12px; } .panel-title { font-size: 12px; font-weight: bold; color: #fff; height: 16px; line-height: 16px; } .panel-footer { border: 1px solid #000; overflow: hidden; background: #555; } .panel-footer-noborder { border-width: 1px 0 0 0; } .accordion { overflow: hidden; border-width: 1px; border-style: solid; } .accordion .accordion-header { border-width: 0 0 1px; cursor: pointer; } .accordion .accordion-body { border-width: 0 0 1px; } .accordion-noborder { border-width: 0; } .accordion-noborder .accordion-header { border-width: 0 0 1px; } .accordion-noborder .accordion-body { border-width: 0 0 1px; } .accordion-collapse { background: url('images/accordion_arrows.png') no-repeat 0 0; } .accordion-expand { background: url('images/accordion_arrows.png') no-repeat -16px 0; } .accordion { background: #666; border-color: #000; } .accordion .accordion-header { background: #3d3d3d; filter: none; } .accordion .accordion-header-selected { background: #0052A3; } .accordion .accordion-header-selected .panel-title { color: #fff; } .window { overflow: hidden; padding: 5px; border-width: 1px; border-style: solid; } .window .window-header { background: transparent; padding: 0px 0px 6px 0px; } .window .window-body { border-width: 1px; border-style: solid; border-top-width: 0px; } .window .window-body-noheader { border-top-width: 1px; } .window .panel-body-nobottom { border-bottom-width: 0; } .window .window-header .panel-icon, .window .window-header .panel-tool { top: 50%; margin-top: -11px; } .window .window-header .panel-icon { left: 1px; } .window .window-header .panel-tool { right: 1px; } .window .window-header .panel-with-icon { padding-left: 18px; } .window-proxy { position: absolute; overflow: hidden; } .window-proxy-mask { position: absolute; filter: alpha(opacity=5); opacity: 0.05; } .window-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; filter: alpha(opacity=40); opacity: 0.40; font-size: 1px; overflow: hidden; } .window, .window-shadow { position: absolute; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .window-shadow { background: #777; -moz-box-shadow: 2px 2px 3px #787878; -webkit-box-shadow: 2px 2px 3px #787878; box-shadow: 2px 2px 3px #787878; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); } .window, .window .window-body { border-color: #000; } .window { background-color: #3d3d3d; background: -webkit-linear-gradient(top,#454545 0,#383838 20%); background: -moz-linear-gradient(top,#454545 0,#383838 20%); background: -o-linear-gradient(top,#454545 0,#383838 20%); background: linear-gradient(to bottom,#454545 0,#383838 20%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); } .window-proxy { border: 1px dashed #000; } .window-proxy-mask, .window-mask { background: #000; } .window .panel-footer { border: 1px solid #000; position: relative; top: -1px; } .dialog-content { overflow: auto; } .dialog-toolbar { padding: 2px 5px; } .dialog-tool-separator { float: left; height: 24px; border-left: 1px solid #444; border-right: 1px solid #777; margin: 2px 1px; } .dialog-button { padding: 5px; text-align: right; } .dialog-button .l-btn { margin-left: 5px; } .dialog-toolbar, .dialog-button { background: #555; border-width: 1px; border-style: solid; } .dialog-toolbar { border-color: #000 #000 #222 #000; } .dialog-button { border-color: #222 #000 #000 #000; } .l-btn { text-decoration: none; display: inline-block; overflow: hidden; margin: 0; padding: 0; cursor: pointer; outline: none; text-align: center; vertical-align: middle; } .l-btn-plain { border: 0; padding: 1px; } .l-btn-left { display: inline-block; position: relative; overflow: hidden; margin: 0; padding: 0; vertical-align: top; } .l-btn-text { display: inline-block; vertical-align: top; width: auto; line-height: 24px; font-size: 12px; padding: 0; margin: 0 4px; } .l-btn-icon { display: inline-block; width: 16px; height: 16px; line-height: 16px; position: absolute; top: 50%; margin-top: -8px; font-size: 1px; } .l-btn span span .l-btn-empty { display: inline-block; margin: 0; width: 16px; height: 24px; font-size: 1px; vertical-align: top; } .l-btn span .l-btn-icon-left { padding: 0 0 0 20px; background-position: left center; } .l-btn span .l-btn-icon-right { padding: 0 20px 0 0; background-position: right center; } .l-btn-icon-left .l-btn-text { margin: 0 4px 0 24px; } .l-btn-icon-left .l-btn-icon { left: 4px; } .l-btn-icon-right .l-btn-text { margin: 0 24px 0 4px; } .l-btn-icon-right .l-btn-icon { right: 4px; } .l-btn-icon-top .l-btn-text { margin: 20px 4px 0 4px; } .l-btn-icon-top .l-btn-icon { top: 4px; left: 50%; margin: 0 0 0 -8px; } .l-btn-icon-bottom .l-btn-text { margin: 0 4px 20px 4px; } .l-btn-icon-bottom .l-btn-icon { top: auto; bottom: 4px; left: 50%; margin: 0 0 0 -8px; } .l-btn-left .l-btn-empty { margin: 0 4px; width: 16px; } .l-btn-plain:hover { padding: 0; } .l-btn-focus { outline: #0000FF dotted thin; } .l-btn-large .l-btn-text { line-height: 40px; } .l-btn-large .l-btn-icon { width: 32px; height: 32px; line-height: 32px; margin-top: -16px; } .l-btn-large .l-btn-icon-left .l-btn-text { margin-left: 40px; } .l-btn-large .l-btn-icon-right .l-btn-text { margin-right: 40px; } .l-btn-large .l-btn-icon-top .l-btn-text { margin-top: 36px; line-height: 24px; min-width: 32px; } .l-btn-large .l-btn-icon-top .l-btn-icon { margin: 0 0 0 -16px; } .l-btn-large .l-btn-icon-bottom .l-btn-text { margin-bottom: 36px; line-height: 24px; min-width: 32px; } .l-btn-large .l-btn-icon-bottom .l-btn-icon { margin: 0 0 0 -16px; } .l-btn-large .l-btn-left .l-btn-empty { margin: 0 4px; width: 32px; } .l-btn { color: #fff; background: #777; background-repeat: repeat-x; border: 1px solid #555; background: -webkit-linear-gradient(top,#919191 0,#6a6a6a 100%); background: -moz-linear-gradient(top,#919191 0,#6a6a6a 100%); background: -o-linear-gradient(top,#919191 0,#6a6a6a 100%); background: linear-gradient(to bottom,#919191 0,#6a6a6a 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#919191,endColorstr=#6a6a6a,GradientType=0); -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .l-btn:hover { background: #777; color: #fff; border: 1px solid #555; filter: none; } .l-btn-plain { background: transparent; border: 0; filter: none; } .l-btn-plain:hover { background: #777; color: #fff; border: 1px solid #555; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .l-btn-disabled, .l-btn-disabled:hover { opacity: 0.5; cursor: default; background: #777; color: #fff; background: -webkit-linear-gradient(top,#919191 0,#6a6a6a 100%); background: -moz-linear-gradient(top,#919191 0,#6a6a6a 100%); background: -o-linear-gradient(top,#919191 0,#6a6a6a 100%); background: linear-gradient(to bottom,#919191 0,#6a6a6a 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#919191,endColorstr=#6a6a6a,GradientType=0); } .l-btn-disabled .l-btn-text, .l-btn-disabled .l-btn-icon { filter: alpha(opacity=50); } .l-btn-plain-disabled, .l-btn-plain-disabled:hover { background: transparent; filter: alpha(opacity=50); } .l-btn-selected, .l-btn-selected:hover { background: #000; filter: none; } .l-btn-plain-selected, .l-btn-plain-selected:hover { background: #000; } .textbox { position: relative; border: 1px solid #000; background-color: #fff; vertical-align: middle; display: inline-block; overflow: hidden; white-space: nowrap; margin: 0; padding: 0; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .textbox .textbox-text { font-size: 12px; border: 0; margin: 0; padding: 4px; white-space: normal; vertical-align: top; outline-style: none; resize: none; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .textbox .textbox-prompt { font-size: 12px; color: #aaa; } .textbox-button, .textbox-button:hover { position: absolute; top: 0; padding: 0; vertical-align: top; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .textbox-button-right, .textbox-button-right:hover { border-width: 0 0 0 1px; } .textbox-button-left, .textbox-button-left:hover { border-width: 0 1px 0 0; } .textbox-addon { position: absolute; top: 0; } .textbox-icon { display: inline-block; width: 18px; height: 20px; overflow: hidden; vertical-align: top; background-position: center center; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); text-decoration: none; outline-style: none; } .textbox-icon-disabled, .textbox-icon-readonly { cursor: default; } .textbox-icon:hover { opacity: 1.0; filter: alpha(opacity=100); } .textbox-icon-disabled:hover { opacity: 0.6; filter: alpha(opacity=60); } .textbox-focused { -moz-box-shadow: 0 0 3px 0 #000; -webkit-box-shadow: 0 0 3px 0 #000; box-shadow: 0 0 3px 0 #000; } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } .filebox .textbox-value { vertical-align: top; position: absolute; top: 0; left: -5000px; } .combo { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .combo .combo-text { font-size: 12px; border: 0px; margin: 0; padding: 0px 2px; vertical-align: baseline; } .combo-arrow { width: 18px; height: 20px; overflow: hidden; display: inline-block; vertical-align: top; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); } .combo-arrow-hover { opacity: 1.0; filter: alpha(opacity=100); } .combo-panel { overflow: auto; } .combo-arrow { background: url('images/combo_arrow.png') no-repeat center center; } .combo-panel { background-color: #666; } .combo { border-color: #000; background-color: #fff; } .combo-arrow { background-color: #3d3d3d; } .combo-arrow-hover { background-color: #777; } .combo-arrow:hover { background-color: #777; } .combo .textbox-icon-disabled:hover { cursor: default; } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } .combobox-item, .combobox-group { font-size: 12px; padding: 3px; padding-right: 0px; } .combobox-item-disabled { opacity: 0.5; filter: alpha(opacity=50); } .combobox-gitem { padding-left: 10px; } .combobox-group { font-weight: bold; } .combobox-item-hover { background-color: #777; color: #fff; } .combobox-item-selected { background-color: #0052A3; color: #fff; } .layout { position: relative; overflow: hidden; margin: 0; padding: 0; z-index: 0; } .layout-panel { position: absolute; overflow: hidden; } .layout-panel-east, .layout-panel-west { z-index: 2; } .layout-panel-north, .layout-panel-south { z-index: 3; } .layout-expand { position: absolute; padding: 0px; font-size: 1px; cursor: pointer; z-index: 1; } .layout-expand .panel-header, .layout-expand .panel-body { background: transparent; filter: none; overflow: hidden; } .layout-expand .panel-header { border-bottom-width: 0px; } .layout-split-proxy-h, .layout-split-proxy-v { position: absolute; font-size: 1px; display: none; z-index: 5; } .layout-split-proxy-h { width: 5px; cursor: e-resize; } .layout-split-proxy-v { height: 5px; cursor: n-resize; } .layout-mask { position: absolute; background: #fafafa; filter: alpha(opacity=10); opacity: 0.10; z-index: 4; } .layout-button-up { background: url('images/layout_arrows.png') no-repeat -16px -16px; } .layout-button-down { background: url('images/layout_arrows.png') no-repeat -16px 0; } .layout-button-left { background: url('images/layout_arrows.png') no-repeat 0 0; } .layout-button-right { background: url('images/layout_arrows.png') no-repeat 0 -16px; } .layout-split-proxy-h, .layout-split-proxy-v { background-color: #cccccc; } .layout-split-north { border-bottom: 5px solid #444; } .layout-split-south { border-top: 5px solid #444; } .layout-split-east { border-left: 5px solid #444; } .layout-split-west { border-right: 5px solid #444; } .layout-expand { background-color: #3d3d3d; } .layout-expand-over { background-color: #3d3d3d; } .tabs-container { overflow: hidden; } .tabs-header { border-width: 1px; border-style: solid; border-bottom-width: 0; position: relative; padding: 0; padding-top: 2px; overflow: hidden; } .tabs-header-plain { border: 0; background: transparent; } .tabs-scroller-left, .tabs-scroller-right { position: absolute; top: auto; bottom: 0; width: 18px; font-size: 1px; display: none; cursor: pointer; border-width: 1px; border-style: solid; } .tabs-scroller-left { left: 0; } .tabs-scroller-right { right: 0; } .tabs-tool { position: absolute; bottom: 0; padding: 1px; overflow: hidden; border-width: 1px; border-style: solid; } .tabs-header-plain .tabs-tool { padding: 0 1px; } .tabs-wrap { position: relative; left: 0; overflow: hidden; width: 100%; margin: 0; padding: 0; } .tabs-scrolling { margin-left: 18px; margin-right: 18px; } .tabs-disabled { opacity: 0.3; filter: alpha(opacity=30); } .tabs { list-style-type: none; height: 26px; margin: 0px; padding: 0px; padding-left: 4px; width: 50000px; border-style: solid; border-width: 0 0 1px 0; } .tabs li { float: left; display: inline-block; margin: 0 4px -1px 0; padding: 0; position: relative; border: 0; } .tabs li a.tabs-inner { display: inline-block; text-decoration: none; margin: 0; padding: 0 10px; height: 25px; line-height: 25px; text-align: center; white-space: nowrap; border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 0 0; -webkit-border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0; } .tabs li.tabs-selected a.tabs-inner { font-weight: bold; outline: none; } .tabs li.tabs-selected a:hover.tabs-inner { cursor: default; pointer: default; } .tabs li a.tabs-close, .tabs-p-tool { position: absolute; font-size: 1px; display: block; height: 12px; padding: 0; top: 50%; margin-top: -6px; overflow: hidden; } .tabs li a.tabs-close { width: 12px; right: 5px; opacity: 0.6; filter: alpha(opacity=60); } .tabs-p-tool { right: 16px; } .tabs-p-tool a { display: inline-block; font-size: 1px; width: 12px; height: 12px; margin: 0; opacity: 0.6; filter: alpha(opacity=60); } .tabs li a:hover.tabs-close, .tabs-p-tool a:hover { opacity: 1; filter: alpha(opacity=100); cursor: hand; cursor: pointer; } .tabs-with-icon { padding-left: 18px; } .tabs-icon { position: absolute; width: 16px; height: 16px; left: 10px; top: 50%; margin-top: -8px; } .tabs-title { font-size: 12px; } .tabs-closable { padding-right: 8px; } .tabs-panels { margin: 0px; padding: 0px; border-width: 1px; border-style: solid; border-top-width: 0; overflow: hidden; } .tabs-header-bottom { border-width: 0 1px 1px 1px; padding: 0 0 2px 0; } .tabs-header-bottom .tabs { border-width: 1px 0 0 0; } .tabs-header-bottom .tabs li { margin: -1px 4px 0 0; } .tabs-header-bottom .tabs li a.tabs-inner { -moz-border-radius: 0 0 5px 5px; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .tabs-header-bottom .tabs-tool { top: 0; } .tabs-header-bottom .tabs-scroller-left, .tabs-header-bottom .tabs-scroller-right { top: 0; bottom: auto; } .tabs-panels-top { border-width: 1px 1px 0 1px; } .tabs-header-left { float: left; border-width: 1px 0 1px 1px; padding: 0; } .tabs-header-right { float: right; border-width: 1px 1px 1px 0; padding: 0; } .tabs-header-left .tabs-wrap, .tabs-header-right .tabs-wrap { height: 100%; } .tabs-header-left .tabs { height: 100%; padding: 4px 0 0 4px; border-width: 0 1px 0 0; } .tabs-header-right .tabs { height: 100%; padding: 4px 4px 0 0; border-width: 0 0 0 1px; } .tabs-header-left .tabs li, .tabs-header-right .tabs li { display: block; width: 100%; position: relative; } .tabs-header-left .tabs li { left: auto; right: 0; margin: 0 -1px 4px 0; float: right; } .tabs-header-right .tabs li { left: 0; right: auto; margin: 0 0 4px -1px; float: left; } .tabs-header-left .tabs li a.tabs-inner { display: block; text-align: left; -moz-border-radius: 5px 0 0 5px; -webkit-border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px; } .tabs-header-right .tabs li a.tabs-inner { display: block; text-align: left; -moz-border-radius: 0 5px 5px 0; -webkit-border-radius: 0 5px 5px 0; border-radius: 0 5px 5px 0; } .tabs-panels-right { float: right; border-width: 1px 1px 1px 0; } .tabs-panels-left { float: left; border-width: 1px 0 1px 1px; } .tabs-header-noborder, .tabs-panels-noborder { border: 0px; } .tabs-header-plain { border: 0px; background: transparent; } .tabs-scroller-left { background: #3d3d3d url('images/tabs_icons.png') no-repeat 1px center; } .tabs-scroller-right { background: #3d3d3d url('images/tabs_icons.png') no-repeat -15px center; } .tabs li a.tabs-close { background: url('images/tabs_icons.png') no-repeat -34px center; } .tabs li a.tabs-inner:hover { background: #777; color: #fff; filter: none; } .tabs li.tabs-selected a.tabs-inner { background-color: #666; color: #fff; background: -webkit-linear-gradient(top,#454545 0,#666 100%); background: -moz-linear-gradient(top,#454545 0,#666 100%); background: -o-linear-gradient(top,#454545 0,#666 100%); background: linear-gradient(to bottom,#454545 0,#666 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#666,GradientType=0); } .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(top,#666 0,#454545 100%); background: -moz-linear-gradient(top,#666 0,#454545 100%); background: -o-linear-gradient(top,#666 0,#454545 100%); background: linear-gradient(to bottom,#666 0,#454545 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#666,endColorstr=#454545,GradientType=0); } .tabs-header-left .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(left,#454545 0,#666 100%); background: -moz-linear-gradient(left,#454545 0,#666 100%); background: -o-linear-gradient(left,#454545 0,#666 100%); background: linear-gradient(to right,#454545 0,#666 100%); background-repeat: repeat-y; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#666,GradientType=1); } .tabs-header-right .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(left,#666 0,#454545 100%); background: -moz-linear-gradient(left,#666 0,#454545 100%); background: -o-linear-gradient(left,#666 0,#454545 100%); background: linear-gradient(to right,#666 0,#454545 100%); background-repeat: repeat-y; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#666,endColorstr=#454545,GradientType=1); } .tabs li a.tabs-inner { color: #fff; background-color: #3d3d3d; background: -webkit-linear-gradient(top,#454545 0,#383838 100%); background: -moz-linear-gradient(top,#454545 0,#383838 100%); background: -o-linear-gradient(top,#454545 0,#383838 100%); background: linear-gradient(to bottom,#454545 0,#383838 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); } .tabs-header, .tabs-tool { background-color: #3d3d3d; } .tabs-header-plain { background: transparent; } .tabs-header, .tabs-scroller-left, .tabs-scroller-right, .tabs-tool, .tabs, .tabs-panels, .tabs li a.tabs-inner, .tabs li.tabs-selected a.tabs-inner, .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, .tabs-header-left .tabs li.tabs-selected a.tabs-inner, .tabs-header-right .tabs li.tabs-selected a.tabs-inner { border-color: #000; } .tabs-p-tool a:hover, .tabs li a:hover.tabs-close, .tabs-scroller-over { background-color: #777; } .tabs li.tabs-selected a.tabs-inner { border-bottom: 1px solid #666; } .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { border-top: 1px solid #666; } .tabs-header-left .tabs li.tabs-selected a.tabs-inner { border-right: 1px solid #666; } .tabs-header-right .tabs li.tabs-selected a.tabs-inner { border-left: 1px solid #666; } .datagrid .panel-body { overflow: hidden; position: relative; } .datagrid-view { position: relative; overflow: hidden; } .datagrid-view1, .datagrid-view2 { position: absolute; overflow: hidden; top: 0; } .datagrid-view1 { left: 0; } .datagrid-view2 { right: 0; } .datagrid-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0.3; filter: alpha(opacity=30); display: none; } .datagrid-mask-msg { position: absolute; top: 50%; margin-top: -20px; padding: 10px 5px 10px 30px; width: auto; height: 16px; border-width: 2px; border-style: solid; display: none; } .datagrid-sort-icon { padding: 0; } .datagrid-toolbar { height: auto; padding: 1px 2px; border-width: 0 0 1px 0; border-style: solid; } .datagrid-btn-separator { float: left; height: 24px; border-left: 1px solid #444; border-right: 1px solid #777; margin: 2px 1px; } .datagrid .datagrid-pager { display: block; margin: 0; border-width: 1px 0 0 0; border-style: solid; } .datagrid .datagrid-pager-top { border-width: 0 0 1px 0; } .datagrid-header { overflow: hidden; cursor: default; border-width: 0 0 1px 0; border-style: solid; } .datagrid-header-inner { float: left; width: 10000px; } .datagrid-header-row, .datagrid-row { height: 25px; } .datagrid-header td, .datagrid-body td, .datagrid-footer td { border-width: 0 1px 1px 0; border-style: dotted; margin: 0; padding: 0; } .datagrid-cell, .datagrid-cell-group, .datagrid-header-rownumber, .datagrid-cell-rownumber { margin: 0; padding: 0 4px; white-space: nowrap; word-wrap: normal; overflow: hidden; height: 18px; line-height: 18px; font-size: 12px; } .datagrid-header .datagrid-cell { height: auto; } .datagrid-header .datagrid-cell span { font-size: 12px; } .datagrid-cell-group { text-align: center; } .datagrid-header-rownumber, .datagrid-cell-rownumber { width: 25px; text-align: center; margin: 0; padding: 0; } .datagrid-body { margin: 0; padding: 0; overflow: auto; zoom: 1; } .datagrid-view1 .datagrid-body-inner { padding-bottom: 20px; } .datagrid-view1 .datagrid-body { overflow: hidden; } .datagrid-footer { overflow: hidden; } .datagrid-footer-inner { border-width: 1px 0 0 0; border-style: solid; width: 10000px; float: left; } .datagrid-row-editing .datagrid-cell { height: auto; } .datagrid-header-check, .datagrid-cell-check { padding: 0; width: 27px; height: 18px; font-size: 1px; text-align: center; overflow: hidden; } .datagrid-header-check input, .datagrid-cell-check input { margin: 0; padding: 0; width: 15px; height: 18px; } .datagrid-resize-proxy { position: absolute; width: 1px; height: 10000px; top: 0; cursor: e-resize; display: none; } .datagrid-body .datagrid-editable { margin: 0; padding: 0; } .datagrid-body .datagrid-editable table { width: 100%; height: 100%; } .datagrid-body .datagrid-editable td { border: 0; margin: 0; padding: 0; } .datagrid-view .datagrid-editable-input { margin: 0; padding: 2px 4px; border: 1px solid #000; font-size: 12px; outline-style: none; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .datagrid-sort-desc .datagrid-sort-icon { padding: 0 13px 0 0; background: url('images/datagrid_icons.png') no-repeat -16px center; } .datagrid-sort-asc .datagrid-sort-icon { padding: 0 13px 0 0; background: url('images/datagrid_icons.png') no-repeat 0px center; } .datagrid-row-collapse { background: url('images/datagrid_icons.png') no-repeat -48px center; } .datagrid-row-expand { background: url('images/datagrid_icons.png') no-repeat -32px center; } .datagrid-mask-msg { background: #666 url('images/loading.gif') no-repeat scroll 5px center; } .datagrid-header, .datagrid-td-rownumber { background-color: #444; background: -webkit-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); background: -moz-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); background: -o-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); background: linear-gradient(to bottom,#4c4c4c 0,#3f3f3f 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4c4c4c,endColorstr=#3f3f3f,GradientType=0); } .datagrid-cell-rownumber { color: #fff; } .datagrid-resize-proxy { background: #cccccc; } .datagrid-mask { background: #000; } .datagrid-mask-msg { border-color: #000; } .datagrid-toolbar, .datagrid-pager { background: #555; } .datagrid-header, .datagrid-toolbar, .datagrid-pager, .datagrid-footer-inner { border-color: #222; } .datagrid-header td, .datagrid-body td, .datagrid-footer td { border-color: #222; } .datagrid-htable, .datagrid-btable, .datagrid-ftable { color: #fff; border-collapse: separate; } .datagrid-row-alt { background: #555; } .datagrid-row-over, .datagrid-header td.datagrid-header-over { background: #777; color: #fff; cursor: default; } .datagrid-row-selected { background: #0052A3; color: #fff; } .datagrid-row-editing .textbox, .datagrid-row-editing .textbox-text { -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .propertygrid .datagrid-view1 .datagrid-body td { padding-bottom: 1px; border-width: 0 1px 0 0; } .propertygrid .datagrid-group { height: 21px; overflow: hidden; border-width: 0 0 1px 0; border-style: solid; } .propertygrid .datagrid-group span { font-weight: bold; } .propertygrid .datagrid-view1 .datagrid-body td { border-color: #222; } .propertygrid .datagrid-view1 .datagrid-group { border-color: #3d3d3d; } .propertygrid .datagrid-view2 .datagrid-group { border-color: #222; } .propertygrid .datagrid-group, .propertygrid .datagrid-view1 .datagrid-body, .propertygrid .datagrid-view1 .datagrid-row-over, .propertygrid .datagrid-view1 .datagrid-row-selected { background: #3d3d3d; } .pagination { zoom: 1; } .pagination table { float: left; height: 30px; } .pagination td { border: 0; } .pagination-btn-separator { float: left; height: 24px; border-left: 1px solid #444; border-right: 1px solid #777; margin: 3px 1px; } .pagination .pagination-num { border-width: 1px; border-style: solid; margin: 0 2px; padding: 2px; width: 2em; height: auto; } .pagination-page-list { margin: 0px 6px; padding: 1px 2px; width: auto; height: auto; border-width: 1px; border-style: solid; } .pagination-info { float: right; margin: 0 6px 0 0; padding: 0; height: 30px; line-height: 30px; font-size: 12px; } .pagination span { font-size: 12px; } .pagination-link .l-btn-text { width: 24px; text-align: center; margin: 0; } .pagination-first { background: url('images/pagination_icons.png') no-repeat 0 center; } .pagination-prev { background: url('images/pagination_icons.png') no-repeat -16px center; } .pagination-next { background: url('images/pagination_icons.png') no-repeat -32px center; } .pagination-last { background: url('images/pagination_icons.png') no-repeat -48px center; } .pagination-load { background: url('images/pagination_icons.png') no-repeat -64px center; } .pagination-loading { background: url('images/loading.gif') no-repeat center center; } .pagination-page-list, .pagination .pagination-num { border-color: #000; } .calendar { border-width: 1px; border-style: solid; padding: 1px; overflow: hidden; } .calendar table { table-layout: fixed; border-collapse: separate; font-size: 12px; width: 100%; height: 100%; } .calendar table td, .calendar table th { font-size: 12px; } .calendar-noborder { border: 0; } .calendar-header { position: relative; height: 22px; } .calendar-title { text-align: center; height: 22px; } .calendar-title span { position: relative; display: inline-block; top: 2px; padding: 0 3px; height: 18px; line-height: 18px; font-size: 12px; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-prevmonth, .calendar-nextmonth, .calendar-prevyear, .calendar-nextyear { position: absolute; top: 50%; margin-top: -7px; width: 14px; height: 14px; cursor: pointer; font-size: 1px; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-prevmonth { left: 20px; background: url('images/calendar_arrows.png') no-repeat -18px -2px; } .calendar-nextmonth { right: 20px; background: url('images/calendar_arrows.png') no-repeat -34px -2px; } .calendar-prevyear { left: 3px; background: url('images/calendar_arrows.png') no-repeat -1px -2px; } .calendar-nextyear { right: 3px; background: url('images/calendar_arrows.png') no-repeat -49px -2px; } .calendar-body { position: relative; } .calendar-body th, .calendar-body td { text-align: center; } .calendar-day { border: 0; padding: 1px; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-other-month { opacity: 0.3; filter: alpha(opacity=30); } .calendar-disabled { opacity: 0.6; filter: alpha(opacity=60); cursor: default; } .calendar-menu { position: absolute; top: 0; left: 0; width: 180px; height: 150px; padding: 5px; font-size: 12px; display: none; overflow: hidden; } .calendar-menu-year-inner { text-align: center; padding-bottom: 5px; } .calendar-menu-year { width: 40px; text-align: center; border-width: 1px; border-style: solid; margin: 0; padding: 2px; font-weight: bold; font-size: 12px; } .calendar-menu-prev, .calendar-menu-next { display: inline-block; width: 21px; height: 21px; vertical-align: top; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-menu-prev { margin-right: 10px; background: url('images/calendar_arrows.png') no-repeat 2px 2px; } .calendar-menu-next { margin-left: 10px; background: url('images/calendar_arrows.png') no-repeat -45px 2px; } .calendar-menu-month { text-align: center; cursor: pointer; font-weight: bold; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-body th, .calendar-menu-month { color: #ffffff; } .calendar-day { color: #fff; } .calendar-sunday { color: #CC2222; } .calendar-saturday { color: #00ee00; } .calendar-today { color: #0000ff; } .calendar-menu-year { border-color: #000; } .calendar { border-color: #000; } .calendar-header { background: #3d3d3d; } .calendar-body, .calendar-menu { background: #666; } .calendar-body th { background: #555; padding: 2px 0; } .calendar-hover, .calendar-nav-hover, .calendar-menu-hover { background-color: #777; color: #fff; } .calendar-hover { border: 1px solid #555; padding: 0; } .calendar-selected { background-color: #0052A3; color: #fff; border: 1px solid #00458a; padding: 0; } .datebox-calendar-inner { height: 180px; } .datebox-button { height: 18px; padding: 2px 5px; text-align: center; } .datebox-button a { font-size: 12px; font-weight: bold; text-decoration: none; opacity: 0.6; filter: alpha(opacity=60); } .datebox-button a:hover { opacity: 1.0; filter: alpha(opacity=100); } .datebox-current, .datebox-close { float: left; } .datebox-close { float: right; } .datebox .combo-arrow { background-image: url('images/datebox_arrow.png'); background-position: center center; } .datebox-button { background-color: #555; } .datebox-button a { color: #fff; } .numberbox { border: 1px solid #000; margin: 0; padding: 0 2px; vertical-align: middle; } .textbox { padding: 0; } .spinner { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .spinner .spinner-text { font-size: 12px; border: 0px; margin: 0; padding: 0 2px; vertical-align: baseline; } .spinner-arrow { background-color: #3d3d3d; display: inline-block; overflow: hidden; vertical-align: top; margin: 0; padding: 0; opacity: 1.0; filter: alpha(opacity=100); width: 18px; } .spinner-arrow-up, .spinner-arrow-down { opacity: 0.6; filter: alpha(opacity=60); display: block; font-size: 1px; width: 18px; height: 10px; width: 100%; height: 50%; outline-style: none; } .spinner-arrow-hover { background-color: #777; opacity: 1.0; filter: alpha(opacity=100); } .spinner-arrow-up:hover, .spinner-arrow-down:hover { opacity: 1.0; filter: alpha(opacity=100); background-color: #777; } .textbox-icon-disabled .spinner-arrow-up:hover, .textbox-icon-disabled .spinner-arrow-down:hover { opacity: 0.6; filter: alpha(opacity=60); background-color: #3d3d3d; cursor: default; } .spinner .textbox-icon-disabled { opacity: 0.6; filter: alpha(opacity=60); } .spinner-arrow-up { background: url('images/spinner_arrows.png') no-repeat 1px center; } .spinner-arrow-down { background: url('images/spinner_arrows.png') no-repeat -15px center; } .spinner { border-color: #000; } .progressbar { border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; overflow: hidden; position: relative; } .progressbar-text { text-align: center; position: absolute; } .progressbar-value { position: relative; overflow: hidden; width: 0; -moz-border-radius: 5px 0 0 5px; -webkit-border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px; } .progressbar { border-color: #000; } .progressbar-text { color: #fff; font-size: 12px; } .progressbar-value .progressbar-text { background-color: #0052A3; color: #fff; } .searchbox { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .searchbox .searchbox-text { font-size: 12px; border: 0; margin: 0; padding: 0 2px; vertical-align: top; } .searchbox .searchbox-prompt { font-size: 12px; color: #ccc; } .searchbox-button { width: 18px; height: 20px; overflow: hidden; display: inline-block; vertical-align: top; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); } .searchbox-button-hover { opacity: 1.0; filter: alpha(opacity=100); } .searchbox .l-btn-plain { border: 0; padding: 0; vertical-align: top; opacity: 0.6; filter: alpha(opacity=60); -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .l-btn-plain:hover { border: 0; padding: 0; opacity: 1.0; filter: alpha(opacity=100); -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox a.m-btn-plain-active { -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .m-btn-active { border-width: 0 1px 0 0; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .textbox-button-right { border-width: 0 0 0 1px; } .searchbox .textbox-button-left { border-width: 0 1px 0 0; } .searchbox-button { background: url('images/searchbox_button.png') no-repeat center center; } .searchbox { border-color: #000; background-color: #fff; } .searchbox .l-btn-plain { background: #3d3d3d; } .searchbox .l-btn-plain-disabled, .searchbox .l-btn-plain-disabled:hover { opacity: 0.5; filter: alpha(opacity=50); } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } .slider-disabled { opacity: 0.5; filter: alpha(opacity=50); } .slider-h { height: 22px; } .slider-v { width: 22px; } .slider-inner { position: relative; height: 6px; top: 7px; border-width: 1px; border-style: solid; border-radius: 5px; } .slider-handle { position: absolute; display: block; outline: none; width: 20px; height: 20px; top: 50%; margin-top: -10px; margin-left: -10px; } .slider-tip { position: absolute; display: inline-block; line-height: 12px; font-size: 12px; white-space: nowrap; top: -22px; } .slider-rule { position: relative; top: 15px; } .slider-rule span { position: absolute; display: inline-block; font-size: 0; height: 5px; border-width: 0 0 0 1px; border-style: solid; } .slider-rulelabel { position: relative; top: 20px; } .slider-rulelabel span { position: absolute; display: inline-block; font-size: 12px; } .slider-v .slider-inner { width: 6px; left: 7px; top: 0; float: left; } .slider-v .slider-handle { left: 50%; margin-top: -10px; } .slider-v .slider-tip { left: -10px; margin-top: -6px; } .slider-v .slider-rule { float: left; top: 0; left: 16px; } .slider-v .slider-rule span { width: 5px; height: 'auto'; border-left: 0; border-width: 1px 0 0 0; border-style: solid; } .slider-v .slider-rulelabel { float: left; top: 0; left: 23px; } .slider-handle { background: url('images/slider_handle.png') no-repeat; } .slider-inner { border-color: #000; background: #3d3d3d; } .slider-rule span { border-color: #000; } .slider-rulelabel span { color: #fff; } .menu { position: absolute; margin: 0; padding: 2px; border-width: 1px; border-style: solid; overflow: hidden; } .menu-item { position: relative; margin: 0; padding: 0; overflow: hidden; white-space: nowrap; cursor: pointer; border-width: 1px; border-style: solid; } .menu-text { height: 20px; line-height: 20px; float: left; padding-left: 28px; } .menu-icon { position: absolute; width: 16px; height: 16px; left: 2px; top: 50%; margin-top: -8px; } .menu-rightarrow { position: absolute; width: 16px; height: 16px; right: 0; top: 50%; margin-top: -8px; } .menu-line { position: absolute; left: 26px; top: 0; height: 2000px; font-size: 1px; } .menu-sep { margin: 3px 0px 3px 25px; font-size: 1px; } .menu-active { -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .menu-item-disabled { opacity: 0.5; filter: alpha(opacity=50); cursor: default; } .menu-text, .menu-text span { font-size: 12px; } .menu-shadow { position: absolute; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; background: #777; -moz-box-shadow: 2px 2px 3px #787878; -webkit-box-shadow: 2px 2px 3px #787878; box-shadow: 2px 2px 3px #787878; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); } .menu-rightarrow { background: url('images/menu_arrows.png') no-repeat -32px center; } .menu-line { border-left: 1px solid #444; border-right: 1px solid #777; } .menu-sep { border-top: 1px solid #444; border-bottom: 1px solid #777; } .menu { background-color: #666; border-color: #444; color: #fff; } .menu-content { background: #666; } .menu-item { border-color: transparent; _border-color: #666; } .menu-active { border-color: #555; color: #fff; background: #777; } .menu-active-disabled { border-color: transparent; background: transparent; color: #fff; } .m-btn-downarrow, .s-btn-downarrow { display: inline-block; position: absolute; width: 16px; height: 16px; font-size: 1px; right: 0; top: 50%; margin-top: -8px; } .m-btn-active, .s-btn-active { background: #777; color: #fff; border: 1px solid #555; filter: none; } .m-btn-plain-active, .s-btn-plain-active { background: transparent; padding: 0; border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .m-btn .l-btn-left .l-btn-text { margin-right: 20px; } .m-btn .l-btn-icon-right .l-btn-text { margin-right: 40px; } .m-btn .l-btn-icon-right .l-btn-icon { right: 20px; } .m-btn .l-btn-icon-top .l-btn-text { margin-right: 4px; margin-bottom: 14px; } .m-btn .l-btn-icon-bottom .l-btn-text { margin-right: 4px; margin-bottom: 34px; } .m-btn .l-btn-icon-bottom .l-btn-icon { top: auto; bottom: 20px; } .m-btn .l-btn-icon-top .m-btn-downarrow, .m-btn .l-btn-icon-bottom .m-btn-downarrow { top: auto; bottom: 0px; left: 50%; margin-left: -8px; } .m-btn-line { display: inline-block; position: absolute; font-size: 1px; display: none; } .m-btn .l-btn-left .m-btn-line { right: 0; width: 16px; height: 500px; border-style: solid; border-color: #cccccc; border-width: 0 0 0 1px; } .m-btn .l-btn-icon-top .m-btn-line, .m-btn .l-btn-icon-bottom .m-btn-line { left: 0; bottom: 0; width: 500px; height: 16px; border-width: 1px 0 0 0; } .m-btn-large .l-btn-icon-right .l-btn-text { margin-right: 56px; } .m-btn-large .l-btn-icon-bottom .l-btn-text { margin-bottom: 50px; } .m-btn-downarrow, .s-btn-downarrow { background: url('images/menu_arrows.png') no-repeat 0 center; } .m-btn-plain-active, .s-btn-plain-active { border-color: #555; background-color: #777; color: #fff; } .s-btn:hover .m-btn-line, .s-btn-active .m-btn-line, .s-btn-plain-active .m-btn-line { display: inline-block; } .l-btn:hover .s-btn-downarrow, .s-btn-active .s-btn-downarrow, .s-btn-plain-active .s-btn-downarrow { border-style: solid; border-color: #cccccc; border-width: 0 0 0 1px; } .messager-body { padding: 10px; overflow: hidden; } .messager-button { text-align: center; padding-top: 10px; } .messager-button .l-btn { width: 70px; } .messager-icon { float: left; width: 32px; height: 32px; margin: 0 10px 10px 0; } .messager-error { background: url('images/messager_icons.png') no-repeat scroll -64px 0; } .messager-info { background: url('images/messager_icons.png') no-repeat scroll 0 0; } .messager-question { background: url('images/messager_icons.png') no-repeat scroll -32px 0; } .messager-warning { background: url('images/messager_icons.png') no-repeat scroll -96px 0; } .messager-progress { padding: 10px; } .messager-p-msg { margin-bottom: 5px; } .messager-body .messager-input { width: 100%; padding: 1px 0; border: 1px solid #000; } .tree { margin: 0; padding: 0; list-style-type: none; } .tree li { white-space: nowrap; } .tree li ul { list-style-type: none; margin: 0; padding: 0; } .tree-node { height: 18px; white-space: nowrap; cursor: pointer; } .tree-hit { cursor: pointer; } .tree-expanded, .tree-collapsed, .tree-folder, .tree-file, .tree-checkbox, .tree-indent { display: inline-block; width: 16px; height: 18px; vertical-align: top; overflow: hidden; } .tree-expanded { background: url('images/tree_icons.png') no-repeat -18px 0px; } .tree-expanded-hover { background: url('images/tree_icons.png') no-repeat -50px 0px; } .tree-collapsed { background: url('images/tree_icons.png') no-repeat 0px 0px; } .tree-collapsed-hover { background: url('images/tree_icons.png') no-repeat -32px 0px; } .tree-lines .tree-expanded, .tree-lines .tree-root-first .tree-expanded { background: url('images/tree_icons.png') no-repeat -144px 0; } .tree-lines .tree-collapsed, .tree-lines .tree-root-first .tree-collapsed { background: url('images/tree_icons.png') no-repeat -128px 0; } .tree-lines .tree-node-last .tree-expanded, .tree-lines .tree-root-one .tree-expanded { background: url('images/tree_icons.png') no-repeat -80px 0; } .tree-lines .tree-node-last .tree-collapsed, .tree-lines .tree-root-one .tree-collapsed { background: url('images/tree_icons.png') no-repeat -64px 0; } .tree-line { background: url('images/tree_icons.png') no-repeat -176px 0; } .tree-join { background: url('images/tree_icons.png') no-repeat -192px 0; } .tree-joinbottom { background: url('images/tree_icons.png') no-repeat -160px 0; } .tree-folder { background: url('images/tree_icons.png') no-repeat -208px 0; } .tree-folder-open { background: url('images/tree_icons.png') no-repeat -224px 0; } .tree-file { background: url('images/tree_icons.png') no-repeat -240px 0; } .tree-loading { background: url('images/loading.gif') no-repeat center center; } .tree-checkbox0 { background: url('images/tree_icons.png') no-repeat -208px -18px; } .tree-checkbox1 { background: url('images/tree_icons.png') no-repeat -224px -18px; } .tree-checkbox2 { background: url('images/tree_icons.png') no-repeat -240px -18px; } .tree-title { font-size: 12px; display: inline-block; text-decoration: none; vertical-align: top; white-space: nowrap; padding: 0 2px; height: 18px; line-height: 18px; } .tree-node-proxy { font-size: 12px; line-height: 20px; padding: 0 2px 0 20px; border-width: 1px; border-style: solid; z-index: 9900000; } .tree-dnd-icon { display: inline-block; position: absolute; width: 16px; height: 18px; left: 2px; top: 50%; margin-top: -9px; } .tree-dnd-yes { background: url('images/tree_icons.png') no-repeat -256px 0; } .tree-dnd-no { background: url('images/tree_icons.png') no-repeat -256px -18px; } .tree-node-top { border-top: 1px dotted red; } .tree-node-bottom { border-bottom: 1px dotted red; } .tree-node-append .tree-title { border: 1px dotted red; } .tree-editor { border: 1px solid #ccc; font-size: 12px; height: 14px !important; height: 18px; line-height: 14px; padding: 1px 2px; width: 80px; position: absolute; top: 0; } .tree-node-proxy { background-color: #666; color: #fff; border-color: #000; } .tree-node-hover { background: #777; color: #fff; } .tree-node-selected { background: #0052A3; color: #fff; } .validatebox-invalid { border-color: #ffa8a8; background-color: #fff3f3; color: #000; } .tooltip { position: absolute; display: none; z-index: 9900000; outline: none; opacity: 1; filter: alpha(opacity=100); padding: 5px; border-width: 1px; border-style: solid; border-radius: 5px; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .tooltip-content { font-size: 12px; } .tooltip-arrow-outer, .tooltip-arrow { position: absolute; width: 0; height: 0; line-height: 0; font-size: 0; border-style: solid; border-width: 6px; border-color: transparent; _border-color: tomato; _filter: chroma(color=tomato); } .tooltip-right .tooltip-arrow-outer { left: 0; top: 50%; margin: -6px 0 0 -13px; } .tooltip-right .tooltip-arrow { left: 0; top: 50%; margin: -6px 0 0 -12px; } .tooltip-left .tooltip-arrow-outer { right: 0; top: 50%; margin: -6px -13px 0 0; } .tooltip-left .tooltip-arrow { right: 0; top: 50%; margin: -6px -12px 0 0; } .tooltip-top .tooltip-arrow-outer { bottom: 0; left: 50%; margin: 0 0 -13px -6px; } .tooltip-top .tooltip-arrow { bottom: 0; left: 50%; margin: 0 0 -12px -6px; } .tooltip-bottom .tooltip-arrow-outer { top: 0; left: 50%; margin: -13px 0 0 -6px; } .tooltip-bottom .tooltip-arrow { top: 0; left: 50%; margin: -12px 0 0 -6px; } .tooltip { background-color: #666; border-color: #000; color: #fff; } .tooltip-right .tooltip-arrow-outer { border-right-color: #000; } .tooltip-right .tooltip-arrow { border-right-color: #666; } .tooltip-left .tooltip-arrow-outer { border-left-color: #000; } .tooltip-left .tooltip-arrow { border-left-color: #666; } .tooltip-top .tooltip-arrow-outer { border-top-color: #000; } .tooltip-top .tooltip-arrow { border-top-color: #666; } .tooltip-bottom .tooltip-arrow-outer { border-bottom-color: #000; } .tooltip-bottom .tooltip-arrow { border-bottom-color: #666; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/filebox.css ================================================ .filebox .textbox-value { vertical-align: top; position: absolute; top: 0; left: -5000px; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/layout.css ================================================ .layout { position: relative; overflow: hidden; margin: 0; padding: 0; z-index: 0; } .layout-panel { position: absolute; overflow: hidden; } .layout-panel-east, .layout-panel-west { z-index: 2; } .layout-panel-north, .layout-panel-south { z-index: 3; } .layout-expand { position: absolute; padding: 0px; font-size: 1px; cursor: pointer; z-index: 1; } .layout-expand .panel-header, .layout-expand .panel-body { background: transparent; filter: none; overflow: hidden; } .layout-expand .panel-header { border-bottom-width: 0px; } .layout-split-proxy-h, .layout-split-proxy-v { position: absolute; font-size: 1px; display: none; z-index: 5; } .layout-split-proxy-h { width: 5px; cursor: e-resize; } .layout-split-proxy-v { height: 5px; cursor: n-resize; } .layout-mask { position: absolute; background: #fafafa; filter: alpha(opacity=10); opacity: 0.10; z-index: 4; } .layout-button-up { background: url('images/layout_arrows.png') no-repeat -16px -16px; } .layout-button-down { background: url('images/layout_arrows.png') no-repeat -16px 0; } .layout-button-left { background: url('images/layout_arrows.png') no-repeat 0 0; } .layout-button-right { background: url('images/layout_arrows.png') no-repeat 0 -16px; } .layout-split-proxy-h, .layout-split-proxy-v { background-color: #cccccc; } .layout-split-north { border-bottom: 5px solid #444; } .layout-split-south { border-top: 5px solid #444; } .layout-split-east { border-left: 5px solid #444; } .layout-split-west { border-right: 5px solid #444; } .layout-expand { background-color: #3d3d3d; } .layout-expand-over { background-color: #3d3d3d; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/linkbutton.css ================================================ .l-btn { text-decoration: none; display: inline-block; overflow: hidden; margin: 0; padding: 0; cursor: pointer; outline: none; text-align: center; vertical-align: middle; } .l-btn-plain { border: 0; padding: 1px; } .l-btn-left { display: inline-block; position: relative; overflow: hidden; margin: 0; padding: 0; vertical-align: top; } .l-btn-text { display: inline-block; vertical-align: top; width: auto; line-height: 24px; font-size: 12px; padding: 0; margin: 0 4px; } .l-btn-icon { display: inline-block; width: 16px; height: 16px; line-height: 16px; position: absolute; top: 50%; margin-top: -8px; font-size: 1px; } .l-btn span span .l-btn-empty { display: inline-block; margin: 0; width: 16px; height: 24px; font-size: 1px; vertical-align: top; } .l-btn span .l-btn-icon-left { padding: 0 0 0 20px; background-position: left center; } .l-btn span .l-btn-icon-right { padding: 0 20px 0 0; background-position: right center; } .l-btn-icon-left .l-btn-text { margin: 0 4px 0 24px; } .l-btn-icon-left .l-btn-icon { left: 4px; } .l-btn-icon-right .l-btn-text { margin: 0 24px 0 4px; } .l-btn-icon-right .l-btn-icon { right: 4px; } .l-btn-icon-top .l-btn-text { margin: 20px 4px 0 4px; } .l-btn-icon-top .l-btn-icon { top: 4px; left: 50%; margin: 0 0 0 -8px; } .l-btn-icon-bottom .l-btn-text { margin: 0 4px 20px 4px; } .l-btn-icon-bottom .l-btn-icon { top: auto; bottom: 4px; left: 50%; margin: 0 0 0 -8px; } .l-btn-left .l-btn-empty { margin: 0 4px; width: 16px; } .l-btn-plain:hover { padding: 0; } .l-btn-focus { outline: #0000FF dotted thin; } .l-btn-large .l-btn-text { line-height: 40px; } .l-btn-large .l-btn-icon { width: 32px; height: 32px; line-height: 32px; margin-top: -16px; } .l-btn-large .l-btn-icon-left .l-btn-text { margin-left: 40px; } .l-btn-large .l-btn-icon-right .l-btn-text { margin-right: 40px; } .l-btn-large .l-btn-icon-top .l-btn-text { margin-top: 36px; line-height: 24px; min-width: 32px; } .l-btn-large .l-btn-icon-top .l-btn-icon { margin: 0 0 0 -16px; } .l-btn-large .l-btn-icon-bottom .l-btn-text { margin-bottom: 36px; line-height: 24px; min-width: 32px; } .l-btn-large .l-btn-icon-bottom .l-btn-icon { margin: 0 0 0 -16px; } .l-btn-large .l-btn-left .l-btn-empty { margin: 0 4px; width: 32px; } .l-btn { color: #fff; background: #777; background-repeat: repeat-x; border: 1px solid #555; background: -webkit-linear-gradient(top,#919191 0,#6a6a6a 100%); background: -moz-linear-gradient(top,#919191 0,#6a6a6a 100%); background: -o-linear-gradient(top,#919191 0,#6a6a6a 100%); background: linear-gradient(to bottom,#919191 0,#6a6a6a 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#919191,endColorstr=#6a6a6a,GradientType=0); -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .l-btn:hover { background: #777; color: #fff; border: 1px solid #555; filter: none; } .l-btn-plain { background: transparent; border: 0; filter: none; } .l-btn-plain:hover { background: #777; color: #fff; border: 1px solid #555; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .l-btn-disabled, .l-btn-disabled:hover { opacity: 0.5; cursor: default; background: #777; color: #fff; background: -webkit-linear-gradient(top,#919191 0,#6a6a6a 100%); background: -moz-linear-gradient(top,#919191 0,#6a6a6a 100%); background: -o-linear-gradient(top,#919191 0,#6a6a6a 100%); background: linear-gradient(to bottom,#919191 0,#6a6a6a 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#919191,endColorstr=#6a6a6a,GradientType=0); } .l-btn-disabled .l-btn-text, .l-btn-disabled .l-btn-icon { filter: alpha(opacity=50); } .l-btn-plain-disabled, .l-btn-plain-disabled:hover { background: transparent; filter: alpha(opacity=50); } .l-btn-selected, .l-btn-selected:hover { background: #000; filter: none; } .l-btn-plain-selected, .l-btn-plain-selected:hover { background: #000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/menu.css ================================================ .menu { position: absolute; margin: 0; padding: 2px; border-width: 1px; border-style: solid; overflow: hidden; } .menu-item { position: relative; margin: 0; padding: 0; overflow: hidden; white-space: nowrap; cursor: pointer; border-width: 1px; border-style: solid; } .menu-text { height: 20px; line-height: 20px; float: left; padding-left: 28px; } .menu-icon { position: absolute; width: 16px; height: 16px; left: 2px; top: 50%; margin-top: -8px; } .menu-rightarrow { position: absolute; width: 16px; height: 16px; right: 0; top: 50%; margin-top: -8px; } .menu-line { position: absolute; left: 26px; top: 0; height: 2000px; font-size: 1px; } .menu-sep { margin: 3px 0px 3px 25px; font-size: 1px; } .menu-active { -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .menu-item-disabled { opacity: 0.5; filter: alpha(opacity=50); cursor: default; } .menu-text, .menu-text span { font-size: 12px; } .menu-shadow { position: absolute; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; background: #777; -moz-box-shadow: 2px 2px 3px #787878; -webkit-box-shadow: 2px 2px 3px #787878; box-shadow: 2px 2px 3px #787878; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); } .menu-rightarrow { background: url('images/menu_arrows.png') no-repeat -32px center; } .menu-line { border-left: 1px solid #444; border-right: 1px solid #777; } .menu-sep { border-top: 1px solid #444; border-bottom: 1px solid #777; } .menu { background-color: #666; border-color: #444; color: #fff; } .menu-content { background: #666; } .menu-item { border-color: transparent; _border-color: #666; } .menu-active { border-color: #555; color: #fff; background: #777; } .menu-active-disabled { border-color: transparent; background: transparent; color: #fff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/menubutton.css ================================================ .m-btn-downarrow, .s-btn-downarrow { display: inline-block; position: absolute; width: 16px; height: 16px; font-size: 1px; right: 0; top: 50%; margin-top: -8px; } .m-btn-active, .s-btn-active { background: #777; color: #fff; border: 1px solid #555; filter: none; } .m-btn-plain-active, .s-btn-plain-active { background: transparent; padding: 0; border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .m-btn .l-btn-left .l-btn-text { margin-right: 20px; } .m-btn .l-btn-icon-right .l-btn-text { margin-right: 40px; } .m-btn .l-btn-icon-right .l-btn-icon { right: 20px; } .m-btn .l-btn-icon-top .l-btn-text { margin-right: 4px; margin-bottom: 14px; } .m-btn .l-btn-icon-bottom .l-btn-text { margin-right: 4px; margin-bottom: 34px; } .m-btn .l-btn-icon-bottom .l-btn-icon { top: auto; bottom: 20px; } .m-btn .l-btn-icon-top .m-btn-downarrow, .m-btn .l-btn-icon-bottom .m-btn-downarrow { top: auto; bottom: 0px; left: 50%; margin-left: -8px; } .m-btn-line { display: inline-block; position: absolute; font-size: 1px; display: none; } .m-btn .l-btn-left .m-btn-line { right: 0; width: 16px; height: 500px; border-style: solid; border-color: #cccccc; border-width: 0 0 0 1px; } .m-btn .l-btn-icon-top .m-btn-line, .m-btn .l-btn-icon-bottom .m-btn-line { left: 0; bottom: 0; width: 500px; height: 16px; border-width: 1px 0 0 0; } .m-btn-large .l-btn-icon-right .l-btn-text { margin-right: 56px; } .m-btn-large .l-btn-icon-bottom .l-btn-text { margin-bottom: 50px; } .m-btn-downarrow, .s-btn-downarrow { background: url('images/menu_arrows.png') no-repeat 0 center; } .m-btn-plain-active, .s-btn-plain-active { border-color: #555; background-color: #777; color: #fff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/messager.css ================================================ .messager-body { padding: 10px; overflow: hidden; } .messager-button { text-align: center; padding-top: 10px; } .messager-button .l-btn { width: 70px; } .messager-icon { float: left; width: 32px; height: 32px; margin: 0 10px 10px 0; } .messager-error { background: url('images/messager_icons.png') no-repeat scroll -64px 0; } .messager-info { background: url('images/messager_icons.png') no-repeat scroll 0 0; } .messager-question { background: url('images/messager_icons.png') no-repeat scroll -32px 0; } .messager-warning { background: url('images/messager_icons.png') no-repeat scroll -96px 0; } .messager-progress { padding: 10px; } .messager-p-msg { margin-bottom: 5px; } .messager-body .messager-input { width: 100%; padding: 1px 0; border: 1px solid #000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/numberbox.css ================================================ .numberbox { border: 1px solid #000; margin: 0; padding: 0 2px; vertical-align: middle; } .textbox { padding: 0; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/pagination.css ================================================ .pagination { zoom: 1; } .pagination table { float: left; height: 30px; } .pagination td { border: 0; } .pagination-btn-separator { float: left; height: 24px; border-left: 1px solid #444; border-right: 1px solid #777; margin: 3px 1px; } .pagination .pagination-num { border-width: 1px; border-style: solid; margin: 0 2px; padding: 2px; width: 2em; height: auto; } .pagination-page-list { margin: 0px 6px; padding: 1px 2px; width: auto; height: auto; border-width: 1px; border-style: solid; } .pagination-info { float: right; margin: 0 6px 0 0; padding: 0; height: 30px; line-height: 30px; font-size: 12px; } .pagination span { font-size: 12px; } .pagination-link .l-btn-text { width: 24px; text-align: center; margin: 0; } .pagination-first { background: url('images/pagination_icons.png') no-repeat 0 center; } .pagination-prev { background: url('images/pagination_icons.png') no-repeat -16px center; } .pagination-next { background: url('images/pagination_icons.png') no-repeat -32px center; } .pagination-last { background: url('images/pagination_icons.png') no-repeat -48px center; } .pagination-load { background: url('images/pagination_icons.png') no-repeat -64px center; } .pagination-loading { background: url('images/loading.gif') no-repeat center center; } .pagination-page-list, .pagination .pagination-num { border-color: #000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/panel.css ================================================ .panel { overflow: hidden; text-align: left; margin: 0; border: 0; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .panel-header, .panel-body { border-width: 1px; border-style: solid; } .panel-header { padding: 5px; position: relative; } .panel-title { background: url('images/blank.gif') no-repeat; } .panel-header-noborder { border-width: 0 0 1px 0; } .panel-body { overflow: auto; border-top-width: 0; padding: 0; } .panel-body-noheader { border-top-width: 1px; } .panel-body-noborder { border-width: 0px; } .panel-body-nobottom { border-bottom-width: 0; } .panel-with-icon { padding-left: 18px; } .panel-icon, .panel-tool { position: absolute; top: 50%; margin-top: -8px; height: 16px; overflow: hidden; } .panel-icon { left: 5px; width: 16px; } .panel-tool { right: 5px; width: auto; } .panel-tool a { display: inline-block; width: 16px; height: 16px; opacity: 0.6; filter: alpha(opacity=60); margin: 0 0 0 2px; vertical-align: top; } .panel-tool a:hover { opacity: 1; filter: alpha(opacity=100); background-color: #777; -moz-border-radius: 3px 3px 3px 3px; -webkit-border-radius: 3px 3px 3px 3px; border-radius: 3px 3px 3px 3px; } .panel-loading { padding: 11px 0px 10px 30px; } .panel-noscroll { overflow: hidden; } .panel-fit, .panel-fit body { height: 100%; margin: 0; padding: 0; border: 0; overflow: hidden; } .panel-loading { background: url('images/loading.gif') no-repeat 10px 10px; } .panel-tool-close { background: url('images/panel_tools.png') no-repeat -16px 0px; } .panel-tool-min { background: url('images/panel_tools.png') no-repeat 0px 0px; } .panel-tool-max { background: url('images/panel_tools.png') no-repeat 0px -16px; } .panel-tool-restore { background: url('images/panel_tools.png') no-repeat -16px -16px; } .panel-tool-collapse { background: url('images/panel_tools.png') no-repeat -32px 0; } .panel-tool-expand { background: url('images/panel_tools.png') no-repeat -32px -16px; } .panel-header, .panel-body { border-color: #000; } .panel-header { background-color: #3d3d3d; background: -webkit-linear-gradient(top,#454545 0,#383838 100%); background: -moz-linear-gradient(top,#454545 0,#383838 100%); background: -o-linear-gradient(top,#454545 0,#383838 100%); background: linear-gradient(to bottom,#454545 0,#383838 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); } .panel-body { background-color: #666; color: #fff; font-size: 12px; } .panel-title { font-size: 12px; font-weight: bold; color: #fff; height: 16px; line-height: 16px; } .panel-footer { border: 1px solid #000; overflow: hidden; background: #555; } .panel-footer-noborder { border-width: 1px 0 0 0; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/progressbar.css ================================================ .progressbar { border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; overflow: hidden; position: relative; } .progressbar-text { text-align: center; position: absolute; } .progressbar-value { position: relative; overflow: hidden; width: 0; -moz-border-radius: 5px 0 0 5px; -webkit-border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px; } .progressbar { border-color: #000; } .progressbar-text { color: #fff; font-size: 12px; } .progressbar-value .progressbar-text { background-color: #0052A3; color: #fff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/propertygrid.css ================================================ .propertygrid .datagrid-view1 .datagrid-body td { padding-bottom: 1px; border-width: 0 1px 0 0; } .propertygrid .datagrid-group { height: 21px; overflow: hidden; border-width: 0 0 1px 0; border-style: solid; } .propertygrid .datagrid-group span { font-weight: bold; } .propertygrid .datagrid-view1 .datagrid-body td { border-color: #222; } .propertygrid .datagrid-view1 .datagrid-group { border-color: #3d3d3d; } .propertygrid .datagrid-view2 .datagrid-group { border-color: #222; } .propertygrid .datagrid-group, .propertygrid .datagrid-view1 .datagrid-body, .propertygrid .datagrid-view1 .datagrid-row-over, .propertygrid .datagrid-view1 .datagrid-row-selected { background: #3d3d3d; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/searchbox.css ================================================ .searchbox { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .searchbox .searchbox-text { font-size: 12px; border: 0; margin: 0; padding: 0 2px; vertical-align: top; } .searchbox .searchbox-prompt { font-size: 12px; color: #ccc; } .searchbox-button { width: 18px; height: 20px; overflow: hidden; display: inline-block; vertical-align: top; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); } .searchbox-button-hover { opacity: 1.0; filter: alpha(opacity=100); } .searchbox .l-btn-plain { border: 0; padding: 0; vertical-align: top; opacity: 0.6; filter: alpha(opacity=60); -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .l-btn-plain:hover { border: 0; padding: 0; opacity: 1.0; filter: alpha(opacity=100); -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox a.m-btn-plain-active { -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .m-btn-active { border-width: 0 1px 0 0; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .textbox-button-right { border-width: 0 0 0 1px; } .searchbox .textbox-button-left { border-width: 0 1px 0 0; } .searchbox-button { background: url('images/searchbox_button.png') no-repeat center center; } .searchbox { border-color: #000; background-color: #fff; } .searchbox .l-btn-plain { background: #3d3d3d; } .searchbox .l-btn-plain-disabled, .searchbox .l-btn-plain-disabled:hover { opacity: 0.5; filter: alpha(opacity=50); } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/slider.css ================================================ .slider-disabled { opacity: 0.5; filter: alpha(opacity=50); } .slider-h { height: 22px; } .slider-v { width: 22px; } .slider-inner { position: relative; height: 6px; top: 7px; border-width: 1px; border-style: solid; border-radius: 5px; } .slider-handle { position: absolute; display: block; outline: none; width: 20px; height: 20px; top: 50%; margin-top: -10px; margin-left: -10px; } .slider-tip { position: absolute; display: inline-block; line-height: 12px; font-size: 12px; white-space: nowrap; top: -22px; } .slider-rule { position: relative; top: 15px; } .slider-rule span { position: absolute; display: inline-block; font-size: 0; height: 5px; border-width: 0 0 0 1px; border-style: solid; } .slider-rulelabel { position: relative; top: 20px; } .slider-rulelabel span { position: absolute; display: inline-block; font-size: 12px; } .slider-v .slider-inner { width: 6px; left: 7px; top: 0; float: left; } .slider-v .slider-handle { left: 50%; margin-top: -10px; } .slider-v .slider-tip { left: -10px; margin-top: -6px; } .slider-v .slider-rule { float: left; top: 0; left: 16px; } .slider-v .slider-rule span { width: 5px; height: 'auto'; border-left: 0; border-width: 1px 0 0 0; border-style: solid; } .slider-v .slider-rulelabel { float: left; top: 0; left: 23px; } .slider-handle { background: url('images/slider_handle.png') no-repeat; } .slider-inner { border-color: #000; background: #3d3d3d; } .slider-rule span { border-color: #000; } .slider-rulelabel span { color: #fff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/spinner.css ================================================ .spinner { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .spinner .spinner-text { font-size: 12px; border: 0px; margin: 0; padding: 0 2px; vertical-align: baseline; } .spinner-arrow { background-color: #3d3d3d; display: inline-block; overflow: hidden; vertical-align: top; margin: 0; padding: 0; opacity: 1.0; filter: alpha(opacity=100); width: 18px; } .spinner-arrow-up, .spinner-arrow-down { opacity: 0.6; filter: alpha(opacity=60); display: block; font-size: 1px; width: 18px; height: 10px; width: 100%; height: 50%; outline-style: none; } .spinner-arrow-hover { background-color: #777; opacity: 1.0; filter: alpha(opacity=100); } .spinner-arrow-up:hover, .spinner-arrow-down:hover { opacity: 1.0; filter: alpha(opacity=100); background-color: #777; } .textbox-icon-disabled .spinner-arrow-up:hover, .textbox-icon-disabled .spinner-arrow-down:hover { opacity: 0.6; filter: alpha(opacity=60); background-color: #3d3d3d; cursor: default; } .spinner .textbox-icon-disabled { opacity: 0.6; filter: alpha(opacity=60); } .spinner-arrow-up { background: url('images/spinner_arrows.png') no-repeat 1px center; } .spinner-arrow-down { background: url('images/spinner_arrows.png') no-repeat -15px center; } .spinner { border-color: #000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/splitbutton.css ================================================ .s-btn:hover .m-btn-line, .s-btn-active .m-btn-line, .s-btn-plain-active .m-btn-line { display: inline-block; } .l-btn:hover .s-btn-downarrow, .s-btn-active .s-btn-downarrow, .s-btn-plain-active .s-btn-downarrow { border-style: solid; border-color: #cccccc; border-width: 0 0 0 1px; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/tabs.css ================================================ .tabs-container { overflow: hidden; } .tabs-header { border-width: 1px; border-style: solid; border-bottom-width: 0; position: relative; padding: 0; padding-top: 2px; overflow: hidden; } .tabs-header-plain { border: 0; background: transparent; } .tabs-scroller-left, .tabs-scroller-right { position: absolute; top: auto; bottom: 0; width: 18px; font-size: 1px; display: none; cursor: pointer; border-width: 1px; border-style: solid; } .tabs-scroller-left { left: 0; } .tabs-scroller-right { right: 0; } .tabs-tool { position: absolute; bottom: 0; padding: 1px; overflow: hidden; border-width: 1px; border-style: solid; } .tabs-header-plain .tabs-tool { padding: 0 1px; } .tabs-wrap { position: relative; left: 0; overflow: hidden; width: 100%; margin: 0; padding: 0; } .tabs-scrolling { margin-left: 18px; margin-right: 18px; } .tabs-disabled { opacity: 0.3; filter: alpha(opacity=30); } .tabs { list-style-type: none; height: 26px; margin: 0px; padding: 0px; padding-left: 4px; width: 50000px; border-style: solid; border-width: 0 0 1px 0; } .tabs li { float: left; display: inline-block; margin: 0 4px -1px 0; padding: 0; position: relative; border: 0; } .tabs li a.tabs-inner { display: inline-block; text-decoration: none; margin: 0; padding: 0 10px; height: 25px; line-height: 25px; text-align: center; white-space: nowrap; border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 0 0; -webkit-border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0; } .tabs li.tabs-selected a.tabs-inner { font-weight: bold; outline: none; } .tabs li.tabs-selected a:hover.tabs-inner { cursor: default; pointer: default; } .tabs li a.tabs-close, .tabs-p-tool { position: absolute; font-size: 1px; display: block; height: 12px; padding: 0; top: 50%; margin-top: -6px; overflow: hidden; } .tabs li a.tabs-close { width: 12px; right: 5px; opacity: 0.6; filter: alpha(opacity=60); } .tabs-p-tool { right: 16px; } .tabs-p-tool a { display: inline-block; font-size: 1px; width: 12px; height: 12px; margin: 0; opacity: 0.6; filter: alpha(opacity=60); } .tabs li a:hover.tabs-close, .tabs-p-tool a:hover { opacity: 1; filter: alpha(opacity=100); cursor: hand; cursor: pointer; } .tabs-with-icon { padding-left: 18px; } .tabs-icon { position: absolute; width: 16px; height: 16px; left: 10px; top: 50%; margin-top: -8px; } .tabs-title { font-size: 12px; } .tabs-closable { padding-right: 8px; } .tabs-panels { margin: 0px; padding: 0px; border-width: 1px; border-style: solid; border-top-width: 0; overflow: hidden; } .tabs-header-bottom { border-width: 0 1px 1px 1px; padding: 0 0 2px 0; } .tabs-header-bottom .tabs { border-width: 1px 0 0 0; } .tabs-header-bottom .tabs li { margin: -1px 4px 0 0; } .tabs-header-bottom .tabs li a.tabs-inner { -moz-border-radius: 0 0 5px 5px; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .tabs-header-bottom .tabs-tool { top: 0; } .tabs-header-bottom .tabs-scroller-left, .tabs-header-bottom .tabs-scroller-right { top: 0; bottom: auto; } .tabs-panels-top { border-width: 1px 1px 0 1px; } .tabs-header-left { float: left; border-width: 1px 0 1px 1px; padding: 0; } .tabs-header-right { float: right; border-width: 1px 1px 1px 0; padding: 0; } .tabs-header-left .tabs-wrap, .tabs-header-right .tabs-wrap { height: 100%; } .tabs-header-left .tabs { height: 100%; padding: 4px 0 0 4px; border-width: 0 1px 0 0; } .tabs-header-right .tabs { height: 100%; padding: 4px 4px 0 0; border-width: 0 0 0 1px; } .tabs-header-left .tabs li, .tabs-header-right .tabs li { display: block; width: 100%; position: relative; } .tabs-header-left .tabs li { left: auto; right: 0; margin: 0 -1px 4px 0; float: right; } .tabs-header-right .tabs li { left: 0; right: auto; margin: 0 0 4px -1px; float: left; } .tabs-header-left .tabs li a.tabs-inner { display: block; text-align: left; -moz-border-radius: 5px 0 0 5px; -webkit-border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px; } .tabs-header-right .tabs li a.tabs-inner { display: block; text-align: left; -moz-border-radius: 0 5px 5px 0; -webkit-border-radius: 0 5px 5px 0; border-radius: 0 5px 5px 0; } .tabs-panels-right { float: right; border-width: 1px 1px 1px 0; } .tabs-panels-left { float: left; border-width: 1px 0 1px 1px; } .tabs-header-noborder, .tabs-panels-noborder { border: 0px; } .tabs-header-plain { border: 0px; background: transparent; } .tabs-scroller-left { background: #3d3d3d url('images/tabs_icons.png') no-repeat 1px center; } .tabs-scroller-right { background: #3d3d3d url('images/tabs_icons.png') no-repeat -15px center; } .tabs li a.tabs-close { background: url('images/tabs_icons.png') no-repeat -34px center; } .tabs li a.tabs-inner:hover { background: #777; color: #fff; filter: none; } .tabs li.tabs-selected a.tabs-inner { background-color: #666; color: #fff; background: -webkit-linear-gradient(top,#454545 0,#666 100%); background: -moz-linear-gradient(top,#454545 0,#666 100%); background: -o-linear-gradient(top,#454545 0,#666 100%); background: linear-gradient(to bottom,#454545 0,#666 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#666,GradientType=0); } .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(top,#666 0,#454545 100%); background: -moz-linear-gradient(top,#666 0,#454545 100%); background: -o-linear-gradient(top,#666 0,#454545 100%); background: linear-gradient(to bottom,#666 0,#454545 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#666,endColorstr=#454545,GradientType=0); } .tabs-header-left .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(left,#454545 0,#666 100%); background: -moz-linear-gradient(left,#454545 0,#666 100%); background: -o-linear-gradient(left,#454545 0,#666 100%); background: linear-gradient(to right,#454545 0,#666 100%); background-repeat: repeat-y; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#666,GradientType=1); } .tabs-header-right .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(left,#666 0,#454545 100%); background: -moz-linear-gradient(left,#666 0,#454545 100%); background: -o-linear-gradient(left,#666 0,#454545 100%); background: linear-gradient(to right,#666 0,#454545 100%); background-repeat: repeat-y; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#666,endColorstr=#454545,GradientType=1); } .tabs li a.tabs-inner { color: #fff; background-color: #3d3d3d; background: -webkit-linear-gradient(top,#454545 0,#383838 100%); background: -moz-linear-gradient(top,#454545 0,#383838 100%); background: -o-linear-gradient(top,#454545 0,#383838 100%); background: linear-gradient(to bottom,#454545 0,#383838 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); } .tabs-header, .tabs-tool { background-color: #3d3d3d; } .tabs-header-plain { background: transparent; } .tabs-header, .tabs-scroller-left, .tabs-scroller-right, .tabs-tool, .tabs, .tabs-panels, .tabs li a.tabs-inner, .tabs li.tabs-selected a.tabs-inner, .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, .tabs-header-left .tabs li.tabs-selected a.tabs-inner, .tabs-header-right .tabs li.tabs-selected a.tabs-inner { border-color: #000; } .tabs-p-tool a:hover, .tabs li a:hover.tabs-close, .tabs-scroller-over { background-color: #777; } .tabs li.tabs-selected a.tabs-inner { border-bottom: 1px solid #666; } .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { border-top: 1px solid #666; } .tabs-header-left .tabs li.tabs-selected a.tabs-inner { border-right: 1px solid #666; } .tabs-header-right .tabs li.tabs-selected a.tabs-inner { border-left: 1px solid #666; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/textbox.css ================================================ .textbox { position: relative; border: 1px solid #000; background-color: #fff; vertical-align: middle; display: inline-block; overflow: hidden; white-space: nowrap; margin: 0; padding: 0; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .textbox .textbox-text { font-size: 12px; border: 0; margin: 0; padding: 4px; white-space: normal; vertical-align: top; outline-style: none; resize: none; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .textbox .textbox-prompt { font-size: 12px; color: #aaa; } .textbox-button, .textbox-button:hover { position: absolute; top: 0; padding: 0; vertical-align: top; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .textbox-button-right, .textbox-button-right:hover { border-width: 0 0 0 1px; } .textbox-button-left, .textbox-button-left:hover { border-width: 0 1px 0 0; } .textbox-addon { position: absolute; top: 0; } .textbox-icon { display: inline-block; width: 18px; height: 20px; overflow: hidden; vertical-align: top; background-position: center center; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); text-decoration: none; outline-style: none; } .textbox-icon-disabled, .textbox-icon-readonly { cursor: default; } .textbox-icon:hover { opacity: 1.0; filter: alpha(opacity=100); } .textbox-icon-disabled:hover { opacity: 0.6; filter: alpha(opacity=60); } .textbox-focused { -moz-box-shadow: 0 0 3px 0 #000; -webkit-box-shadow: 0 0 3px 0 #000; box-shadow: 0 0 3px 0 #000; } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/tooltip.css ================================================ .tooltip { position: absolute; display: none; z-index: 9900000; outline: none; opacity: 1; filter: alpha(opacity=100); padding: 5px; border-width: 1px; border-style: solid; border-radius: 5px; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .tooltip-content { font-size: 12px; } .tooltip-arrow-outer, .tooltip-arrow { position: absolute; width: 0; height: 0; line-height: 0; font-size: 0; border-style: solid; border-width: 6px; border-color: transparent; _border-color: tomato; _filter: chroma(color=tomato); } .tooltip-right .tooltip-arrow-outer { left: 0; top: 50%; margin: -6px 0 0 -13px; } .tooltip-right .tooltip-arrow { left: 0; top: 50%; margin: -6px 0 0 -12px; } .tooltip-left .tooltip-arrow-outer { right: 0; top: 50%; margin: -6px -13px 0 0; } .tooltip-left .tooltip-arrow { right: 0; top: 50%; margin: -6px -12px 0 0; } .tooltip-top .tooltip-arrow-outer { bottom: 0; left: 50%; margin: 0 0 -13px -6px; } .tooltip-top .tooltip-arrow { bottom: 0; left: 50%; margin: 0 0 -12px -6px; } .tooltip-bottom .tooltip-arrow-outer { top: 0; left: 50%; margin: -13px 0 0 -6px; } .tooltip-bottom .tooltip-arrow { top: 0; left: 50%; margin: -12px 0 0 -6px; } .tooltip { background-color: #666; border-color: #000; color: #fff; } .tooltip-right .tooltip-arrow-outer { border-right-color: #000; } .tooltip-right .tooltip-arrow { border-right-color: #666; } .tooltip-left .tooltip-arrow-outer { border-left-color: #000; } .tooltip-left .tooltip-arrow { border-left-color: #666; } .tooltip-top .tooltip-arrow-outer { border-top-color: #000; } .tooltip-top .tooltip-arrow { border-top-color: #666; } .tooltip-bottom .tooltip-arrow-outer { border-bottom-color: #000; } .tooltip-bottom .tooltip-arrow { border-bottom-color: #666; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/tree.css ================================================ .tree { margin: 0; padding: 0; list-style-type: none; } .tree li { white-space: nowrap; } .tree li ul { list-style-type: none; margin: 0; padding: 0; } .tree-node { height: 18px; white-space: nowrap; cursor: pointer; } .tree-hit { cursor: pointer; } .tree-expanded, .tree-collapsed, .tree-folder, .tree-file, .tree-checkbox, .tree-indent { display: inline-block; width: 16px; height: 18px; vertical-align: top; overflow: hidden; } .tree-expanded { background: url('images/tree_icons.png') no-repeat -18px 0px; } .tree-expanded-hover { background: url('images/tree_icons.png') no-repeat -50px 0px; } .tree-collapsed { background: url('images/tree_icons.png') no-repeat 0px 0px; } .tree-collapsed-hover { background: url('images/tree_icons.png') no-repeat -32px 0px; } .tree-lines .tree-expanded, .tree-lines .tree-root-first .tree-expanded { background: url('images/tree_icons.png') no-repeat -144px 0; } .tree-lines .tree-collapsed, .tree-lines .tree-root-first .tree-collapsed { background: url('images/tree_icons.png') no-repeat -128px 0; } .tree-lines .tree-node-last .tree-expanded, .tree-lines .tree-root-one .tree-expanded { background: url('images/tree_icons.png') no-repeat -80px 0; } .tree-lines .tree-node-last .tree-collapsed, .tree-lines .tree-root-one .tree-collapsed { background: url('images/tree_icons.png') no-repeat -64px 0; } .tree-line { background: url('images/tree_icons.png') no-repeat -176px 0; } .tree-join { background: url('images/tree_icons.png') no-repeat -192px 0; } .tree-joinbottom { background: url('images/tree_icons.png') no-repeat -160px 0; } .tree-folder { background: url('images/tree_icons.png') no-repeat -208px 0; } .tree-folder-open { background: url('images/tree_icons.png') no-repeat -224px 0; } .tree-file { background: url('images/tree_icons.png') no-repeat -240px 0; } .tree-loading { background: url('images/loading.gif') no-repeat center center; } .tree-checkbox0 { background: url('images/tree_icons.png') no-repeat -208px -18px; } .tree-checkbox1 { background: url('images/tree_icons.png') no-repeat -224px -18px; } .tree-checkbox2 { background: url('images/tree_icons.png') no-repeat -240px -18px; } .tree-title { font-size: 12px; display: inline-block; text-decoration: none; vertical-align: top; white-space: nowrap; padding: 0 2px; height: 18px; line-height: 18px; } .tree-node-proxy { font-size: 12px; line-height: 20px; padding: 0 2px 0 20px; border-width: 1px; border-style: solid; z-index: 9900000; } .tree-dnd-icon { display: inline-block; position: absolute; width: 16px; height: 18px; left: 2px; top: 50%; margin-top: -9px; } .tree-dnd-yes { background: url('images/tree_icons.png') no-repeat -256px 0; } .tree-dnd-no { background: url('images/tree_icons.png') no-repeat -256px -18px; } .tree-node-top { border-top: 1px dotted red; } .tree-node-bottom { border-bottom: 1px dotted red; } .tree-node-append .tree-title { border: 1px dotted red; } .tree-editor { border: 1px solid #ccc; font-size: 12px; height: 14px !important; height: 18px; line-height: 14px; padding: 1px 2px; width: 80px; position: absolute; top: 0; } .tree-node-proxy { background-color: #666; color: #fff; border-color: #000; } .tree-node-hover { background: #777; color: #fff; } .tree-node-selected { background: #0052A3; color: #fff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/validatebox.css ================================================ .validatebox-invalid { border-color: #ffa8a8; background-color: #fff3f3; color: #000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/black/window.css ================================================ .window { overflow: hidden; padding: 5px; border-width: 1px; border-style: solid; } .window .window-header { background: transparent; padding: 0px 0px 6px 0px; } .window .window-body { border-width: 1px; border-style: solid; border-top-width: 0px; } .window .window-body-noheader { border-top-width: 1px; } .window .panel-body-nobottom { border-bottom-width: 0; } .window .window-header .panel-icon, .window .window-header .panel-tool { top: 50%; margin-top: -11px; } .window .window-header .panel-icon { left: 1px; } .window .window-header .panel-tool { right: 1px; } .window .window-header .panel-with-icon { padding-left: 18px; } .window-proxy { position: absolute; overflow: hidden; } .window-proxy-mask { position: absolute; filter: alpha(opacity=5); opacity: 0.05; } .window-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; filter: alpha(opacity=40); opacity: 0.40; font-size: 1px; overflow: hidden; } .window, .window-shadow { position: absolute; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .window-shadow { background: #777; -moz-box-shadow: 2px 2px 3px #787878; -webkit-box-shadow: 2px 2px 3px #787878; box-shadow: 2px 2px 3px #787878; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); } .window, .window .window-body { border-color: #000; } .window { background-color: #3d3d3d; background: -webkit-linear-gradient(top,#454545 0,#383838 20%); background: -moz-linear-gradient(top,#454545 0,#383838 20%); background: -o-linear-gradient(top,#454545 0,#383838 20%); background: linear-gradient(to bottom,#454545 0,#383838 20%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); } .window-proxy { border: 1px dashed #000; } .window-proxy-mask, .window-mask { background: #000; } .window .panel-footer { border: 1px solid #000; position: relative; top: -1px; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/accordion.css ================================================ .accordion { overflow: hidden; border-width: 1px; border-style: solid; } .accordion .accordion-header { border-width: 0 0 1px; cursor: pointer; } .accordion .accordion-body { border-width: 0 0 1px; } .accordion-noborder { border-width: 0; } .accordion-noborder .accordion-header { border-width: 0 0 1px; } .accordion-noborder .accordion-body { border-width: 0 0 1px; } .accordion-collapse { background: url('images/accordion_arrows.png') no-repeat 0 0; } .accordion-expand { background: url('images/accordion_arrows.png') no-repeat -16px 0; } .accordion { background: #ffffff; border-color: #D4D4D4; } .accordion .accordion-header { background: #F2F2F2; filter: none; } .accordion .accordion-header-selected { background: #0081c2; } .accordion .accordion-header-selected .panel-title { color: #fff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/calendar.css ================================================ .calendar { border-width: 1px; border-style: solid; padding: 1px; overflow: hidden; } .calendar table { table-layout: fixed; border-collapse: separate; font-size: 12px; width: 100%; height: 100%; } .calendar table td, .calendar table th { font-size: 12px; } .calendar-noborder { border: 0; } .calendar-header { position: relative; height: 22px; } .calendar-title { text-align: center; height: 22px; } .calendar-title span { position: relative; display: inline-block; top: 2px; padding: 0 3px; height: 18px; line-height: 18px; font-size: 12px; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-prevmonth, .calendar-nextmonth, .calendar-prevyear, .calendar-nextyear { position: absolute; top: 50%; margin-top: -7px; width: 14px; height: 14px; cursor: pointer; font-size: 1px; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-prevmonth { left: 20px; background: url('images/calendar_arrows.png') no-repeat -18px -2px; } .calendar-nextmonth { right: 20px; background: url('images/calendar_arrows.png') no-repeat -34px -2px; } .calendar-prevyear { left: 3px; background: url('images/calendar_arrows.png') no-repeat -1px -2px; } .calendar-nextyear { right: 3px; background: url('images/calendar_arrows.png') no-repeat -49px -2px; } .calendar-body { position: relative; } .calendar-body th, .calendar-body td { text-align: center; } .calendar-day { border: 0; padding: 1px; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-other-month { opacity: 0.3; filter: alpha(opacity=30); } .calendar-disabled { opacity: 0.6; filter: alpha(opacity=60); cursor: default; } .calendar-menu { position: absolute; top: 0; left: 0; width: 180px; height: 150px; padding: 5px; font-size: 12px; display: none; overflow: hidden; } .calendar-menu-year-inner { text-align: center; padding-bottom: 5px; } .calendar-menu-year { width: 40px; text-align: center; border-width: 1px; border-style: solid; margin: 0; padding: 2px; font-weight: bold; font-size: 12px; } .calendar-menu-prev, .calendar-menu-next { display: inline-block; width: 21px; height: 21px; vertical-align: top; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-menu-prev { margin-right: 10px; background: url('images/calendar_arrows.png') no-repeat 2px 2px; } .calendar-menu-next { margin-left: 10px; background: url('images/calendar_arrows.png') no-repeat -45px 2px; } .calendar-menu-month { text-align: center; cursor: pointer; font-weight: bold; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-body th, .calendar-menu-month { color: #808080; } .calendar-day { color: #333; } .calendar-sunday { color: #CC2222; } .calendar-saturday { color: #00ee00; } .calendar-today { color: #0000ff; } .calendar-menu-year { border-color: #D4D4D4; } .calendar { border-color: #D4D4D4; } .calendar-header { background: #F2F2F2; } .calendar-body, .calendar-menu { background: #ffffff; } .calendar-body th { background: #F5F5F5; padding: 2px 0; } .calendar-hover, .calendar-nav-hover, .calendar-menu-hover { background-color: #e6e6e6; color: #00438a; } .calendar-hover { border: 1px solid #ddd; padding: 0; } .calendar-selected { background-color: #0081c2; color: #fff; border: 1px solid #0070a9; padding: 0; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/combo.css ================================================ .combo { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .combo .combo-text { font-size: 12px; border: 0px; margin: 0; padding: 0px 2px; vertical-align: baseline; } .combo-arrow { width: 18px; height: 20px; overflow: hidden; display: inline-block; vertical-align: top; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); } .combo-arrow-hover { opacity: 1.0; filter: alpha(opacity=100); } .combo-panel { overflow: auto; } .combo-arrow { background: url('images/combo_arrow.png') no-repeat center center; } .combo-panel { background-color: #ffffff; } .combo { border-color: #D4D4D4; background-color: #fff; } .combo-arrow { background-color: #F2F2F2; } .combo-arrow-hover { background-color: #e6e6e6; } .combo-arrow:hover { background-color: #e6e6e6; } .combo .textbox-icon-disabled:hover { cursor: default; } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/combobox.css ================================================ .combobox-item, .combobox-group { font-size: 12px; padding: 3px; padding-right: 0px; } .combobox-item-disabled { opacity: 0.5; filter: alpha(opacity=50); } .combobox-gitem { padding-left: 10px; } .combobox-group { font-weight: bold; } .combobox-item-hover { background-color: #e6e6e6; color: #00438a; } .combobox-item-selected { background-color: #0081c2; color: #fff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/datagrid.css ================================================ .datagrid .panel-body { overflow: hidden; position: relative; } .datagrid-view { position: relative; overflow: hidden; } .datagrid-view1, .datagrid-view2 { position: absolute; overflow: hidden; top: 0; } .datagrid-view1 { left: 0; } .datagrid-view2 { right: 0; } .datagrid-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0.3; filter: alpha(opacity=30); display: none; } .datagrid-mask-msg { position: absolute; top: 50%; margin-top: -20px; padding: 10px 5px 10px 30px; width: auto; height: 16px; border-width: 2px; border-style: solid; display: none; } .datagrid-sort-icon { padding: 0; } .datagrid-toolbar { height: auto; padding: 1px 2px; border-width: 0 0 1px 0; border-style: solid; } .datagrid-btn-separator { float: left; height: 24px; border-left: 1px solid #ccc; border-right: 1px solid #fff; margin: 2px 1px; } .datagrid .datagrid-pager { display: block; margin: 0; border-width: 1px 0 0 0; border-style: solid; } .datagrid .datagrid-pager-top { border-width: 0 0 1px 0; } .datagrid-header { overflow: hidden; cursor: default; border-width: 0 0 1px 0; border-style: solid; } .datagrid-header-inner { float: left; width: 10000px; } .datagrid-header-row, .datagrid-row { height: 25px; } .datagrid-header td, .datagrid-body td, .datagrid-footer td { border-width: 0 1px 1px 0; border-style: dotted; margin: 0; padding: 0; } .datagrid-cell, .datagrid-cell-group, .datagrid-header-rownumber, .datagrid-cell-rownumber { margin: 0; padding: 0 4px; white-space: nowrap; word-wrap: normal; overflow: hidden; height: 18px; line-height: 18px; font-size: 12px; } .datagrid-header .datagrid-cell { height: auto; } .datagrid-header .datagrid-cell span { font-size: 12px; } .datagrid-cell-group { text-align: center; } .datagrid-header-rownumber, .datagrid-cell-rownumber { width: 25px; text-align: center; margin: 0; padding: 0; } .datagrid-body { margin: 0; padding: 0; overflow: auto; zoom: 1; } .datagrid-view1 .datagrid-body-inner { padding-bottom: 20px; } .datagrid-view1 .datagrid-body { overflow: hidden; } .datagrid-footer { overflow: hidden; } .datagrid-footer-inner { border-width: 1px 0 0 0; border-style: solid; width: 10000px; float: left; } .datagrid-row-editing .datagrid-cell { height: auto; } .datagrid-header-check, .datagrid-cell-check { padding: 0; width: 27px; height: 18px; font-size: 1px; text-align: center; overflow: hidden; } .datagrid-header-check input, .datagrid-cell-check input { margin: 0; padding: 0; width: 15px; height: 18px; } .datagrid-resize-proxy { position: absolute; width: 1px; height: 10000px; top: 0; cursor: e-resize; display: none; } .datagrid-body .datagrid-editable { margin: 0; padding: 0; } .datagrid-body .datagrid-editable table { width: 100%; height: 100%; } .datagrid-body .datagrid-editable td { border: 0; margin: 0; padding: 0; } .datagrid-view .datagrid-editable-input { margin: 0; padding: 2px 4px; border: 1px solid #D4D4D4; font-size: 12px; outline-style: none; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .datagrid-sort-desc .datagrid-sort-icon { padding: 0 13px 0 0; background: url('images/datagrid_icons.png') no-repeat -16px center; } .datagrid-sort-asc .datagrid-sort-icon { padding: 0 13px 0 0; background: url('images/datagrid_icons.png') no-repeat 0px center; } .datagrid-row-collapse { background: url('images/datagrid_icons.png') no-repeat -48px center; } .datagrid-row-expand { background: url('images/datagrid_icons.png') no-repeat -32px center; } .datagrid-mask-msg { background: #ffffff url('images/loading.gif') no-repeat scroll 5px center; } .datagrid-header, .datagrid-td-rownumber { background-color: #F2F2F2; background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 100%); background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 100%); background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 100%); background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); } .datagrid-cell-rownumber { color: #333; } .datagrid-resize-proxy { background: #bbb; } .datagrid-mask { background: #ccc; } .datagrid-mask-msg { border-color: #D4D4D4; } .datagrid-toolbar, .datagrid-pager { background: #F5F5F5; } .datagrid-header, .datagrid-toolbar, .datagrid-pager, .datagrid-footer-inner { border-color: #e6e6e6; } .datagrid-header td, .datagrid-body td, .datagrid-footer td { border-color: #ccc; } .datagrid-htable, .datagrid-btable, .datagrid-ftable { color: #333; border-collapse: separate; } .datagrid-row-alt { background: #F5F5F5; } .datagrid-row-over, .datagrid-header td.datagrid-header-over { background: #e6e6e6; color: #00438a; cursor: default; } .datagrid-row-selected { background: #0081c2; color: #fff; } .datagrid-row-editing .textbox, .datagrid-row-editing .textbox-text { -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/datebox.css ================================================ .datebox-calendar-inner { height: 180px; } .datebox-button { height: 18px; padding: 2px 5px; text-align: center; } .datebox-button a { font-size: 12px; font-weight: bold; text-decoration: none; opacity: 0.6; filter: alpha(opacity=60); } .datebox-button a:hover { opacity: 1.0; filter: alpha(opacity=100); } .datebox-current, .datebox-close { float: left; } .datebox-close { float: right; } .datebox .combo-arrow { background-image: url('images/datebox_arrow.png'); background-position: center center; } .datebox-button { background-color: #F5F5F5; } .datebox-button a { color: #444; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/dialog.css ================================================ .dialog-content { overflow: auto; } .dialog-toolbar { padding: 2px 5px; } .dialog-tool-separator { float: left; height: 24px; border-left: 1px solid #ccc; border-right: 1px solid #fff; margin: 2px 1px; } .dialog-button { padding: 5px; text-align: right; } .dialog-button .l-btn { margin-left: 5px; } .dialog-toolbar, .dialog-button { background: #F5F5F5; border-width: 1px; border-style: solid; } .dialog-toolbar { border-color: #D4D4D4 #D4D4D4 #e6e6e6 #D4D4D4; } .dialog-button { border-color: #e6e6e6 #D4D4D4 #D4D4D4 #D4D4D4; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/easyui.css ================================================ .panel { overflow: hidden; text-align: left; margin: 0; border: 0; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .panel-header, .panel-body { border-width: 1px; border-style: solid; } .panel-header { padding: 5px; position: relative; } .panel-title { background: url('images/blank.gif') no-repeat; } .panel-header-noborder { border-width: 0 0 1px 0; } .panel-body { overflow: auto; border-top-width: 0; padding: 0; } .panel-body-noheader { border-top-width: 1px; } .panel-body-noborder { border-width: 0px; } .panel-body-nobottom { border-bottom-width: 0; } .panel-with-icon { padding-left: 18px; } .panel-icon, .panel-tool { position: absolute; top: 50%; margin-top: -8px; height: 16px; overflow: hidden; } .panel-icon { left: 5px; width: 16px; } .panel-tool { right: 5px; width: auto; } .panel-tool a { display: inline-block; width: 16px; height: 16px; opacity: 0.6; filter: alpha(opacity=60); margin: 0 0 0 2px; vertical-align: top; } .panel-tool a:hover { opacity: 1; filter: alpha(opacity=100); background-color: #e6e6e6; -moz-border-radius: 3px 3px 3px 3px; -webkit-border-radius: 3px 3px 3px 3px; border-radius: 3px 3px 3px 3px; } .panel-loading { padding: 11px 0px 10px 30px; } .panel-noscroll { overflow: hidden; } .panel-fit, .panel-fit body { height: 100%; margin: 0; padding: 0; border: 0; overflow: hidden; } .panel-loading { background: url('images/loading.gif') no-repeat 10px 10px; } .panel-tool-close { background: url('images/panel_tools.png') no-repeat -16px 0px; } .panel-tool-min { background: url('images/panel_tools.png') no-repeat 0px 0px; } .panel-tool-max { background: url('images/panel_tools.png') no-repeat 0px -16px; } .panel-tool-restore { background: url('images/panel_tools.png') no-repeat -16px -16px; } .panel-tool-collapse { background: url('images/panel_tools.png') no-repeat -32px 0; } .panel-tool-expand { background: url('images/panel_tools.png') no-repeat -32px -16px; } .panel-header, .panel-body { border-color: #D4D4D4; } .panel-header { background-color: #F2F2F2; background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 100%); background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 100%); background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 100%); background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); } .panel-body { background-color: #ffffff; color: #333; font-size: 12px; } .panel-title { font-size: 12px; font-weight: bold; color: #777; height: 16px; line-height: 16px; } .panel-footer { border: 1px solid #D4D4D4; overflow: hidden; background: #F5F5F5; } .panel-footer-noborder { border-width: 1px 0 0 0; } .accordion { overflow: hidden; border-width: 1px; border-style: solid; } .accordion .accordion-header { border-width: 0 0 1px; cursor: pointer; } .accordion .accordion-body { border-width: 0 0 1px; } .accordion-noborder { border-width: 0; } .accordion-noborder .accordion-header { border-width: 0 0 1px; } .accordion-noborder .accordion-body { border-width: 0 0 1px; } .accordion-collapse { background: url('images/accordion_arrows.png') no-repeat 0 0; } .accordion-expand { background: url('images/accordion_arrows.png') no-repeat -16px 0; } .accordion { background: #ffffff; border-color: #D4D4D4; } .accordion .accordion-header { background: #F2F2F2; filter: none; } .accordion .accordion-header-selected { background: #0081c2; } .accordion .accordion-header-selected .panel-title { color: #fff; } .window { overflow: hidden; padding: 5px; border-width: 1px; border-style: solid; } .window .window-header { background: transparent; padding: 0px 0px 6px 0px; } .window .window-body { border-width: 1px; border-style: solid; border-top-width: 0px; } .window .window-body-noheader { border-top-width: 1px; } .window .panel-body-nobottom { border-bottom-width: 0; } .window .window-header .panel-icon, .window .window-header .panel-tool { top: 50%; margin-top: -11px; } .window .window-header .panel-icon { left: 1px; } .window .window-header .panel-tool { right: 1px; } .window .window-header .panel-with-icon { padding-left: 18px; } .window-proxy { position: absolute; overflow: hidden; } .window-proxy-mask { position: absolute; filter: alpha(opacity=5); opacity: 0.05; } .window-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; filter: alpha(opacity=40); opacity: 0.40; font-size: 1px; overflow: hidden; } .window, .window-shadow { position: absolute; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .window-shadow { background: #ccc; -moz-box-shadow: 2px 2px 3px #cccccc; -webkit-box-shadow: 2px 2px 3px #cccccc; box-shadow: 2px 2px 3px #cccccc; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); } .window, .window .window-body { border-color: #D4D4D4; } .window { background-color: #F2F2F2; background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 20%); background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 20%); background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 20%); background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 20%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); } .window-proxy { border: 1px dashed #D4D4D4; } .window-proxy-mask, .window-mask { background: #ccc; } .window .panel-footer { border: 1px solid #D4D4D4; position: relative; top: -1px; } .dialog-content { overflow: auto; } .dialog-toolbar { padding: 2px 5px; } .dialog-tool-separator { float: left; height: 24px; border-left: 1px solid #ccc; border-right: 1px solid #fff; margin: 2px 1px; } .dialog-button { padding: 5px; text-align: right; } .dialog-button .l-btn { margin-left: 5px; } .dialog-toolbar, .dialog-button { background: #F5F5F5; border-width: 1px; border-style: solid; } .dialog-toolbar { border-color: #D4D4D4 #D4D4D4 #e6e6e6 #D4D4D4; } .dialog-button { border-color: #e6e6e6 #D4D4D4 #D4D4D4 #D4D4D4; } .l-btn { text-decoration: none; display: inline-block; overflow: hidden; margin: 0; padding: 0; cursor: pointer; outline: none; text-align: center; vertical-align: middle; } .l-btn-plain { border: 0; padding: 1px; } .l-btn-left { display: inline-block; position: relative; overflow: hidden; margin: 0; padding: 0; vertical-align: top; } .l-btn-text { display: inline-block; vertical-align: top; width: auto; line-height: 24px; font-size: 12px; padding: 0; margin: 0 4px; } .l-btn-icon { display: inline-block; width: 16px; height: 16px; line-height: 16px; position: absolute; top: 50%; margin-top: -8px; font-size: 1px; } .l-btn span span .l-btn-empty { display: inline-block; margin: 0; width: 16px; height: 24px; font-size: 1px; vertical-align: top; } .l-btn span .l-btn-icon-left { padding: 0 0 0 20px; background-position: left center; } .l-btn span .l-btn-icon-right { padding: 0 20px 0 0; background-position: right center; } .l-btn-icon-left .l-btn-text { margin: 0 4px 0 24px; } .l-btn-icon-left .l-btn-icon { left: 4px; } .l-btn-icon-right .l-btn-text { margin: 0 24px 0 4px; } .l-btn-icon-right .l-btn-icon { right: 4px; } .l-btn-icon-top .l-btn-text { margin: 20px 4px 0 4px; } .l-btn-icon-top .l-btn-icon { top: 4px; left: 50%; margin: 0 0 0 -8px; } .l-btn-icon-bottom .l-btn-text { margin: 0 4px 20px 4px; } .l-btn-icon-bottom .l-btn-icon { top: auto; bottom: 4px; left: 50%; margin: 0 0 0 -8px; } .l-btn-left .l-btn-empty { margin: 0 4px; width: 16px; } .l-btn-plain:hover { padding: 0; } .l-btn-focus { outline: #0000FF dotted thin; } .l-btn-large .l-btn-text { line-height: 40px; } .l-btn-large .l-btn-icon { width: 32px; height: 32px; line-height: 32px; margin-top: -16px; } .l-btn-large .l-btn-icon-left .l-btn-text { margin-left: 40px; } .l-btn-large .l-btn-icon-right .l-btn-text { margin-right: 40px; } .l-btn-large .l-btn-icon-top .l-btn-text { margin-top: 36px; line-height: 24px; min-width: 32px; } .l-btn-large .l-btn-icon-top .l-btn-icon { margin: 0 0 0 -16px; } .l-btn-large .l-btn-icon-bottom .l-btn-text { margin-bottom: 36px; line-height: 24px; min-width: 32px; } .l-btn-large .l-btn-icon-bottom .l-btn-icon { margin: 0 0 0 -16px; } .l-btn-large .l-btn-left .l-btn-empty { margin: 0 4px; width: 32px; } .l-btn { color: #444; background: #f5f5f5; background-repeat: repeat-x; border: 1px solid #bbb; background: -webkit-linear-gradient(top,#ffffff 0,#e6e6e6 100%); background: -moz-linear-gradient(top,#ffffff 0,#e6e6e6 100%); background: -o-linear-gradient(top,#ffffff 0,#e6e6e6 100%); background: linear-gradient(to bottom,#ffffff 0,#e6e6e6 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#e6e6e6,GradientType=0); -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .l-btn:hover { background: #e6e6e6; color: #00438a; border: 1px solid #ddd; filter: none; } .l-btn-plain { background: transparent; border: 0; filter: none; } .l-btn-plain:hover { background: #e6e6e6; color: #00438a; border: 1px solid #ddd; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .l-btn-disabled, .l-btn-disabled:hover { opacity: 0.5; cursor: default; background: #f5f5f5; color: #444; background: -webkit-linear-gradient(top,#ffffff 0,#e6e6e6 100%); background: -moz-linear-gradient(top,#ffffff 0,#e6e6e6 100%); background: -o-linear-gradient(top,#ffffff 0,#e6e6e6 100%); background: linear-gradient(to bottom,#ffffff 0,#e6e6e6 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#e6e6e6,GradientType=0); } .l-btn-disabled .l-btn-text, .l-btn-disabled .l-btn-icon { filter: alpha(opacity=50); } .l-btn-plain-disabled, .l-btn-plain-disabled:hover { background: transparent; filter: alpha(opacity=50); } .l-btn-selected, .l-btn-selected:hover { background: #ddd; filter: none; } .l-btn-plain-selected, .l-btn-plain-selected:hover { background: #ddd; } .textbox { position: relative; border: 1px solid #D4D4D4; background-color: #fff; vertical-align: middle; display: inline-block; overflow: hidden; white-space: nowrap; margin: 0; padding: 0; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .textbox .textbox-text { font-size: 12px; border: 0; margin: 0; padding: 4px; white-space: normal; vertical-align: top; outline-style: none; resize: none; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .textbox .textbox-prompt { font-size: 12px; color: #aaa; } .textbox-button, .textbox-button:hover { position: absolute; top: 0; padding: 0; vertical-align: top; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .textbox-button-right, .textbox-button-right:hover { border-width: 0 0 0 1px; } .textbox-button-left, .textbox-button-left:hover { border-width: 0 1px 0 0; } .textbox-addon { position: absolute; top: 0; } .textbox-icon { display: inline-block; width: 18px; height: 20px; overflow: hidden; vertical-align: top; background-position: center center; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); text-decoration: none; outline-style: none; } .textbox-icon-disabled, .textbox-icon-readonly { cursor: default; } .textbox-icon:hover { opacity: 1.0; filter: alpha(opacity=100); } .textbox-icon-disabled:hover { opacity: 0.6; filter: alpha(opacity=60); } .textbox-focused { -moz-box-shadow: 0 0 3px 0 #D4D4D4; -webkit-box-shadow: 0 0 3px 0 #D4D4D4; box-shadow: 0 0 3px 0 #D4D4D4; } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } .filebox .textbox-value { vertical-align: top; position: absolute; top: 0; left: -5000px; } .combo { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .combo .combo-text { font-size: 12px; border: 0px; margin: 0; padding: 0px 2px; vertical-align: baseline; } .combo-arrow { width: 18px; height: 20px; overflow: hidden; display: inline-block; vertical-align: top; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); } .combo-arrow-hover { opacity: 1.0; filter: alpha(opacity=100); } .combo-panel { overflow: auto; } .combo-arrow { background: url('images/combo_arrow.png') no-repeat center center; } .combo-panel { background-color: #ffffff; } .combo { border-color: #D4D4D4; background-color: #fff; } .combo-arrow { background-color: #F2F2F2; } .combo-arrow-hover { background-color: #e6e6e6; } .combo-arrow:hover { background-color: #e6e6e6; } .combo .textbox-icon-disabled:hover { cursor: default; } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } .combobox-item, .combobox-group { font-size: 12px; padding: 3px; padding-right: 0px; } .combobox-item-disabled { opacity: 0.5; filter: alpha(opacity=50); } .combobox-gitem { padding-left: 10px; } .combobox-group { font-weight: bold; } .combobox-item-hover { background-color: #e6e6e6; color: #00438a; } .combobox-item-selected { background-color: #0081c2; color: #fff; } .layout { position: relative; overflow: hidden; margin: 0; padding: 0; z-index: 0; } .layout-panel { position: absolute; overflow: hidden; } .layout-panel-east, .layout-panel-west { z-index: 2; } .layout-panel-north, .layout-panel-south { z-index: 3; } .layout-expand { position: absolute; padding: 0px; font-size: 1px; cursor: pointer; z-index: 1; } .layout-expand .panel-header, .layout-expand .panel-body { background: transparent; filter: none; overflow: hidden; } .layout-expand .panel-header { border-bottom-width: 0px; } .layout-split-proxy-h, .layout-split-proxy-v { position: absolute; font-size: 1px; display: none; z-index: 5; } .layout-split-proxy-h { width: 5px; cursor: e-resize; } .layout-split-proxy-v { height: 5px; cursor: n-resize; } .layout-mask { position: absolute; background: #fafafa; filter: alpha(opacity=10); opacity: 0.10; z-index: 4; } .layout-button-up { background: url('images/layout_arrows.png') no-repeat -16px -16px; } .layout-button-down { background: url('images/layout_arrows.png') no-repeat -16px 0; } .layout-button-left { background: url('images/layout_arrows.png') no-repeat 0 0; } .layout-button-right { background: url('images/layout_arrows.png') no-repeat 0 -16px; } .layout-split-proxy-h, .layout-split-proxy-v { background-color: #bbb; } .layout-split-north { border-bottom: 5px solid #eee; } .layout-split-south { border-top: 5px solid #eee; } .layout-split-east { border-left: 5px solid #eee; } .layout-split-west { border-right: 5px solid #eee; } .layout-expand { background-color: #F2F2F2; } .layout-expand-over { background-color: #F2F2F2; } .tabs-container { overflow: hidden; } .tabs-header { border-width: 1px; border-style: solid; border-bottom-width: 0; position: relative; padding: 0; padding-top: 2px; overflow: hidden; } .tabs-header-plain { border: 0; background: transparent; } .tabs-scroller-left, .tabs-scroller-right { position: absolute; top: auto; bottom: 0; width: 18px; font-size: 1px; display: none; cursor: pointer; border-width: 1px; border-style: solid; } .tabs-scroller-left { left: 0; } .tabs-scroller-right { right: 0; } .tabs-tool { position: absolute; bottom: 0; padding: 1px; overflow: hidden; border-width: 1px; border-style: solid; } .tabs-header-plain .tabs-tool { padding: 0 1px; } .tabs-wrap { position: relative; left: 0; overflow: hidden; width: 100%; margin: 0; padding: 0; } .tabs-scrolling { margin-left: 18px; margin-right: 18px; } .tabs-disabled { opacity: 0.3; filter: alpha(opacity=30); } .tabs { list-style-type: none; height: 26px; margin: 0px; padding: 0px; padding-left: 4px; width: 50000px; border-style: solid; border-width: 0 0 1px 0; } .tabs li { float: left; display: inline-block; margin: 0 4px -1px 0; padding: 0; position: relative; border: 0; } .tabs li a.tabs-inner { display: inline-block; text-decoration: none; margin: 0; padding: 0 10px; height: 25px; line-height: 25px; text-align: center; white-space: nowrap; border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 0 0; -webkit-border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0; } .tabs li.tabs-selected a.tabs-inner { font-weight: bold; outline: none; } .tabs li.tabs-selected a:hover.tabs-inner { cursor: default; pointer: default; } .tabs li a.tabs-close, .tabs-p-tool { position: absolute; font-size: 1px; display: block; height: 12px; padding: 0; top: 50%; margin-top: -6px; overflow: hidden; } .tabs li a.tabs-close { width: 12px; right: 5px; opacity: 0.6; filter: alpha(opacity=60); } .tabs-p-tool { right: 16px; } .tabs-p-tool a { display: inline-block; font-size: 1px; width: 12px; height: 12px; margin: 0; opacity: 0.6; filter: alpha(opacity=60); } .tabs li a:hover.tabs-close, .tabs-p-tool a:hover { opacity: 1; filter: alpha(opacity=100); cursor: hand; cursor: pointer; } .tabs-with-icon { padding-left: 18px; } .tabs-icon { position: absolute; width: 16px; height: 16px; left: 10px; top: 50%; margin-top: -8px; } .tabs-title { font-size: 12px; } .tabs-closable { padding-right: 8px; } .tabs-panels { margin: 0px; padding: 0px; border-width: 1px; border-style: solid; border-top-width: 0; overflow: hidden; } .tabs-header-bottom { border-width: 0 1px 1px 1px; padding: 0 0 2px 0; } .tabs-header-bottom .tabs { border-width: 1px 0 0 0; } .tabs-header-bottom .tabs li { margin: -1px 4px 0 0; } .tabs-header-bottom .tabs li a.tabs-inner { -moz-border-radius: 0 0 5px 5px; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .tabs-header-bottom .tabs-tool { top: 0; } .tabs-header-bottom .tabs-scroller-left, .tabs-header-bottom .tabs-scroller-right { top: 0; bottom: auto; } .tabs-panels-top { border-width: 1px 1px 0 1px; } .tabs-header-left { float: left; border-width: 1px 0 1px 1px; padding: 0; } .tabs-header-right { float: right; border-width: 1px 1px 1px 0; padding: 0; } .tabs-header-left .tabs-wrap, .tabs-header-right .tabs-wrap { height: 100%; } .tabs-header-left .tabs { height: 100%; padding: 4px 0 0 4px; border-width: 0 1px 0 0; } .tabs-header-right .tabs { height: 100%; padding: 4px 4px 0 0; border-width: 0 0 0 1px; } .tabs-header-left .tabs li, .tabs-header-right .tabs li { display: block; width: 100%; position: relative; } .tabs-header-left .tabs li { left: auto; right: 0; margin: 0 -1px 4px 0; float: right; } .tabs-header-right .tabs li { left: 0; right: auto; margin: 0 0 4px -1px; float: left; } .tabs-header-left .tabs li a.tabs-inner { display: block; text-align: left; -moz-border-radius: 5px 0 0 5px; -webkit-border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px; } .tabs-header-right .tabs li a.tabs-inner { display: block; text-align: left; -moz-border-radius: 0 5px 5px 0; -webkit-border-radius: 0 5px 5px 0; border-radius: 0 5px 5px 0; } .tabs-panels-right { float: right; border-width: 1px 1px 1px 0; } .tabs-panels-left { float: left; border-width: 1px 0 1px 1px; } .tabs-header-noborder, .tabs-panels-noborder { border: 0px; } .tabs-header-plain { border: 0px; background: transparent; } .tabs-scroller-left { background: #F2F2F2 url('images/tabs_icons.png') no-repeat 1px center; } .tabs-scroller-right { background: #F2F2F2 url('images/tabs_icons.png') no-repeat -15px center; } .tabs li a.tabs-close { background: url('images/tabs_icons.png') no-repeat -34px center; } .tabs li a.tabs-inner:hover { background: #e6e6e6; color: #00438a; filter: none; } .tabs li.tabs-selected a.tabs-inner { background-color: #ffffff; color: #777; background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); } .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); } .tabs-header-left .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(left,#ffffff 0,#ffffff 100%); background: -moz-linear-gradient(left,#ffffff 0,#ffffff 100%); background: -o-linear-gradient(left,#ffffff 0,#ffffff 100%); background: linear-gradient(to right,#ffffff 0,#ffffff 100%); background-repeat: repeat-y; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=1); } .tabs-header-right .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(left,#ffffff 0,#ffffff 100%); background: -moz-linear-gradient(left,#ffffff 0,#ffffff 100%); background: -o-linear-gradient(left,#ffffff 0,#ffffff 100%); background: linear-gradient(to right,#ffffff 0,#ffffff 100%); background-repeat: repeat-y; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=1); } .tabs li a.tabs-inner { color: #777; background-color: #F2F2F2; background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 100%); background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 100%); background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 100%); background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); } .tabs-header, .tabs-tool { background-color: #F2F2F2; } .tabs-header-plain { background: transparent; } .tabs-header, .tabs-scroller-left, .tabs-scroller-right, .tabs-tool, .tabs, .tabs-panels, .tabs li a.tabs-inner, .tabs li.tabs-selected a.tabs-inner, .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, .tabs-header-left .tabs li.tabs-selected a.tabs-inner, .tabs-header-right .tabs li.tabs-selected a.tabs-inner { border-color: #D4D4D4; } .tabs-p-tool a:hover, .tabs li a:hover.tabs-close, .tabs-scroller-over { background-color: #e6e6e6; } .tabs li.tabs-selected a.tabs-inner { border-bottom: 1px solid #ffffff; } .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { border-top: 1px solid #ffffff; } .tabs-header-left .tabs li.tabs-selected a.tabs-inner { border-right: 1px solid #ffffff; } .tabs-header-right .tabs li.tabs-selected a.tabs-inner { border-left: 1px solid #ffffff; } .datagrid .panel-body { overflow: hidden; position: relative; } .datagrid-view { position: relative; overflow: hidden; } .datagrid-view1, .datagrid-view2 { position: absolute; overflow: hidden; top: 0; } .datagrid-view1 { left: 0; } .datagrid-view2 { right: 0; } .datagrid-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0.3; filter: alpha(opacity=30); display: none; } .datagrid-mask-msg { position: absolute; top: 50%; margin-top: -20px; padding: 10px 5px 10px 30px; width: auto; height: 16px; border-width: 2px; border-style: solid; display: none; } .datagrid-sort-icon { padding: 0; } .datagrid-toolbar { height: auto; padding: 1px 2px; border-width: 0 0 1px 0; border-style: solid; } .datagrid-btn-separator { float: left; height: 24px; border-left: 1px solid #ccc; border-right: 1px solid #fff; margin: 2px 1px; } .datagrid .datagrid-pager { display: block; margin: 0; border-width: 1px 0 0 0; border-style: solid; } .datagrid .datagrid-pager-top { border-width: 0 0 1px 0; } .datagrid-header { overflow: hidden; cursor: default; border-width: 0 0 1px 0; border-style: solid; } .datagrid-header-inner { float: left; width: 10000px; } .datagrid-header-row, .datagrid-row { height: 25px; } .datagrid-header td, .datagrid-body td, .datagrid-footer td { border-width: 0 1px 1px 0; border-style: dotted; margin: 0; padding: 0; } .datagrid-cell, .datagrid-cell-group, .datagrid-header-rownumber, .datagrid-cell-rownumber { margin: 0; padding: 0 4px; white-space: nowrap; word-wrap: normal; overflow: hidden; height: 18px; line-height: 18px; font-size: 12px; } .datagrid-header .datagrid-cell { height: auto; } .datagrid-header .datagrid-cell span { font-size: 12px; } .datagrid-cell-group { text-align: center; } .datagrid-header-rownumber, .datagrid-cell-rownumber { width: 25px; text-align: center; margin: 0; padding: 0; } .datagrid-body { margin: 0; padding: 0; overflow: auto; zoom: 1; } .datagrid-view1 .datagrid-body-inner { padding-bottom: 20px; } .datagrid-view1 .datagrid-body { overflow: hidden; } .datagrid-footer { overflow: hidden; } .datagrid-footer-inner { border-width: 1px 0 0 0; border-style: solid; width: 10000px; float: left; } .datagrid-row-editing .datagrid-cell { height: auto; } .datagrid-header-check, .datagrid-cell-check { padding: 0; width: 27px; height: 18px; font-size: 1px; text-align: center; overflow: hidden; } .datagrid-header-check input, .datagrid-cell-check input { margin: 0; padding: 0; width: 15px; height: 18px; } .datagrid-resize-proxy { position: absolute; width: 1px; height: 10000px; top: 0; cursor: e-resize; display: none; } .datagrid-body .datagrid-editable { margin: 0; padding: 0; } .datagrid-body .datagrid-editable table { width: 100%; height: 100%; } .datagrid-body .datagrid-editable td { border: 0; margin: 0; padding: 0; } .datagrid-view .datagrid-editable-input { margin: 0; padding: 2px 4px; border: 1px solid #D4D4D4; font-size: 12px; outline-style: none; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .datagrid-sort-desc .datagrid-sort-icon { padding: 0 13px 0 0; background: url('images/datagrid_icons.png') no-repeat -16px center; } .datagrid-sort-asc .datagrid-sort-icon { padding: 0 13px 0 0; background: url('images/datagrid_icons.png') no-repeat 0px center; } .datagrid-row-collapse { background: url('images/datagrid_icons.png') no-repeat -48px center; } .datagrid-row-expand { background: url('images/datagrid_icons.png') no-repeat -32px center; } .datagrid-mask-msg { background: #ffffff url('images/loading.gif') no-repeat scroll 5px center; } .datagrid-header, .datagrid-td-rownumber { background-color: #F2F2F2; background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 100%); background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 100%); background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 100%); background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); } .datagrid-cell-rownumber { color: #333; } .datagrid-resize-proxy { background: #bbb; } .datagrid-mask { background: #ccc; } .datagrid-mask-msg { border-color: #D4D4D4; } .datagrid-toolbar, .datagrid-pager { background: #F5F5F5; } .datagrid-header, .datagrid-toolbar, .datagrid-pager, .datagrid-footer-inner { border-color: #e6e6e6; } .datagrid-header td, .datagrid-body td, .datagrid-footer td { border-color: #ccc; } .datagrid-htable, .datagrid-btable, .datagrid-ftable { color: #333; border-collapse: separate; } .datagrid-row-alt { background: #F5F5F5; } .datagrid-row-over, .datagrid-header td.datagrid-header-over { background: #e6e6e6; color: #00438a; cursor: default; } .datagrid-row-selected { background: #0081c2; color: #fff; } .datagrid-row-editing .textbox, .datagrid-row-editing .textbox-text { -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .propertygrid .datagrid-view1 .datagrid-body td { padding-bottom: 1px; border-width: 0 1px 0 0; } .propertygrid .datagrid-group { height: 21px; overflow: hidden; border-width: 0 0 1px 0; border-style: solid; } .propertygrid .datagrid-group span { font-weight: bold; } .propertygrid .datagrid-view1 .datagrid-body td { border-color: #e6e6e6; } .propertygrid .datagrid-view1 .datagrid-group { border-color: #F2F2F2; } .propertygrid .datagrid-view2 .datagrid-group { border-color: #e6e6e6; } .propertygrid .datagrid-group, .propertygrid .datagrid-view1 .datagrid-body, .propertygrid .datagrid-view1 .datagrid-row-over, .propertygrid .datagrid-view1 .datagrid-row-selected { background: #F2F2F2; } .pagination { zoom: 1; } .pagination table { float: left; height: 30px; } .pagination td { border: 0; } .pagination-btn-separator { float: left; height: 24px; border-left: 1px solid #ccc; border-right: 1px solid #fff; margin: 3px 1px; } .pagination .pagination-num { border-width: 1px; border-style: solid; margin: 0 2px; padding: 2px; width: 2em; height: auto; } .pagination-page-list { margin: 0px 6px; padding: 1px 2px; width: auto; height: auto; border-width: 1px; border-style: solid; } .pagination-info { float: right; margin: 0 6px 0 0; padding: 0; height: 30px; line-height: 30px; font-size: 12px; } .pagination span { font-size: 12px; } .pagination-link .l-btn-text { width: 24px; text-align: center; margin: 0; } .pagination-first { background: url('images/pagination_icons.png') no-repeat 0 center; } .pagination-prev { background: url('images/pagination_icons.png') no-repeat -16px center; } .pagination-next { background: url('images/pagination_icons.png') no-repeat -32px center; } .pagination-last { background: url('images/pagination_icons.png') no-repeat -48px center; } .pagination-load { background: url('images/pagination_icons.png') no-repeat -64px center; } .pagination-loading { background: url('images/loading.gif') no-repeat center center; } .pagination-page-list, .pagination .pagination-num { border-color: #D4D4D4; } .calendar { border-width: 1px; border-style: solid; padding: 1px; overflow: hidden; } .calendar table { table-layout: fixed; border-collapse: separate; font-size: 12px; width: 100%; height: 100%; } .calendar table td, .calendar table th { font-size: 12px; } .calendar-noborder { border: 0; } .calendar-header { position: relative; height: 22px; } .calendar-title { text-align: center; height: 22px; } .calendar-title span { position: relative; display: inline-block; top: 2px; padding: 0 3px; height: 18px; line-height: 18px; font-size: 12px; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-prevmonth, .calendar-nextmonth, .calendar-prevyear, .calendar-nextyear { position: absolute; top: 50%; margin-top: -7px; width: 14px; height: 14px; cursor: pointer; font-size: 1px; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-prevmonth { left: 20px; background: url('images/calendar_arrows.png') no-repeat -18px -2px; } .calendar-nextmonth { right: 20px; background: url('images/calendar_arrows.png') no-repeat -34px -2px; } .calendar-prevyear { left: 3px; background: url('images/calendar_arrows.png') no-repeat -1px -2px; } .calendar-nextyear { right: 3px; background: url('images/calendar_arrows.png') no-repeat -49px -2px; } .calendar-body { position: relative; } .calendar-body th, .calendar-body td { text-align: center; } .calendar-day { border: 0; padding: 1px; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-other-month { opacity: 0.3; filter: alpha(opacity=30); } .calendar-disabled { opacity: 0.6; filter: alpha(opacity=60); cursor: default; } .calendar-menu { position: absolute; top: 0; left: 0; width: 180px; height: 150px; padding: 5px; font-size: 12px; display: none; overflow: hidden; } .calendar-menu-year-inner { text-align: center; padding-bottom: 5px; } .calendar-menu-year { width: 40px; text-align: center; border-width: 1px; border-style: solid; margin: 0; padding: 2px; font-weight: bold; font-size: 12px; } .calendar-menu-prev, .calendar-menu-next { display: inline-block; width: 21px; height: 21px; vertical-align: top; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-menu-prev { margin-right: 10px; background: url('images/calendar_arrows.png') no-repeat 2px 2px; } .calendar-menu-next { margin-left: 10px; background: url('images/calendar_arrows.png') no-repeat -45px 2px; } .calendar-menu-month { text-align: center; cursor: pointer; font-weight: bold; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-body th, .calendar-menu-month { color: #808080; } .calendar-day { color: #333; } .calendar-sunday { color: #CC2222; } .calendar-saturday { color: #00ee00; } .calendar-today { color: #0000ff; } .calendar-menu-year { border-color: #D4D4D4; } .calendar { border-color: #D4D4D4; } .calendar-header { background: #F2F2F2; } .calendar-body, .calendar-menu { background: #ffffff; } .calendar-body th { background: #F5F5F5; padding: 2px 0; } .calendar-hover, .calendar-nav-hover, .calendar-menu-hover { background-color: #e6e6e6; color: #00438a; } .calendar-hover { border: 1px solid #ddd; padding: 0; } .calendar-selected { background-color: #0081c2; color: #fff; border: 1px solid #0070a9; padding: 0; } .datebox-calendar-inner { height: 180px; } .datebox-button { height: 18px; padding: 2px 5px; text-align: center; } .datebox-button a { font-size: 12px; font-weight: bold; text-decoration: none; opacity: 0.6; filter: alpha(opacity=60); } .datebox-button a:hover { opacity: 1.0; filter: alpha(opacity=100); } .datebox-current, .datebox-close { float: left; } .datebox-close { float: right; } .datebox .combo-arrow { background-image: url('images/datebox_arrow.png'); background-position: center center; } .datebox-button { background-color: #F5F5F5; } .datebox-button a { color: #444; } .numberbox { border: 1px solid #D4D4D4; margin: 0; padding: 0 2px; vertical-align: middle; } .textbox { padding: 0; } .spinner { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .spinner .spinner-text { font-size: 12px; border: 0px; margin: 0; padding: 0 2px; vertical-align: baseline; } .spinner-arrow { background-color: #F2F2F2; display: inline-block; overflow: hidden; vertical-align: top; margin: 0; padding: 0; opacity: 1.0; filter: alpha(opacity=100); width: 18px; } .spinner-arrow-up, .spinner-arrow-down { opacity: 0.6; filter: alpha(opacity=60); display: block; font-size: 1px; width: 18px; height: 10px; width: 100%; height: 50%; outline-style: none; } .spinner-arrow-hover { background-color: #e6e6e6; opacity: 1.0; filter: alpha(opacity=100); } .spinner-arrow-up:hover, .spinner-arrow-down:hover { opacity: 1.0; filter: alpha(opacity=100); background-color: #e6e6e6; } .textbox-icon-disabled .spinner-arrow-up:hover, .textbox-icon-disabled .spinner-arrow-down:hover { opacity: 0.6; filter: alpha(opacity=60); background-color: #F2F2F2; cursor: default; } .spinner .textbox-icon-disabled { opacity: 0.6; filter: alpha(opacity=60); } .spinner-arrow-up { background: url('images/spinner_arrows.png') no-repeat 1px center; } .spinner-arrow-down { background: url('images/spinner_arrows.png') no-repeat -15px center; } .spinner { border-color: #D4D4D4; } .progressbar { border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; overflow: hidden; position: relative; } .progressbar-text { text-align: center; position: absolute; } .progressbar-value { position: relative; overflow: hidden; width: 0; -moz-border-radius: 5px 0 0 5px; -webkit-border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px; } .progressbar { border-color: #D4D4D4; } .progressbar-text { color: #333; font-size: 12px; } .progressbar-value .progressbar-text { background-color: #0081c2; color: #fff; } .searchbox { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .searchbox .searchbox-text { font-size: 12px; border: 0; margin: 0; padding: 0 2px; vertical-align: top; } .searchbox .searchbox-prompt { font-size: 12px; color: #ccc; } .searchbox-button { width: 18px; height: 20px; overflow: hidden; display: inline-block; vertical-align: top; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); } .searchbox-button-hover { opacity: 1.0; filter: alpha(opacity=100); } .searchbox .l-btn-plain { border: 0; padding: 0; vertical-align: top; opacity: 0.6; filter: alpha(opacity=60); -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .l-btn-plain:hover { border: 0; padding: 0; opacity: 1.0; filter: alpha(opacity=100); -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox a.m-btn-plain-active { -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .m-btn-active { border-width: 0 1px 0 0; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .textbox-button-right { border-width: 0 0 0 1px; } .searchbox .textbox-button-left { border-width: 0 1px 0 0; } .searchbox-button { background: url('images/searchbox_button.png') no-repeat center center; } .searchbox { border-color: #D4D4D4; background-color: #fff; } .searchbox .l-btn-plain { background: #F2F2F2; } .searchbox .l-btn-plain-disabled, .searchbox .l-btn-plain-disabled:hover { opacity: 0.5; filter: alpha(opacity=50); } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } .slider-disabled { opacity: 0.5; filter: alpha(opacity=50); } .slider-h { height: 22px; } .slider-v { width: 22px; } .slider-inner { position: relative; height: 6px; top: 7px; border-width: 1px; border-style: solid; border-radius: 5px; } .slider-handle { position: absolute; display: block; outline: none; width: 20px; height: 20px; top: 50%; margin-top: -10px; margin-left: -10px; } .slider-tip { position: absolute; display: inline-block; line-height: 12px; font-size: 12px; white-space: nowrap; top: -22px; } .slider-rule { position: relative; top: 15px; } .slider-rule span { position: absolute; display: inline-block; font-size: 0; height: 5px; border-width: 0 0 0 1px; border-style: solid; } .slider-rulelabel { position: relative; top: 20px; } .slider-rulelabel span { position: absolute; display: inline-block; font-size: 12px; } .slider-v .slider-inner { width: 6px; left: 7px; top: 0; float: left; } .slider-v .slider-handle { left: 50%; margin-top: -10px; } .slider-v .slider-tip { left: -10px; margin-top: -6px; } .slider-v .slider-rule { float: left; top: 0; left: 16px; } .slider-v .slider-rule span { width: 5px; height: 'auto'; border-left: 0; border-width: 1px 0 0 0; border-style: solid; } .slider-v .slider-rulelabel { float: left; top: 0; left: 23px; } .slider-handle { background: url('images/slider_handle.png') no-repeat; } .slider-inner { border-color: #D4D4D4; background: #F2F2F2; } .slider-rule span { border-color: #D4D4D4; } .slider-rulelabel span { color: #333; } .menu { position: absolute; margin: 0; padding: 2px; border-width: 1px; border-style: solid; overflow: hidden; } .menu-item { position: relative; margin: 0; padding: 0; overflow: hidden; white-space: nowrap; cursor: pointer; border-width: 1px; border-style: solid; } .menu-text { height: 20px; line-height: 20px; float: left; padding-left: 28px; } .menu-icon { position: absolute; width: 16px; height: 16px; left: 2px; top: 50%; margin-top: -8px; } .menu-rightarrow { position: absolute; width: 16px; height: 16px; right: 0; top: 50%; margin-top: -8px; } .menu-line { position: absolute; left: 26px; top: 0; height: 2000px; font-size: 1px; } .menu-sep { margin: 3px 0px 3px 25px; font-size: 1px; } .menu-active { -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .menu-item-disabled { opacity: 0.5; filter: alpha(opacity=50); cursor: default; } .menu-text, .menu-text span { font-size: 12px; } .menu-shadow { position: absolute; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; background: #ccc; -moz-box-shadow: 2px 2px 3px #cccccc; -webkit-box-shadow: 2px 2px 3px #cccccc; box-shadow: 2px 2px 3px #cccccc; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); } .menu-rightarrow { background: url('images/menu_arrows.png') no-repeat -32px center; } .menu-line { border-left: 1px solid #ccc; border-right: 1px solid #fff; } .menu-sep { border-top: 1px solid #ccc; border-bottom: 1px solid #fff; } .menu { background-color: #fff; border-color: #e6e6e6; color: #333; } .menu-content { background: #ffffff; } .menu-item { border-color: transparent; _border-color: #fff; } .menu-active { border-color: #ddd; color: #00438a; background: #e6e6e6; } .menu-active-disabled { border-color: transparent; background: transparent; color: #333; } .m-btn-downarrow, .s-btn-downarrow { display: inline-block; position: absolute; width: 16px; height: 16px; font-size: 1px; right: 0; top: 50%; margin-top: -8px; } .m-btn-active, .s-btn-active { background: #e6e6e6; color: #00438a; border: 1px solid #ddd; filter: none; } .m-btn-plain-active, .s-btn-plain-active { background: transparent; padding: 0; border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .m-btn .l-btn-left .l-btn-text { margin-right: 20px; } .m-btn .l-btn-icon-right .l-btn-text { margin-right: 40px; } .m-btn .l-btn-icon-right .l-btn-icon { right: 20px; } .m-btn .l-btn-icon-top .l-btn-text { margin-right: 4px; margin-bottom: 14px; } .m-btn .l-btn-icon-bottom .l-btn-text { margin-right: 4px; margin-bottom: 34px; } .m-btn .l-btn-icon-bottom .l-btn-icon { top: auto; bottom: 20px; } .m-btn .l-btn-icon-top .m-btn-downarrow, .m-btn .l-btn-icon-bottom .m-btn-downarrow { top: auto; bottom: 0px; left: 50%; margin-left: -8px; } .m-btn-line { display: inline-block; position: absolute; font-size: 1px; display: none; } .m-btn .l-btn-left .m-btn-line { right: 0; width: 16px; height: 500px; border-style: solid; border-color: #bbb; border-width: 0 0 0 1px; } .m-btn .l-btn-icon-top .m-btn-line, .m-btn .l-btn-icon-bottom .m-btn-line { left: 0; bottom: 0; width: 500px; height: 16px; border-width: 1px 0 0 0; } .m-btn-large .l-btn-icon-right .l-btn-text { margin-right: 56px; } .m-btn-large .l-btn-icon-bottom .l-btn-text { margin-bottom: 50px; } .m-btn-downarrow, .s-btn-downarrow { background: url('images/menu_arrows.png') no-repeat 0 center; } .m-btn-plain-active, .s-btn-plain-active { border-color: #ddd; background-color: #e6e6e6; color: #00438a; } .s-btn:hover .m-btn-line, .s-btn-active .m-btn-line, .s-btn-plain-active .m-btn-line { display: inline-block; } .l-btn:hover .s-btn-downarrow, .s-btn-active .s-btn-downarrow, .s-btn-plain-active .s-btn-downarrow { border-style: solid; border-color: #bbb; border-width: 0 0 0 1px; } .messager-body { padding: 10px; overflow: hidden; } .messager-button { text-align: center; padding-top: 10px; } .messager-button .l-btn { width: 70px; } .messager-icon { float: left; width: 32px; height: 32px; margin: 0 10px 10px 0; } .messager-error { background: url('images/messager_icons.png') no-repeat scroll -64px 0; } .messager-info { background: url('images/messager_icons.png') no-repeat scroll 0 0; } .messager-question { background: url('images/messager_icons.png') no-repeat scroll -32px 0; } .messager-warning { background: url('images/messager_icons.png') no-repeat scroll -96px 0; } .messager-progress { padding: 10px; } .messager-p-msg { margin-bottom: 5px; } .messager-body .messager-input { width: 100%; padding: 1px 0; border: 1px solid #D4D4D4; } .tree { margin: 0; padding: 0; list-style-type: none; } .tree li { white-space: nowrap; } .tree li ul { list-style-type: none; margin: 0; padding: 0; } .tree-node { height: 18px; white-space: nowrap; cursor: pointer; } .tree-hit { cursor: pointer; } .tree-expanded, .tree-collapsed, .tree-folder, .tree-file, .tree-checkbox, .tree-indent { display: inline-block; width: 16px; height: 18px; vertical-align: top; overflow: hidden; } .tree-expanded { background: url('images/tree_icons.png') no-repeat -18px 0px; } .tree-expanded-hover { background: url('images/tree_icons.png') no-repeat -50px 0px; } .tree-collapsed { background: url('images/tree_icons.png') no-repeat 0px 0px; } .tree-collapsed-hover { background: url('images/tree_icons.png') no-repeat -32px 0px; } .tree-lines .tree-expanded, .tree-lines .tree-root-first .tree-expanded { background: url('images/tree_icons.png') no-repeat -144px 0; } .tree-lines .tree-collapsed, .tree-lines .tree-root-first .tree-collapsed { background: url('images/tree_icons.png') no-repeat -128px 0; } .tree-lines .tree-node-last .tree-expanded, .tree-lines .tree-root-one .tree-expanded { background: url('images/tree_icons.png') no-repeat -80px 0; } .tree-lines .tree-node-last .tree-collapsed, .tree-lines .tree-root-one .tree-collapsed { background: url('images/tree_icons.png') no-repeat -64px 0; } .tree-line { background: url('images/tree_icons.png') no-repeat -176px 0; } .tree-join { background: url('images/tree_icons.png') no-repeat -192px 0; } .tree-joinbottom { background: url('images/tree_icons.png') no-repeat -160px 0; } .tree-folder { background: url('images/tree_icons.png') no-repeat -208px 0; } .tree-folder-open { background: url('images/tree_icons.png') no-repeat -224px 0; } .tree-file { background: url('images/tree_icons.png') no-repeat -240px 0; } .tree-loading { background: url('images/loading.gif') no-repeat center center; } .tree-checkbox0 { background: url('images/tree_icons.png') no-repeat -208px -18px; } .tree-checkbox1 { background: url('images/tree_icons.png') no-repeat -224px -18px; } .tree-checkbox2 { background: url('images/tree_icons.png') no-repeat -240px -18px; } .tree-title { font-size: 12px; display: inline-block; text-decoration: none; vertical-align: top; white-space: nowrap; padding: 0 2px; height: 18px; line-height: 18px; } .tree-node-proxy { font-size: 12px; line-height: 20px; padding: 0 2px 0 20px; border-width: 1px; border-style: solid; z-index: 9900000; } .tree-dnd-icon { display: inline-block; position: absolute; width: 16px; height: 18px; left: 2px; top: 50%; margin-top: -9px; } .tree-dnd-yes { background: url('images/tree_icons.png') no-repeat -256px 0; } .tree-dnd-no { background: url('images/tree_icons.png') no-repeat -256px -18px; } .tree-node-top { border-top: 1px dotted red; } .tree-node-bottom { border-bottom: 1px dotted red; } .tree-node-append .tree-title { border: 1px dotted red; } .tree-editor { border: 1px solid #ccc; font-size: 12px; height: 14px !important; height: 18px; line-height: 14px; padding: 1px 2px; width: 80px; position: absolute; top: 0; } .tree-node-proxy { background-color: #ffffff; color: #333; border-color: #D4D4D4; } .tree-node-hover { background: #e6e6e6; color: #00438a; } .tree-node-selected { background: #0081c2; color: #fff; } .validatebox-invalid { border-color: #ffa8a8; background-color: #fff3f3; color: #000; } .tooltip { position: absolute; display: none; z-index: 9900000; outline: none; opacity: 1; filter: alpha(opacity=100); padding: 5px; border-width: 1px; border-style: solid; border-radius: 5px; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .tooltip-content { font-size: 12px; } .tooltip-arrow-outer, .tooltip-arrow { position: absolute; width: 0; height: 0; line-height: 0; font-size: 0; border-style: solid; border-width: 6px; border-color: transparent; _border-color: tomato; _filter: chroma(color=tomato); } .tooltip-right .tooltip-arrow-outer { left: 0; top: 50%; margin: -6px 0 0 -13px; } .tooltip-right .tooltip-arrow { left: 0; top: 50%; margin: -6px 0 0 -12px; } .tooltip-left .tooltip-arrow-outer { right: 0; top: 50%; margin: -6px -13px 0 0; } .tooltip-left .tooltip-arrow { right: 0; top: 50%; margin: -6px -12px 0 0; } .tooltip-top .tooltip-arrow-outer { bottom: 0; left: 50%; margin: 0 0 -13px -6px; } .tooltip-top .tooltip-arrow { bottom: 0; left: 50%; margin: 0 0 -12px -6px; } .tooltip-bottom .tooltip-arrow-outer { top: 0; left: 50%; margin: -13px 0 0 -6px; } .tooltip-bottom .tooltip-arrow { top: 0; left: 50%; margin: -12px 0 0 -6px; } .tooltip { background-color: #ffffff; border-color: #D4D4D4; color: #333; } .tooltip-right .tooltip-arrow-outer { border-right-color: #D4D4D4; } .tooltip-right .tooltip-arrow { border-right-color: #ffffff; } .tooltip-left .tooltip-arrow-outer { border-left-color: #D4D4D4; } .tooltip-left .tooltip-arrow { border-left-color: #ffffff; } .tooltip-top .tooltip-arrow-outer { border-top-color: #D4D4D4; } .tooltip-top .tooltip-arrow { border-top-color: #ffffff; } .tooltip-bottom .tooltip-arrow-outer { border-bottom-color: #D4D4D4; } .tooltip-bottom .tooltip-arrow { border-bottom-color: #ffffff; } .tabs-panels { border-color: transparent; } .tabs li a.tabs-inner { border-color: transparent; background: transparent; filter: none; color: #0088CC; } .menu-active { background-color: #0081C2; border-color: #0081C2; color: #fff; } .menu-active-disabled { border-color: transparent; background: transparent; color: #333; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/filebox.css ================================================ .filebox .textbox-value { vertical-align: top; position: absolute; top: 0; left: -5000px; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/layout.css ================================================ .layout { position: relative; overflow: hidden; margin: 0; padding: 0; z-index: 0; } .layout-panel { position: absolute; overflow: hidden; } .layout-panel-east, .layout-panel-west { z-index: 2; } .layout-panel-north, .layout-panel-south { z-index: 3; } .layout-expand { position: absolute; padding: 0px; font-size: 1px; cursor: pointer; z-index: 1; } .layout-expand .panel-header, .layout-expand .panel-body { background: transparent; filter: none; overflow: hidden; } .layout-expand .panel-header { border-bottom-width: 0px; } .layout-split-proxy-h, .layout-split-proxy-v { position: absolute; font-size: 1px; display: none; z-index: 5; } .layout-split-proxy-h { width: 5px; cursor: e-resize; } .layout-split-proxy-v { height: 5px; cursor: n-resize; } .layout-mask { position: absolute; background: #fafafa; filter: alpha(opacity=10); opacity: 0.10; z-index: 4; } .layout-button-up { background: url('images/layout_arrows.png') no-repeat -16px -16px; } .layout-button-down { background: url('images/layout_arrows.png') no-repeat -16px 0; } .layout-button-left { background: url('images/layout_arrows.png') no-repeat 0 0; } .layout-button-right { background: url('images/layout_arrows.png') no-repeat 0 -16px; } .layout-split-proxy-h, .layout-split-proxy-v { background-color: #bbb; } .layout-split-north { border-bottom: 5px solid #eee; } .layout-split-south { border-top: 5px solid #eee; } .layout-split-east { border-left: 5px solid #eee; } .layout-split-west { border-right: 5px solid #eee; } .layout-expand { background-color: #F2F2F2; } .layout-expand-over { background-color: #F2F2F2; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/linkbutton.css ================================================ .l-btn { text-decoration: none; display: inline-block; overflow: hidden; margin: 0; padding: 0; cursor: pointer; outline: none; text-align: center; vertical-align: middle; } .l-btn-plain { border: 0; padding: 1px; } .l-btn-left { display: inline-block; position: relative; overflow: hidden; margin: 0; padding: 0; vertical-align: top; } .l-btn-text { display: inline-block; vertical-align: top; width: auto; line-height: 24px; font-size: 12px; padding: 0; margin: 0 4px; } .l-btn-icon { display: inline-block; width: 16px; height: 16px; line-height: 16px; position: absolute; top: 50%; margin-top: -8px; font-size: 1px; } .l-btn span span .l-btn-empty { display: inline-block; margin: 0; width: 16px; height: 24px; font-size: 1px; vertical-align: top; } .l-btn span .l-btn-icon-left { padding: 0 0 0 20px; background-position: left center; } .l-btn span .l-btn-icon-right { padding: 0 20px 0 0; background-position: right center; } .l-btn-icon-left .l-btn-text { margin: 0 4px 0 24px; } .l-btn-icon-left .l-btn-icon { left: 4px; } .l-btn-icon-right .l-btn-text { margin: 0 24px 0 4px; } .l-btn-icon-right .l-btn-icon { right: 4px; } .l-btn-icon-top .l-btn-text { margin: 20px 4px 0 4px; } .l-btn-icon-top .l-btn-icon { top: 4px; left: 50%; margin: 0 0 0 -8px; } .l-btn-icon-bottom .l-btn-text { margin: 0 4px 20px 4px; } .l-btn-icon-bottom .l-btn-icon { top: auto; bottom: 4px; left: 50%; margin: 0 0 0 -8px; } .l-btn-left .l-btn-empty { margin: 0 4px; width: 16px; } .l-btn-plain:hover { padding: 0; } .l-btn-focus { outline: #0000FF dotted thin; } .l-btn-large .l-btn-text { line-height: 40px; } .l-btn-large .l-btn-icon { width: 32px; height: 32px; line-height: 32px; margin-top: -16px; } .l-btn-large .l-btn-icon-left .l-btn-text { margin-left: 40px; } .l-btn-large .l-btn-icon-right .l-btn-text { margin-right: 40px; } .l-btn-large .l-btn-icon-top .l-btn-text { margin-top: 36px; line-height: 24px; min-width: 32px; } .l-btn-large .l-btn-icon-top .l-btn-icon { margin: 0 0 0 -16px; } .l-btn-large .l-btn-icon-bottom .l-btn-text { margin-bottom: 36px; line-height: 24px; min-width: 32px; } .l-btn-large .l-btn-icon-bottom .l-btn-icon { margin: 0 0 0 -16px; } .l-btn-large .l-btn-left .l-btn-empty { margin: 0 4px; width: 32px; } .l-btn { color: #444; background: #f5f5f5; background-repeat: repeat-x; border: 1px solid #bbb; background: -webkit-linear-gradient(top,#ffffff 0,#e6e6e6 100%); background: -moz-linear-gradient(top,#ffffff 0,#e6e6e6 100%); background: -o-linear-gradient(top,#ffffff 0,#e6e6e6 100%); background: linear-gradient(to bottom,#ffffff 0,#e6e6e6 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#e6e6e6,GradientType=0); -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .l-btn:hover { background: #e6e6e6; color: #00438a; border: 1px solid #ddd; filter: none; } .l-btn-plain { background: transparent; border: 0; filter: none; } .l-btn-plain:hover { background: #e6e6e6; color: #00438a; border: 1px solid #ddd; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .l-btn-disabled, .l-btn-disabled:hover { opacity: 0.5; cursor: default; background: #f5f5f5; color: #444; background: -webkit-linear-gradient(top,#ffffff 0,#e6e6e6 100%); background: -moz-linear-gradient(top,#ffffff 0,#e6e6e6 100%); background: -o-linear-gradient(top,#ffffff 0,#e6e6e6 100%); background: linear-gradient(to bottom,#ffffff 0,#e6e6e6 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#e6e6e6,GradientType=0); } .l-btn-disabled .l-btn-text, .l-btn-disabled .l-btn-icon { filter: alpha(opacity=50); } .l-btn-plain-disabled, .l-btn-plain-disabled:hover { background: transparent; filter: alpha(opacity=50); } .l-btn-selected, .l-btn-selected:hover { background: #ddd; filter: none; } .l-btn-plain-selected, .l-btn-plain-selected:hover { background: #ddd; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/menu.css ================================================ .menu { position: absolute; margin: 0; padding: 2px; border-width: 1px; border-style: solid; overflow: hidden; } .menu-item { position: relative; margin: 0; padding: 0; overflow: hidden; white-space: nowrap; cursor: pointer; border-width: 1px; border-style: solid; } .menu-text { height: 20px; line-height: 20px; float: left; padding-left: 28px; } .menu-icon { position: absolute; width: 16px; height: 16px; left: 2px; top: 50%; margin-top: -8px; } .menu-rightarrow { position: absolute; width: 16px; height: 16px; right: 0; top: 50%; margin-top: -8px; } .menu-line { position: absolute; left: 26px; top: 0; height: 2000px; font-size: 1px; } .menu-sep { margin: 3px 0px 3px 25px; font-size: 1px; } .menu-active { -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .menu-item-disabled { opacity: 0.5; filter: alpha(opacity=50); cursor: default; } .menu-text, .menu-text span { font-size: 12px; } .menu-shadow { position: absolute; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; background: #ccc; -moz-box-shadow: 2px 2px 3px #cccccc; -webkit-box-shadow: 2px 2px 3px #cccccc; box-shadow: 2px 2px 3px #cccccc; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); } .menu-rightarrow { background: url('images/menu_arrows.png') no-repeat -32px center; } .menu-line { border-left: 1px solid #ccc; border-right: 1px solid #fff; } .menu-sep { border-top: 1px solid #ccc; border-bottom: 1px solid #fff; } .menu { background-color: #fff; border-color: #e6e6e6; color: #333; } .menu-content { background: #ffffff; } .menu-item { border-color: transparent; _border-color: #fff; } .menu-active { border-color: #ddd; color: #00438a; background: #e6e6e6; } .menu-active-disabled { border-color: transparent; background: transparent; color: #333; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/menubutton.css ================================================ .m-btn-downarrow, .s-btn-downarrow { display: inline-block; position: absolute; width: 16px; height: 16px; font-size: 1px; right: 0; top: 50%; margin-top: -8px; } .m-btn-active, .s-btn-active { background: #e6e6e6; color: #00438a; border: 1px solid #ddd; filter: none; } .m-btn-plain-active, .s-btn-plain-active { background: transparent; padding: 0; border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .m-btn .l-btn-left .l-btn-text { margin-right: 20px; } .m-btn .l-btn-icon-right .l-btn-text { margin-right: 40px; } .m-btn .l-btn-icon-right .l-btn-icon { right: 20px; } .m-btn .l-btn-icon-top .l-btn-text { margin-right: 4px; margin-bottom: 14px; } .m-btn .l-btn-icon-bottom .l-btn-text { margin-right: 4px; margin-bottom: 34px; } .m-btn .l-btn-icon-bottom .l-btn-icon { top: auto; bottom: 20px; } .m-btn .l-btn-icon-top .m-btn-downarrow, .m-btn .l-btn-icon-bottom .m-btn-downarrow { top: auto; bottom: 0px; left: 50%; margin-left: -8px; } .m-btn-line { display: inline-block; position: absolute; font-size: 1px; display: none; } .m-btn .l-btn-left .m-btn-line { right: 0; width: 16px; height: 500px; border-style: solid; border-color: #bbb; border-width: 0 0 0 1px; } .m-btn .l-btn-icon-top .m-btn-line, .m-btn .l-btn-icon-bottom .m-btn-line { left: 0; bottom: 0; width: 500px; height: 16px; border-width: 1px 0 0 0; } .m-btn-large .l-btn-icon-right .l-btn-text { margin-right: 56px; } .m-btn-large .l-btn-icon-bottom .l-btn-text { margin-bottom: 50px; } .m-btn-downarrow, .s-btn-downarrow { background: url('images/menu_arrows.png') no-repeat 0 center; } .m-btn-plain-active, .s-btn-plain-active { border-color: #ddd; background-color: #e6e6e6; color: #00438a; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/messager.css ================================================ .messager-body { padding: 10px; overflow: hidden; } .messager-button { text-align: center; padding-top: 10px; } .messager-button .l-btn { width: 70px; } .messager-icon { float: left; width: 32px; height: 32px; margin: 0 10px 10px 0; } .messager-error { background: url('images/messager_icons.png') no-repeat scroll -64px 0; } .messager-info { background: url('images/messager_icons.png') no-repeat scroll 0 0; } .messager-question { background: url('images/messager_icons.png') no-repeat scroll -32px 0; } .messager-warning { background: url('images/messager_icons.png') no-repeat scroll -96px 0; } .messager-progress { padding: 10px; } .messager-p-msg { margin-bottom: 5px; } .messager-body .messager-input { width: 100%; padding: 1px 0; border: 1px solid #D4D4D4; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/numberbox.css ================================================ .numberbox { border: 1px solid #D4D4D4; margin: 0; padding: 0 2px; vertical-align: middle; } .textbox { padding: 0; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/pagination.css ================================================ .pagination { zoom: 1; } .pagination table { float: left; height: 30px; } .pagination td { border: 0; } .pagination-btn-separator { float: left; height: 24px; border-left: 1px solid #ccc; border-right: 1px solid #fff; margin: 3px 1px; } .pagination .pagination-num { border-width: 1px; border-style: solid; margin: 0 2px; padding: 2px; width: 2em; height: auto; } .pagination-page-list { margin: 0px 6px; padding: 1px 2px; width: auto; height: auto; border-width: 1px; border-style: solid; } .pagination-info { float: right; margin: 0 6px 0 0; padding: 0; height: 30px; line-height: 30px; font-size: 12px; } .pagination span { font-size: 12px; } .pagination-link .l-btn-text { width: 24px; text-align: center; margin: 0; } .pagination-first { background: url('images/pagination_icons.png') no-repeat 0 center; } .pagination-prev { background: url('images/pagination_icons.png') no-repeat -16px center; } .pagination-next { background: url('images/pagination_icons.png') no-repeat -32px center; } .pagination-last { background: url('images/pagination_icons.png') no-repeat -48px center; } .pagination-load { background: url('images/pagination_icons.png') no-repeat -64px center; } .pagination-loading { background: url('images/loading.gif') no-repeat center center; } .pagination-page-list, .pagination .pagination-num { border-color: #D4D4D4; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/panel.css ================================================ .panel { overflow: hidden; text-align: left; margin: 0; border: 0; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .panel-header, .panel-body { border-width: 1px; border-style: solid; } .panel-header { padding: 5px; position: relative; } .panel-title { background: url('images/blank.gif') no-repeat; } .panel-header-noborder { border-width: 0 0 1px 0; } .panel-body { overflow: auto; border-top-width: 0; padding: 0; } .panel-body-noheader { border-top-width: 1px; } .panel-body-noborder { border-width: 0px; } .panel-body-nobottom { border-bottom-width: 0; } .panel-with-icon { padding-left: 18px; } .panel-icon, .panel-tool { position: absolute; top: 50%; margin-top: -8px; height: 16px; overflow: hidden; } .panel-icon { left: 5px; width: 16px; } .panel-tool { right: 5px; width: auto; } .panel-tool a { display: inline-block; width: 16px; height: 16px; opacity: 0.6; filter: alpha(opacity=60); margin: 0 0 0 2px; vertical-align: top; } .panel-tool a:hover { opacity: 1; filter: alpha(opacity=100); background-color: #e6e6e6; -moz-border-radius: 3px 3px 3px 3px; -webkit-border-radius: 3px 3px 3px 3px; border-radius: 3px 3px 3px 3px; } .panel-loading { padding: 11px 0px 10px 30px; } .panel-noscroll { overflow: hidden; } .panel-fit, .panel-fit body { height: 100%; margin: 0; padding: 0; border: 0; overflow: hidden; } .panel-loading { background: url('images/loading.gif') no-repeat 10px 10px; } .panel-tool-close { background: url('images/panel_tools.png') no-repeat -16px 0px; } .panel-tool-min { background: url('images/panel_tools.png') no-repeat 0px 0px; } .panel-tool-max { background: url('images/panel_tools.png') no-repeat 0px -16px; } .panel-tool-restore { background: url('images/panel_tools.png') no-repeat -16px -16px; } .panel-tool-collapse { background: url('images/panel_tools.png') no-repeat -32px 0; } .panel-tool-expand { background: url('images/panel_tools.png') no-repeat -32px -16px; } .panel-header, .panel-body { border-color: #D4D4D4; } .panel-header { background-color: #F2F2F2; background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 100%); background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 100%); background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 100%); background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); } .panel-body { background-color: #ffffff; color: #333; font-size: 12px; } .panel-title { font-size: 12px; font-weight: bold; color: #777; height: 16px; line-height: 16px; } .panel-footer { border: 1px solid #D4D4D4; overflow: hidden; background: #F5F5F5; } .panel-footer-noborder { border-width: 1px 0 0 0; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/progressbar.css ================================================ .progressbar { border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; overflow: hidden; position: relative; } .progressbar-text { text-align: center; position: absolute; } .progressbar-value { position: relative; overflow: hidden; width: 0; -moz-border-radius: 5px 0 0 5px; -webkit-border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px; } .progressbar { border-color: #D4D4D4; } .progressbar-text { color: #333; font-size: 12px; } .progressbar-value .progressbar-text { background-color: #0081c2; color: #fff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/propertygrid.css ================================================ .propertygrid .datagrid-view1 .datagrid-body td { padding-bottom: 1px; border-width: 0 1px 0 0; } .propertygrid .datagrid-group { height: 21px; overflow: hidden; border-width: 0 0 1px 0; border-style: solid; } .propertygrid .datagrid-group span { font-weight: bold; } .propertygrid .datagrid-view1 .datagrid-body td { border-color: #e6e6e6; } .propertygrid .datagrid-view1 .datagrid-group { border-color: #F2F2F2; } .propertygrid .datagrid-view2 .datagrid-group { border-color: #e6e6e6; } .propertygrid .datagrid-group, .propertygrid .datagrid-view1 .datagrid-body, .propertygrid .datagrid-view1 .datagrid-row-over, .propertygrid .datagrid-view1 .datagrid-row-selected { background: #F2F2F2; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/searchbox.css ================================================ .searchbox { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .searchbox .searchbox-text { font-size: 12px; border: 0; margin: 0; padding: 0 2px; vertical-align: top; } .searchbox .searchbox-prompt { font-size: 12px; color: #ccc; } .searchbox-button { width: 18px; height: 20px; overflow: hidden; display: inline-block; vertical-align: top; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); } .searchbox-button-hover { opacity: 1.0; filter: alpha(opacity=100); } .searchbox .l-btn-plain { border: 0; padding: 0; vertical-align: top; opacity: 0.6; filter: alpha(opacity=60); -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .l-btn-plain:hover { border: 0; padding: 0; opacity: 1.0; filter: alpha(opacity=100); -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox a.m-btn-plain-active { -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .m-btn-active { border-width: 0 1px 0 0; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .textbox-button-right { border-width: 0 0 0 1px; } .searchbox .textbox-button-left { border-width: 0 1px 0 0; } .searchbox-button { background: url('images/searchbox_button.png') no-repeat center center; } .searchbox { border-color: #D4D4D4; background-color: #fff; } .searchbox .l-btn-plain { background: #F2F2F2; } .searchbox .l-btn-plain-disabled, .searchbox .l-btn-plain-disabled:hover { opacity: 0.5; filter: alpha(opacity=50); } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/slider.css ================================================ .slider-disabled { opacity: 0.5; filter: alpha(opacity=50); } .slider-h { height: 22px; } .slider-v { width: 22px; } .slider-inner { position: relative; height: 6px; top: 7px; border-width: 1px; border-style: solid; border-radius: 5px; } .slider-handle { position: absolute; display: block; outline: none; width: 20px; height: 20px; top: 50%; margin-top: -10px; margin-left: -10px; } .slider-tip { position: absolute; display: inline-block; line-height: 12px; font-size: 12px; white-space: nowrap; top: -22px; } .slider-rule { position: relative; top: 15px; } .slider-rule span { position: absolute; display: inline-block; font-size: 0; height: 5px; border-width: 0 0 0 1px; border-style: solid; } .slider-rulelabel { position: relative; top: 20px; } .slider-rulelabel span { position: absolute; display: inline-block; font-size: 12px; } .slider-v .slider-inner { width: 6px; left: 7px; top: 0; float: left; } .slider-v .slider-handle { left: 50%; margin-top: -10px; } .slider-v .slider-tip { left: -10px; margin-top: -6px; } .slider-v .slider-rule { float: left; top: 0; left: 16px; } .slider-v .slider-rule span { width: 5px; height: 'auto'; border-left: 0; border-width: 1px 0 0 0; border-style: solid; } .slider-v .slider-rulelabel { float: left; top: 0; left: 23px; } .slider-handle { background: url('images/slider_handle.png') no-repeat; } .slider-inner { border-color: #D4D4D4; background: #F2F2F2; } .slider-rule span { border-color: #D4D4D4; } .slider-rulelabel span { color: #333; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/spinner.css ================================================ .spinner { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .spinner .spinner-text { font-size: 12px; border: 0px; margin: 0; padding: 0 2px; vertical-align: baseline; } .spinner-arrow { background-color: #F2F2F2; display: inline-block; overflow: hidden; vertical-align: top; margin: 0; padding: 0; opacity: 1.0; filter: alpha(opacity=100); width: 18px; } .spinner-arrow-up, .spinner-arrow-down { opacity: 0.6; filter: alpha(opacity=60); display: block; font-size: 1px; width: 18px; height: 10px; width: 100%; height: 50%; outline-style: none; } .spinner-arrow-hover { background-color: #e6e6e6; opacity: 1.0; filter: alpha(opacity=100); } .spinner-arrow-up:hover, .spinner-arrow-down:hover { opacity: 1.0; filter: alpha(opacity=100); background-color: #e6e6e6; } .textbox-icon-disabled .spinner-arrow-up:hover, .textbox-icon-disabled .spinner-arrow-down:hover { opacity: 0.6; filter: alpha(opacity=60); background-color: #F2F2F2; cursor: default; } .spinner .textbox-icon-disabled { opacity: 0.6; filter: alpha(opacity=60); } .spinner-arrow-up { background: url('images/spinner_arrows.png') no-repeat 1px center; } .spinner-arrow-down { background: url('images/spinner_arrows.png') no-repeat -15px center; } .spinner { border-color: #D4D4D4; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/splitbutton.css ================================================ .s-btn:hover .m-btn-line, .s-btn-active .m-btn-line, .s-btn-plain-active .m-btn-line { display: inline-block; } .l-btn:hover .s-btn-downarrow, .s-btn-active .s-btn-downarrow, .s-btn-plain-active .s-btn-downarrow { border-style: solid; border-color: #bbb; border-width: 0 0 0 1px; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/tabs.css ================================================ .tabs-container { overflow: hidden; } .tabs-header { border-width: 1px; border-style: solid; border-bottom-width: 0; position: relative; padding: 0; padding-top: 2px; overflow: hidden; } .tabs-header-plain { border: 0; background: transparent; } .tabs-scroller-left, .tabs-scroller-right { position: absolute; top: auto; bottom: 0; width: 18px; font-size: 1px; display: none; cursor: pointer; border-width: 1px; border-style: solid; } .tabs-scroller-left { left: 0; } .tabs-scroller-right { right: 0; } .tabs-tool { position: absolute; bottom: 0; padding: 1px; overflow: hidden; border-width: 1px; border-style: solid; } .tabs-header-plain .tabs-tool { padding: 0 1px; } .tabs-wrap { position: relative; left: 0; overflow: hidden; width: 100%; margin: 0; padding: 0; } .tabs-scrolling { margin-left: 18px; margin-right: 18px; } .tabs-disabled { opacity: 0.3; filter: alpha(opacity=30); } .tabs { list-style-type: none; height: 26px; margin: 0px; padding: 0px; padding-left: 4px; width: 50000px; border-style: solid; border-width: 0 0 1px 0; } .tabs li { float: left; display: inline-block; margin: 0 4px -1px 0; padding: 0; position: relative; border: 0; } .tabs li a.tabs-inner { display: inline-block; text-decoration: none; margin: 0; padding: 0 10px; height: 25px; line-height: 25px; text-align: center; white-space: nowrap; border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 0 0; -webkit-border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0; } .tabs li.tabs-selected a.tabs-inner { font-weight: bold; outline: none; } .tabs li.tabs-selected a:hover.tabs-inner { cursor: default; pointer: default; } .tabs li a.tabs-close, .tabs-p-tool { position: absolute; font-size: 1px; display: block; height: 12px; padding: 0; top: 50%; margin-top: -6px; overflow: hidden; } .tabs li a.tabs-close { width: 12px; right: 5px; opacity: 0.6; filter: alpha(opacity=60); } .tabs-p-tool { right: 16px; } .tabs-p-tool a { display: inline-block; font-size: 1px; width: 12px; height: 12px; margin: 0; opacity: 0.6; filter: alpha(opacity=60); } .tabs li a:hover.tabs-close, .tabs-p-tool a:hover { opacity: 1; filter: alpha(opacity=100); cursor: hand; cursor: pointer; } .tabs-with-icon { padding-left: 18px; } .tabs-icon { position: absolute; width: 16px; height: 16px; left: 10px; top: 50%; margin-top: -8px; } .tabs-title { font-size: 12px; } .tabs-closable { padding-right: 8px; } .tabs-panels { margin: 0px; padding: 0px; border-width: 1px; border-style: solid; border-top-width: 0; overflow: hidden; } .tabs-header-bottom { border-width: 0 1px 1px 1px; padding: 0 0 2px 0; } .tabs-header-bottom .tabs { border-width: 1px 0 0 0; } .tabs-header-bottom .tabs li { margin: -1px 4px 0 0; } .tabs-header-bottom .tabs li a.tabs-inner { -moz-border-radius: 0 0 5px 5px; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .tabs-header-bottom .tabs-tool { top: 0; } .tabs-header-bottom .tabs-scroller-left, .tabs-header-bottom .tabs-scroller-right { top: 0; bottom: auto; } .tabs-panels-top { border-width: 1px 1px 0 1px; } .tabs-header-left { float: left; border-width: 1px 0 1px 1px; padding: 0; } .tabs-header-right { float: right; border-width: 1px 1px 1px 0; padding: 0; } .tabs-header-left .tabs-wrap, .tabs-header-right .tabs-wrap { height: 100%; } .tabs-header-left .tabs { height: 100%; padding: 4px 0 0 4px; border-width: 0 1px 0 0; } .tabs-header-right .tabs { height: 100%; padding: 4px 4px 0 0; border-width: 0 0 0 1px; } .tabs-header-left .tabs li, .tabs-header-right .tabs li { display: block; width: 100%; position: relative; } .tabs-header-left .tabs li { left: auto; right: 0; margin: 0 -1px 4px 0; float: right; } .tabs-header-right .tabs li { left: 0; right: auto; margin: 0 0 4px -1px; float: left; } .tabs-header-left .tabs li a.tabs-inner { display: block; text-align: left; -moz-border-radius: 5px 0 0 5px; -webkit-border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px; } .tabs-header-right .tabs li a.tabs-inner { display: block; text-align: left; -moz-border-radius: 0 5px 5px 0; -webkit-border-radius: 0 5px 5px 0; border-radius: 0 5px 5px 0; } .tabs-panels-right { float: right; border-width: 1px 1px 1px 0; } .tabs-panels-left { float: left; border-width: 1px 0 1px 1px; } .tabs-header-noborder, .tabs-panels-noborder { border: 0px; } .tabs-header-plain { border: 0px; background: transparent; } .tabs-scroller-left { background: #F2F2F2 url('images/tabs_icons.png') no-repeat 1px center; } .tabs-scroller-right { background: #F2F2F2 url('images/tabs_icons.png') no-repeat -15px center; } .tabs li a.tabs-close { background: url('images/tabs_icons.png') no-repeat -34px center; } .tabs li a.tabs-inner:hover { background: #e6e6e6; color: #00438a; filter: none; } .tabs li.tabs-selected a.tabs-inner { background-color: #ffffff; color: #777; background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); } .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); } .tabs-header-left .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(left,#ffffff 0,#ffffff 100%); background: -moz-linear-gradient(left,#ffffff 0,#ffffff 100%); background: -o-linear-gradient(left,#ffffff 0,#ffffff 100%); background: linear-gradient(to right,#ffffff 0,#ffffff 100%); background-repeat: repeat-y; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=1); } .tabs-header-right .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(left,#ffffff 0,#ffffff 100%); background: -moz-linear-gradient(left,#ffffff 0,#ffffff 100%); background: -o-linear-gradient(left,#ffffff 0,#ffffff 100%); background: linear-gradient(to right,#ffffff 0,#ffffff 100%); background-repeat: repeat-y; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=1); } .tabs li a.tabs-inner { color: #777; background-color: #F2F2F2; background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 100%); background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 100%); background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 100%); background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); } .tabs-header, .tabs-tool { background-color: #F2F2F2; } .tabs-header-plain { background: transparent; } .tabs-header, .tabs-scroller-left, .tabs-scroller-right, .tabs-tool, .tabs, .tabs-panels, .tabs li a.tabs-inner, .tabs li.tabs-selected a.tabs-inner, .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, .tabs-header-left .tabs li.tabs-selected a.tabs-inner, .tabs-header-right .tabs li.tabs-selected a.tabs-inner { border-color: #D4D4D4; } .tabs-p-tool a:hover, .tabs li a:hover.tabs-close, .tabs-scroller-over { background-color: #e6e6e6; } .tabs li.tabs-selected a.tabs-inner { border-bottom: 1px solid #ffffff; } .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { border-top: 1px solid #ffffff; } .tabs-header-left .tabs li.tabs-selected a.tabs-inner { border-right: 1px solid #ffffff; } .tabs-header-right .tabs li.tabs-selected a.tabs-inner { border-left: 1px solid #ffffff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/textbox.css ================================================ .textbox { position: relative; border: 1px solid #D4D4D4; background-color: #fff; vertical-align: middle; display: inline-block; overflow: hidden; white-space: nowrap; margin: 0; padding: 0; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .textbox .textbox-text { font-size: 12px; border: 0; margin: 0; padding: 4px; white-space: normal; vertical-align: top; outline-style: none; resize: none; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .textbox .textbox-prompt { font-size: 12px; color: #aaa; } .textbox-button, .textbox-button:hover { position: absolute; top: 0; padding: 0; vertical-align: top; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .textbox-button-right, .textbox-button-right:hover { border-width: 0 0 0 1px; } .textbox-button-left, .textbox-button-left:hover { border-width: 0 1px 0 0; } .textbox-addon { position: absolute; top: 0; } .textbox-icon { display: inline-block; width: 18px; height: 20px; overflow: hidden; vertical-align: top; background-position: center center; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); text-decoration: none; outline-style: none; } .textbox-icon-disabled, .textbox-icon-readonly { cursor: default; } .textbox-icon:hover { opacity: 1.0; filter: alpha(opacity=100); } .textbox-icon-disabled:hover { opacity: 0.6; filter: alpha(opacity=60); } .textbox-focused { -moz-box-shadow: 0 0 3px 0 #D4D4D4; -webkit-box-shadow: 0 0 3px 0 #D4D4D4; box-shadow: 0 0 3px 0 #D4D4D4; } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/tooltip.css ================================================ .tooltip { position: absolute; display: none; z-index: 9900000; outline: none; opacity: 1; filter: alpha(opacity=100); padding: 5px; border-width: 1px; border-style: solid; border-radius: 5px; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .tooltip-content { font-size: 12px; } .tooltip-arrow-outer, .tooltip-arrow { position: absolute; width: 0; height: 0; line-height: 0; font-size: 0; border-style: solid; border-width: 6px; border-color: transparent; _border-color: tomato; _filter: chroma(color=tomato); } .tooltip-right .tooltip-arrow-outer { left: 0; top: 50%; margin: -6px 0 0 -13px; } .tooltip-right .tooltip-arrow { left: 0; top: 50%; margin: -6px 0 0 -12px; } .tooltip-left .tooltip-arrow-outer { right: 0; top: 50%; margin: -6px -13px 0 0; } .tooltip-left .tooltip-arrow { right: 0; top: 50%; margin: -6px -12px 0 0; } .tooltip-top .tooltip-arrow-outer { bottom: 0; left: 50%; margin: 0 0 -13px -6px; } .tooltip-top .tooltip-arrow { bottom: 0; left: 50%; margin: 0 0 -12px -6px; } .tooltip-bottom .tooltip-arrow-outer { top: 0; left: 50%; margin: -13px 0 0 -6px; } .tooltip-bottom .tooltip-arrow { top: 0; left: 50%; margin: -12px 0 0 -6px; } .tooltip { background-color: #ffffff; border-color: #D4D4D4; color: #333; } .tooltip-right .tooltip-arrow-outer { border-right-color: #D4D4D4; } .tooltip-right .tooltip-arrow { border-right-color: #ffffff; } .tooltip-left .tooltip-arrow-outer { border-left-color: #D4D4D4; } .tooltip-left .tooltip-arrow { border-left-color: #ffffff; } .tooltip-top .tooltip-arrow-outer { border-top-color: #D4D4D4; } .tooltip-top .tooltip-arrow { border-top-color: #ffffff; } .tooltip-bottom .tooltip-arrow-outer { border-bottom-color: #D4D4D4; } .tooltip-bottom .tooltip-arrow { border-bottom-color: #ffffff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/tree.css ================================================ .tree { margin: 0; padding: 0; list-style-type: none; } .tree li { white-space: nowrap; } .tree li ul { list-style-type: none; margin: 0; padding: 0; } .tree-node { height: 18px; white-space: nowrap; cursor: pointer; } .tree-hit { cursor: pointer; } .tree-expanded, .tree-collapsed, .tree-folder, .tree-file, .tree-checkbox, .tree-indent { display: inline-block; width: 16px; height: 18px; vertical-align: top; overflow: hidden; } .tree-expanded { background: url('images/tree_icons.png') no-repeat -18px 0px; } .tree-expanded-hover { background: url('images/tree_icons.png') no-repeat -50px 0px; } .tree-collapsed { background: url('images/tree_icons.png') no-repeat 0px 0px; } .tree-collapsed-hover { background: url('images/tree_icons.png') no-repeat -32px 0px; } .tree-lines .tree-expanded, .tree-lines .tree-root-first .tree-expanded { background: url('images/tree_icons.png') no-repeat -144px 0; } .tree-lines .tree-collapsed, .tree-lines .tree-root-first .tree-collapsed { background: url('images/tree_icons.png') no-repeat -128px 0; } .tree-lines .tree-node-last .tree-expanded, .tree-lines .tree-root-one .tree-expanded { background: url('images/tree_icons.png') no-repeat -80px 0; } .tree-lines .tree-node-last .tree-collapsed, .tree-lines .tree-root-one .tree-collapsed { background: url('images/tree_icons.png') no-repeat -64px 0; } .tree-line { background: url('images/tree_icons.png') no-repeat -176px 0; } .tree-join { background: url('images/tree_icons.png') no-repeat -192px 0; } .tree-joinbottom { background: url('images/tree_icons.png') no-repeat -160px 0; } .tree-folder { background: url('images/tree_icons.png') no-repeat -208px 0; } .tree-folder-open { background: url('images/tree_icons.png') no-repeat -224px 0; } .tree-file { background: url('images/tree_icons.png') no-repeat -240px 0; } .tree-loading { background: url('images/loading.gif') no-repeat center center; } .tree-checkbox0 { background: url('images/tree_icons.png') no-repeat -208px -18px; } .tree-checkbox1 { background: url('images/tree_icons.png') no-repeat -224px -18px; } .tree-checkbox2 { background: url('images/tree_icons.png') no-repeat -240px -18px; } .tree-title { font-size: 12px; display: inline-block; text-decoration: none; vertical-align: top; white-space: nowrap; padding: 0 2px; height: 18px; line-height: 18px; } .tree-node-proxy { font-size: 12px; line-height: 20px; padding: 0 2px 0 20px; border-width: 1px; border-style: solid; z-index: 9900000; } .tree-dnd-icon { display: inline-block; position: absolute; width: 16px; height: 18px; left: 2px; top: 50%; margin-top: -9px; } .tree-dnd-yes { background: url('images/tree_icons.png') no-repeat -256px 0; } .tree-dnd-no { background: url('images/tree_icons.png') no-repeat -256px -18px; } .tree-node-top { border-top: 1px dotted red; } .tree-node-bottom { border-bottom: 1px dotted red; } .tree-node-append .tree-title { border: 1px dotted red; } .tree-editor { border: 1px solid #ccc; font-size: 12px; height: 14px !important; height: 18px; line-height: 14px; padding: 1px 2px; width: 80px; position: absolute; top: 0; } .tree-node-proxy { background-color: #ffffff; color: #333; border-color: #D4D4D4; } .tree-node-hover { background: #e6e6e6; color: #00438a; } .tree-node-selected { background: #0081c2; color: #fff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/validatebox.css ================================================ .validatebox-invalid { border-color: #ffa8a8; background-color: #fff3f3; color: #000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/bootstrap/window.css ================================================ .window { overflow: hidden; padding: 5px; border-width: 1px; border-style: solid; } .window .window-header { background: transparent; padding: 0px 0px 6px 0px; } .window .window-body { border-width: 1px; border-style: solid; border-top-width: 0px; } .window .window-body-noheader { border-top-width: 1px; } .window .panel-body-nobottom { border-bottom-width: 0; } .window .window-header .panel-icon, .window .window-header .panel-tool { top: 50%; margin-top: -11px; } .window .window-header .panel-icon { left: 1px; } .window .window-header .panel-tool { right: 1px; } .window .window-header .panel-with-icon { padding-left: 18px; } .window-proxy { position: absolute; overflow: hidden; } .window-proxy-mask { position: absolute; filter: alpha(opacity=5); opacity: 0.05; } .window-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; filter: alpha(opacity=40); opacity: 0.40; font-size: 1px; overflow: hidden; } .window, .window-shadow { position: absolute; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .window-shadow { background: #ccc; -moz-box-shadow: 2px 2px 3px #cccccc; -webkit-box-shadow: 2px 2px 3px #cccccc; box-shadow: 2px 2px 3px #cccccc; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); } .window, .window .window-body { border-color: #D4D4D4; } .window { background-color: #F2F2F2; background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 20%); background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 20%); background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 20%); background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 20%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); } .window-proxy { border: 1px dashed #D4D4D4; } .window-proxy-mask, .window-mask { background: #ccc; } .window .panel-footer { border: 1px solid #D4D4D4; position: relative; top: -1px; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/color.css ================================================ .c1,.c1:hover{ color: #fff; border-color: #3c8b3c; background: #4cae4c; background: -webkit-linear-gradient(top,#4cae4c 0,#449d44 100%); background: -moz-linear-gradient(top,#4cae4c 0,#449d44 100%); background: -o-linear-gradient(top,#4cae4c 0,#449d44 100%); background: linear-gradient(to bottom,#4cae4c 0,#449d44 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4cae4c,endColorstr=#449d44,GradientType=0); } a.c1:hover{ background: #449d44; filter: none; } .c2,.c2:hover{ color: #fff; border-color: #5f5f5f; background: #747474; background: -webkit-linear-gradient(top,#747474 0,#676767 100%); background: -moz-linear-gradient(top,#747474 0,#676767 100%); background: -o-linear-gradient(top,#747474 0,#676767 100%); background: linear-gradient(to bottom,#747474 0,#676767 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#747474,endColorstr=#676767,GradientType=0); } a.c2:hover{ background: #676767; filter: none; } .c3,.c3:hover{ color: #333; border-color: #ff8080; background: #ffb3b3; background: -webkit-linear-gradient(top,#ffb3b3 0,#ff9999 100%); background: -moz-linear-gradient(top,#ffb3b3 0,#ff9999 100%); background: -o-linear-gradient(top,#ffb3b3 0,#ff9999 100%); background: linear-gradient(to bottom,#ffb3b3 0,#ff9999 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffb3b3,endColorstr=#ff9999,GradientType=0); } a.c3:hover{ background: #ff9999; filter: none; } .c4,.c4:hover{ color: #333; border-color: #52d689; background: #b8eecf; background: -webkit-linear-gradient(top,#b8eecf 0,#a4e9c1 100%); background: -moz-linear-gradient(top,#b8eecf 0,#a4e9c1 100%); background: -o-linear-gradient(top,#b8eecf 0,#a4e9c1 100%); background: linear-gradient(to bottom,#b8eecf 0,#a4e9c1 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b8eecf,endColorstr=#a4e9c1,GradientType=0); } a.c4:hover{ background: #a4e9c1; filter: none; } .c5,.c5:hover{ color: #fff; border-color: #b52b27; background: #d84f4b; background: -webkit-linear-gradient(top,#d84f4b 0,#c9302c 100%); background: -moz-linear-gradient(top,#d84f4b 0,#c9302c 100%); background: -o-linear-gradient(top,#d84f4b 0,#c9302c 100%); background: linear-gradient(to bottom,#d84f4b 0,#c9302c 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#d84f4b,endColorstr=#c9302c,GradientType=0); } a.c5:hover{ background: #c9302c; filter: none; } .c6,.c6:hover{ color: #fff; border-color: #1f637b; background: #2984a4; background: -webkit-linear-gradient(top,#2984a4 0,#24748f 100%); background: -moz-linear-gradient(top,#2984a4 0,#24748f 100%); background: -o-linear-gradient(top,#2984a4 0,#24748f 100%); background: linear-gradient(to bottom,#2984a4 0,#24748f 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#2984a4,endColorstr=#24748f,GradientType=0); } a.c6:hover{ background: #24748f; filter: none; } .c7,.c7:hover{ color: #333; border-color: #e68900; background: #ffab2e; background: -webkit-linear-gradient(top,#ffab2e 0,#ff9900 100%); background: -moz-linear-gradient(top,#ffab2e 0,#ff9900 100%); background: -o-linear-gradient(top,#ffab2e 0,#ff9900 100%); background: linear-gradient(to bottom,#ffab2e 0,#ff9900 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffab2e,endColorstr=#ff9900,GradientType=0); } a.c7:hover{ background: #ff9900; filter: none; } .c8,.c8:hover{ color: #fff; border-color: #4b72a4; background: #698cba; background: -webkit-linear-gradient(top,#698cba 0,#577eb2 100%); background: -moz-linear-gradient(top,#698cba 0,#577eb2 100%); background: -o-linear-gradient(top,#698cba 0,#577eb2 100%); background: linear-gradient(to bottom,#698cba 0,#577eb2 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#698cba,endColorstr=#577eb2,GradientType=0); } a.c8:hover{ background: #577eb2; filter: none; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/accordion.css ================================================ .accordion { overflow: hidden; border-width: 1px; border-style: solid; } .accordion .accordion-header { border-width: 0 0 1px; cursor: pointer; } .accordion .accordion-body { border-width: 0 0 1px; } .accordion-noborder { border-width: 0; } .accordion-noborder .accordion-header { border-width: 0 0 1px; } .accordion-noborder .accordion-body { border-width: 0 0 1px; } .accordion-collapse { background: url('images/accordion_arrows.png') no-repeat 0 0; } .accordion-expand { background: url('images/accordion_arrows.png') no-repeat -16px 0; } .accordion { background: #ffffff; border-color: #95B8E7; } .accordion .accordion-header { background: #E0ECFF; filter: none; } .accordion .accordion-header-selected { background: #ffe48d; } .accordion .accordion-header-selected .panel-title { color: #000000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/calendar.css ================================================ .calendar { border-width: 1px; border-style: solid; padding: 1px; overflow: hidden; } .calendar table { table-layout: fixed; border-collapse: separate; font-size: 12px; width: 100%; height: 100%; } .calendar table td, .calendar table th { font-size: 12px; } .calendar-noborder { border: 0; } .calendar-header { position: relative; height: 22px; } .calendar-title { text-align: center; height: 22px; } .calendar-title span { position: relative; display: inline-block; top: 2px; padding: 0 3px; height: 18px; line-height: 18px; font-size: 12px; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-prevmonth, .calendar-nextmonth, .calendar-prevyear, .calendar-nextyear { position: absolute; top: 50%; margin-top: -7px; width: 14px; height: 14px; cursor: pointer; font-size: 1px; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-prevmonth { left: 20px; background: url('images/calendar_arrows.png') no-repeat -18px -2px; } .calendar-nextmonth { right: 20px; background: url('images/calendar_arrows.png') no-repeat -34px -2px; } .calendar-prevyear { left: 3px; background: url('images/calendar_arrows.png') no-repeat -1px -2px; } .calendar-nextyear { right: 3px; background: url('images/calendar_arrows.png') no-repeat -49px -2px; } .calendar-body { position: relative; } .calendar-body th, .calendar-body td { text-align: center; } .calendar-day { border: 0; padding: 1px; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-other-month { opacity: 0.3; filter: alpha(opacity=30); } .calendar-disabled { opacity: 0.6; filter: alpha(opacity=60); cursor: default; } .calendar-menu { position: absolute; top: 0; left: 0; width: 180px; height: 150px; padding: 5px; font-size: 12px; display: none; overflow: hidden; } .calendar-menu-year-inner { text-align: center; padding-bottom: 5px; } .calendar-menu-year { width: 40px; text-align: center; border-width: 1px; border-style: solid; margin: 0; padding: 2px; font-weight: bold; font-size: 12px; } .calendar-menu-prev, .calendar-menu-next { display: inline-block; width: 21px; height: 21px; vertical-align: top; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-menu-prev { margin-right: 10px; background: url('images/calendar_arrows.png') no-repeat 2px 2px; } .calendar-menu-next { margin-left: 10px; background: url('images/calendar_arrows.png') no-repeat -45px 2px; } .calendar-menu-month { text-align: center; cursor: pointer; font-weight: bold; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-body th, .calendar-menu-month { color: #4d4d4d; } .calendar-day { color: #000000; } .calendar-sunday { color: #CC2222; } .calendar-saturday { color: #00ee00; } .calendar-today { color: #0000ff; } .calendar-menu-year { border-color: #95B8E7; } .calendar { border-color: #95B8E7; } .calendar-header { background: #E0ECFF; } .calendar-body, .calendar-menu { background: #ffffff; } .calendar-body th { background: #F4F4F4; padding: 2px 0; } .calendar-hover, .calendar-nav-hover, .calendar-menu-hover { background-color: #eaf2ff; color: #000000; } .calendar-hover { border: 1px solid #b7d2ff; padding: 0; } .calendar-selected { background-color: #ffe48d; color: #000000; border: 1px solid #ffab3f; padding: 0; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/combo.css ================================================ .combo { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .combo .combo-text { font-size: 12px; border: 0px; margin: 0; padding: 0px 2px; vertical-align: baseline; } .combo-arrow { width: 18px; height: 20px; overflow: hidden; display: inline-block; vertical-align: top; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); } .combo-arrow-hover { opacity: 1.0; filter: alpha(opacity=100); } .combo-panel { overflow: auto; } .combo-arrow { background: url('images/combo_arrow.png') no-repeat center center; } .combo-panel { background-color: #ffffff; } .combo { border-color: #95B8E7; background-color: #fff; } .combo-arrow { background-color: #E0ECFF; } .combo-arrow-hover { background-color: #eaf2ff; } .combo-arrow:hover { background-color: #eaf2ff; } .combo .textbox-icon-disabled:hover { cursor: default; } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/combobox.css ================================================ .combobox-item, .combobox-group { font-size: 12px; padding: 3px; padding-right: 0px; } .combobox-item-disabled { opacity: 0.5; filter: alpha(opacity=50); } .combobox-gitem { padding-left: 10px; } .combobox-group { font-weight: bold; } .combobox-item-hover { background-color: #eaf2ff; color: #000000; } .combobox-item-selected { background-color: #ffe48d; color: #000000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/datagrid.css ================================================ .datagrid .panel-body { overflow: hidden; position: relative; } .datagrid-view { position: relative; overflow: hidden; } .datagrid-view1, .datagrid-view2 { position: absolute; overflow: hidden; top: 0; } .datagrid-view1 { left: 0; } .datagrid-view2 { right: 0; } .datagrid-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0.3; filter: alpha(opacity=30); display: none; } .datagrid-mask-msg { position: absolute; top: 50%; margin-top: -20px; padding: 10px 5px 10px 30px; width: auto; height: 16px; border-width: 2px; border-style: solid; display: none; } .datagrid-sort-icon { padding: 0; } .datagrid-toolbar { height: auto; padding: 1px 2px; border-width: 0 0 1px 0; border-style: solid; } .datagrid-btn-separator { float: left; height: 24px; border-left: 1px solid #ccc; border-right: 1px solid #fff; margin: 2px 1px; } .datagrid .datagrid-pager { display: block; margin: 0; border-width: 1px 0 0 0; border-style: solid; } .datagrid .datagrid-pager-top { border-width: 0 0 1px 0; } .datagrid-header { overflow: hidden; cursor: default; border-width: 0 0 1px 0; border-style: solid; } .datagrid-header-inner { float: left; width: 10000px; } .datagrid-header-row, .datagrid-row { height: 25px; } .datagrid-header td, .datagrid-body td, .datagrid-footer td { border-width: 0 1px 1px 0; border-style: dotted; margin: 0; padding: 0; } .datagrid-cell, .datagrid-cell-group, .datagrid-header-rownumber, .datagrid-cell-rownumber { margin: 0; padding: 0 4px; white-space: nowrap; word-wrap: normal; overflow: hidden; height: 18px; line-height: 18px; font-size: 12px; } .datagrid-header .datagrid-cell { height: auto; } .datagrid-header .datagrid-cell span { font-size: 12px; } .datagrid-cell-group { text-align: center; } .datagrid-header-rownumber, .datagrid-cell-rownumber { width: 25px; text-align: center; margin: 0; padding: 0; } .datagrid-body { margin: 0; padding: 0; overflow: auto; zoom: 1; } .datagrid-view1 .datagrid-body-inner { padding-bottom: 20px; } .datagrid-view1 .datagrid-body { overflow: hidden; } .datagrid-footer { overflow: hidden; } .datagrid-footer-inner { border-width: 1px 0 0 0; border-style: solid; width: 10000px; float: left; } .datagrid-row-editing .datagrid-cell { height: auto; } .datagrid-header-check, .datagrid-cell-check { padding: 0; width: 27px; height: 18px; font-size: 1px; text-align: center; overflow: hidden; } .datagrid-header-check input, .datagrid-cell-check input { margin: 0; padding: 0; width: 15px; height: 18px; } .datagrid-resize-proxy { position: absolute; width: 1px; height: 10000px; top: 0; cursor: e-resize; display: none; } .datagrid-body .datagrid-editable { margin: 0; padding: 0; } .datagrid-body .datagrid-editable table { width: 100%; height: 100%; } .datagrid-body .datagrid-editable td { border: 0; margin: 0; padding: 0; } .datagrid-view .datagrid-editable-input { margin: 0; padding: 2px 4px; border: 1px solid #95B8E7; font-size: 12px; outline-style: none; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .datagrid-sort-desc .datagrid-sort-icon { padding: 0 13px 0 0; background: url('images/datagrid_icons.png') no-repeat -16px center; } .datagrid-sort-asc .datagrid-sort-icon { padding: 0 13px 0 0; background: url('images/datagrid_icons.png') no-repeat 0px center; } .datagrid-row-collapse { background: url('images/datagrid_icons.png') no-repeat -48px center; } .datagrid-row-expand { background: url('images/datagrid_icons.png') no-repeat -32px center; } .datagrid-mask-msg { background: #ffffff url('images/loading.gif') no-repeat scroll 5px center; } .datagrid-header, .datagrid-td-rownumber { background-color: #efefef; background: -webkit-linear-gradient(top,#F9F9F9 0,#efefef 100%); background: -moz-linear-gradient(top,#F9F9F9 0,#efefef 100%); background: -o-linear-gradient(top,#F9F9F9 0,#efefef 100%); background: linear-gradient(to bottom,#F9F9F9 0,#efefef 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F9F9F9,endColorstr=#efefef,GradientType=0); } .datagrid-cell-rownumber { color: #000000; } .datagrid-resize-proxy { background: #aac5e7; } .datagrid-mask { background: #ccc; } .datagrid-mask-msg { border-color: #95B8E7; } .datagrid-toolbar, .datagrid-pager { background: #F4F4F4; } .datagrid-header, .datagrid-toolbar, .datagrid-pager, .datagrid-footer-inner { border-color: #dddddd; } .datagrid-header td, .datagrid-body td, .datagrid-footer td { border-color: #ccc; } .datagrid-htable, .datagrid-btable, .datagrid-ftable { color: #000000; border-collapse: separate; } .datagrid-row-alt { background: #fafafa; } .datagrid-row-over, .datagrid-header td.datagrid-header-over { background: #eaf2ff; color: #000000; cursor: default; } .datagrid-row-selected { background: #ffe48d; color: #000000; } .datagrid-row-editing .textbox, .datagrid-row-editing .textbox-text { -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/datebox.css ================================================ .datebox-calendar-inner { height: 180px; } .datebox-button { height: 18px; padding: 2px 5px; text-align: center; } .datebox-button a { font-size: 12px; font-weight: bold; text-decoration: none; opacity: 0.6; filter: alpha(opacity=60); } .datebox-button a:hover { opacity: 1.0; filter: alpha(opacity=100); } .datebox-current, .datebox-close { float: left; } .datebox-close { float: right; } .datebox .combo-arrow { background-image: url('images/datebox_arrow.png'); background-position: center center; } .datebox-button { background-color: #F4F4F4; } .datebox-button a { color: #444; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/dialog.css ================================================ .dialog-content { overflow: auto; } .dialog-toolbar { padding: 2px 5px; } .dialog-tool-separator { float: left; height: 24px; border-left: 1px solid #ccc; border-right: 1px solid #fff; margin: 2px 1px; } .dialog-button { padding: 5px; text-align: right; } .dialog-button .l-btn { margin-left: 5px; } .dialog-toolbar, .dialog-button { background: #F4F4F4; border-width: 1px; border-style: solid; } .dialog-toolbar { border-color: #95B8E7 #95B8E7 #dddddd #95B8E7; } .dialog-button { border-color: #dddddd #95B8E7 #95B8E7 #95B8E7; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/easyui.css ================================================ .panel { overflow: hidden; text-align: left; margin: 0; border: 0; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .panel-header, .panel-body { border-width: 1px; border-style: solid; } .panel-header { padding: 5px; position: relative; } .panel-title { background: url('images/blank.gif') no-repeat; } .panel-header-noborder { border-width: 0 0 1px 0; } .panel-body { overflow: auto; border-top-width: 0; padding: 0; } .panel-body-noheader { border-top-width: 1px; } .panel-body-noborder { border-width: 0px; } .panel-body-nobottom { border-bottom-width: 0; } .panel-with-icon { padding-left: 18px; } .panel-icon, .panel-tool { position: absolute; top: 50%; margin-top: -8px; height: 16px; overflow: hidden; } .panel-icon { left: 5px; width: 16px; } .panel-tool { right: 5px; width: auto; } .panel-tool a { display: inline-block; width: 16px; height: 16px; opacity: 0.6; filter: alpha(opacity=60); margin: 0 0 0 2px; vertical-align: top; } .panel-tool a:hover { opacity: 1; filter: alpha(opacity=100); background-color: #eaf2ff; -moz-border-radius: 3px 3px 3px 3px; -webkit-border-radius: 3px 3px 3px 3px; border-radius: 3px 3px 3px 3px; } .panel-loading { padding: 11px 0px 10px 30px; } .panel-noscroll { overflow: hidden; } .panel-fit, .panel-fit body { height: 100%; margin: 0; padding: 0; border: 0; overflow: hidden; } .panel-loading { background: url('images/loading.gif') no-repeat 10px 10px; } .panel-tool-close { background: url('images/panel_tools.png') no-repeat -16px 0px; } .panel-tool-min { background: url('images/panel_tools.png') no-repeat 0px 0px; } .panel-tool-max { background: url('images/panel_tools.png') no-repeat 0px -16px; } .panel-tool-restore { background: url('images/panel_tools.png') no-repeat -16px -16px; } .panel-tool-collapse { background: url('images/panel_tools.png') no-repeat -32px 0; } .panel-tool-expand { background: url('images/panel_tools.png') no-repeat -32px -16px; } .panel-header, .panel-body { border-color: #95B8E7; } .panel-header { background-color: #E0ECFF; background: -webkit-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); background: -moz-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); background: -o-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); background: linear-gradient(to bottom,#EFF5FF 0,#E0ECFF 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#E0ECFF,GradientType=0); } .panel-body { background-color: #ffffff; color: #000000; font-size: 12px; } .panel-title { font-size: 12px; font-weight: bold; color: #0E2D5F; height: 16px; line-height: 16px; } .panel-footer { border: 1px solid #95B8E7; overflow: hidden; background: #F4F4F4; } .panel-footer-noborder { border-width: 1px 0 0 0; } .accordion { overflow: hidden; border-width: 1px; border-style: solid; } .accordion .accordion-header { border-width: 0 0 1px; cursor: pointer; } .accordion .accordion-body { border-width: 0 0 1px; } .accordion-noborder { border-width: 0; } .accordion-noborder .accordion-header { border-width: 0 0 1px; } .accordion-noborder .accordion-body { border-width: 0 0 1px; } .accordion-collapse { background: url('images/accordion_arrows.png') no-repeat 0 0; } .accordion-expand { background: url('images/accordion_arrows.png') no-repeat -16px 0; } .accordion { background: #ffffff; border-color: #95B8E7; } .accordion .accordion-header { background: #E0ECFF; filter: none; } .accordion .accordion-header-selected { background: #ffe48d; } .accordion .accordion-header-selected .panel-title { color: #000000; } .window { overflow: hidden; padding: 5px; border-width: 1px; border-style: solid; } .window .window-header { background: transparent; padding: 0px 0px 6px 0px; } .window .window-body { border-width: 1px; border-style: solid; border-top-width: 0px; } .window .window-body-noheader { border-top-width: 1px; } .window .panel-body-nobottom { border-bottom-width: 0; } .window .window-header .panel-icon, .window .window-header .panel-tool { top: 50%; margin-top: -11px; } .window .window-header .panel-icon { left: 1px; } .window .window-header .panel-tool { right: 1px; } .window .window-header .panel-with-icon { padding-left: 18px; } .window-proxy { position: absolute; overflow: hidden; } .window-proxy-mask { position: absolute; filter: alpha(opacity=5); opacity: 0.05; } .window-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; filter: alpha(opacity=40); opacity: 0.40; font-size: 1px; overflow: hidden; } .window, .window-shadow { position: absolute; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .window-shadow { background: #ccc; -moz-box-shadow: 2px 2px 3px #cccccc; -webkit-box-shadow: 2px 2px 3px #cccccc; box-shadow: 2px 2px 3px #cccccc; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); } .window, .window .window-body { border-color: #95B8E7; } .window { background-color: #E0ECFF; background: -webkit-linear-gradient(top,#EFF5FF 0,#E0ECFF 20%); background: -moz-linear-gradient(top,#EFF5FF 0,#E0ECFF 20%); background: -o-linear-gradient(top,#EFF5FF 0,#E0ECFF 20%); background: linear-gradient(to bottom,#EFF5FF 0,#E0ECFF 20%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#E0ECFF,GradientType=0); } .window-proxy { border: 1px dashed #95B8E7; } .window-proxy-mask, .window-mask { background: #ccc; } .window .panel-footer { border: 1px solid #95B8E7; position: relative; top: -1px; } .dialog-content { overflow: auto; } .dialog-toolbar { padding: 2px 5px; } .dialog-tool-separator { float: left; height: 24px; border-left: 1px solid #ccc; border-right: 1px solid #fff; margin: 2px 1px; } .dialog-button { padding: 5px; text-align: right; } .dialog-button .l-btn { margin-left: 5px; } .dialog-toolbar, .dialog-button { background: #F4F4F4; border-width: 1px; border-style: solid; } .dialog-toolbar { border-color: #95B8E7 #95B8E7 #dddddd #95B8E7; } .dialog-button { border-color: #dddddd #95B8E7 #95B8E7 #95B8E7; } .l-btn { text-decoration: none; display: inline-block; overflow: hidden; margin: 0; padding: 0; cursor: pointer; outline: none; text-align: center; vertical-align: middle; } .l-btn-plain { border: 0; padding: 1px; } .l-btn-left { display: inline-block; position: relative; overflow: hidden; margin: 0; padding: 0; vertical-align: top; } .l-btn-text { display: inline-block; vertical-align: top; width: auto; line-height: 24px; font-size: 12px; padding: 0; margin: 0 4px; } .l-btn-icon { display: inline-block; width: 16px; height: 16px; line-height: 16px; position: absolute; top: 50%; margin-top: -8px; font-size: 1px; } .l-btn span span .l-btn-empty { display: inline-block; margin: 0; width: 16px; height: 24px; font-size: 1px; vertical-align: top; } .l-btn span .l-btn-icon-left { padding: 0 0 0 20px; background-position: left center; } .l-btn span .l-btn-icon-right { padding: 0 20px 0 0; background-position: right center; } .l-btn-icon-left .l-btn-text { margin: 0 4px 0 24px; } .l-btn-icon-left .l-btn-icon { left: 4px; } .l-btn-icon-right .l-btn-text { margin: 0 24px 0 4px; } .l-btn-icon-right .l-btn-icon { right: 4px; } .l-btn-icon-top .l-btn-text { margin: 20px 4px 0 4px; } .l-btn-icon-top .l-btn-icon { top: 4px; left: 50%; margin: 0 0 0 -8px; } .l-btn-icon-bottom .l-btn-text { margin: 0 4px 20px 4px; } .l-btn-icon-bottom .l-btn-icon { top: auto; bottom: 4px; left: 50%; margin: 0 0 0 -8px; } .l-btn-left .l-btn-empty { margin: 0 4px; width: 16px; } .l-btn-plain:hover { padding: 0; } .l-btn-focus { outline: #0000FF dotted thin; } .l-btn-large .l-btn-text { line-height: 40px; } .l-btn-large .l-btn-icon { width: 32px; height: 32px; line-height: 32px; margin-top: -16px; } .l-btn-large .l-btn-icon-left .l-btn-text { margin-left: 40px; } .l-btn-large .l-btn-icon-right .l-btn-text { margin-right: 40px; } .l-btn-large .l-btn-icon-top .l-btn-text { margin-top: 36px; line-height: 24px; min-width: 32px; } .l-btn-large .l-btn-icon-top .l-btn-icon { margin: 0 0 0 -16px; } .l-btn-large .l-btn-icon-bottom .l-btn-text { margin-bottom: 36px; line-height: 24px; min-width: 32px; } .l-btn-large .l-btn-icon-bottom .l-btn-icon { margin: 0 0 0 -16px; } .l-btn-large .l-btn-left .l-btn-empty { margin: 0 4px; width: 32px; } .l-btn { color: #444; background: #fafafa; background-repeat: repeat-x; border: 1px solid #bbb; background: -webkit-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: -moz-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: -o-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: linear-gradient(to bottom,#ffffff 0,#eeeeee 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0); -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .l-btn:hover { background: #eaf2ff; color: #000000; border: 1px solid #b7d2ff; filter: none; } .l-btn-plain { background: transparent; border: 0; filter: none; } .l-btn-plain:hover { background: #eaf2ff; color: #000000; border: 1px solid #b7d2ff; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .l-btn-disabled, .l-btn-disabled:hover { opacity: 0.5; cursor: default; background: #fafafa; color: #444; background: -webkit-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: -moz-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: -o-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: linear-gradient(to bottom,#ffffff 0,#eeeeee 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0); } .l-btn-disabled .l-btn-text, .l-btn-disabled .l-btn-icon { filter: alpha(opacity=50); } .l-btn-plain-disabled, .l-btn-plain-disabled:hover { background: transparent; filter: alpha(opacity=50); } .l-btn-selected, .l-btn-selected:hover { background: #ddd; filter: none; } .l-btn-plain-selected, .l-btn-plain-selected:hover { background: #ddd; } .textbox { position: relative; border: 1px solid #95B8E7; background-color: #fff; vertical-align: middle; display: inline-block; overflow: hidden; white-space: nowrap; margin: 0; padding: 0; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .textbox .textbox-text { font-size: 12px; border: 0; margin: 0; padding: 4px; white-space: normal; vertical-align: top; outline-style: none; resize: none; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .textbox .textbox-prompt { font-size: 12px; color: #aaa; } .textbox-button, .textbox-button:hover { position: absolute; top: 0; padding: 0; vertical-align: top; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .textbox-button-right, .textbox-button-right:hover { border-width: 0 0 0 1px; } .textbox-button-left, .textbox-button-left:hover { border-width: 0 1px 0 0; } .textbox-addon { position: absolute; top: 0; } .textbox-icon { display: inline-block; width: 18px; height: 20px; overflow: hidden; vertical-align: top; background-position: center center; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); text-decoration: none; outline-style: none; } .textbox-icon-disabled, .textbox-icon-readonly { cursor: default; } .textbox-icon:hover { opacity: 1.0; filter: alpha(opacity=100); } .textbox-icon-disabled:hover { opacity: 0.6; filter: alpha(opacity=60); } .textbox-focused { -moz-box-shadow: 0 0 3px 0 #95B8E7; -webkit-box-shadow: 0 0 3px 0 #95B8E7; box-shadow: 0 0 3px 0 #95B8E7; } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } .filebox .textbox-value { vertical-align: top; position: absolute; top: 0; left: -5000px; } .combo { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .combo .combo-text { font-size: 12px; border: 0px; margin: 0; padding: 0px 2px; vertical-align: baseline; } .combo-arrow { width: 18px; height: 20px; overflow: hidden; display: inline-block; vertical-align: top; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); } .combo-arrow-hover { opacity: 1.0; filter: alpha(opacity=100); } .combo-panel { overflow: auto; } .combo-arrow { background: url('images/combo_arrow.png') no-repeat center center; } .combo-panel { background-color: #ffffff; } .combo { border-color: #95B8E7; background-color: #fff; } .combo-arrow { background-color: #E0ECFF; } .combo-arrow-hover { background-color: #eaf2ff; } .combo-arrow:hover { background-color: #eaf2ff; } .combo .textbox-icon-disabled:hover { cursor: default; } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } .combobox-item, .combobox-group { font-size: 12px; padding: 3px; padding-right: 0px; } .combobox-item-disabled { opacity: 0.5; filter: alpha(opacity=50); } .combobox-gitem { padding-left: 10px; } .combobox-group { font-weight: bold; } .combobox-item-hover { background-color: #eaf2ff; color: #000000; } .combobox-item-selected { background-color: #ffe48d; color: #000000; } .layout { position: relative; overflow: hidden; margin: 0; padding: 0; z-index: 0; } .layout-panel { position: absolute; overflow: hidden; } .layout-panel-east, .layout-panel-west { z-index: 2; } .layout-panel-north, .layout-panel-south { z-index: 3; } .layout-expand { position: absolute; padding: 0px; font-size: 1px; cursor: pointer; z-index: 1; } .layout-expand .panel-header, .layout-expand .panel-body { background: transparent; filter: none; overflow: hidden; } .layout-expand .panel-header { border-bottom-width: 0px; } .layout-split-proxy-h, .layout-split-proxy-v { position: absolute; font-size: 1px; display: none; z-index: 5; } .layout-split-proxy-h { width: 5px; cursor: e-resize; } .layout-split-proxy-v { height: 5px; cursor: n-resize; } .layout-mask { position: absolute; background: #fafafa; filter: alpha(opacity=10); opacity: 0.10; z-index: 4; } .layout-button-up { background: url('images/layout_arrows.png') no-repeat -16px -16px; } .layout-button-down { background: url('images/layout_arrows.png') no-repeat -16px 0; } .layout-button-left { background: url('images/layout_arrows.png') no-repeat 0 0; } .layout-button-right { background: url('images/layout_arrows.png') no-repeat 0 -16px; } .layout-split-proxy-h, .layout-split-proxy-v { background-color: #aac5e7; } .layout-split-north { border-bottom: 5px solid #E6EEF8; } .layout-split-south { border-top: 5px solid #E6EEF8; } .layout-split-east { border-left: 5px solid #E6EEF8; } .layout-split-west { border-right: 5px solid #E6EEF8; } .layout-expand { background-color: #E0ECFF; } .layout-expand-over { background-color: #E0ECFF; } .tabs-container { overflow: hidden; } .tabs-header { border-width: 1px; border-style: solid; border-bottom-width: 0; position: relative; padding: 0; padding-top: 2px; overflow: hidden; } .tabs-header-plain { border: 0; background: transparent; } .tabs-scroller-left, .tabs-scroller-right { position: absolute; top: auto; bottom: 0; width: 18px; font-size: 1px; display: none; cursor: pointer; border-width: 1px; border-style: solid; } .tabs-scroller-left { left: 0; } .tabs-scroller-right { right: 0; } .tabs-tool { position: absolute; bottom: 0; padding: 1px; overflow: hidden; border-width: 1px; border-style: solid; } .tabs-header-plain .tabs-tool { padding: 0 1px; } .tabs-wrap { position: relative; left: 0; overflow: hidden; width: 100%; margin: 0; padding: 0; } .tabs-scrolling { margin-left: 18px; margin-right: 18px; } .tabs-disabled { opacity: 0.3; filter: alpha(opacity=30); } .tabs { list-style-type: none; height: 26px; margin: 0px; padding: 0px; padding-left: 4px; width: 50000px; border-style: solid; border-width: 0 0 1px 0; } .tabs li { float: left; display: inline-block; margin: 0 4px -1px 0; padding: 0; position: relative; border: 0; } .tabs li a.tabs-inner { display: inline-block; text-decoration: none; margin: 0; padding: 0 10px; height: 25px; line-height: 25px; text-align: center; white-space: nowrap; border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 0 0; -webkit-border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0; } .tabs li.tabs-selected a.tabs-inner { font-weight: bold; outline: none; } .tabs li.tabs-selected a:hover.tabs-inner { cursor: default; pointer: default; } .tabs li a.tabs-close, .tabs-p-tool { position: absolute; font-size: 1px; display: block; height: 12px; padding: 0; top: 50%; margin-top: -6px; overflow: hidden; } .tabs li a.tabs-close { width: 12px; right: 5px; opacity: 0.6; filter: alpha(opacity=60); } .tabs-p-tool { right: 16px; } .tabs-p-tool a { display: inline-block; font-size: 1px; width: 12px; height: 12px; margin: 0; opacity: 0.6; filter: alpha(opacity=60); } .tabs li a:hover.tabs-close, .tabs-p-tool a:hover { opacity: 1; filter: alpha(opacity=100); cursor: hand; cursor: pointer; } .tabs-with-icon { padding-left: 18px; } .tabs-icon { position: absolute; width: 16px; height: 16px; left: 10px; top: 50%; margin-top: -8px; } .tabs-title { font-size: 12px; } .tabs-closable { padding-right: 8px; } .tabs-panels { margin: 0px; padding: 0px; border-width: 1px; border-style: solid; border-top-width: 0; overflow: hidden; } .tabs-header-bottom { border-width: 0 1px 1px 1px; padding: 0 0 2px 0; } .tabs-header-bottom .tabs { border-width: 1px 0 0 0; } .tabs-header-bottom .tabs li { margin: -1px 4px 0 0; } .tabs-header-bottom .tabs li a.tabs-inner { -moz-border-radius: 0 0 5px 5px; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .tabs-header-bottom .tabs-tool { top: 0; } .tabs-header-bottom .tabs-scroller-left, .tabs-header-bottom .tabs-scroller-right { top: 0; bottom: auto; } .tabs-panels-top { border-width: 1px 1px 0 1px; } .tabs-header-left { float: left; border-width: 1px 0 1px 1px; padding: 0; } .tabs-header-right { float: right; border-width: 1px 1px 1px 0; padding: 0; } .tabs-header-left .tabs-wrap, .tabs-header-right .tabs-wrap { height: 100%; } .tabs-header-left .tabs { height: 100%; padding: 4px 0 0 4px; border-width: 0 1px 0 0; } .tabs-header-right .tabs { height: 100%; padding: 4px 4px 0 0; border-width: 0 0 0 1px; } .tabs-header-left .tabs li, .tabs-header-right .tabs li { display: block; width: 100%; position: relative; } .tabs-header-left .tabs li { left: auto; right: 0; margin: 0 -1px 4px 0; float: right; } .tabs-header-right .tabs li { left: 0; right: auto; margin: 0 0 4px -1px; float: left; } .tabs-header-left .tabs li a.tabs-inner { display: block; text-align: left; -moz-border-radius: 5px 0 0 5px; -webkit-border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px; } .tabs-header-right .tabs li a.tabs-inner { display: block; text-align: left; -moz-border-radius: 0 5px 5px 0; -webkit-border-radius: 0 5px 5px 0; border-radius: 0 5px 5px 0; } .tabs-panels-right { float: right; border-width: 1px 1px 1px 0; } .tabs-panels-left { float: left; border-width: 1px 0 1px 1px; } .tabs-header-noborder, .tabs-panels-noborder { border: 0px; } .tabs-header-plain { border: 0px; background: transparent; } .tabs-scroller-left { background: #E0ECFF url('images/tabs_icons.png') no-repeat 1px center; } .tabs-scroller-right { background: #E0ECFF url('images/tabs_icons.png') no-repeat -15px center; } .tabs li a.tabs-close { background: url('images/tabs_icons.png') no-repeat -34px center; } .tabs li a.tabs-inner:hover { background: #eaf2ff; color: #000000; filter: none; } .tabs li.tabs-selected a.tabs-inner { background-color: #ffffff; color: #0E2D5F; background: -webkit-linear-gradient(top,#EFF5FF 0,#ffffff 100%); background: -moz-linear-gradient(top,#EFF5FF 0,#ffffff 100%); background: -o-linear-gradient(top,#EFF5FF 0,#ffffff 100%); background: linear-gradient(to bottom,#EFF5FF 0,#ffffff 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#ffffff,GradientType=0); } .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(top,#ffffff 0,#EFF5FF 100%); background: -moz-linear-gradient(top,#ffffff 0,#EFF5FF 100%); background: -o-linear-gradient(top,#ffffff 0,#EFF5FF 100%); background: linear-gradient(to bottom,#ffffff 0,#EFF5FF 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#EFF5FF,GradientType=0); } .tabs-header-left .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(left,#EFF5FF 0,#ffffff 100%); background: -moz-linear-gradient(left,#EFF5FF 0,#ffffff 100%); background: -o-linear-gradient(left,#EFF5FF 0,#ffffff 100%); background: linear-gradient(to right,#EFF5FF 0,#ffffff 100%); background-repeat: repeat-y; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#ffffff,GradientType=1); } .tabs-header-right .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(left,#ffffff 0,#EFF5FF 100%); background: -moz-linear-gradient(left,#ffffff 0,#EFF5FF 100%); background: -o-linear-gradient(left,#ffffff 0,#EFF5FF 100%); background: linear-gradient(to right,#ffffff 0,#EFF5FF 100%); background-repeat: repeat-y; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#EFF5FF,GradientType=1); } .tabs li a.tabs-inner { color: #0E2D5F; background-color: #E0ECFF; background: -webkit-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); background: -moz-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); background: -o-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); background: linear-gradient(to bottom,#EFF5FF 0,#E0ECFF 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#E0ECFF,GradientType=0); } .tabs-header, .tabs-tool { background-color: #E0ECFF; } .tabs-header-plain { background: transparent; } .tabs-header, .tabs-scroller-left, .tabs-scroller-right, .tabs-tool, .tabs, .tabs-panels, .tabs li a.tabs-inner, .tabs li.tabs-selected a.tabs-inner, .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, .tabs-header-left .tabs li.tabs-selected a.tabs-inner, .tabs-header-right .tabs li.tabs-selected a.tabs-inner { border-color: #95B8E7; } .tabs-p-tool a:hover, .tabs li a:hover.tabs-close, .tabs-scroller-over { background-color: #eaf2ff; } .tabs li.tabs-selected a.tabs-inner { border-bottom: 1px solid #ffffff; } .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { border-top: 1px solid #ffffff; } .tabs-header-left .tabs li.tabs-selected a.tabs-inner { border-right: 1px solid #ffffff; } .tabs-header-right .tabs li.tabs-selected a.tabs-inner { border-left: 1px solid #ffffff; } .datagrid .panel-body { overflow: hidden; position: relative; } .datagrid-view { position: relative; overflow: hidden; } .datagrid-view1, .datagrid-view2 { position: absolute; overflow: hidden; top: 0; } .datagrid-view1 { left: 0; } .datagrid-view2 { right: 0; } .datagrid-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0.3; filter: alpha(opacity=30); display: none; } .datagrid-mask-msg { position: absolute; top: 50%; margin-top: -20px; padding: 10px 5px 10px 30px; width: auto; height: 16px; border-width: 2px; border-style: solid; display: none; } .datagrid-sort-icon { padding: 0; } .datagrid-toolbar { height: auto; padding: 1px 2px; border-width: 0 0 1px 0; border-style: solid; } .datagrid-btn-separator { float: left; height: 24px; border-left: 1px solid #ccc; border-right: 1px solid #fff; margin: 2px 1px; } .datagrid .datagrid-pager { display: block; margin: 0; border-width: 1px 0 0 0; border-style: solid; } .datagrid .datagrid-pager-top { border-width: 0 0 1px 0; } .datagrid-header { overflow: hidden; cursor: default; border-width: 0 0 1px 0; border-style: solid; } .datagrid-header-inner { float: left; width: 10000px; } .datagrid-header-row, .datagrid-row { height: 25px; } .datagrid-header td, .datagrid-body td, .datagrid-footer td { border-width: 0 1px 1px 0; border-style: dotted; margin: 0; padding: 0; } .datagrid-cell, .datagrid-cell-group, .datagrid-header-rownumber, .datagrid-cell-rownumber { margin: 0; padding: 0 4px; white-space: nowrap; word-wrap: normal; overflow: hidden; height: 18px; line-height: 18px; font-size: 12px; } .datagrid-header .datagrid-cell { height: auto; } .datagrid-header .datagrid-cell span { font-size: 12px; } .datagrid-cell-group { text-align: center; } .datagrid-header-rownumber, .datagrid-cell-rownumber { width: 25px; text-align: center; margin: 0; padding: 0; } .datagrid-body { margin: 0; padding: 0; overflow: auto; zoom: 1; } .datagrid-view1 .datagrid-body-inner { padding-bottom: 20px; } .datagrid-view1 .datagrid-body { overflow: hidden; } .datagrid-footer { overflow: hidden; } .datagrid-footer-inner { border-width: 1px 0 0 0; border-style: solid; width: 10000px; float: left; } .datagrid-row-editing .datagrid-cell { height: auto; } .datagrid-header-check, .datagrid-cell-check { padding: 0; width: 27px; height: 18px; font-size: 1px; text-align: center; overflow: hidden; } .datagrid-header-check input, .datagrid-cell-check input { margin: 0; padding: 0; width: 15px; height: 18px; } .datagrid-resize-proxy { position: absolute; width: 1px; height: 10000px; top: 0; cursor: e-resize; display: none; } .datagrid-body .datagrid-editable { margin: 0; padding: 0; } .datagrid-body .datagrid-editable table { width: 100%; height: 100%; } .datagrid-body .datagrid-editable td { border: 0; margin: 0; padding: 0; } .datagrid-view .datagrid-editable-input { margin: 0; padding: 2px 4px; border: 1px solid #95B8E7; font-size: 12px; outline-style: none; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .datagrid-sort-desc .datagrid-sort-icon { padding: 0 13px 0 0; background: url('images/datagrid_icons.png') no-repeat -16px center; } .datagrid-sort-asc .datagrid-sort-icon { padding: 0 13px 0 0; background: url('images/datagrid_icons.png') no-repeat 0px center; } .datagrid-row-collapse { background: url('images/datagrid_icons.png') no-repeat -48px center; } .datagrid-row-expand { background: url('images/datagrid_icons.png') no-repeat -32px center; } .datagrid-mask-msg { background: #ffffff url('images/loading.gif') no-repeat scroll 5px center; } .datagrid-header, .datagrid-td-rownumber { background-color: #efefef; background: -webkit-linear-gradient(top,#F9F9F9 0,#efefef 100%); background: -moz-linear-gradient(top,#F9F9F9 0,#efefef 100%); background: -o-linear-gradient(top,#F9F9F9 0,#efefef 100%); background: linear-gradient(to bottom,#F9F9F9 0,#efefef 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F9F9F9,endColorstr=#efefef,GradientType=0); } .datagrid-cell-rownumber { color: #000000; } .datagrid-resize-proxy { background: #aac5e7; } .datagrid-mask { background: #ccc; } .datagrid-mask-msg { border-color: #95B8E7; } .datagrid-toolbar, .datagrid-pager { background: #F4F4F4; } .datagrid-header, .datagrid-toolbar, .datagrid-pager, .datagrid-footer-inner { border-color: #dddddd; } .datagrid-header td, .datagrid-body td, .datagrid-footer td { border-color: #ccc; } .datagrid-htable, .datagrid-btable, .datagrid-ftable { color: #000000; border-collapse: separate; } .datagrid-row-alt { background: #fafafa; } .datagrid-row-over, .datagrid-header td.datagrid-header-over { background: #eaf2ff; color: #000000; cursor: default; } .datagrid-row-selected { background: #ffe48d; color: #000000; } .datagrid-row-editing .textbox, .datagrid-row-editing .textbox-text { -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .propertygrid .datagrid-view1 .datagrid-body td { padding-bottom: 1px; border-width: 0 1px 0 0; } .propertygrid .datagrid-group { height: 21px; overflow: hidden; border-width: 0 0 1px 0; border-style: solid; } .propertygrid .datagrid-group span { font-weight: bold; } .propertygrid .datagrid-view1 .datagrid-body td { border-color: #dddddd; } .propertygrid .datagrid-view1 .datagrid-group { border-color: #E0ECFF; } .propertygrid .datagrid-view2 .datagrid-group { border-color: #dddddd; } .propertygrid .datagrid-group, .propertygrid .datagrid-view1 .datagrid-body, .propertygrid .datagrid-view1 .datagrid-row-over, .propertygrid .datagrid-view1 .datagrid-row-selected { background: #E0ECFF; } .pagination { zoom: 1; } .pagination table { float: left; height: 30px; } .pagination td { border: 0; } .pagination-btn-separator { float: left; height: 24px; border-left: 1px solid #ccc; border-right: 1px solid #fff; margin: 3px 1px; } .pagination .pagination-num { border-width: 1px; border-style: solid; margin: 0 2px; padding: 2px; width: 2em; height: auto; } .pagination-page-list { margin: 0px 6px; padding: 1px 2px; width: auto; height: auto; border-width: 1px; border-style: solid; } .pagination-info { float: right; margin: 0 6px 0 0; padding: 0; height: 30px; line-height: 30px; font-size: 12px; } .pagination span { font-size: 12px; } .pagination-link .l-btn-text { width: 24px; text-align: center; margin: 0; } .pagination-first { background: url('images/pagination_icons.png') no-repeat 0 center; } .pagination-prev { background: url('images/pagination_icons.png') no-repeat -16px center; } .pagination-next { background: url('images/pagination_icons.png') no-repeat -32px center; } .pagination-last { background: url('images/pagination_icons.png') no-repeat -48px center; } .pagination-load { background: url('images/pagination_icons.png') no-repeat -64px center; } .pagination-loading { background: url('images/loading.gif') no-repeat center center; } .pagination-page-list, .pagination .pagination-num { border-color: #95B8E7; } .calendar { border-width: 1px; border-style: solid; padding: 1px; overflow: hidden; } .calendar table { table-layout: fixed; border-collapse: separate; font-size: 12px; width: 100%; height: 100%; } .calendar table td, .calendar table th { font-size: 12px; } .calendar-noborder { border: 0; } .calendar-header { position: relative; height: 22px; } .calendar-title { text-align: center; height: 22px; } .calendar-title span { position: relative; display: inline-block; top: 2px; padding: 0 3px; height: 18px; line-height: 18px; font-size: 12px; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-prevmonth, .calendar-nextmonth, .calendar-prevyear, .calendar-nextyear { position: absolute; top: 50%; margin-top: -7px; width: 14px; height: 14px; cursor: pointer; font-size: 1px; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-prevmonth { left: 20px; background: url('images/calendar_arrows.png') no-repeat -18px -2px; } .calendar-nextmonth { right: 20px; background: url('images/calendar_arrows.png') no-repeat -34px -2px; } .calendar-prevyear { left: 3px; background: url('images/calendar_arrows.png') no-repeat -1px -2px; } .calendar-nextyear { right: 3px; background: url('images/calendar_arrows.png') no-repeat -49px -2px; } .calendar-body { position: relative; } .calendar-body th, .calendar-body td { text-align: center; } .calendar-day { border: 0; padding: 1px; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-other-month { opacity: 0.3; filter: alpha(opacity=30); } .calendar-disabled { opacity: 0.6; filter: alpha(opacity=60); cursor: default; } .calendar-menu { position: absolute; top: 0; left: 0; width: 180px; height: 150px; padding: 5px; font-size: 12px; display: none; overflow: hidden; } .calendar-menu-year-inner { text-align: center; padding-bottom: 5px; } .calendar-menu-year { width: 40px; text-align: center; border-width: 1px; border-style: solid; margin: 0; padding: 2px; font-weight: bold; font-size: 12px; } .calendar-menu-prev, .calendar-menu-next { display: inline-block; width: 21px; height: 21px; vertical-align: top; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-menu-prev { margin-right: 10px; background: url('images/calendar_arrows.png') no-repeat 2px 2px; } .calendar-menu-next { margin-left: 10px; background: url('images/calendar_arrows.png') no-repeat -45px 2px; } .calendar-menu-month { text-align: center; cursor: pointer; font-weight: bold; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-body th, .calendar-menu-month { color: #4d4d4d; } .calendar-day { color: #000000; } .calendar-sunday { color: #CC2222; } .calendar-saturday { color: #00ee00; } .calendar-today { color: #0000ff; } .calendar-menu-year { border-color: #95B8E7; } .calendar { border-color: #95B8E7; } .calendar-header { background: #E0ECFF; } .calendar-body, .calendar-menu { background: #ffffff; } .calendar-body th { background: #F4F4F4; padding: 2px 0; } .calendar-hover, .calendar-nav-hover, .calendar-menu-hover { background-color: #eaf2ff; color: #000000; } .calendar-hover { border: 1px solid #b7d2ff; padding: 0; } .calendar-selected { background-color: #ffe48d; color: #000000; border: 1px solid #ffab3f; padding: 0; } .datebox-calendar-inner { height: 180px; } .datebox-button { height: 18px; padding: 2px 5px; text-align: center; } .datebox-button a { font-size: 12px; font-weight: bold; text-decoration: none; opacity: 0.6; filter: alpha(opacity=60); } .datebox-button a:hover { opacity: 1.0; filter: alpha(opacity=100); } .datebox-current, .datebox-close { float: left; } .datebox-close { float: right; } .datebox .combo-arrow { background-image: url('images/datebox_arrow.png'); background-position: center center; } .datebox-button { background-color: #F4F4F4; } .datebox-button a { color: #444; } .numberbox { border: 1px solid #95B8E7; margin: 0; padding: 0 2px; vertical-align: middle; } .textbox { padding: 0; } .spinner { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .spinner .spinner-text { font-size: 12px; border: 0px; margin: 0; padding: 0 2px; vertical-align: baseline; } .spinner-arrow { background-color: #E0ECFF; display: inline-block; overflow: hidden; vertical-align: top; margin: 0; padding: 0; opacity: 1.0; filter: alpha(opacity=100); width: 18px; } .spinner-arrow-up, .spinner-arrow-down { opacity: 0.6; filter: alpha(opacity=60); display: block; font-size: 1px; width: 18px; height: 10px; width: 100%; height: 50%; outline-style: none; } .spinner-arrow-hover { background-color: #eaf2ff; opacity: 1.0; filter: alpha(opacity=100); } .spinner-arrow-up:hover, .spinner-arrow-down:hover { opacity: 1.0; filter: alpha(opacity=100); background-color: #eaf2ff; } .textbox-icon-disabled .spinner-arrow-up:hover, .textbox-icon-disabled .spinner-arrow-down:hover { opacity: 0.6; filter: alpha(opacity=60); background-color: #E0ECFF; cursor: default; } .spinner .textbox-icon-disabled { opacity: 0.6; filter: alpha(opacity=60); } .spinner-arrow-up { background: url('images/spinner_arrows.png') no-repeat 1px center; } .spinner-arrow-down { background: url('images/spinner_arrows.png') no-repeat -15px center; } .spinner { border-color: #95B8E7; } .progressbar { border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; overflow: hidden; position: relative; } .progressbar-text { text-align: center; position: absolute; } .progressbar-value { position: relative; overflow: hidden; width: 0; -moz-border-radius: 5px 0 0 5px; -webkit-border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px; } .progressbar { border-color: #95B8E7; } .progressbar-text { color: #000000; font-size: 12px; } .progressbar-value .progressbar-text { background-color: #ffe48d; color: #000000; } .searchbox { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .searchbox .searchbox-text { font-size: 12px; border: 0; margin: 0; padding: 0 2px; vertical-align: top; } .searchbox .searchbox-prompt { font-size: 12px; color: #ccc; } .searchbox-button { width: 18px; height: 20px; overflow: hidden; display: inline-block; vertical-align: top; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); } .searchbox-button-hover { opacity: 1.0; filter: alpha(opacity=100); } .searchbox .l-btn-plain { border: 0; padding: 0; vertical-align: top; opacity: 0.6; filter: alpha(opacity=60); -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .l-btn-plain:hover { border: 0; padding: 0; opacity: 1.0; filter: alpha(opacity=100); -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox a.m-btn-plain-active { -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .m-btn-active { border-width: 0 1px 0 0; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .textbox-button-right { border-width: 0 0 0 1px; } .searchbox .textbox-button-left { border-width: 0 1px 0 0; } .searchbox-button { background: url('images/searchbox_button.png') no-repeat center center; } .searchbox { border-color: #95B8E7; background-color: #fff; } .searchbox .l-btn-plain { background: #E0ECFF; } .searchbox .l-btn-plain-disabled, .searchbox .l-btn-plain-disabled:hover { opacity: 0.5; filter: alpha(opacity=50); } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } .slider-disabled { opacity: 0.5; filter: alpha(opacity=50); } .slider-h { height: 22px; } .slider-v { width: 22px; } .slider-inner { position: relative; height: 6px; top: 7px; border-width: 1px; border-style: solid; border-radius: 5px; } .slider-handle { position: absolute; display: block; outline: none; width: 20px; height: 20px; top: 50%; margin-top: -10px; margin-left: -10px; } .slider-tip { position: absolute; display: inline-block; line-height: 12px; font-size: 12px; white-space: nowrap; top: -22px; } .slider-rule { position: relative; top: 15px; } .slider-rule span { position: absolute; display: inline-block; font-size: 0; height: 5px; border-width: 0 0 0 1px; border-style: solid; } .slider-rulelabel { position: relative; top: 20px; } .slider-rulelabel span { position: absolute; display: inline-block; font-size: 12px; } .slider-v .slider-inner { width: 6px; left: 7px; top: 0; float: left; } .slider-v .slider-handle { left: 50%; margin-top: -10px; } .slider-v .slider-tip { left: -10px; margin-top: -6px; } .slider-v .slider-rule { float: left; top: 0; left: 16px; } .slider-v .slider-rule span { width: 5px; height: 'auto'; border-left: 0; border-width: 1px 0 0 0; border-style: solid; } .slider-v .slider-rulelabel { float: left; top: 0; left: 23px; } .slider-handle { background: url('images/slider_handle.png') no-repeat; } .slider-inner { border-color: #95B8E7; background: #E0ECFF; } .slider-rule span { border-color: #95B8E7; } .slider-rulelabel span { color: #000000; } .menu { position: absolute; margin: 0; padding: 2px; border-width: 1px; border-style: solid; overflow: hidden; } .menu-item { position: relative; margin: 0; padding: 0; overflow: hidden; white-space: nowrap; cursor: pointer; border-width: 1px; border-style: solid; } .menu-text { height: 20px; line-height: 20px; float: left; padding-left: 28px; } .menu-icon { position: absolute; width: 16px; height: 16px; left: 2px; top: 50%; margin-top: -8px; } .menu-rightarrow { position: absolute; width: 16px; height: 16px; right: 0; top: 50%; margin-top: -8px; } .menu-line { position: absolute; left: 26px; top: 0; height: 2000px; font-size: 1px; } .menu-sep { margin: 3px 0px 3px 25px; font-size: 1px; } .menu-active { -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .menu-item-disabled { opacity: 0.5; filter: alpha(opacity=50); cursor: default; } .menu-text, .menu-text span { font-size: 12px; } .menu-shadow { position: absolute; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; background: #ccc; -moz-box-shadow: 2px 2px 3px #cccccc; -webkit-box-shadow: 2px 2px 3px #cccccc; box-shadow: 2px 2px 3px #cccccc; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); } .menu-rightarrow { background: url('images/menu_arrows.png') no-repeat -32px center; } .menu-line { border-left: 1px solid #ccc; border-right: 1px solid #fff; } .menu-sep { border-top: 1px solid #ccc; border-bottom: 1px solid #fff; } .menu { background-color: #fafafa; border-color: #ddd; color: #444; } .menu-content { background: #ffffff; } .menu-item { border-color: transparent; _border-color: #fafafa; } .menu-active { border-color: #b7d2ff; color: #000000; background: #eaf2ff; } .menu-active-disabled { border-color: transparent; background: transparent; color: #444; } .m-btn-downarrow, .s-btn-downarrow { display: inline-block; position: absolute; width: 16px; height: 16px; font-size: 1px; right: 0; top: 50%; margin-top: -8px; } .m-btn-active, .s-btn-active { background: #eaf2ff; color: #000000; border: 1px solid #b7d2ff; filter: none; } .m-btn-plain-active, .s-btn-plain-active { background: transparent; padding: 0; border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .m-btn .l-btn-left .l-btn-text { margin-right: 20px; } .m-btn .l-btn-icon-right .l-btn-text { margin-right: 40px; } .m-btn .l-btn-icon-right .l-btn-icon { right: 20px; } .m-btn .l-btn-icon-top .l-btn-text { margin-right: 4px; margin-bottom: 14px; } .m-btn .l-btn-icon-bottom .l-btn-text { margin-right: 4px; margin-bottom: 34px; } .m-btn .l-btn-icon-bottom .l-btn-icon { top: auto; bottom: 20px; } .m-btn .l-btn-icon-top .m-btn-downarrow, .m-btn .l-btn-icon-bottom .m-btn-downarrow { top: auto; bottom: 0px; left: 50%; margin-left: -8px; } .m-btn-line { display: inline-block; position: absolute; font-size: 1px; display: none; } .m-btn .l-btn-left .m-btn-line { right: 0; width: 16px; height: 500px; border-style: solid; border-color: #aac5e7; border-width: 0 0 0 1px; } .m-btn .l-btn-icon-top .m-btn-line, .m-btn .l-btn-icon-bottom .m-btn-line { left: 0; bottom: 0; width: 500px; height: 16px; border-width: 1px 0 0 0; } .m-btn-large .l-btn-icon-right .l-btn-text { margin-right: 56px; } .m-btn-large .l-btn-icon-bottom .l-btn-text { margin-bottom: 50px; } .m-btn-downarrow, .s-btn-downarrow { background: url('images/menu_arrows.png') no-repeat 0 center; } .m-btn-plain-active, .s-btn-plain-active { border-color: #b7d2ff; background-color: #eaf2ff; color: #000000; } .s-btn:hover .m-btn-line, .s-btn-active .m-btn-line, .s-btn-plain-active .m-btn-line { display: inline-block; } .l-btn:hover .s-btn-downarrow, .s-btn-active .s-btn-downarrow, .s-btn-plain-active .s-btn-downarrow { border-style: solid; border-color: #aac5e7; border-width: 0 0 0 1px; } .messager-body { padding: 10px; overflow: hidden; } .messager-button { text-align: center; padding-top: 10px; } .messager-button .l-btn { width: 70px; } .messager-icon { float: left; width: 32px; height: 32px; margin: 0 10px 10px 0; } .messager-error { background: url('images/messager_icons.png') no-repeat scroll -64px 0; } .messager-info { background: url('images/messager_icons.png') no-repeat scroll 0 0; } .messager-question { background: url('images/messager_icons.png') no-repeat scroll -32px 0; } .messager-warning { background: url('images/messager_icons.png') no-repeat scroll -96px 0; } .messager-progress { padding: 10px; } .messager-p-msg { margin-bottom: 5px; } .messager-body .messager-input { width: 100%; padding: 1px 0; border: 1px solid #95B8E7; } .tree { margin: 0; padding: 0; list-style-type: none; } .tree li { white-space: nowrap; } .tree li ul { list-style-type: none; margin: 0; padding: 0; } .tree-node { height: 18px; white-space: nowrap; cursor: pointer; } .tree-hit { cursor: pointer; } .tree-expanded, .tree-collapsed, .tree-folder, .tree-file, .tree-checkbox, .tree-indent { display: inline-block; width: 16px; height: 18px; vertical-align: top; overflow: hidden; } .tree-expanded { background: url('images/tree_icons.png') no-repeat -18px 0px; } .tree-expanded-hover { background: url('images/tree_icons.png') no-repeat -50px 0px; } .tree-collapsed { background: url('images/tree_icons.png') no-repeat 0px 0px; } .tree-collapsed-hover { background: url('images/tree_icons.png') no-repeat -32px 0px; } .tree-lines .tree-expanded, .tree-lines .tree-root-first .tree-expanded { background: url('images/tree_icons.png') no-repeat -144px 0; } .tree-lines .tree-collapsed, .tree-lines .tree-root-first .tree-collapsed { background: url('images/tree_icons.png') no-repeat -128px 0; } .tree-lines .tree-node-last .tree-expanded, .tree-lines .tree-root-one .tree-expanded { background: url('images/tree_icons.png') no-repeat -80px 0; } .tree-lines .tree-node-last .tree-collapsed, .tree-lines .tree-root-one .tree-collapsed { background: url('images/tree_icons.png') no-repeat -64px 0; } .tree-line { background: url('images/tree_icons.png') no-repeat -176px 0; } .tree-join { background: url('images/tree_icons.png') no-repeat -192px 0; } .tree-joinbottom { background: url('images/tree_icons.png') no-repeat -160px 0; } .tree-folder { background: url('images/tree_icons.png') no-repeat -208px 0; } .tree-folder-open { background: url('images/tree_icons.png') no-repeat -224px 0; } .tree-file { background: url('images/tree_icons.png') no-repeat -240px 0; } .tree-loading { background: url('images/loading.gif') no-repeat center center; } .tree-checkbox0 { background: url('images/tree_icons.png') no-repeat -208px -18px; } .tree-checkbox1 { background: url('images/tree_icons.png') no-repeat -224px -18px; } .tree-checkbox2 { background: url('images/tree_icons.png') no-repeat -240px -18px; } .tree-title { font-size: 12px; display: inline-block; text-decoration: none; vertical-align: top; white-space: nowrap; padding: 0 2px; height: 18px; line-height: 18px; } .tree-node-proxy { font-size: 12px; line-height: 20px; padding: 0 2px 0 20px; border-width: 1px; border-style: solid; z-index: 9900000; } .tree-dnd-icon { display: inline-block; position: absolute; width: 16px; height: 18px; left: 2px; top: 50%; margin-top: -9px; } .tree-dnd-yes { background: url('images/tree_icons.png') no-repeat -256px 0; } .tree-dnd-no { background: url('images/tree_icons.png') no-repeat -256px -18px; } .tree-node-top { border-top: 1px dotted red; } .tree-node-bottom { border-bottom: 1px dotted red; } .tree-node-append .tree-title { border: 1px dotted red; } .tree-editor { border: 1px solid #ccc; font-size: 12px; height: 14px !important; height: 18px; line-height: 14px; padding: 1px 2px; width: 80px; position: absolute; top: 0; } .tree-node-proxy { background-color: #ffffff; color: #000000; border-color: #95B8E7; } .tree-node-hover { background: #eaf2ff; color: #000000; } .tree-node-selected { background: #ffe48d; color: #000000; } .validatebox-invalid { border-color: #ffa8a8; background-color: #fff3f3; color: #000; } .tooltip { position: absolute; display: none; z-index: 9900000; outline: none; opacity: 1; filter: alpha(opacity=100); padding: 5px; border-width: 1px; border-style: solid; border-radius: 5px; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .tooltip-content { font-size: 12px; } .tooltip-arrow-outer, .tooltip-arrow { position: absolute; width: 0; height: 0; line-height: 0; font-size: 0; border-style: solid; border-width: 6px; border-color: transparent; _border-color: tomato; _filter: chroma(color=tomato); } .tooltip-right .tooltip-arrow-outer { left: 0; top: 50%; margin: -6px 0 0 -13px; } .tooltip-right .tooltip-arrow { left: 0; top: 50%; margin: -6px 0 0 -12px; } .tooltip-left .tooltip-arrow-outer { right: 0; top: 50%; margin: -6px -13px 0 0; } .tooltip-left .tooltip-arrow { right: 0; top: 50%; margin: -6px -12px 0 0; } .tooltip-top .tooltip-arrow-outer { bottom: 0; left: 50%; margin: 0 0 -13px -6px; } .tooltip-top .tooltip-arrow { bottom: 0; left: 50%; margin: 0 0 -12px -6px; } .tooltip-bottom .tooltip-arrow-outer { top: 0; left: 50%; margin: -13px 0 0 -6px; } .tooltip-bottom .tooltip-arrow { top: 0; left: 50%; margin: -12px 0 0 -6px; } .tooltip { background-color: #ffffff; border-color: #95B8E7; color: #000000; } .tooltip-right .tooltip-arrow-outer { border-right-color: #95B8E7; } .tooltip-right .tooltip-arrow { border-right-color: #ffffff; } .tooltip-left .tooltip-arrow-outer { border-left-color: #95B8E7; } .tooltip-left .tooltip-arrow { border-left-color: #ffffff; } .tooltip-top .tooltip-arrow-outer { border-top-color: #95B8E7; } .tooltip-top .tooltip-arrow { border-top-color: #ffffff; } .tooltip-bottom .tooltip-arrow-outer { border-bottom-color: #95B8E7; } .tooltip-bottom .tooltip-arrow { border-bottom-color: #ffffff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/filebox.css ================================================ .filebox .textbox-value { vertical-align: top; position: absolute; top: 0; left: -5000px; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/layout.css ================================================ .layout { position: relative; overflow: hidden; margin: 0; padding: 0; z-index: 0; } .layout-panel { position: absolute; overflow: hidden; } .layout-panel-east, .layout-panel-west { z-index: 2; } .layout-panel-north, .layout-panel-south { z-index: 3; } .layout-expand { position: absolute; padding: 0px; font-size: 1px; cursor: pointer; z-index: 1; } .layout-expand .panel-header, .layout-expand .panel-body { background: transparent; filter: none; overflow: hidden; } .layout-expand .panel-header { border-bottom-width: 0px; } .layout-split-proxy-h, .layout-split-proxy-v { position: absolute; font-size: 1px; display: none; z-index: 5; } .layout-split-proxy-h { width: 5px; cursor: e-resize; } .layout-split-proxy-v { height: 5px; cursor: n-resize; } .layout-mask { position: absolute; background: #fafafa; filter: alpha(opacity=10); opacity: 0.10; z-index: 4; } .layout-button-up { background: url('images/layout_arrows.png') no-repeat -16px -16px; } .layout-button-down { background: url('images/layout_arrows.png') no-repeat -16px 0; } .layout-button-left { background: url('images/layout_arrows.png') no-repeat 0 0; } .layout-button-right { background: url('images/layout_arrows.png') no-repeat 0 -16px; } .layout-split-proxy-h, .layout-split-proxy-v { background-color: #aac5e7; } .layout-split-north { border-bottom: 5px solid #E6EEF8; } .layout-split-south { border-top: 5px solid #E6EEF8; } .layout-split-east { border-left: 5px solid #E6EEF8; } .layout-split-west { border-right: 5px solid #E6EEF8; } .layout-expand { background-color: #E0ECFF; } .layout-expand-over { background-color: #E0ECFF; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/linkbutton.css ================================================ .l-btn { text-decoration: none; display: inline-block; overflow: hidden; margin: 0; padding: 0; cursor: pointer; outline: none; text-align: center; vertical-align: middle; } .l-btn-plain { border: 0; padding: 1px; } .l-btn-left { display: inline-block; position: relative; overflow: hidden; margin: 0; padding: 0; vertical-align: top; } .l-btn-text { display: inline-block; vertical-align: top; width: auto; line-height: 24px; font-size: 12px; padding: 0; margin: 0 4px; } .l-btn-icon { display: inline-block; width: 16px; height: 16px; line-height: 16px; position: absolute; top: 50%; margin-top: -8px; font-size: 1px; } .l-btn span span .l-btn-empty { display: inline-block; margin: 0; width: 16px; height: 24px; font-size: 1px; vertical-align: top; } .l-btn span .l-btn-icon-left { padding: 0 0 0 20px; background-position: left center; } .l-btn span .l-btn-icon-right { padding: 0 20px 0 0; background-position: right center; } .l-btn-icon-left .l-btn-text { margin: 0 4px 0 24px; } .l-btn-icon-left .l-btn-icon { left: 4px; } .l-btn-icon-right .l-btn-text { margin: 0 24px 0 4px; } .l-btn-icon-right .l-btn-icon { right: 4px; } .l-btn-icon-top .l-btn-text { margin: 20px 4px 0 4px; } .l-btn-icon-top .l-btn-icon { top: 4px; left: 50%; margin: 0 0 0 -8px; } .l-btn-icon-bottom .l-btn-text { margin: 0 4px 20px 4px; } .l-btn-icon-bottom .l-btn-icon { top: auto; bottom: 4px; left: 50%; margin: 0 0 0 -8px; } .l-btn-left .l-btn-empty { margin: 0 4px; width: 16px; } .l-btn-plain:hover { padding: 0; } .l-btn-focus { outline: #0000FF dotted thin; } .l-btn-large .l-btn-text { line-height: 40px; } .l-btn-large .l-btn-icon { width: 32px; height: 32px; line-height: 32px; margin-top: -16px; } .l-btn-large .l-btn-icon-left .l-btn-text { margin-left: 40px; } .l-btn-large .l-btn-icon-right .l-btn-text { margin-right: 40px; } .l-btn-large .l-btn-icon-top .l-btn-text { margin-top: 36px; line-height: 24px; min-width: 32px; } .l-btn-large .l-btn-icon-top .l-btn-icon { margin: 0 0 0 -16px; } .l-btn-large .l-btn-icon-bottom .l-btn-text { margin-bottom: 36px; line-height: 24px; min-width: 32px; } .l-btn-large .l-btn-icon-bottom .l-btn-icon { margin: 0 0 0 -16px; } .l-btn-large .l-btn-left .l-btn-empty { margin: 0 4px; width: 32px; } .l-btn { color: #444; background: #fafafa; background-repeat: repeat-x; border: 1px solid #bbb; background: -webkit-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: -moz-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: -o-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: linear-gradient(to bottom,#ffffff 0,#eeeeee 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0); -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .l-btn:hover { background: #eaf2ff; color: #000000; border: 1px solid #b7d2ff; filter: none; } .l-btn-plain { background: transparent; border: 0; filter: none; } .l-btn-plain:hover { background: #eaf2ff; color: #000000; border: 1px solid #b7d2ff; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .l-btn-disabled, .l-btn-disabled:hover { opacity: 0.5; cursor: default; background: #fafafa; color: #444; background: -webkit-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: -moz-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: -o-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: linear-gradient(to bottom,#ffffff 0,#eeeeee 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0); } .l-btn-disabled .l-btn-text, .l-btn-disabled .l-btn-icon { filter: alpha(opacity=50); } .l-btn-plain-disabled, .l-btn-plain-disabled:hover { background: transparent; filter: alpha(opacity=50); } .l-btn-selected, .l-btn-selected:hover { background: #ddd; filter: none; } .l-btn-plain-selected, .l-btn-plain-selected:hover { background: #ddd; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/menu.css ================================================ .menu { position: absolute; margin: 0; padding: 2px; border-width: 1px; border-style: solid; overflow: hidden; } .menu-item { position: relative; margin: 0; padding: 0; overflow: hidden; white-space: nowrap; cursor: pointer; border-width: 1px; border-style: solid; } .menu-text { height: 20px; line-height: 20px; float: left; padding-left: 28px; } .menu-icon { position: absolute; width: 16px; height: 16px; left: 2px; top: 50%; margin-top: -8px; } .menu-rightarrow { position: absolute; width: 16px; height: 16px; right: 0; top: 50%; margin-top: -8px; } .menu-line { position: absolute; left: 26px; top: 0; height: 2000px; font-size: 1px; } .menu-sep { margin: 3px 0px 3px 25px; font-size: 1px; } .menu-active { -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .menu-item-disabled { opacity: 0.5; filter: alpha(opacity=50); cursor: default; } .menu-text, .menu-text span { font-size: 12px; } .menu-shadow { position: absolute; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; background: #ccc; -moz-box-shadow: 2px 2px 3px #cccccc; -webkit-box-shadow: 2px 2px 3px #cccccc; box-shadow: 2px 2px 3px #cccccc; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); } .menu-rightarrow { background: url('images/menu_arrows.png') no-repeat -32px center; } .menu-line { border-left: 1px solid #ccc; border-right: 1px solid #fff; } .menu-sep { border-top: 1px solid #ccc; border-bottom: 1px solid #fff; } .menu { background-color: #fafafa; border-color: #ddd; color: #444; } .menu-content { background: #ffffff; } .menu-item { border-color: transparent; _border-color: #fafafa; } .menu-active { border-color: #b7d2ff; color: #000000; background: #eaf2ff; } .menu-active-disabled { border-color: transparent; background: transparent; color: #444; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/menubutton.css ================================================ .m-btn-downarrow, .s-btn-downarrow { display: inline-block; position: absolute; width: 16px; height: 16px; font-size: 1px; right: 0; top: 50%; margin-top: -8px; } .m-btn-active, .s-btn-active { background: #eaf2ff; color: #000000; border: 1px solid #b7d2ff; filter: none; } .m-btn-plain-active, .s-btn-plain-active { background: transparent; padding: 0; border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .m-btn .l-btn-left .l-btn-text { margin-right: 20px; } .m-btn .l-btn-icon-right .l-btn-text { margin-right: 40px; } .m-btn .l-btn-icon-right .l-btn-icon { right: 20px; } .m-btn .l-btn-icon-top .l-btn-text { margin-right: 4px; margin-bottom: 14px; } .m-btn .l-btn-icon-bottom .l-btn-text { margin-right: 4px; margin-bottom: 34px; } .m-btn .l-btn-icon-bottom .l-btn-icon { top: auto; bottom: 20px; } .m-btn .l-btn-icon-top .m-btn-downarrow, .m-btn .l-btn-icon-bottom .m-btn-downarrow { top: auto; bottom: 0px; left: 50%; margin-left: -8px; } .m-btn-line { display: inline-block; position: absolute; font-size: 1px; display: none; } .m-btn .l-btn-left .m-btn-line { right: 0; width: 16px; height: 500px; border-style: solid; border-color: #aac5e7; border-width: 0 0 0 1px; } .m-btn .l-btn-icon-top .m-btn-line, .m-btn .l-btn-icon-bottom .m-btn-line { left: 0; bottom: 0; width: 500px; height: 16px; border-width: 1px 0 0 0; } .m-btn-large .l-btn-icon-right .l-btn-text { margin-right: 56px; } .m-btn-large .l-btn-icon-bottom .l-btn-text { margin-bottom: 50px; } .m-btn-downarrow, .s-btn-downarrow { background: url('images/menu_arrows.png') no-repeat 0 center; } .m-btn-plain-active, .s-btn-plain-active { border-color: #b7d2ff; background-color: #eaf2ff; color: #000000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/messager.css ================================================ .messager-body { padding: 10px; overflow: hidden; } .messager-button { text-align: center; padding-top: 10px; } .messager-button .l-btn { width: 70px; } .messager-icon { float: left; width: 32px; height: 32px; margin: 0 10px 10px 0; } .messager-error { background: url('images/messager_icons.png') no-repeat scroll -64px 0; } .messager-info { background: url('images/messager_icons.png') no-repeat scroll 0 0; } .messager-question { background: url('images/messager_icons.png') no-repeat scroll -32px 0; } .messager-warning { background: url('images/messager_icons.png') no-repeat scroll -96px 0; } .messager-progress { padding: 10px; } .messager-p-msg { margin-bottom: 5px; } .messager-body .messager-input { width: 100%; padding: 1px 0; border: 1px solid #95B8E7; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/numberbox.css ================================================ .numberbox { border: 1px solid #95B8E7; margin: 0; padding: 0 2px; vertical-align: middle; } .textbox { padding: 0; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/pagination.css ================================================ .pagination { zoom: 1; } .pagination table { float: left; height: 30px; } .pagination td { border: 0; } .pagination-btn-separator { float: left; height: 24px; border-left: 1px solid #ccc; border-right: 1px solid #fff; margin: 3px 1px; } .pagination .pagination-num { border-width: 1px; border-style: solid; margin: 0 2px; padding: 2px; width: 2em; height: auto; } .pagination-page-list { margin: 0px 6px; padding: 1px 2px; width: auto; height: auto; border-width: 1px; border-style: solid; } .pagination-info { float: right; margin: 0 6px 0 0; padding: 0; height: 30px; line-height: 30px; font-size: 12px; } .pagination span { font-size: 12px; } .pagination-link .l-btn-text { width: 24px; text-align: center; margin: 0; } .pagination-first { background: url('images/pagination_icons.png') no-repeat 0 center; } .pagination-prev { background: url('images/pagination_icons.png') no-repeat -16px center; } .pagination-next { background: url('images/pagination_icons.png') no-repeat -32px center; } .pagination-last { background: url('images/pagination_icons.png') no-repeat -48px center; } .pagination-load { background: url('images/pagination_icons.png') no-repeat -64px center; } .pagination-loading { background: url('images/loading.gif') no-repeat center center; } .pagination-page-list, .pagination .pagination-num { border-color: #95B8E7; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/panel.css ================================================ .panel { overflow: hidden; text-align: left; margin: 0; border: 0; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .panel-header, .panel-body { border-width: 1px; border-style: solid; } .panel-header { padding: 5px; position: relative; } .panel-title { background: url('images/blank.gif') no-repeat; } .panel-header-noborder { border-width: 0 0 1px 0; } .panel-body { overflow: auto; border-top-width: 0; padding: 0; } .panel-body-noheader { border-top-width: 1px; } .panel-body-noborder { border-width: 0px; } .panel-body-nobottom { border-bottom-width: 0; } .panel-with-icon { padding-left: 18px; } .panel-icon, .panel-tool { position: absolute; top: 50%; margin-top: -8px; height: 16px; overflow: hidden; } .panel-icon { left: 5px; width: 16px; } .panel-tool { right: 5px; width: auto; } .panel-tool a { display: inline-block; width: 16px; height: 16px; opacity: 0.6; filter: alpha(opacity=60); margin: 0 0 0 2px; vertical-align: top; } .panel-tool a:hover { opacity: 1; filter: alpha(opacity=100); background-color: #eaf2ff; -moz-border-radius: 3px 3px 3px 3px; -webkit-border-radius: 3px 3px 3px 3px; border-radius: 3px 3px 3px 3px; } .panel-loading { padding: 11px 0px 10px 30px; } .panel-noscroll { overflow: hidden; } .panel-fit, .panel-fit body { height: 100%; margin: 0; padding: 0; border: 0; overflow: hidden; } .panel-loading { background: url('images/loading.gif') no-repeat 10px 10px; } .panel-tool-close { background: url('images/panel_tools.png') no-repeat -16px 0px; } .panel-tool-min { background: url('images/panel_tools.png') no-repeat 0px 0px; } .panel-tool-max { background: url('images/panel_tools.png') no-repeat 0px -16px; } .panel-tool-restore { background: url('images/panel_tools.png') no-repeat -16px -16px; } .panel-tool-collapse { background: url('images/panel_tools.png') no-repeat -32px 0; } .panel-tool-expand { background: url('images/panel_tools.png') no-repeat -32px -16px; } .panel-header, .panel-body { border-color: #95B8E7; } .panel-header { background-color: #E0ECFF; background: -webkit-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); background: -moz-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); background: -o-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); background: linear-gradient(to bottom,#EFF5FF 0,#E0ECFF 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#E0ECFF,GradientType=0); } .panel-body { background-color: #ffffff; color: #000000; font-size: 12px; } .panel-title { font-size: 12px; font-weight: bold; color: #0E2D5F; height: 16px; line-height: 16px; } .panel-footer { border: 1px solid #95B8E7; overflow: hidden; background: #F4F4F4; } .panel-footer-noborder { border-width: 1px 0 0 0; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/progressbar.css ================================================ .progressbar { border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; overflow: hidden; position: relative; } .progressbar-text { text-align: center; position: absolute; } .progressbar-value { position: relative; overflow: hidden; width: 0; -moz-border-radius: 5px 0 0 5px; -webkit-border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px; } .progressbar { border-color: #95B8E7; } .progressbar-text { color: #000000; font-size: 12px; } .progressbar-value .progressbar-text { background-color: #ffe48d; color: #000000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/propertygrid.css ================================================ .propertygrid .datagrid-view1 .datagrid-body td { padding-bottom: 1px; border-width: 0 1px 0 0; } .propertygrid .datagrid-group { height: 21px; overflow: hidden; border-width: 0 0 1px 0; border-style: solid; } .propertygrid .datagrid-group span { font-weight: bold; } .propertygrid .datagrid-view1 .datagrid-body td { border-color: #dddddd; } .propertygrid .datagrid-view1 .datagrid-group { border-color: #E0ECFF; } .propertygrid .datagrid-view2 .datagrid-group { border-color: #dddddd; } .propertygrid .datagrid-group, .propertygrid .datagrid-view1 .datagrid-body, .propertygrid .datagrid-view1 .datagrid-row-over, .propertygrid .datagrid-view1 .datagrid-row-selected { background: #E0ECFF; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/searchbox.css ================================================ .searchbox { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .searchbox .searchbox-text { font-size: 12px; border: 0; margin: 0; padding: 0 2px; vertical-align: top; } .searchbox .searchbox-prompt { font-size: 12px; color: #ccc; } .searchbox-button { width: 18px; height: 20px; overflow: hidden; display: inline-block; vertical-align: top; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); } .searchbox-button-hover { opacity: 1.0; filter: alpha(opacity=100); } .searchbox .l-btn-plain { border: 0; padding: 0; vertical-align: top; opacity: 0.6; filter: alpha(opacity=60); -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .l-btn-plain:hover { border: 0; padding: 0; opacity: 1.0; filter: alpha(opacity=100); -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox a.m-btn-plain-active { -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .m-btn-active { border-width: 0 1px 0 0; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .textbox-button-right { border-width: 0 0 0 1px; } .searchbox .textbox-button-left { border-width: 0 1px 0 0; } .searchbox-button { background: url('images/searchbox_button.png') no-repeat center center; } .searchbox { border-color: #95B8E7; background-color: #fff; } .searchbox .l-btn-plain { background: #E0ECFF; } .searchbox .l-btn-plain-disabled, .searchbox .l-btn-plain-disabled:hover { opacity: 0.5; filter: alpha(opacity=50); } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/slider.css ================================================ .slider-disabled { opacity: 0.5; filter: alpha(opacity=50); } .slider-h { height: 22px; } .slider-v { width: 22px; } .slider-inner { position: relative; height: 6px; top: 7px; border-width: 1px; border-style: solid; border-radius: 5px; } .slider-handle { position: absolute; display: block; outline: none; width: 20px; height: 20px; top: 50%; margin-top: -10px; margin-left: -10px; } .slider-tip { position: absolute; display: inline-block; line-height: 12px; font-size: 12px; white-space: nowrap; top: -22px; } .slider-rule { position: relative; top: 15px; } .slider-rule span { position: absolute; display: inline-block; font-size: 0; height: 5px; border-width: 0 0 0 1px; border-style: solid; } .slider-rulelabel { position: relative; top: 20px; } .slider-rulelabel span { position: absolute; display: inline-block; font-size: 12px; } .slider-v .slider-inner { width: 6px; left: 7px; top: 0; float: left; } .slider-v .slider-handle { left: 50%; margin-top: -10px; } .slider-v .slider-tip { left: -10px; margin-top: -6px; } .slider-v .slider-rule { float: left; top: 0; left: 16px; } .slider-v .slider-rule span { width: 5px; height: 'auto'; border-left: 0; border-width: 1px 0 0 0; border-style: solid; } .slider-v .slider-rulelabel { float: left; top: 0; left: 23px; } .slider-handle { background: url('images/slider_handle.png') no-repeat; } .slider-inner { border-color: #95B8E7; background: #E0ECFF; } .slider-rule span { border-color: #95B8E7; } .slider-rulelabel span { color: #000000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/spinner.css ================================================ .spinner { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .spinner .spinner-text { font-size: 12px; border: 0px; margin: 0; padding: 0 2px; vertical-align: baseline; } .spinner-arrow { background-color: #E0ECFF; display: inline-block; overflow: hidden; vertical-align: top; margin: 0; padding: 0; opacity: 1.0; filter: alpha(opacity=100); width: 18px; } .spinner-arrow-up, .spinner-arrow-down { opacity: 0.6; filter: alpha(opacity=60); display: block; font-size: 1px; width: 18px; height: 10px; width: 100%; height: 50%; outline-style: none; } .spinner-arrow-hover { background-color: #eaf2ff; opacity: 1.0; filter: alpha(opacity=100); } .spinner-arrow-up:hover, .spinner-arrow-down:hover { opacity: 1.0; filter: alpha(opacity=100); background-color: #eaf2ff; } .textbox-icon-disabled .spinner-arrow-up:hover, .textbox-icon-disabled .spinner-arrow-down:hover { opacity: 0.6; filter: alpha(opacity=60); background-color: #E0ECFF; cursor: default; } .spinner .textbox-icon-disabled { opacity: 0.6; filter: alpha(opacity=60); } .spinner-arrow-up { background: url('images/spinner_arrows.png') no-repeat 1px center; } .spinner-arrow-down { background: url('images/spinner_arrows.png') no-repeat -15px center; } .spinner { border-color: #95B8E7; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/splitbutton.css ================================================ .s-btn:hover .m-btn-line, .s-btn-active .m-btn-line, .s-btn-plain-active .m-btn-line { display: inline-block; } .l-btn:hover .s-btn-downarrow, .s-btn-active .s-btn-downarrow, .s-btn-plain-active .s-btn-downarrow { border-style: solid; border-color: #aac5e7; border-width: 0 0 0 1px; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/tabs.css ================================================ .tabs-container { overflow: hidden; } .tabs-header { border-width: 1px; border-style: solid; border-bottom-width: 0; position: relative; padding: 0; padding-top: 2px; overflow: hidden; } .tabs-header-plain { border: 0; background: transparent; } .tabs-scroller-left, .tabs-scroller-right { position: absolute; top: auto; bottom: 0; width: 18px; font-size: 1px; display: none; cursor: pointer; border-width: 1px; border-style: solid; } .tabs-scroller-left { left: 0; } .tabs-scroller-right { right: 0; } .tabs-tool { position: absolute; bottom: 0; padding: 1px; overflow: hidden; border-width: 1px; border-style: solid; } .tabs-header-plain .tabs-tool { padding: 0 1px; } .tabs-wrap { position: relative; left: 0; overflow: hidden; width: 100%; margin: 0; padding: 0; } .tabs-scrolling { margin-left: 18px; margin-right: 18px; } .tabs-disabled { opacity: 0.3; filter: alpha(opacity=30); } .tabs { list-style-type: none; height: 26px; margin: 0px; padding: 0px; padding-left: 4px; width: 50000px; border-style: solid; border-width: 0 0 1px 0; } .tabs li { float: left; display: inline-block; margin: 0 4px -1px 0; padding: 0; position: relative; border: 0; } .tabs li a.tabs-inner { display: inline-block; text-decoration: none; margin: 0; padding: 0 10px; height: 25px; line-height: 25px; text-align: center; white-space: nowrap; border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 0 0; -webkit-border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0; } .tabs li.tabs-selected a.tabs-inner { font-weight: bold; outline: none; } .tabs li.tabs-selected a:hover.tabs-inner { cursor: default; pointer: default; } .tabs li a.tabs-close, .tabs-p-tool { position: absolute; font-size: 1px; display: block; height: 12px; padding: 0; top: 50%; margin-top: -6px; overflow: hidden; } .tabs li a.tabs-close { width: 12px; right: 5px; opacity: 0.6; filter: alpha(opacity=60); } .tabs-p-tool { right: 16px; } .tabs-p-tool a { display: inline-block; font-size: 1px; width: 12px; height: 12px; margin: 0; opacity: 0.6; filter: alpha(opacity=60); } .tabs li a:hover.tabs-close, .tabs-p-tool a:hover { opacity: 1; filter: alpha(opacity=100); cursor: hand; cursor: pointer; } .tabs-with-icon { padding-left: 18px; } .tabs-icon { position: absolute; width: 16px; height: 16px; left: 10px; top: 50%; margin-top: -8px; } .tabs-title { font-size: 12px; } .tabs-closable { padding-right: 8px; } .tabs-panels { margin: 0px; padding: 0px; border-width: 1px; border-style: solid; border-top-width: 0; overflow: hidden; } .tabs-header-bottom { border-width: 0 1px 1px 1px; padding: 0 0 2px 0; } .tabs-header-bottom .tabs { border-width: 1px 0 0 0; } .tabs-header-bottom .tabs li { margin: -1px 4px 0 0; } .tabs-header-bottom .tabs li a.tabs-inner { -moz-border-radius: 0 0 5px 5px; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .tabs-header-bottom .tabs-tool { top: 0; } .tabs-header-bottom .tabs-scroller-left, .tabs-header-bottom .tabs-scroller-right { top: 0; bottom: auto; } .tabs-panels-top { border-width: 1px 1px 0 1px; } .tabs-header-left { float: left; border-width: 1px 0 1px 1px; padding: 0; } .tabs-header-right { float: right; border-width: 1px 1px 1px 0; padding: 0; } .tabs-header-left .tabs-wrap, .tabs-header-right .tabs-wrap { height: 100%; } .tabs-header-left .tabs { height: 100%; padding: 4px 0 0 4px; border-width: 0 1px 0 0; } .tabs-header-right .tabs { height: 100%; padding: 4px 4px 0 0; border-width: 0 0 0 1px; } .tabs-header-left .tabs li, .tabs-header-right .tabs li { display: block; width: 100%; position: relative; } .tabs-header-left .tabs li { left: auto; right: 0; margin: 0 -1px 4px 0; float: right; } .tabs-header-right .tabs li { left: 0; right: auto; margin: 0 0 4px -1px; float: left; } .tabs-header-left .tabs li a.tabs-inner { display: block; text-align: left; -moz-border-radius: 5px 0 0 5px; -webkit-border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px; } .tabs-header-right .tabs li a.tabs-inner { display: block; text-align: left; -moz-border-radius: 0 5px 5px 0; -webkit-border-radius: 0 5px 5px 0; border-radius: 0 5px 5px 0; } .tabs-panels-right { float: right; border-width: 1px 1px 1px 0; } .tabs-panels-left { float: left; border-width: 1px 0 1px 1px; } .tabs-header-noborder, .tabs-panels-noborder { border: 0px; } .tabs-header-plain { border: 0px; background: transparent; } .tabs-scroller-left { background: #E0ECFF url('images/tabs_icons.png') no-repeat 1px center; } .tabs-scroller-right { background: #E0ECFF url('images/tabs_icons.png') no-repeat -15px center; } .tabs li a.tabs-close { background: url('images/tabs_icons.png') no-repeat -34px center; } .tabs li a.tabs-inner:hover { background: #eaf2ff; color: #000000; filter: none; } .tabs li.tabs-selected a.tabs-inner { background-color: #ffffff; color: #0E2D5F; background: -webkit-linear-gradient(top,#EFF5FF 0,#ffffff 100%); background: -moz-linear-gradient(top,#EFF5FF 0,#ffffff 100%); background: -o-linear-gradient(top,#EFF5FF 0,#ffffff 100%); background: linear-gradient(to bottom,#EFF5FF 0,#ffffff 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#ffffff,GradientType=0); } .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(top,#ffffff 0,#EFF5FF 100%); background: -moz-linear-gradient(top,#ffffff 0,#EFF5FF 100%); background: -o-linear-gradient(top,#ffffff 0,#EFF5FF 100%); background: linear-gradient(to bottom,#ffffff 0,#EFF5FF 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#EFF5FF,GradientType=0); } .tabs-header-left .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(left,#EFF5FF 0,#ffffff 100%); background: -moz-linear-gradient(left,#EFF5FF 0,#ffffff 100%); background: -o-linear-gradient(left,#EFF5FF 0,#ffffff 100%); background: linear-gradient(to right,#EFF5FF 0,#ffffff 100%); background-repeat: repeat-y; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#ffffff,GradientType=1); } .tabs-header-right .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(left,#ffffff 0,#EFF5FF 100%); background: -moz-linear-gradient(left,#ffffff 0,#EFF5FF 100%); background: -o-linear-gradient(left,#ffffff 0,#EFF5FF 100%); background: linear-gradient(to right,#ffffff 0,#EFF5FF 100%); background-repeat: repeat-y; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#EFF5FF,GradientType=1); } .tabs li a.tabs-inner { color: #0E2D5F; background-color: #E0ECFF; background: -webkit-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); background: -moz-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); background: -o-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); background: linear-gradient(to bottom,#EFF5FF 0,#E0ECFF 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#E0ECFF,GradientType=0); } .tabs-header, .tabs-tool { background-color: #E0ECFF; } .tabs-header-plain { background: transparent; } .tabs-header, .tabs-scroller-left, .tabs-scroller-right, .tabs-tool, .tabs, .tabs-panels, .tabs li a.tabs-inner, .tabs li.tabs-selected a.tabs-inner, .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, .tabs-header-left .tabs li.tabs-selected a.tabs-inner, .tabs-header-right .tabs li.tabs-selected a.tabs-inner { border-color: #95B8E7; } .tabs-p-tool a:hover, .tabs li a:hover.tabs-close, .tabs-scroller-over { background-color: #eaf2ff; } .tabs li.tabs-selected a.tabs-inner { border-bottom: 1px solid #ffffff; } .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { border-top: 1px solid #ffffff; } .tabs-header-left .tabs li.tabs-selected a.tabs-inner { border-right: 1px solid #ffffff; } .tabs-header-right .tabs li.tabs-selected a.tabs-inner { border-left: 1px solid #ffffff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/textbox.css ================================================ .textbox { position: relative; border: 1px solid #95B8E7; background-color: #fff; vertical-align: middle; display: inline-block; overflow: hidden; white-space: nowrap; margin: 0; padding: 0; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .textbox .textbox-text { font-size: 12px; border: 0; margin: 0; padding: 4px; white-space: normal; vertical-align: top; outline-style: none; resize: none; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .textbox .textbox-prompt { font-size: 12px; color: #aaa; } .textbox-button, .textbox-button:hover { position: absolute; top: 0; padding: 0; vertical-align: top; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .textbox-button-right, .textbox-button-right:hover { border-width: 0 0 0 1px; } .textbox-button-left, .textbox-button-left:hover { border-width: 0 1px 0 0; } .textbox-addon { position: absolute; top: 0; } .textbox-icon { display: inline-block; width: 18px; height: 20px; overflow: hidden; vertical-align: top; background-position: center center; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); text-decoration: none; outline-style: none; } .textbox-icon-disabled, .textbox-icon-readonly { cursor: default; } .textbox-icon:hover { opacity: 1.0; filter: alpha(opacity=100); } .textbox-icon-disabled:hover { opacity: 0.6; filter: alpha(opacity=60); } .textbox-focused { -moz-box-shadow: 0 0 3px 0 #95B8E7; -webkit-box-shadow: 0 0 3px 0 #95B8E7; box-shadow: 0 0 3px 0 #95B8E7; } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/tooltip.css ================================================ .tooltip { position: absolute; display: none; z-index: 9900000; outline: none; opacity: 1; filter: alpha(opacity=100); padding: 5px; border-width: 1px; border-style: solid; border-radius: 5px; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .tooltip-content { font-size: 12px; } .tooltip-arrow-outer, .tooltip-arrow { position: absolute; width: 0; height: 0; line-height: 0; font-size: 0; border-style: solid; border-width: 6px; border-color: transparent; _border-color: tomato; _filter: chroma(color=tomato); } .tooltip-right .tooltip-arrow-outer { left: 0; top: 50%; margin: -6px 0 0 -13px; } .tooltip-right .tooltip-arrow { left: 0; top: 50%; margin: -6px 0 0 -12px; } .tooltip-left .tooltip-arrow-outer { right: 0; top: 50%; margin: -6px -13px 0 0; } .tooltip-left .tooltip-arrow { right: 0; top: 50%; margin: -6px -12px 0 0; } .tooltip-top .tooltip-arrow-outer { bottom: 0; left: 50%; margin: 0 0 -13px -6px; } .tooltip-top .tooltip-arrow { bottom: 0; left: 50%; margin: 0 0 -12px -6px; } .tooltip-bottom .tooltip-arrow-outer { top: 0; left: 50%; margin: -13px 0 0 -6px; } .tooltip-bottom .tooltip-arrow { top: 0; left: 50%; margin: -12px 0 0 -6px; } .tooltip { background-color: #ffffff; border-color: #95B8E7; color: #000000; } .tooltip-right .tooltip-arrow-outer { border-right-color: #95B8E7; } .tooltip-right .tooltip-arrow { border-right-color: #ffffff; } .tooltip-left .tooltip-arrow-outer { border-left-color: #95B8E7; } .tooltip-left .tooltip-arrow { border-left-color: #ffffff; } .tooltip-top .tooltip-arrow-outer { border-top-color: #95B8E7; } .tooltip-top .tooltip-arrow { border-top-color: #ffffff; } .tooltip-bottom .tooltip-arrow-outer { border-bottom-color: #95B8E7; } .tooltip-bottom .tooltip-arrow { border-bottom-color: #ffffff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/tree.css ================================================ .tree { margin: 0; padding: 0; list-style-type: none; } .tree li { white-space: nowrap; } .tree li ul { list-style-type: none; margin: 0; padding: 0; } .tree-node { height: 18px; white-space: nowrap; cursor: pointer; } .tree-hit { cursor: pointer; } .tree-expanded, .tree-collapsed, .tree-folder, .tree-file, .tree-checkbox, .tree-indent { display: inline-block; width: 16px; height: 18px; vertical-align: top; overflow: hidden; } .tree-expanded { background: url('images/tree_icons.png') no-repeat -18px 0px; } .tree-expanded-hover { background: url('images/tree_icons.png') no-repeat -50px 0px; } .tree-collapsed { background: url('images/tree_icons.png') no-repeat 0px 0px; } .tree-collapsed-hover { background: url('images/tree_icons.png') no-repeat -32px 0px; } .tree-lines .tree-expanded, .tree-lines .tree-root-first .tree-expanded { background: url('images/tree_icons.png') no-repeat -144px 0; } .tree-lines .tree-collapsed, .tree-lines .tree-root-first .tree-collapsed { background: url('images/tree_icons.png') no-repeat -128px 0; } .tree-lines .tree-node-last .tree-expanded, .tree-lines .tree-root-one .tree-expanded { background: url('images/tree_icons.png') no-repeat -80px 0; } .tree-lines .tree-node-last .tree-collapsed, .tree-lines .tree-root-one .tree-collapsed { background: url('images/tree_icons.png') no-repeat -64px 0; } .tree-line { background: url('images/tree_icons.png') no-repeat -176px 0; } .tree-join { background: url('images/tree_icons.png') no-repeat -192px 0; } .tree-joinbottom { background: url('images/tree_icons.png') no-repeat -160px 0; } .tree-folder { background: url('images/tree_icons.png') no-repeat -208px 0; } .tree-folder-open { background: url('images/tree_icons.png') no-repeat -224px 0; } .tree-file { background: url('images/tree_icons.png') no-repeat -240px 0; } .tree-loading { background: url('images/loading.gif') no-repeat center center; } .tree-checkbox0 { background: url('images/tree_icons.png') no-repeat -208px -18px; } .tree-checkbox1 { background: url('images/tree_icons.png') no-repeat -224px -18px; } .tree-checkbox2 { background: url('images/tree_icons.png') no-repeat -240px -18px; } .tree-title { font-size: 12px; display: inline-block; text-decoration: none; vertical-align: top; white-space: nowrap; padding: 0 2px; height: 18px; line-height: 18px; } .tree-node-proxy { font-size: 12px; line-height: 20px; padding: 0 2px 0 20px; border-width: 1px; border-style: solid; z-index: 9900000; } .tree-dnd-icon { display: inline-block; position: absolute; width: 16px; height: 18px; left: 2px; top: 50%; margin-top: -9px; } .tree-dnd-yes { background: url('images/tree_icons.png') no-repeat -256px 0; } .tree-dnd-no { background: url('images/tree_icons.png') no-repeat -256px -18px; } .tree-node-top { border-top: 1px dotted red; } .tree-node-bottom { border-bottom: 1px dotted red; } .tree-node-append .tree-title { border: 1px dotted red; } .tree-editor { border: 1px solid #ccc; font-size: 12px; height: 14px !important; height: 18px; line-height: 14px; padding: 1px 2px; width: 80px; position: absolute; top: 0; } .tree-node-proxy { background-color: #ffffff; color: #000000; border-color: #95B8E7; } .tree-node-hover { background: #eaf2ff; color: #000000; } .tree-node-selected { background: #ffe48d; color: #000000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/validatebox.css ================================================ .validatebox-invalid { border-color: #ffa8a8; background-color: #fff3f3; color: #000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/default/window.css ================================================ .window { overflow: hidden; padding: 5px; border-width: 1px; border-style: solid; } .window .window-header { background: transparent; padding: 0px 0px 6px 0px; } .window .window-body { border-width: 1px; border-style: solid; border-top-width: 0px; } .window .window-body-noheader { border-top-width: 1px; } .window .panel-body-nobottom { border-bottom-width: 0; } .window .window-header .panel-icon, .window .window-header .panel-tool { top: 50%; margin-top: -11px; } .window .window-header .panel-icon { left: 1px; } .window .window-header .panel-tool { right: 1px; } .window .window-header .panel-with-icon { padding-left: 18px; } .window-proxy { position: absolute; overflow: hidden; } .window-proxy-mask { position: absolute; filter: alpha(opacity=5); opacity: 0.05; } .window-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; filter: alpha(opacity=40); opacity: 0.40; font-size: 1px; overflow: hidden; } .window, .window-shadow { position: absolute; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .window-shadow { background: #ccc; -moz-box-shadow: 2px 2px 3px #cccccc; -webkit-box-shadow: 2px 2px 3px #cccccc; box-shadow: 2px 2px 3px #cccccc; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); } .window, .window .window-body { border-color: #95B8E7; } .window { background-color: #E0ECFF; background: -webkit-linear-gradient(top,#EFF5FF 0,#E0ECFF 20%); background: -moz-linear-gradient(top,#EFF5FF 0,#E0ECFF 20%); background: -o-linear-gradient(top,#EFF5FF 0,#E0ECFF 20%); background: linear-gradient(to bottom,#EFF5FF 0,#E0ECFF 20%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#E0ECFF,GradientType=0); } .window-proxy { border: 1px dashed #95B8E7; } .window-proxy-mask, .window-mask { background: #ccc; } .window .panel-footer { border: 1px solid #95B8E7; position: relative; top: -1px; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/accordion.css ================================================ .accordion { overflow: hidden; border-width: 1px; border-style: solid; } .accordion .accordion-header { border-width: 0 0 1px; cursor: pointer; } .accordion .accordion-body { border-width: 0 0 1px; } .accordion-noborder { border-width: 0; } .accordion-noborder .accordion-header { border-width: 0 0 1px; } .accordion-noborder .accordion-body { border-width: 0 0 1px; } .accordion-collapse { background: url('images/accordion_arrows.png') no-repeat 0 0; } .accordion-expand { background: url('images/accordion_arrows.png') no-repeat -16px 0; } .accordion { background: #ffffff; border-color: #D3D3D3; } .accordion .accordion-header { background: #f3f3f3; filter: none; } .accordion .accordion-header-selected { background: #0092DC; } .accordion .accordion-header-selected .panel-title { color: #fff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/calendar.css ================================================ .calendar { border-width: 1px; border-style: solid; padding: 1px; overflow: hidden; } .calendar table { table-layout: fixed; border-collapse: separate; font-size: 12px; width: 100%; height: 100%; } .calendar table td, .calendar table th { font-size: 12px; } .calendar-noborder { border: 0; } .calendar-header { position: relative; height: 22px; } .calendar-title { text-align: center; height: 22px; } .calendar-title span { position: relative; display: inline-block; top: 2px; padding: 0 3px; height: 18px; line-height: 18px; font-size: 12px; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-prevmonth, .calendar-nextmonth, .calendar-prevyear, .calendar-nextyear { position: absolute; top: 50%; margin-top: -7px; width: 14px; height: 14px; cursor: pointer; font-size: 1px; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-prevmonth { left: 20px; background: url('images/calendar_arrows.png') no-repeat -18px -2px; } .calendar-nextmonth { right: 20px; background: url('images/calendar_arrows.png') no-repeat -34px -2px; } .calendar-prevyear { left: 3px; background: url('images/calendar_arrows.png') no-repeat -1px -2px; } .calendar-nextyear { right: 3px; background: url('images/calendar_arrows.png') no-repeat -49px -2px; } .calendar-body { position: relative; } .calendar-body th, .calendar-body td { text-align: center; } .calendar-day { border: 0; padding: 1px; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-other-month { opacity: 0.3; filter: alpha(opacity=30); } .calendar-disabled { opacity: 0.6; filter: alpha(opacity=60); cursor: default; } .calendar-menu { position: absolute; top: 0; left: 0; width: 180px; height: 150px; padding: 5px; font-size: 12px; display: none; overflow: hidden; } .calendar-menu-year-inner { text-align: center; padding-bottom: 5px; } .calendar-menu-year { width: 40px; text-align: center; border-width: 1px; border-style: solid; margin: 0; padding: 2px; font-weight: bold; font-size: 12px; } .calendar-menu-prev, .calendar-menu-next { display: inline-block; width: 21px; height: 21px; vertical-align: top; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-menu-prev { margin-right: 10px; background: url('images/calendar_arrows.png') no-repeat 2px 2px; } .calendar-menu-next { margin-left: 10px; background: url('images/calendar_arrows.png') no-repeat -45px 2px; } .calendar-menu-month { text-align: center; cursor: pointer; font-weight: bold; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-body th, .calendar-menu-month { color: #4d4d4d; } .calendar-day { color: #000000; } .calendar-sunday { color: #CC2222; } .calendar-saturday { color: #00ee00; } .calendar-today { color: #0000ff; } .calendar-menu-year { border-color: #D3D3D3; } .calendar { border-color: #D3D3D3; } .calendar-header { background: #f3f3f3; } .calendar-body, .calendar-menu { background: #ffffff; } .calendar-body th { background: #fafafa; padding: 2px 0; } .calendar-hover, .calendar-nav-hover, .calendar-menu-hover { background-color: #e2e2e2; color: #000000; } .calendar-hover { border: 1px solid #ccc; padding: 0; } .calendar-selected { background-color: #0092DC; color: #fff; border: 1px solid #0070a9; padding: 0; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/combo.css ================================================ .combo { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .combo .combo-text { font-size: 12px; border: 0px; margin: 0; padding: 0px 2px; vertical-align: baseline; } .combo-arrow { width: 18px; height: 20px; overflow: hidden; display: inline-block; vertical-align: top; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); } .combo-arrow-hover { opacity: 1.0; filter: alpha(opacity=100); } .combo-panel { overflow: auto; } .combo-arrow { background: url('images/combo_arrow.png') no-repeat center center; } .combo-panel { background-color: #ffffff; } .combo { border-color: #D3D3D3; background-color: #fff; } .combo-arrow { background-color: #f3f3f3; } .combo-arrow-hover { background-color: #e2e2e2; } .combo-arrow:hover { background-color: #e2e2e2; } .combo .textbox-icon-disabled:hover { cursor: default; } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/combobox.css ================================================ .combobox-item, .combobox-group { font-size: 12px; padding: 3px; padding-right: 0px; } .combobox-item-disabled { opacity: 0.5; filter: alpha(opacity=50); } .combobox-gitem { padding-left: 10px; } .combobox-group { font-weight: bold; } .combobox-item-hover { background-color: #e2e2e2; color: #000000; } .combobox-item-selected { background-color: #0092DC; color: #fff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/datagrid.css ================================================ .datagrid .panel-body { overflow: hidden; position: relative; } .datagrid-view { position: relative; overflow: hidden; } .datagrid-view1, .datagrid-view2 { position: absolute; overflow: hidden; top: 0; } .datagrid-view1 { left: 0; } .datagrid-view2 { right: 0; } .datagrid-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0.3; filter: alpha(opacity=30); display: none; } .datagrid-mask-msg { position: absolute; top: 50%; margin-top: -20px; padding: 10px 5px 10px 30px; width: auto; height: 16px; border-width: 2px; border-style: solid; display: none; } .datagrid-sort-icon { padding: 0; } .datagrid-toolbar { height: auto; padding: 1px 2px; border-width: 0 0 1px 0; border-style: solid; } .datagrid-btn-separator { float: left; height: 24px; border-left: 1px solid #ccc; border-right: 1px solid #fff; margin: 2px 1px; } .datagrid .datagrid-pager { display: block; margin: 0; border-width: 1px 0 0 0; border-style: solid; } .datagrid .datagrid-pager-top { border-width: 0 0 1px 0; } .datagrid-header { overflow: hidden; cursor: default; border-width: 0 0 1px 0; border-style: solid; } .datagrid-header-inner { float: left; width: 10000px; } .datagrid-header-row, .datagrid-row { height: 25px; } .datagrid-header td, .datagrid-body td, .datagrid-footer td { border-width: 0 1px 1px 0; border-style: dotted; margin: 0; padding: 0; } .datagrid-cell, .datagrid-cell-group, .datagrid-header-rownumber, .datagrid-cell-rownumber { margin: 0; padding: 0 4px; white-space: nowrap; word-wrap: normal; overflow: hidden; height: 18px; line-height: 18px; font-size: 12px; } .datagrid-header .datagrid-cell { height: auto; } .datagrid-header .datagrid-cell span { font-size: 12px; } .datagrid-cell-group { text-align: center; } .datagrid-header-rownumber, .datagrid-cell-rownumber { width: 25px; text-align: center; margin: 0; padding: 0; } .datagrid-body { margin: 0; padding: 0; overflow: auto; zoom: 1; } .datagrid-view1 .datagrid-body-inner { padding-bottom: 20px; } .datagrid-view1 .datagrid-body { overflow: hidden; } .datagrid-footer { overflow: hidden; } .datagrid-footer-inner { border-width: 1px 0 0 0; border-style: solid; width: 10000px; float: left; } .datagrid-row-editing .datagrid-cell { height: auto; } .datagrid-header-check, .datagrid-cell-check { padding: 0; width: 27px; height: 18px; font-size: 1px; text-align: center; overflow: hidden; } .datagrid-header-check input, .datagrid-cell-check input { margin: 0; padding: 0; width: 15px; height: 18px; } .datagrid-resize-proxy { position: absolute; width: 1px; height: 10000px; top: 0; cursor: e-resize; display: none; } .datagrid-body .datagrid-editable { margin: 0; padding: 0; } .datagrid-body .datagrid-editable table { width: 100%; height: 100%; } .datagrid-body .datagrid-editable td { border: 0; margin: 0; padding: 0; } .datagrid-view .datagrid-editable-input { margin: 0; padding: 2px 4px; border: 1px solid #D3D3D3; font-size: 12px; outline-style: none; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .datagrid-sort-desc .datagrid-sort-icon { padding: 0 13px 0 0; background: url('images/datagrid_icons.png') no-repeat -16px center; } .datagrid-sort-asc .datagrid-sort-icon { padding: 0 13px 0 0; background: url('images/datagrid_icons.png') no-repeat 0px center; } .datagrid-row-collapse { background: url('images/datagrid_icons.png') no-repeat -48px center; } .datagrid-row-expand { background: url('images/datagrid_icons.png') no-repeat -32px center; } .datagrid-mask-msg { background: #ffffff url('images/loading.gif') no-repeat scroll 5px center; } .datagrid-header, .datagrid-td-rownumber { background-color: #fafafa; background: -webkit-linear-gradient(top,#fdfdfd 0,#f5f5f5 100%); background: -moz-linear-gradient(top,#fdfdfd 0,#f5f5f5 100%); background: -o-linear-gradient(top,#fdfdfd 0,#f5f5f5 100%); background: linear-gradient(to bottom,#fdfdfd 0,#f5f5f5 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#fdfdfd,endColorstr=#f5f5f5,GradientType=0); } .datagrid-cell-rownumber { color: #000000; } .datagrid-resize-proxy { background: #bfbfbf; } .datagrid-mask { background: #ccc; } .datagrid-mask-msg { border-color: #D3D3D3; } .datagrid-toolbar, .datagrid-pager { background: #fafafa; } .datagrid-header, .datagrid-toolbar, .datagrid-pager, .datagrid-footer-inner { border-color: #ddd; } .datagrid-header td, .datagrid-body td, .datagrid-footer td { border-color: #ccc; } .datagrid-htable, .datagrid-btable, .datagrid-ftable { color: #000000; border-collapse: separate; } .datagrid-row-alt { background: #fafafa; } .datagrid-row-over, .datagrid-header td.datagrid-header-over { background: #e2e2e2; color: #000000; cursor: default; } .datagrid-row-selected { background: #0092DC; color: #fff; } .datagrid-row-editing .textbox, .datagrid-row-editing .textbox-text { -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/datebox.css ================================================ .datebox-calendar-inner { height: 180px; } .datebox-button { height: 18px; padding: 2px 5px; text-align: center; } .datebox-button a { font-size: 12px; font-weight: bold; text-decoration: none; opacity: 0.6; filter: alpha(opacity=60); } .datebox-button a:hover { opacity: 1.0; filter: alpha(opacity=100); } .datebox-current, .datebox-close { float: left; } .datebox-close { float: right; } .datebox .combo-arrow { background-image: url('images/datebox_arrow.png'); background-position: center center; } .datebox-button { background-color: #fafafa; } .datebox-button a { color: #444; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/dialog.css ================================================ .dialog-content { overflow: auto; } .dialog-toolbar { padding: 2px 5px; } .dialog-tool-separator { float: left; height: 24px; border-left: 1px solid #ccc; border-right: 1px solid #fff; margin: 2px 1px; } .dialog-button { padding: 5px; text-align: right; } .dialog-button .l-btn { margin-left: 5px; } .dialog-toolbar, .dialog-button { background: #fafafa; border-width: 1px; border-style: solid; } .dialog-toolbar { border-color: #D3D3D3 #D3D3D3 #ddd #D3D3D3; } .dialog-button { border-color: #ddd #D3D3D3 #D3D3D3 #D3D3D3; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/easyui.css ================================================ .panel { overflow: hidden; text-align: left; margin: 0; border: 0; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .panel-header, .panel-body { border-width: 1px; border-style: solid; } .panel-header { padding: 5px; position: relative; } .panel-title { background: url('images/blank.gif') no-repeat; } .panel-header-noborder { border-width: 0 0 1px 0; } .panel-body { overflow: auto; border-top-width: 0; padding: 0; } .panel-body-noheader { border-top-width: 1px; } .panel-body-noborder { border-width: 0px; } .panel-body-nobottom { border-bottom-width: 0; } .panel-with-icon { padding-left: 18px; } .panel-icon, .panel-tool { position: absolute; top: 50%; margin-top: -8px; height: 16px; overflow: hidden; } .panel-icon { left: 5px; width: 16px; } .panel-tool { right: 5px; width: auto; } .panel-tool a { display: inline-block; width: 16px; height: 16px; opacity: 0.6; filter: alpha(opacity=60); margin: 0 0 0 2px; vertical-align: top; } .panel-tool a:hover { opacity: 1; filter: alpha(opacity=100); background-color: #e2e2e2; -moz-border-radius: 3px 3px 3px 3px; -webkit-border-radius: 3px 3px 3px 3px; border-radius: 3px 3px 3px 3px; } .panel-loading { padding: 11px 0px 10px 30px; } .panel-noscroll { overflow: hidden; } .panel-fit, .panel-fit body { height: 100%; margin: 0; padding: 0; border: 0; overflow: hidden; } .panel-loading { background: url('images/loading.gif') no-repeat 10px 10px; } .panel-tool-close { background: url('images/panel_tools.png') no-repeat -16px 0px; } .panel-tool-min { background: url('images/panel_tools.png') no-repeat 0px 0px; } .panel-tool-max { background: url('images/panel_tools.png') no-repeat 0px -16px; } .panel-tool-restore { background: url('images/panel_tools.png') no-repeat -16px -16px; } .panel-tool-collapse { background: url('images/panel_tools.png') no-repeat -32px 0; } .panel-tool-expand { background: url('images/panel_tools.png') no-repeat -32px -16px; } .panel-header, .panel-body { border-color: #D3D3D3; } .panel-header { background-color: #f3f3f3; background: -webkit-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); background: -moz-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); background: -o-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); background: linear-gradient(to bottom,#F8F8F8 0,#eeeeee 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#eeeeee,GradientType=0); } .panel-body { background-color: #ffffff; color: #000000; font-size: 12px; } .panel-title { font-size: 12px; font-weight: bold; color: #575765; height: 16px; line-height: 16px; } .panel-footer { border: 1px solid #D3D3D3; overflow: hidden; background: #fafafa; } .panel-footer-noborder { border-width: 1px 0 0 0; } .accordion { overflow: hidden; border-width: 1px; border-style: solid; } .accordion .accordion-header { border-width: 0 0 1px; cursor: pointer; } .accordion .accordion-body { border-width: 0 0 1px; } .accordion-noborder { border-width: 0; } .accordion-noborder .accordion-header { border-width: 0 0 1px; } .accordion-noborder .accordion-body { border-width: 0 0 1px; } .accordion-collapse { background: url('images/accordion_arrows.png') no-repeat 0 0; } .accordion-expand { background: url('images/accordion_arrows.png') no-repeat -16px 0; } .accordion { background: #ffffff; border-color: #D3D3D3; } .accordion .accordion-header { background: #f3f3f3; filter: none; } .accordion .accordion-header-selected { background: #0092DC; } .accordion .accordion-header-selected .panel-title { color: #fff; } .window { overflow: hidden; padding: 5px; border-width: 1px; border-style: solid; } .window .window-header { background: transparent; padding: 0px 0px 6px 0px; } .window .window-body { border-width: 1px; border-style: solid; border-top-width: 0px; } .window .window-body-noheader { border-top-width: 1px; } .window .panel-body-nobottom { border-bottom-width: 0; } .window .window-header .panel-icon, .window .window-header .panel-tool { top: 50%; margin-top: -11px; } .window .window-header .panel-icon { left: 1px; } .window .window-header .panel-tool { right: 1px; } .window .window-header .panel-with-icon { padding-left: 18px; } .window-proxy { position: absolute; overflow: hidden; } .window-proxy-mask { position: absolute; filter: alpha(opacity=5); opacity: 0.05; } .window-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; filter: alpha(opacity=40); opacity: 0.40; font-size: 1px; overflow: hidden; } .window, .window-shadow { position: absolute; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .window-shadow { background: #ccc; -moz-box-shadow: 2px 2px 3px #cccccc; -webkit-box-shadow: 2px 2px 3px #cccccc; box-shadow: 2px 2px 3px #cccccc; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); } .window, .window .window-body { border-color: #D3D3D3; } .window { background-color: #f3f3f3; background: -webkit-linear-gradient(top,#F8F8F8 0,#eeeeee 20%); background: -moz-linear-gradient(top,#F8F8F8 0,#eeeeee 20%); background: -o-linear-gradient(top,#F8F8F8 0,#eeeeee 20%); background: linear-gradient(to bottom,#F8F8F8 0,#eeeeee 20%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#eeeeee,GradientType=0); } .window-proxy { border: 1px dashed #D3D3D3; } .window-proxy-mask, .window-mask { background: #ccc; } .window .panel-footer { border: 1px solid #D3D3D3; position: relative; top: -1px; } .dialog-content { overflow: auto; } .dialog-toolbar { padding: 2px 5px; } .dialog-tool-separator { float: left; height: 24px; border-left: 1px solid #ccc; border-right: 1px solid #fff; margin: 2px 1px; } .dialog-button { padding: 5px; text-align: right; } .dialog-button .l-btn { margin-left: 5px; } .dialog-toolbar, .dialog-button { background: #fafafa; border-width: 1px; border-style: solid; } .dialog-toolbar { border-color: #D3D3D3 #D3D3D3 #ddd #D3D3D3; } .dialog-button { border-color: #ddd #D3D3D3 #D3D3D3 #D3D3D3; } .l-btn { text-decoration: none; display: inline-block; overflow: hidden; margin: 0; padding: 0; cursor: pointer; outline: none; text-align: center; vertical-align: middle; } .l-btn-plain { border: 0; padding: 1px; } .l-btn-left { display: inline-block; position: relative; overflow: hidden; margin: 0; padding: 0; vertical-align: top; } .l-btn-text { display: inline-block; vertical-align: top; width: auto; line-height: 24px; font-size: 12px; padding: 0; margin: 0 4px; } .l-btn-icon { display: inline-block; width: 16px; height: 16px; line-height: 16px; position: absolute; top: 50%; margin-top: -8px; font-size: 1px; } .l-btn span span .l-btn-empty { display: inline-block; margin: 0; width: 16px; height: 24px; font-size: 1px; vertical-align: top; } .l-btn span .l-btn-icon-left { padding: 0 0 0 20px; background-position: left center; } .l-btn span .l-btn-icon-right { padding: 0 20px 0 0; background-position: right center; } .l-btn-icon-left .l-btn-text { margin: 0 4px 0 24px; } .l-btn-icon-left .l-btn-icon { left: 4px; } .l-btn-icon-right .l-btn-text { margin: 0 24px 0 4px; } .l-btn-icon-right .l-btn-icon { right: 4px; } .l-btn-icon-top .l-btn-text { margin: 20px 4px 0 4px; } .l-btn-icon-top .l-btn-icon { top: 4px; left: 50%; margin: 0 0 0 -8px; } .l-btn-icon-bottom .l-btn-text { margin: 0 4px 20px 4px; } .l-btn-icon-bottom .l-btn-icon { top: auto; bottom: 4px; left: 50%; margin: 0 0 0 -8px; } .l-btn-left .l-btn-empty { margin: 0 4px; width: 16px; } .l-btn-plain:hover { padding: 0; } .l-btn-focus { outline: #0000FF dotted thin; } .l-btn-large .l-btn-text { line-height: 40px; } .l-btn-large .l-btn-icon { width: 32px; height: 32px; line-height: 32px; margin-top: -16px; } .l-btn-large .l-btn-icon-left .l-btn-text { margin-left: 40px; } .l-btn-large .l-btn-icon-right .l-btn-text { margin-right: 40px; } .l-btn-large .l-btn-icon-top .l-btn-text { margin-top: 36px; line-height: 24px; min-width: 32px; } .l-btn-large .l-btn-icon-top .l-btn-icon { margin: 0 0 0 -16px; } .l-btn-large .l-btn-icon-bottom .l-btn-text { margin-bottom: 36px; line-height: 24px; min-width: 32px; } .l-btn-large .l-btn-icon-bottom .l-btn-icon { margin: 0 0 0 -16px; } .l-btn-large .l-btn-left .l-btn-empty { margin: 0 4px; width: 32px; } .l-btn { color: #444; background: #fafafa; background-repeat: repeat-x; border: 1px solid #bbb; background: -webkit-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: -moz-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: -o-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: linear-gradient(to bottom,#ffffff 0,#eeeeee 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0); -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .l-btn:hover { background: #e2e2e2; color: #000000; border: 1px solid #ccc; filter: none; } .l-btn-plain { background: transparent; border: 0; filter: none; } .l-btn-plain:hover { background: #e2e2e2; color: #000000; border: 1px solid #ccc; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .l-btn-disabled, .l-btn-disabled:hover { opacity: 0.5; cursor: default; background: #fafafa; color: #444; background: -webkit-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: -moz-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: -o-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: linear-gradient(to bottom,#ffffff 0,#eeeeee 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0); } .l-btn-disabled .l-btn-text, .l-btn-disabled .l-btn-icon { filter: alpha(opacity=50); } .l-btn-plain-disabled, .l-btn-plain-disabled:hover { background: transparent; filter: alpha(opacity=50); } .l-btn-selected, .l-btn-selected:hover { background: #ddd; filter: none; } .l-btn-plain-selected, .l-btn-plain-selected:hover { background: #ddd; } .textbox { position: relative; border: 1px solid #D3D3D3; background-color: #fff; vertical-align: middle; display: inline-block; overflow: hidden; white-space: nowrap; margin: 0; padding: 0; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .textbox .textbox-text { font-size: 12px; border: 0; margin: 0; padding: 4px; white-space: normal; vertical-align: top; outline-style: none; resize: none; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .textbox .textbox-prompt { font-size: 12px; color: #aaa; } .textbox-button, .textbox-button:hover { position: absolute; top: 0; padding: 0; vertical-align: top; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .textbox-button-right, .textbox-button-right:hover { border-width: 0 0 0 1px; } .textbox-button-left, .textbox-button-left:hover { border-width: 0 1px 0 0; } .textbox-addon { position: absolute; top: 0; } .textbox-icon { display: inline-block; width: 18px; height: 20px; overflow: hidden; vertical-align: top; background-position: center center; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); text-decoration: none; outline-style: none; } .textbox-icon-disabled, .textbox-icon-readonly { cursor: default; } .textbox-icon:hover { opacity: 1.0; filter: alpha(opacity=100); } .textbox-icon-disabled:hover { opacity: 0.6; filter: alpha(opacity=60); } .textbox-focused { -moz-box-shadow: 0 0 3px 0 #D3D3D3; -webkit-box-shadow: 0 0 3px 0 #D3D3D3; box-shadow: 0 0 3px 0 #D3D3D3; } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } .filebox .textbox-value { vertical-align: top; position: absolute; top: 0; left: -5000px; } .combo { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .combo .combo-text { font-size: 12px; border: 0px; margin: 0; padding: 0px 2px; vertical-align: baseline; } .combo-arrow { width: 18px; height: 20px; overflow: hidden; display: inline-block; vertical-align: top; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); } .combo-arrow-hover { opacity: 1.0; filter: alpha(opacity=100); } .combo-panel { overflow: auto; } .combo-arrow { background: url('images/combo_arrow.png') no-repeat center center; } .combo-panel { background-color: #ffffff; } .combo { border-color: #D3D3D3; background-color: #fff; } .combo-arrow { background-color: #f3f3f3; } .combo-arrow-hover { background-color: #e2e2e2; } .combo-arrow:hover { background-color: #e2e2e2; } .combo .textbox-icon-disabled:hover { cursor: default; } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } .combobox-item, .combobox-group { font-size: 12px; padding: 3px; padding-right: 0px; } .combobox-item-disabled { opacity: 0.5; filter: alpha(opacity=50); } .combobox-gitem { padding-left: 10px; } .combobox-group { font-weight: bold; } .combobox-item-hover { background-color: #e2e2e2; color: #000000; } .combobox-item-selected { background-color: #0092DC; color: #fff; } .layout { position: relative; overflow: hidden; margin: 0; padding: 0; z-index: 0; } .layout-panel { position: absolute; overflow: hidden; } .layout-panel-east, .layout-panel-west { z-index: 2; } .layout-panel-north, .layout-panel-south { z-index: 3; } .layout-expand { position: absolute; padding: 0px; font-size: 1px; cursor: pointer; z-index: 1; } .layout-expand .panel-header, .layout-expand .panel-body { background: transparent; filter: none; overflow: hidden; } .layout-expand .panel-header { border-bottom-width: 0px; } .layout-split-proxy-h, .layout-split-proxy-v { position: absolute; font-size: 1px; display: none; z-index: 5; } .layout-split-proxy-h { width: 5px; cursor: e-resize; } .layout-split-proxy-v { height: 5px; cursor: n-resize; } .layout-mask { position: absolute; background: #fafafa; filter: alpha(opacity=10); opacity: 0.10; z-index: 4; } .layout-button-up { background: url('images/layout_arrows.png') no-repeat -16px -16px; } .layout-button-down { background: url('images/layout_arrows.png') no-repeat -16px 0; } .layout-button-left { background: url('images/layout_arrows.png') no-repeat 0 0; } .layout-button-right { background: url('images/layout_arrows.png') no-repeat 0 -16px; } .layout-split-proxy-h, .layout-split-proxy-v { background-color: #bfbfbf; } .layout-split-north { border-bottom: 5px solid #efefef; } .layout-split-south { border-top: 5px solid #efefef; } .layout-split-east { border-left: 5px solid #efefef; } .layout-split-west { border-right: 5px solid #efefef; } .layout-expand { background-color: #f3f3f3; } .layout-expand-over { background-color: #f3f3f3; } .tabs-container { overflow: hidden; } .tabs-header { border-width: 1px; border-style: solid; border-bottom-width: 0; position: relative; padding: 0; padding-top: 2px; overflow: hidden; } .tabs-header-plain { border: 0; background: transparent; } .tabs-scroller-left, .tabs-scroller-right { position: absolute; top: auto; bottom: 0; width: 18px; font-size: 1px; display: none; cursor: pointer; border-width: 1px; border-style: solid; } .tabs-scroller-left { left: 0; } .tabs-scroller-right { right: 0; } .tabs-tool { position: absolute; bottom: 0; padding: 1px; overflow: hidden; border-width: 1px; border-style: solid; } .tabs-header-plain .tabs-tool { padding: 0 1px; } .tabs-wrap { position: relative; left: 0; overflow: hidden; width: 100%; margin: 0; padding: 0; } .tabs-scrolling { margin-left: 18px; margin-right: 18px; } .tabs-disabled { opacity: 0.3; filter: alpha(opacity=30); } .tabs { list-style-type: none; height: 26px; margin: 0px; padding: 0px; padding-left: 4px; width: 50000px; border-style: solid; border-width: 0 0 1px 0; } .tabs li { float: left; display: inline-block; margin: 0 4px -1px 0; padding: 0; position: relative; border: 0; } .tabs li a.tabs-inner { display: inline-block; text-decoration: none; margin: 0; padding: 0 10px; height: 25px; line-height: 25px; text-align: center; white-space: nowrap; border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 0 0; -webkit-border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0; } .tabs li.tabs-selected a.tabs-inner { font-weight: bold; outline: none; } .tabs li.tabs-selected a:hover.tabs-inner { cursor: default; pointer: default; } .tabs li a.tabs-close, .tabs-p-tool { position: absolute; font-size: 1px; display: block; height: 12px; padding: 0; top: 50%; margin-top: -6px; overflow: hidden; } .tabs li a.tabs-close { width: 12px; right: 5px; opacity: 0.6; filter: alpha(opacity=60); } .tabs-p-tool { right: 16px; } .tabs-p-tool a { display: inline-block; font-size: 1px; width: 12px; height: 12px; margin: 0; opacity: 0.6; filter: alpha(opacity=60); } .tabs li a:hover.tabs-close, .tabs-p-tool a:hover { opacity: 1; filter: alpha(opacity=100); cursor: hand; cursor: pointer; } .tabs-with-icon { padding-left: 18px; } .tabs-icon { position: absolute; width: 16px; height: 16px; left: 10px; top: 50%; margin-top: -8px; } .tabs-title { font-size: 12px; } .tabs-closable { padding-right: 8px; } .tabs-panels { margin: 0px; padding: 0px; border-width: 1px; border-style: solid; border-top-width: 0; overflow: hidden; } .tabs-header-bottom { border-width: 0 1px 1px 1px; padding: 0 0 2px 0; } .tabs-header-bottom .tabs { border-width: 1px 0 0 0; } .tabs-header-bottom .tabs li { margin: -1px 4px 0 0; } .tabs-header-bottom .tabs li a.tabs-inner { -moz-border-radius: 0 0 5px 5px; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .tabs-header-bottom .tabs-tool { top: 0; } .tabs-header-bottom .tabs-scroller-left, .tabs-header-bottom .tabs-scroller-right { top: 0; bottom: auto; } .tabs-panels-top { border-width: 1px 1px 0 1px; } .tabs-header-left { float: left; border-width: 1px 0 1px 1px; padding: 0; } .tabs-header-right { float: right; border-width: 1px 1px 1px 0; padding: 0; } .tabs-header-left .tabs-wrap, .tabs-header-right .tabs-wrap { height: 100%; } .tabs-header-left .tabs { height: 100%; padding: 4px 0 0 4px; border-width: 0 1px 0 0; } .tabs-header-right .tabs { height: 100%; padding: 4px 4px 0 0; border-width: 0 0 0 1px; } .tabs-header-left .tabs li, .tabs-header-right .tabs li { display: block; width: 100%; position: relative; } .tabs-header-left .tabs li { left: auto; right: 0; margin: 0 -1px 4px 0; float: right; } .tabs-header-right .tabs li { left: 0; right: auto; margin: 0 0 4px -1px; float: left; } .tabs-header-left .tabs li a.tabs-inner { display: block; text-align: left; -moz-border-radius: 5px 0 0 5px; -webkit-border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px; } .tabs-header-right .tabs li a.tabs-inner { display: block; text-align: left; -moz-border-radius: 0 5px 5px 0; -webkit-border-radius: 0 5px 5px 0; border-radius: 0 5px 5px 0; } .tabs-panels-right { float: right; border-width: 1px 1px 1px 0; } .tabs-panels-left { float: left; border-width: 1px 0 1px 1px; } .tabs-header-noborder, .tabs-panels-noborder { border: 0px; } .tabs-header-plain { border: 0px; background: transparent; } .tabs-scroller-left { background: #f3f3f3 url('images/tabs_icons.png') no-repeat 1px center; } .tabs-scroller-right { background: #f3f3f3 url('images/tabs_icons.png') no-repeat -15px center; } .tabs li a.tabs-close { background: url('images/tabs_icons.png') no-repeat -34px center; } .tabs li a.tabs-inner:hover { background: #e2e2e2; color: #000000; filter: none; } .tabs li.tabs-selected a.tabs-inner { background-color: #ffffff; color: #575765; background: -webkit-linear-gradient(top,#F8F8F8 0,#ffffff 100%); background: -moz-linear-gradient(top,#F8F8F8 0,#ffffff 100%); background: -o-linear-gradient(top,#F8F8F8 0,#ffffff 100%); background: linear-gradient(to bottom,#F8F8F8 0,#ffffff 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#ffffff,GradientType=0); } .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(top,#ffffff 0,#F8F8F8 100%); background: -moz-linear-gradient(top,#ffffff 0,#F8F8F8 100%); background: -o-linear-gradient(top,#ffffff 0,#F8F8F8 100%); background: linear-gradient(to bottom,#ffffff 0,#F8F8F8 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F8F8F8,GradientType=0); } .tabs-header-left .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(left,#F8F8F8 0,#ffffff 100%); background: -moz-linear-gradient(left,#F8F8F8 0,#ffffff 100%); background: -o-linear-gradient(left,#F8F8F8 0,#ffffff 100%); background: linear-gradient(to right,#F8F8F8 0,#ffffff 100%); background-repeat: repeat-y; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#ffffff,GradientType=1); } .tabs-header-right .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(left,#ffffff 0,#F8F8F8 100%); background: -moz-linear-gradient(left,#ffffff 0,#F8F8F8 100%); background: -o-linear-gradient(left,#ffffff 0,#F8F8F8 100%); background: linear-gradient(to right,#ffffff 0,#F8F8F8 100%); background-repeat: repeat-y; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F8F8F8,GradientType=1); } .tabs li a.tabs-inner { color: #575765; background-color: #f3f3f3; background: -webkit-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); background: -moz-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); background: -o-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); background: linear-gradient(to bottom,#F8F8F8 0,#eeeeee 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#eeeeee,GradientType=0); } .tabs-header, .tabs-tool { background-color: #f3f3f3; } .tabs-header-plain { background: transparent; } .tabs-header, .tabs-scroller-left, .tabs-scroller-right, .tabs-tool, .tabs, .tabs-panels, .tabs li a.tabs-inner, .tabs li.tabs-selected a.tabs-inner, .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, .tabs-header-left .tabs li.tabs-selected a.tabs-inner, .tabs-header-right .tabs li.tabs-selected a.tabs-inner { border-color: #D3D3D3; } .tabs-p-tool a:hover, .tabs li a:hover.tabs-close, .tabs-scroller-over { background-color: #e2e2e2; } .tabs li.tabs-selected a.tabs-inner { border-bottom: 1px solid #ffffff; } .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { border-top: 1px solid #ffffff; } .tabs-header-left .tabs li.tabs-selected a.tabs-inner { border-right: 1px solid #ffffff; } .tabs-header-right .tabs li.tabs-selected a.tabs-inner { border-left: 1px solid #ffffff; } .datagrid .panel-body { overflow: hidden; position: relative; } .datagrid-view { position: relative; overflow: hidden; } .datagrid-view1, .datagrid-view2 { position: absolute; overflow: hidden; top: 0; } .datagrid-view1 { left: 0; } .datagrid-view2 { right: 0; } .datagrid-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0.3; filter: alpha(opacity=30); display: none; } .datagrid-mask-msg { position: absolute; top: 50%; margin-top: -20px; padding: 10px 5px 10px 30px; width: auto; height: 16px; border-width: 2px; border-style: solid; display: none; } .datagrid-sort-icon { padding: 0; } .datagrid-toolbar { height: auto; padding: 1px 2px; border-width: 0 0 1px 0; border-style: solid; } .datagrid-btn-separator { float: left; height: 24px; border-left: 1px solid #ccc; border-right: 1px solid #fff; margin: 2px 1px; } .datagrid .datagrid-pager { display: block; margin: 0; border-width: 1px 0 0 0; border-style: solid; } .datagrid .datagrid-pager-top { border-width: 0 0 1px 0; } .datagrid-header { overflow: hidden; cursor: default; border-width: 0 0 1px 0; border-style: solid; } .datagrid-header-inner { float: left; width: 10000px; } .datagrid-header-row, .datagrid-row { height: 25px; } .datagrid-header td, .datagrid-body td, .datagrid-footer td { border-width: 0 1px 1px 0; border-style: dotted; margin: 0; padding: 0; } .datagrid-cell, .datagrid-cell-group, .datagrid-header-rownumber, .datagrid-cell-rownumber { margin: 0; padding: 0 4px; white-space: nowrap; word-wrap: normal; overflow: hidden; height: 18px; line-height: 18px; font-size: 12px; } .datagrid-header .datagrid-cell { height: auto; } .datagrid-header .datagrid-cell span { font-size: 12px; } .datagrid-cell-group { text-align: center; } .datagrid-header-rownumber, .datagrid-cell-rownumber { width: 25px; text-align: center; margin: 0; padding: 0; } .datagrid-body { margin: 0; padding: 0; overflow: auto; zoom: 1; } .datagrid-view1 .datagrid-body-inner { padding-bottom: 20px; } .datagrid-view1 .datagrid-body { overflow: hidden; } .datagrid-footer { overflow: hidden; } .datagrid-footer-inner { border-width: 1px 0 0 0; border-style: solid; width: 10000px; float: left; } .datagrid-row-editing .datagrid-cell { height: auto; } .datagrid-header-check, .datagrid-cell-check { padding: 0; width: 27px; height: 18px; font-size: 1px; text-align: center; overflow: hidden; } .datagrid-header-check input, .datagrid-cell-check input { margin: 0; padding: 0; width: 15px; height: 18px; } .datagrid-resize-proxy { position: absolute; width: 1px; height: 10000px; top: 0; cursor: e-resize; display: none; } .datagrid-body .datagrid-editable { margin: 0; padding: 0; } .datagrid-body .datagrid-editable table { width: 100%; height: 100%; } .datagrid-body .datagrid-editable td { border: 0; margin: 0; padding: 0; } .datagrid-view .datagrid-editable-input { margin: 0; padding: 2px 4px; border: 1px solid #D3D3D3; font-size: 12px; outline-style: none; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .datagrid-sort-desc .datagrid-sort-icon { padding: 0 13px 0 0; background: url('images/datagrid_icons.png') no-repeat -16px center; } .datagrid-sort-asc .datagrid-sort-icon { padding: 0 13px 0 0; background: url('images/datagrid_icons.png') no-repeat 0px center; } .datagrid-row-collapse { background: url('images/datagrid_icons.png') no-repeat -48px center; } .datagrid-row-expand { background: url('images/datagrid_icons.png') no-repeat -32px center; } .datagrid-mask-msg { background: #ffffff url('images/loading.gif') no-repeat scroll 5px center; } .datagrid-header, .datagrid-td-rownumber { background-color: #fafafa; background: -webkit-linear-gradient(top,#fdfdfd 0,#f5f5f5 100%); background: -moz-linear-gradient(top,#fdfdfd 0,#f5f5f5 100%); background: -o-linear-gradient(top,#fdfdfd 0,#f5f5f5 100%); background: linear-gradient(to bottom,#fdfdfd 0,#f5f5f5 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#fdfdfd,endColorstr=#f5f5f5,GradientType=0); } .datagrid-cell-rownumber { color: #000000; } .datagrid-resize-proxy { background: #bfbfbf; } .datagrid-mask { background: #ccc; } .datagrid-mask-msg { border-color: #D3D3D3; } .datagrid-toolbar, .datagrid-pager { background: #fafafa; } .datagrid-header, .datagrid-toolbar, .datagrid-pager, .datagrid-footer-inner { border-color: #ddd; } .datagrid-header td, .datagrid-body td, .datagrid-footer td { border-color: #ccc; } .datagrid-htable, .datagrid-btable, .datagrid-ftable { color: #000000; border-collapse: separate; } .datagrid-row-alt { background: #fafafa; } .datagrid-row-over, .datagrid-header td.datagrid-header-over { background: #e2e2e2; color: #000000; cursor: default; } .datagrid-row-selected { background: #0092DC; color: #fff; } .datagrid-row-editing .textbox, .datagrid-row-editing .textbox-text { -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .propertygrid .datagrid-view1 .datagrid-body td { padding-bottom: 1px; border-width: 0 1px 0 0; } .propertygrid .datagrid-group { height: 21px; overflow: hidden; border-width: 0 0 1px 0; border-style: solid; } .propertygrid .datagrid-group span { font-weight: bold; } .propertygrid .datagrid-view1 .datagrid-body td { border-color: #ddd; } .propertygrid .datagrid-view1 .datagrid-group { border-color: #f3f3f3; } .propertygrid .datagrid-view2 .datagrid-group { border-color: #ddd; } .propertygrid .datagrid-group, .propertygrid .datagrid-view1 .datagrid-body, .propertygrid .datagrid-view1 .datagrid-row-over, .propertygrid .datagrid-view1 .datagrid-row-selected { background: #f3f3f3; } .pagination { zoom: 1; } .pagination table { float: left; height: 30px; } .pagination td { border: 0; } .pagination-btn-separator { float: left; height: 24px; border-left: 1px solid #ccc; border-right: 1px solid #fff; margin: 3px 1px; } .pagination .pagination-num { border-width: 1px; border-style: solid; margin: 0 2px; padding: 2px; width: 2em; height: auto; } .pagination-page-list { margin: 0px 6px; padding: 1px 2px; width: auto; height: auto; border-width: 1px; border-style: solid; } .pagination-info { float: right; margin: 0 6px 0 0; padding: 0; height: 30px; line-height: 30px; font-size: 12px; } .pagination span { font-size: 12px; } .pagination-link .l-btn-text { width: 24px; text-align: center; margin: 0; } .pagination-first { background: url('images/pagination_icons.png') no-repeat 0 center; } .pagination-prev { background: url('images/pagination_icons.png') no-repeat -16px center; } .pagination-next { background: url('images/pagination_icons.png') no-repeat -32px center; } .pagination-last { background: url('images/pagination_icons.png') no-repeat -48px center; } .pagination-load { background: url('images/pagination_icons.png') no-repeat -64px center; } .pagination-loading { background: url('images/loading.gif') no-repeat center center; } .pagination-page-list, .pagination .pagination-num { border-color: #D3D3D3; } .calendar { border-width: 1px; border-style: solid; padding: 1px; overflow: hidden; } .calendar table { table-layout: fixed; border-collapse: separate; font-size: 12px; width: 100%; height: 100%; } .calendar table td, .calendar table th { font-size: 12px; } .calendar-noborder { border: 0; } .calendar-header { position: relative; height: 22px; } .calendar-title { text-align: center; height: 22px; } .calendar-title span { position: relative; display: inline-block; top: 2px; padding: 0 3px; height: 18px; line-height: 18px; font-size: 12px; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-prevmonth, .calendar-nextmonth, .calendar-prevyear, .calendar-nextyear { position: absolute; top: 50%; margin-top: -7px; width: 14px; height: 14px; cursor: pointer; font-size: 1px; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-prevmonth { left: 20px; background: url('images/calendar_arrows.png') no-repeat -18px -2px; } .calendar-nextmonth { right: 20px; background: url('images/calendar_arrows.png') no-repeat -34px -2px; } .calendar-prevyear { left: 3px; background: url('images/calendar_arrows.png') no-repeat -1px -2px; } .calendar-nextyear { right: 3px; background: url('images/calendar_arrows.png') no-repeat -49px -2px; } .calendar-body { position: relative; } .calendar-body th, .calendar-body td { text-align: center; } .calendar-day { border: 0; padding: 1px; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-other-month { opacity: 0.3; filter: alpha(opacity=30); } .calendar-disabled { opacity: 0.6; filter: alpha(opacity=60); cursor: default; } .calendar-menu { position: absolute; top: 0; left: 0; width: 180px; height: 150px; padding: 5px; font-size: 12px; display: none; overflow: hidden; } .calendar-menu-year-inner { text-align: center; padding-bottom: 5px; } .calendar-menu-year { width: 40px; text-align: center; border-width: 1px; border-style: solid; margin: 0; padding: 2px; font-weight: bold; font-size: 12px; } .calendar-menu-prev, .calendar-menu-next { display: inline-block; width: 21px; height: 21px; vertical-align: top; cursor: pointer; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-menu-prev { margin-right: 10px; background: url('images/calendar_arrows.png') no-repeat 2px 2px; } .calendar-menu-next { margin-left: 10px; background: url('images/calendar_arrows.png') no-repeat -45px 2px; } .calendar-menu-month { text-align: center; cursor: pointer; font-weight: bold; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .calendar-body th, .calendar-menu-month { color: #4d4d4d; } .calendar-day { color: #000000; } .calendar-sunday { color: #CC2222; } .calendar-saturday { color: #00ee00; } .calendar-today { color: #0000ff; } .calendar-menu-year { border-color: #D3D3D3; } .calendar { border-color: #D3D3D3; } .calendar-header { background: #f3f3f3; } .calendar-body, .calendar-menu { background: #ffffff; } .calendar-body th { background: #fafafa; padding: 2px 0; } .calendar-hover, .calendar-nav-hover, .calendar-menu-hover { background-color: #e2e2e2; color: #000000; } .calendar-hover { border: 1px solid #ccc; padding: 0; } .calendar-selected { background-color: #0092DC; color: #fff; border: 1px solid #0070a9; padding: 0; } .datebox-calendar-inner { height: 180px; } .datebox-button { height: 18px; padding: 2px 5px; text-align: center; } .datebox-button a { font-size: 12px; font-weight: bold; text-decoration: none; opacity: 0.6; filter: alpha(opacity=60); } .datebox-button a:hover { opacity: 1.0; filter: alpha(opacity=100); } .datebox-current, .datebox-close { float: left; } .datebox-close { float: right; } .datebox .combo-arrow { background-image: url('images/datebox_arrow.png'); background-position: center center; } .datebox-button { background-color: #fafafa; } .datebox-button a { color: #444; } .numberbox { border: 1px solid #D3D3D3; margin: 0; padding: 0 2px; vertical-align: middle; } .textbox { padding: 0; } .spinner { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .spinner .spinner-text { font-size: 12px; border: 0px; margin: 0; padding: 0 2px; vertical-align: baseline; } .spinner-arrow { background-color: #f3f3f3; display: inline-block; overflow: hidden; vertical-align: top; margin: 0; padding: 0; opacity: 1.0; filter: alpha(opacity=100); width: 18px; } .spinner-arrow-up, .spinner-arrow-down { opacity: 0.6; filter: alpha(opacity=60); display: block; font-size: 1px; width: 18px; height: 10px; width: 100%; height: 50%; outline-style: none; } .spinner-arrow-hover { background-color: #e2e2e2; opacity: 1.0; filter: alpha(opacity=100); } .spinner-arrow-up:hover, .spinner-arrow-down:hover { opacity: 1.0; filter: alpha(opacity=100); background-color: #e2e2e2; } .textbox-icon-disabled .spinner-arrow-up:hover, .textbox-icon-disabled .spinner-arrow-down:hover { opacity: 0.6; filter: alpha(opacity=60); background-color: #f3f3f3; cursor: default; } .spinner .textbox-icon-disabled { opacity: 0.6; filter: alpha(opacity=60); } .spinner-arrow-up { background: url('images/spinner_arrows.png') no-repeat 1px center; } .spinner-arrow-down { background: url('images/spinner_arrows.png') no-repeat -15px center; } .spinner { border-color: #D3D3D3; } .progressbar { border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; overflow: hidden; position: relative; } .progressbar-text { text-align: center; position: absolute; } .progressbar-value { position: relative; overflow: hidden; width: 0; -moz-border-radius: 5px 0 0 5px; -webkit-border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px; } .progressbar { border-color: #D3D3D3; } .progressbar-text { color: #000000; font-size: 12px; } .progressbar-value .progressbar-text { background-color: #0092DC; color: #fff; } .searchbox { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .searchbox .searchbox-text { font-size: 12px; border: 0; margin: 0; padding: 0 2px; vertical-align: top; } .searchbox .searchbox-prompt { font-size: 12px; color: #ccc; } .searchbox-button { width: 18px; height: 20px; overflow: hidden; display: inline-block; vertical-align: top; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); } .searchbox-button-hover { opacity: 1.0; filter: alpha(opacity=100); } .searchbox .l-btn-plain { border: 0; padding: 0; vertical-align: top; opacity: 0.6; filter: alpha(opacity=60); -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .l-btn-plain:hover { border: 0; padding: 0; opacity: 1.0; filter: alpha(opacity=100); -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox a.m-btn-plain-active { -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .m-btn-active { border-width: 0 1px 0 0; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .textbox-button-right { border-width: 0 0 0 1px; } .searchbox .textbox-button-left { border-width: 0 1px 0 0; } .searchbox-button { background: url('images/searchbox_button.png') no-repeat center center; } .searchbox { border-color: #D3D3D3; background-color: #fff; } .searchbox .l-btn-plain { background: #f3f3f3; } .searchbox .l-btn-plain-disabled, .searchbox .l-btn-plain-disabled:hover { opacity: 0.5; filter: alpha(opacity=50); } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } .slider-disabled { opacity: 0.5; filter: alpha(opacity=50); } .slider-h { height: 22px; } .slider-v { width: 22px; } .slider-inner { position: relative; height: 6px; top: 7px; border-width: 1px; border-style: solid; border-radius: 5px; } .slider-handle { position: absolute; display: block; outline: none; width: 20px; height: 20px; top: 50%; margin-top: -10px; margin-left: -10px; } .slider-tip { position: absolute; display: inline-block; line-height: 12px; font-size: 12px; white-space: nowrap; top: -22px; } .slider-rule { position: relative; top: 15px; } .slider-rule span { position: absolute; display: inline-block; font-size: 0; height: 5px; border-width: 0 0 0 1px; border-style: solid; } .slider-rulelabel { position: relative; top: 20px; } .slider-rulelabel span { position: absolute; display: inline-block; font-size: 12px; } .slider-v .slider-inner { width: 6px; left: 7px; top: 0; float: left; } .slider-v .slider-handle { left: 50%; margin-top: -10px; } .slider-v .slider-tip { left: -10px; margin-top: -6px; } .slider-v .slider-rule { float: left; top: 0; left: 16px; } .slider-v .slider-rule span { width: 5px; height: 'auto'; border-left: 0; border-width: 1px 0 0 0; border-style: solid; } .slider-v .slider-rulelabel { float: left; top: 0; left: 23px; } .slider-handle { background: url('images/slider_handle.png') no-repeat; } .slider-inner { border-color: #D3D3D3; background: #f3f3f3; } .slider-rule span { border-color: #D3D3D3; } .slider-rulelabel span { color: #000000; } .menu { position: absolute; margin: 0; padding: 2px; border-width: 1px; border-style: solid; overflow: hidden; } .menu-item { position: relative; margin: 0; padding: 0; overflow: hidden; white-space: nowrap; cursor: pointer; border-width: 1px; border-style: solid; } .menu-text { height: 20px; line-height: 20px; float: left; padding-left: 28px; } .menu-icon { position: absolute; width: 16px; height: 16px; left: 2px; top: 50%; margin-top: -8px; } .menu-rightarrow { position: absolute; width: 16px; height: 16px; right: 0; top: 50%; margin-top: -8px; } .menu-line { position: absolute; left: 26px; top: 0; height: 2000px; font-size: 1px; } .menu-sep { margin: 3px 0px 3px 25px; font-size: 1px; } .menu-active { -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .menu-item-disabled { opacity: 0.5; filter: alpha(opacity=50); cursor: default; } .menu-text, .menu-text span { font-size: 12px; } .menu-shadow { position: absolute; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; background: #ccc; -moz-box-shadow: 2px 2px 3px #cccccc; -webkit-box-shadow: 2px 2px 3px #cccccc; box-shadow: 2px 2px 3px #cccccc; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); } .menu-rightarrow { background: url('images/menu_arrows.png') no-repeat -32px center; } .menu-line { border-left: 1px solid #ccc; border-right: 1px solid #fff; } .menu-sep { border-top: 1px solid #ccc; border-bottom: 1px solid #fff; } .menu { background-color: #f3f3f3; border-color: #D3D3D3; color: #444; } .menu-content { background: #ffffff; } .menu-item { border-color: transparent; _border-color: #f3f3f3; } .menu-active { border-color: #ccc; color: #000000; background: #e2e2e2; } .menu-active-disabled { border-color: transparent; background: transparent; color: #444; } .m-btn-downarrow, .s-btn-downarrow { display: inline-block; position: absolute; width: 16px; height: 16px; font-size: 1px; right: 0; top: 50%; margin-top: -8px; } .m-btn-active, .s-btn-active { background: #e2e2e2; color: #000000; border: 1px solid #ccc; filter: none; } .m-btn-plain-active, .s-btn-plain-active { background: transparent; padding: 0; border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .m-btn .l-btn-left .l-btn-text { margin-right: 20px; } .m-btn .l-btn-icon-right .l-btn-text { margin-right: 40px; } .m-btn .l-btn-icon-right .l-btn-icon { right: 20px; } .m-btn .l-btn-icon-top .l-btn-text { margin-right: 4px; margin-bottom: 14px; } .m-btn .l-btn-icon-bottom .l-btn-text { margin-right: 4px; margin-bottom: 34px; } .m-btn .l-btn-icon-bottom .l-btn-icon { top: auto; bottom: 20px; } .m-btn .l-btn-icon-top .m-btn-downarrow, .m-btn .l-btn-icon-bottom .m-btn-downarrow { top: auto; bottom: 0px; left: 50%; margin-left: -8px; } .m-btn-line { display: inline-block; position: absolute; font-size: 1px; display: none; } .m-btn .l-btn-left .m-btn-line { right: 0; width: 16px; height: 500px; border-style: solid; border-color: #bfbfbf; border-width: 0 0 0 1px; } .m-btn .l-btn-icon-top .m-btn-line, .m-btn .l-btn-icon-bottom .m-btn-line { left: 0; bottom: 0; width: 500px; height: 16px; border-width: 1px 0 0 0; } .m-btn-large .l-btn-icon-right .l-btn-text { margin-right: 56px; } .m-btn-large .l-btn-icon-bottom .l-btn-text { margin-bottom: 50px; } .m-btn-downarrow, .s-btn-downarrow { background: url('images/menu_arrows.png') no-repeat 0 center; } .m-btn-plain-active, .s-btn-plain-active { border-color: #ccc; background-color: #e2e2e2; color: #000000; } .s-btn:hover .m-btn-line, .s-btn-active .m-btn-line, .s-btn-plain-active .m-btn-line { display: inline-block; } .l-btn:hover .s-btn-downarrow, .s-btn-active .s-btn-downarrow, .s-btn-plain-active .s-btn-downarrow { border-style: solid; border-color: #bfbfbf; border-width: 0 0 0 1px; } .messager-body { padding: 10px; overflow: hidden; } .messager-button { text-align: center; padding-top: 10px; } .messager-button .l-btn { width: 70px; } .messager-icon { float: left; width: 32px; height: 32px; margin: 0 10px 10px 0; } .messager-error { background: url('images/messager_icons.png') no-repeat scroll -64px 0; } .messager-info { background: url('images/messager_icons.png') no-repeat scroll 0 0; } .messager-question { background: url('images/messager_icons.png') no-repeat scroll -32px 0; } .messager-warning { background: url('images/messager_icons.png') no-repeat scroll -96px 0; } .messager-progress { padding: 10px; } .messager-p-msg { margin-bottom: 5px; } .messager-body .messager-input { width: 100%; padding: 1px 0; border: 1px solid #D3D3D3; } .tree { margin: 0; padding: 0; list-style-type: none; } .tree li { white-space: nowrap; } .tree li ul { list-style-type: none; margin: 0; padding: 0; } .tree-node { height: 18px; white-space: nowrap; cursor: pointer; } .tree-hit { cursor: pointer; } .tree-expanded, .tree-collapsed, .tree-folder, .tree-file, .tree-checkbox, .tree-indent { display: inline-block; width: 16px; height: 18px; vertical-align: top; overflow: hidden; } .tree-expanded { background: url('images/tree_icons.png') no-repeat -18px 0px; } .tree-expanded-hover { background: url('images/tree_icons.png') no-repeat -50px 0px; } .tree-collapsed { background: url('images/tree_icons.png') no-repeat 0px 0px; } .tree-collapsed-hover { background: url('images/tree_icons.png') no-repeat -32px 0px; } .tree-lines .tree-expanded, .tree-lines .tree-root-first .tree-expanded { background: url('images/tree_icons.png') no-repeat -144px 0; } .tree-lines .tree-collapsed, .tree-lines .tree-root-first .tree-collapsed { background: url('images/tree_icons.png') no-repeat -128px 0; } .tree-lines .tree-node-last .tree-expanded, .tree-lines .tree-root-one .tree-expanded { background: url('images/tree_icons.png') no-repeat -80px 0; } .tree-lines .tree-node-last .tree-collapsed, .tree-lines .tree-root-one .tree-collapsed { background: url('images/tree_icons.png') no-repeat -64px 0; } .tree-line { background: url('images/tree_icons.png') no-repeat -176px 0; } .tree-join { background: url('images/tree_icons.png') no-repeat -192px 0; } .tree-joinbottom { background: url('images/tree_icons.png') no-repeat -160px 0; } .tree-folder { background: url('images/tree_icons.png') no-repeat -208px 0; } .tree-folder-open { background: url('images/tree_icons.png') no-repeat -224px 0; } .tree-file { background: url('images/tree_icons.png') no-repeat -240px 0; } .tree-loading { background: url('images/loading.gif') no-repeat center center; } .tree-checkbox0 { background: url('images/tree_icons.png') no-repeat -208px -18px; } .tree-checkbox1 { background: url('images/tree_icons.png') no-repeat -224px -18px; } .tree-checkbox2 { background: url('images/tree_icons.png') no-repeat -240px -18px; } .tree-title { font-size: 12px; display: inline-block; text-decoration: none; vertical-align: top; white-space: nowrap; padding: 0 2px; height: 18px; line-height: 18px; } .tree-node-proxy { font-size: 12px; line-height: 20px; padding: 0 2px 0 20px; border-width: 1px; border-style: solid; z-index: 9900000; } .tree-dnd-icon { display: inline-block; position: absolute; width: 16px; height: 18px; left: 2px; top: 50%; margin-top: -9px; } .tree-dnd-yes { background: url('images/tree_icons.png') no-repeat -256px 0; } .tree-dnd-no { background: url('images/tree_icons.png') no-repeat -256px -18px; } .tree-node-top { border-top: 1px dotted red; } .tree-node-bottom { border-bottom: 1px dotted red; } .tree-node-append .tree-title { border: 1px dotted red; } .tree-editor { border: 1px solid #ccc; font-size: 12px; height: 14px !important; height: 18px; line-height: 14px; padding: 1px 2px; width: 80px; position: absolute; top: 0; } .tree-node-proxy { background-color: #ffffff; color: #000000; border-color: #D3D3D3; } .tree-node-hover { background: #e2e2e2; color: #000000; } .tree-node-selected { background: #0092DC; color: #fff; } .validatebox-invalid { border-color: #ffa8a8; background-color: #fff3f3; color: #000; } .tooltip { position: absolute; display: none; z-index: 9900000; outline: none; opacity: 1; filter: alpha(opacity=100); padding: 5px; border-width: 1px; border-style: solid; border-radius: 5px; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .tooltip-content { font-size: 12px; } .tooltip-arrow-outer, .tooltip-arrow { position: absolute; width: 0; height: 0; line-height: 0; font-size: 0; border-style: solid; border-width: 6px; border-color: transparent; _border-color: tomato; _filter: chroma(color=tomato); } .tooltip-right .tooltip-arrow-outer { left: 0; top: 50%; margin: -6px 0 0 -13px; } .tooltip-right .tooltip-arrow { left: 0; top: 50%; margin: -6px 0 0 -12px; } .tooltip-left .tooltip-arrow-outer { right: 0; top: 50%; margin: -6px -13px 0 0; } .tooltip-left .tooltip-arrow { right: 0; top: 50%; margin: -6px -12px 0 0; } .tooltip-top .tooltip-arrow-outer { bottom: 0; left: 50%; margin: 0 0 -13px -6px; } .tooltip-top .tooltip-arrow { bottom: 0; left: 50%; margin: 0 0 -12px -6px; } .tooltip-bottom .tooltip-arrow-outer { top: 0; left: 50%; margin: -13px 0 0 -6px; } .tooltip-bottom .tooltip-arrow { top: 0; left: 50%; margin: -12px 0 0 -6px; } .tooltip { background-color: #ffffff; border-color: #D3D3D3; color: #000000; } .tooltip-right .tooltip-arrow-outer { border-right-color: #D3D3D3; } .tooltip-right .tooltip-arrow { border-right-color: #ffffff; } .tooltip-left .tooltip-arrow-outer { border-left-color: #D3D3D3; } .tooltip-left .tooltip-arrow { border-left-color: #ffffff; } .tooltip-top .tooltip-arrow-outer { border-top-color: #D3D3D3; } .tooltip-top .tooltip-arrow { border-top-color: #ffffff; } .tooltip-bottom .tooltip-arrow-outer { border-bottom-color: #D3D3D3; } .tooltip-bottom .tooltip-arrow { border-bottom-color: #ffffff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/filebox.css ================================================ .filebox .textbox-value { vertical-align: top; position: absolute; top: 0; left: -5000px; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/layout.css ================================================ .layout { position: relative; overflow: hidden; margin: 0; padding: 0; z-index: 0; } .layout-panel { position: absolute; overflow: hidden; } .layout-panel-east, .layout-panel-west { z-index: 2; } .layout-panel-north, .layout-panel-south { z-index: 3; } .layout-expand { position: absolute; padding: 0px; font-size: 1px; cursor: pointer; z-index: 1; } .layout-expand .panel-header, .layout-expand .panel-body { background: transparent; filter: none; overflow: hidden; } .layout-expand .panel-header { border-bottom-width: 0px; } .layout-split-proxy-h, .layout-split-proxy-v { position: absolute; font-size: 1px; display: none; z-index: 5; } .layout-split-proxy-h { width: 5px; cursor: e-resize; } .layout-split-proxy-v { height: 5px; cursor: n-resize; } .layout-mask { position: absolute; background: #fafafa; filter: alpha(opacity=10); opacity: 0.10; z-index: 4; } .layout-button-up { background: url('images/layout_arrows.png') no-repeat -16px -16px; } .layout-button-down { background: url('images/layout_arrows.png') no-repeat -16px 0; } .layout-button-left { background: url('images/layout_arrows.png') no-repeat 0 0; } .layout-button-right { background: url('images/layout_arrows.png') no-repeat 0 -16px; } .layout-split-proxy-h, .layout-split-proxy-v { background-color: #bfbfbf; } .layout-split-north { border-bottom: 5px solid #efefef; } .layout-split-south { border-top: 5px solid #efefef; } .layout-split-east { border-left: 5px solid #efefef; } .layout-split-west { border-right: 5px solid #efefef; } .layout-expand { background-color: #f3f3f3; } .layout-expand-over { background-color: #f3f3f3; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/linkbutton.css ================================================ .l-btn { text-decoration: none; display: inline-block; overflow: hidden; margin: 0; padding: 0; cursor: pointer; outline: none; text-align: center; vertical-align: middle; } .l-btn-plain { border: 0; padding: 1px; } .l-btn-left { display: inline-block; position: relative; overflow: hidden; margin: 0; padding: 0; vertical-align: top; } .l-btn-text { display: inline-block; vertical-align: top; width: auto; line-height: 24px; font-size: 12px; padding: 0; margin: 0 4px; } .l-btn-icon { display: inline-block; width: 16px; height: 16px; line-height: 16px; position: absolute; top: 50%; margin-top: -8px; font-size: 1px; } .l-btn span span .l-btn-empty { display: inline-block; margin: 0; width: 16px; height: 24px; font-size: 1px; vertical-align: top; } .l-btn span .l-btn-icon-left { padding: 0 0 0 20px; background-position: left center; } .l-btn span .l-btn-icon-right { padding: 0 20px 0 0; background-position: right center; } .l-btn-icon-left .l-btn-text { margin: 0 4px 0 24px; } .l-btn-icon-left .l-btn-icon { left: 4px; } .l-btn-icon-right .l-btn-text { margin: 0 24px 0 4px; } .l-btn-icon-right .l-btn-icon { right: 4px; } .l-btn-icon-top .l-btn-text { margin: 20px 4px 0 4px; } .l-btn-icon-top .l-btn-icon { top: 4px; left: 50%; margin: 0 0 0 -8px; } .l-btn-icon-bottom .l-btn-text { margin: 0 4px 20px 4px; } .l-btn-icon-bottom .l-btn-icon { top: auto; bottom: 4px; left: 50%; margin: 0 0 0 -8px; } .l-btn-left .l-btn-empty { margin: 0 4px; width: 16px; } .l-btn-plain:hover { padding: 0; } .l-btn-focus { outline: #0000FF dotted thin; } .l-btn-large .l-btn-text { line-height: 40px; } .l-btn-large .l-btn-icon { width: 32px; height: 32px; line-height: 32px; margin-top: -16px; } .l-btn-large .l-btn-icon-left .l-btn-text { margin-left: 40px; } .l-btn-large .l-btn-icon-right .l-btn-text { margin-right: 40px; } .l-btn-large .l-btn-icon-top .l-btn-text { margin-top: 36px; line-height: 24px; min-width: 32px; } .l-btn-large .l-btn-icon-top .l-btn-icon { margin: 0 0 0 -16px; } .l-btn-large .l-btn-icon-bottom .l-btn-text { margin-bottom: 36px; line-height: 24px; min-width: 32px; } .l-btn-large .l-btn-icon-bottom .l-btn-icon { margin: 0 0 0 -16px; } .l-btn-large .l-btn-left .l-btn-empty { margin: 0 4px; width: 32px; } .l-btn { color: #444; background: #fafafa; background-repeat: repeat-x; border: 1px solid #bbb; background: -webkit-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: -moz-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: -o-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: linear-gradient(to bottom,#ffffff 0,#eeeeee 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0); -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .l-btn:hover { background: #e2e2e2; color: #000000; border: 1px solid #ccc; filter: none; } .l-btn-plain { background: transparent; border: 0; filter: none; } .l-btn-plain:hover { background: #e2e2e2; color: #000000; border: 1px solid #ccc; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .l-btn-disabled, .l-btn-disabled:hover { opacity: 0.5; cursor: default; background: #fafafa; color: #444; background: -webkit-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: -moz-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: -o-linear-gradient(top,#ffffff 0,#eeeeee 100%); background: linear-gradient(to bottom,#ffffff 0,#eeeeee 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0); } .l-btn-disabled .l-btn-text, .l-btn-disabled .l-btn-icon { filter: alpha(opacity=50); } .l-btn-plain-disabled, .l-btn-plain-disabled:hover { background: transparent; filter: alpha(opacity=50); } .l-btn-selected, .l-btn-selected:hover { background: #ddd; filter: none; } .l-btn-plain-selected, .l-btn-plain-selected:hover { background: #ddd; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/menu.css ================================================ .menu { position: absolute; margin: 0; padding: 2px; border-width: 1px; border-style: solid; overflow: hidden; } .menu-item { position: relative; margin: 0; padding: 0; overflow: hidden; white-space: nowrap; cursor: pointer; border-width: 1px; border-style: solid; } .menu-text { height: 20px; line-height: 20px; float: left; padding-left: 28px; } .menu-icon { position: absolute; width: 16px; height: 16px; left: 2px; top: 50%; margin-top: -8px; } .menu-rightarrow { position: absolute; width: 16px; height: 16px; right: 0; top: 50%; margin-top: -8px; } .menu-line { position: absolute; left: 26px; top: 0; height: 2000px; font-size: 1px; } .menu-sep { margin: 3px 0px 3px 25px; font-size: 1px; } .menu-active { -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .menu-item-disabled { opacity: 0.5; filter: alpha(opacity=50); cursor: default; } .menu-text, .menu-text span { font-size: 12px; } .menu-shadow { position: absolute; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; background: #ccc; -moz-box-shadow: 2px 2px 3px #cccccc; -webkit-box-shadow: 2px 2px 3px #cccccc; box-shadow: 2px 2px 3px #cccccc; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); } .menu-rightarrow { background: url('images/menu_arrows.png') no-repeat -32px center; } .menu-line { border-left: 1px solid #ccc; border-right: 1px solid #fff; } .menu-sep { border-top: 1px solid #ccc; border-bottom: 1px solid #fff; } .menu { background-color: #f3f3f3; border-color: #D3D3D3; color: #444; } .menu-content { background: #ffffff; } .menu-item { border-color: transparent; _border-color: #f3f3f3; } .menu-active { border-color: #ccc; color: #000000; background: #e2e2e2; } .menu-active-disabled { border-color: transparent; background: transparent; color: #444; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/menubutton.css ================================================ .m-btn-downarrow, .s-btn-downarrow { display: inline-block; position: absolute; width: 16px; height: 16px; font-size: 1px; right: 0; top: 50%; margin-top: -8px; } .m-btn-active, .s-btn-active { background: #e2e2e2; color: #000000; border: 1px solid #ccc; filter: none; } .m-btn-plain-active, .s-btn-plain-active { background: transparent; padding: 0; border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .m-btn .l-btn-left .l-btn-text { margin-right: 20px; } .m-btn .l-btn-icon-right .l-btn-text { margin-right: 40px; } .m-btn .l-btn-icon-right .l-btn-icon { right: 20px; } .m-btn .l-btn-icon-top .l-btn-text { margin-right: 4px; margin-bottom: 14px; } .m-btn .l-btn-icon-bottom .l-btn-text { margin-right: 4px; margin-bottom: 34px; } .m-btn .l-btn-icon-bottom .l-btn-icon { top: auto; bottom: 20px; } .m-btn .l-btn-icon-top .m-btn-downarrow, .m-btn .l-btn-icon-bottom .m-btn-downarrow { top: auto; bottom: 0px; left: 50%; margin-left: -8px; } .m-btn-line { display: inline-block; position: absolute; font-size: 1px; display: none; } .m-btn .l-btn-left .m-btn-line { right: 0; width: 16px; height: 500px; border-style: solid; border-color: #bfbfbf; border-width: 0 0 0 1px; } .m-btn .l-btn-icon-top .m-btn-line, .m-btn .l-btn-icon-bottom .m-btn-line { left: 0; bottom: 0; width: 500px; height: 16px; border-width: 1px 0 0 0; } .m-btn-large .l-btn-icon-right .l-btn-text { margin-right: 56px; } .m-btn-large .l-btn-icon-bottom .l-btn-text { margin-bottom: 50px; } .m-btn-downarrow, .s-btn-downarrow { background: url('images/menu_arrows.png') no-repeat 0 center; } .m-btn-plain-active, .s-btn-plain-active { border-color: #ccc; background-color: #e2e2e2; color: #000000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/messager.css ================================================ .messager-body { padding: 10px; overflow: hidden; } .messager-button { text-align: center; padding-top: 10px; } .messager-button .l-btn { width: 70px; } .messager-icon { float: left; width: 32px; height: 32px; margin: 0 10px 10px 0; } .messager-error { background: url('images/messager_icons.png') no-repeat scroll -64px 0; } .messager-info { background: url('images/messager_icons.png') no-repeat scroll 0 0; } .messager-question { background: url('images/messager_icons.png') no-repeat scroll -32px 0; } .messager-warning { background: url('images/messager_icons.png') no-repeat scroll -96px 0; } .messager-progress { padding: 10px; } .messager-p-msg { margin-bottom: 5px; } .messager-body .messager-input { width: 100%; padding: 1px 0; border: 1px solid #D3D3D3; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/numberbox.css ================================================ .numberbox { border: 1px solid #D3D3D3; margin: 0; padding: 0 2px; vertical-align: middle; } .textbox { padding: 0; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/pagination.css ================================================ .pagination { zoom: 1; } .pagination table { float: left; height: 30px; } .pagination td { border: 0; } .pagination-btn-separator { float: left; height: 24px; border-left: 1px solid #ccc; border-right: 1px solid #fff; margin: 3px 1px; } .pagination .pagination-num { border-width: 1px; border-style: solid; margin: 0 2px; padding: 2px; width: 2em; height: auto; } .pagination-page-list { margin: 0px 6px; padding: 1px 2px; width: auto; height: auto; border-width: 1px; border-style: solid; } .pagination-info { float: right; margin: 0 6px 0 0; padding: 0; height: 30px; line-height: 30px; font-size: 12px; } .pagination span { font-size: 12px; } .pagination-link .l-btn-text { width: 24px; text-align: center; margin: 0; } .pagination-first { background: url('images/pagination_icons.png') no-repeat 0 center; } .pagination-prev { background: url('images/pagination_icons.png') no-repeat -16px center; } .pagination-next { background: url('images/pagination_icons.png') no-repeat -32px center; } .pagination-last { background: url('images/pagination_icons.png') no-repeat -48px center; } .pagination-load { background: url('images/pagination_icons.png') no-repeat -64px center; } .pagination-loading { background: url('images/loading.gif') no-repeat center center; } .pagination-page-list, .pagination .pagination-num { border-color: #D3D3D3; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/panel.css ================================================ .panel { overflow: hidden; text-align: left; margin: 0; border: 0; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .panel-header, .panel-body { border-width: 1px; border-style: solid; } .panel-header { padding: 5px; position: relative; } .panel-title { background: url('images/blank.gif') no-repeat; } .panel-header-noborder { border-width: 0 0 1px 0; } .panel-body { overflow: auto; border-top-width: 0; padding: 0; } .panel-body-noheader { border-top-width: 1px; } .panel-body-noborder { border-width: 0px; } .panel-body-nobottom { border-bottom-width: 0; } .panel-with-icon { padding-left: 18px; } .panel-icon, .panel-tool { position: absolute; top: 50%; margin-top: -8px; height: 16px; overflow: hidden; } .panel-icon { left: 5px; width: 16px; } .panel-tool { right: 5px; width: auto; } .panel-tool a { display: inline-block; width: 16px; height: 16px; opacity: 0.6; filter: alpha(opacity=60); margin: 0 0 0 2px; vertical-align: top; } .panel-tool a:hover { opacity: 1; filter: alpha(opacity=100); background-color: #e2e2e2; -moz-border-radius: 3px 3px 3px 3px; -webkit-border-radius: 3px 3px 3px 3px; border-radius: 3px 3px 3px 3px; } .panel-loading { padding: 11px 0px 10px 30px; } .panel-noscroll { overflow: hidden; } .panel-fit, .panel-fit body { height: 100%; margin: 0; padding: 0; border: 0; overflow: hidden; } .panel-loading { background: url('images/loading.gif') no-repeat 10px 10px; } .panel-tool-close { background: url('images/panel_tools.png') no-repeat -16px 0px; } .panel-tool-min { background: url('images/panel_tools.png') no-repeat 0px 0px; } .panel-tool-max { background: url('images/panel_tools.png') no-repeat 0px -16px; } .panel-tool-restore { background: url('images/panel_tools.png') no-repeat -16px -16px; } .panel-tool-collapse { background: url('images/panel_tools.png') no-repeat -32px 0; } .panel-tool-expand { background: url('images/panel_tools.png') no-repeat -32px -16px; } .panel-header, .panel-body { border-color: #D3D3D3; } .panel-header { background-color: #f3f3f3; background: -webkit-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); background: -moz-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); background: -o-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); background: linear-gradient(to bottom,#F8F8F8 0,#eeeeee 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#eeeeee,GradientType=0); } .panel-body { background-color: #ffffff; color: #000000; font-size: 12px; } .panel-title { font-size: 12px; font-weight: bold; color: #575765; height: 16px; line-height: 16px; } .panel-footer { border: 1px solid #D3D3D3; overflow: hidden; background: #fafafa; } .panel-footer-noborder { border-width: 1px 0 0 0; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/progressbar.css ================================================ .progressbar { border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; overflow: hidden; position: relative; } .progressbar-text { text-align: center; position: absolute; } .progressbar-value { position: relative; overflow: hidden; width: 0; -moz-border-radius: 5px 0 0 5px; -webkit-border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px; } .progressbar { border-color: #D3D3D3; } .progressbar-text { color: #000000; font-size: 12px; } .progressbar-value .progressbar-text { background-color: #0092DC; color: #fff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/propertygrid.css ================================================ .propertygrid .datagrid-view1 .datagrid-body td { padding-bottom: 1px; border-width: 0 1px 0 0; } .propertygrid .datagrid-group { height: 21px; overflow: hidden; border-width: 0 0 1px 0; border-style: solid; } .propertygrid .datagrid-group span { font-weight: bold; } .propertygrid .datagrid-view1 .datagrid-body td { border-color: #ddd; } .propertygrid .datagrid-view1 .datagrid-group { border-color: #f3f3f3; } .propertygrid .datagrid-view2 .datagrid-group { border-color: #ddd; } .propertygrid .datagrid-group, .propertygrid .datagrid-view1 .datagrid-body, .propertygrid .datagrid-view1 .datagrid-row-over, .propertygrid .datagrid-view1 .datagrid-row-selected { background: #f3f3f3; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/searchbox.css ================================================ .searchbox { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .searchbox .searchbox-text { font-size: 12px; border: 0; margin: 0; padding: 0 2px; vertical-align: top; } .searchbox .searchbox-prompt { font-size: 12px; color: #ccc; } .searchbox-button { width: 18px; height: 20px; overflow: hidden; display: inline-block; vertical-align: top; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); } .searchbox-button-hover { opacity: 1.0; filter: alpha(opacity=100); } .searchbox .l-btn-plain { border: 0; padding: 0; vertical-align: top; opacity: 0.6; filter: alpha(opacity=60); -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .l-btn-plain:hover { border: 0; padding: 0; opacity: 1.0; filter: alpha(opacity=100); -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox a.m-btn-plain-active { -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .m-btn-active { border-width: 0 1px 0 0; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .textbox-button-right { border-width: 0 0 0 1px; } .searchbox .textbox-button-left { border-width: 0 1px 0 0; } .searchbox-button { background: url('images/searchbox_button.png') no-repeat center center; } .searchbox { border-color: #D3D3D3; background-color: #fff; } .searchbox .l-btn-plain { background: #f3f3f3; } .searchbox .l-btn-plain-disabled, .searchbox .l-btn-plain-disabled:hover { opacity: 0.5; filter: alpha(opacity=50); } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/slider.css ================================================ .slider-disabled { opacity: 0.5; filter: alpha(opacity=50); } .slider-h { height: 22px; } .slider-v { width: 22px; } .slider-inner { position: relative; height: 6px; top: 7px; border-width: 1px; border-style: solid; border-radius: 5px; } .slider-handle { position: absolute; display: block; outline: none; width: 20px; height: 20px; top: 50%; margin-top: -10px; margin-left: -10px; } .slider-tip { position: absolute; display: inline-block; line-height: 12px; font-size: 12px; white-space: nowrap; top: -22px; } .slider-rule { position: relative; top: 15px; } .slider-rule span { position: absolute; display: inline-block; font-size: 0; height: 5px; border-width: 0 0 0 1px; border-style: solid; } .slider-rulelabel { position: relative; top: 20px; } .slider-rulelabel span { position: absolute; display: inline-block; font-size: 12px; } .slider-v .slider-inner { width: 6px; left: 7px; top: 0; float: left; } .slider-v .slider-handle { left: 50%; margin-top: -10px; } .slider-v .slider-tip { left: -10px; margin-top: -6px; } .slider-v .slider-rule { float: left; top: 0; left: 16px; } .slider-v .slider-rule span { width: 5px; height: 'auto'; border-left: 0; border-width: 1px 0 0 0; border-style: solid; } .slider-v .slider-rulelabel { float: left; top: 0; left: 23px; } .slider-handle { background: url('images/slider_handle.png') no-repeat; } .slider-inner { border-color: #D3D3D3; background: #f3f3f3; } .slider-rule span { border-color: #D3D3D3; } .slider-rulelabel span { color: #000000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/spinner.css ================================================ .spinner { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .spinner .spinner-text { font-size: 12px; border: 0px; margin: 0; padding: 0 2px; vertical-align: baseline; } .spinner-arrow { background-color: #f3f3f3; display: inline-block; overflow: hidden; vertical-align: top; margin: 0; padding: 0; opacity: 1.0; filter: alpha(opacity=100); width: 18px; } .spinner-arrow-up, .spinner-arrow-down { opacity: 0.6; filter: alpha(opacity=60); display: block; font-size: 1px; width: 18px; height: 10px; width: 100%; height: 50%; outline-style: none; } .spinner-arrow-hover { background-color: #e2e2e2; opacity: 1.0; filter: alpha(opacity=100); } .spinner-arrow-up:hover, .spinner-arrow-down:hover { opacity: 1.0; filter: alpha(opacity=100); background-color: #e2e2e2; } .textbox-icon-disabled .spinner-arrow-up:hover, .textbox-icon-disabled .spinner-arrow-down:hover { opacity: 0.6; filter: alpha(opacity=60); background-color: #f3f3f3; cursor: default; } .spinner .textbox-icon-disabled { opacity: 0.6; filter: alpha(opacity=60); } .spinner-arrow-up { background: url('images/spinner_arrows.png') no-repeat 1px center; } .spinner-arrow-down { background: url('images/spinner_arrows.png') no-repeat -15px center; } .spinner { border-color: #D3D3D3; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/splitbutton.css ================================================ .s-btn:hover .m-btn-line, .s-btn-active .m-btn-line, .s-btn-plain-active .m-btn-line { display: inline-block; } .l-btn:hover .s-btn-downarrow, .s-btn-active .s-btn-downarrow, .s-btn-plain-active .s-btn-downarrow { border-style: solid; border-color: #bfbfbf; border-width: 0 0 0 1px; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/tabs.css ================================================ .tabs-container { overflow: hidden; } .tabs-header { border-width: 1px; border-style: solid; border-bottom-width: 0; position: relative; padding: 0; padding-top: 2px; overflow: hidden; } .tabs-header-plain { border: 0; background: transparent; } .tabs-scroller-left, .tabs-scroller-right { position: absolute; top: auto; bottom: 0; width: 18px; font-size: 1px; display: none; cursor: pointer; border-width: 1px; border-style: solid; } .tabs-scroller-left { left: 0; } .tabs-scroller-right { right: 0; } .tabs-tool { position: absolute; bottom: 0; padding: 1px; overflow: hidden; border-width: 1px; border-style: solid; } .tabs-header-plain .tabs-tool { padding: 0 1px; } .tabs-wrap { position: relative; left: 0; overflow: hidden; width: 100%; margin: 0; padding: 0; } .tabs-scrolling { margin-left: 18px; margin-right: 18px; } .tabs-disabled { opacity: 0.3; filter: alpha(opacity=30); } .tabs { list-style-type: none; height: 26px; margin: 0px; padding: 0px; padding-left: 4px; width: 50000px; border-style: solid; border-width: 0 0 1px 0; } .tabs li { float: left; display: inline-block; margin: 0 4px -1px 0; padding: 0; position: relative; border: 0; } .tabs li a.tabs-inner { display: inline-block; text-decoration: none; margin: 0; padding: 0 10px; height: 25px; line-height: 25px; text-align: center; white-space: nowrap; border-width: 1px; border-style: solid; -moz-border-radius: 5px 5px 0 0; -webkit-border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0; } .tabs li.tabs-selected a.tabs-inner { font-weight: bold; outline: none; } .tabs li.tabs-selected a:hover.tabs-inner { cursor: default; pointer: default; } .tabs li a.tabs-close, .tabs-p-tool { position: absolute; font-size: 1px; display: block; height: 12px; padding: 0; top: 50%; margin-top: -6px; overflow: hidden; } .tabs li a.tabs-close { width: 12px; right: 5px; opacity: 0.6; filter: alpha(opacity=60); } .tabs-p-tool { right: 16px; } .tabs-p-tool a { display: inline-block; font-size: 1px; width: 12px; height: 12px; margin: 0; opacity: 0.6; filter: alpha(opacity=60); } .tabs li a:hover.tabs-close, .tabs-p-tool a:hover { opacity: 1; filter: alpha(opacity=100); cursor: hand; cursor: pointer; } .tabs-with-icon { padding-left: 18px; } .tabs-icon { position: absolute; width: 16px; height: 16px; left: 10px; top: 50%; margin-top: -8px; } .tabs-title { font-size: 12px; } .tabs-closable { padding-right: 8px; } .tabs-panels { margin: 0px; padding: 0px; border-width: 1px; border-style: solid; border-top-width: 0; overflow: hidden; } .tabs-header-bottom { border-width: 0 1px 1px 1px; padding: 0 0 2px 0; } .tabs-header-bottom .tabs { border-width: 1px 0 0 0; } .tabs-header-bottom .tabs li { margin: -1px 4px 0 0; } .tabs-header-bottom .tabs li a.tabs-inner { -moz-border-radius: 0 0 5px 5px; -webkit-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; } .tabs-header-bottom .tabs-tool { top: 0; } .tabs-header-bottom .tabs-scroller-left, .tabs-header-bottom .tabs-scroller-right { top: 0; bottom: auto; } .tabs-panels-top { border-width: 1px 1px 0 1px; } .tabs-header-left { float: left; border-width: 1px 0 1px 1px; padding: 0; } .tabs-header-right { float: right; border-width: 1px 1px 1px 0; padding: 0; } .tabs-header-left .tabs-wrap, .tabs-header-right .tabs-wrap { height: 100%; } .tabs-header-left .tabs { height: 100%; padding: 4px 0 0 4px; border-width: 0 1px 0 0; } .tabs-header-right .tabs { height: 100%; padding: 4px 4px 0 0; border-width: 0 0 0 1px; } .tabs-header-left .tabs li, .tabs-header-right .tabs li { display: block; width: 100%; position: relative; } .tabs-header-left .tabs li { left: auto; right: 0; margin: 0 -1px 4px 0; float: right; } .tabs-header-right .tabs li { left: 0; right: auto; margin: 0 0 4px -1px; float: left; } .tabs-header-left .tabs li a.tabs-inner { display: block; text-align: left; -moz-border-radius: 5px 0 0 5px; -webkit-border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px; } .tabs-header-right .tabs li a.tabs-inner { display: block; text-align: left; -moz-border-radius: 0 5px 5px 0; -webkit-border-radius: 0 5px 5px 0; border-radius: 0 5px 5px 0; } .tabs-panels-right { float: right; border-width: 1px 1px 1px 0; } .tabs-panels-left { float: left; border-width: 1px 0 1px 1px; } .tabs-header-noborder, .tabs-panels-noborder { border: 0px; } .tabs-header-plain { border: 0px; background: transparent; } .tabs-scroller-left { background: #f3f3f3 url('images/tabs_icons.png') no-repeat 1px center; } .tabs-scroller-right { background: #f3f3f3 url('images/tabs_icons.png') no-repeat -15px center; } .tabs li a.tabs-close { background: url('images/tabs_icons.png') no-repeat -34px center; } .tabs li a.tabs-inner:hover { background: #e2e2e2; color: #000000; filter: none; } .tabs li.tabs-selected a.tabs-inner { background-color: #ffffff; color: #575765; background: -webkit-linear-gradient(top,#F8F8F8 0,#ffffff 100%); background: -moz-linear-gradient(top,#F8F8F8 0,#ffffff 100%); background: -o-linear-gradient(top,#F8F8F8 0,#ffffff 100%); background: linear-gradient(to bottom,#F8F8F8 0,#ffffff 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#ffffff,GradientType=0); } .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(top,#ffffff 0,#F8F8F8 100%); background: -moz-linear-gradient(top,#ffffff 0,#F8F8F8 100%); background: -o-linear-gradient(top,#ffffff 0,#F8F8F8 100%); background: linear-gradient(to bottom,#ffffff 0,#F8F8F8 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F8F8F8,GradientType=0); } .tabs-header-left .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(left,#F8F8F8 0,#ffffff 100%); background: -moz-linear-gradient(left,#F8F8F8 0,#ffffff 100%); background: -o-linear-gradient(left,#F8F8F8 0,#ffffff 100%); background: linear-gradient(to right,#F8F8F8 0,#ffffff 100%); background-repeat: repeat-y; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#ffffff,GradientType=1); } .tabs-header-right .tabs li.tabs-selected a.tabs-inner { background: -webkit-linear-gradient(left,#ffffff 0,#F8F8F8 100%); background: -moz-linear-gradient(left,#ffffff 0,#F8F8F8 100%); background: -o-linear-gradient(left,#ffffff 0,#F8F8F8 100%); background: linear-gradient(to right,#ffffff 0,#F8F8F8 100%); background-repeat: repeat-y; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F8F8F8,GradientType=1); } .tabs li a.tabs-inner { color: #575765; background-color: #f3f3f3; background: -webkit-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); background: -moz-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); background: -o-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); background: linear-gradient(to bottom,#F8F8F8 0,#eeeeee 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#eeeeee,GradientType=0); } .tabs-header, .tabs-tool { background-color: #f3f3f3; } .tabs-header-plain { background: transparent; } .tabs-header, .tabs-scroller-left, .tabs-scroller-right, .tabs-tool, .tabs, .tabs-panels, .tabs li a.tabs-inner, .tabs li.tabs-selected a.tabs-inner, .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, .tabs-header-left .tabs li.tabs-selected a.tabs-inner, .tabs-header-right .tabs li.tabs-selected a.tabs-inner { border-color: #D3D3D3; } .tabs-p-tool a:hover, .tabs li a:hover.tabs-close, .tabs-scroller-over { background-color: #e2e2e2; } .tabs li.tabs-selected a.tabs-inner { border-bottom: 1px solid #ffffff; } .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { border-top: 1px solid #ffffff; } .tabs-header-left .tabs li.tabs-selected a.tabs-inner { border-right: 1px solid #ffffff; } .tabs-header-right .tabs li.tabs-selected a.tabs-inner { border-left: 1px solid #ffffff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/textbox.css ================================================ .textbox { position: relative; border: 1px solid #D3D3D3; background-color: #fff; vertical-align: middle; display: inline-block; overflow: hidden; white-space: nowrap; margin: 0; padding: 0; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .textbox .textbox-text { font-size: 12px; border: 0; margin: 0; padding: 4px; white-space: normal; vertical-align: top; outline-style: none; resize: none; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .textbox .textbox-prompt { font-size: 12px; color: #aaa; } .textbox-button, .textbox-button:hover { position: absolute; top: 0; padding: 0; vertical-align: top; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .textbox-button-right, .textbox-button-right:hover { border-width: 0 0 0 1px; } .textbox-button-left, .textbox-button-left:hover { border-width: 0 1px 0 0; } .textbox-addon { position: absolute; top: 0; } .textbox-icon { display: inline-block; width: 18px; height: 20px; overflow: hidden; vertical-align: top; background-position: center center; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); text-decoration: none; outline-style: none; } .textbox-icon-disabled, .textbox-icon-readonly { cursor: default; } .textbox-icon:hover { opacity: 1.0; filter: alpha(opacity=100); } .textbox-icon-disabled:hover { opacity: 0.6; filter: alpha(opacity=60); } .textbox-focused { -moz-box-shadow: 0 0 3px 0 #D3D3D3; -webkit-box-shadow: 0 0 3px 0 #D3D3D3; box-shadow: 0 0 3px 0 #D3D3D3; } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/tooltip.css ================================================ .tooltip { position: absolute; display: none; z-index: 9900000; outline: none; opacity: 1; filter: alpha(opacity=100); padding: 5px; border-width: 1px; border-style: solid; border-radius: 5px; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .tooltip-content { font-size: 12px; } .tooltip-arrow-outer, .tooltip-arrow { position: absolute; width: 0; height: 0; line-height: 0; font-size: 0; border-style: solid; border-width: 6px; border-color: transparent; _border-color: tomato; _filter: chroma(color=tomato); } .tooltip-right .tooltip-arrow-outer { left: 0; top: 50%; margin: -6px 0 0 -13px; } .tooltip-right .tooltip-arrow { left: 0; top: 50%; margin: -6px 0 0 -12px; } .tooltip-left .tooltip-arrow-outer { right: 0; top: 50%; margin: -6px -13px 0 0; } .tooltip-left .tooltip-arrow { right: 0; top: 50%; margin: -6px -12px 0 0; } .tooltip-top .tooltip-arrow-outer { bottom: 0; left: 50%; margin: 0 0 -13px -6px; } .tooltip-top .tooltip-arrow { bottom: 0; left: 50%; margin: 0 0 -12px -6px; } .tooltip-bottom .tooltip-arrow-outer { top: 0; left: 50%; margin: -13px 0 0 -6px; } .tooltip-bottom .tooltip-arrow { top: 0; left: 50%; margin: -12px 0 0 -6px; } .tooltip { background-color: #ffffff; border-color: #D3D3D3; color: #000000; } .tooltip-right .tooltip-arrow-outer { border-right-color: #D3D3D3; } .tooltip-right .tooltip-arrow { border-right-color: #ffffff; } .tooltip-left .tooltip-arrow-outer { border-left-color: #D3D3D3; } .tooltip-left .tooltip-arrow { border-left-color: #ffffff; } .tooltip-top .tooltip-arrow-outer { border-top-color: #D3D3D3; } .tooltip-top .tooltip-arrow { border-top-color: #ffffff; } .tooltip-bottom .tooltip-arrow-outer { border-bottom-color: #D3D3D3; } .tooltip-bottom .tooltip-arrow { border-bottom-color: #ffffff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/tree.css ================================================ .tree { margin: 0; padding: 0; list-style-type: none; } .tree li { white-space: nowrap; } .tree li ul { list-style-type: none; margin: 0; padding: 0; } .tree-node { height: 18px; white-space: nowrap; cursor: pointer; } .tree-hit { cursor: pointer; } .tree-expanded, .tree-collapsed, .tree-folder, .tree-file, .tree-checkbox, .tree-indent { display: inline-block; width: 16px; height: 18px; vertical-align: top; overflow: hidden; } .tree-expanded { background: url('images/tree_icons.png') no-repeat -18px 0px; } .tree-expanded-hover { background: url('images/tree_icons.png') no-repeat -50px 0px; } .tree-collapsed { background: url('images/tree_icons.png') no-repeat 0px 0px; } .tree-collapsed-hover { background: url('images/tree_icons.png') no-repeat -32px 0px; } .tree-lines .tree-expanded, .tree-lines .tree-root-first .tree-expanded { background: url('images/tree_icons.png') no-repeat -144px 0; } .tree-lines .tree-collapsed, .tree-lines .tree-root-first .tree-collapsed { background: url('images/tree_icons.png') no-repeat -128px 0; } .tree-lines .tree-node-last .tree-expanded, .tree-lines .tree-root-one .tree-expanded { background: url('images/tree_icons.png') no-repeat -80px 0; } .tree-lines .tree-node-last .tree-collapsed, .tree-lines .tree-root-one .tree-collapsed { background: url('images/tree_icons.png') no-repeat -64px 0; } .tree-line { background: url('images/tree_icons.png') no-repeat -176px 0; } .tree-join { background: url('images/tree_icons.png') no-repeat -192px 0; } .tree-joinbottom { background: url('images/tree_icons.png') no-repeat -160px 0; } .tree-folder { background: url('images/tree_icons.png') no-repeat -208px 0; } .tree-folder-open { background: url('images/tree_icons.png') no-repeat -224px 0; } .tree-file { background: url('images/tree_icons.png') no-repeat -240px 0; } .tree-loading { background: url('images/loading.gif') no-repeat center center; } .tree-checkbox0 { background: url('images/tree_icons.png') no-repeat -208px -18px; } .tree-checkbox1 { background: url('images/tree_icons.png') no-repeat -224px -18px; } .tree-checkbox2 { background: url('images/tree_icons.png') no-repeat -240px -18px; } .tree-title { font-size: 12px; display: inline-block; text-decoration: none; vertical-align: top; white-space: nowrap; padding: 0 2px; height: 18px; line-height: 18px; } .tree-node-proxy { font-size: 12px; line-height: 20px; padding: 0 2px 0 20px; border-width: 1px; border-style: solid; z-index: 9900000; } .tree-dnd-icon { display: inline-block; position: absolute; width: 16px; height: 18px; left: 2px; top: 50%; margin-top: -9px; } .tree-dnd-yes { background: url('images/tree_icons.png') no-repeat -256px 0; } .tree-dnd-no { background: url('images/tree_icons.png') no-repeat -256px -18px; } .tree-node-top { border-top: 1px dotted red; } .tree-node-bottom { border-bottom: 1px dotted red; } .tree-node-append .tree-title { border: 1px dotted red; } .tree-editor { border: 1px solid #ccc; font-size: 12px; height: 14px !important; height: 18px; line-height: 14px; padding: 1px 2px; width: 80px; position: absolute; top: 0; } .tree-node-proxy { background-color: #ffffff; color: #000000; border-color: #D3D3D3; } .tree-node-hover { background: #e2e2e2; color: #000000; } .tree-node-selected { background: #0092DC; color: #fff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/validatebox.css ================================================ .validatebox-invalid { border-color: #ffa8a8; background-color: #fff3f3; color: #000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/gray/window.css ================================================ .window { overflow: hidden; padding: 5px; border-width: 1px; border-style: solid; } .window .window-header { background: transparent; padding: 0px 0px 6px 0px; } .window .window-body { border-width: 1px; border-style: solid; border-top-width: 0px; } .window .window-body-noheader { border-top-width: 1px; } .window .panel-body-nobottom { border-bottom-width: 0; } .window .window-header .panel-icon, .window .window-header .panel-tool { top: 50%; margin-top: -11px; } .window .window-header .panel-icon { left: 1px; } .window .window-header .panel-tool { right: 1px; } .window .window-header .panel-with-icon { padding-left: 18px; } .window-proxy { position: absolute; overflow: hidden; } .window-proxy-mask { position: absolute; filter: alpha(opacity=5); opacity: 0.05; } .window-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; filter: alpha(opacity=40); opacity: 0.40; font-size: 1px; overflow: hidden; } .window, .window-shadow { position: absolute; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } .window-shadow { background: #ccc; -moz-box-shadow: 2px 2px 3px #cccccc; -webkit-box-shadow: 2px 2px 3px #cccccc; box-shadow: 2px 2px 3px #cccccc; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); } .window, .window .window-body { border-color: #D3D3D3; } .window { background-color: #f3f3f3; background: -webkit-linear-gradient(top,#F8F8F8 0,#eeeeee 20%); background: -moz-linear-gradient(top,#F8F8F8 0,#eeeeee 20%); background: -o-linear-gradient(top,#F8F8F8 0,#eeeeee 20%); background: linear-gradient(to bottom,#F8F8F8 0,#eeeeee 20%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#eeeeee,GradientType=0); } .window-proxy { border: 1px dashed #D3D3D3; } .window-proxy-mask, .window-mask { background: #ccc; } .window .panel-footer { border: 1px solid #D3D3D3; position: relative; top: -1px; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/icon.css ================================================ .icon-blank{ background:url('icons/blank.gif') no-repeat center center; } .icon-add{ background:url('icons/edit_add.png') no-repeat center center; } .icon-edit{ background:url('icons/pencil.png') no-repeat center center; } .icon-clear{ background:url('icons/clear.png') no-repeat center center; } .icon-remove{ background:url('icons/edit_remove.png') no-repeat center center; } .icon-save{ background:url('icons/filesave.png') no-repeat center center; } .icon-cut{ background:url('icons/cut.png') no-repeat center center; } .icon-ok{ background:url('icons/ok.png') no-repeat center center; } .icon-no{ background:url('icons/no.png') no-repeat center center; } .icon-cancel{ background:url('icons/cancel.png') no-repeat center center; } .icon-reload{ background:url('icons/reload.png') no-repeat center center; } .icon-search{ background:url('icons/search.png') no-repeat center center; } .icon-print{ background:url('icons/print.png') no-repeat center center; } .icon-help{ background:url('icons/help.png') no-repeat center center; } .icon-undo{ background:url('icons/undo.png') no-repeat center center; } .icon-redo{ background:url('icons/redo.png') no-repeat center center; } .icon-back{ background:url('icons/back.png') no-repeat center center; } .icon-sum{ background:url('icons/sum.png') no-repeat center center; } .icon-tip{ background:url('icons/tip.png') no-repeat center center; } .icon-filter{ background:url('icons/filter.png') no-repeat center center; } .icon-man{ background:url('icons/man.png') no-repeat center center; } .icon-lock{ background:url('icons/lock.png') no-repeat center center; } .icon-mini-add{ background:url('icons/mini_add.png') no-repeat center center; } .icon-mini-edit{ background:url('icons/mini_edit.png') no-repeat center center; } .icon-mini-refresh{ background:url('icons/mini_refresh.png') no-repeat center center; } .icon-large-picture{ background:url('icons/large_picture.png') no-repeat center center; } .icon-large-clipart{ background:url('icons/large_clipart.png') no-repeat center center; } .icon-large-shapes{ background:url('icons/large_shapes.png') no-repeat center center; } .icon-large-smartart{ background:url('icons/large_smartart.png') no-repeat center center; } .icon-large-chart{ background:url('icons/large_chart.png') no-repeat center center; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/accordion.css ================================================ .accordion { overflow: hidden; border-width: 1px; border-style: solid; } .accordion .accordion-header { border-width: 0 0 1px; cursor: pointer; } .accordion .accordion-body { border-width: 0 0 1px; } .accordion-noborder { border-width: 0; } .accordion-noborder .accordion-header { border-width: 0 0 1px; } .accordion-noborder .accordion-body { border-width: 0 0 1px; } .accordion-collapse { background: url('images/accordion_arrows.png') no-repeat 0 0; } .accordion-expand { background: url('images/accordion_arrows.png') no-repeat -16px 0; } .accordion { background: #fff; border-color: #ddd; } .accordion .accordion-header { background: #ffffff; filter: none; } .accordion .accordion-header-selected { background: #CCE6FF; } .accordion .accordion-header-selected .panel-title { color: #000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/calendar.css ================================================ .calendar { border-width: 1px; border-style: solid; padding: 1px; overflow: hidden; } .calendar table { table-layout: fixed; border-collapse: separate; font-size: 12px; width: 100%; height: 100%; } .calendar table td, .calendar table th { font-size: 12px; } .calendar-noborder { border: 0; } .calendar-header { position: relative; height: 22px; } .calendar-title { text-align: center; height: 22px; } .calendar-title span { position: relative; display: inline-block; top: 2px; padding: 0 3px; height: 18px; line-height: 18px; font-size: 12px; cursor: pointer; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .calendar-prevmonth, .calendar-nextmonth, .calendar-prevyear, .calendar-nextyear { position: absolute; top: 50%; margin-top: -7px; width: 14px; height: 14px; cursor: pointer; font-size: 1px; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .calendar-prevmonth { left: 20px; background: url('images/calendar_arrows.png') no-repeat -18px -2px; } .calendar-nextmonth { right: 20px; background: url('images/calendar_arrows.png') no-repeat -34px -2px; } .calendar-prevyear { left: 3px; background: url('images/calendar_arrows.png') no-repeat -1px -2px; } .calendar-nextyear { right: 3px; background: url('images/calendar_arrows.png') no-repeat -49px -2px; } .calendar-body { position: relative; } .calendar-body th, .calendar-body td { text-align: center; } .calendar-day { border: 0; padding: 1px; cursor: pointer; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .calendar-other-month { opacity: 0.3; filter: alpha(opacity=30); } .calendar-disabled { opacity: 0.6; filter: alpha(opacity=60); cursor: default; } .calendar-menu { position: absolute; top: 0; left: 0; width: 180px; height: 150px; padding: 5px; font-size: 12px; display: none; overflow: hidden; } .calendar-menu-year-inner { text-align: center; padding-bottom: 5px; } .calendar-menu-year { width: 40px; text-align: center; border-width: 1px; border-style: solid; margin: 0; padding: 2px; font-weight: bold; font-size: 12px; } .calendar-menu-prev, .calendar-menu-next { display: inline-block; width: 21px; height: 21px; vertical-align: top; cursor: pointer; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .calendar-menu-prev { margin-right: 10px; background: url('images/calendar_arrows.png') no-repeat 2px 2px; } .calendar-menu-next { margin-left: 10px; background: url('images/calendar_arrows.png') no-repeat -45px 2px; } .calendar-menu-month { text-align: center; cursor: pointer; font-weight: bold; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .calendar-body th, .calendar-menu-month { color: #919191; } .calendar-day { color: #444; } .calendar-sunday { color: #CC2222; } .calendar-saturday { color: #00ee00; } .calendar-today { color: #0000ff; } .calendar-menu-year { border-color: #ddd; } .calendar { border-color: #ddd; } .calendar-header { background: #ffffff; } .calendar-body, .calendar-menu { background: #fff; } .calendar-body th { background: #fff; padding: 2px 0; } .calendar-hover, .calendar-nav-hover, .calendar-menu-hover { background-color: #E6E6E6; color: #444; } .calendar-hover { border: 1px solid #ddd; padding: 0; } .calendar-selected { background-color: #CCE6FF; color: #000; border: 1px solid #99cdff; padding: 0; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/combo.css ================================================ .combo { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .combo .combo-text { font-size: 12px; border: 0px; margin: 0; padding: 0px 2px; vertical-align: baseline; } .combo-arrow { width: 18px; height: 20px; overflow: hidden; display: inline-block; vertical-align: top; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); } .combo-arrow-hover { opacity: 1.0; filter: alpha(opacity=100); } .combo-panel { overflow: auto; } .combo-arrow { background: url('images/combo_arrow.png') no-repeat center center; } .combo-panel { background-color: #fff; } .combo { border-color: #ddd; background-color: #fff; } .combo-arrow { background-color: #ffffff; } .combo-arrow-hover { background-color: #E6E6E6; } .combo-arrow:hover { background-color: #E6E6E6; } .combo .textbox-icon-disabled:hover { cursor: default; } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/combobox.css ================================================ .combobox-item, .combobox-group { font-size: 12px; padding: 3px; padding-right: 0px; } .combobox-item-disabled { opacity: 0.5; filter: alpha(opacity=50); } .combobox-gitem { padding-left: 10px; } .combobox-group { font-weight: bold; } .combobox-item-hover { background-color: #E6E6E6; color: #444; } .combobox-item-selected { background-color: #CCE6FF; color: #000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/datagrid.css ================================================ .datagrid .panel-body { overflow: hidden; position: relative; } .datagrid-view { position: relative; overflow: hidden; } .datagrid-view1, .datagrid-view2 { position: absolute; overflow: hidden; top: 0; } .datagrid-view1 { left: 0; } .datagrid-view2 { right: 0; } .datagrid-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0.3; filter: alpha(opacity=30); display: none; } .datagrid-mask-msg { position: absolute; top: 50%; margin-top: -20px; padding: 10px 5px 10px 30px; width: auto; height: 16px; border-width: 2px; border-style: solid; display: none; } .datagrid-sort-icon { padding: 0; } .datagrid-toolbar { height: auto; padding: 1px 2px; border-width: 0 0 1px 0; border-style: solid; } .datagrid-btn-separator { float: left; height: 24px; border-left: 1px solid #ddd; border-right: 1px solid #fff; margin: 2px 1px; } .datagrid .datagrid-pager { display: block; margin: 0; border-width: 1px 0 0 0; border-style: solid; } .datagrid .datagrid-pager-top { border-width: 0 0 1px 0; } .datagrid-header { overflow: hidden; cursor: default; border-width: 0 0 1px 0; border-style: solid; } .datagrid-header-inner { float: left; width: 10000px; } .datagrid-header-row, .datagrid-row { height: 25px; } .datagrid-header td, .datagrid-body td, .datagrid-footer td { border-width: 0 1px 1px 0; border-style: dotted; margin: 0; padding: 0; } .datagrid-cell, .datagrid-cell-group, .datagrid-header-rownumber, .datagrid-cell-rownumber { margin: 0; padding: 0 4px; white-space: nowrap; word-wrap: normal; overflow: hidden; height: 18px; line-height: 18px; font-size: 12px; } .datagrid-header .datagrid-cell { height: auto; } .datagrid-header .datagrid-cell span { font-size: 12px; } .datagrid-cell-group { text-align: center; } .datagrid-header-rownumber, .datagrid-cell-rownumber { width: 25px; text-align: center; margin: 0; padding: 0; } .datagrid-body { margin: 0; padding: 0; overflow: auto; zoom: 1; } .datagrid-view1 .datagrid-body-inner { padding-bottom: 20px; } .datagrid-view1 .datagrid-body { overflow: hidden; } .datagrid-footer { overflow: hidden; } .datagrid-footer-inner { border-width: 1px 0 0 0; border-style: solid; width: 10000px; float: left; } .datagrid-row-editing .datagrid-cell { height: auto; } .datagrid-header-check, .datagrid-cell-check { padding: 0; width: 27px; height: 18px; font-size: 1px; text-align: center; overflow: hidden; } .datagrid-header-check input, .datagrid-cell-check input { margin: 0; padding: 0; width: 15px; height: 18px; } .datagrid-resize-proxy { position: absolute; width: 1px; height: 10000px; top: 0; cursor: e-resize; display: none; } .datagrid-body .datagrid-editable { margin: 0; padding: 0; } .datagrid-body .datagrid-editable table { width: 100%; height: 100%; } .datagrid-body .datagrid-editable td { border: 0; margin: 0; padding: 0; } .datagrid-view .datagrid-editable-input { margin: 0; padding: 2px 4px; border: 1px solid #ddd; font-size: 12px; outline-style: none; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .datagrid-sort-desc .datagrid-sort-icon { padding: 0 13px 0 0; background: url('images/datagrid_icons.png') no-repeat -16px center; } .datagrid-sort-asc .datagrid-sort-icon { padding: 0 13px 0 0; background: url('images/datagrid_icons.png') no-repeat 0px center; } .datagrid-row-collapse { background: url('images/datagrid_icons.png') no-repeat -48px center; } .datagrid-row-expand { background: url('images/datagrid_icons.png') no-repeat -32px center; } .datagrid-mask-msg { background: #fff url('images/loading.gif') no-repeat scroll 5px center; } .datagrid-header, .datagrid-td-rownumber { background-color: #ffffff; } .datagrid-cell-rownumber { color: #444; } .datagrid-resize-proxy { background: #b3b3b3; } .datagrid-mask { background: #eee; } .datagrid-mask-msg { border-color: #ddd; } .datagrid-toolbar, .datagrid-pager { background: #fff; } .datagrid-header, .datagrid-toolbar, .datagrid-pager, .datagrid-footer-inner { border-color: #ddd; } .datagrid-header td, .datagrid-body td, .datagrid-footer td { border-color: #ddd; } .datagrid-htable, .datagrid-btable, .datagrid-ftable { color: #444; border-collapse: separate; } .datagrid-row-alt { background: #f5f5f5; } .datagrid-row-over, .datagrid-header td.datagrid-header-over { background: #E6E6E6; color: #444; cursor: default; } .datagrid-row-selected { background: #CCE6FF; color: #000; } .datagrid-row-editing .textbox, .datagrid-row-editing .textbox-text { -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/datebox.css ================================================ .datebox-calendar-inner { height: 180px; } .datebox-button { height: 18px; padding: 2px 5px; text-align: center; } .datebox-button a { font-size: 12px; font-weight: bold; text-decoration: none; opacity: 0.6; filter: alpha(opacity=60); } .datebox-button a:hover { opacity: 1.0; filter: alpha(opacity=100); } .datebox-current, .datebox-close { float: left; } .datebox-close { float: right; } .datebox .combo-arrow { background-image: url('images/datebox_arrow.png'); background-position: center center; } .datebox-button { background-color: #fff; } .datebox-button a { color: #777; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/dialog.css ================================================ .dialog-content { overflow: auto; } .dialog-toolbar { padding: 2px 5px; } .dialog-tool-separator { float: left; height: 24px; border-left: 1px solid #ddd; border-right: 1px solid #fff; margin: 2px 1px; } .dialog-button { padding: 5px; text-align: right; } .dialog-button .l-btn { margin-left: 5px; } .dialog-toolbar, .dialog-button { background: #fff; border-width: 1px; border-style: solid; } .dialog-toolbar { border-color: #ddd #ddd #ddd #ddd; } .dialog-button { border-color: #ddd #ddd #ddd #ddd; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/easyui.css ================================================ .panel { overflow: hidden; text-align: left; margin: 0; border: 0; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .panel-header, .panel-body { border-width: 1px; border-style: solid; } .panel-header { padding: 5px; position: relative; } .panel-title { background: url('images/blank.gif') no-repeat; } .panel-header-noborder { border-width: 0 0 1px 0; } .panel-body { overflow: auto; border-top-width: 0; padding: 0; } .panel-body-noheader { border-top-width: 1px; } .panel-body-noborder { border-width: 0px; } .panel-body-nobottom { border-bottom-width: 0; } .panel-with-icon { padding-left: 18px; } .panel-icon, .panel-tool { position: absolute; top: 50%; margin-top: -8px; height: 16px; overflow: hidden; } .panel-icon { left: 5px; width: 16px; } .panel-tool { right: 5px; width: auto; } .panel-tool a { display: inline-block; width: 16px; height: 16px; opacity: 0.6; filter: alpha(opacity=60); margin: 0 0 0 2px; vertical-align: top; } .panel-tool a:hover { opacity: 1; filter: alpha(opacity=100); background-color: #E6E6E6; -moz-border-radius: -2px -2px -2px -2px; -webkit-border-radius: -2px -2px -2px -2px; border-radius: -2px -2px -2px -2px; } .panel-loading { padding: 11px 0px 10px 30px; } .panel-noscroll { overflow: hidden; } .panel-fit, .panel-fit body { height: 100%; margin: 0; padding: 0; border: 0; overflow: hidden; } .panel-loading { background: url('images/loading.gif') no-repeat 10px 10px; } .panel-tool-close { background: url('images/panel_tools.png') no-repeat -16px 0px; } .panel-tool-min { background: url('images/panel_tools.png') no-repeat 0px 0px; } .panel-tool-max { background: url('images/panel_tools.png') no-repeat 0px -16px; } .panel-tool-restore { background: url('images/panel_tools.png') no-repeat -16px -16px; } .panel-tool-collapse { background: url('images/panel_tools.png') no-repeat -32px 0; } .panel-tool-expand { background: url('images/panel_tools.png') no-repeat -32px -16px; } .panel-header, .panel-body { border-color: #ddd; } .panel-header { background-color: #ffffff; } .panel-body { background-color: #fff; color: #444; font-size: 12px; } .panel-title { font-size: 12px; font-weight: bold; color: #777; height: 16px; line-height: 16px; } .panel-footer { border: 1px solid #ddd; overflow: hidden; background: #fff; } .panel-footer-noborder { border-width: 1px 0 0 0; } .accordion { overflow: hidden; border-width: 1px; border-style: solid; } .accordion .accordion-header { border-width: 0 0 1px; cursor: pointer; } .accordion .accordion-body { border-width: 0 0 1px; } .accordion-noborder { border-width: 0; } .accordion-noborder .accordion-header { border-width: 0 0 1px; } .accordion-noborder .accordion-body { border-width: 0 0 1px; } .accordion-collapse { background: url('images/accordion_arrows.png') no-repeat 0 0; } .accordion-expand { background: url('images/accordion_arrows.png') no-repeat -16px 0; } .accordion { background: #fff; border-color: #ddd; } .accordion .accordion-header { background: #ffffff; filter: none; } .accordion .accordion-header-selected { background: #CCE6FF; } .accordion .accordion-header-selected .panel-title { color: #000; } .window { overflow: hidden; padding: 5px; border-width: 1px; border-style: solid; } .window .window-header { background: transparent; padding: 0px 0px 6px 0px; } .window .window-body { border-width: 1px; border-style: solid; border-top-width: 0px; } .window .window-body-noheader { border-top-width: 1px; } .window .panel-body-nobottom { border-bottom-width: 0; } .window .window-header .panel-icon, .window .window-header .panel-tool { top: 50%; margin-top: -11px; } .window .window-header .panel-icon { left: 1px; } .window .window-header .panel-tool { right: 1px; } .window .window-header .panel-with-icon { padding-left: 18px; } .window-proxy { position: absolute; overflow: hidden; } .window-proxy-mask { position: absolute; filter: alpha(opacity=5); opacity: 0.05; } .window-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; filter: alpha(opacity=40); opacity: 0.40; font-size: 1px; overflow: hidden; } .window, .window-shadow { position: absolute; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .window-shadow { background: #eee; -moz-box-shadow: 2px 2px 3px #ededed; -webkit-box-shadow: 2px 2px 3px #ededed; box-shadow: 2px 2px 3px #ededed; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); } .window, .window .window-body { border-color: #ddd; } .window { background-color: #ffffff; } .window-proxy { border: 1px dashed #ddd; } .window-proxy-mask, .window-mask { background: #eee; } .window .panel-footer { border: 1px solid #ddd; position: relative; top: -1px; } .dialog-content { overflow: auto; } .dialog-toolbar { padding: 2px 5px; } .dialog-tool-separator { float: left; height: 24px; border-left: 1px solid #ddd; border-right: 1px solid #fff; margin: 2px 1px; } .dialog-button { padding: 5px; text-align: right; } .dialog-button .l-btn { margin-left: 5px; } .dialog-toolbar, .dialog-button { background: #fff; border-width: 1px; border-style: solid; } .dialog-toolbar { border-color: #ddd #ddd #ddd #ddd; } .dialog-button { border-color: #ddd #ddd #ddd #ddd; } .l-btn { text-decoration: none; display: inline-block; overflow: hidden; margin: 0; padding: 0; cursor: pointer; outline: none; text-align: center; vertical-align: middle; } .l-btn-plain { border: 0; padding: 1px; } .l-btn-left { display: inline-block; position: relative; overflow: hidden; margin: 0; padding: 0; vertical-align: top; } .l-btn-text { display: inline-block; vertical-align: top; width: auto; line-height: 24px; font-size: 12px; padding: 0; margin: 0 4px; } .l-btn-icon { display: inline-block; width: 16px; height: 16px; line-height: 16px; position: absolute; top: 50%; margin-top: -8px; font-size: 1px; } .l-btn span span .l-btn-empty { display: inline-block; margin: 0; width: 16px; height: 24px; font-size: 1px; vertical-align: top; } .l-btn span .l-btn-icon-left { padding: 0 0 0 20px; background-position: left center; } .l-btn span .l-btn-icon-right { padding: 0 20px 0 0; background-position: right center; } .l-btn-icon-left .l-btn-text { margin: 0 4px 0 24px; } .l-btn-icon-left .l-btn-icon { left: 4px; } .l-btn-icon-right .l-btn-text { margin: 0 24px 0 4px; } .l-btn-icon-right .l-btn-icon { right: 4px; } .l-btn-icon-top .l-btn-text { margin: 20px 4px 0 4px; } .l-btn-icon-top .l-btn-icon { top: 4px; left: 50%; margin: 0 0 0 -8px; } .l-btn-icon-bottom .l-btn-text { margin: 0 4px 20px 4px; } .l-btn-icon-bottom .l-btn-icon { top: auto; bottom: 4px; left: 50%; margin: 0 0 0 -8px; } .l-btn-left .l-btn-empty { margin: 0 4px; width: 16px; } .l-btn-plain:hover { padding: 0; } .l-btn-focus { outline: #0000FF dotted thin; } .l-btn-large .l-btn-text { line-height: 40px; } .l-btn-large .l-btn-icon { width: 32px; height: 32px; line-height: 32px; margin-top: -16px; } .l-btn-large .l-btn-icon-left .l-btn-text { margin-left: 40px; } .l-btn-large .l-btn-icon-right .l-btn-text { margin-right: 40px; } .l-btn-large .l-btn-icon-top .l-btn-text { margin-top: 36px; line-height: 24px; min-width: 32px; } .l-btn-large .l-btn-icon-top .l-btn-icon { margin: 0 0 0 -16px; } .l-btn-large .l-btn-icon-bottom .l-btn-text { margin-bottom: 36px; line-height: 24px; min-width: 32px; } .l-btn-large .l-btn-icon-bottom .l-btn-icon { margin: 0 0 0 -16px; } .l-btn-large .l-btn-left .l-btn-empty { margin: 0 4px; width: 32px; } .l-btn { color: #777; background: #ffffff; background-repeat: repeat-x; border: 1px solid #dddddd; background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .l-btn:hover { background: #E6E6E6; color: #444; border: 1px solid #ddd; filter: none; } .l-btn-plain { background: transparent; border: 0; filter: none; } .l-btn-plain:hover { background: #E6E6E6; color: #444; border: 1px solid #ddd; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .l-btn-disabled, .l-btn-disabled:hover { opacity: 0.5; cursor: default; background: #ffffff; color: #777; background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); } .l-btn-disabled .l-btn-text, .l-btn-disabled .l-btn-icon { filter: alpha(opacity=50); } .l-btn-plain-disabled, .l-btn-plain-disabled:hover { background: transparent; filter: alpha(opacity=50); } .l-btn-selected, .l-btn-selected:hover { background: #ddd; filter: none; } .l-btn-plain-selected, .l-btn-plain-selected:hover { background: #ddd; } .textbox { position: relative; border: 1px solid #ddd; background-color: #fff; vertical-align: middle; display: inline-block; overflow: hidden; white-space: nowrap; margin: 0; padding: 0; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .textbox .textbox-text { font-size: 12px; border: 0; margin: 0; padding: 4px; white-space: normal; vertical-align: top; outline-style: none; resize: none; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .textbox .textbox-prompt { font-size: 12px; color: #aaa; } .textbox-button, .textbox-button:hover { position: absolute; top: 0; padding: 0; vertical-align: top; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .textbox-button-right, .textbox-button-right:hover { border-width: 0 0 0 1px; } .textbox-button-left, .textbox-button-left:hover { border-width: 0 1px 0 0; } .textbox-addon { position: absolute; top: 0; } .textbox-icon { display: inline-block; width: 18px; height: 20px; overflow: hidden; vertical-align: top; background-position: center center; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); text-decoration: none; outline-style: none; } .textbox-icon-disabled, .textbox-icon-readonly { cursor: default; } .textbox-icon:hover { opacity: 1.0; filter: alpha(opacity=100); } .textbox-icon-disabled:hover { opacity: 0.6; filter: alpha(opacity=60); } .textbox-focused { -moz-box-shadow: 0 0 3px 0 #ddd; -webkit-box-shadow: 0 0 3px 0 #ddd; box-shadow: 0 0 3px 0 #ddd; } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } .filebox .textbox-value { vertical-align: top; position: absolute; top: 0; left: -5000px; } .combo { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .combo .combo-text { font-size: 12px; border: 0px; margin: 0; padding: 0px 2px; vertical-align: baseline; } .combo-arrow { width: 18px; height: 20px; overflow: hidden; display: inline-block; vertical-align: top; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); } .combo-arrow-hover { opacity: 1.0; filter: alpha(opacity=100); } .combo-panel { overflow: auto; } .combo-arrow { background: url('images/combo_arrow.png') no-repeat center center; } .combo-panel { background-color: #fff; } .combo { border-color: #ddd; background-color: #fff; } .combo-arrow { background-color: #ffffff; } .combo-arrow-hover { background-color: #E6E6E6; } .combo-arrow:hover { background-color: #E6E6E6; } .combo .textbox-icon-disabled:hover { cursor: default; } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } .combobox-item, .combobox-group { font-size: 12px; padding: 3px; padding-right: 0px; } .combobox-item-disabled { opacity: 0.5; filter: alpha(opacity=50); } .combobox-gitem { padding-left: 10px; } .combobox-group { font-weight: bold; } .combobox-item-hover { background-color: #E6E6E6; color: #444; } .combobox-item-selected { background-color: #CCE6FF; color: #000; } .layout { position: relative; overflow: hidden; margin: 0; padding: 0; z-index: 0; } .layout-panel { position: absolute; overflow: hidden; } .layout-panel-east, .layout-panel-west { z-index: 2; } .layout-panel-north, .layout-panel-south { z-index: 3; } .layout-expand { position: absolute; padding: 0px; font-size: 1px; cursor: pointer; z-index: 1; } .layout-expand .panel-header, .layout-expand .panel-body { background: transparent; filter: none; overflow: hidden; } .layout-expand .panel-header { border-bottom-width: 0px; } .layout-split-proxy-h, .layout-split-proxy-v { position: absolute; font-size: 1px; display: none; z-index: 5; } .layout-split-proxy-h { width: 5px; cursor: e-resize; } .layout-split-proxy-v { height: 5px; cursor: n-resize; } .layout-mask { position: absolute; background: #fafafa; filter: alpha(opacity=10); opacity: 0.10; z-index: 4; } .layout-button-up { background: url('images/layout_arrows.png') no-repeat -16px -16px; } .layout-button-down { background: url('images/layout_arrows.png') no-repeat -16px 0; } .layout-button-left { background: url('images/layout_arrows.png') no-repeat 0 0; } .layout-button-right { background: url('images/layout_arrows.png') no-repeat 0 -16px; } .layout-split-proxy-h, .layout-split-proxy-v { background-color: #b3b3b3; } .layout-split-north { border-bottom: 5px solid #fff; } .layout-split-south { border-top: 5px solid #fff; } .layout-split-east { border-left: 5px solid #fff; } .layout-split-west { border-right: 5px solid #fff; } .layout-expand { background-color: #ffffff; } .layout-expand-over { background-color: #ffffff; } .tabs-container { overflow: hidden; } .tabs-header { border-width: 1px; border-style: solid; border-bottom-width: 0; position: relative; padding: 0; padding-top: 2px; overflow: hidden; } .tabs-header-plain { border: 0; background: transparent; } .tabs-scroller-left, .tabs-scroller-right { position: absolute; top: auto; bottom: 0; width: 18px; font-size: 1px; display: none; cursor: pointer; border-width: 1px; border-style: solid; } .tabs-scroller-left { left: 0; } .tabs-scroller-right { right: 0; } .tabs-tool { position: absolute; bottom: 0; padding: 1px; overflow: hidden; border-width: 1px; border-style: solid; } .tabs-header-plain .tabs-tool { padding: 0 1px; } .tabs-wrap { position: relative; left: 0; overflow: hidden; width: 100%; margin: 0; padding: 0; } .tabs-scrolling { margin-left: 18px; margin-right: 18px; } .tabs-disabled { opacity: 0.3; filter: alpha(opacity=30); } .tabs { list-style-type: none; height: 26px; margin: 0px; padding: 0px; padding-left: 4px; width: 50000px; border-style: solid; border-width: 0 0 1px 0; } .tabs li { float: left; display: inline-block; margin: 0 4px -1px 0; padding: 0; position: relative; border: 0; } .tabs li a.tabs-inner { display: inline-block; text-decoration: none; margin: 0; padding: 0 10px; height: 25px; line-height: 25px; text-align: center; white-space: nowrap; border-width: 1px; border-style: solid; -moz-border-radius: 0px 0px 0 0; -webkit-border-radius: 0px 0px 0 0; border-radius: 0px 0px 0 0; } .tabs li.tabs-selected a.tabs-inner { font-weight: bold; outline: none; } .tabs li.tabs-selected a:hover.tabs-inner { cursor: default; pointer: default; } .tabs li a.tabs-close, .tabs-p-tool { position: absolute; font-size: 1px; display: block; height: 12px; padding: 0; top: 50%; margin-top: -6px; overflow: hidden; } .tabs li a.tabs-close { width: 12px; right: 5px; opacity: 0.6; filter: alpha(opacity=60); } .tabs-p-tool { right: 16px; } .tabs-p-tool a { display: inline-block; font-size: 1px; width: 12px; height: 12px; margin: 0; opacity: 0.6; filter: alpha(opacity=60); } .tabs li a:hover.tabs-close, .tabs-p-tool a:hover { opacity: 1; filter: alpha(opacity=100); cursor: hand; cursor: pointer; } .tabs-with-icon { padding-left: 18px; } .tabs-icon { position: absolute; width: 16px; height: 16px; left: 10px; top: 50%; margin-top: -8px; } .tabs-title { font-size: 12px; } .tabs-closable { padding-right: 8px; } .tabs-panels { margin: 0px; padding: 0px; border-width: 1px; border-style: solid; border-top-width: 0; overflow: hidden; } .tabs-header-bottom { border-width: 0 1px 1px 1px; padding: 0 0 2px 0; } .tabs-header-bottom .tabs { border-width: 1px 0 0 0; } .tabs-header-bottom .tabs li { margin: -1px 4px 0 0; } .tabs-header-bottom .tabs li a.tabs-inner { -moz-border-radius: 0 0 0px 0px; -webkit-border-radius: 0 0 0px 0px; border-radius: 0 0 0px 0px; } .tabs-header-bottom .tabs-tool { top: 0; } .tabs-header-bottom .tabs-scroller-left, .tabs-header-bottom .tabs-scroller-right { top: 0; bottom: auto; } .tabs-panels-top { border-width: 1px 1px 0 1px; } .tabs-header-left { float: left; border-width: 1px 0 1px 1px; padding: 0; } .tabs-header-right { float: right; border-width: 1px 1px 1px 0; padding: 0; } .tabs-header-left .tabs-wrap, .tabs-header-right .tabs-wrap { height: 100%; } .tabs-header-left .tabs { height: 100%; padding: 4px 0 0 4px; border-width: 0 1px 0 0; } .tabs-header-right .tabs { height: 100%; padding: 4px 4px 0 0; border-width: 0 0 0 1px; } .tabs-header-left .tabs li, .tabs-header-right .tabs li { display: block; width: 100%; position: relative; } .tabs-header-left .tabs li { left: auto; right: 0; margin: 0 -1px 4px 0; float: right; } .tabs-header-right .tabs li { left: 0; right: auto; margin: 0 0 4px -1px; float: left; } .tabs-header-left .tabs li a.tabs-inner { display: block; text-align: left; -moz-border-radius: 0px 0 0 0px; -webkit-border-radius: 0px 0 0 0px; border-radius: 0px 0 0 0px; } .tabs-header-right .tabs li a.tabs-inner { display: block; text-align: left; -moz-border-radius: 0 0px 0px 0; -webkit-border-radius: 0 0px 0px 0; border-radius: 0 0px 0px 0; } .tabs-panels-right { float: right; border-width: 1px 1px 1px 0; } .tabs-panels-left { float: left; border-width: 1px 0 1px 1px; } .tabs-header-noborder, .tabs-panels-noborder { border: 0px; } .tabs-header-plain { border: 0px; background: transparent; } .tabs-scroller-left { background: #ffffff url('images/tabs_icons.png') no-repeat 1px center; } .tabs-scroller-right { background: #ffffff url('images/tabs_icons.png') no-repeat -15px center; } .tabs li a.tabs-close { background: url('images/tabs_icons.png') no-repeat -34px center; } .tabs li a.tabs-inner:hover { background: #E6E6E6; color: #444; filter: none; } .tabs li.tabs-selected a.tabs-inner { background-color: #fff; color: #777; } .tabs li a.tabs-inner { color: #777; background-color: #ffffff; } .tabs-header, .tabs-tool { background-color: #ffffff; } .tabs-header-plain { background: transparent; } .tabs-header, .tabs-scroller-left, .tabs-scroller-right, .tabs-tool, .tabs, .tabs-panels, .tabs li a.tabs-inner, .tabs li.tabs-selected a.tabs-inner, .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, .tabs-header-left .tabs li.tabs-selected a.tabs-inner, .tabs-header-right .tabs li.tabs-selected a.tabs-inner { border-color: #ddd; } .tabs-p-tool a:hover, .tabs li a:hover.tabs-close, .tabs-scroller-over { background-color: #E6E6E6; } .tabs li.tabs-selected a.tabs-inner { border-bottom: 1px solid #fff; } .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { border-top: 1px solid #fff; } .tabs-header-left .tabs li.tabs-selected a.tabs-inner { border-right: 1px solid #fff; } .tabs-header-right .tabs li.tabs-selected a.tabs-inner { border-left: 1px solid #fff; } .datagrid .panel-body { overflow: hidden; position: relative; } .datagrid-view { position: relative; overflow: hidden; } .datagrid-view1, .datagrid-view2 { position: absolute; overflow: hidden; top: 0; } .datagrid-view1 { left: 0; } .datagrid-view2 { right: 0; } .datagrid-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0.3; filter: alpha(opacity=30); display: none; } .datagrid-mask-msg { position: absolute; top: 50%; margin-top: -20px; padding: 10px 5px 10px 30px; width: auto; height: 16px; border-width: 2px; border-style: solid; display: none; } .datagrid-sort-icon { padding: 0; } .datagrid-toolbar { height: auto; padding: 1px 2px; border-width: 0 0 1px 0; border-style: solid; } .datagrid-btn-separator { float: left; height: 24px; border-left: 1px solid #ddd; border-right: 1px solid #fff; margin: 2px 1px; } .datagrid .datagrid-pager { display: block; margin: 0; border-width: 1px 0 0 0; border-style: solid; } .datagrid .datagrid-pager-top { border-width: 0 0 1px 0; } .datagrid-header { overflow: hidden; cursor: default; border-width: 0 0 1px 0; border-style: solid; } .datagrid-header-inner { float: left; width: 10000px; } .datagrid-header-row, .datagrid-row { height: 25px; } .datagrid-header td, .datagrid-body td, .datagrid-footer td { border-width: 0 1px 1px 0; border-style: dotted; margin: 0; padding: 0; } .datagrid-cell, .datagrid-cell-group, .datagrid-header-rownumber, .datagrid-cell-rownumber { margin: 0; padding: 0 4px; white-space: nowrap; word-wrap: normal; overflow: hidden; height: 18px; line-height: 18px; font-size: 12px; } .datagrid-header .datagrid-cell { height: auto; } .datagrid-header .datagrid-cell span { font-size: 12px; } .datagrid-cell-group { text-align: center; } .datagrid-header-rownumber, .datagrid-cell-rownumber { width: 25px; text-align: center; margin: 0; padding: 0; } .datagrid-body { margin: 0; padding: 0; overflow: auto; zoom: 1; } .datagrid-view1 .datagrid-body-inner { padding-bottom: 20px; } .datagrid-view1 .datagrid-body { overflow: hidden; } .datagrid-footer { overflow: hidden; } .datagrid-footer-inner { border-width: 1px 0 0 0; border-style: solid; width: 10000px; float: left; } .datagrid-row-editing .datagrid-cell { height: auto; } .datagrid-header-check, .datagrid-cell-check { padding: 0; width: 27px; height: 18px; font-size: 1px; text-align: center; overflow: hidden; } .datagrid-header-check input, .datagrid-cell-check input { margin: 0; padding: 0; width: 15px; height: 18px; } .datagrid-resize-proxy { position: absolute; width: 1px; height: 10000px; top: 0; cursor: e-resize; display: none; } .datagrid-body .datagrid-editable { margin: 0; padding: 0; } .datagrid-body .datagrid-editable table { width: 100%; height: 100%; } .datagrid-body .datagrid-editable td { border: 0; margin: 0; padding: 0; } .datagrid-view .datagrid-editable-input { margin: 0; padding: 2px 4px; border: 1px solid #ddd; font-size: 12px; outline-style: none; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .datagrid-sort-desc .datagrid-sort-icon { padding: 0 13px 0 0; background: url('images/datagrid_icons.png') no-repeat -16px center; } .datagrid-sort-asc .datagrid-sort-icon { padding: 0 13px 0 0; background: url('images/datagrid_icons.png') no-repeat 0px center; } .datagrid-row-collapse { background: url('images/datagrid_icons.png') no-repeat -48px center; } .datagrid-row-expand { background: url('images/datagrid_icons.png') no-repeat -32px center; } .datagrid-mask-msg { background: #fff url('images/loading.gif') no-repeat scroll 5px center; } .datagrid-header, .datagrid-td-rownumber { background-color: #ffffff; } .datagrid-cell-rownumber { color: #444; } .datagrid-resize-proxy { background: #b3b3b3; } .datagrid-mask { background: #eee; } .datagrid-mask-msg { border-color: #ddd; } .datagrid-toolbar, .datagrid-pager { background: #fff; } .datagrid-header, .datagrid-toolbar, .datagrid-pager, .datagrid-footer-inner { border-color: #ddd; } .datagrid-header td, .datagrid-body td, .datagrid-footer td { border-color: #ddd; } .datagrid-htable, .datagrid-btable, .datagrid-ftable { color: #444; border-collapse: separate; } .datagrid-row-alt { background: #f5f5f5; } .datagrid-row-over, .datagrid-header td.datagrid-header-over { background: #E6E6E6; color: #444; cursor: default; } .datagrid-row-selected { background: #CCE6FF; color: #000; } .datagrid-row-editing .textbox, .datagrid-row-editing .textbox-text { -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .propertygrid .datagrid-view1 .datagrid-body td { padding-bottom: 1px; border-width: 0 1px 0 0; } .propertygrid .datagrid-group { height: 21px; overflow: hidden; border-width: 0 0 1px 0; border-style: solid; } .propertygrid .datagrid-group span { font-weight: bold; } .propertygrid .datagrid-view1 .datagrid-body td { border-color: #ddd; } .propertygrid .datagrid-view1 .datagrid-group { border-color: #ffffff; } .propertygrid .datagrid-view2 .datagrid-group { border-color: #ddd; } .propertygrid .datagrid-group, .propertygrid .datagrid-view1 .datagrid-body, .propertygrid .datagrid-view1 .datagrid-row-over, .propertygrid .datagrid-view1 .datagrid-row-selected { background: #ffffff; } .pagination { zoom: 1; } .pagination table { float: left; height: 30px; } .pagination td { border: 0; } .pagination-btn-separator { float: left; height: 24px; border-left: 1px solid #ddd; border-right: 1px solid #fff; margin: 3px 1px; } .pagination .pagination-num { border-width: 1px; border-style: solid; margin: 0 2px; padding: 2px; width: 2em; height: auto; } .pagination-page-list { margin: 0px 6px; padding: 1px 2px; width: auto; height: auto; border-width: 1px; border-style: solid; } .pagination-info { float: right; margin: 0 6px 0 0; padding: 0; height: 30px; line-height: 30px; font-size: 12px; } .pagination span { font-size: 12px; } .pagination-link .l-btn-text { width: 24px; text-align: center; margin: 0; } .pagination-first { background: url('images/pagination_icons.png') no-repeat 0 center; } .pagination-prev { background: url('images/pagination_icons.png') no-repeat -16px center; } .pagination-next { background: url('images/pagination_icons.png') no-repeat -32px center; } .pagination-last { background: url('images/pagination_icons.png') no-repeat -48px center; } .pagination-load { background: url('images/pagination_icons.png') no-repeat -64px center; } .pagination-loading { background: url('images/loading.gif') no-repeat center center; } .pagination-page-list, .pagination .pagination-num { border-color: #ddd; } .calendar { border-width: 1px; border-style: solid; padding: 1px; overflow: hidden; } .calendar table { table-layout: fixed; border-collapse: separate; font-size: 12px; width: 100%; height: 100%; } .calendar table td, .calendar table th { font-size: 12px; } .calendar-noborder { border: 0; } .calendar-header { position: relative; height: 22px; } .calendar-title { text-align: center; height: 22px; } .calendar-title span { position: relative; display: inline-block; top: 2px; padding: 0 3px; height: 18px; line-height: 18px; font-size: 12px; cursor: pointer; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .calendar-prevmonth, .calendar-nextmonth, .calendar-prevyear, .calendar-nextyear { position: absolute; top: 50%; margin-top: -7px; width: 14px; height: 14px; cursor: pointer; font-size: 1px; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .calendar-prevmonth { left: 20px; background: url('images/calendar_arrows.png') no-repeat -18px -2px; } .calendar-nextmonth { right: 20px; background: url('images/calendar_arrows.png') no-repeat -34px -2px; } .calendar-prevyear { left: 3px; background: url('images/calendar_arrows.png') no-repeat -1px -2px; } .calendar-nextyear { right: 3px; background: url('images/calendar_arrows.png') no-repeat -49px -2px; } .calendar-body { position: relative; } .calendar-body th, .calendar-body td { text-align: center; } .calendar-day { border: 0; padding: 1px; cursor: pointer; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .calendar-other-month { opacity: 0.3; filter: alpha(opacity=30); } .calendar-disabled { opacity: 0.6; filter: alpha(opacity=60); cursor: default; } .calendar-menu { position: absolute; top: 0; left: 0; width: 180px; height: 150px; padding: 5px; font-size: 12px; display: none; overflow: hidden; } .calendar-menu-year-inner { text-align: center; padding-bottom: 5px; } .calendar-menu-year { width: 40px; text-align: center; border-width: 1px; border-style: solid; margin: 0; padding: 2px; font-weight: bold; font-size: 12px; } .calendar-menu-prev, .calendar-menu-next { display: inline-block; width: 21px; height: 21px; vertical-align: top; cursor: pointer; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .calendar-menu-prev { margin-right: 10px; background: url('images/calendar_arrows.png') no-repeat 2px 2px; } .calendar-menu-next { margin-left: 10px; background: url('images/calendar_arrows.png') no-repeat -45px 2px; } .calendar-menu-month { text-align: center; cursor: pointer; font-weight: bold; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .calendar-body th, .calendar-menu-month { color: #919191; } .calendar-day { color: #444; } .calendar-sunday { color: #CC2222; } .calendar-saturday { color: #00ee00; } .calendar-today { color: #0000ff; } .calendar-menu-year { border-color: #ddd; } .calendar { border-color: #ddd; } .calendar-header { background: #ffffff; } .calendar-body, .calendar-menu { background: #fff; } .calendar-body th { background: #fff; padding: 2px 0; } .calendar-hover, .calendar-nav-hover, .calendar-menu-hover { background-color: #E6E6E6; color: #444; } .calendar-hover { border: 1px solid #ddd; padding: 0; } .calendar-selected { background-color: #CCE6FF; color: #000; border: 1px solid #99cdff; padding: 0; } .datebox-calendar-inner { height: 180px; } .datebox-button { height: 18px; padding: 2px 5px; text-align: center; } .datebox-button a { font-size: 12px; font-weight: bold; text-decoration: none; opacity: 0.6; filter: alpha(opacity=60); } .datebox-button a:hover { opacity: 1.0; filter: alpha(opacity=100); } .datebox-current, .datebox-close { float: left; } .datebox-close { float: right; } .datebox .combo-arrow { background-image: url('images/datebox_arrow.png'); background-position: center center; } .datebox-button { background-color: #fff; } .datebox-button a { color: #777; } .numberbox { border: 1px solid #ddd; margin: 0; padding: 0 2px; vertical-align: middle; } .textbox { padding: 0; } .spinner { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .spinner .spinner-text { font-size: 12px; border: 0px; margin: 0; padding: 0 2px; vertical-align: baseline; } .spinner-arrow { background-color: #ffffff; display: inline-block; overflow: hidden; vertical-align: top; margin: 0; padding: 0; opacity: 1.0; filter: alpha(opacity=100); width: 18px; } .spinner-arrow-up, .spinner-arrow-down { opacity: 0.6; filter: alpha(opacity=60); display: block; font-size: 1px; width: 18px; height: 10px; width: 100%; height: 50%; outline-style: none; } .spinner-arrow-hover { background-color: #E6E6E6; opacity: 1.0; filter: alpha(opacity=100); } .spinner-arrow-up:hover, .spinner-arrow-down:hover { opacity: 1.0; filter: alpha(opacity=100); background-color: #E6E6E6; } .textbox-icon-disabled .spinner-arrow-up:hover, .textbox-icon-disabled .spinner-arrow-down:hover { opacity: 0.6; filter: alpha(opacity=60); background-color: #ffffff; cursor: default; } .spinner .textbox-icon-disabled { opacity: 0.6; filter: alpha(opacity=60); } .spinner-arrow-up { background: url('images/spinner_arrows.png') no-repeat 1px center; } .spinner-arrow-down { background: url('images/spinner_arrows.png') no-repeat -15px center; } .spinner { border-color: #ddd; } .progressbar { border-width: 1px; border-style: solid; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; overflow: hidden; position: relative; } .progressbar-text { text-align: center; position: absolute; } .progressbar-value { position: relative; overflow: hidden; width: 0; -moz-border-radius: 0px 0 0 0px; -webkit-border-radius: 0px 0 0 0px; border-radius: 0px 0 0 0px; } .progressbar { border-color: #ddd; } .progressbar-text { color: #444; font-size: 12px; } .progressbar-value .progressbar-text { background-color: #CCE6FF; color: #000; } .searchbox { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .searchbox .searchbox-text { font-size: 12px; border: 0; margin: 0; padding: 0 2px; vertical-align: top; } .searchbox .searchbox-prompt { font-size: 12px; color: #ccc; } .searchbox-button { width: 18px; height: 20px; overflow: hidden; display: inline-block; vertical-align: top; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); } .searchbox-button-hover { opacity: 1.0; filter: alpha(opacity=100); } .searchbox .l-btn-plain { border: 0; padding: 0; vertical-align: top; opacity: 0.6; filter: alpha(opacity=60); -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .l-btn-plain:hover { border: 0; padding: 0; opacity: 1.0; filter: alpha(opacity=100); -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox a.m-btn-plain-active { -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .m-btn-active { border-width: 0 1px 0 0; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .textbox-button-right { border-width: 0 0 0 1px; } .searchbox .textbox-button-left { border-width: 0 1px 0 0; } .searchbox-button { background: url('images/searchbox_button.png') no-repeat center center; } .searchbox { border-color: #ddd; background-color: #fff; } .searchbox .l-btn-plain { background: #ffffff; } .searchbox .l-btn-plain-disabled, .searchbox .l-btn-plain-disabled:hover { opacity: 0.5; filter: alpha(opacity=50); } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } .slider-disabled { opacity: 0.5; filter: alpha(opacity=50); } .slider-h { height: 22px; } .slider-v { width: 22px; } .slider-inner { position: relative; height: 6px; top: 7px; border-width: 1px; border-style: solid; border-radius: 0px; } .slider-handle { position: absolute; display: block; outline: none; width: 20px; height: 20px; top: 50%; margin-top: -10px; margin-left: -10px; } .slider-tip { position: absolute; display: inline-block; line-height: 12px; font-size: 12px; white-space: nowrap; top: -22px; } .slider-rule { position: relative; top: 15px; } .slider-rule span { position: absolute; display: inline-block; font-size: 0; height: 5px; border-width: 0 0 0 1px; border-style: solid; } .slider-rulelabel { position: relative; top: 20px; } .slider-rulelabel span { position: absolute; display: inline-block; font-size: 12px; } .slider-v .slider-inner { width: 6px; left: 7px; top: 0; float: left; } .slider-v .slider-handle { left: 50%; margin-top: -10px; } .slider-v .slider-tip { left: -10px; margin-top: -6px; } .slider-v .slider-rule { float: left; top: 0; left: 16px; } .slider-v .slider-rule span { width: 5px; height: 'auto'; border-left: 0; border-width: 1px 0 0 0; border-style: solid; } .slider-v .slider-rulelabel { float: left; top: 0; left: 23px; } .slider-handle { background: url('images/slider_handle.png') no-repeat; } .slider-inner { border-color: #ddd; background: #ffffff; } .slider-rule span { border-color: #ddd; } .slider-rulelabel span { color: #444; } .menu { position: absolute; margin: 0; padding: 2px; border-width: 1px; border-style: solid; overflow: hidden; } .menu-item { position: relative; margin: 0; padding: 0; overflow: hidden; white-space: nowrap; cursor: pointer; border-width: 1px; border-style: solid; } .menu-text { height: 20px; line-height: 20px; float: left; padding-left: 28px; } .menu-icon { position: absolute; width: 16px; height: 16px; left: 2px; top: 50%; margin-top: -8px; } .menu-rightarrow { position: absolute; width: 16px; height: 16px; right: 0; top: 50%; margin-top: -8px; } .menu-line { position: absolute; left: 26px; top: 0; height: 2000px; font-size: 1px; } .menu-sep { margin: 3px 0px 3px 25px; font-size: 1px; } .menu-active { -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .menu-item-disabled { opacity: 0.5; filter: alpha(opacity=50); cursor: default; } .menu-text, .menu-text span { font-size: 12px; } .menu-shadow { position: absolute; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; background: #eee; -moz-box-shadow: 2px 2px 3px #ededed; -webkit-box-shadow: 2px 2px 3px #ededed; box-shadow: 2px 2px 3px #ededed; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); } .menu-rightarrow { background: url('images/menu_arrows.png') no-repeat -32px center; } .menu-line { border-left: 1px solid #ddd; border-right: 1px solid #fff; } .menu-sep { border-top: 1px solid #ddd; border-bottom: 1px solid #fff; } .menu { background-color: #ffffff; border-color: #ddd; color: #444; } .menu-content { background: #fff; } .menu-item { border-color: transparent; _border-color: #ffffff; } .menu-active { border-color: #ddd; color: #444; background: #E6E6E6; } .menu-active-disabled { border-color: transparent; background: transparent; color: #444; } .m-btn-downarrow, .s-btn-downarrow { display: inline-block; position: absolute; width: 16px; height: 16px; font-size: 1px; right: 0; top: 50%; margin-top: -8px; } .m-btn-active, .s-btn-active { background: #E6E6E6; color: #444; border: 1px solid #ddd; filter: none; } .m-btn-plain-active, .s-btn-plain-active { background: transparent; padding: 0; border-width: 1px; border-style: solid; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .m-btn .l-btn-left .l-btn-text { margin-right: 20px; } .m-btn .l-btn-icon-right .l-btn-text { margin-right: 40px; } .m-btn .l-btn-icon-right .l-btn-icon { right: 20px; } .m-btn .l-btn-icon-top .l-btn-text { margin-right: 4px; margin-bottom: 14px; } .m-btn .l-btn-icon-bottom .l-btn-text { margin-right: 4px; margin-bottom: 34px; } .m-btn .l-btn-icon-bottom .l-btn-icon { top: auto; bottom: 20px; } .m-btn .l-btn-icon-top .m-btn-downarrow, .m-btn .l-btn-icon-bottom .m-btn-downarrow { top: auto; bottom: 0px; left: 50%; margin-left: -8px; } .m-btn-line { display: inline-block; position: absolute; font-size: 1px; display: none; } .m-btn .l-btn-left .m-btn-line { right: 0; width: 16px; height: 500px; border-style: solid; border-color: #b3b3b3; border-width: 0 0 0 1px; } .m-btn .l-btn-icon-top .m-btn-line, .m-btn .l-btn-icon-bottom .m-btn-line { left: 0; bottom: 0; width: 500px; height: 16px; border-width: 1px 0 0 0; } .m-btn-large .l-btn-icon-right .l-btn-text { margin-right: 56px; } .m-btn-large .l-btn-icon-bottom .l-btn-text { margin-bottom: 50px; } .m-btn-downarrow, .s-btn-downarrow { background: url('images/menu_arrows.png') no-repeat 0 center; } .m-btn-plain-active, .s-btn-plain-active { border-color: #ddd; background-color: #E6E6E6; color: #444; } .s-btn:hover .m-btn-line, .s-btn-active .m-btn-line, .s-btn-plain-active .m-btn-line { display: inline-block; } .l-btn:hover .s-btn-downarrow, .s-btn-active .s-btn-downarrow, .s-btn-plain-active .s-btn-downarrow { border-style: solid; border-color: #b3b3b3; border-width: 0 0 0 1px; } .messager-body { padding: 10px; overflow: hidden; } .messager-button { text-align: center; padding-top: 10px; } .messager-button .l-btn { width: 70px; } .messager-icon { float: left; width: 32px; height: 32px; margin: 0 10px 10px 0; } .messager-error { background: url('images/messager_icons.png') no-repeat scroll -64px 0; } .messager-info { background: url('images/messager_icons.png') no-repeat scroll 0 0; } .messager-question { background: url('images/messager_icons.png') no-repeat scroll -32px 0; } .messager-warning { background: url('images/messager_icons.png') no-repeat scroll -96px 0; } .messager-progress { padding: 10px; } .messager-p-msg { margin-bottom: 5px; } .messager-body .messager-input { width: 100%; padding: 1px 0; border: 1px solid #ddd; } .tree { margin: 0; padding: 0; list-style-type: none; } .tree li { white-space: nowrap; } .tree li ul { list-style-type: none; margin: 0; padding: 0; } .tree-node { height: 18px; white-space: nowrap; cursor: pointer; } .tree-hit { cursor: pointer; } .tree-expanded, .tree-collapsed, .tree-folder, .tree-file, .tree-checkbox, .tree-indent { display: inline-block; width: 16px; height: 18px; vertical-align: top; overflow: hidden; } .tree-expanded { background: url('images/tree_icons.png') no-repeat -18px 0px; } .tree-expanded-hover { background: url('images/tree_icons.png') no-repeat -50px 0px; } .tree-collapsed { background: url('images/tree_icons.png') no-repeat 0px 0px; } .tree-collapsed-hover { background: url('images/tree_icons.png') no-repeat -32px 0px; } .tree-lines .tree-expanded, .tree-lines .tree-root-first .tree-expanded { background: url('images/tree_icons.png') no-repeat -144px 0; } .tree-lines .tree-collapsed, .tree-lines .tree-root-first .tree-collapsed { background: url('images/tree_icons.png') no-repeat -128px 0; } .tree-lines .tree-node-last .tree-expanded, .tree-lines .tree-root-one .tree-expanded { background: url('images/tree_icons.png') no-repeat -80px 0; } .tree-lines .tree-node-last .tree-collapsed, .tree-lines .tree-root-one .tree-collapsed { background: url('images/tree_icons.png') no-repeat -64px 0; } .tree-line { background: url('images/tree_icons.png') no-repeat -176px 0; } .tree-join { background: url('images/tree_icons.png') no-repeat -192px 0; } .tree-joinbottom { background: url('images/tree_icons.png') no-repeat -160px 0; } .tree-folder { background: url('images/tree_icons.png') no-repeat -208px 0; } .tree-folder-open { background: url('images/tree_icons.png') no-repeat -224px 0; } .tree-file { background: url('images/tree_icons.png') no-repeat -240px 0; } .tree-loading { background: url('images/loading.gif') no-repeat center center; } .tree-checkbox0 { background: url('images/tree_icons.png') no-repeat -208px -18px; } .tree-checkbox1 { background: url('images/tree_icons.png') no-repeat -224px -18px; } .tree-checkbox2 { background: url('images/tree_icons.png') no-repeat -240px -18px; } .tree-title { font-size: 12px; display: inline-block; text-decoration: none; vertical-align: top; white-space: nowrap; padding: 0 2px; height: 18px; line-height: 18px; } .tree-node-proxy { font-size: 12px; line-height: 20px; padding: 0 2px 0 20px; border-width: 1px; border-style: solid; z-index: 9900000; } .tree-dnd-icon { display: inline-block; position: absolute; width: 16px; height: 18px; left: 2px; top: 50%; margin-top: -9px; } .tree-dnd-yes { background: url('images/tree_icons.png') no-repeat -256px 0; } .tree-dnd-no { background: url('images/tree_icons.png') no-repeat -256px -18px; } .tree-node-top { border-top: 1px dotted red; } .tree-node-bottom { border-bottom: 1px dotted red; } .tree-node-append .tree-title { border: 1px dotted red; } .tree-editor { border: 1px solid #ccc; font-size: 12px; height: 14px !important; height: 18px; line-height: 14px; padding: 1px 2px; width: 80px; position: absolute; top: 0; } .tree-node-proxy { background-color: #fff; color: #444; border-color: #ddd; } .tree-node-hover { background: #E6E6E6; color: #444; } .tree-node-selected { background: #CCE6FF; color: #000; } .validatebox-invalid { border-color: #ffa8a8; background-color: #fff3f3; color: #000; } .tooltip { position: absolute; display: none; z-index: 9900000; outline: none; opacity: 1; filter: alpha(opacity=100); padding: 5px; border-width: 1px; border-style: solid; border-radius: 5px; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .tooltip-content { font-size: 12px; } .tooltip-arrow-outer, .tooltip-arrow { position: absolute; width: 0; height: 0; line-height: 0; font-size: 0; border-style: solid; border-width: 6px; border-color: transparent; _border-color: tomato; _filter: chroma(color=tomato); } .tooltip-right .tooltip-arrow-outer { left: 0; top: 50%; margin: -6px 0 0 -13px; } .tooltip-right .tooltip-arrow { left: 0; top: 50%; margin: -6px 0 0 -12px; } .tooltip-left .tooltip-arrow-outer { right: 0; top: 50%; margin: -6px -13px 0 0; } .tooltip-left .tooltip-arrow { right: 0; top: 50%; margin: -6px -12px 0 0; } .tooltip-top .tooltip-arrow-outer { bottom: 0; left: 50%; margin: 0 0 -13px -6px; } .tooltip-top .tooltip-arrow { bottom: 0; left: 50%; margin: 0 0 -12px -6px; } .tooltip-bottom .tooltip-arrow-outer { top: 0; left: 50%; margin: -13px 0 0 -6px; } .tooltip-bottom .tooltip-arrow { top: 0; left: 50%; margin: -12px 0 0 -6px; } .tooltip { background-color: #fff; border-color: #ddd; color: #444; } .tooltip-right .tooltip-arrow-outer { border-right-color: #ddd; } .tooltip-right .tooltip-arrow { border-right-color: #fff; } .tooltip-left .tooltip-arrow-outer { border-left-color: #ddd; } .tooltip-left .tooltip-arrow { border-left-color: #fff; } .tooltip-top .tooltip-arrow-outer { border-top-color: #ddd; } .tooltip-top .tooltip-arrow { border-top-color: #fff; } .tooltip-bottom .tooltip-arrow-outer { border-bottom-color: #ddd; } .tooltip-bottom .tooltip-arrow { border-bottom-color: #fff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/filebox.css ================================================ .filebox .textbox-value { vertical-align: top; position: absolute; top: 0; left: -5000px; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/layout.css ================================================ .layout { position: relative; overflow: hidden; margin: 0; padding: 0; z-index: 0; } .layout-panel { position: absolute; overflow: hidden; } .layout-panel-east, .layout-panel-west { z-index: 2; } .layout-panel-north, .layout-panel-south { z-index: 3; } .layout-expand { position: absolute; padding: 0px; font-size: 1px; cursor: pointer; z-index: 1; } .layout-expand .panel-header, .layout-expand .panel-body { background: transparent; filter: none; overflow: hidden; } .layout-expand .panel-header { border-bottom-width: 0px; } .layout-split-proxy-h, .layout-split-proxy-v { position: absolute; font-size: 1px; display: none; z-index: 5; } .layout-split-proxy-h { width: 5px; cursor: e-resize; } .layout-split-proxy-v { height: 5px; cursor: n-resize; } .layout-mask { position: absolute; background: #fafafa; filter: alpha(opacity=10); opacity: 0.10; z-index: 4; } .layout-button-up { background: url('images/layout_arrows.png') no-repeat -16px -16px; } .layout-button-down { background: url('images/layout_arrows.png') no-repeat -16px 0; } .layout-button-left { background: url('images/layout_arrows.png') no-repeat 0 0; } .layout-button-right { background: url('images/layout_arrows.png') no-repeat 0 -16px; } .layout-split-proxy-h, .layout-split-proxy-v { background-color: #b3b3b3; } .layout-split-north { border-bottom: 5px solid #fff; } .layout-split-south { border-top: 5px solid #fff; } .layout-split-east { border-left: 5px solid #fff; } .layout-split-west { border-right: 5px solid #fff; } .layout-expand { background-color: #ffffff; } .layout-expand-over { background-color: #ffffff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/linkbutton.css ================================================ .l-btn { text-decoration: none; display: inline-block; overflow: hidden; margin: 0; padding: 0; cursor: pointer; outline: none; text-align: center; vertical-align: middle; } .l-btn-plain { border: 0; padding: 1px; } .l-btn-left { display: inline-block; position: relative; overflow: hidden; margin: 0; padding: 0; vertical-align: top; } .l-btn-text { display: inline-block; vertical-align: top; width: auto; line-height: 24px; font-size: 12px; padding: 0; margin: 0 4px; } .l-btn-icon { display: inline-block; width: 16px; height: 16px; line-height: 16px; position: absolute; top: 50%; margin-top: -8px; font-size: 1px; } .l-btn span span .l-btn-empty { display: inline-block; margin: 0; width: 16px; height: 24px; font-size: 1px; vertical-align: top; } .l-btn span .l-btn-icon-left { padding: 0 0 0 20px; background-position: left center; } .l-btn span .l-btn-icon-right { padding: 0 20px 0 0; background-position: right center; } .l-btn-icon-left .l-btn-text { margin: 0 4px 0 24px; } .l-btn-icon-left .l-btn-icon { left: 4px; } .l-btn-icon-right .l-btn-text { margin: 0 24px 0 4px; } .l-btn-icon-right .l-btn-icon { right: 4px; } .l-btn-icon-top .l-btn-text { margin: 20px 4px 0 4px; } .l-btn-icon-top .l-btn-icon { top: 4px; left: 50%; margin: 0 0 0 -8px; } .l-btn-icon-bottom .l-btn-text { margin: 0 4px 20px 4px; } .l-btn-icon-bottom .l-btn-icon { top: auto; bottom: 4px; left: 50%; margin: 0 0 0 -8px; } .l-btn-left .l-btn-empty { margin: 0 4px; width: 16px; } .l-btn-plain:hover { padding: 0; } .l-btn-focus { outline: #0000FF dotted thin; } .l-btn-large .l-btn-text { line-height: 40px; } .l-btn-large .l-btn-icon { width: 32px; height: 32px; line-height: 32px; margin-top: -16px; } .l-btn-large .l-btn-icon-left .l-btn-text { margin-left: 40px; } .l-btn-large .l-btn-icon-right .l-btn-text { margin-right: 40px; } .l-btn-large .l-btn-icon-top .l-btn-text { margin-top: 36px; line-height: 24px; min-width: 32px; } .l-btn-large .l-btn-icon-top .l-btn-icon { margin: 0 0 0 -16px; } .l-btn-large .l-btn-icon-bottom .l-btn-text { margin-bottom: 36px; line-height: 24px; min-width: 32px; } .l-btn-large .l-btn-icon-bottom .l-btn-icon { margin: 0 0 0 -16px; } .l-btn-large .l-btn-left .l-btn-empty { margin: 0 4px; width: 32px; } .l-btn { color: #777; background: #ffffff; background-repeat: repeat-x; border: 1px solid #dddddd; background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .l-btn:hover { background: #E6E6E6; color: #444; border: 1px solid #ddd; filter: none; } .l-btn-plain { background: transparent; border: 0; filter: none; } .l-btn-plain:hover { background: #E6E6E6; color: #444; border: 1px solid #ddd; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .l-btn-disabled, .l-btn-disabled:hover { opacity: 0.5; cursor: default; background: #ffffff; color: #777; background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); } .l-btn-disabled .l-btn-text, .l-btn-disabled .l-btn-icon { filter: alpha(opacity=50); } .l-btn-plain-disabled, .l-btn-plain-disabled:hover { background: transparent; filter: alpha(opacity=50); } .l-btn-selected, .l-btn-selected:hover { background: #ddd; filter: none; } .l-btn-plain-selected, .l-btn-plain-selected:hover { background: #ddd; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/menu.css ================================================ .menu { position: absolute; margin: 0; padding: 2px; border-width: 1px; border-style: solid; overflow: hidden; } .menu-item { position: relative; margin: 0; padding: 0; overflow: hidden; white-space: nowrap; cursor: pointer; border-width: 1px; border-style: solid; } .menu-text { height: 20px; line-height: 20px; float: left; padding-left: 28px; } .menu-icon { position: absolute; width: 16px; height: 16px; left: 2px; top: 50%; margin-top: -8px; } .menu-rightarrow { position: absolute; width: 16px; height: 16px; right: 0; top: 50%; margin-top: -8px; } .menu-line { position: absolute; left: 26px; top: 0; height: 2000px; font-size: 1px; } .menu-sep { margin: 3px 0px 3px 25px; font-size: 1px; } .menu-active { -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .menu-item-disabled { opacity: 0.5; filter: alpha(opacity=50); cursor: default; } .menu-text, .menu-text span { font-size: 12px; } .menu-shadow { position: absolute; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; background: #eee; -moz-box-shadow: 2px 2px 3px #ededed; -webkit-box-shadow: 2px 2px 3px #ededed; box-shadow: 2px 2px 3px #ededed; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); } .menu-rightarrow { background: url('images/menu_arrows.png') no-repeat -32px center; } .menu-line { border-left: 1px solid #ddd; border-right: 1px solid #fff; } .menu-sep { border-top: 1px solid #ddd; border-bottom: 1px solid #fff; } .menu { background-color: #ffffff; border-color: #ddd; color: #444; } .menu-content { background: #fff; } .menu-item { border-color: transparent; _border-color: #ffffff; } .menu-active { border-color: #ddd; color: #444; background: #E6E6E6; } .menu-active-disabled { border-color: transparent; background: transparent; color: #444; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/menubutton.css ================================================ .m-btn-downarrow, .s-btn-downarrow { display: inline-block; position: absolute; width: 16px; height: 16px; font-size: 1px; right: 0; top: 50%; margin-top: -8px; } .m-btn-active, .s-btn-active { background: #E6E6E6; color: #444; border: 1px solid #ddd; filter: none; } .m-btn-plain-active, .s-btn-plain-active { background: transparent; padding: 0; border-width: 1px; border-style: solid; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .m-btn .l-btn-left .l-btn-text { margin-right: 20px; } .m-btn .l-btn-icon-right .l-btn-text { margin-right: 40px; } .m-btn .l-btn-icon-right .l-btn-icon { right: 20px; } .m-btn .l-btn-icon-top .l-btn-text { margin-right: 4px; margin-bottom: 14px; } .m-btn .l-btn-icon-bottom .l-btn-text { margin-right: 4px; margin-bottom: 34px; } .m-btn .l-btn-icon-bottom .l-btn-icon { top: auto; bottom: 20px; } .m-btn .l-btn-icon-top .m-btn-downarrow, .m-btn .l-btn-icon-bottom .m-btn-downarrow { top: auto; bottom: 0px; left: 50%; margin-left: -8px; } .m-btn-line { display: inline-block; position: absolute; font-size: 1px; display: none; } .m-btn .l-btn-left .m-btn-line { right: 0; width: 16px; height: 500px; border-style: solid; border-color: #b3b3b3; border-width: 0 0 0 1px; } .m-btn .l-btn-icon-top .m-btn-line, .m-btn .l-btn-icon-bottom .m-btn-line { left: 0; bottom: 0; width: 500px; height: 16px; border-width: 1px 0 0 0; } .m-btn-large .l-btn-icon-right .l-btn-text { margin-right: 56px; } .m-btn-large .l-btn-icon-bottom .l-btn-text { margin-bottom: 50px; } .m-btn-downarrow, .s-btn-downarrow { background: url('images/menu_arrows.png') no-repeat 0 center; } .m-btn-plain-active, .s-btn-plain-active { border-color: #ddd; background-color: #E6E6E6; color: #444; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/messager.css ================================================ .messager-body { padding: 10px; overflow: hidden; } .messager-button { text-align: center; padding-top: 10px; } .messager-button .l-btn { width: 70px; } .messager-icon { float: left; width: 32px; height: 32px; margin: 0 10px 10px 0; } .messager-error { background: url('images/messager_icons.png') no-repeat scroll -64px 0; } .messager-info { background: url('images/messager_icons.png') no-repeat scroll 0 0; } .messager-question { background: url('images/messager_icons.png') no-repeat scroll -32px 0; } .messager-warning { background: url('images/messager_icons.png') no-repeat scroll -96px 0; } .messager-progress { padding: 10px; } .messager-p-msg { margin-bottom: 5px; } .messager-body .messager-input { width: 100%; padding: 1px 0; border: 1px solid #ddd; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/numberbox.css ================================================ .numberbox { border: 1px solid #ddd; margin: 0; padding: 0 2px; vertical-align: middle; } .textbox { padding: 0; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/pagination.css ================================================ .pagination { zoom: 1; } .pagination table { float: left; height: 30px; } .pagination td { border: 0; } .pagination-btn-separator { float: left; height: 24px; border-left: 1px solid #ddd; border-right: 1px solid #fff; margin: 3px 1px; } .pagination .pagination-num { border-width: 1px; border-style: solid; margin: 0 2px; padding: 2px; width: 2em; height: auto; } .pagination-page-list { margin: 0px 6px; padding: 1px 2px; width: auto; height: auto; border-width: 1px; border-style: solid; } .pagination-info { float: right; margin: 0 6px 0 0; padding: 0; height: 30px; line-height: 30px; font-size: 12px; } .pagination span { font-size: 12px; } .pagination-link .l-btn-text { width: 24px; text-align: center; margin: 0; } .pagination-first { background: url('images/pagination_icons.png') no-repeat 0 center; } .pagination-prev { background: url('images/pagination_icons.png') no-repeat -16px center; } .pagination-next { background: url('images/pagination_icons.png') no-repeat -32px center; } .pagination-last { background: url('images/pagination_icons.png') no-repeat -48px center; } .pagination-load { background: url('images/pagination_icons.png') no-repeat -64px center; } .pagination-loading { background: url('images/loading.gif') no-repeat center center; } .pagination-page-list, .pagination .pagination-num { border-color: #ddd; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/panel.css ================================================ .panel { overflow: hidden; text-align: left; margin: 0; border: 0; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .panel-header, .panel-body { border-width: 1px; border-style: solid; } .panel-header { padding: 5px; position: relative; } .panel-title { background: url('images/blank.gif') no-repeat; } .panel-header-noborder { border-width: 0 0 1px 0; } .panel-body { overflow: auto; border-top-width: 0; padding: 0; } .panel-body-noheader { border-top-width: 1px; } .panel-body-noborder { border-width: 0px; } .panel-body-nobottom { border-bottom-width: 0; } .panel-with-icon { padding-left: 18px; } .panel-icon, .panel-tool { position: absolute; top: 50%; margin-top: -8px; height: 16px; overflow: hidden; } .panel-icon { left: 5px; width: 16px; } .panel-tool { right: 5px; width: auto; } .panel-tool a { display: inline-block; width: 16px; height: 16px; opacity: 0.6; filter: alpha(opacity=60); margin: 0 0 0 2px; vertical-align: top; } .panel-tool a:hover { opacity: 1; filter: alpha(opacity=100); background-color: #E6E6E6; -moz-border-radius: -2px -2px -2px -2px; -webkit-border-radius: -2px -2px -2px -2px; border-radius: -2px -2px -2px -2px; } .panel-loading { padding: 11px 0px 10px 30px; } .panel-noscroll { overflow: hidden; } .panel-fit, .panel-fit body { height: 100%; margin: 0; padding: 0; border: 0; overflow: hidden; } .panel-loading { background: url('images/loading.gif') no-repeat 10px 10px; } .panel-tool-close { background: url('images/panel_tools.png') no-repeat -16px 0px; } .panel-tool-min { background: url('images/panel_tools.png') no-repeat 0px 0px; } .panel-tool-max { background: url('images/panel_tools.png') no-repeat 0px -16px; } .panel-tool-restore { background: url('images/panel_tools.png') no-repeat -16px -16px; } .panel-tool-collapse { background: url('images/panel_tools.png') no-repeat -32px 0; } .panel-tool-expand { background: url('images/panel_tools.png') no-repeat -32px -16px; } .panel-header, .panel-body { border-color: #ddd; } .panel-header { background-color: #ffffff; } .panel-body { background-color: #fff; color: #444; font-size: 12px; } .panel-title { font-size: 12px; font-weight: bold; color: #777; height: 16px; line-height: 16px; } .panel-footer { border: 1px solid #ddd; overflow: hidden; background: #fff; } .panel-footer-noborder { border-width: 1px 0 0 0; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/progressbar.css ================================================ .progressbar { border-width: 1px; border-style: solid; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; overflow: hidden; position: relative; } .progressbar-text { text-align: center; position: absolute; } .progressbar-value { position: relative; overflow: hidden; width: 0; -moz-border-radius: 0px 0 0 0px; -webkit-border-radius: 0px 0 0 0px; border-radius: 0px 0 0 0px; } .progressbar { border-color: #ddd; } .progressbar-text { color: #444; font-size: 12px; } .progressbar-value .progressbar-text { background-color: #CCE6FF; color: #000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/propertygrid.css ================================================ .propertygrid .datagrid-view1 .datagrid-body td { padding-bottom: 1px; border-width: 0 1px 0 0; } .propertygrid .datagrid-group { height: 21px; overflow: hidden; border-width: 0 0 1px 0; border-style: solid; } .propertygrid .datagrid-group span { font-weight: bold; } .propertygrid .datagrid-view1 .datagrid-body td { border-color: #ddd; } .propertygrid .datagrid-view1 .datagrid-group { border-color: #ffffff; } .propertygrid .datagrid-view2 .datagrid-group { border-color: #ddd; } .propertygrid .datagrid-group, .propertygrid .datagrid-view1 .datagrid-body, .propertygrid .datagrid-view1 .datagrid-row-over, .propertygrid .datagrid-view1 .datagrid-row-selected { background: #ffffff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/searchbox.css ================================================ .searchbox { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .searchbox .searchbox-text { font-size: 12px; border: 0; margin: 0; padding: 0 2px; vertical-align: top; } .searchbox .searchbox-prompt { font-size: 12px; color: #ccc; } .searchbox-button { width: 18px; height: 20px; overflow: hidden; display: inline-block; vertical-align: top; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); } .searchbox-button-hover { opacity: 1.0; filter: alpha(opacity=100); } .searchbox .l-btn-plain { border: 0; padding: 0; vertical-align: top; opacity: 0.6; filter: alpha(opacity=60); -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .l-btn-plain:hover { border: 0; padding: 0; opacity: 1.0; filter: alpha(opacity=100); -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox a.m-btn-plain-active { -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .m-btn-active { border-width: 0 1px 0 0; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .searchbox .textbox-button-right { border-width: 0 0 0 1px; } .searchbox .textbox-button-left { border-width: 0 1px 0 0; } .searchbox-button { background: url('images/searchbox_button.png') no-repeat center center; } .searchbox { border-color: #ddd; background-color: #fff; } .searchbox .l-btn-plain { background: #ffffff; } .searchbox .l-btn-plain-disabled, .searchbox .l-btn-plain-disabled:hover { opacity: 0.5; filter: alpha(opacity=50); } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/slider.css ================================================ .slider-disabled { opacity: 0.5; filter: alpha(opacity=50); } .slider-h { height: 22px; } .slider-v { width: 22px; } .slider-inner { position: relative; height: 6px; top: 7px; border-width: 1px; border-style: solid; border-radius: 0px; } .slider-handle { position: absolute; display: block; outline: none; width: 20px; height: 20px; top: 50%; margin-top: -10px; margin-left: -10px; } .slider-tip { position: absolute; display: inline-block; line-height: 12px; font-size: 12px; white-space: nowrap; top: -22px; } .slider-rule { position: relative; top: 15px; } .slider-rule span { position: absolute; display: inline-block; font-size: 0; height: 5px; border-width: 0 0 0 1px; border-style: solid; } .slider-rulelabel { position: relative; top: 20px; } .slider-rulelabel span { position: absolute; display: inline-block; font-size: 12px; } .slider-v .slider-inner { width: 6px; left: 7px; top: 0; float: left; } .slider-v .slider-handle { left: 50%; margin-top: -10px; } .slider-v .slider-tip { left: -10px; margin-top: -6px; } .slider-v .slider-rule { float: left; top: 0; left: 16px; } .slider-v .slider-rule span { width: 5px; height: 'auto'; border-left: 0; border-width: 1px 0 0 0; border-style: solid; } .slider-v .slider-rulelabel { float: left; top: 0; left: 23px; } .slider-handle { background: url('images/slider_handle.png') no-repeat; } .slider-inner { border-color: #ddd; background: #ffffff; } .slider-rule span { border-color: #ddd; } .slider-rulelabel span { color: #444; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/spinner.css ================================================ .spinner { display: inline-block; white-space: nowrap; margin: 0; padding: 0; border-width: 1px; border-style: solid; overflow: hidden; vertical-align: middle; } .spinner .spinner-text { font-size: 12px; border: 0px; margin: 0; padding: 0 2px; vertical-align: baseline; } .spinner-arrow { background-color: #ffffff; display: inline-block; overflow: hidden; vertical-align: top; margin: 0; padding: 0; opacity: 1.0; filter: alpha(opacity=100); width: 18px; } .spinner-arrow-up, .spinner-arrow-down { opacity: 0.6; filter: alpha(opacity=60); display: block; font-size: 1px; width: 18px; height: 10px; width: 100%; height: 50%; outline-style: none; } .spinner-arrow-hover { background-color: #E6E6E6; opacity: 1.0; filter: alpha(opacity=100); } .spinner-arrow-up:hover, .spinner-arrow-down:hover { opacity: 1.0; filter: alpha(opacity=100); background-color: #E6E6E6; } .textbox-icon-disabled .spinner-arrow-up:hover, .textbox-icon-disabled .spinner-arrow-down:hover { opacity: 0.6; filter: alpha(opacity=60); background-color: #ffffff; cursor: default; } .spinner .textbox-icon-disabled { opacity: 0.6; filter: alpha(opacity=60); } .spinner-arrow-up { background: url('images/spinner_arrows.png') no-repeat 1px center; } .spinner-arrow-down { background: url('images/spinner_arrows.png') no-repeat -15px center; } .spinner { border-color: #ddd; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/splitbutton.css ================================================ .s-btn:hover .m-btn-line, .s-btn-active .m-btn-line, .s-btn-plain-active .m-btn-line { display: inline-block; } .l-btn:hover .s-btn-downarrow, .s-btn-active .s-btn-downarrow, .s-btn-plain-active .s-btn-downarrow { border-style: solid; border-color: #b3b3b3; border-width: 0 0 0 1px; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/tabs.css ================================================ .tabs-container { overflow: hidden; } .tabs-header { border-width: 1px; border-style: solid; border-bottom-width: 0; position: relative; padding: 0; padding-top: 2px; overflow: hidden; } .tabs-header-plain { border: 0; background: transparent; } .tabs-scroller-left, .tabs-scroller-right { position: absolute; top: auto; bottom: 0; width: 18px; font-size: 1px; display: none; cursor: pointer; border-width: 1px; border-style: solid; } .tabs-scroller-left { left: 0; } .tabs-scroller-right { right: 0; } .tabs-tool { position: absolute; bottom: 0; padding: 1px; overflow: hidden; border-width: 1px; border-style: solid; } .tabs-header-plain .tabs-tool { padding: 0 1px; } .tabs-wrap { position: relative; left: 0; overflow: hidden; width: 100%; margin: 0; padding: 0; } .tabs-scrolling { margin-left: 18px; margin-right: 18px; } .tabs-disabled { opacity: 0.3; filter: alpha(opacity=30); } .tabs { list-style-type: none; height: 26px; margin: 0px; padding: 0px; padding-left: 4px; width: 50000px; border-style: solid; border-width: 0 0 1px 0; } .tabs li { float: left; display: inline-block; margin: 0 4px -1px 0; padding: 0; position: relative; border: 0; } .tabs li a.tabs-inner { display: inline-block; text-decoration: none; margin: 0; padding: 0 10px; height: 25px; line-height: 25px; text-align: center; white-space: nowrap; border-width: 1px; border-style: solid; -moz-border-radius: 0px 0px 0 0; -webkit-border-radius: 0px 0px 0 0; border-radius: 0px 0px 0 0; } .tabs li.tabs-selected a.tabs-inner { font-weight: bold; outline: none; } .tabs li.tabs-selected a:hover.tabs-inner { cursor: default; pointer: default; } .tabs li a.tabs-close, .tabs-p-tool { position: absolute; font-size: 1px; display: block; height: 12px; padding: 0; top: 50%; margin-top: -6px; overflow: hidden; } .tabs li a.tabs-close { width: 12px; right: 5px; opacity: 0.6; filter: alpha(opacity=60); } .tabs-p-tool { right: 16px; } .tabs-p-tool a { display: inline-block; font-size: 1px; width: 12px; height: 12px; margin: 0; opacity: 0.6; filter: alpha(opacity=60); } .tabs li a:hover.tabs-close, .tabs-p-tool a:hover { opacity: 1; filter: alpha(opacity=100); cursor: hand; cursor: pointer; } .tabs-with-icon { padding-left: 18px; } .tabs-icon { position: absolute; width: 16px; height: 16px; left: 10px; top: 50%; margin-top: -8px; } .tabs-title { font-size: 12px; } .tabs-closable { padding-right: 8px; } .tabs-panels { margin: 0px; padding: 0px; border-width: 1px; border-style: solid; border-top-width: 0; overflow: hidden; } .tabs-header-bottom { border-width: 0 1px 1px 1px; padding: 0 0 2px 0; } .tabs-header-bottom .tabs { border-width: 1px 0 0 0; } .tabs-header-bottom .tabs li { margin: -1px 4px 0 0; } .tabs-header-bottom .tabs li a.tabs-inner { -moz-border-radius: 0 0 0px 0px; -webkit-border-radius: 0 0 0px 0px; border-radius: 0 0 0px 0px; } .tabs-header-bottom .tabs-tool { top: 0; } .tabs-header-bottom .tabs-scroller-left, .tabs-header-bottom .tabs-scroller-right { top: 0; bottom: auto; } .tabs-panels-top { border-width: 1px 1px 0 1px; } .tabs-header-left { float: left; border-width: 1px 0 1px 1px; padding: 0; } .tabs-header-right { float: right; border-width: 1px 1px 1px 0; padding: 0; } .tabs-header-left .tabs-wrap, .tabs-header-right .tabs-wrap { height: 100%; } .tabs-header-left .tabs { height: 100%; padding: 4px 0 0 4px; border-width: 0 1px 0 0; } .tabs-header-right .tabs { height: 100%; padding: 4px 4px 0 0; border-width: 0 0 0 1px; } .tabs-header-left .tabs li, .tabs-header-right .tabs li { display: block; width: 100%; position: relative; } .tabs-header-left .tabs li { left: auto; right: 0; margin: 0 -1px 4px 0; float: right; } .tabs-header-right .tabs li { left: 0; right: auto; margin: 0 0 4px -1px; float: left; } .tabs-header-left .tabs li a.tabs-inner { display: block; text-align: left; -moz-border-radius: 0px 0 0 0px; -webkit-border-radius: 0px 0 0 0px; border-radius: 0px 0 0 0px; } .tabs-header-right .tabs li a.tabs-inner { display: block; text-align: left; -moz-border-radius: 0 0px 0px 0; -webkit-border-radius: 0 0px 0px 0; border-radius: 0 0px 0px 0; } .tabs-panels-right { float: right; border-width: 1px 1px 1px 0; } .tabs-panels-left { float: left; border-width: 1px 0 1px 1px; } .tabs-header-noborder, .tabs-panels-noborder { border: 0px; } .tabs-header-plain { border: 0px; background: transparent; } .tabs-scroller-left { background: #ffffff url('images/tabs_icons.png') no-repeat 1px center; } .tabs-scroller-right { background: #ffffff url('images/tabs_icons.png') no-repeat -15px center; } .tabs li a.tabs-close { background: url('images/tabs_icons.png') no-repeat -34px center; } .tabs li a.tabs-inner:hover { background: #E6E6E6; color: #444; filter: none; } .tabs li.tabs-selected a.tabs-inner { background-color: #fff; color: #777; } .tabs li a.tabs-inner { color: #777; background-color: #ffffff; } .tabs-header, .tabs-tool { background-color: #ffffff; } .tabs-header-plain { background: transparent; } .tabs-header, .tabs-scroller-left, .tabs-scroller-right, .tabs-tool, .tabs, .tabs-panels, .tabs li a.tabs-inner, .tabs li.tabs-selected a.tabs-inner, .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, .tabs-header-left .tabs li.tabs-selected a.tabs-inner, .tabs-header-right .tabs li.tabs-selected a.tabs-inner { border-color: #ddd; } .tabs-p-tool a:hover, .tabs li a:hover.tabs-close, .tabs-scroller-over { background-color: #E6E6E6; } .tabs li.tabs-selected a.tabs-inner { border-bottom: 1px solid #fff; } .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { border-top: 1px solid #fff; } .tabs-header-left .tabs li.tabs-selected a.tabs-inner { border-right: 1px solid #fff; } .tabs-header-right .tabs li.tabs-selected a.tabs-inner { border-left: 1px solid #fff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/textbox.css ================================================ .textbox { position: relative; border: 1px solid #ddd; background-color: #fff; vertical-align: middle; display: inline-block; overflow: hidden; white-space: nowrap; margin: 0; padding: 0; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .textbox .textbox-text { font-size: 12px; border: 0; margin: 0; padding: 4px; white-space: normal; vertical-align: top; outline-style: none; resize: none; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .textbox .textbox-prompt { font-size: 12px; color: #aaa; } .textbox-button, .textbox-button:hover { position: absolute; top: 0; padding: 0; vertical-align: top; -moz-border-radius: 0 0 0 0; -webkit-border-radius: 0 0 0 0; border-radius: 0 0 0 0; } .textbox-button-right, .textbox-button-right:hover { border-width: 0 0 0 1px; } .textbox-button-left, .textbox-button-left:hover { border-width: 0 1px 0 0; } .textbox-addon { position: absolute; top: 0; } .textbox-icon { display: inline-block; width: 18px; height: 20px; overflow: hidden; vertical-align: top; background-position: center center; cursor: pointer; opacity: 0.6; filter: alpha(opacity=60); text-decoration: none; outline-style: none; } .textbox-icon-disabled, .textbox-icon-readonly { cursor: default; } .textbox-icon:hover { opacity: 1.0; filter: alpha(opacity=100); } .textbox-icon-disabled:hover { opacity: 0.6; filter: alpha(opacity=60); } .textbox-focused { -moz-box-shadow: 0 0 3px 0 #ddd; -webkit-box-shadow: 0 0 3px 0 #ddd; box-shadow: 0 0 3px 0 #ddd; } .textbox-invalid { border-color: #ffa8a8; background-color: #fff3f3; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/tooltip.css ================================================ .tooltip { position: absolute; display: none; z-index: 9900000; outline: none; opacity: 1; filter: alpha(opacity=100); padding: 5px; border-width: 1px; border-style: solid; border-radius: 5px; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .tooltip-content { font-size: 12px; } .tooltip-arrow-outer, .tooltip-arrow { position: absolute; width: 0; height: 0; line-height: 0; font-size: 0; border-style: solid; border-width: 6px; border-color: transparent; _border-color: tomato; _filter: chroma(color=tomato); } .tooltip-right .tooltip-arrow-outer { left: 0; top: 50%; margin: -6px 0 0 -13px; } .tooltip-right .tooltip-arrow { left: 0; top: 50%; margin: -6px 0 0 -12px; } .tooltip-left .tooltip-arrow-outer { right: 0; top: 50%; margin: -6px -13px 0 0; } .tooltip-left .tooltip-arrow { right: 0; top: 50%; margin: -6px -12px 0 0; } .tooltip-top .tooltip-arrow-outer { bottom: 0; left: 50%; margin: 0 0 -13px -6px; } .tooltip-top .tooltip-arrow { bottom: 0; left: 50%; margin: 0 0 -12px -6px; } .tooltip-bottom .tooltip-arrow-outer { top: 0; left: 50%; margin: -13px 0 0 -6px; } .tooltip-bottom .tooltip-arrow { top: 0; left: 50%; margin: -12px 0 0 -6px; } .tooltip { background-color: #fff; border-color: #ddd; color: #444; } .tooltip-right .tooltip-arrow-outer { border-right-color: #ddd; } .tooltip-right .tooltip-arrow { border-right-color: #fff; } .tooltip-left .tooltip-arrow-outer { border-left-color: #ddd; } .tooltip-left .tooltip-arrow { border-left-color: #fff; } .tooltip-top .tooltip-arrow-outer { border-top-color: #ddd; } .tooltip-top .tooltip-arrow { border-top-color: #fff; } .tooltip-bottom .tooltip-arrow-outer { border-bottom-color: #ddd; } .tooltip-bottom .tooltip-arrow { border-bottom-color: #fff; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/tree.css ================================================ .tree { margin: 0; padding: 0; list-style-type: none; } .tree li { white-space: nowrap; } .tree li ul { list-style-type: none; margin: 0; padding: 0; } .tree-node { height: 18px; white-space: nowrap; cursor: pointer; } .tree-hit { cursor: pointer; } .tree-expanded, .tree-collapsed, .tree-folder, .tree-file, .tree-checkbox, .tree-indent { display: inline-block; width: 16px; height: 18px; vertical-align: top; overflow: hidden; } .tree-expanded { background: url('images/tree_icons.png') no-repeat -18px 0px; } .tree-expanded-hover { background: url('images/tree_icons.png') no-repeat -50px 0px; } .tree-collapsed { background: url('images/tree_icons.png') no-repeat 0px 0px; } .tree-collapsed-hover { background: url('images/tree_icons.png') no-repeat -32px 0px; } .tree-lines .tree-expanded, .tree-lines .tree-root-first .tree-expanded { background: url('images/tree_icons.png') no-repeat -144px 0; } .tree-lines .tree-collapsed, .tree-lines .tree-root-first .tree-collapsed { background: url('images/tree_icons.png') no-repeat -128px 0; } .tree-lines .tree-node-last .tree-expanded, .tree-lines .tree-root-one .tree-expanded { background: url('images/tree_icons.png') no-repeat -80px 0; } .tree-lines .tree-node-last .tree-collapsed, .tree-lines .tree-root-one .tree-collapsed { background: url('images/tree_icons.png') no-repeat -64px 0; } .tree-line { background: url('images/tree_icons.png') no-repeat -176px 0; } .tree-join { background: url('images/tree_icons.png') no-repeat -192px 0; } .tree-joinbottom { background: url('images/tree_icons.png') no-repeat -160px 0; } .tree-folder { background: url('images/tree_icons.png') no-repeat -208px 0; } .tree-folder-open { background: url('images/tree_icons.png') no-repeat -224px 0; } .tree-file { background: url('images/tree_icons.png') no-repeat -240px 0; } .tree-loading { background: url('images/loading.gif') no-repeat center center; } .tree-checkbox0 { background: url('images/tree_icons.png') no-repeat -208px -18px; } .tree-checkbox1 { background: url('images/tree_icons.png') no-repeat -224px -18px; } .tree-checkbox2 { background: url('images/tree_icons.png') no-repeat -240px -18px; } .tree-title { font-size: 12px; display: inline-block; text-decoration: none; vertical-align: top; white-space: nowrap; padding: 0 2px; height: 18px; line-height: 18px; } .tree-node-proxy { font-size: 12px; line-height: 20px; padding: 0 2px 0 20px; border-width: 1px; border-style: solid; z-index: 9900000; } .tree-dnd-icon { display: inline-block; position: absolute; width: 16px; height: 18px; left: 2px; top: 50%; margin-top: -9px; } .tree-dnd-yes { background: url('images/tree_icons.png') no-repeat -256px 0; } .tree-dnd-no { background: url('images/tree_icons.png') no-repeat -256px -18px; } .tree-node-top { border-top: 1px dotted red; } .tree-node-bottom { border-bottom: 1px dotted red; } .tree-node-append .tree-title { border: 1px dotted red; } .tree-editor { border: 1px solid #ccc; font-size: 12px; height: 14px !important; height: 18px; line-height: 14px; padding: 1px 2px; width: 80px; position: absolute; top: 0; } .tree-node-proxy { background-color: #fff; color: #444; border-color: #ddd; } .tree-node-hover { background: #E6E6E6; color: #444; } .tree-node-selected { background: #CCE6FF; color: #000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/validatebox.css ================================================ .validatebox-invalid { border-color: #ffa8a8; background-color: #fff3f3; color: #000; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/jquery-easyui-1.4.1/themes/metro/window.css ================================================ .window { overflow: hidden; padding: 5px; border-width: 1px; border-style: solid; } .window .window-header { background: transparent; padding: 0px 0px 6px 0px; } .window .window-body { border-width: 1px; border-style: solid; border-top-width: 0px; } .window .window-body-noheader { border-top-width: 1px; } .window .panel-body-nobottom { border-bottom-width: 0; } .window .window-header .panel-icon, .window .window-header .panel-tool { top: 50%; margin-top: -11px; } .window .window-header .panel-icon { left: 1px; } .window .window-header .panel-tool { right: 1px; } .window .window-header .panel-with-icon { padding-left: 18px; } .window-proxy { position: absolute; overflow: hidden; } .window-proxy-mask { position: absolute; filter: alpha(opacity=5); opacity: 0.05; } .window-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; filter: alpha(opacity=40); opacity: 0.40; font-size: 1px; overflow: hidden; } .window, .window-shadow { position: absolute; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px; } .window-shadow { background: #eee; -moz-box-shadow: 2px 2px 3px #ededed; -webkit-box-shadow: 2px 2px 3px #ededed; box-shadow: 2px 2px 3px #ededed; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); } .window, .window .window-body { border-color: #ddd; } .window { background-color: #ffffff; } .window-proxy { border: 1px dashed #ddd; } .window-proxy-mask, .window-mask { background: #eee; } .window .panel-footer { border: 1px solid #ddd; position: relative; top: -1px; } ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/kindeditor-4.1.10/kindeditor-all-min.js ================================================ /* KindEditor 4.1.10 (2013-11-23), Copyright (C) kindsoft.net, Licence: http://www.kindsoft.net/license.php */(function(b,d){function f(a){if(!a)return!1;return Object.prototype.toString.call(a)==="[object Array]"}function j(a){if(!a)return!1;return Object.prototype.toString.call(a)==="[object Function]"}function e(a,c){for(var g=0,b=c.length;g=0}function o(a,c){c=c||"px";return a&&/^\d+$/.test(a)?a+c:a}function l(a){var c;return a&&(c=/(\d+)/.exec(a))?parseInt(c[1],10):0}function s(a){return a.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}function v(a){return a.replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/&/g,"&")}function p(a){var c=a.split("-"),a="";h(c,function(c,b){a+=c>0?b.charAt(0).toUpperCase()+ b.substr(1):b});return a}function r(a){function c(a){a=parseInt(a,10).toString(16).toUpperCase();return a.length>1?a:"0"+a}return a.replace(/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/ig,function(a,b,d,k){return"#"+c(b)+c(d)+c(k)})}function z(a,c){var c=c===d?",":c,g={},b=f(a)?a:a.split(c),t;h(b,function(a,c){if(t=/^(\d+)\.\.(\d+)$/.exec(c))for(var b=parseInt(t[1],10);b<=parseInt(t[2],10);b++)g[b.toString()]=!0;else g[c]=!0});return g}function D(a,c){return Array.prototype.slice.call(a,c||0)}function q(a, c){return a===d?c:a}function A(a,c,g){g||(g=c,c=null);var b;if(c){var d=function(){};d.prototype=c.prototype;b=new d;h(g,function(a,c){b[a]=c})}else b=g;b.constructor=a;a.prototype=b;a.parent=c?c.prototype:null}function B(a){var c;if(c=/\{[\s\S]*\}|\[[\s\S]*\]/.exec(a))a=c[0];c=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;c.lastIndex=0;c.test(a)&&(a=a.replace(c,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})); if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return eval("("+a+")");throw"JSON parse error";}function G(a,c,g){a.addEventListener?a.addEventListener(c,g,fb):a.attachEvent&&a.attachEvent("on"+c,g)}function C(a,c,g){a.removeEventListener?a.removeEventListener(c,g,fb):a.detachEvent&&a.detachEvent("on"+c,g)}function u(a,c){this.init(a,c)}function I(a){try{delete a[ma]}catch(c){a.removeAttribute&& a.removeAttribute(ma)}}function E(a,c,g){if(c.indexOf(",")>=0)h(c.split(","),function(){E(a,this,g)});else{var b=a[ma]||null;b||(a[ma]=++gb,b=gb);L[b]===d&&(L[b]={});var t=L[b][c];t&&t.length>0?C(a,c,t[0]):(L[b][c]=[],L[b].el=a);t=L[b][c];t.length===0&&(t[0]=function(c){var g=c?new u(a,c):d;h(t,function(c,b){c>0&&b&&b.call(a,g)})});e(g,t)<0&&t.push(g);G(a,c,t[0])}}function T(a,c,g){if(c&&c.indexOf(",")>=0)h(c.split(","),function(){T(a,this,g)});else{var b=a[ma]||null;if(b)if(c===d)b in L&&(h(L[b], function(c,g){c!="el"&&g.length>0&&C(a,c,g[0])}),delete L[b],I(a));else if(L[b]){var t=L[b][c];if(t&&t.length>0){g===d?(C(a,c,t[0]),delete L[b][c]):(h(t,function(a,c){a>0&&c===g&&t.splice(a,1)}),t.length==1&&(C(a,c,t[0]),delete L[b][c]));var k=0;h(L[b],function(){k++});k<2&&(delete L[b],I(a))}}}}function qa(a,c){if(c.indexOf(",")>=0)h(c.split(","),function(){qa(a,this)});else{var g=a[ma]||null;if(g){var b=L[g][c];if(L[g]&&b&&b.length>0)b[0]()}}}function $(a,c,g){c=/^\d{2,}$/.test(c)?c:c.toUpperCase().charCodeAt(0); E(a,"keydown",function(b){b.ctrlKey&&b.which==c&&!b.shiftKey&&!b.altKey&&(g.call(a),b.stop())})}function M(a){for(var c={},g=/\s*([\w\-]+)\s*:([^;]*)(;|$)/g,b;b=g.exec(a);){var d=m(b[1].toLowerCase());b=m(r(b[2]));c[d]=b}return c}function K(a){for(var c={},g=/\s+(?:([\w\-:]+)|(?:([\w\-:]+)=([^\s"'<>]+))|(?:([\w\-:"]+)="([^"]*)")|(?:([\w\-:"]+)='([^']*)'))(?=(?:\s|\/|>)+)/g,b;b=g.exec(a);){var d=(b[1]||b[2]||b[4]||b[6]).toLowerCase();c[d]=(b[2]?b[3]:b[4]?b[5]:b[7])||""}return c}function O(a,c){return a= /\s+class\s*=/.test(a)?a.replace(/(\s+class=["']?)([^"']*)(["']?[\s>])/,function(a,b,d,k){return(" "+d+" ").indexOf(" "+c+" ")<0?d===""?b+c+k:b+d+" "+c+k:a}):a.substr(0,a.length-1)+' class="'+c+'">'}function Q(a){var c="";h(M(a),function(a,b){c+=a+":"+b+";"});return c}function R(a,c,g,b){function t(a){for(var a=a.split("/"),c=[],g=0,b=a.length;g0&&c.pop():d!==""&&d!="."&&c.push(d)}return"/"+c.join("/")}function k(c,g){if(a.substr(0,c.length)===c){for(var d=[],t= 0;t0&&(t+="/"+d.join("/"));b=="/"&&(t+="/");return t+a.substr(c.length)}else if(i=/^(.*)\//.exec(c))return k(i[1],++g)}c=q(c,"").toLowerCase();a.substr(0,5)!="data:"&&(a=a.replace(/([^:])\/\//g,"$1/"));if(e(c,["absolute","relative","domain"])<0)return a;g=g||location.protocol+"//"+location.host;if(b===d)var w=location.pathname.match(/^(\/.*)\//),b=w?w[1]:"";var i;if(i=/^(\w+:\/\/[^\/]*)/.exec(a)){if(i[1]!==g)return a}else if(/^\w+:/.test(a))return a;/^\//.test(a)? a=g+t(a.substr(1)):/^\w+:\/\//.test(a)||(a=g+t(b+"/"+a));c==="relative"?a=k(g+b,0).substr(2):c==="absolute"&&a.substr(0,g.length)===g&&(a=a.substr(g.length));return a}function H(a,c,g,b,d){a==null&&(a="");var g=g||"",b=q(b,!1),d=q(d,"\t"),k="xx-small,x-small,small,medium,large,x-large,xx-large".split(","),a=a.replace(/(<(?:pre|pre\s[^>]*)>)([\s\S]*?)(<\/pre>)/ig,function(a,c,g,b){return c+g.replace(/<(?:br|br\s[^>]*)>/ig,"\n")+b}),a=a.replace(/<(?:br|br\s[^>]*)\s*\/?>\s*<\/p>/ig,"

                                                      "),a=a.replace(/(<(?:p|p\s[^>]*)>)\s*(<\/p>)/ig, "$1
                                                      $2"),a=a.replace(/\u200B/g,""),a=a.replace(/\u00A9/g,"©"),a=a.replace(/\u00AE/g,"®"),a=a.replace(/<[^>]+/g,function(a){return a.replace(/\s+/g," ")}),w={};c&&(h(c,function(a,c){for(var g=a.split(","),b=0,d=g.length;b]*)>)([\s\S]*?)(<\/script>)/ig,"")),w.style||(a=a.replace(/(<(?:style|style\s[^>]*)>)([\s\S]*?)(<\/style>)/ig,"")));var i=[],a=a.replace(/(\s*)<(\/)?([\w\-:]+)((?:\s+|(?:\s+[\w\-:]+)|(?:\s+[\w\-:]+=[^\s"'<>]+)|(?:\s+[\w\-:"]+="[^"]*")|(?:\s+[\w\-:"]+='[^']*'))*)(\/)?>(\s*)/g, function(a,f,n,l,o,j,s){var f=f||"",n=n||"",m=l.toLowerCase(),r=o||"",l=j?" "+j:"",s=s||"";if(c&&!w[m])return"";l===""&&hb[m]&&(l=" /");ib[m]&&(f&&(f=" "),s&&(s=" "));Ma[m]&&(n?s="\n":f="\n");b&&m=="br"&&(s="\n");if(jb[m]&&!Ma[m])if(b){n&&i.length>0&&i[i.length-1]===m?i.pop():i.push(m);s=f="\n";o=0;for(j=n?i.length:i.length-1;o=0&&(p[a]=R(b,g));(c&&a!=="style"&&!w[m]["*"]&&!w[m][a]||m==="body"&&a==="contenteditable"||/^kindeditor_\d+$/.test(a))&&delete p[a];if(a==="style"&&b!==""){var d=M(b);h(d,function(a){c&&!w[m].style&&!w[m]["."+a]&&delete d[a]}); var V="";h(d,function(a,c){V+=a+":"+c+";"});p.style=V}});r="";h(p,function(a,c){a==="style"&&c===""||(c=c.replace(/"/g,"""),r+=" "+a+'="'+c+'"')})}m==="font"&&(m="span");return f+"<"+n+m+r+l+">"+s}),a=a.replace(/(<(?:pre|pre\s[^>]*)>)([\s\S]*?)(<\/pre>)/ig,function(a,c,g,b){return c+g.replace(/\n/g,'\n')+b}),a=a.replace(/\n\s*\n/g,"\n"),a=a.replace(/\n/g,"\n");return m(a)}function U(a,c){a=a.replace(//ig, "").replace(//ig,"").replace(/]*>[\s\S]*?<\/style>/ig,"").replace(/]*>[\s\S]*?<\/script>/ig,"").replace(/]+>[\s\S]*?<\/w:[^>]+>/ig,"").replace(/]+>[\s\S]*?<\/o:[^>]+>/ig,"").replace(/[\s\S]*?<\/xml>/ig,"").replace(/<(?:table|td)[^>]*>/ig,function(a){return a.replace(/border-bottom:([#\w\s]+)/ig,"border:$1")});return H(a,c)}function W(a){if(/\.(rm|rmvb)(\?|$)/i.test(a))return"audio/x-pn-realaudio-plugin";if(/\.(swf|flv)(\?|$)/i.test(a))return"application/x-shockwave-flash"; return"video/x-ms-asf-plugin"}function S(a){return K(unescape(a))}function Na(a){var c="0&&(w+="width:"+g+"px;");/\D/.test(b)?w+="height:"+b+";":b>0&&(w+="height:"+b+"px;");g=/realaudio/i.test(d)?"ke-rm":/flash/i.test(d)?"ke-flash":"ke-media";g='';return g}function Da(a,c){if(a.nodeType==9&&c.nodeType!=9)return!0;for(;c=c.parentNode;)if(c==a)return!0;return!1}function Ea(a,c){var c=c.toLowerCase(),g=null;if(!Mb&&a.nodeName.toLowerCase()!="script"){var b=a.ownerDocument.createElement("div");b.appendChild(a.cloneNode(!1));b=K(v(b.innerHTML));c in b&&(g=b[c])}else try{g=a.getAttribute(c,2)}catch(d){g=a.getAttribute(c,1)}c==="style"&&g!==null&&(g=Q(g));return g}function Fa(a,c){function g(a){if(typeof a!="string")return a;return a.replace(/([^\w\-])/g, "\\$1")}function b(a,c){return a==="*"||a.toLowerCase()===g(c.toLowerCase())}function d(a,c,g){var t=[];(a=(g.ownerDocument||g).getElementById(a.replace(/\\/g,"")))&&b(c,a.nodeName)&&Da(g,a)&&t.push(a);return t}function k(a,c,g){var d=g.ownerDocument||g,t=[],k,w,i;if(g.getElementsByClassName){d=g.getElementsByClassName(a.replace(/\\/g,""));k=0;for(w=d.length;k-1&&t.push(i)}return t}function w(a,c,b,d){for(var t=[],b=d.getElementsByTagName(b),V=0,k=b.length;V])+)/.exec(a))?e[1]:"*";if(e=/#((?:[\w\-]|\\.)+)$/.exec(a))g= d(e[1],f,c);else if(e=/\.((?:[\w\-]|\\.)+)$/.exec(a))g=k(e[1],f,c);else if(e=/\[((?:[\w\-]|\\.)+)\]/.exec(a))g=w(e[1].toLowerCase(),null,f,c);else if(e=/\[((?:[\w\-]|\\.)+)\s*=\s*['"]?((?:\\.|[^'"]+)+)['"]?\]/.exec(a)){g=e[1].toLowerCase();e=e[2];if(g==="id")f=d(e,f,c);else if(g==="class")f=k(e,f,c);else if(g==="name"){g=[];e=(c.ownerDocument||c).getElementsByName(e.replace(/\\/g,""));for(var Z,h=0,l=e.length;h1){var n=[];h(f,function(){h(Fa(this,c),function(){e(this,n)<0&&n.push(this)})});return n}for(var c=c||document,f=[],l,o=/((?:\\.|[^\s>])+|[\s>])/g;l=o.exec(a);)l[1]!==" "&&f.push(l[1]);l=[];if(f.length==1)return i(f[0],c);var o=!1,m,s,j,r,p,v,q,B,E,u;v=0;for(lenth=f.length;v")o=!0;else{if(v>0){s=[];q=0;for(E=l.length;q
                                                      ').css("background-color",c)):a.html(d.options.noColor);i(a).attr("unselectable","on");d._cells.push(a)},remove:function(){h(this._cells,function(){this.unbind()});za.parent.remove.call(this);return this}});i.ColorPickerClass=za;i.colorpicker=xb;A(bb,{init:function(a){var c=i(a.button),b=a.fieldName|| "file",d=a.url||"",e=c.val(),f=a.extraParams||{},h=c[0].className||"",l=a.target||"kindeditor_upload_iframe_"+(new Date).getTime();a.afterError=a.afterError||function(a){alert(a)};var n=[],o;for(o in f)n.push('');b=['
                                                      ',a.target?"":'',a.form?'
                                                      ':'
                                                      ','',n.join(""),'',"",'',a.form?"
                                                      ":"","
                                                      "].join("");b=i(b,c.doc);c.hide();c.before(b);this.div=b;this.button=c;this.iframe=a.target?i('iframe[name="'+l+'"]'):i("iframe",b);this.form=a.form?i(a.form):i("form",b);this.fileBox=i(".ke-upload-file",b);c=a.width||i(".ke-button-common",b).width(); i(".ke-upload-area",b).width(c);this.options=a},submit:function(){var a=this,c=a.iframe;c.bind("load",function(){c.unbind();var b=document.createElement("form");a.fileBox.before(b);i(b).append(a.fileBox);b.reset();i(b).remove(!0);var b=i.iframeDoc(c),d=b.getElementsByTagName("pre")[0],e="",f,e=d?d.innerHTML:b.body.innerHTML,e=v(e);c[0].src="javascript:false";try{f=i.json(e)}catch(h){a.options.afterError.call(a,""+b.body.parentNode.innerHTML+"")}f&&a.options.afterUpload.call(a, f)});a.form[0].submit();return a},remove:function(){this.fileBox&&this.fileBox.unbind();this.iframe.remove();this.div.remove();this.button.show();return this}});i.UploadButtonClass=bb;i.uploadbutton=function(a){return new bb(a)};A(Aa,ga,{init:function(a){var c=q(a.shadowMode,!0);a.z=a.z||811213;a.shadowMode=!1;a.autoScroll=q(a.autoScroll,!0);Aa.parent.init.call(this,a);var b=a.title,d=i(a.body,this.doc),e=a.previewBtn,f=a.yesBtn,n=a.noBtn,o=a.closeBtn,m=q(a.showMask,!0);this.div.addClass("ke-dialog").bind("click,mousedown", function(a){a.stopPropagation()});var s=i('
                                                      ').appendTo(this.div);F&&N<7?this.iframeMask=i('').appendTo(this.div):c&&i('
                                                      ').appendTo(this.div);c=i('
                                                      ');s.append(c);c.html(b);this.closeIcon=i('').click(o.click);c.append(this.closeIcon);this.draggable({clickEl:c,beforeDrag:a.beforeDrag}); a=i('
                                                      ');s.append(a);a.append(d);var j=i('');(e||f||n)&&s.append(j);h([{btn:e,name:"preview"},{btn:f,name:"yes"},{btn:n,name:"no"}],function(){if(this.btn){var a=this.btn,a=a||{},c=a.name||"",b=i(''),c=i('');a.click&&c.click(a.click);b.append(c);b.addClass("ke-dialog-"+this.name);j.append(b)}}); this.height&&a.height(l(this.height)-c.height()-j.height());this.div.width(this.div.width());this.div.height(this.div.height());this.mask=null;if(m)d=X(this.doc),this.mask=Za({x:0,y:0,z:this.z-1,cls:"ke-dialog-mask",width:Math.max(d.scrollWidth,d.clientWidth),height:Math.max(d.scrollHeight,d.clientHeight)});this.autoPos(this.div.width(),this.div.height());this.footerDiv=j;this.bodyDiv=a;this.headerDiv=c;this.isLoading=!1},setMaskIndex:function(a){this.mask.div.css("z-index",a)},showLoading:function(a){var a= q(a,""),c=this.bodyDiv;this.loading=i('
                                                      '+a+"
                                                      ").width(c.width()).height(c.height()).css("top",this.headerDiv.height()+"px");c.css("visibility","hidden").after(this.loading);this.isLoading=!0;return this},hideLoading:function(){this.loading&&this.loading.remove();this.bodyDiv.css("visibility","visible");this.isLoading=!1;return this},remove:function(){this.options.beforeRemove&& this.options.beforeRemove.call(this);this.mask&&this.mask.remove();this.iframeMask&&this.iframeMask.remove();this.closeIcon.unbind();i("input",this.div).unbind();i("button",this.div).unbind();this.footerDiv.unbind();this.bodyDiv.unbind();this.headerDiv.unbind();i("iframe",this.div).each(function(){i(this).remove()});Aa.parent.remove.call(this);return this}});i.DialogClass=Aa;i.dialog=yb;i.tabs=function(a){var c=Za(a),b=c.remove,d=a.afterSelect,a=c.div,e=[];a.addClass("ke-tabs").bind("contextmenu,mousedown,mousemove", function(a){a.preventDefault()});var f=i('
                                                        ');a.append(f);c.add=function(a){var c=i('
                                                      • '+a.title+"
                                                      • ");c.data("tab",a);e.push(c);f.append(c)};c.selectedIndex=0;c.select=function(a){c.selectedIndex=a;h(e,function(b,d){d.unbind();b===a?(d.addClass("ke-tabs-li-selected"),i(d.data("tab").panel).show("")):(d.removeClass("ke-tabs-li-selected").removeClass("ke-tabs-li-on").mouseover(function(){i(this).addClass("ke-tabs-li-on")}).mouseout(function(){i(this).removeClass("ke-tabs-li-on")}).click(function(){c.select(b)}), i(d.data("tab").panel).hide())});d&&d.call(c,a)};c.remove=function(){h(e,function(){this.remove()});f.remove();b.call(c)};return c};i.loadScript=cb;i.loadStyle=db;i.ajax=function(a,c,d,e,i){var d=d||"GET",i=i||"json",f=b.XMLHttpRequest?new b.XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");f.open(d,a,!0);f.onreadystatechange=function(){if(f.readyState==4&&f.status==200&&c){var a=m(f.responseText);i=="json"&&(a=B(a));c(a)}};if(d=="POST"){var l=[];h(e,function(a,c){l.push(encodeURIComponent(a)+ "="+encodeURIComponent(c))});try{f.setRequestHeader("Content-Type","application/x-www-form-urlencoded")}catch(n){}f.send(l.join("&"))}else f.send(null)};var ba={},ca={};Ba.prototype={lang:function(a){return Cb(a,this.langType)},loadPlugin:function(a,c){var b=this;if(ba[a]){if(!j(ba[a]))return setTimeout(function(){b.loadPlugin(a,c)},100),b;ba[a].call(b,KindEditor);c&&c.call(b);return b}ba[a]="loading";cb(b.pluginsPath+a+"/"+a+".js?ver="+encodeURIComponent(i.DEBUG?Ja:Ka),function(){setTimeout(function(){ba[a]&& b.loadPlugin(a,c)},0)});return b},handler:function(a,c){var b=this;b._handlers[a]||(b._handlers[a]=[]);if(j(c))return b._handlers[a].push(c),b;h(b._handlers[a],function(){c=this.call(b,c)});return c},clickToolbar:function(a,c){var b=this,e="clickToolbar"+a;if(c===d){if(b._handlers[e])return b.handler(e);b.loadPlugin(a,function(){b.handler(e)});return b}return b.handler(e,c)},updateState:function(){var a=this;h("justifyleft,justifycenter,justifyright,justifyfull,insertorderedlist,insertunorderedlist,subscript,superscript,bold,italic,underline,strikethrough".split(","), function(c,b){a.cmd.state(b)?a.toolbar.select(b):a.toolbar.unselect(b)});return a},addContextmenu:function(a){this._contextmenus.push(a);return this},afterCreate:function(a){return this.handler("afterCreate",a)},beforeRemove:function(a){return this.handler("beforeRemove",a)},beforeGetHtml:function(a){return this.handler("beforeGetHtml",a)},beforeSetHtml:function(a){return this.handler("beforeSetHtml",a)},afterSetHtml:function(a){return this.handler("afterSetHtml",a)},create:function(){function a(){m.height()=== 0?setTimeout(a,100):c.resize(e,f,!1)}var c=this,d=c.fullscreenMode;if(c.isCreated)return c;if(c.srcElement.data("kindeditor"))return c;c.srcElement.data("kindeditor","true");d?X().style.overflow="hidden":X().style.overflow="";var e=d?X().clientWidth+"px":c.width,f=d?X().clientHeight+"px":c.height;if(F&&N<8||da)f=o(l(f)+2);var k=c.container=i(c.layout);d?i(document.body).append(k):c.srcElement.before(k);var h=i(".toolbar",k),n=i(".edit",k),m=c.statusbar=i(".statusbar",k);k.removeClass("container").addClass("ke-container ke-container-"+ c.themeType).css("width",e);if(d){k.css({position:"absolute",left:0,top:0,"z-index":811211});if(!la)c._scrollPos=na();b.scrollTo(0,0);i(document.body).css({height:"1px",overflow:"hidden"});i(document.body.parentNode).css("overflow","hidden");c._fullscreenExecuted=!0}else c._fullscreenExecuted&&(i(document.body).css({height:"",overflow:""}),i(document.body.parentNode).css("overflow","")),c._scrollPos&&b.scrollTo(c._scrollPos.x,c._scrollPos.y);var s=[];i.each(c.items,function(a,b){b=="|"?s.push(''): b=="/"?s.push('
                                                        '):(s.push(''),s.push(''))});var h=c.toolbar=wb({src:h,html:s.join(""),noDisableItems:c.noDisableItems,click:function(a,b){a.stop();if(c.menu){var d=c.menu.name;c.hideMenu();if(d===b)return}c.clickToolbar(b)}}),j=l(f)-h.div.height(),r=c.edit=ub({height:j>0&&l(f)>c.minHeight?j:c.minHeight, src:n,srcElement:c.srcElement,designMode:c.designMode,themesPath:c.themesPath,bodyClass:c.bodyClass,cssPath:c.cssPath,cssData:c.cssData,beforeGetHtml:function(a){a=c.beforeGetHtml(a);a=ha(Ia(a));return H(a,c.filterMode?c.htmlTags:null,c.urlType,c.wellFormatMode,c.indentChar)},beforeSetHtml:function(a){a=H(a,c.filterMode?c.htmlTags:null,"",!1);return c.beforeSetHtml(a)},afterSetHtml:function(){c.edit=r=this;c.afterSetHtml()},afterCreate:function(){c.edit=r=this;c.cmd=r.cmd;c._docMousedownFn=function(){c.menu&& c.hideMenu()};i(r.doc,document).mousedown(c._docMousedownFn);Sb.call(c);Tb.call(c);Ub.call(c);Vb.call(c);r.afterChange(function(){r.designMode&&(c.updateState(),c.addBookmark(),c.options.afterChange&&c.options.afterChange.call(c))});r.textarea.keyup(function(a){!a.ctrlKey&&!a.altKey&&Ib[a.which]&&c.options.afterChange&&c.options.afterChange.call(c)});c.readonlyMode&&c.readonly();c.isCreated=!0;if(c.initContent==="")c.initContent=c.html();if(c._undoStack.length>0){var a=c._undoStack.pop();a.start&& (c.html(a.html),r.cmd.range.moveToBookmark(a),c.select())}c.afterCreate();c.options.afterCreate&&c.options.afterCreate.call(c)}});m.removeClass("statusbar").addClass("ke-statusbar").append('').append('');if(c._fullscreenResizeHandler)i(b).unbind("resize",c._fullscreenResizeHandler),c._fullscreenResizeHandler=null;a();d?(c._fullscreenResizeHandler=function(){c.isCreated&&c.resize(X().clientWidth, X().clientHeight,!1)},i(b).bind("resize",c._fullscreenResizeHandler),h.select("fullscreen"),m.first().css("visibility","hidden"),m.last().css("visibility","hidden")):(la&&i(b).bind("scroll",function(){c._scrollPos=na()}),c.resizeType>0?Xa({moveEl:k,clickEl:m,moveFn:function(a,b,d,g,e,f){g+=f;c.resize(null,g)}}):m.first().css("visibility","hidden"),c.resizeType===2?Xa({moveEl:k,clickEl:m.last(),moveFn:function(a,b,d,g,e,f){d+=e;g+=f;c.resize(d,g)}}):m.last().css("visibility","hidden"));return c},remove:function(){var a= this;if(!a.isCreated)return a;a.beforeRemove();a.srcElement.data("kindeditor","");a.menu&&a.hideMenu();h(a.dialogs,function(){a.hideDialog()});i(document).unbind("mousedown",a._docMousedownFn);a.toolbar.remove();a.edit.remove();a.statusbar.last().unbind();a.statusbar.unbind();a.container.remove();a.container=a.toolbar=a.edit=a.menu=null;a.dialogs=[];a.isCreated=!1;return a},resize:function(a,c,b){b=q(b,!0);if(a&&(/%/.test(a)||(a=l(a),a=a/ig,"").replace(/ /ig," ")):this.html(s(a))},isEmpty:function(){return m(this.text().replace(/\r\n|\n|\r/,""))===""},isDirty:function(){return m(this.initContent.replace(/\r\n|\n|\r|t/g,""))!==m(this.html().replace(/\r\n|\n|\r|t/g,""))},selectedHtml:function(){var a=this.isCreated?this.cmd.range.html():"";return a=ha(Ia(a))},count:function(a){a=(a||"html").toLowerCase();if(a==="html")return this.html().length; if(a==="text")return this.text().replace(/<(?:img|embed).*?>/ig,"K").replace(/\r\n|\n|\r/g,"").length;return 0},exec:function(a){var a=a.toLowerCase(),c=this.cmd,b=e(a,"selectall,copy,paste,print".split(","))<0;b&&this.addBookmark(!1);c[a].apply(c,D(arguments,1));b&&(this.updateState(),this.addBookmark(!1),this.options.afterChange&&this.options.afterChange.call(this));return this},insertHtml:function(a,c){if(!this.isCreated)return this;a=this.beforeSetHtml(a);this.exec("inserthtml",a,c);return this}, appendHtml:function(a){this.html(this.html()+a);if(this.isCreated)a=this.cmd,a.range.selectNodeContents(a.doc.body).collapse(!1),a.select();return this},sync:function(){wa(this.srcElement,this.html());return this},focus:function(){this.isCreated?this.edit.focus():this.srcElement[0].focus();return this},blur:function(){this.isCreated?this.edit.blur():this.srcElement[0].blur();return this},addBookmark:function(a){var a=q(a,!0),c=this.edit,b=c.doc.body,d=Ia(b.innerHTML);if(a&&this._undoStack.length> 0&&Math.abs(d.length-ha(this._undoStack[this._undoStack.length-1].html).length)0){var d=b.dialogs[b.dialogs.length-1];b.dialogs[0].setMaskIndex(d.z+2);a.z=d.z+3;a.showMask=!1}a=yb(a);b.dialogs.push(a);return a},hideDialog:function(){this.dialogs.length>0&&this.dialogs.pop().remove();this.dialogs.length>0&&this.dialogs[0].setMaskIndex(this.dialogs[this.dialogs.length- 1].z-1);return this},errorDialog:function(a){var b=this.createDialog({width:750,title:this.lang("uploadError"),body:'
                                                        '}),b=i("iframe",b.div),d=i.iframeDoc(b);d.open();d.write(a);d.close();i(d.body).css("background-color","#FFF");b[0].contentWindow.focus();return this}};_instances=[];i.remove=function(a){Ca(a,function(a){this.remove();_instances.splice(a,1)})};i.sync=function(a){Ca(a,function(){this.sync()})}; i.html=function(a,b){Ca(a,function(){this.html(b)})};i.insertHtml=function(a,b){Ca(a,function(){this.insertHtml(b)})};i.appendHtml=function(a,b){Ca(a,function(){this.appendHtml(b)})};F&&N<7&&ea(document,"BackgroundImageCache",!0);i.EditorClass=Ba;i.editor=function(a){return new Ba(a)};i.create=Fb;i.instances=_instances;i.plugin=Ab;i.lang=Cb;Ab("core",function(a){var c=this,g={undo:"Z",redo:"Y",bold:"B",italic:"I",underline:"U",print:"P",selectall:"A"};c.afterSetHtml(function(){c.options.afterChange&& c.options.afterChange.call(c)});c.afterCreate(function(){if(c.syncType=="form"){for(var d=a(c.srcElement),g=!1;d=d.parent();)if(d.name=="form"){g=!0;break}if(g){d.bind("submit",function(){c.sync();a(b).bind("unload",function(){c.edit.textarea.remove()})});var e=a('[type="reset"]',d);e.click(function(){c.html(c.initContent);c.cmd.selection()});c.beforeRemove(function(){d.unbind();e.unbind()})}}});c.clickToolbar("source",function(){c.edit.designMode?(c.toolbar.disableAll(!0),c.edit.design(!1),c.toolbar.select("source")): (c.toolbar.disableAll(!1),c.edit.design(!0),c.toolbar.unselect("source"),la?setTimeout(function(){c.cmd.selection()},0):c.cmd.selection());c.designMode=c.edit.designMode});c.afterCreate(function(){c.designMode||c.toolbar.disableAll(!0).select("source")});c.clickToolbar("fullscreen",function(){c.fullscreen()});if(c.fullscreenShortcut){var f=!1;c.afterCreate(function(){a(c.edit.doc,c.edit.textarea).keyup(function(a){a.which==27&&setTimeout(function(){c.fullscreen()},0)});if(f){if(F&&!c.designMode)return; c.focus()}f||(f=!0)})}h("undo,redo".split(","),function(a,b){g[b]&&c.afterCreate(function(){$(this.edit.doc,g[b],function(){c.clickToolbar(b)})});c.clickToolbar(b,function(){c[b]()})});c.clickToolbar("formatblock",function(){var a=c.lang("formatblock.formatBlock"),b={h1:28,h2:24,h3:18,H4:14,p:12},d=c.cmd.val("formatblock"),g=c.createMenu({name:"formatblock",width:c.langType=="en"?200:150});h(a,function(a,e){var f="font-size:"+b[a]+"px;";a.charAt(0)==="h"&&(f+="font-weight:bold;");g.addItem({title:''+e+"",height:b[a]+12,checked:d===a||d===e,click:function(){c.select().exec("formatblock","<"+a+">").hideMenu()}})})});c.clickToolbar("fontname",function(){var a=c.cmd.val("fontname"),b=c.createMenu({name:"fontname",width:150});h(c.lang("fontname.fontName"),function(d,g){b.addItem({title:''+g+"",checked:a===d.toLowerCase()||a===g.toLowerCase(),click:function(){c.exec("fontname",d).hideMenu()}})})});c.clickToolbar("fontsize", function(){var a=c.cmd.val("fontsize"),b=c.createMenu({name:"fontsize",width:150});h(c.fontSizeTable,function(d,g){b.addItem({title:''+g+"",height:l(g)+12,checked:a===g,click:function(){c.exec("fontsize",g).hideMenu()}})})});h("forecolor,hilitecolor".split(","),function(a,b){c.clickToolbar(b,function(){c.createMenu({name:b,selectedColor:c.cmd.val(b)||"default",colors:c.colorTable,click:function(a){c.exec(b,a).hideMenu()}})})});h("cut,copy,paste".split(","), function(a,b){c.clickToolbar(b,function(){c.focus();try{c.exec(b,null)}catch(a){alert(c.lang(b+"Error"))}})});c.clickToolbar("about",function(){var a='
                                                        KindEditor '+Ka+'
                                                        Copyright © kindsoft.net All rights reserved.
                                                        ';c.createDialog({name:"about",width:350,title:c.lang("about"),body:a})});c.plugin.getSelectedLink=function(){return c.cmd.commonAncestor("a")};c.plugin.getSelectedImage=function(){return Ha(c.edit.cmd.range, function(a){return!/^ke-\w+$/i.test(a[0].className)})};c.plugin.getSelectedFlash=function(){return Ha(c.edit.cmd.range,function(a){return a[0].className=="ke-flash"})};c.plugin.getSelectedMedia=function(){return Ha(c.edit.cmd.range,function(a){return a[0].className=="ke-media"||a[0].className=="ke-rm"})};c.plugin.getSelectedAnchor=function(){return Ha(c.edit.cmd.range,function(a){return a[0].className=="ke-anchor"})};h("link,image,flash,media,anchor".split(","),function(a,b){var g=b.charAt(0).toUpperCase()+ b.substr(1);h("edit,delete".split(","),function(a,e){c.addContextmenu({title:c.lang(e+g),click:function(){c.loadPlugin(b,function(){c.plugin[b][e]();c.hideMenu()})},cond:c.plugin["getSelected"+g],width:150,iconClass:e=="edit"?"ke-icon-"+b:d})});c.addContextmenu({title:"-"})});c.plugin.getSelectedTable=function(){return c.cmd.commonAncestor("table")};c.plugin.getSelectedRow=function(){return c.cmd.commonAncestor("tr")};c.plugin.getSelectedCell=function(){return c.cmd.commonAncestor("td")};h("prop,cellprop,colinsertleft,colinsertright,rowinsertabove,rowinsertbelow,rowmerge,colmerge,rowsplit,colsplit,coldelete,rowdelete,insert,delete".split(","), function(a,b){var d=e(b,["prop","delete"])<0?c.plugin.getSelectedCell:c.plugin.getSelectedTable;c.addContextmenu({title:c.lang("table"+b),click:function(){c.loadPlugin("table",function(){c.plugin.table[b]();c.hideMenu()})},cond:d,width:170,iconClass:"ke-icon-table"+b})});c.addContextmenu({title:"-"});h("selectall,justifyleft,justifycenter,justifyright,justifyfull,insertorderedlist,insertunorderedlist,indent,outdent,subscript,superscript,hr,print,bold,italic,underline,strikethrough,removeformat,unlink".split(","), function(a,b){g[b]&&c.afterCreate(function(){$(this.edit.doc,g[b],function(){c.cmd.selection();c.clickToolbar(b)})});c.clickToolbar(b,function(){c.focus().exec(b,null)})});c.afterCreate(function(){function b(){g.range.moveToBookmark(e);g.select();ka&&(a("div."+i,f).each(function(){a(this).after("
                                                        ").remove(!0)}),a("span.Apple-style-span",f).remove(!0),a("span.Apple-tab-span",f).remove(!0),a("span[style]",f).each(function(){a(this).css("white-space")=="nowrap"&&a(this).remove(!0)}),a("meta",f).remove()); var d=f[0].innerHTML;f.remove();d!==""&&(ka&&(d=d.replace(/(
                                                        )\1/ig,"$1")),c.pasteType===2&&(d=d.replace(/(<(?:p|p\s[^>]*)>) *(<\/p>)/ig,""),/schemas-microsoft-com|worddocument|mso-\w+/i.test(d)?d=U(d,c.filterMode?c.htmlTags:a.options.htmlTags):(d=H(d,c.filterMode?c.htmlTags:null),d=c.beforeSetHtml(d))),c.pasteType===1&&(d=d.replace(/ /ig," "),d=d.replace(/\n\s*\n/g,"\n"),d=d.replace(/]*>/ig,"\n"),d=d.replace(/<\/p>]*>/ig,"\n"),d=d.replace(/<[^>]+>/g,""),d=d.replace(/ {2}/g,"  "), c.newlineTag=="p"?/\n/.test(d)&&(d=d.replace(/^/,"

                                                        ").replace(/$/,"

                                                        ").replace(/\n/g,"

                                                        ")):d=d.replace(/\n/g,"
                                                        $&")),c.insertHtml(d,!0))}var d=c.edit.doc,g,e,f,i="__kindeditor_paste__",h=!1;a(d.body).bind("paste",function(l){if(c.pasteType===0)l.stop();else if(!h){h=!0;a("div."+i,d).remove();g=c.cmd.selection();e=g.range.createBookmark();f=a('

                                                        ',d).css({position:"absolute",width:"1px",height:"1px",overflow:"hidden",left:"-1981px",top:a(e.start).pos().y+ "px","white-space":"nowrap"});a(d.body).append(f);if(F){var n=g.range.get(!0);n.moveToElementText(f[0]);n.select();n.execCommand("paste");l.preventDefault()}else g.range.selectNodeContents(f[0]),g.select();setTimeout(function(){b();h=!1},0)}})});c.beforeGetHtml(function(a){F&&N<=8&&(a=a.replace(/]*data-ke-input-tag="([^"]*)"[^>]*>([\s\S]*?)<\/div>/ig,function(a,b){return unescape(b)}),a=a.replace(/(]*)?>)/ig,function(a,b,c){if(!/\s+type="[^"]+"/i.test(a))return b+' type="text"'+ c;return a}));return a.replace(/(<(?:noscript|noscript\s[^>]*)>)([\s\S]*?)(<\/noscript>)/ig,function(a,b,c,d){return b+v(c).replace(/\s+/g," ")+d}).replace(/]*class="?ke-(flash|rm|media)"?[^>]*>/ig,function(a){var a=K(a),b=M(a.style||""),c=S(a["data-ke-tag"]),d=q(b.width,""),b=q(b.height,"");/px/i.test(d)&&(d=l(d));/px/i.test(b)&&(b=l(b));c.width=q(a.width,d);c.height=q(a.height,b);return Na(c)}).replace(/]*class="?ke-anchor"?[^>]*>/ig,function(a){a=K(a);return''}).replace(/]*data-ke-script-attr="([^"]*)"[^>]*>([\s\S]*?)<\/div>/ig,function(a,b,c){return""+unescape(c)+"<\/script>"}).replace(/]*data-ke-noscript-attr="([^"]*)"[^>]*>([\s\S]*?)<\/div>/ig,function(a,b,c){return""+unescape(c)+""}).replace(/(<[^>]*)data-ke-src="([^"]*)"([^>]*>)/ig,function(a,b,c){a=a.replace(/(\s+(?:href|src)=")[^"]*(")/i,function(a,b,d){return b+v(c)+d});return a=a.replace(/\s+data-ke-src="[^"]*"/i, "")}).replace(/(<[^>]+\s)data-ke-(on\w+="[^"]*"[^>]*>)/ig,function(a,b,c){return b+c})});c.beforeSetHtml(function(a){F&&N<=8&&(a=a.replace(/]*>|<(select|button)[^>]*>[\s\S]*?<\/\1>/ig,function(a){var b=K(a);if(M(b.style||"").display=="none")return'
                                                        ';return a}));return a.replace(/]*type="([^"]+)"[^>]*>(?:<\/embed>)?/ig,function(a){a=K(a);a.src=q(a.src,"");a.width=q(a.width,0);a.height=q(a.height,0);return kb(c.themesPath+ "common/blank.gif",a)}).replace(/]*name="([^"]+)"[^>]*>(?:<\/a>)?/ig,function(a){var b=K(a);if(b.href!==d)return a;return''}).replace(/]*)>([\s\S]*?)<\/script>/ig,function(a,b,c){return'
                                                        '+escape(c)+"
                                                        "}).replace(/]*)>([\s\S]*?)<\/noscript>/ig,function(a,b,c){return'
                                                        '+escape(c)+"
                                                        "}).replace(/(<[^>]*)(href|src)="([^"]*)"([^>]*>)/ig,function(a,b,c,d,g){if(a.match(/\sdata-ke-src="[^"]*"/i))return a;return a=b+c+'="'+d+'" data-ke-src="'+s(d)+'"'+g}).replace(/(<[^>]+\s)(on\w+="[^"]*"[^>]*>)/ig,function(a,b,c){return b+"data-ke-"+c}).replace(/]*\s+border="0"[^>]*>/ig,function(a){if(a.indexOf("ke-zeroborder")>=0)return a;return O(a,"ke-zeroborder")})})})}})(window); KindEditor.lang({source:"HTML\u4ee3\u7801",preview:"\u9884\u89c8",undo:"\u540e\u9000(Ctrl+Z)",redo:"\u524d\u8fdb(Ctrl+Y)",cut:"\u526a\u5207(Ctrl+X)",copy:"\u590d\u5236(Ctrl+C)",paste:"\u7c98\u8d34(Ctrl+V)",plainpaste:"\u7c98\u8d34\u4e3a\u65e0\u683c\u5f0f\u6587\u672c",wordpaste:"\u4eceWord\u7c98\u8d34",selectall:"\u5168\u9009(Ctrl+A)",justifyleft:"\u5de6\u5bf9\u9f50",justifycenter:"\u5c45\u4e2d",justifyright:"\u53f3\u5bf9\u9f50",justifyfull:"\u4e24\u7aef\u5bf9\u9f50",insertorderedlist:"\u7f16\u53f7", insertunorderedlist:"\u9879\u76ee\u7b26\u53f7",indent:"\u589e\u52a0\u7f29\u8fdb",outdent:"\u51cf\u5c11\u7f29\u8fdb",subscript:"\u4e0b\u6807",superscript:"\u4e0a\u6807",formatblock:"\u6bb5\u843d",fontname:"\u5b57\u4f53",fontsize:"\u6587\u5b57\u5927\u5c0f",forecolor:"\u6587\u5b57\u989c\u8272",hilitecolor:"\u6587\u5b57\u80cc\u666f",bold:"\u7c97\u4f53(Ctrl+B)",italic:"\u659c\u4f53(Ctrl+I)",underline:"\u4e0b\u5212\u7ebf(Ctrl+U)",strikethrough:"\u5220\u9664\u7ebf",removeformat:"\u5220\u9664\u683c\u5f0f", image:"\u56fe\u7247",multiimage:"\u6279\u91cf\u56fe\u7247\u4e0a\u4f20",flash:"Flash",media:"\u89c6\u97f3\u9891",table:"\u8868\u683c",tablecell:"\u5355\u5143\u683c",hr:"\u63d2\u5165\u6a2a\u7ebf",emoticons:"\u63d2\u5165\u8868\u60c5",link:"\u8d85\u7ea7\u94fe\u63a5",unlink:"\u53d6\u6d88\u8d85\u7ea7\u94fe\u63a5",fullscreen:"\u5168\u5c4f\u663e\u793a",about:"\u5173\u4e8e",print:"\u6253\u5370(Ctrl+P)",filemanager:"\u6587\u4ef6\u7a7a\u95f4",code:"\u63d2\u5165\u7a0b\u5e8f\u4ee3\u7801",map:"Google\u5730\u56fe", baidumap:"\u767e\u5ea6\u5730\u56fe",lineheight:"\u884c\u8ddd",clearhtml:"\u6e05\u7406HTML\u4ee3\u7801",pagebreak:"\u63d2\u5165\u5206\u9875\u7b26",quickformat:"\u4e00\u952e\u6392\u7248",insertfile:"\u63d2\u5165\u6587\u4ef6",template:"\u63d2\u5165\u6a21\u677f",anchor:"\u951a\u70b9",yes:"\u786e\u5b9a",no:"\u53d6\u6d88",close:"\u5173\u95ed",editImage:"\u56fe\u7247\u5c5e\u6027",deleteImage:"\u5220\u9664\u56fe\u7247",editFlash:"Flash\u5c5e\u6027",deleteFlash:"\u5220\u9664Flash",editMedia:"\u89c6\u97f3\u9891\u5c5e\u6027", deleteMedia:"\u5220\u9664\u89c6\u97f3\u9891",editLink:"\u8d85\u7ea7\u94fe\u63a5\u5c5e\u6027",deleteLink:"\u53d6\u6d88\u8d85\u7ea7\u94fe\u63a5",editAnchor:"\u951a\u70b9\u5c5e\u6027",deleteAnchor:"\u5220\u9664\u951a\u70b9",tableprop:"\u8868\u683c\u5c5e\u6027",tablecellprop:"\u5355\u5143\u683c\u5c5e\u6027",tableinsert:"\u63d2\u5165\u8868\u683c",tabledelete:"\u5220\u9664\u8868\u683c",tablecolinsertleft:"\u5de6\u4fa7\u63d2\u5165\u5217",tablecolinsertright:"\u53f3\u4fa7\u63d2\u5165\u5217",tablerowinsertabove:"\u4e0a\u65b9\u63d2\u5165\u884c", tablerowinsertbelow:"\u4e0b\u65b9\u63d2\u5165\u884c",tablerowmerge:"\u5411\u4e0b\u5408\u5e76\u5355\u5143\u683c",tablecolmerge:"\u5411\u53f3\u5408\u5e76\u5355\u5143\u683c",tablerowsplit:"\u62c6\u5206\u884c",tablecolsplit:"\u62c6\u5206\u5217",tablecoldelete:"\u5220\u9664\u5217",tablerowdelete:"\u5220\u9664\u884c",noColor:"\u65e0\u989c\u8272",pleaseSelectFile:"\u8bf7\u9009\u62e9\u6587\u4ef6\u3002",invalidImg:"\u8bf7\u8f93\u5165\u6709\u6548\u7684URL\u5730\u5740\u3002\n\u53ea\u5141\u8bb8jpg,gif,bmp,png\u683c\u5f0f\u3002", invalidMedia:"\u8bf7\u8f93\u5165\u6709\u6548\u7684URL\u5730\u5740\u3002\n\u53ea\u5141\u8bb8swf,flv,mp3,wav,wma,wmv,mid,avi,mpg,asf,rm,rmvb\u683c\u5f0f\u3002",invalidWidth:"\u5bbd\u5ea6\u5fc5\u987b\u4e3a\u6570\u5b57\u3002",invalidHeight:"\u9ad8\u5ea6\u5fc5\u987b\u4e3a\u6570\u5b57\u3002",invalidBorder:"\u8fb9\u6846\u5fc5\u987b\u4e3a\u6570\u5b57\u3002",invalidUrl:"\u8bf7\u8f93\u5165\u6709\u6548\u7684URL\u5730\u5740\u3002",invalidRows:"\u884c\u6570\u4e3a\u5fc5\u9009\u9879\uff0c\u53ea\u5141\u8bb8\u8f93\u5165\u5927\u4e8e0\u7684\u6570\u5b57\u3002", invalidCols:"\u5217\u6570\u4e3a\u5fc5\u9009\u9879\uff0c\u53ea\u5141\u8bb8\u8f93\u5165\u5927\u4e8e0\u7684\u6570\u5b57\u3002",invalidPadding:"\u8fb9\u8ddd\u5fc5\u987b\u4e3a\u6570\u5b57\u3002",invalidSpacing:"\u95f4\u8ddd\u5fc5\u987b\u4e3a\u6570\u5b57\u3002",invalidJson:"\u670d\u52a1\u5668\u53d1\u751f\u6545\u969c\u3002",uploadSuccess:"\u4e0a\u4f20\u6210\u529f\u3002",cutError:"\u60a8\u7684\u6d4f\u89c8\u5668\u5b89\u5168\u8bbe\u7f6e\u4e0d\u5141\u8bb8\u4f7f\u7528\u526a\u5207\u64cd\u4f5c\uff0c\u8bf7\u4f7f\u7528\u5feb\u6377\u952e(Ctrl+X)\u6765\u5b8c\u6210\u3002", copyError:"\u60a8\u7684\u6d4f\u89c8\u5668\u5b89\u5168\u8bbe\u7f6e\u4e0d\u5141\u8bb8\u4f7f\u7528\u590d\u5236\u64cd\u4f5c\uff0c\u8bf7\u4f7f\u7528\u5feb\u6377\u952e(Ctrl+C)\u6765\u5b8c\u6210\u3002",pasteError:"\u60a8\u7684\u6d4f\u89c8\u5668\u5b89\u5168\u8bbe\u7f6e\u4e0d\u5141\u8bb8\u4f7f\u7528\u7c98\u8d34\u64cd\u4f5c\uff0c\u8bf7\u4f7f\u7528\u5feb\u6377\u952e(Ctrl+V)\u6765\u5b8c\u6210\u3002",ajaxLoading:"\u52a0\u8f7d\u4e2d\uff0c\u8bf7\u7a0d\u5019 ...",uploadLoading:"\u4e0a\u4f20\u4e2d\uff0c\u8bf7\u7a0d\u5019 ...", uploadError:"\u4e0a\u4f20\u9519\u8bef","plainpaste.comment":"\u8bf7\u4f7f\u7528\u5feb\u6377\u952e(Ctrl+V)\u628a\u5185\u5bb9\u7c98\u8d34\u5230\u4e0b\u9762\u7684\u65b9\u6846\u91cc\u3002","wordpaste.comment":"\u8bf7\u4f7f\u7528\u5feb\u6377\u952e(Ctrl+V)\u628a\u5185\u5bb9\u7c98\u8d34\u5230\u4e0b\u9762\u7684\u65b9\u6846\u91cc\u3002","code.pleaseInput":"\u8bf7\u8f93\u5165\u7a0b\u5e8f\u4ee3\u7801\u3002","link.url":"URL","link.linkType":"\u6253\u5f00\u7c7b\u578b","link.newWindow":"\u65b0\u7a97\u53e3","link.selfWindow":"\u5f53\u524d\u7a97\u53e3", "flash.url":"URL","flash.width":"\u5bbd\u5ea6","flash.height":"\u9ad8\u5ea6","flash.upload":"\u4e0a\u4f20","flash.viewServer":"\u6587\u4ef6\u7a7a\u95f4","media.url":"URL","media.width":"\u5bbd\u5ea6","media.height":"\u9ad8\u5ea6","media.autostart":"\u81ea\u52a8\u64ad\u653e","media.upload":"\u4e0a\u4f20","media.viewServer":"\u6587\u4ef6\u7a7a\u95f4","image.remoteImage":"\u7f51\u7edc\u56fe\u7247","image.localImage":"\u672c\u5730\u4e0a\u4f20","image.remoteUrl":"\u56fe\u7247\u5730\u5740","image.localUrl":"\u4e0a\u4f20\u6587\u4ef6", "image.size":"\u56fe\u7247\u5927\u5c0f","image.width":"\u5bbd","image.height":"\u9ad8","image.resetSize":"\u91cd\u7f6e\u5927\u5c0f","image.align":"\u5bf9\u9f50\u65b9\u5f0f","image.defaultAlign":"\u9ed8\u8ba4\u65b9\u5f0f","image.leftAlign":"\u5de6\u5bf9\u9f50","image.rightAlign":"\u53f3\u5bf9\u9f50","image.imgTitle":"\u56fe\u7247\u8bf4\u660e","image.upload":"\u6d4f\u89c8...","image.viewServer":"\u56fe\u7247\u7a7a\u95f4","multiimage.uploadDesc":"\u5141\u8bb8\u7528\u6237\u540c\u65f6\u4e0a\u4f20<%=uploadLimit%>\u5f20\u56fe\u7247\uff0c\u5355\u5f20\u56fe\u7247\u5bb9\u91cf\u4e0d\u8d85\u8fc7<%=sizeLimit%>", "multiimage.startUpload":"\u5f00\u59cb\u4e0a\u4f20","multiimage.clearAll":"\u5168\u90e8\u6e05\u7a7a","multiimage.insertAll":"\u5168\u90e8\u63d2\u5165","multiimage.queueLimitExceeded":"\u6587\u4ef6\u6570\u91cf\u8d85\u8fc7\u9650\u5236\u3002","multiimage.fileExceedsSizeLimit":"\u6587\u4ef6\u5927\u5c0f\u8d85\u8fc7\u9650\u5236\u3002","multiimage.zeroByteFile":"\u65e0\u6cd5\u4e0a\u4f20\u7a7a\u6587\u4ef6\u3002","multiimage.invalidFiletype":"\u6587\u4ef6\u7c7b\u578b\u4e0d\u6b63\u786e\u3002","multiimage.unknownError":"\u53d1\u751f\u5f02\u5e38\uff0c\u65e0\u6cd5\u4e0a\u4f20\u3002", "multiimage.pending":"\u7b49\u5f85\u4e0a\u4f20","multiimage.uploadError":"\u4e0a\u4f20\u5931\u8d25","filemanager.emptyFolder":"\u7a7a\u6587\u4ef6\u5939","filemanager.moveup":"\u79fb\u5230\u4e0a\u4e00\u7ea7\u6587\u4ef6\u5939","filemanager.viewType":"\u663e\u793a\u65b9\u5f0f\uff1a","filemanager.viewImage":"\u7f29\u7565\u56fe","filemanager.listImage":"\u8be6\u7ec6\u4fe1\u606f","filemanager.orderType":"\u6392\u5e8f\u65b9\u5f0f\uff1a","filemanager.fileName":"\u540d\u79f0","filemanager.fileSize":"\u5927\u5c0f", "filemanager.fileType":"\u7c7b\u578b","insertfile.url":"URL","insertfile.title":"\u6587\u4ef6\u8bf4\u660e","insertfile.upload":"\u4e0a\u4f20","insertfile.viewServer":"\u6587\u4ef6\u7a7a\u95f4","table.cells":"\u5355\u5143\u683c\u6570","table.rows":"\u884c\u6570","table.cols":"\u5217\u6570","table.size":"\u5927\u5c0f","table.width":"\u5bbd\u5ea6","table.height":"\u9ad8\u5ea6","table.percent":"%","table.px":"px","table.space":"\u8fb9\u8ddd\u95f4\u8ddd","table.padding":"\u8fb9\u8ddd","table.spacing":"\u95f4\u8ddd", "table.align":"\u5bf9\u9f50\u65b9\u5f0f","table.textAlign":"\u6c34\u5e73\u5bf9\u9f50","table.verticalAlign":"\u5782\u76f4\u5bf9\u9f50","table.alignDefault":"\u9ed8\u8ba4","table.alignLeft":"\u5de6\u5bf9\u9f50","table.alignCenter":"\u5c45\u4e2d","table.alignRight":"\u53f3\u5bf9\u9f50","table.alignTop":"\u9876\u90e8","table.alignMiddle":"\u4e2d\u90e8","table.alignBottom":"\u5e95\u90e8","table.alignBaseline":"\u57fa\u7ebf","table.border":"\u8fb9\u6846","table.borderWidth":"\u8fb9\u6846","table.borderColor":"\u989c\u8272", "table.backgroundColor":"\u80cc\u666f\u989c\u8272","map.address":"\u5730\u5740: ","map.search":"\u641c\u7d22","baidumap.address":"\u5730\u5740: ","baidumap.search":"\u641c\u7d22","baidumap.insertDynamicMap":"\u63d2\u5165\u52a8\u6001\u5730\u56fe","anchor.name":"\u951a\u70b9\u540d\u79f0","formatblock.formatBlock":{h1:"\u6807\u9898 1",h2:"\u6807\u9898 2",h3:"\u6807\u9898 3",h4:"\u6807\u9898 4",p:"\u6b63 \u6587"},"fontname.fontName":{SimSun:"\u5b8b\u4f53",NSimSun:"\u65b0\u5b8b\u4f53",FangSong_GB2312:"\u4eff\u5b8b_GB2312", KaiTi_GB2312:"\u6977\u4f53_GB2312",SimHei:"\u9ed1\u4f53","Microsoft YaHei":"\u5fae\u8f6f\u96c5\u9ed1",Arial:"Arial","Arial Black":"Arial Black","Times New Roman":"Times New Roman","Courier New":"Courier New",Tahoma:"Tahoma",Verdana:"Verdana"},"lineheight.lineHeight":[{1:"\u5355\u500d\u884c\u8ddd"},{"1.5":"1.5\u500d\u884c\u8ddd"},{2:"2\u500d\u884c\u8ddd"},{"2.5":"2.5\u500d\u884c\u8ddd"},{3:"3\u500d\u884c\u8ddd"}],"template.selectTemplate":"\u53ef\u9009\u6a21\u677f","template.replaceContent":"\u66ff\u6362\u5f53\u524d\u5185\u5bb9", "template.fileList":{"1.html":"\u56fe\u7247\u548c\u6587\u5b57","2.html":"\u8868\u683c","3.html":"\u9879\u76ee\u7f16\u53f7"}},"zh_CN"); KindEditor.plugin("anchor",function(b){var d=this,f=d.lang("anchor.");d.plugin.anchor={edit:function(){var j=['
                                                        ','",'
                                                        '].join(""),j=d.createDialog({name:"anchor",width:300,title:d.lang("anchor"),body:j,yesBtn:{name:d.lang("yes"),click:function(){d.insertHtml('').hideDialog().focus()}}}).div, e=b('input[name="name"]',j);(j=d.plugin.getSelectedAnchor())&&e.val(unescape(j.attr("data-ke-name")));e[0].focus();e[0].select()},"delete":function(){d.plugin.getSelectedAnchor().remove()}};d.clickToolbar("anchor",d.plugin.anchor.edit)}); KindEditor.plugin("autoheight",function(b){function d(){var d=j.edit,f=d.doc.body;d.iframe.height(e);j.resize(null,Math.max((b.IE?f.scrollHeight:f.offsetHeight)+76,e))}function f(){e=b.removeUnit(j.height);j.edit.afterChange(d);var f=j.edit,m=f.doc.body;f.iframe[0].scroll="no";m.style.overflowY="hidden";d()}var j=this;if(j.autoHeightMode){var e;j.isCreated?f():j.afterCreate(f)}}); KindEditor.plugin("baidumap",function(b){var d=this,f=d.lang("baidumap."),j=b.undef(d.mapWidth,558),e=b.undef(d.mapHeight,360);d.clickToolbar("baidumap",function(){function h(){v=r[0].contentWindow;p=b.iframeDoc(r)}var m=['
                                                        ',f.address+' ','','','
                                                        ',' ",'
                                                        ','
                                                        ',"
                                                        "].join(""),m=d.createDialog({name:"baidumap",width:j+42,title:d.lang("baidumap"),body:m,yesBtn:{name:d.lang("yes"),click:function(){var b=v.map,f=b.getCenter(),f=f.lng+","+f.lat, b=b.getZoom(),b=[s[0].checked?d.pluginsPath+"baidumap/index.html":"http://api.map.baidu.com/staticimage","?center="+encodeURIComponent(f),"&zoom="+encodeURIComponent(b),"&width="+j,"&height="+e,"&markers="+encodeURIComponent(f),"&markerStyles="+encodeURIComponent("l,A")].join("");s[0].checked?d.insertHtml(''):d.exec("insertimage",b);d.hideDialog().focus()}},beforeRemove:function(){l.remove();p&&p.write(""); r.remove()}}),n=m.div,o=b('[name="address"]',n),l=b('[name="searchBtn"]',n),s=b('[name="insertDynamicMap"]',m.div),v,p,r=b('');r.bind("load",function(){r.unbind("load");b.IE?h():setTimeout(h,0)});b(".ke-map",n).replaceWith(r);l.click(function(){v.search(o.val())})})}); KindEditor.plugin("clearhtml",function(b){var d=this;d.clickToolbar("clearhtml",function(){d.focus();var f=d.html(),f=f.replace(/(]*>)([\s\S]*?)(<\/script>)/ig,""),f=f.replace(/(]*>)([\s\S]*?)(<\/style>)/ig,""),f=b.formatHtml(f,{a:["href","target"],embed:["src","width","height","type","loop","autostart","quality",".width",".height","align","allowscriptaccess"],img:["src","width","height","border","alt","title",".width",".height"],table:["border"],"td,th":["rowspan","colspan"],"div,hr,br,tbody,tr,p,ol,ul,li,blockquote,h1,h2,h3,h4,h5,h6":[]}); d.html(f);d.cmd.selection(!0);d.addBookmark()})}); KindEditor.plugin("code",function(b){var d=this;d.clickToolbar("code",function(){var f=d.lang("code."),j=d.createDialog({name:"code",width:450,title:d.lang("code"),body:'
                                                        ',yesBtn:{name:d.lang("yes"), click:function(){var h=b(".ke-code-type",j.div).val(),m=e.val(),h='
                                                        \n'+b.escape(m)+"
                                                        ";b.trim(m)===""?(alert(f.pleaseInput),e[0].focus()):d.insertHtml(h).hideDialog().focus()}}}),e=b("textarea",j.div);e[0].focus()})}); KindEditor.plugin("emoticons",function(b){var d=this,f=d.emoticonsPath||d.pluginsPath+"emoticons/images/",j=d.allowPreviewEmoticons===void 0?!0:d.allowPreviewEmoticons,e=1;d.clickToolbar("emoticons",function(){function h(e,h,l){B?e.mouseover(function(){h>D?(B.css("left",0),B.css("right","")):(B.css("left",""),B.css("right",0));G.attr("src",f+l+".gif");b(this).addClass("ke-on")}):e.mouseover(function(){b(this).addClass("ke-on")});e.mouseout(function(){b(this).removeClass("ke-on")});e.click(function(b){d.insertHtml('').hideMenu().focus();b.stop()})}function m(d,e){var l=document.createElement("table");e.append(l);B&&(b(l).mouseover(function(){B.show("block")}),b(l).mouseout(function(){B.hide()}),A.push(b(l)));l.className="ke-table";l.cellPadding=0;l.cellSpacing=0;l.border=0;for(var n=(d-1)*r+p,o=0;o').css("background-position","-"+24*n+"px 0px").css("background-image", "url("+f+"static.gif)");q.append(u);A.push(q);n++}return l}function n(){b.each(A,function(){this.unbind()})}function o(b,d){b.click(function(b){n();C.parentNode.removeChild(C);u.remove();C=m(d,q);l(d);e=d;b.stop()})}function l(d){u=b('
                                                        ');q.append(u);for(var e=1;e<=z;e++){if(d!==e){var f=b('
                                                        ['+e+"]");o(f,e);u.append(f);A.push(f)}else u.append(b("@["+e+"]"));u.append(b("@ "))}}var s=5,v=9,p=0,r=s*v,z=Math.ceil(135/r),D=Math.floor(v/2),q=b('
                                                        '), A=[];d.createMenu({name:"emoticons",beforeRemove:function(){n()}}).div.append(q);var B,G;j&&(B=b('
                                                        ').css("right",0),G=b(''),q.append(B),B.append(G));var C=m(e,q),u;l(e)})}); KindEditor.plugin("filemanager",function(b){function d(b,d){d.is_dir?b.attr("title",d.filename):b.attr("title",d.filename+" ("+Math.ceil(d.filesize/1024)+"KB, "+d.datetime+")")}var f=this,j=b.undef(f.fileManagerJson,f.basePath+"php/file_manager_json.php"),e=f.pluginsPath+"filemanager/images/",h=f.lang("filemanager.");f.plugin.filemanagerDialog=function(m){function n(d,e,h){d="path="+d+"&order="+e+"&dir="+z;A.showLoading(f.lang("ajaxLoading"));b.ajax(b.addParam(j,d+"&"+(new Date).getTime()),function(b){A.hideLoading(); h(b)})}function o(d,e,f,h){var l=b.formatUrl(e.current_url+f.filename,"absolute"),o=encodeURIComponent(e.current_dir_path+f.filename+"/");f.is_dir?d.click(function(){n(o,u.val(),h)}):f.is_photo?d.click(function(){q.call(this,l,f.filename)}):d.click(function(){q.call(this,l,f.filename)});I.push(d)}function l(d,e){function f(){C.val()=="VIEW"?n(d.current_dir_path,u.val(),v):n(d.current_dir_path,u.val(),s)}b.each(I,function(){this.unbind()});G.unbind();C.unbind();u.unbind();d.current_dir_path&&G.click(function(){n(d.moveup_dir_path, u.val(),e)});C.change(f);u.change(f);B.html("")}function s(d){l(d,s);var f=document.createElement("table");f.className="ke-table";f.cellPadding=0;f.cellSpacing=0;f.border=0;B.append(f);for(var n=d.file_list,m=0,j=n.length;m'),q= b(p[0].insertCell(0)).addClass("ke-cell ke-name").append(q).append(document.createTextNode(" "+r.filename));!r.is_dir||r.has_file?(p.css("cursor","pointer"),q.attr("title",r.filename),o(q,d,r,s)):q.attr("title",h.emptyFolder);b(p[0].insertCell(1)).addClass("ke-cell ke-size").html(r.is_dir?"-":Math.ceil(r.filesize/1024)+"KB");b(p[0].insertCell(2)).addClass("ke-cell ke-datetime").html(r.datetime)}}function v(f){l(f,v);for(var n=f.file_list,m=0,s=n.length;m'); B.append(r);var p=b('
                                                        ').mouseover(function(){b(this).addClass("ke-on")}).mouseout(function(){b(this).removeClass("ke-on")});r.append(p);var q=f.current_url+j.filename,q=b(''+j.filename+'');!j.is_dir||j.has_file?(p.css("cursor","pointer"),d(p,j),o(p,f,j,v)):p.attr("title",h.emptyFolder);p.append(q);r.append('
                                                        '+ j.filename+"
                                                        ")}}var p=b.undef(m.width,650),r=b.undef(m.height,510),z=b.undef(m.dirName,""),D=b.undef(m.viewType,"VIEW").toUpperCase(),q=m.clickFn,m=['
                                                        ',' ',''+h.moveup+"",'
                                                        ',h.viewType+' ",h.orderType+'
                                                        '].join(""),A=f.createDialog({name:"filemanager",width:p,height:r,title:f.lang("filemanager"), body:m}),p=A.div,B=b(".ke-plugin-filemanager-body",p);b('[name="moveupImg"]',p);var G=b('[name="moveupLink"]',p);b('[name="viewServer"]',p);var C=b('[name="viewType"]',p),u=b('[name="orderType"]',p),I=[];C.val(D);n("",u.val(),D=="VIEW"?v:s);return A}}); KindEditor.plugin("flash",function(b){var d=this,f=d.lang("flash."),j=b.undef(d.allowFlashUpload,!0),e=b.undef(d.allowFileManager,!1),h=b.undef(d.formatUploadUrl,!0),m=b.undef(d.extraFileUploadParams,{}),n=b.undef(d.filePostName,"imgFile"),o=b.undef(d.uploadJson,d.basePath+"php/upload_json.php");d.plugin.flash={edit:function(){var l=['
                                                        ','",'  ', '  ','','','
                                                        ','",'
                                                        ','",'
                                                        '].join(""),s=d.createDialog({name:"flash",width:450,title:d.lang("flash"),body:l,yesBtn:{name:d.lang("yes"),click:function(){var e=b.trim(p.val()),f=r.val(),h=z.val();e=="http://"||b.invalidUrl(e)?(alert(d.lang("invalidUrl")),p[0].focus()):/^\d*$/.test(f)?/^\d*$/.test(h)?(e=b.mediaImg(d.themesPath+"common/blank.gif",{src:e,type:b.mediaType(".swf"),width:f, height:h,quality:"high"}),d.insertHtml(e).hideDialog().focus()):(alert(d.lang("invalidHeight")),z[0].focus()):(alert(d.lang("invalidWidth")),r[0].focus())}}}),v=s.div,p=b('[name="url"]',v),l=b('[name="viewServer"]',v),r=b('[name="width"]',v),z=b('[name="height"]',v);p.val("http://");if(j){var D=b.uploadbutton({button:b(".ke-upload-button",v)[0],fieldName:n,extraParams:m,url:b.addParam(o,"dir=flash"),afterUpload:function(e){s.hideLoading();if(e.error===0){var f=e.url;h&&(f=b.formatUrl(f,"absolute")); p.val(f);d.afterUpload&&d.afterUpload.call(d,f,e,"flash");alert(d.lang("uploadSuccess"))}else alert(e.message)},afterError:function(b){s.hideLoading();d.errorDialog(b)}});D.fileBox.change(function(){s.showLoading(d.lang("uploadLoading"));D.submit()})}else b(".ke-upload-button",v).hide();e?l.click(function(){d.loadPlugin("filemanager",function(){d.plugin.filemanagerDialog({viewType:"LIST",dirName:"flash",clickFn:function(e){d.dialogs.length>1&&(b('[name="url"]',v).val(e),d.afterSelectFile&&d.afterSelectFile.call(d, e),d.hideDialog())}})})}):l.hide();if(l=d.plugin.getSelectedFlash()){var q=b.mediaAttrs(l.attr("data-ke-tag"));p.val(q.src);r.val(b.removeUnit(l.css("width"))||q.width||0);z.val(b.removeUnit(l.css("height"))||q.height||0)}p[0].focus();p[0].select()},"delete":function(){d.plugin.getSelectedFlash().remove();d.addBookmark()}};d.clickToolbar("flash",d.plugin.flash.edit)}); KindEditor.plugin("image",function(b){var d=this,f=b.undef(d.allowImageUpload,!0),j=b.undef(d.allowImageRemote,!0),e=b.undef(d.formatUploadUrl,!0),h=b.undef(d.allowFileManager,!1),m=b.undef(d.uploadJson,d.basePath+"php/upload_json.php"),n=b.undef(d.imageTabIndex,0),o=d.pluginsPath+"image/images/",l=b.undef(d.extraFileUploadParams,{}),s=b.undef(d.filePostName,"imgFile"),v=b.undef(d.fillDescAfterUploadImage,!1),p=d.lang("image.");d.plugin.imageDialog=function(f){function n(b,d){M.val(b);K.val(d);W= b;S=d}b.undef(f.imageWidth,"");b.undef(f.imageHeight,"");b.undef(f.imageTitle,"");b.undef(f.imageAlign,"");var j=b.undef(f.showRemote,!0),q=b.undef(f.showLocal,!0),A=b.undef(f.tabIndex,0),B=f.clickFn,G="kindeditor_upload_iframe_"+(new Date).getTime(),C=[],u;for(u in l)C.push('');var C=['
                                                        "].join(""),I=d.createDialog({name:"image",width:q|| h?450:400,height:q&&j?300:250,title:d.lang("image"),body:C,yesBtn:{name:d.lang("yes"),click:function(){if(!I.isLoading)if(q&&j&&H&&H.selectedIndex===1||!j)U.fileBox.val()==""?alert(d.lang("pleaseSelectFile")):(I.showLoading(d.lang("uploadLoading")),U.submit(),qa.val(""));else{var e=b.trim(T.val()),f=M.val(),h=K.val(),l=Q.val(),n="";R.each(function(){if(this.checked)return n=this.value,!1});e=="http://"||b.invalidUrl(e)?(alert(d.lang("invalidUrl")),T[0].focus()):/^\d*$/.test(f)?/^\d*$/.test(h)?B.call(d, e,l,f,h,0,n):(alert(d.lang("invalidHeight")),K[0].focus()):(alert(d.lang("invalidWidth")),M[0].focus())}}},beforeRemove:function(){$.unbind();M.unbind();K.unbind();O.unbind()}}),E=I.div,T=b('[name="url"]',E),qa=b('[name="localUrl"]',E),$=b('[name="viewServer"]',E),M=b('.tab1 [name="width"]',E),K=b('.tab1 [name="height"]',E),O=b(".ke-refresh-btn",E),Q=b('.tab1 [name="title"]',E),R=b('.tab1 [name="align"]',E),H;j&&q?(H=b.tabs({src:b(".tabs",E),afterSelect:function(){}}),H.add({title:p.remoteImage,panel:b(".tab1", E)}),H.add({title:p.localImage,panel:b(".tab2",E)}),H.select(A)):j?b(".tab1",E).show():q&&b(".tab2",E).show();var U=b.uploadbutton({button:b(".ke-upload-button",E)[0],fieldName:s,form:b(".ke-form",E),target:G,width:60,afterUpload:function(f){I.hideLoading();if(f.error===0){var h=f.url;e&&(h=b.formatUrl(h,"absolute"));d.afterUpload&&d.afterUpload.call(d,h,f,"image");v?(b(".ke-dialog-row #remoteUrl",E).val(h),b(".ke-tabs-li",E)[0].click(),b(".ke-refresh-btn",E).click()):B.call(d,h,f.title,f.width,f.height, f.border,f.align)}else alert(f.message)},afterError:function(b){I.hideLoading();d.errorDialog(b)}});U.fileBox.change(function(){qa.val(U.fileBox.val())});h?$.click(function(){d.loadPlugin("filemanager",function(){d.plugin.filemanagerDialog({viewType:"VIEW",dirName:"image",clickFn:function(e){d.dialogs.length>1&&(b('[name="url"]',E).val(e),d.afterSelectFile&&d.afterSelectFile.call(d,e),d.hideDialog())}})})}):$.hide();var W=0,S=0;O.click(function(){var d=b('',document).css({position:"absolute", visibility:"hidden",top:0,left:"-1000px"});d.bind("load",function(){n(d.width(),d.height());d.remove()});b(document.body).append(d)});M.change(function(){W>0&&K.val(Math.round(S/W*parseInt(this.value,10)))});K.change(function(){S>0&&M.val(Math.round(W/S*parseInt(this.value,10)))});T.val(f.imageUrl);n(f.imageWidth,f.imageHeight);Q.val(f.imageTitle);R.each(function(){if(this.value===f.imageAlign)return this.checked=!0,!1});j&&A===0&&(T[0].focus(),T[0].select());return I};d.plugin.image={edit:function(){var b= d.plugin.getSelectedImage();d.plugin.imageDialog({imageUrl:b?b.attr("data-ke-src"):"http://",imageWidth:b?b.width():"",imageHeight:b?b.height():"",imageTitle:b?b.attr("title"):"",imageAlign:b?b.attr("align"):"",showRemote:j,showLocal:f,tabIndex:b?0:n,clickFn:function(e,f,h,l,n,o){b?(b.attr("src",e),b.attr("data-ke-src",e),b.attr("width",h),b.attr("height",l),b.attr("title",f),b.attr("align",o),b.attr("alt",f)):d.exec("insertimage",e,f,h,l,n,o);setTimeout(function(){d.hideDialog().focus()},0)}})}, "delete":function(){var b=d.plugin.getSelectedImage();b.parent().name=="a"&&(b=b.parent());b.remove();d.addBookmark()}};d.clickToolbar("image",d.plugin.image.edit)}); KindEditor.plugin("insertfile",function(b){var d=this,f=b.undef(d.allowFileUpload,!0),j=b.undef(d.allowFileManager,!1),e=b.undef(d.formatUploadUrl,!0),h=b.undef(d.uploadJson,d.basePath+"php/upload_json.php"),m=b.undef(d.extraFileUploadParams,{}),n=b.undef(d.filePostName,"imgFile"),o=d.lang("insertfile.");d.plugin.fileDialog=function(l){var s=b.undef(l.fileUrl,"http://"),v=b.undef(l.fileTitle,""),p=l.clickFn,l=['
                                                        ','",'  ','  ','','','
                                                        ','",'
                                                        '].join(""), r=d.createDialog({name:"insertfile",width:450,title:d.lang("insertfile"),body:l,yesBtn:{name:d.lang("yes"),click:function(){var e=b.trim(D.val()),f=q.val();e=="http://"||b.invalidUrl(e)?(alert(d.lang("invalidUrl")),D[0].focus()):(b.trim(f)===""&&(f=e),p.call(d,e,f))}}}),z=r.div,D=b('[name="url"]',z),l=b('[name="viewServer"]',z),q=b('[name="title"]',z);if(f){var A=b.uploadbutton({button:b(".ke-upload-button",z)[0],fieldName:n,url:b.addParam(h,"dir=file"),extraParams:m,afterUpload:function(f){r.hideLoading(); if(f.error===0){var h=f.url;e&&(h=b.formatUrl(h,"absolute"));D.val(h);d.afterUpload&&d.afterUpload.call(d,h,f,"insertfile");alert(d.lang("uploadSuccess"))}else alert(f.message)},afterError:function(b){r.hideLoading();d.errorDialog(b)}});A.fileBox.change(function(){r.showLoading(d.lang("uploadLoading"));A.submit()})}else b(".ke-upload-button",z).hide();j?l.click(function(){d.loadPlugin("filemanager",function(){d.plugin.filemanagerDialog({viewType:"LIST",dirName:"file",clickFn:function(e){d.dialogs.length> 1&&(b('[name="url"]',z).val(e),d.afterSelectFile&&d.afterSelectFile.call(d,e),d.hideDialog())}})})}):l.hide();D.val(s);q.val(v);D[0].focus();D[0].select()};d.clickToolbar("insertfile",function(){d.plugin.fileDialog({clickFn:function(b,e){d.insertHtml(''+e+"").hideDialog().focus()}})})}); KindEditor.plugin("lineheight",function(b){var d=this,f=d.lang("lineheight.");d.clickToolbar("lineheight",function(){var j="",e=d.cmd.commonNode({"*":".line-height"});e&&(j=e.css("line-height"));var h=d.createMenu({name:"lineheight",width:150});b.each(f.lineHeight,function(e,f){b.each(f,function(b,e){h.addItem({title:e,checked:j===b,click:function(){d.cmd.toggle('',{span:".line-height="+b});d.updateState();d.addBookmark();d.hideMenu()}})})})})}); KindEditor.plugin("link",function(b){var d=this;d.plugin.link={edit:function(){var f=d.lang("link."),j='
                                                        ',j=d.createDialog({name:"link",width:450,title:d.lang("link"), body:j,yesBtn:{name:d.lang("yes"),click:function(){var f=b.trim(e.val());f=="http://"||b.invalidUrl(f)?(alert(d.lang("invalidUrl")),e[0].focus()):d.exec("createlink",f,h.val()).hideDialog().focus()}}}).div,e=b('input[name="url"]',j),h=b('select[name="type"]',j);e.val("http://");h[0].options[0]=new Option(f.newWindow,"_blank");h[0].options[1]=new Option(f.selfWindow,"");d.cmd.selection();if(f=d.plugin.getSelectedLink())d.cmd.range.selectNode(f[0]),d.cmd.select(),e.val(f.attr("data-ke-src")),h.val(f.attr("target")); e[0].focus();e[0].select()},"delete":function(){d.exec("unlink",null)}};d.clickToolbar("link",d.plugin.link.edit)}); KindEditor.plugin("map",function(b){var d=this,f=d.lang("map.");d.clickToolbar("map",function(){function j(){n=l[0].contentWindow;o=b.iframeDoc(l)}var e=['
                                                        ',f.address+' ','','','
                                                        '].join(""), e=d.createDialog({name:"map",width:600,title:d.lang("map"),body:e,yesBtn:{name:d.lang("yes"),click:function(){var b=n.map,e=b.getCenter().lat()+","+b.getCenter().lng(),f=b.getZoom(),b=b.getMapTypeId(),h="http://maps.googleapis.com/maps/api/staticmap";h+="?center="+encodeURIComponent(e);h+="&zoom="+encodeURIComponent(f);h+="&size=558x360";h+="&maptype="+encodeURIComponent(b);h+="&markers="+encodeURIComponent(e);h+="&language="+d.langType;h+="&sensor=false";d.exec("insertimage",h).hideDialog().focus()}}, beforeRemove:function(){m.remove();o&&o.write("");l.remove()}}).div,h=b('[name="address"]',e),m=b('[name="searchBtn"]',e),n,o;['\n\n',''; }) .replace(/]*data-ke-noscript-attr="([^"]*)"[^>]*>([\s\S]*?)<\/div>/ig, function(full, attr, code) { return '' + unescape(code) + ''; }) .replace(/(<[^>]*)data-ke-src="([^"]*)"([^>]*>)/ig, function(full, start, src, end) { full = full.replace(/(\s+(?:href|src)=")[^"]*(")/i, function($0, $1, $2) { return $1 + _unescape(src) + $2; }); full = full.replace(/\s+data-ke-src="[^"]*"/i, ''); return full; }) .replace(/(<[^>]+\s)data-ke-(on\w+="[^"]*"[^>]*>)/ig, function(full, start, end) { return start + end; }); }); self.beforeSetHtml(function(html) { if (_IE && _V <= 8) { html = html.replace(/]*>|<(select|button)[^>]*>[\s\S]*?<\/\1>/ig, function(full) { var attrs = _getAttrList(full); var styles = _getCssList(attrs.style || ''); if (styles.display == 'none') { return '
                                                        '; } return full; }); } return html.replace(/]*type="([^"]+)"[^>]*>(?:<\/embed>)?/ig, function(full) { var attrs = _getAttrList(full); attrs.src = _undef(attrs.src, ''); attrs.width = _undef(attrs.width, 0); attrs.height = _undef(attrs.height, 0); return _mediaImg(self.themesPath + 'common/blank.gif', attrs); }) .replace(/]*name="([^"]+)"[^>]*>(?:<\/a>)?/ig, function(full) { var attrs = _getAttrList(full); if (attrs.href !== undefined) { return full; } return ''; }) .replace(/]*)>([\s\S]*?)<\/script>/ig, function(full, attr, code) { return '
                                                        ' + escape(code) + '
                                                        '; }) .replace(/]*)>([\s\S]*?)<\/noscript>/ig, function(full, attr, code) { return '
                                                        ' + escape(code) + '
                                                        '; }) .replace(/(<[^>]*)(href|src)="([^"]*)"([^>]*>)/ig, function(full, start, key, src, end) { if (full.match(/\sdata-ke-src="[^"]*"/i)) { return full; } full = start + key + '="' + src + '"' + ' data-ke-src="' + _escape(src) + '"' + end; return full; }) .replace(/(<[^>]+\s)(on\w+="[^"]*"[^>]*>)/ig, function(full, start, end) { return start + 'data-ke-' + end; }) .replace(/]*\s+border="0"[^>]*>/ig, function(full) { if (full.indexOf('ke-zeroborder') >= 0) { return full; } return _addClassToTag(full, 'ke-zeroborder'); }); }); }); })(window); /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ KindEditor.lang({ source : 'HTML代码', preview : '预览', undo : '后退(Ctrl+Z)', redo : '前进(Ctrl+Y)', cut : '剪切(Ctrl+X)', copy : '复制(Ctrl+C)', paste : '粘贴(Ctrl+V)', plainpaste : '粘贴为无格式文本', wordpaste : '从Word粘贴', selectall : '全选(Ctrl+A)', justifyleft : '左对齐', justifycenter : '居中', justifyright : '右对齐', justifyfull : '两端对齐', insertorderedlist : '编号', insertunorderedlist : '项目符号', indent : '增加缩进', outdent : '减少缩进', subscript : '下标', superscript : '上标', formatblock : '段落', fontname : '字体', fontsize : '文字大小', forecolor : '文字颜色', hilitecolor : '文字背景', bold : '粗体(Ctrl+B)', italic : '斜体(Ctrl+I)', underline : '下划线(Ctrl+U)', strikethrough : '删除线', removeformat : '删除格式', image : '图片', multiimage : '批量图片上传', flash : 'Flash', media : '视音频', table : '表格', tablecell : '单元格', hr : '插入横线', emoticons : '插入表情', link : '超级链接', unlink : '取消超级链接', fullscreen : '全屏显示', about : '关于', print : '打印(Ctrl+P)', filemanager : '文件空间', code : '插入程序代码', map : 'Google地图', baidumap : '百度地图', lineheight : '行距', clearhtml : '清理HTML代码', pagebreak : '插入分页符', quickformat : '一键排版', insertfile : '插入文件', template : '插入模板', anchor : '锚点', yes : '确定', no : '取消', close : '关闭', editImage : '图片属性', deleteImage : '删除图片', editFlash : 'Flash属性', deleteFlash : '删除Flash', editMedia : '视音频属性', deleteMedia : '删除视音频', editLink : '超级链接属性', deleteLink : '取消超级链接', editAnchor : '锚点属性', deleteAnchor : '删除锚点', tableprop : '表格属性', tablecellprop : '单元格属性', tableinsert : '插入表格', tabledelete : '删除表格', tablecolinsertleft : '左侧插入列', tablecolinsertright : '右侧插入列', tablerowinsertabove : '上方插入行', tablerowinsertbelow : '下方插入行', tablerowmerge : '向下合并单元格', tablecolmerge : '向右合并单元格', tablerowsplit : '拆分行', tablecolsplit : '拆分列', tablecoldelete : '删除列', tablerowdelete : '删除行', noColor : '无颜色', pleaseSelectFile : '请选择文件。', invalidImg : "请输入有效的URL地址。\n只允许jpg,gif,bmp,png格式。", invalidMedia : "请输入有效的URL地址。\n只允许swf,flv,mp3,wav,wma,wmv,mid,avi,mpg,asf,rm,rmvb格式。", invalidWidth : "宽度必须为数字。", invalidHeight : "高度必须为数字。", invalidBorder : "边框必须为数字。", invalidUrl : "请输入有效的URL地址。", invalidRows : '行数为必选项,只允许输入大于0的数字。', invalidCols : '列数为必选项,只允许输入大于0的数字。', invalidPadding : '边距必须为数字。', invalidSpacing : '间距必须为数字。', invalidJson : '服务器发生故障。', uploadSuccess : '上传成功。', cutError : '您的浏览器安全设置不允许使用剪切操作,请使用快捷键(Ctrl+X)来完成。', copyError : '您的浏览器安全设置不允许使用复制操作,请使用快捷键(Ctrl+C)来完成。', pasteError : '您的浏览器安全设置不允许使用粘贴操作,请使用快捷键(Ctrl+V)来完成。', ajaxLoading : '加载中,请稍候 ...', uploadLoading : '上传中,请稍候 ...', uploadError : '上传错误', 'plainpaste.comment' : '请使用快捷键(Ctrl+V)把内容粘贴到下面的方框里。', 'wordpaste.comment' : '请使用快捷键(Ctrl+V)把内容粘贴到下面的方框里。', 'code.pleaseInput' : '请输入程序代码。', 'link.url' : 'URL', 'link.linkType' : '打开类型', 'link.newWindow' : '新窗口', 'link.selfWindow' : '当前窗口', 'flash.url' : 'URL', 'flash.width' : '宽度', 'flash.height' : '高度', 'flash.upload' : '上传', 'flash.viewServer' : '文件空间', 'media.url' : 'URL', 'media.width' : '宽度', 'media.height' : '高度', 'media.autostart' : '自动播放', 'media.upload' : '上传', 'media.viewServer' : '文件空间', 'image.remoteImage' : '网络图片', 'image.localImage' : '本地上传', 'image.remoteUrl' : '图片地址', 'image.localUrl' : '上传文件', 'image.size' : '图片大小', 'image.width' : '宽', 'image.height' : '高', 'image.resetSize' : '重置大小', 'image.align' : '对齐方式', 'image.defaultAlign' : '默认方式', 'image.leftAlign' : '左对齐', 'image.rightAlign' : '右对齐', 'image.imgTitle' : '图片说明', 'image.upload' : '浏览...', 'image.viewServer' : '图片空间', 'multiimage.uploadDesc' : '允许用户同时上传<%=uploadLimit%>张图片,单张图片容量不超过<%=sizeLimit%>', 'multiimage.startUpload' : '开始上传', 'multiimage.clearAll' : '全部清空', 'multiimage.insertAll' : '全部插入', 'multiimage.queueLimitExceeded' : '文件数量超过限制。', 'multiimage.fileExceedsSizeLimit' : '文件大小超过限制。', 'multiimage.zeroByteFile' : '无法上传空文件。', 'multiimage.invalidFiletype' : '文件类型不正确。', 'multiimage.unknownError' : '发生异常,无法上传。', 'multiimage.pending' : '等待上传', 'multiimage.uploadError' : '上传失败', 'filemanager.emptyFolder' : '空文件夹', 'filemanager.moveup' : '移到上一级文件夹', 'filemanager.viewType' : '显示方式:', 'filemanager.viewImage' : '缩略图', 'filemanager.listImage' : '详细信息', 'filemanager.orderType' : '排序方式:', 'filemanager.fileName' : '名称', 'filemanager.fileSize' : '大小', 'filemanager.fileType' : '类型', 'insertfile.url' : 'URL', 'insertfile.title' : '文件说明', 'insertfile.upload' : '上传', 'insertfile.viewServer' : '文件空间', 'table.cells' : '单元格数', 'table.rows' : '行数', 'table.cols' : '列数', 'table.size' : '大小', 'table.width' : '宽度', 'table.height' : '高度', 'table.percent' : '%', 'table.px' : 'px', 'table.space' : '边距间距', 'table.padding' : '边距', 'table.spacing' : '间距', 'table.align' : '对齐方式', 'table.textAlign' : '水平对齐', 'table.verticalAlign' : '垂直对齐', 'table.alignDefault' : '默认', 'table.alignLeft' : '左对齐', 'table.alignCenter' : '居中', 'table.alignRight' : '右对齐', 'table.alignTop' : '顶部', 'table.alignMiddle' : '中部', 'table.alignBottom' : '底部', 'table.alignBaseline' : '基线', 'table.border' : '边框', 'table.borderWidth' : '边框', 'table.borderColor' : '颜色', 'table.backgroundColor' : '背景颜色', 'map.address' : '地址: ', 'map.search' : '搜索', 'baidumap.address' : '地址: ', 'baidumap.search' : '搜索', 'baidumap.insertDynamicMap' : '插入动态地图', 'anchor.name' : '锚点名称', 'formatblock.formatBlock' : { h1 : '标题 1', h2 : '标题 2', h3 : '标题 3', h4 : '标题 4', p : '正 文' }, 'fontname.fontName' : { 'SimSun' : '宋体', 'NSimSun' : '新宋体', 'FangSong_GB2312' : '仿宋_GB2312', 'KaiTi_GB2312' : '楷体_GB2312', 'SimHei' : '黑体', 'Microsoft YaHei' : '微软雅黑', 'Arial' : 'Arial', 'Arial Black' : 'Arial Black', 'Times New Roman' : 'Times New Roman', 'Courier New' : 'Courier New', 'Tahoma' : 'Tahoma', 'Verdana' : 'Verdana' }, 'lineheight.lineHeight' : [ {'1' : '单倍行距'}, {'1.5' : '1.5倍行距'}, {'2' : '2倍行距'}, {'2.5' : '2.5倍行距'}, {'3' : '3倍行距'} ], 'template.selectTemplate' : '可选模板', 'template.replaceContent' : '替换当前内容', 'template.fileList' : { '1.html' : '图片和文字', '2.html' : '表格', '3.html' : '项目编号' } }, 'zh_CN'); /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ KindEditor.plugin('anchor', function(K) { var self = this, name = 'anchor', lang = self.lang(name + '.'); self.plugin.anchor = { edit : function() { var html = ['
                                                        ', '
                                                        ', '', '', '
                                                        ', '
                                                        '].join(''); var dialog = self.createDialog({ name : name, width : 300, title : self.lang(name), body : html, yesBtn : { name : self.lang('yes'), click : function(e) { self.insertHtml('').hideDialog().focus(); } } }); var div = dialog.div, nameBox = K('input[name="name"]', div); var img = self.plugin.getSelectedAnchor(); if (img) { nameBox.val(unescape(img.attr('data-ke-name'))); } nameBox[0].focus(); nameBox[0].select(); }, 'delete' : function() { self.plugin.getSelectedAnchor().remove(); } }; self.clickToolbar(name, self.plugin.anchor.edit); }); /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ KindEditor.plugin('autoheight', function(K) { var self = this; if (!self.autoHeightMode) { return; } var minHeight; function hideScroll() { var edit = self.edit; var body = edit.doc.body; edit.iframe[0].scroll = 'no'; body.style.overflowY = 'hidden'; } function resetHeight() { var edit = self.edit; var body = edit.doc.body; edit.iframe.height(minHeight); self.resize(null, Math.max((K.IE ? body.scrollHeight : body.offsetHeight) + 76, minHeight)); } function init() { minHeight = K.removeUnit(self.height); self.edit.afterChange(resetHeight); hideScroll(); resetHeight(); } if (self.isCreated) { init(); } else { self.afterCreate(init); } }); /* * 如何实现真正的自动高度? * 修改编辑器高度之后,再次获取body内容高度时,最小值只会是当前iframe的设置高度,这样就导致高度只增不减。 * 所以每次获取body内容高度之前,先将iframe的高度重置为最小高度,这样就能获取body的实际高度。 * 由此就实现了真正的自动高度 * 测试:chrome、firefox、IE9、IE8 * */ /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ // Baidu Maps: http://dev.baidu.com/wiki/map/index.php?title=%E9%A6%96%E9%A1%B5 KindEditor.plugin('baidumap', function(K) { var self = this, name = 'baidumap', lang = self.lang(name + '.'); var mapWidth = K.undef(self.mapWidth, 558); var mapHeight = K.undef(self.mapHeight, 360); self.clickToolbar(name, function() { var html = ['
                                                        ', '
                                                        ', // left start '
                                                        ', lang.address + ' ', '', '', '', '
                                                        ', // right start '
                                                        ', ' ', '
                                                        ', '
                                                        ', '
                                                        ', '
                                                        ', '
                                                        '].join(''); var dialog = self.createDialog({ name : name, width : mapWidth + 42, title : self.lang(name), body : html, yesBtn : { name : self.lang('yes'), click : function(e) { var map = win.map; var centerObj = map.getCenter(); var center = centerObj.lng + ',' + centerObj.lat; var zoom = map.getZoom(); var url = [checkbox[0].checked ? self.pluginsPath + 'baidumap/index.html' : 'http://api.map.baidu.com/staticimage', '?center=' + encodeURIComponent(center), '&zoom=' + encodeURIComponent(zoom), '&width=' + mapWidth, '&height=' + mapHeight, '&markers=' + encodeURIComponent(center), '&markerStyles=' + encodeURIComponent('l,A')].join(''); if (checkbox[0].checked) { self.insertHtml(''); } else { self.exec('insertimage', url); } self.hideDialog().focus(); } }, beforeRemove : function() { searchBtn.remove(); if (doc) { doc.write(''); } iframe.remove(); } }); var div = dialog.div, addressBox = K('[name="address"]', div), searchBtn = K('[name="searchBtn"]', div), checkbox = K('[name="insertDynamicMap"]', dialog.div), win, doc; var iframe = K(''); function ready() { win = iframe[0].contentWindow; doc = K.iframeDoc(iframe); } iframe.bind('load', function() { iframe.unbind('load'); if (K.IE) { ready(); } else { setTimeout(ready, 0); } }); K('.ke-map', div).replaceWith(iframe); // search map searchBtn.click(function() { win.search(addressBox.val()); }); }); }); /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ KindEditor.plugin('clearhtml', function(K) { var self = this, name = 'clearhtml'; self.clickToolbar(name, function() { self.focus(); var html = self.html(); html = html.replace(/(]*>)([\s\S]*?)(<\/script>)/ig, ''); html = html.replace(/(]*>)([\s\S]*?)(<\/style>)/ig, ''); html = K.formatHtml(html, { a : ['href', 'target'], embed : ['src', 'width', 'height', 'type', 'loop', 'autostart', 'quality', '.width', '.height', 'align', 'allowscriptaccess'], img : ['src', 'width', 'height', 'border', 'alt', 'title', '.width', '.height'], table : ['border'], 'td,th' : ['rowspan', 'colspan'], 'div,hr,br,tbody,tr,p,ol,ul,li,blockquote,h1,h2,h3,h4,h5,h6' : [] }); self.html(html); self.cmd.selection(true); self.addBookmark(); }); }); /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ // google code prettify: http://google-code-prettify.googlecode.com/ // http://google-code-prettify.googlecode.com/ KindEditor.plugin('code', function(K) { var self = this, name = 'code'; self.clickToolbar(name, function() { var lang = self.lang(name + '.'), html = ['
                                                        ', '
                                                        ', '', '
                                                        ', '', '
                                                        '].join(''), dialog = self.createDialog({ name : name, width : 450, title : self.lang(name), body : html, yesBtn : { name : self.lang('yes'), click : function(e) { var type = K('.ke-code-type', dialog.div).val(), code = textarea.val(), cls = type === '' ? '' : ' lang-' + type, html = '
                                                        \n' + K.escape(code) + '
                                                        '; if (K.trim(code) === '') { alert(lang.pleaseInput); textarea[0].focus(); return; } self.insertHtml(html).hideDialog().focus(); } } }), textarea = K('textarea', dialog.div); textarea[0].focus(); }); }); /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ KindEditor.plugin('emoticons', function(K) { var self = this, name = 'emoticons', path = (self.emoticonsPath || self.pluginsPath + 'emoticons/images/'), allowPreview = self.allowPreviewEmoticons === undefined ? true : self.allowPreviewEmoticons, currentPageNum = 1; self.clickToolbar(name, function() { var rows = 5, cols = 9, total = 135, startNum = 0, cells = rows * cols, pages = Math.ceil(total / cells), colsHalf = Math.floor(cols / 2), wrapperDiv = K('
                                                        '), elements = [], menu = self.createMenu({ name : name, beforeRemove : function() { removeEvent(); } }); menu.div.append(wrapperDiv); var previewDiv, previewImg; if (allowPreview) { previewDiv = K('
                                                        ').css('right', 0); previewImg = K(''); wrapperDiv.append(previewDiv); previewDiv.append(previewImg); } function bindCellEvent(cell, j, num) { if (previewDiv) { cell.mouseover(function() { if (j > colsHalf) { previewDiv.css('left', 0); previewDiv.css('right', ''); } else { previewDiv.css('left', ''); previewDiv.css('right', 0); } previewImg.attr('src', path + num + '.gif'); K(this).addClass('ke-on'); }); } else { cell.mouseover(function() { K(this).addClass('ke-on'); }); } cell.mouseout(function() { K(this).removeClass('ke-on'); }); cell.click(function(e) { self.insertHtml('').hideMenu().focus(); e.stop(); }); } function createEmoticonsTable(pageNum, parentDiv) { var table = document.createElement('table'); parentDiv.append(table); if (previewDiv) { K(table).mouseover(function() { previewDiv.show('block'); }); K(table).mouseout(function() { previewDiv.hide(); }); elements.push(K(table)); } table.className = 'ke-table'; table.cellPadding = 0; table.cellSpacing = 0; table.border = 0; var num = (pageNum - 1) * cells + startNum; for (var i = 0; i < rows; i++) { var row = table.insertRow(i); for (var j = 0; j < cols; j++) { var cell = K(row.insertCell(j)); cell.addClass('ke-cell'); bindCellEvent(cell, j, num); var span = K('') .css('background-position', '-' + (24 * num) + 'px 0px') .css('background-image', 'url(' + path + 'static.gif)'); cell.append(span); elements.push(cell); num++; } } return table; } var table = createEmoticonsTable(currentPageNum, wrapperDiv); function removeEvent() { K.each(elements, function() { this.unbind(); }); } var pageDiv; function bindPageEvent(el, pageNum) { el.click(function(e) { removeEvent(); table.parentNode.removeChild(table); pageDiv.remove(); table = createEmoticonsTable(pageNum, wrapperDiv); createPageTable(pageNum); currentPageNum = pageNum; e.stop(); }); } function createPageTable(currentPageNum) { pageDiv = K('
                                                        '); wrapperDiv.append(pageDiv); for (var pageNum = 1; pageNum <= pages; pageNum++) { if (currentPageNum !== pageNum) { var a = K('
                                                        [' + pageNum + ']'); bindPageEvent(a, pageNum); pageDiv.append(a); elements.push(a); } else { pageDiv.append(K('@[' + pageNum + ']')); } pageDiv.append(K('@ ')); } } createPageTable(currentPageNum); }); }); /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ KindEditor.plugin('filemanager', function(K) { var self = this, name = 'filemanager', fileManagerJson = K.undef(self.fileManagerJson, self.basePath + 'php/file_manager_json.php'), imgPath = self.pluginsPath + name + '/images/', lang = self.lang(name + '.'); function makeFileTitle(filename, filesize, datetime) { return filename + ' (' + Math.ceil(filesize / 1024) + 'KB, ' + datetime + ')'; } function bindTitle(el, data) { if (data.is_dir) { el.attr('title', data.filename); } else { el.attr('title', makeFileTitle(data.filename, data.filesize, data.datetime)); } } self.plugin.filemanagerDialog = function(options) { var width = K.undef(options.width, 650), height = K.undef(options.height, 510), dirName = K.undef(options.dirName, ''), viewType = K.undef(options.viewType, 'VIEW').toUpperCase(), // "LIST" or "VIEW" clickFn = options.clickFn; var html = [ '
                                                        ', // header start '
                                                        ', // left start '
                                                        ', ' ', '' + lang.moveup + '', '
                                                        ', // right start '
                                                        ', lang.viewType + ' ', lang.orderType + ' ', '
                                                        ', '
                                                        ', '
                                                        ', // body start '
                                                        ', '
                                                        ' ].join(''); var dialog = self.createDialog({ name : name, width : width, height : height, title : self.lang(name), body : html }), div = dialog.div, bodyDiv = K('.ke-plugin-filemanager-body', div), moveupImg = K('[name="moveupImg"]', div), moveupLink = K('[name="moveupLink"]', div), viewServerBtn = K('[name="viewServer"]', div), viewTypeBox = K('[name="viewType"]', div), orderTypeBox = K('[name="orderType"]', div); function reloadPage(path, order, func) { var param = 'path=' + path + '&order=' + order + '&dir=' + dirName; dialog.showLoading(self.lang('ajaxLoading')); K.ajax(K.addParam(fileManagerJson, param + '&' + new Date().getTime()), function(data) { dialog.hideLoading(); func(data); }); } var elList = []; function bindEvent(el, result, data, createFunc) { var fileUrl = K.formatUrl(result.current_url + data.filename, 'absolute'), dirPath = encodeURIComponent(result.current_dir_path + data.filename + '/'); if (data.is_dir) { el.click(function(e) { reloadPage(dirPath, orderTypeBox.val(), createFunc); }); } else if (data.is_photo) { el.click(function(e) { clickFn.call(this, fileUrl, data.filename); }); } else { el.click(function(e) { clickFn.call(this, fileUrl, data.filename); }); } elList.push(el); } function createCommon(result, createFunc) { // remove events K.each(elList, function() { this.unbind(); }); moveupLink.unbind(); viewTypeBox.unbind(); orderTypeBox.unbind(); // add events if (result.current_dir_path) { moveupLink.click(function(e) { reloadPage(result.moveup_dir_path, orderTypeBox.val(), createFunc); }); } function changeFunc() { if (viewTypeBox.val() == 'VIEW') { reloadPage(result.current_dir_path, orderTypeBox.val(), createView); } else { reloadPage(result.current_dir_path, orderTypeBox.val(), createList); } } viewTypeBox.change(changeFunc); orderTypeBox.change(changeFunc); bodyDiv.html(''); } function createList(result) { createCommon(result, createList); var table = document.createElement('table'); table.className = 'ke-table'; table.cellPadding = 0; table.cellSpacing = 0; table.border = 0; bodyDiv.append(table); var fileList = result.file_list; for (var i = 0, len = fileList.length; i < len; i++) { var data = fileList[i], row = K(table.insertRow(i)); row.mouseover(function(e) { K(this).addClass('ke-on'); }) .mouseout(function(e) { K(this).removeClass('ke-on'); }); var iconUrl = imgPath + (data.is_dir ? 'folder-16.gif' : 'file-16.gif'), img = K('' + data.filename + ''), cell0 = K(row[0].insertCell(0)).addClass('ke-cell ke-name').append(img).append(document.createTextNode(' ' + data.filename)); if (!data.is_dir || data.has_file) { row.css('cursor', 'pointer'); cell0.attr('title', data.filename); bindEvent(cell0, result, data, createList); } else { cell0.attr('title', lang.emptyFolder); } K(row[0].insertCell(1)).addClass('ke-cell ke-size').html(data.is_dir ? '-' : Math.ceil(data.filesize / 1024) + 'KB'); K(row[0].insertCell(2)).addClass('ke-cell ke-datetime').html(data.datetime); } } function createView(result) { createCommon(result, createView); var fileList = result.file_list; for (var i = 0, len = fileList.length; i < len; i++) { var data = fileList[i], div = K('
                                                        '); bodyDiv.append(div); var photoDiv = K('
                                                        ') .mouseover(function(e) { K(this).addClass('ke-on'); }) .mouseout(function(e) { K(this).removeClass('ke-on'); }); div.append(photoDiv); var fileUrl = result.current_url + data.filename, iconUrl = data.is_dir ? imgPath + 'folder-64.gif' : (data.is_photo ? fileUrl : imgPath + 'file-64.gif'); var img = K('' + data.filename + ''); if (!data.is_dir || data.has_file) { photoDiv.css('cursor', 'pointer'); bindTitle(photoDiv, data); bindEvent(photoDiv, result, data, createView); } else { photoDiv.attr('title', lang.emptyFolder); } photoDiv.append(img); div.append('
                                                        ' + data.filename + '
                                                        '); } } viewTypeBox.val(viewType); reloadPage('', orderTypeBox.val(), viewType == 'VIEW' ? createView : createList); return dialog; } }); /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ KindEditor.plugin('flash', function(K) { var self = this, name = 'flash', lang = self.lang(name + '.'), allowFlashUpload = K.undef(self.allowFlashUpload, true), allowFileManager = K.undef(self.allowFileManager, false), formatUploadUrl = K.undef(self.formatUploadUrl, true), extraParams = K.undef(self.extraFileUploadParams, {}), filePostName = K.undef(self.filePostName, 'imgFile'), uploadJson = K.undef(self.uploadJson, self.basePath + 'php/upload_json.php'); self.plugin.flash = { edit : function() { var html = [ '
                                                        ', //url '
                                                        ', '', '  ', '  ', '', '', '', '
                                                        ', //width '
                                                        ', '', ' ', '
                                                        ', //height '
                                                        ', '', ' ', '
                                                        ', '
                                                        ' ].join(''); var dialog = self.createDialog({ name : name, width : 450, title : self.lang(name), body : html, yesBtn : { name : self.lang('yes'), click : function(e) { var url = K.trim(urlBox.val()), width = widthBox.val(), height = heightBox.val(); if (url == 'http://' || K.invalidUrl(url)) { alert(self.lang('invalidUrl')); urlBox[0].focus(); return; } if (!/^\d*$/.test(width)) { alert(self.lang('invalidWidth')); widthBox[0].focus(); return; } if (!/^\d*$/.test(height)) { alert(self.lang('invalidHeight')); heightBox[0].focus(); return; } var html = K.mediaImg(self.themesPath + 'common/blank.gif', { src : url, type : K.mediaType('.swf'), width : width, height : height, quality : 'high' }); self.insertHtml(html).hideDialog().focus(); } } }), div = dialog.div, urlBox = K('[name="url"]', div), viewServerBtn = K('[name="viewServer"]', div), widthBox = K('[name="width"]', div), heightBox = K('[name="height"]', div); urlBox.val('http://'); if (allowFlashUpload) { var uploadbutton = K.uploadbutton({ button : K('.ke-upload-button', div)[0], fieldName : filePostName, extraParams : extraParams, url : K.addParam(uploadJson, 'dir=flash'), afterUpload : function(data) { dialog.hideLoading(); if (data.error === 0) { var url = data.url; if (formatUploadUrl) { url = K.formatUrl(url, 'absolute'); } urlBox.val(url); if (self.afterUpload) { self.afterUpload.call(self, url, data, name); } alert(self.lang('uploadSuccess')); } else { alert(data.message); } }, afterError : function(html) { dialog.hideLoading(); self.errorDialog(html); } }); uploadbutton.fileBox.change(function(e) { dialog.showLoading(self.lang('uploadLoading')); uploadbutton.submit(); }); } else { K('.ke-upload-button', div).hide(); } if (allowFileManager) { viewServerBtn.click(function(e) { self.loadPlugin('filemanager', function() { self.plugin.filemanagerDialog({ viewType : 'LIST', dirName : 'flash', clickFn : function(url, title) { if (self.dialogs.length > 1) { K('[name="url"]', div).val(url); if (self.afterSelectFile) { self.afterSelectFile.call(self, url); } self.hideDialog(); } } }); }); }); } else { viewServerBtn.hide(); } var img = self.plugin.getSelectedFlash(); if (img) { var attrs = K.mediaAttrs(img.attr('data-ke-tag')); urlBox.val(attrs.src); widthBox.val(K.removeUnit(img.css('width')) || attrs.width || 0); heightBox.val(K.removeUnit(img.css('height')) || attrs.height || 0); } urlBox[0].focus(); urlBox[0].select(); }, 'delete' : function() { self.plugin.getSelectedFlash().remove(); // [IE] 删除图片后立即点击图片按钮出错 self.addBookmark(); } }; self.clickToolbar(name, self.plugin.flash.edit); }); /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ KindEditor.plugin('image', function(K) { var self = this, name = 'image', allowImageUpload = K.undef(self.allowImageUpload, true), allowImageRemote = K.undef(self.allowImageRemote, true), formatUploadUrl = K.undef(self.formatUploadUrl, true), allowFileManager = K.undef(self.allowFileManager, false), uploadJson = K.undef(self.uploadJson, self.basePath + 'php/upload_json.php'), imageTabIndex = K.undef(self.imageTabIndex, 0), imgPath = self.pluginsPath + 'image/images/', extraParams = K.undef(self.extraFileUploadParams, {}), filePostName = K.undef(self.filePostName, 'imgFile'), fillDescAfterUploadImage = K.undef(self.fillDescAfterUploadImage, false), lang = self.lang(name + '.'); self.plugin.imageDialog = function(options) { var imageUrl = options.imageUrl, imageWidth = K.undef(options.imageWidth, ''), imageHeight = K.undef(options.imageHeight, ''), imageTitle = K.undef(options.imageTitle, ''), imageAlign = K.undef(options.imageAlign, ''), showRemote = K.undef(options.showRemote, true), showLocal = K.undef(options.showLocal, true), tabIndex = K.undef(options.tabIndex, 0), clickFn = options.clickFn; var target = 'kindeditor_upload_iframe_' + new Date().getTime(); var hiddenElements = []; for(var k in extraParams){ hiddenElements.push(''); } var html = [ '
                                                        ', //tabs '
                                                        ', //remote image - start '', //remote image - end //local upload - start '', //local upload - end '
                                                        ' ].join(''); var dialogWidth = showLocal || allowFileManager ? 450 : 400, dialogHeight = showLocal && showRemote ? 300 : 250; var dialog = self.createDialog({ name : name, width : dialogWidth, height : dialogHeight, title : self.lang(name), body : html, yesBtn : { name : self.lang('yes'), click : function(e) { // Bugfix: http://code.google.com/p/kindeditor/issues/detail?id=319 if (dialog.isLoading) { return; } // insert local image if (showLocal && showRemote && tabs && tabs.selectedIndex === 1 || !showRemote) { if (uploadbutton.fileBox.val() == '') { alert(self.lang('pleaseSelectFile')); return; } dialog.showLoading(self.lang('uploadLoading')); uploadbutton.submit(); localUrlBox.val(''); return; } // insert remote image var url = K.trim(urlBox.val()), width = widthBox.val(), height = heightBox.val(), title = titleBox.val(), align = ''; alignBox.each(function() { if (this.checked) { align = this.value; return false; } }); if (url == 'http://' || K.invalidUrl(url)) { alert(self.lang('invalidUrl')); urlBox[0].focus(); return; } if (!/^\d*$/.test(width)) { alert(self.lang('invalidWidth')); widthBox[0].focus(); return; } if (!/^\d*$/.test(height)) { alert(self.lang('invalidHeight')); heightBox[0].focus(); return; } clickFn.call(self, url, title, width, height, 0, align); } }, beforeRemove : function() { viewServerBtn.unbind(); widthBox.unbind(); heightBox.unbind(); refreshBtn.unbind(); } }), div = dialog.div; var urlBox = K('[name="url"]', div), localUrlBox = K('[name="localUrl"]', div), viewServerBtn = K('[name="viewServer"]', div), widthBox = K('.tab1 [name="width"]', div), heightBox = K('.tab1 [name="height"]', div), refreshBtn = K('.ke-refresh-btn', div), titleBox = K('.tab1 [name="title"]', div), alignBox = K('.tab1 [name="align"]', div); var tabs; if (showRemote && showLocal) { tabs = K.tabs({ src : K('.tabs', div), afterSelect : function(i) {} }); tabs.add({ title : lang.remoteImage, panel : K('.tab1', div) }); tabs.add({ title : lang.localImage, panel : K('.tab2', div) }); tabs.select(tabIndex); } else if (showRemote) { K('.tab1', div).show(); } else if (showLocal) { K('.tab2', div).show(); } var uploadbutton = K.uploadbutton({ button : K('.ke-upload-button', div)[0], fieldName : filePostName, form : K('.ke-form', div), target : target, width: 60, afterUpload : function(data) { dialog.hideLoading(); if (data.error === 0) { var url = data.url; if (formatUploadUrl) { url = K.formatUrl(url, 'absolute'); } if (self.afterUpload) { self.afterUpload.call(self, url, data, name); } if (!fillDescAfterUploadImage) { clickFn.call(self, url, data.title, data.width, data.height, data.border, data.align); } else { K(".ke-dialog-row #remoteUrl", div).val(url); K(".ke-tabs-li", div)[0].click(); K(".ke-refresh-btn", div).click(); } } else { alert(data.message); } }, afterError : function(html) { dialog.hideLoading(); self.errorDialog(html); } }); uploadbutton.fileBox.change(function(e) { localUrlBox.val(uploadbutton.fileBox.val()); }); if (allowFileManager) { viewServerBtn.click(function(e) { self.loadPlugin('filemanager', function() { self.plugin.filemanagerDialog({ viewType : 'VIEW', dirName : 'image', clickFn : function(url, title) { if (self.dialogs.length > 1) { K('[name="url"]', div).val(url); if (self.afterSelectFile) { self.afterSelectFile.call(self, url); } self.hideDialog(); } } }); }); }); } else { viewServerBtn.hide(); } var originalWidth = 0, originalHeight = 0; function setSize(width, height) { widthBox.val(width); heightBox.val(height); originalWidth = width; originalHeight = height; } refreshBtn.click(function(e) { var tempImg = K('', document).css({ position : 'absolute', visibility : 'hidden', top : 0, left : '-1000px' }); tempImg.bind('load', function() { setSize(tempImg.width(), tempImg.height()); tempImg.remove(); }); K(document.body).append(tempImg); }); widthBox.change(function(e) { if (originalWidth > 0) { heightBox.val(Math.round(originalHeight / originalWidth * parseInt(this.value, 10))); } }); heightBox.change(function(e) { if (originalHeight > 0) { widthBox.val(Math.round(originalWidth / originalHeight * parseInt(this.value, 10))); } }); urlBox.val(options.imageUrl); setSize(options.imageWidth, options.imageHeight); titleBox.val(options.imageTitle); alignBox.each(function() { if (this.value === options.imageAlign) { this.checked = true; return false; } }); if (showRemote && tabIndex === 0) { urlBox[0].focus(); urlBox[0].select(); } return dialog; }; self.plugin.image = { edit : function() { var img = self.plugin.getSelectedImage(); self.plugin.imageDialog({ imageUrl : img ? img.attr('data-ke-src') : 'http://', imageWidth : img ? img.width() : '', imageHeight : img ? img.height() : '', imageTitle : img ? img.attr('title') : '', imageAlign : img ? img.attr('align') : '', showRemote : allowImageRemote, showLocal : allowImageUpload, tabIndex: img ? 0 : imageTabIndex, clickFn : function(url, title, width, height, border, align) { if (img) { img.attr('src', url); img.attr('data-ke-src', url); img.attr('width', width); img.attr('height', height); img.attr('title', title); img.attr('align', align); img.attr('alt', title); } else { self.exec('insertimage', url, title, width, height, border, align); } // Bugfix: [Firefox] 上传图片后,总是出现正在加载的样式,需要延迟执行hideDialog setTimeout(function() { self.hideDialog().focus(); }, 0); } }); }, 'delete' : function() { var target = self.plugin.getSelectedImage(); if (target.parent().name == 'a') { target = target.parent(); } target.remove(); // [IE] 删除图片后立即点击图片按钮出错 self.addBookmark(); } }; self.clickToolbar(name, self.plugin.image.edit); }); /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ KindEditor.plugin('insertfile', function(K) { var self = this, name = 'insertfile', allowFileUpload = K.undef(self.allowFileUpload, true), allowFileManager = K.undef(self.allowFileManager, false), formatUploadUrl = K.undef(self.formatUploadUrl, true), uploadJson = K.undef(self.uploadJson, self.basePath + 'php/upload_json.php'), extraParams = K.undef(self.extraFileUploadParams, {}), filePostName = K.undef(self.filePostName, 'imgFile'), lang = self.lang(name + '.'); self.plugin.fileDialog = function(options) { var fileUrl = K.undef(options.fileUrl, 'http://'), fileTitle = K.undef(options.fileTitle, ''), clickFn = options.clickFn; var html = [ '
                                                        ', '
                                                        ', '', '  ', '  ', '', '', '', '
                                                        ', //title '
                                                        ', '', '
                                                        ', '
                                                        ', //form end '', '' ].join(''); var dialog = self.createDialog({ name : name, width : 450, title : self.lang(name), body : html, yesBtn : { name : self.lang('yes'), click : function(e) { var url = K.trim(urlBox.val()), title = titleBox.val(); if (url == 'http://' || K.invalidUrl(url)) { alert(self.lang('invalidUrl')); urlBox[0].focus(); return; } if (K.trim(title) === '') { title = url; } clickFn.call(self, url, title); } } }), div = dialog.div; var urlBox = K('[name="url"]', div), viewServerBtn = K('[name="viewServer"]', div), titleBox = K('[name="title"]', div); if (allowFileUpload) { var uploadbutton = K.uploadbutton({ button : K('.ke-upload-button', div)[0], fieldName : filePostName, url : K.addParam(uploadJson, 'dir=file'), extraParams : extraParams, afterUpload : function(data) { dialog.hideLoading(); if (data.error === 0) { var url = data.url; if (formatUploadUrl) { url = K.formatUrl(url, 'absolute'); } urlBox.val(url); if (self.afterUpload) { self.afterUpload.call(self, url, data, name); } alert(self.lang('uploadSuccess')); } else { alert(data.message); } }, afterError : function(html) { dialog.hideLoading(); self.errorDialog(html); } }); uploadbutton.fileBox.change(function(e) { dialog.showLoading(self.lang('uploadLoading')); uploadbutton.submit(); }); } else { K('.ke-upload-button', div).hide(); } if (allowFileManager) { viewServerBtn.click(function(e) { self.loadPlugin('filemanager', function() { self.plugin.filemanagerDialog({ viewType : 'LIST', dirName : 'file', clickFn : function(url, title) { if (self.dialogs.length > 1) { K('[name="url"]', div).val(url); if (self.afterSelectFile) { self.afterSelectFile.call(self, url); } self.hideDialog(); } } }); }); }); } else { viewServerBtn.hide(); } urlBox.val(fileUrl); titleBox.val(fileTitle); urlBox[0].focus(); urlBox[0].select(); }; self.clickToolbar(name, function() { self.plugin.fileDialog({ clickFn : function(url, title) { var html = '' + title + ''; self.insertHtml(html).hideDialog().focus(); } }); }); }); /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ KindEditor.plugin('lineheight', function(K) { var self = this, name = 'lineheight', lang = self.lang(name + '.'); self.clickToolbar(name, function() { var curVal = '', commonNode = self.cmd.commonNode({'*' : '.line-height'}); if (commonNode) { curVal = commonNode.css('line-height'); } var menu = self.createMenu({ name : name, width : 150 }); K.each(lang.lineHeight, function(i, row) { K.each(row, function(key, val) { menu.addItem({ title : val, checked : curVal === key, click : function() { self.cmd.toggle('', { span : '.line-height=' + key }); self.updateState(); self.addBookmark(); self.hideMenu(); } }); }); }); }); }); /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ KindEditor.plugin('link', function(K) { var self = this, name = 'link'; self.plugin.link = { edit : function() { var lang = self.lang(name + '.'), html = '
                                                        ' + //url '
                                                        ' + '' + '
                                                        ' + //type '
                                                        ' + '' + '' + '
                                                        ' + '
                                                        ', dialog = self.createDialog({ name : name, width : 450, title : self.lang(name), body : html, yesBtn : { name : self.lang('yes'), click : function(e) { var url = K.trim(urlBox.val()); if (url == 'http://' || K.invalidUrl(url)) { alert(self.lang('invalidUrl')); urlBox[0].focus(); return; } self.exec('createlink', url, typeBox.val()).hideDialog().focus(); } } }), div = dialog.div, urlBox = K('input[name="url"]', div), typeBox = K('select[name="type"]', div); urlBox.val('http://'); typeBox[0].options[0] = new Option(lang.newWindow, '_blank'); typeBox[0].options[1] = new Option(lang.selfWindow, ''); self.cmd.selection(); var a = self.plugin.getSelectedLink(); if (a) { self.cmd.range.selectNode(a[0]); self.cmd.select(); urlBox.val(a.attr('data-ke-src')); typeBox.val(a.attr('target')); } urlBox[0].focus(); urlBox[0].select(); }, 'delete' : function() { self.exec('unlink', null); } }; self.clickToolbar(name, self.plugin.link.edit); }); /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ // Google Maps: http://code.google.com/apis/maps/index.html KindEditor.plugin('map', function(K) { var self = this, name = 'map', lang = self.lang(name + '.'); self.clickToolbar(name, function() { var html = ['
                                                        ', '
                                                        ', lang.address + ' ', '', '', '', '
                                                        ', '
                                                        ', '
                                                        '].join(''); var dialog = self.createDialog({ name : name, width : 600, title : self.lang(name), body : html, yesBtn : { name : self.lang('yes'), click : function(e) { var geocoder = win.geocoder, map = win.map, center = map.getCenter().lat() + ',' + map.getCenter().lng(), zoom = map.getZoom(), maptype = map.getMapTypeId(), url = 'http://maps.googleapis.com/maps/api/staticmap'; url += '?center=' + encodeURIComponent(center); url += '&zoom=' + encodeURIComponent(zoom); url += '&size=558x360'; url += '&maptype=' + encodeURIComponent(maptype); url += '&markers=' + encodeURIComponent(center); url += '&language=' + self.langType; url += '&sensor=false'; self.exec('insertimage', url).hideDialog().focus(); } }, beforeRemove : function() { searchBtn.remove(); if (doc) { doc.write(''); } iframe.remove(); } }); var div = dialog.div, addressBox = K('[name="address"]', div), searchBtn = K('[name="searchBtn"]', div), win, doc; var iframeHtml = ['', '', '', '', '', '', '', '
                                                        ', ''].join('\n'); // TODO:用doc.write(iframeHtml)方式加载时,在IE6上第一次加载报错,暂时使用src方式 var iframe = K(''); function ready() { win = iframe[0].contentWindow; doc = K.iframeDoc(iframe); //doc.open(); //doc.write(iframeHtml); //doc.close(); } iframe.bind('load', function() { iframe.unbind('load'); if (K.IE) { ready(); } else { setTimeout(ready, 0); } }); K('.ke-map', div).replaceWith(iframe); // search map searchBtn.click(function() { win.search(addressBox.val()); }); }); }); /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ KindEditor.plugin('media', function(K) { var self = this, name = 'media', lang = self.lang(name + '.'), allowMediaUpload = K.undef(self.allowMediaUpload, true), allowFileManager = K.undef(self.allowFileManager, false), formatUploadUrl = K.undef(self.formatUploadUrl, true), extraParams = K.undef(self.extraFileUploadParams, {}), filePostName = K.undef(self.filePostName, 'imgFile'), uploadJson = K.undef(self.uploadJson, self.basePath + 'php/upload_json.php'); self.plugin.media = { edit : function() { var html = [ '
                                                        ', //url '
                                                        ', '', '  ', '  ', '', '', '', '
                                                        ', //width '
                                                        ', '', '', '
                                                        ', //height '
                                                        ', '', '', '
                                                        ', //autostart '
                                                        ', '', ' ', '
                                                        ', '
                                                        ' ].join(''); var dialog = self.createDialog({ name : name, width : 450, height : 230, title : self.lang(name), body : html, yesBtn : { name : self.lang('yes'), click : function(e) { var url = K.trim(urlBox.val()), width = widthBox.val(), height = heightBox.val(); if (url == 'http://' || K.invalidUrl(url)) { alert(self.lang('invalidUrl')); urlBox[0].focus(); return; } if (!/^\d*$/.test(width)) { alert(self.lang('invalidWidth')); widthBox[0].focus(); return; } if (!/^\d*$/.test(height)) { alert(self.lang('invalidHeight')); heightBox[0].focus(); return; } var html = K.mediaImg(self.themesPath + 'common/blank.gif', { src : url, type : K.mediaType(url), width : width, height : height, autostart : autostartBox[0].checked ? 'true' : 'false', loop : 'true' }); self.insertHtml(html).hideDialog().focus(); } } }), div = dialog.div, urlBox = K('[name="url"]', div), viewServerBtn = K('[name="viewServer"]', div), widthBox = K('[name="width"]', div), heightBox = K('[name="height"]', div), autostartBox = K('[name="autostart"]', div); urlBox.val('http://'); if (allowMediaUpload) { var uploadbutton = K.uploadbutton({ button : K('.ke-upload-button', div)[0], fieldName : filePostName, extraParams : extraParams, url : K.addParam(uploadJson, 'dir=media'), afterUpload : function(data) { dialog.hideLoading(); if (data.error === 0) { var url = data.url; if (formatUploadUrl) { url = K.formatUrl(url, 'absolute'); } urlBox.val(url); if (self.afterUpload) { self.afterUpload.call(self, url, data, name); } alert(self.lang('uploadSuccess')); } else { alert(data.message); } }, afterError : function(html) { dialog.hideLoading(); self.errorDialog(html); } }); uploadbutton.fileBox.change(function(e) { dialog.showLoading(self.lang('uploadLoading')); uploadbutton.submit(); }); } else { K('.ke-upload-button', div).hide(); } if (allowFileManager) { viewServerBtn.click(function(e) { self.loadPlugin('filemanager', function() { self.plugin.filemanagerDialog({ viewType : 'LIST', dirName : 'media', clickFn : function(url, title) { if (self.dialogs.length > 1) { K('[name="url"]', div).val(url); if (self.afterSelectFile) { self.afterSelectFile.call(self, url); } self.hideDialog(); } } }); }); }); } else { viewServerBtn.hide(); } var img = self.plugin.getSelectedMedia(); if (img) { var attrs = K.mediaAttrs(img.attr('data-ke-tag')); urlBox.val(attrs.src); widthBox.val(K.removeUnit(img.css('width')) || attrs.width || 0); heightBox.val(K.removeUnit(img.css('height')) || attrs.height || 0); autostartBox[0].checked = (attrs.autostart === 'true'); } urlBox[0].focus(); urlBox[0].select(); }, 'delete' : function() { self.plugin.getSelectedMedia().remove(); // [IE] 删除图片后立即点击图片按钮出错 self.addBookmark(); } }; self.clickToolbar(name, self.plugin.media.edit); }); /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ (function(K) { function KSWFUpload(options) { this.init(options); } K.extend(KSWFUpload, { init : function(options) { var self = this; options.afterError = options.afterError || function(str) { alert(str); }; self.options = options; self.progressbars = {}; // template self.div = K(options.container).html([ '
                                                        ', '
                                                        ', '
                                                        ', '', '
                                                        ', '
                                                        ' + options.uploadDesc + '
                                                        ', '', '', '', '
                                                        ', '
                                                        ', '
                                                        ' ].join('')); self.bodyDiv = K('.ke-swfupload-body', self.div); function showError(itemDiv, msg) { K('.ke-status > div', itemDiv).hide(); K('.ke-message', itemDiv).addClass('ke-error').show().html(K.escape(msg)); } var settings = { debug : false, upload_url : options.uploadUrl, flash_url : options.flashUrl, file_post_name : options.filePostName, button_placeholder : K('.ke-swfupload-button > input', self.div)[0], button_image_url: options.buttonImageUrl, button_width: options.buttonWidth, button_height: options.buttonHeight, button_cursor : SWFUpload.CURSOR.HAND, file_types : options.fileTypes, file_types_description : options.fileTypesDesc, file_upload_limit : options.fileUploadLimit, file_size_limit : options.fileSizeLimit, post_params : options.postParams, file_queued_handler : function(file) { file.url = self.options.fileIconUrl; self.appendFile(file); }, file_queue_error_handler : function(file, errorCode, message) { var errorName = ''; switch (errorCode) { case SWFUpload.QUEUE_ERROR.QUEUE_LIMIT_EXCEEDED: errorName = options.queueLimitExceeded; break; case SWFUpload.QUEUE_ERROR.FILE_EXCEEDS_SIZE_LIMIT: errorName = options.fileExceedsSizeLimit; break; case SWFUpload.QUEUE_ERROR.ZERO_BYTE_FILE: errorName = options.zeroByteFile; break; case SWFUpload.QUEUE_ERROR.INVALID_FILETYPE: errorName = options.invalidFiletype; break; default: errorName = options.unknownError; break; } K.DEBUG && alert(errorName); }, upload_start_handler : function(file) { var self = this; var itemDiv = K('div[data-id="' + file.id + '"]', self.bodyDiv); K('.ke-status > div', itemDiv).hide(); K('.ke-progressbar', itemDiv).show(); }, upload_progress_handler : function(file, bytesLoaded, bytesTotal) { var percent = Math.round(bytesLoaded * 100 / bytesTotal); var progressbar = self.progressbars[file.id]; progressbar.bar.css('width', Math.round(percent * 80 / 100) + 'px'); progressbar.percent.html(percent + '%'); }, upload_error_handler : function(file, errorCode, message) { if (file && file.filestatus == SWFUpload.FILE_STATUS.ERROR) { var itemDiv = K('div[data-id="' + file.id + '"]', self.bodyDiv).eq(0); showError(itemDiv, self.options.errorMessage); } }, upload_success_handler : function(file, serverData) { var itemDiv = K('div[data-id="' + file.id + '"]', self.bodyDiv).eq(0); var data = {}; try { data = K.json(serverData); } catch (e) { self.options.afterError.call(this, '' + serverData + ''); } if (data.error !== 0) { showError(itemDiv, K.DEBUG ? data.message : self.options.errorMessage); return; } file.url = data.url; K('.ke-img', itemDiv).attr('src', file.url).attr('data-status', file.filestatus).data('data', data); K('.ke-status > div', itemDiv).hide(); } }; self.swfu = new SWFUpload(settings); K('.ke-swfupload-startupload input', self.div).click(function() { self.swfu.startUpload(); }); }, getUrlList : function() { var list = []; K('.ke-img', self.bodyDiv).each(function() { var img = K(this); var status = img.attr('data-status'); if (status == SWFUpload.FILE_STATUS.COMPLETE) { list.push(img.data('data')); } }); return list; }, removeFile : function(fileId) { var self = this; self.swfu.cancelUpload(fileId); var itemDiv = K('div[data-id="' + fileId + '"]', self.bodyDiv); K('.ke-photo', itemDiv).unbind(); K('.ke-delete', itemDiv).unbind(); itemDiv.remove(); }, removeFiles : function() { var self = this; K('.ke-item', self.bodyDiv).each(function() { self.removeFile(K(this).attr('data-id')); }); }, appendFile : function(file) { var self = this; var itemDiv = K('
                                                        '); self.bodyDiv.append(itemDiv); var photoDiv = K('
                                                        ') .mouseover(function(e) { K(this).addClass('ke-on'); }) .mouseout(function(e) { K(this).removeClass('ke-on'); }); itemDiv.append(photoDiv); var img = K('' + file.name + ''); photoDiv.append(img); K('').appendTo(photoDiv).click(function() { self.removeFile(file.id); }); var statusDiv = K('
                                                        ').appendTo(photoDiv); // progressbar K(['
                                                        ', '
                                                        ', '
                                                        0%
                                                        '].join('')).hide().appendTo(statusDiv); // message K('
                                                        ' + self.options.pendingMessage + '
                                                        ').appendTo(statusDiv); itemDiv.append('
                                                        ' + file.name + '
                                                        '); self.progressbars[file.id] = { bar : K('.ke-progressbar-bar-inner', photoDiv), percent : K('.ke-progressbar-percent', photoDiv) }; }, remove : function() { this.removeFiles(); this.swfu.destroy(); this.div.html(''); } }); K.swfupload = function(element, options) { return new KSWFUpload(element, options); }; })(KindEditor); KindEditor.plugin('multiimage', function(K) { var self = this, name = 'multiimage', formatUploadUrl = K.undef(self.formatUploadUrl, true), uploadJson = K.undef(self.uploadJson, self.basePath + 'php/upload_json.php'), imgPath = self.pluginsPath + 'multiimage/images/', imageSizeLimit = K.undef(self.imageSizeLimit, '1MB'), imageFileTypes = K.undef(self.imageFileTypes, '*.jpg;*.gif;*.png'), imageUploadLimit = K.undef(self.imageUploadLimit, 20), filePostName = K.undef(self.filePostName, 'imgFile'), lang = self.lang(name + '.'); self.plugin.multiImageDialog = function(options) { var clickFn = options.clickFn, uploadDesc = K.tmpl(lang.uploadDesc, {uploadLimit : imageUploadLimit, sizeLimit : imageSizeLimit}); var html = [ '
                                                        ', '
                                                        ', '
                                                        ', '
                                                        ' ].join(''); var dialog = self.createDialog({ name : name, width : 650, height : 510, title : self.lang(name), body : html, previewBtn : { name : lang.insertAll, click : function(e) { clickFn.call(self, swfupload.getUrlList()); } }, yesBtn : { name : lang.clearAll, click : function(e) { swfupload.removeFiles(); } }, beforeRemove : function() { // IE9 bugfix: https://github.com/kindsoft/kindeditor/issues/72 if (!K.IE || K.V <= 8) { swfupload.remove(); } } }), div = dialog.div; var swfupload = K.swfupload({ container : K('.swfupload', div), buttonImageUrl : imgPath + (self.langType == 'zh_CN' ? 'select-files-zh_CN.png' : 'select-files-en.png'), buttonWidth : self.langType == 'zh_CN' ? 72 : 88, buttonHeight : 23, fileIconUrl : imgPath + 'image.png', uploadDesc : uploadDesc, startButtonValue : lang.startUpload, uploadUrl : K.addParam(uploadJson, 'dir=image'), flashUrl : imgPath + 'swfupload.swf', filePostName : filePostName, fileTypes : '*.jpg;*.jpeg;*.gif;*.png;*.bmp', fileTypesDesc : 'Image Files', fileUploadLimit : imageUploadLimit, fileSizeLimit : imageSizeLimit, postParams : K.undef(self.extraFileUploadParams, {}), queueLimitExceeded : lang.queueLimitExceeded, fileExceedsSizeLimit : lang.fileExceedsSizeLimit, zeroByteFile : lang.zeroByteFile, invalidFiletype : lang.invalidFiletype, unknownError : lang.unknownError, pendingMessage : lang.pending, errorMessage : lang.uploadError, afterError : function(html) { self.errorDialog(html); } }); return dialog; }; self.clickToolbar(name, function() { self.plugin.multiImageDialog({ clickFn : function (urlList) { if (urlList.length === 0) { return; } K.each(urlList, function(i, data) { if (self.afterUpload) { self.afterUpload.call(self, data.url, data, 'multiimage'); } self.exec('insertimage', data.url, data.title, data.width, data.height, data.border, data.align); }); // Bugfix: [Firefox] 上传图片后,总是出现正在加载的样式,需要延迟执行hideDialog setTimeout(function() { self.hideDialog().focus(); }, 0); } }); }); }); /** * SWFUpload: http://www.swfupload.org, http://swfupload.googlecode.com * * mmSWFUpload 1.0: Flash upload dialog - http://profandesign.se/swfupload/, http://www.vinterwebb.se/ * * SWFUpload is (c) 2006-2007 Lars Huring, Olov Nilz閚 and Mammon Media and is released under the MIT License: * http://www.opensource.org/licenses/mit-license.php * * SWFUpload 2 is (c) 2007-2008 Jake Roberts and is released under the MIT License: * http://www.opensource.org/licenses/mit-license.php * */ /* ******************* */ /* Constructor & Init */ /* ******************* */ (function() { window.SWFUpload = function (settings) { this.initSWFUpload(settings); }; SWFUpload.prototype.initSWFUpload = function (settings) { try { this.customSettings = {}; // A container where developers can place their own settings associated with this instance. this.settings = settings; this.eventQueue = []; this.movieName = "KindEditor_SWFUpload_" + SWFUpload.movieCount++; this.movieElement = null; // Setup global control tracking SWFUpload.instances[this.movieName] = this; // Load the settings. Load the Flash movie. this.initSettings(); this.loadFlash(); this.displayDebugInfo(); } catch (ex) { delete SWFUpload.instances[this.movieName]; throw ex; } }; /* *************** */ /* Static Members */ /* *************** */ SWFUpload.instances = {}; SWFUpload.movieCount = 0; SWFUpload.version = "2.2.0 2009-03-25"; SWFUpload.QUEUE_ERROR = { QUEUE_LIMIT_EXCEEDED : -100, FILE_EXCEEDS_SIZE_LIMIT : -110, ZERO_BYTE_FILE : -120, INVALID_FILETYPE : -130 }; SWFUpload.UPLOAD_ERROR = { HTTP_ERROR : -200, MISSING_UPLOAD_URL : -210, IO_ERROR : -220, SECURITY_ERROR : -230, UPLOAD_LIMIT_EXCEEDED : -240, UPLOAD_FAILED : -250, SPECIFIED_FILE_ID_NOT_FOUND : -260, FILE_VALIDATION_FAILED : -270, FILE_CANCELLED : -280, UPLOAD_STOPPED : -290 }; SWFUpload.FILE_STATUS = { QUEUED : -1, IN_PROGRESS : -2, ERROR : -3, COMPLETE : -4, CANCELLED : -5 }; SWFUpload.BUTTON_ACTION = { SELECT_FILE : -100, SELECT_FILES : -110, START_UPLOAD : -120 }; SWFUpload.CURSOR = { ARROW : -1, HAND : -2 }; SWFUpload.WINDOW_MODE = { WINDOW : "window", TRANSPARENT : "transparent", OPAQUE : "opaque" }; // Private: takes a URL, determines if it is relative and converts to an absolute URL // using the current site. Only processes the URL if it can, otherwise returns the URL untouched SWFUpload.completeURL = function(url) { if (typeof(url) !== "string" || url.match(/^https?:\/\//i) || url.match(/^\//)) { return url; } var currentURL = window.location.protocol + "//" + window.location.hostname + (window.location.port ? ":" + window.location.port : ""); var indexSlash = window.location.pathname.lastIndexOf("/"); if (indexSlash <= 0) { path = "/"; } else { path = window.location.pathname.substr(0, indexSlash) + "/"; } return /*currentURL +*/ path + url; }; /* ******************** */ /* Instance Members */ /* ******************** */ // Private: initSettings ensures that all the // settings are set, getting a default value if one was not assigned. SWFUpload.prototype.initSettings = function () { this.ensureDefault = function (settingName, defaultValue) { this.settings[settingName] = (this.settings[settingName] == undefined) ? defaultValue : this.settings[settingName]; }; // Upload backend settings this.ensureDefault("upload_url", ""); this.ensureDefault("preserve_relative_urls", false); this.ensureDefault("file_post_name", "Filedata"); this.ensureDefault("post_params", {}); this.ensureDefault("use_query_string", false); this.ensureDefault("requeue_on_error", false); this.ensureDefault("http_success", []); this.ensureDefault("assume_success_timeout", 0); // File Settings this.ensureDefault("file_types", "*.*"); this.ensureDefault("file_types_description", "All Files"); this.ensureDefault("file_size_limit", 0); // Default zero means "unlimited" this.ensureDefault("file_upload_limit", 0); this.ensureDefault("file_queue_limit", 0); // Flash Settings this.ensureDefault("flash_url", "swfupload.swf"); this.ensureDefault("prevent_swf_caching", true); // Button Settings this.ensureDefault("button_image_url", ""); this.ensureDefault("button_width", 1); this.ensureDefault("button_height", 1); this.ensureDefault("button_text", ""); this.ensureDefault("button_text_style", "color: #000000; font-size: 16pt;"); this.ensureDefault("button_text_top_padding", 0); this.ensureDefault("button_text_left_padding", 0); this.ensureDefault("button_action", SWFUpload.BUTTON_ACTION.SELECT_FILES); this.ensureDefault("button_disabled", false); this.ensureDefault("button_placeholder_id", ""); this.ensureDefault("button_placeholder", null); this.ensureDefault("button_cursor", SWFUpload.CURSOR.ARROW); this.ensureDefault("button_window_mode", SWFUpload.WINDOW_MODE.WINDOW); // Debug Settings this.ensureDefault("debug", false); this.settings.debug_enabled = this.settings.debug; // Here to maintain v2 API // Event Handlers this.settings.return_upload_start_handler = this.returnUploadStart; this.ensureDefault("swfupload_loaded_handler", null); this.ensureDefault("file_dialog_start_handler", null); this.ensureDefault("file_queued_handler", null); this.ensureDefault("file_queue_error_handler", null); this.ensureDefault("file_dialog_complete_handler", null); this.ensureDefault("upload_start_handler", null); this.ensureDefault("upload_progress_handler", null); this.ensureDefault("upload_error_handler", null); this.ensureDefault("upload_success_handler", null); this.ensureDefault("upload_complete_handler", null); this.ensureDefault("debug_handler", this.debugMessage); this.ensureDefault("custom_settings", {}); // Other settings this.customSettings = this.settings.custom_settings; // Update the flash url if needed if (!!this.settings.prevent_swf_caching) { this.settings.flash_url = this.settings.flash_url + (this.settings.flash_url.indexOf("?") < 0 ? "?" : "&") + "preventswfcaching=" + new Date().getTime(); } if (!this.settings.preserve_relative_urls) { //this.settings.flash_url = SWFUpload.completeURL(this.settings.flash_url); // Don't need to do this one since flash doesn't look at it this.settings.upload_url = SWFUpload.completeURL(this.settings.upload_url); this.settings.button_image_url = SWFUpload.completeURL(this.settings.button_image_url); } delete this.ensureDefault; }; // Private: loadFlash replaces the button_placeholder element with the flash movie. SWFUpload.prototype.loadFlash = function () { var targetElement, tempParent; // Make sure an element with the ID we are going to use doesn't already exist if (document.getElementById(this.movieName) !== null) { throw "ID " + this.movieName + " is already in use. The Flash Object could not be added"; } // Get the element where we will be placing the flash movie targetElement = document.getElementById(this.settings.button_placeholder_id) || this.settings.button_placeholder; if (targetElement == undefined) { throw "Could not find the placeholder element: " + this.settings.button_placeholder_id; } // Append the container and load the flash tempParent = document.createElement("div"); tempParent.innerHTML = this.getFlashHTML(); // Using innerHTML is non-standard but the only sensible way to dynamically add Flash in IE (and maybe other browsers) targetElement.parentNode.replaceChild(tempParent.firstChild, targetElement); // Fix IE Flash/Form bug if (window[this.movieName] == undefined) { window[this.movieName] = this.getMovieElement(); } }; // Private: getFlashHTML generates the object tag needed to embed the flash in to the document SWFUpload.prototype.getFlashHTML = function () { // Flash Satay object syntax: http://www.alistapart.com/articles/flashsatay // Fix bug for IE9 // http://www.kindsoft.net/view.php?bbsid=7&postid=5825&pagenum=1 var classid = ''; if (KindEditor.IE && KindEditor.V > 8) { classid = ' classid = "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"'; } return ['', '', '', '', '', '', '', ''].join(""); }; // Private: getFlashVars builds the parameter string that will be passed // to flash in the flashvars param. SWFUpload.prototype.getFlashVars = function () { // Build a string from the post param object var paramString = this.buildParamString(); var httpSuccessString = this.settings.http_success.join(","); // Build the parameter string return ["movieName=", encodeURIComponent(this.movieName), "&uploadURL=", encodeURIComponent(this.settings.upload_url), "&useQueryString=", encodeURIComponent(this.settings.use_query_string), "&requeueOnError=", encodeURIComponent(this.settings.requeue_on_error), "&httpSuccess=", encodeURIComponent(httpSuccessString), "&assumeSuccessTimeout=", encodeURIComponent(this.settings.assume_success_timeout), "&params=", encodeURIComponent(paramString), "&filePostName=", encodeURIComponent(this.settings.file_post_name), "&fileTypes=", encodeURIComponent(this.settings.file_types), "&fileTypesDescription=", encodeURIComponent(this.settings.file_types_description), "&fileSizeLimit=", encodeURIComponent(this.settings.file_size_limit), "&fileUploadLimit=", encodeURIComponent(this.settings.file_upload_limit), "&fileQueueLimit=", encodeURIComponent(this.settings.file_queue_limit), "&debugEnabled=", encodeURIComponent(this.settings.debug_enabled), "&buttonImageURL=", encodeURIComponent(this.settings.button_image_url), "&buttonWidth=", encodeURIComponent(this.settings.button_width), "&buttonHeight=", encodeURIComponent(this.settings.button_height), "&buttonText=", encodeURIComponent(this.settings.button_text), "&buttonTextTopPadding=", encodeURIComponent(this.settings.button_text_top_padding), "&buttonTextLeftPadding=", encodeURIComponent(this.settings.button_text_left_padding), "&buttonTextStyle=", encodeURIComponent(this.settings.button_text_style), "&buttonAction=", encodeURIComponent(this.settings.button_action), "&buttonDisabled=", encodeURIComponent(this.settings.button_disabled), "&buttonCursor=", encodeURIComponent(this.settings.button_cursor) ].join(""); }; // Public: getMovieElement retrieves the DOM reference to the Flash element added by SWFUpload // The element is cached after the first lookup SWFUpload.prototype.getMovieElement = function () { if (this.movieElement == undefined) { this.movieElement = document.getElementById(this.movieName); } if (this.movieElement === null) { throw "Could not find Flash element"; } return this.movieElement; }; // Private: buildParamString takes the name/value pairs in the post_params setting object // and joins them up in to a string formatted "name=value&name=value" SWFUpload.prototype.buildParamString = function () { var postParams = this.settings.post_params; var paramStringPairs = []; if (typeof(postParams) === "object") { for (var name in postParams) { if (postParams.hasOwnProperty(name)) { paramStringPairs.push(encodeURIComponent(name.toString()) + "=" + encodeURIComponent(postParams[name].toString())); } } } return paramStringPairs.join("&"); }; // Public: Used to remove a SWFUpload instance from the page. This method strives to remove // all references to the SWF, and other objects so memory is properly freed. // Returns true if everything was destroyed. Returns a false if a failure occurs leaving SWFUpload in an inconsistant state. // Credits: Major improvements provided by steffen SWFUpload.prototype.destroy = function () { try { // Make sure Flash is done before we try to remove it this.cancelUpload(null, false); // Remove the SWFUpload DOM nodes var movieElement = null; movieElement = this.getMovieElement(); if (movieElement && typeof(movieElement.CallFunction) === "unknown") { // We only want to do this in IE // Loop through all the movie's properties and remove all function references (DOM/JS IE 6/7 memory leak workaround) for (var i in movieElement) { try { if (typeof(movieElement[i]) === "function") { movieElement[i] = null; } } catch (ex1) {} } // Remove the Movie Element from the page try { movieElement.parentNode.removeChild(movieElement); } catch (ex) {} } // Remove IE form fix reference window[this.movieName] = null; // Destroy other references SWFUpload.instances[this.movieName] = null; delete SWFUpload.instances[this.movieName]; this.movieElement = null; this.settings = null; this.customSettings = null; this.eventQueue = null; this.movieName = null; return true; } catch (ex2) { return false; } }; // Public: displayDebugInfo prints out settings and configuration // information about this SWFUpload instance. // This function (and any references to it) can be deleted when placing // SWFUpload in production. SWFUpload.prototype.displayDebugInfo = function () { this.debug( [ "---SWFUpload Instance Info---\n", "Version: ", SWFUpload.version, "\n", "Movie Name: ", this.movieName, "\n", "Settings:\n", "\t", "upload_url: ", this.settings.upload_url, "\n", "\t", "flash_url: ", this.settings.flash_url, "\n", "\t", "use_query_string: ", this.settings.use_query_string.toString(), "\n", "\t", "requeue_on_error: ", this.settings.requeue_on_error.toString(), "\n", "\t", "http_success: ", this.settings.http_success.join(", "), "\n", "\t", "assume_success_timeout: ", this.settings.assume_success_timeout, "\n", "\t", "file_post_name: ", this.settings.file_post_name, "\n", "\t", "post_params: ", this.settings.post_params.toString(), "\n", "\t", "file_types: ", this.settings.file_types, "\n", "\t", "file_types_description: ", this.settings.file_types_description, "\n", "\t", "file_size_limit: ", this.settings.file_size_limit, "\n", "\t", "file_upload_limit: ", this.settings.file_upload_limit, "\n", "\t", "file_queue_limit: ", this.settings.file_queue_limit, "\n", "\t", "debug: ", this.settings.debug.toString(), "\n", "\t", "prevent_swf_caching: ", this.settings.prevent_swf_caching.toString(), "\n", "\t", "button_placeholder_id: ", this.settings.button_placeholder_id.toString(), "\n", "\t", "button_placeholder: ", (this.settings.button_placeholder ? "Set" : "Not Set"), "\n", "\t", "button_image_url: ", this.settings.button_image_url.toString(), "\n", "\t", "button_width: ", this.settings.button_width.toString(), "\n", "\t", "button_height: ", this.settings.button_height.toString(), "\n", "\t", "button_text: ", this.settings.button_text.toString(), "\n", "\t", "button_text_style: ", this.settings.button_text_style.toString(), "\n", "\t", "button_text_top_padding: ", this.settings.button_text_top_padding.toString(), "\n", "\t", "button_text_left_padding: ", this.settings.button_text_left_padding.toString(), "\n", "\t", "button_action: ", this.settings.button_action.toString(), "\n", "\t", "button_disabled: ", this.settings.button_disabled.toString(), "\n", "\t", "custom_settings: ", this.settings.custom_settings.toString(), "\n", "Event Handlers:\n", "\t", "swfupload_loaded_handler assigned: ", (typeof this.settings.swfupload_loaded_handler === "function").toString(), "\n", "\t", "file_dialog_start_handler assigned: ", (typeof this.settings.file_dialog_start_handler === "function").toString(), "\n", "\t", "file_queued_handler assigned: ", (typeof this.settings.file_queued_handler === "function").toString(), "\n", "\t", "file_queue_error_handler assigned: ", (typeof this.settings.file_queue_error_handler === "function").toString(), "\n", "\t", "upload_start_handler assigned: ", (typeof this.settings.upload_start_handler === "function").toString(), "\n", "\t", "upload_progress_handler assigned: ", (typeof this.settings.upload_progress_handler === "function").toString(), "\n", "\t", "upload_error_handler assigned: ", (typeof this.settings.upload_error_handler === "function").toString(), "\n", "\t", "upload_success_handler assigned: ", (typeof this.settings.upload_success_handler === "function").toString(), "\n", "\t", "upload_complete_handler assigned: ", (typeof this.settings.upload_complete_handler === "function").toString(), "\n", "\t", "debug_handler assigned: ", (typeof this.settings.debug_handler === "function").toString(), "\n" ].join("") ); }; /* Note: addSetting and getSetting are no longer used by SWFUpload but are included the maintain v2 API compatibility */ // Public: (Deprecated) addSetting adds a setting value. If the value given is undefined or null then the default_value is used. SWFUpload.prototype.addSetting = function (name, value, default_value) { if (value == undefined) { return (this.settings[name] = default_value); } else { return (this.settings[name] = value); } }; // Public: (Deprecated) getSetting gets a setting. Returns an empty string if the setting was not found. SWFUpload.prototype.getSetting = function (name) { if (this.settings[name] != undefined) { return this.settings[name]; } return ""; }; // Private: callFlash handles function calls made to the Flash element. // Calls are made with a setTimeout for some functions to work around // bugs in the ExternalInterface library. SWFUpload.prototype.callFlash = function (functionName, argumentArray) { argumentArray = argumentArray || []; var movieElement = this.getMovieElement(); var returnValue, returnString; // Flash's method if calling ExternalInterface methods (code adapted from MooTools). try { returnString = movieElement.CallFunction('' + __flash__argumentsToXML(argumentArray, 0) + ''); returnValue = eval(returnString); } catch (ex) { throw "Call to " + functionName + " failed"; } // Unescape file post param values if (returnValue != undefined && typeof returnValue.post === "object") { returnValue = this.unescapeFilePostParams(returnValue); } return returnValue; }; /* ***************************** -- Flash control methods -- Your UI should use these to operate SWFUpload ***************************** */ // WARNING: this function does not work in Flash Player 10 // Public: selectFile causes a File Selection Dialog window to appear. This // dialog only allows 1 file to be selected. SWFUpload.prototype.selectFile = function () { this.callFlash("SelectFile"); }; // WARNING: this function does not work in Flash Player 10 // Public: selectFiles causes a File Selection Dialog window to appear/ This // dialog allows the user to select any number of files // Flash Bug Warning: Flash limits the number of selectable files based on the combined length of the file names. // If the selection name length is too long the dialog will fail in an unpredictable manner. There is no work-around // for this bug. SWFUpload.prototype.selectFiles = function () { this.callFlash("SelectFiles"); }; // Public: startUpload starts uploading the first file in the queue unless // the optional parameter 'fileID' specifies the ID SWFUpload.prototype.startUpload = function (fileID) { this.callFlash("StartUpload", [fileID]); }; // Public: cancelUpload cancels any queued file. The fileID parameter may be the file ID or index. // If you do not specify a fileID the current uploading file or first file in the queue is cancelled. // If you do not want the uploadError event to trigger you can specify false for the triggerErrorEvent parameter. SWFUpload.prototype.cancelUpload = function (fileID, triggerErrorEvent) { if (triggerErrorEvent !== false) { triggerErrorEvent = true; } this.callFlash("CancelUpload", [fileID, triggerErrorEvent]); }; // Public: stopUpload stops the current upload and requeues the file at the beginning of the queue. // If nothing is currently uploading then nothing happens. SWFUpload.prototype.stopUpload = function () { this.callFlash("StopUpload"); }; /* ************************ * Settings methods * These methods change the SWFUpload settings. * SWFUpload settings should not be changed directly on the settings object * since many of the settings need to be passed to Flash in order to take * effect. * *********************** */ // Public: getStats gets the file statistics object. SWFUpload.prototype.getStats = function () { return this.callFlash("GetStats"); }; // Public: setStats changes the SWFUpload statistics. You shouldn't need to // change the statistics but you can. Changing the statistics does not // affect SWFUpload accept for the successful_uploads count which is used // by the upload_limit setting to determine how many files the user may upload. SWFUpload.prototype.setStats = function (statsObject) { this.callFlash("SetStats", [statsObject]); }; // Public: getFile retrieves a File object by ID or Index. If the file is // not found then 'null' is returned. SWFUpload.prototype.getFile = function (fileID) { if (typeof(fileID) === "number") { return this.callFlash("GetFileByIndex", [fileID]); } else { return this.callFlash("GetFile", [fileID]); } }; // Public: addFileParam sets a name/value pair that will be posted with the // file specified by the Files ID. If the name already exists then the // exiting value will be overwritten. SWFUpload.prototype.addFileParam = function (fileID, name, value) { return this.callFlash("AddFileParam", [fileID, name, value]); }; // Public: removeFileParam removes a previously set (by addFileParam) name/value // pair from the specified file. SWFUpload.prototype.removeFileParam = function (fileID, name) { this.callFlash("RemoveFileParam", [fileID, name]); }; // Public: setUploadUrl changes the upload_url setting. SWFUpload.prototype.setUploadURL = function (url) { this.settings.upload_url = url.toString(); this.callFlash("SetUploadURL", [url]); }; // Public: setPostParams changes the post_params setting SWFUpload.prototype.setPostParams = function (paramsObject) { this.settings.post_params = paramsObject; this.callFlash("SetPostParams", [paramsObject]); }; // Public: addPostParam adds post name/value pair. Each name can have only one value. SWFUpload.prototype.addPostParam = function (name, value) { this.settings.post_params[name] = value; this.callFlash("SetPostParams", [this.settings.post_params]); }; // Public: removePostParam deletes post name/value pair. SWFUpload.prototype.removePostParam = function (name) { delete this.settings.post_params[name]; this.callFlash("SetPostParams", [this.settings.post_params]); }; // Public: setFileTypes changes the file_types setting and the file_types_description setting SWFUpload.prototype.setFileTypes = function (types, description) { this.settings.file_types = types; this.settings.file_types_description = description; this.callFlash("SetFileTypes", [types, description]); }; // Public: setFileSizeLimit changes the file_size_limit setting SWFUpload.prototype.setFileSizeLimit = function (fileSizeLimit) { this.settings.file_size_limit = fileSizeLimit; this.callFlash("SetFileSizeLimit", [fileSizeLimit]); }; // Public: setFileUploadLimit changes the file_upload_limit setting SWFUpload.prototype.setFileUploadLimit = function (fileUploadLimit) { this.settings.file_upload_limit = fileUploadLimit; this.callFlash("SetFileUploadLimit", [fileUploadLimit]); }; // Public: setFileQueueLimit changes the file_queue_limit setting SWFUpload.prototype.setFileQueueLimit = function (fileQueueLimit) { this.settings.file_queue_limit = fileQueueLimit; this.callFlash("SetFileQueueLimit", [fileQueueLimit]); }; // Public: setFilePostName changes the file_post_name setting SWFUpload.prototype.setFilePostName = function (filePostName) { this.settings.file_post_name = filePostName; this.callFlash("SetFilePostName", [filePostName]); }; // Public: setUseQueryString changes the use_query_string setting SWFUpload.prototype.setUseQueryString = function (useQueryString) { this.settings.use_query_string = useQueryString; this.callFlash("SetUseQueryString", [useQueryString]); }; // Public: setRequeueOnError changes the requeue_on_error setting SWFUpload.prototype.setRequeueOnError = function (requeueOnError) { this.settings.requeue_on_error = requeueOnError; this.callFlash("SetRequeueOnError", [requeueOnError]); }; // Public: setHTTPSuccess changes the http_success setting SWFUpload.prototype.setHTTPSuccess = function (http_status_codes) { if (typeof http_status_codes === "string") { http_status_codes = http_status_codes.replace(" ", "").split(","); } this.settings.http_success = http_status_codes; this.callFlash("SetHTTPSuccess", [http_status_codes]); }; // Public: setHTTPSuccess changes the http_success setting SWFUpload.prototype.setAssumeSuccessTimeout = function (timeout_seconds) { this.settings.assume_success_timeout = timeout_seconds; this.callFlash("SetAssumeSuccessTimeout", [timeout_seconds]); }; // Public: setDebugEnabled changes the debug_enabled setting SWFUpload.prototype.setDebugEnabled = function (debugEnabled) { this.settings.debug_enabled = debugEnabled; this.callFlash("SetDebugEnabled", [debugEnabled]); }; // Public: setButtonImageURL loads a button image sprite SWFUpload.prototype.setButtonImageURL = function (buttonImageURL) { if (buttonImageURL == undefined) { buttonImageURL = ""; } this.settings.button_image_url = buttonImageURL; this.callFlash("SetButtonImageURL", [buttonImageURL]); }; // Public: setButtonDimensions resizes the Flash Movie and button SWFUpload.prototype.setButtonDimensions = function (width, height) { this.settings.button_width = width; this.settings.button_height = height; var movie = this.getMovieElement(); if (movie != undefined) { movie.style.width = width + "px"; movie.style.height = height + "px"; } this.callFlash("SetButtonDimensions", [width, height]); }; // Public: setButtonText Changes the text overlaid on the button SWFUpload.prototype.setButtonText = function (html) { this.settings.button_text = html; this.callFlash("SetButtonText", [html]); }; // Public: setButtonTextPadding changes the top and left padding of the text overlay SWFUpload.prototype.setButtonTextPadding = function (left, top) { this.settings.button_text_top_padding = top; this.settings.button_text_left_padding = left; this.callFlash("SetButtonTextPadding", [left, top]); }; // Public: setButtonTextStyle changes the CSS used to style the HTML/Text overlaid on the button SWFUpload.prototype.setButtonTextStyle = function (css) { this.settings.button_text_style = css; this.callFlash("SetButtonTextStyle", [css]); }; // Public: setButtonDisabled disables/enables the button SWFUpload.prototype.setButtonDisabled = function (isDisabled) { this.settings.button_disabled = isDisabled; this.callFlash("SetButtonDisabled", [isDisabled]); }; // Public: setButtonAction sets the action that occurs when the button is clicked SWFUpload.prototype.setButtonAction = function (buttonAction) { this.settings.button_action = buttonAction; this.callFlash("SetButtonAction", [buttonAction]); }; // Public: setButtonCursor changes the mouse cursor displayed when hovering over the button SWFUpload.prototype.setButtonCursor = function (cursor) { this.settings.button_cursor = cursor; this.callFlash("SetButtonCursor", [cursor]); }; /* ******************************* Flash Event Interfaces These functions are used by Flash to trigger the various events. All these functions a Private. Because the ExternalInterface library is buggy the event calls are added to a queue and the queue then executed by a setTimeout. This ensures that events are executed in a determinate order and that the ExternalInterface bugs are avoided. ******************************* */ SWFUpload.prototype.queueEvent = function (handlerName, argumentArray) { // Warning: Don't call this.debug inside here or you'll create an infinite loop if (argumentArray == undefined) { argumentArray = []; } else if (!(argumentArray instanceof Array)) { argumentArray = [argumentArray]; } var self = this; if (typeof this.settings[handlerName] === "function") { // Queue the event this.eventQueue.push(function () { this.settings[handlerName].apply(this, argumentArray); }); // Execute the next queued event setTimeout(function () { self.executeNextEvent(); }, 0); } else if (this.settings[handlerName] !== null) { throw "Event handler " + handlerName + " is unknown or is not a function"; } }; // Private: Causes the next event in the queue to be executed. Since events are queued using a setTimeout // we must queue them in order to garentee that they are executed in order. SWFUpload.prototype.executeNextEvent = function () { // Warning: Don't call this.debug inside here or you'll create an infinite loop var f = this.eventQueue ? this.eventQueue.shift() : null; if (typeof(f) === "function") { f.apply(this); } }; // Private: unescapeFileParams is part of a workaround for a flash bug where objects passed through ExternalInterface cannot have // properties that contain characters that are not valid for JavaScript identifiers. To work around this // the Flash Component escapes the parameter names and we must unescape again before passing them along. SWFUpload.prototype.unescapeFilePostParams = function (file) { var reg = /[$]([0-9a-f]{4})/i; var unescapedPost = {}; var uk; if (file != undefined) { for (var k in file.post) { if (file.post.hasOwnProperty(k)) { uk = k; var match; while ((match = reg.exec(uk)) !== null) { uk = uk.replace(match[0], String.fromCharCode(parseInt("0x" + match[1], 16))); } unescapedPost[uk] = file.post[k]; } } file.post = unescapedPost; } return file; }; // Private: Called by Flash to see if JS can call in to Flash (test if External Interface is working) SWFUpload.prototype.testExternalInterface = function () { try { return this.callFlash("TestExternalInterface"); } catch (ex) { return false; } }; // Private: This event is called by Flash when it has finished loading. Don't modify this. // Use the swfupload_loaded_handler event setting to execute custom code when SWFUpload has loaded. SWFUpload.prototype.flashReady = function () { // Check that the movie element is loaded correctly with its ExternalInterface methods defined var movieElement = this.getMovieElement(); if (!movieElement) { this.debug("Flash called back ready but the flash movie can't be found."); return; } this.cleanUp(movieElement); this.queueEvent("swfupload_loaded_handler"); }; // Private: removes Flash added fuctions to the DOM node to prevent memory leaks in IE. // This function is called by Flash each time the ExternalInterface functions are created. SWFUpload.prototype.cleanUp = function (movieElement) { // Pro-actively unhook all the Flash functions try { if (this.movieElement && typeof(movieElement.CallFunction) === "unknown") { // We only want to do this in IE this.debug("Removing Flash functions hooks (this should only run in IE and should prevent memory leaks)"); for (var key in movieElement) { try { if (typeof(movieElement[key]) === "function") { movieElement[key] = null; } } catch (ex) { } } } } catch (ex1) { } // Fix Flashes own cleanup code so if the SWFMovie was removed from the page // it doesn't display errors. window["__flash__removeCallback"] = function (instance, name) { try { if (instance) { instance[name] = null; } } catch (flashEx) { } }; }; /* This is a chance to do something before the browse window opens */ SWFUpload.prototype.fileDialogStart = function () { this.queueEvent("file_dialog_start_handler"); }; /* Called when a file is successfully added to the queue. */ SWFUpload.prototype.fileQueued = function (file) { file = this.unescapeFilePostParams(file); this.queueEvent("file_queued_handler", file); }; /* Handle errors that occur when an attempt to queue a file fails. */ SWFUpload.prototype.fileQueueError = function (file, errorCode, message) { file = this.unescapeFilePostParams(file); this.queueEvent("file_queue_error_handler", [file, errorCode, message]); }; /* Called after the file dialog has closed and the selected files have been queued. You could call startUpload here if you want the queued files to begin uploading immediately. */ SWFUpload.prototype.fileDialogComplete = function (numFilesSelected, numFilesQueued, numFilesInQueue) { this.queueEvent("file_dialog_complete_handler", [numFilesSelected, numFilesQueued, numFilesInQueue]); }; SWFUpload.prototype.uploadStart = function (file) { file = this.unescapeFilePostParams(file); this.queueEvent("return_upload_start_handler", file); }; SWFUpload.prototype.returnUploadStart = function (file) { var returnValue; if (typeof this.settings.upload_start_handler === "function") { file = this.unescapeFilePostParams(file); returnValue = this.settings.upload_start_handler.call(this, file); } else if (this.settings.upload_start_handler != undefined) { throw "upload_start_handler must be a function"; } // Convert undefined to true so if nothing is returned from the upload_start_handler it is // interpretted as 'true'. if (returnValue === undefined) { returnValue = true; } returnValue = !!returnValue; this.callFlash("ReturnUploadStart", [returnValue]); }; SWFUpload.prototype.uploadProgress = function (file, bytesComplete, bytesTotal) { file = this.unescapeFilePostParams(file); this.queueEvent("upload_progress_handler", [file, bytesComplete, bytesTotal]); }; SWFUpload.prototype.uploadError = function (file, errorCode, message) { file = this.unescapeFilePostParams(file); this.queueEvent("upload_error_handler", [file, errorCode, message]); }; SWFUpload.prototype.uploadSuccess = function (file, serverData, responseReceived) { file = this.unescapeFilePostParams(file); this.queueEvent("upload_success_handler", [file, serverData, responseReceived]); }; SWFUpload.prototype.uploadComplete = function (file) { file = this.unescapeFilePostParams(file); this.queueEvent("upload_complete_handler", file); }; /* Called by SWFUpload JavaScript and Flash functions when debug is enabled. By default it writes messages to the internal debug console. You can override this event and have messages written where you want. */ SWFUpload.prototype.debug = function (message) { this.queueEvent("debug_handler", message); }; /* ********************************** Debug Console The debug console is a self contained, in page location for debug message to be sent. The Debug Console adds itself to the body if necessary. The console is automatically scrolled as messages appear. If you are using your own debug handler or when you deploy to production and have debug disabled you can remove these functions to reduce the file size and complexity. ********************************** */ // Private: debugMessage is the default debug_handler. If you want to print debug messages // call the debug() function. When overriding the function your own function should // check to see if the debug setting is true before outputting debug information. SWFUpload.prototype.debugMessage = function (message) { if (this.settings.debug) { var exceptionMessage, exceptionValues = []; // Check for an exception object and print it nicely if (typeof message === "object" && typeof message.name === "string" && typeof message.message === "string") { for (var key in message) { if (message.hasOwnProperty(key)) { exceptionValues.push(key + ": " + message[key]); } } exceptionMessage = exceptionValues.join("\n") || ""; exceptionValues = exceptionMessage.split("\n"); exceptionMessage = "EXCEPTION: " + exceptionValues.join("\nEXCEPTION: "); SWFUpload.Console.writeLine(exceptionMessage); } else { SWFUpload.Console.writeLine(message); } } }; SWFUpload.Console = {}; SWFUpload.Console.writeLine = function (message) { var console, documentForm; try { console = document.getElementById("SWFUpload_Console"); if (!console) { documentForm = document.createElement("form"); document.getElementsByTagName("body")[0].appendChild(documentForm); console = document.createElement("textarea"); console.id = "SWFUpload_Console"; console.style.fontFamily = "monospace"; console.setAttribute("wrap", "off"); console.wrap = "off"; console.style.overflow = "auto"; console.style.width = "700px"; console.style.height = "350px"; console.style.margin = "5px"; documentForm.appendChild(console); } console.value += message + "\n"; console.scrollTop = console.scrollHeight - console.clientHeight; } catch (ex) { alert("Exception: " + ex.name + " Message: " + ex.message); } }; })(); (function() { /* Queue Plug-in Features: *Adds a cancelQueue() method for cancelling the entire queue. *All queued files are uploaded when startUpload() is called. *If false is returned from uploadComplete then the queue upload is stopped. If false is not returned (strict comparison) then the queue upload is continued. *Adds a QueueComplete event that is fired when all the queued files have finished uploading. Set the event handler with the queue_complete_handler setting. */ if (typeof(SWFUpload) === "function") { SWFUpload.queue = {}; SWFUpload.prototype.initSettings = (function (oldInitSettings) { return function () { if (typeof(oldInitSettings) === "function") { oldInitSettings.call(this); } this.queueSettings = {}; this.queueSettings.queue_cancelled_flag = false; this.queueSettings.queue_upload_count = 0; this.queueSettings.user_upload_complete_handler = this.settings.upload_complete_handler; this.queueSettings.user_upload_start_handler = this.settings.upload_start_handler; this.settings.upload_complete_handler = SWFUpload.queue.uploadCompleteHandler; this.settings.upload_start_handler = SWFUpload.queue.uploadStartHandler; this.settings.queue_complete_handler = this.settings.queue_complete_handler || null; }; })(SWFUpload.prototype.initSettings); SWFUpload.prototype.startUpload = function (fileID) { this.queueSettings.queue_cancelled_flag = false; this.callFlash("StartUpload", [fileID]); }; SWFUpload.prototype.cancelQueue = function () { this.queueSettings.queue_cancelled_flag = true; this.stopUpload(); var stats = this.getStats(); while (stats.files_queued > 0) { this.cancelUpload(); stats = this.getStats(); } }; SWFUpload.queue.uploadStartHandler = function (file) { var returnValue; if (typeof(this.queueSettings.user_upload_start_handler) === "function") { returnValue = this.queueSettings.user_upload_start_handler.call(this, file); } // To prevent upload a real "FALSE" value must be returned, otherwise default to a real "TRUE" value. returnValue = (returnValue === false) ? false : true; this.queueSettings.queue_cancelled_flag = !returnValue; return returnValue; }; SWFUpload.queue.uploadCompleteHandler = function (file) { var user_upload_complete_handler = this.queueSettings.user_upload_complete_handler; var continueUpload; if (file.filestatus === SWFUpload.FILE_STATUS.COMPLETE) { this.queueSettings.queue_upload_count++; } if (typeof(user_upload_complete_handler) === "function") { continueUpload = (user_upload_complete_handler.call(this, file) === false) ? false : true; } else if (file.filestatus === SWFUpload.FILE_STATUS.QUEUED) { // If the file was stopped and re-queued don't restart the upload continueUpload = false; } else { continueUpload = true; } if (continueUpload) { var stats = this.getStats(); if (stats.files_queued > 0 && this.queueSettings.queue_cancelled_flag === false) { this.startUpload(); } else if (this.queueSettings.queue_cancelled_flag === false) { this.queueEvent("queue_complete_handler", [this.queueSettings.queue_upload_count]); this.queueSettings.queue_upload_count = 0; } else { this.queueSettings.queue_cancelled_flag = false; this.queueSettings.queue_upload_count = 0; } } }; } })(); /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ KindEditor.plugin('pagebreak', function(K) { var self = this; var name = 'pagebreak'; var pagebreakHtml = K.undef(self.pagebreakHtml, '
                                                        '); self.clickToolbar(name, function() { var cmd = self.cmd, range = cmd.range; self.focus(); var tail = self.newlineTag == 'br' || K.WEBKIT ? '' : ''; self.insertHtml(pagebreakHtml + tail); if (tail !== '') { var p = K('#__kindeditor_tail_tag__', self.edit.doc); range.selectNodeContents(p[0]); p.removeAttr('id'); cmd.select(); } }); }); /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ KindEditor.plugin('plainpaste', function(K) { var self = this, name = 'plainpaste'; self.clickToolbar(name, function() { var lang = self.lang(name + '.'), html = '
                                                        ' + '
                                                        ' + lang.comment + '
                                                        ' + '' + '
                                                        ', dialog = self.createDialog({ name : name, width : 450, title : self.lang(name), body : html, yesBtn : { name : self.lang('yes'), click : function(e) { var html = textarea.val(); html = K.escape(html); html = html.replace(/ {2}/g, '  '); if (self.newlineTag == 'p') { html = html.replace(/^/, '

                                                        ').replace(/$/, '

                                                        ').replace(/\n/g, '

                                                        '); } else { html = html.replace(/\n/g, '
                                                        $&'); } self.insertHtml(html).hideDialog().focus(); } } }), textarea = K('textarea', dialog.div); textarea[0].focus(); }); }); /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ KindEditor.plugin('preview', function(K) { var self = this, name = 'preview', undefined; self.clickToolbar(name, function() { var lang = self.lang(name + '.'), html = '

                                                        ' + '' + '
                                                        ', dialog = self.createDialog({ name : name, width : 750, title : self.lang(name), body : html }), iframe = K('iframe', dialog.div), doc = K.iframeDoc(iframe); doc.open(); doc.write(self.fullHtml()); doc.close(); K(doc.body).css('background-color', '#FFF'); iframe[0].contentWindow.focus(); }); }); /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ KindEditor.plugin('quickformat', function(K) { var self = this, name = 'quickformat', blockMap = K.toMap('blockquote,center,div,h1,h2,h3,h4,h5,h6,p'); function getFirstChild(knode) { var child = knode.first(); while (child && child.first()) { child = child.first(); } return child; } self.clickToolbar(name, function() { self.focus(); var doc = self.edit.doc, range = self.cmd.range, child = K(doc.body).first(), next, nodeList = [], subList = [], bookmark = range.createBookmark(true); while(child) { next = child.next(); var firstChild = getFirstChild(child); if (!firstChild || firstChild.name != 'img') { if (blockMap[child.name]) { child.html(child.html().replace(/^(\s| | )+/ig, '')); child.css('text-indent', '2em'); } else { subList.push(child); } if (!next || (blockMap[next.name] || blockMap[child.name] && !blockMap[next.name])) { if (subList.length > 0) { nodeList.push(subList); } subList = []; } } child = next; } K.each(nodeList, function(i, subList) { var wrapper = K('

                                                        ', doc); subList[0].before(wrapper); K.each(subList, function(i, knode) { wrapper.append(knode); }); }); range.moveToBookmark(bookmark); self.addBookmark(); }); }); /** -------------------------- abcd
                                                        1234
                                                        to

                                                        abcd
                                                        1234

                                                        --------------------------   abcd1233

                                                        1234

                                                        to

                                                        abcd1233

                                                        1234

                                                        -------------------------- *//******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ KindEditor.plugin('table', function(K) { var self = this, name = 'table', lang = self.lang(name + '.'), zeroborder = 'ke-zeroborder'; // 设置颜色 function _setColor(box, color) { color = color.toUpperCase(); box.css('background-color', color); box.css('color', color === '#000000' ? '#FFFFFF' : '#000000'); box.html(color); } // 初始化取色器 var pickerList = []; function _initColorPicker(dialogDiv, colorBox) { colorBox.bind('click,mousedown', function(e){ e.stopPropagation(); }); function removePicker() { K.each(pickerList, function() { this.remove(); }); pickerList = []; K(document).unbind('click,mousedown', removePicker); dialogDiv.unbind('click,mousedown', removePicker); } colorBox.click(function(e) { removePicker(); var box = K(this), pos = box.pos(); var picker = K.colorpicker({ x : pos.x, y : pos.y + box.height(), z : 811214, selectedColor : K(this).html(), colors : self.colorTable, noColor : self.lang('noColor'), shadowMode : self.shadowMode, click : function(color) { _setColor(box, color); removePicker(); } }); pickerList.push(picker); K(document).bind('click,mousedown', removePicker); dialogDiv.bind('click,mousedown', removePicker); }); } // 取得下一行cell的index function _getCellIndex(table, row, cell) { var rowSpanCount = 0; for (var i = 0, len = row.cells.length; i < len; i++) { if (row.cells[i] == cell) { break; } rowSpanCount += row.cells[i].rowSpan - 1; } return cell.cellIndex - rowSpanCount; } self.plugin.table = { //insert or modify table prop : function(isInsert) { var html = [ '
                                                        ', //rows, cols '
                                                        ', '', lang.rows + '   ', lang.cols + ' ', '
                                                        ', //width, height '
                                                        ', '', lang.width + '   ', '   ', lang.height + '   ', '', '
                                                        ', //space, padding '
                                                        ', '', lang.padding + '   ', lang.spacing + ' ', '
                                                        ', //align '
                                                        ', '', '', '
                                                        ', //border '
                                                        ', '', lang.borderWidth + '   ', lang.borderColor + ' ', '
                                                        ', //background color '
                                                        ', '', '', '
                                                        ', '
                                                        ' ].join(''); var bookmark = self.cmd.range.createBookmark(); var dialog = self.createDialog({ name : name, width : 500, title : self.lang(name), body : html, beforeRemove : function() { colorBox.unbind(); }, yesBtn : { name : self.lang('yes'), click : function(e) { var rows = rowsBox.val(), cols = colsBox.val(), width = widthBox.val(), height = heightBox.val(), widthType = widthTypeBox.val(), heightType = heightTypeBox.val(), padding = paddingBox.val(), spacing = spacingBox.val(), align = alignBox.val(), border = borderBox.val(), borderColor = K(colorBox[0]).html() || '', bgColor = K(colorBox[1]).html() || ''; if (rows == 0 || !/^\d+$/.test(rows)) { alert(self.lang('invalidRows')); rowsBox[0].focus(); return; } if (cols == 0 || !/^\d+$/.test(cols)) { alert(self.lang('invalidRows')); colsBox[0].focus(); return; } if (!/^\d*$/.test(width)) { alert(self.lang('invalidWidth')); widthBox[0].focus(); return; } if (!/^\d*$/.test(height)) { alert(self.lang('invalidHeight')); heightBox[0].focus(); return; } if (!/^\d*$/.test(padding)) { alert(self.lang('invalidPadding')); paddingBox[0].focus(); return; } if (!/^\d*$/.test(spacing)) { alert(self.lang('invalidSpacing')); spacingBox[0].focus(); return; } if (!/^\d*$/.test(border)) { alert(self.lang('invalidBorder')); borderBox[0].focus(); return; } //modify table if (table) { if (width !== '') { table.width(width + widthType); } else { table.css('width', ''); } if (table[0].width !== undefined) { table.removeAttr('width'); } if (height !== '') { table.height(height + heightType); } else { table.css('height', ''); } if (table[0].height !== undefined) { table.removeAttr('height'); } table.css('background-color', bgColor); if (table[0].bgColor !== undefined) { table.removeAttr('bgColor'); } if (padding !== '') { table[0].cellPadding = padding; } else { table.removeAttr('cellPadding'); } if (spacing !== '') { table[0].cellSpacing = spacing; } else { table.removeAttr('cellSpacing'); } if (align !== '') { table[0].align = align; } else { table.removeAttr('align'); } if (border !== '') { table.attr('border', border); } else { table.removeAttr('border'); } if (border === '' || border === '0') { table.addClass(zeroborder); } else { table.removeClass(zeroborder); } if (borderColor !== '') { table.attr('borderColor', borderColor); } else { table.removeAttr('borderColor'); } self.hideDialog().focus(); self.cmd.range.moveToBookmark(bookmark); self.cmd.select(); self.addBookmark(); return; } //insert new table var style = ''; if (width !== '') { style += 'width:' + width + widthType + ';'; } if (height !== '') { style += 'height:' + height + heightType + ';'; } if (bgColor !== '') { style += 'background-color:' + bgColor + ';'; } var html = '') + ''; } html += ''; } html += ''; if (!K.IE) { html += '
                                                        '; } self.insertHtml(html); self.select().hideDialog().focus(); self.addBookmark(); } } }), div = dialog.div, rowsBox = K('[name="rows"]', div).val(3), colsBox = K('[name="cols"]', div).val(2), widthBox = K('[name="width"]', div).val(100), heightBox = K('[name="height"]', div), widthTypeBox = K('[name="widthType"]', div), heightTypeBox = K('[name="heightType"]', div), paddingBox = K('[name="padding"]', div).val(2), spacingBox = K('[name="spacing"]', div).val(0), alignBox = K('[name="align"]', div), borderBox = K('[name="border"]', div).val(1), colorBox = K('.ke-input-color', div); _initColorPicker(div, colorBox.eq(0)); _initColorPicker(div, colorBox.eq(1)); _setColor(colorBox.eq(0), '#000000'); _setColor(colorBox.eq(1), ''); // foucs and select rowsBox[0].focus(); rowsBox[0].select(); var table; if (isInsert) { return; } //get selected table node table = self.plugin.getSelectedTable(); if (table) { rowsBox.val(table[0].rows.length); colsBox.val(table[0].rows.length > 0 ? table[0].rows[0].cells.length : 0); rowsBox.attr('disabled', true); colsBox.attr('disabled', true); var match, tableWidth = table[0].style.width || table[0].width, tableHeight = table[0].style.height || table[0].height; if (tableWidth !== undefined && (match = /^(\d+)((?:px|%)*)$/.exec(tableWidth))) { widthBox.val(match[1]); widthTypeBox.val(match[2]); } else { widthBox.val(''); } if (tableHeight !== undefined && (match = /^(\d+)((?:px|%)*)$/.exec(tableHeight))) { heightBox.val(match[1]); heightTypeBox.val(match[2]); } paddingBox.val(table[0].cellPadding || ''); spacingBox.val(table[0].cellSpacing || ''); alignBox.val(table[0].align || ''); borderBox.val(table[0].border === undefined ? '' : table[0].border); _setColor(colorBox.eq(0), K.toHex(table.attr('borderColor') || '')); _setColor(colorBox.eq(1), K.toHex(table[0].style.backgroundColor || table[0].bgColor || '')); widthBox[0].focus(); widthBox[0].select(); } }, //modify cell cellprop : function() { var html = [ '
                                                        ', //width, height '
                                                        ', '', lang.width + '   ', '   ', lang.height + '   ', '', '
                                                        ', //align '
                                                        ', '', lang.textAlign + ' ', lang.verticalAlign + ' ', '
                                                        ', //border '
                                                        ', '', lang.borderWidth + '   ', lang.borderColor + ' ', '
                                                        ', //background color '
                                                        ', '', '', '
                                                        ', '
                                                        ' ].join(''); var bookmark = self.cmd.range.createBookmark(); var dialog = self.createDialog({ name : name, width : 500, title : self.lang('tablecell'), body : html, beforeRemove : function() { colorBox.unbind(); }, yesBtn : { name : self.lang('yes'), click : function(e) { var width = widthBox.val(), height = heightBox.val(), widthType = widthTypeBox.val(), heightType = heightTypeBox.val(), padding = paddingBox.val(), spacing = spacingBox.val(), textAlign = textAlignBox.val(), verticalAlign = verticalAlignBox.val(), border = borderBox.val(), borderColor = K(colorBox[0]).html() || '', bgColor = K(colorBox[1]).html() || ''; if (!/^\d*$/.test(width)) { alert(self.lang('invalidWidth')); widthBox[0].focus(); return; } if (!/^\d*$/.test(height)) { alert(self.lang('invalidHeight')); heightBox[0].focus(); return; } if (!/^\d*$/.test(border)) { alert(self.lang('invalidBorder')); borderBox[0].focus(); return; } cell.css({ width : width !== '' ? (width + widthType) : '', height : height !== '' ? (height + heightType) : '', 'background-color' : bgColor, 'text-align' : textAlign, 'vertical-align' : verticalAlign, 'border-width' : border, 'border-style' : border !== '' ? 'solid' : '', 'border-color' : borderColor }); self.hideDialog().focus(); self.cmd.range.moveToBookmark(bookmark); self.cmd.select(); self.addBookmark(); } } }), div = dialog.div, widthBox = K('[name="width"]', div).val(100), heightBox = K('[name="height"]', div), widthTypeBox = K('[name="widthType"]', div), heightTypeBox = K('[name="heightType"]', div), paddingBox = K('[name="padding"]', div).val(2), spacingBox = K('[name="spacing"]', div).val(0), textAlignBox = K('[name="textAlign"]', div), verticalAlignBox = K('[name="verticalAlign"]', div), borderBox = K('[name="border"]', div).val(1), colorBox = K('.ke-input-color', div); _initColorPicker(div, colorBox.eq(0)); _initColorPicker(div, colorBox.eq(1)); _setColor(colorBox.eq(0), '#000000'); _setColor(colorBox.eq(1), ''); // foucs and select widthBox[0].focus(); widthBox[0].select(); // get selected cell var cell = self.plugin.getSelectedCell(); var match, cellWidth = cell[0].style.width || cell[0].width || '', cellHeight = cell[0].style.height || cell[0].height || ''; if ((match = /^(\d+)((?:px|%)*)$/.exec(cellWidth))) { widthBox.val(match[1]); widthTypeBox.val(match[2]); } else { widthBox.val(''); } if ((match = /^(\d+)((?:px|%)*)$/.exec(cellHeight))) { heightBox.val(match[1]); heightTypeBox.val(match[2]); } textAlignBox.val(cell[0].style.textAlign || ''); verticalAlignBox.val(cell[0].style.verticalAlign || ''); var border = cell[0].style.borderWidth || ''; if (border) { border = parseInt(border); } borderBox.val(border); _setColor(colorBox.eq(0), K.toHex(cell[0].style.borderColor || '')); _setColor(colorBox.eq(1), K.toHex(cell[0].style.backgroundColor || '')); widthBox[0].focus(); widthBox[0].select(); }, insert : function() { this.prop(true); }, 'delete' : function() { var table = self.plugin.getSelectedTable(); self.cmd.range.setStartBefore(table[0]).collapse(true); self.cmd.select(); table.remove(); self.addBookmark(); }, colinsert : function(offset) { var table = self.plugin.getSelectedTable()[0], row = self.plugin.getSelectedRow()[0], cell = self.plugin.getSelectedCell()[0], index = cell.cellIndex + offset; // 取得第一行的index index += table.rows[0].cells.length - row.cells.length; for (var i = 0, len = table.rows.length; i < len; i++) { var newRow = table.rows[i], newCell = newRow.insertCell(index); newCell.innerHTML = K.IE ? '' : '
                                                        '; // 调整下一行的单元格index index = _getCellIndex(table, newRow, newCell); } self.cmd.range.selectNodeContents(cell).collapse(true); self.cmd.select(); self.addBookmark(); }, colinsertleft : function() { this.colinsert(0); }, colinsertright : function() { this.colinsert(1); }, rowinsert : function(offset) { var table = self.plugin.getSelectedTable()[0], row = self.plugin.getSelectedRow()[0], cell = self.plugin.getSelectedCell()[0]; var rowIndex = row.rowIndex; if (offset === 1) { rowIndex = row.rowIndex + (cell.rowSpan - 1) + offset; } var newRow = table.insertRow(rowIndex); for (var i = 0, len = row.cells.length; i < len; i++) { // 调整cell个数 if (row.cells[i].rowSpan > 1) { len -= row.cells[i].rowSpan - 1; } var newCell = newRow.insertCell(i); // copy colspan if (offset === 1 && row.cells[i].colSpan > 1) { newCell.colSpan = row.cells[i].colSpan; } newCell.innerHTML = K.IE ? '' : '
                                                        '; } // 调整rowspan for (var j = rowIndex; j >= 0; j--) { var cells = table.rows[j].cells; if (cells.length > i) { for (var k = cell.cellIndex; k >= 0; k--) { if (cells[k].rowSpan > 1) { cells[k].rowSpan += 1; } } break; } } self.cmd.range.selectNodeContents(cell).collapse(true); self.cmd.select(); self.addBookmark(); }, rowinsertabove : function() { this.rowinsert(0); }, rowinsertbelow : function() { this.rowinsert(1); }, rowmerge : function() { var table = self.plugin.getSelectedTable()[0], row = self.plugin.getSelectedRow()[0], cell = self.plugin.getSelectedCell()[0], rowIndex = row.rowIndex, // 当前行的index nextRowIndex = rowIndex + cell.rowSpan, // 下一行的index nextRow = table.rows[nextRowIndex]; // 下一行 // 最后一行不能合并 if (table.rows.length <= nextRowIndex) { return; } var cellIndex = cell.cellIndex; // 下一行单元格的index if (nextRow.cells.length <= cellIndex) { return; } var nextCell = nextRow.cells[cellIndex]; // 下一行单元格 // 上下行的colspan不一致时不能合并 if (cell.colSpan !== nextCell.colSpan) { return; } cell.rowSpan += nextCell.rowSpan; nextRow.deleteCell(cellIndex); self.cmd.range.selectNodeContents(cell).collapse(true); self.cmd.select(); self.addBookmark(); }, colmerge : function() { var table = self.plugin.getSelectedTable()[0], row = self.plugin.getSelectedRow()[0], cell = self.plugin.getSelectedCell()[0], rowIndex = row.rowIndex, // 当前行的index cellIndex = cell.cellIndex, nextCellIndex = cellIndex + 1; // 最后一列不能合并 if (row.cells.length <= nextCellIndex) { return; } var nextCell = row.cells[nextCellIndex]; // 左右列的rowspan不一致时不能合并 if (cell.rowSpan !== nextCell.rowSpan) { return; } cell.colSpan += nextCell.colSpan; row.deleteCell(nextCellIndex); self.cmd.range.selectNodeContents(cell).collapse(true); self.cmd.select(); self.addBookmark(); }, rowsplit : function() { var table = self.plugin.getSelectedTable()[0], row = self.plugin.getSelectedRow()[0], cell = self.plugin.getSelectedCell()[0], rowIndex = row.rowIndex; // 不是可分割单元格 if (cell.rowSpan === 1) { return; } var cellIndex = _getCellIndex(table, row, cell); for (var i = 1, len = cell.rowSpan; i < len; i++) { var newRow = table.rows[rowIndex + i], newCell = newRow.insertCell(cellIndex); if (cell.colSpan > 1) { newCell.colSpan = cell.colSpan; } newCell.innerHTML = K.IE ? '' : '
                                                        '; // 调整下一行的单元格index cellIndex = _getCellIndex(table, newRow, newCell); } K(cell).removeAttr('rowSpan'); self.cmd.range.selectNodeContents(cell).collapse(true); self.cmd.select(); self.addBookmark(); }, colsplit : function() { var table = self.plugin.getSelectedTable()[0], row = self.plugin.getSelectedRow()[0], cell = self.plugin.getSelectedCell()[0], cellIndex = cell.cellIndex; // 不是可分割单元格 if (cell.colSpan === 1) { return; } for (var i = 1, len = cell.colSpan; i < len; i++) { var newCell = row.insertCell(cellIndex + i); if (cell.rowSpan > 1) { newCell.rowSpan = cell.rowSpan; } newCell.innerHTML = K.IE ? '' : '
                                                        '; } K(cell).removeAttr('colSpan'); self.cmd.range.selectNodeContents(cell).collapse(true); self.cmd.select(); self.addBookmark(); }, coldelete : function() { var table = self.plugin.getSelectedTable()[0], row = self.plugin.getSelectedRow()[0], cell = self.plugin.getSelectedCell()[0], index = cell.cellIndex; for (var i = 0, len = table.rows.length; i < len; i++) { var newRow = table.rows[i], newCell = newRow.cells[index]; if (newCell.colSpan > 1) { newCell.colSpan -= 1; if (newCell.colSpan === 1) { K(newCell).removeAttr('colSpan'); } } else { newRow.deleteCell(index); } // 跳过不需要删除的行 if (newCell.rowSpan > 1) { i += newCell.rowSpan - 1; } } if (row.cells.length === 0) { self.cmd.range.setStartBefore(table).collapse(true); self.cmd.select(); K(table).remove(); } else { self.cmd.selection(true); } self.addBookmark(); }, rowdelete : function() { var table = self.plugin.getSelectedTable()[0], row = self.plugin.getSelectedRow()[0], cell = self.plugin.getSelectedCell()[0], rowIndex = row.rowIndex; // 从下到上删除 for (var i = cell.rowSpan - 1; i >= 0; i--) { table.deleteRow(rowIndex + i); } if (table.rows.length === 0) { self.cmd.range.setStartBefore(table).collapse(true); self.cmd.select(); K(table).remove(); } else { self.cmd.selection(true); } self.addBookmark(); } }; self.clickToolbar(name, self.plugin.table.prop); }); /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ KindEditor.plugin('template', function(K) { var self = this, name = 'template', lang = self.lang(name + '.'), htmlPath = self.pluginsPath + name + '/html/'; function getFilePath(fileName) { return htmlPath + fileName + '?ver=' + encodeURIComponent(K.DEBUG ? K.TIME : K.VERSION); } self.clickToolbar(name, function() { var lang = self.lang(name + '.'), arr = ['
                                                        ', '
                                                        ', // left start '
                                                        ', lang. selectTemplate + '
                                                        ', // right start '
                                                        ', ' ', '
                                                        ', '
                                                        ', '
                                                        ', '', '
                                                        '].join(''); var dialog = self.createDialog({ name : name, width : 500, title : self.lang(name), body : html, yesBtn : { name : self.lang('yes'), click : function(e) { var doc = K.iframeDoc(iframe); self[checkbox[0].checked ? 'html' : 'insertHtml'](doc.body.innerHTML).hideDialog().focus(); } } }); var selectBox = K('select', dialog.div), checkbox = K('[name="replaceFlag"]', dialog.div), iframe = K('iframe', dialog.div); checkbox[0].checked = true; iframe.attr('src', getFilePath(selectBox.val())); selectBox.change(function() { iframe.attr('src', getFilePath(this.value)); }); }); }); /******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ KindEditor.plugin('wordpaste', function(K) { var self = this, name = 'wordpaste'; self.clickToolbar(name, function() { var lang = self.lang(name + '.'), html = '
                                                        ' + '
                                                        ' + lang.comment + '
                                                        ' + '' + '
                                                        ', dialog = self.createDialog({ name : name, width : 450, title : self.lang(name), body : html, yesBtn : { name : self.lang('yes'), click : function(e) { var str = doc.body.innerHTML; str = K.clearMsWord(str, self.filterMode ? self.htmlTags : K.options.htmlTags); self.insertHtml(str).hideDialog().focus(); } } }), div = dialog.div, iframe = K('iframe', div), doc = K.iframeDoc(iframe); if (!K.IE) { doc.designMode = 'on'; } doc.open(); doc.write('WordPaste'); doc.write(''); if (!K.IE) { doc.write('
                                                        '); } doc.write(''); doc.close(); if (K.IE) { doc.body.contentEditable = 'true'; } iframe[0].contentWindow.focus(); }); }); ================================================ FILE: taotao-manage-web/src/main/webapp/WEB-INF/js/kindeditor-4.1.10/kindeditor-min.js ================================================ /* KindEditor 4.1.10 (2013-11-23), Copyright (C) kindsoft.net, Licence: http://www.kindsoft.net/license.php */(function(w,i){function Z(a){if(!a)return!1;return Object.prototype.toString.call(a)==="[object Array]"}function wa(a){if(!a)return!1;return Object.prototype.toString.call(a)==="[object Function]"}function J(a,b){for(var c=0,d=b.length;c=0}function s(a,b){b=b||"px";return a&&/^\d+$/.test(a)?a+b:a}function t(a){var b;return a&&(b=/(\d+)/.exec(a))?parseInt(b[1],10):0}function C(a){return a.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}function fa(a){return a.replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/&/g,"&")}function ga(a){var b=a.split("-"),a="";m(b,function(b,d){a+=b>0?d.charAt(0).toUpperCase()+ d.substr(1):d});return a}function ya(a){function b(a){a=parseInt(a,10).toString(16).toUpperCase();return a.length>1?a:"0"+a}return a.replace(/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/ig,function(a,d,e,g){return"#"+b(d)+b(e)+b(g)})}function u(a,b){var b=b===i?",":b,c={},d=Z(a)?a:a.split(b),e;m(d,function(a,b){if(e=/^(\d+)\.\.(\d+)$/.exec(b))for(var d=parseInt(e[1],10);d<=parseInt(e[2],10);d++)c[d.toString()]=!0;else c[b]=!0});return c}function Ja(a,b){return Array.prototype.slice.call(a,b||0)} function l(a,b){return a===i?b:a}function E(a,b,c){c||(c=b,b=null);var d;if(b){var e=function(){};e.prototype=b.prototype;d=new e;m(c,function(a,b){d[a]=b})}else d=c;d.constructor=a;a.prototype=d;a.parent=b?b.prototype:null}function eb(a){var b;if(b=/\{[\s\S]*\}|\[[\s\S]*\]/.exec(a))a=b[0];b=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;b.lastIndex=0;b.test(a)&&(a=a.replace(b,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})); if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return eval("("+a+")");throw"JSON parse error";}function Rb(a,b,c){a.addEventListener?a.addEventListener(b,c,fb):a.attachEvent&&a.attachEvent("on"+b,c)}function za(a,b,c){a.removeEventListener?a.removeEventListener(b,c,fb):a.detachEvent&&a.detachEvent("on"+b,c)}function gb(a,b){this.init(a,b)}function hb(a){try{delete a[$]}catch(b){a.removeAttribute&& a.removeAttribute($)}}function aa(a,b,c){if(b.indexOf(",")>=0)m(b.split(","),function(){aa(a,this,c)});else{var d=a[$]||null;d||(a[$]=++ib,d=ib);v[d]===i&&(v[d]={});var e=v[d][b];e&&e.length>0?za(a,b,e[0]):(v[d][b]=[],v[d].el=a);e=v[d][b];e.length===0&&(e[0]=function(b){var c=b?new gb(a,b):i;m(e,function(b,d){b>0&&d&&d.call(a,c)})});J(c,e)<0&&e.push(c);Rb(a,b,e[0])}}function ha(a,b,c){if(b&&b.indexOf(",")>=0)m(b.split(","),function(){ha(a,this,c)});else{var d=a[$]||null;if(d)if(b===i)d in v&&(m(v[d], function(b,c){b!="el"&&c.length>0&&za(a,b,c[0])}),delete v[d],hb(a));else if(v[d]){var e=v[d][b];if(e&&e.length>0){c===i?(za(a,b,e[0]),delete v[d][b]):(m(e,function(a,b){a>0&&b===c&&e.splice(a,1)}),e.length==1&&(za(a,b,e[0]),delete v[d][b]));var g=0;m(v[d],function(){g++});g<2&&(delete v[d],hb(a))}}}}function jb(a,b){if(b.indexOf(",")>=0)m(b.split(","),function(){jb(a,this)});else{var c=a[$]||null;if(c){var d=v[c][b];if(v[c]&&d&&d.length>0)d[0]()}}}function Ka(a,b,c){b=/^\d{2,}$/.test(b)?b:b.toUpperCase().charCodeAt(0); aa(a,"keydown",function(d){d.ctrlKey&&d.which==b&&!d.shiftKey&&!d.altKey&&(c.call(a),d.stop())})}function ba(a){for(var b={},c=/\s*([\w\-]+)\s*:([^;]*)(;|$)/g,d;d=c.exec(a);){var e=B(d[1].toLowerCase());d=B(ya(d[2]));b[e]=d}return b}function I(a){for(var b={},c=/\s+(?:([\w\-:]+)|(?:([\w\-:]+)=([^\s"'<>]+))|(?:([\w\-:"]+)="([^"]*)")|(?:([\w\-:"]+)='([^']*)'))(?=(?:\s|\/|>)+)/g,d;d=c.exec(a);){var e=(d[1]||d[2]||d[4]||d[6]).toLowerCase();b[e]=(d[2]?d[3]:d[4]?d[5]:d[7])||""}return b}function Sb(a,b){return a= /\s+class\s*=/.test(a)?a.replace(/(\s+class=["']?)([^"']*)(["']?[\s>])/,function(a,d,e,g){return(" "+e+" ").indexOf(" "+b+" ")<0?e===""?d+b+g:d+e+" "+b+g:a}):a.substr(0,a.length-1)+' class="'+b+'">'}function Tb(a){var b="";m(ba(a),function(a,d){b+=a+":"+d+";"});return b}function ia(a,b,c,d){function e(a){for(var a=a.split("/"),b=[],c=0,d=a.length;c0&&b.pop():e!==""&&e!="."&&b.push(e)}return"/"+b.join("/")}function g(b,c){if(a.substr(0,b.length)===b){for(var e=[], h=0;h0&&(h+="/"+e.join("/"));d=="/"&&(h+="/");return h+a.substr(b.length)}else if(f=/^(.*)\//.exec(b))return g(f[1],++c)}b=l(b,"").toLowerCase();a.substr(0,5)!="data:"&&(a=a.replace(/([^:])\/\//g,"$1/"));if(J(b,["absolute","relative","domain"])<0)return a;c=c||location.protocol+"//"+location.host;if(d===i)var h=location.pathname.match(/^(\/.*)\//),d=h?h[1]:"";var f;if(f=/^(\w+:\/\/[^\/]*)/.exec(a)){if(f[1]!==c)return a}else if(/^\w+:/.test(a))return a;/^\//.test(a)? a=c+e(a.substr(1)):/^\w+:\/\//.test(a)||(a=c+e(d+"/"+a));b==="relative"?a=g(c+d,0).substr(2):b==="absolute"&&a.substr(0,c.length)===c&&(a=a.substr(c.length));return a}function U(a,b,c,d,e){a==null&&(a="");var c=c||"",d=l(d,!1),e=l(e,"\t"),g="xx-small,x-small,small,medium,large,x-large,xx-large".split(","),a=a.replace(/(<(?:pre|pre\s[^>]*)>)([\s\S]*?)(<\/pre>)/ig,function(a,b,c,d){return b+c.replace(/<(?:br|br\s[^>]*)>/ig,"\n")+d}),a=a.replace(/<(?:br|br\s[^>]*)\s*\/?>\s*<\/p>/ig,"

                                                        "),a=a.replace(/(<(?:p|p\s[^>]*)>)\s*(<\/p>)/ig, "$1
                                                        $2"),a=a.replace(/\u200B/g,""),a=a.replace(/\u00A9/g,"©"),a=a.replace(/\u00AE/g,"®"),a=a.replace(/<[^>]+/g,function(a){return a.replace(/\s+/g," ")}),h={};b&&(m(b,function(a,b){for(var c=a.split(","),d=0,e=c.length;d]*)>)([\s\S]*?)(<\/script>)/ig,"")),h.style||(a=a.replace(/(<(?:style|style\s[^>]*)>)([\s\S]*?)(<\/style>)/ig,"")));var f=[],a=a.replace(/(\s*)<(\/)?([\w\-:]+)((?:\s+|(?:\s+[\w\-:]+)|(?:\s+[\w\-:]+=[^\s"'<>]+)|(?:\s+[\w\-:"]+="[^"]*")|(?:\s+[\w\-:"]+='[^']*'))*)(\/)?>(\s*)/g, function(a,n,q,r,K,ja,i){var n=n||"",q=q||"",l=r.toLowerCase(),o=K||"",r=ja?" "+ja:"",i=i||"";if(b&&!h[l])return"";r===""&&kb[l]&&(r=" /");lb[l]&&(n&&(n=" "),i&&(i=" "));La[l]&&(q?i="\n":n="\n");d&&l=="br"&&(i="\n");if(mb[l]&&!La[l])if(d){q&&f.length>0&&f[f.length-1]===l?f.pop():f.push(l);i=n="\n";K=0;for(ja=q?f.length:f.length-1;K=0&&(z[a]=ia(d,c));(b&&a!=="style"&&!h[l]["*"]&&!h[l][a]||l==="body"&&a==="contenteditable"||/^kindeditor_\d+$/.test(a))&&delete z[a];if(a==="style"&&d!==""){var e=ba(d);m(e,function(a){b&&!h[l].style&&!h[l]["."+a]&&delete e[a]}); var g="";m(e,function(a,b){g+=a+":"+b+";"});z.style=g}});o="";m(z,function(a,b){a==="style"&&b===""||(b=b.replace(/"/g,"""),o+=" "+a+'="'+b+'"')})}l==="font"&&(l="span");return n+"<"+q+l+o+r+">"+i}),a=a.replace(/(<(?:pre|pre\s[^>]*)>)([\s\S]*?)(<\/pre>)/ig,function(a,b,c,d){return b+c.replace(/\n/g,'\n')+d}),a=a.replace(/\n\s*\n/g,"\n"),a=a.replace(/\n/g,"\n");return B(a)}function nb(a,b){a=a.replace(//ig, "").replace(//ig,"").replace(/]*>[\s\S]*?<\/style>/ig,"").replace(/]*>[\s\S]*?<\/script>/ig,"").replace(/]+>[\s\S]*?<\/w:[^>]+>/ig,"").replace(/]+>[\s\S]*?<\/o:[^>]+>/ig,"").replace(/[\s\S]*?<\/xml>/ig,"").replace(/<(?:table|td)[^>]*>/ig,function(a){return a.replace(/border-bottom:([#\w\s]+)/ig,"border:$1")});return U(a,b)}function ob(a){if(/\.(rm|rmvb)(\?|$)/i.test(a))return"audio/x-pn-realaudio-plugin";if(/\.(swf|flv)(\?|$)/i.test(a))return"application/x-shockwave-flash"; return"video/x-ms-asf-plugin"}function pb(a){return I(unescape(a))}function Ma(a){var b="0&&(h+="width:"+c+"px;");/\D/.test(d)?h+="height:"+d+";":d>0&&(h+="height:"+d+"px;");c=/realaudio/i.test(e)?"ke-rm":/flash/i.test(e)?"ke-flash":"ke-media";c='';return c}function Aa(a,b){if(a.nodeType==9&&b.nodeType!=9)return!0;for(;b=b.parentNode;)if(b==a)return!0;return!1}function Ba(a,b){var b=b.toLowerCase(),c=null;if(!Vb&&a.nodeName.toLowerCase()!="script"){var d=a.ownerDocument.createElement("div");d.appendChild(a.cloneNode(!1));d=I(fa(d.innerHTML));b in d&&(c=d[b])}else try{c=a.getAttribute(b,2)}catch(e){c=a.getAttribute(b,1)}b==="style"&&c!==null&&(c=Tb(c));return c}function Ca(a,b){function c(a){if(typeof a!="string")return a;return a.replace(/([^\w\-])/g, "\\$1")}function d(a,b){return a==="*"||a.toLowerCase()===c(b.toLowerCase())}function e(a,b,c){var e=[];(a=(c.ownerDocument||c).getElementById(a.replace(/\\/g,"")))&&d(b,a.nodeName)&&Aa(c,a)&&e.push(a);return e}function g(a,b,c){var e=c.ownerDocument||c,g=[],h,f,j;if(c.getElementsByClassName){e=c.getElementsByClassName(a.replace(/\\/g,""));h=0;for(f=e.length;h-1&&g.push(j)}return g}function h(a,b,d,e){for(var g=[],d=e.getElementsByTagName(d),h=0,f=d.length;h])+)/.exec(a))?j[1]:"*";if(j=/#((?:[\w\-]|\\.)+)$/.exec(a))c= e(j[1],k,b);else if(j=/\.((?:[\w\-]|\\.)+)$/.exec(a))c=g(j[1],k,b);else if(j=/\[((?:[\w\-]|\\.)+)\]/.exec(a))c=h(j[1].toLowerCase(),null,k,b);else if(j=/\[((?:[\w\-]|\\.)+)\s*=\s*['"]?((?:\\.|[^'"]+)+)['"]?\]/.exec(a)){c=j[1].toLowerCase();j=j[2];if(c==="id")k=e(j,k,b);else if(c==="class")k=g(j,k,b);else if(c==="name"){c=[];j=(b.ownerDocument||b).getElementsByName(j.replace(/\\/g,""));for(var n,r=0,q=j.length;r1){var n=[];m(k,function(){m(Ca(this,b),function(){J(this,n)<0&&n.push(this)})});return n}for(var b=b||document,k=[],q,r=/((?:\\.|[^\s>])+|[\s>])/g;q=r.exec(a);)q[1]!==" "&&k.push(q[1]);q=[];if(k.length==1)return f(k[0],b);var r=!1,K,l,i,o,p,z,L,F,s,t;z=0;for(lenth=k.length;z")r=!0;else{if(z>0){l=[];L=0;for(s=q.length;L