/*!
* UEditor
* version: ueditor
* build: Thu May 29 2014 16:47:49 GMT+0800 (中国标准时间)
*/
(function(){
// editor.js
UEDITOR_CONFIG = window.UEDITOR_CONFIG || {};
var baidu = window.baidu || {};
window.baidu = baidu;
window.UE = baidu.editor = window.UE || {};
UE.plugins = {};
UE.commands = {};
UE.instants = {};
UE.I18N = {};
UE._customizeUI = {};
UE.version = "1.4.3";
var dom = UE.dom = {};
// core/browser.js
/**
* 浏览器判断模块
* @file
* @module UE.browser
* @since 1.2.6.1
*/
/**
* 提供浏览器检测的模块
* @unfile
* @module UE.browser
*/
var browser = UE.browser = function(){
var agent = navigator.userAgent.toLowerCase(),
opera = window.opera,
browser = {
/**
* @property {boolean} ie 检测当前浏览器是否为IE
* @example
* ```javascript
* if ( UE.browser.ie ) {
* console.log( '当前浏览器是IE' );
* }
* ```
*/
ie : /(msie\s|trident.*rv:)([\w.]+)/.test(agent),
/**
* @property {boolean} opera 检测当前浏览器是否为Opera
* @example
* ```javascript
* if ( UE.browser.opera ) {
* console.log( '当前浏览器是Opera' );
* }
* ```
*/
opera : ( !!opera && opera.version ),
/**
* @property {boolean} webkit 检测当前浏览器是否是webkit内核的浏览器
* @example
* ```javascript
* if ( UE.browser.webkit ) {
* console.log( '当前浏览器是webkit内核浏览器' );
* }
* ```
*/
webkit : ( agent.indexOf( ' applewebkit/' ) > -1 ),
/**
* @property {boolean} mac 检测当前浏览器是否是运行在mac平台下
* @example
* ```javascript
* if ( UE.browser.mac ) {
* console.log( '当前浏览器运行在mac平台下' );
* }
* ```
*/
mac : ( agent.indexOf( 'macintosh' ) > -1 ),
/**
* @property {boolean} quirks 检测当前浏览器是否处于“怪异模式”下
* @example
* ```javascript
* if ( UE.browser.quirks ) {
* console.log( '当前浏览器运行处于“怪异模式”' );
* }
* ```
*/
quirks : ( document.compatMode == 'BackCompat' )
};
/**
* @property {boolean} gecko 检测当前浏览器内核是否是gecko内核
* @example
* ```javascript
* if ( UE.browser.gecko ) {
* console.log( '当前浏览器内核是gecko内核' );
* }
* ```
*/
browser.gecko =( navigator.product == 'Gecko' && !browser.webkit && !browser.opera && !browser.ie);
var version = 0;
// Internet Explorer 6.0+
if ( browser.ie ){
var v1 = agent.match(/(?:msie\s([\w.]+))/);
var v2 = agent.match(/(?:trident.*rv:([\w.]+))/);
if(v1 && v2 && v1[1] && v2[1]){
version = Math.max(v1[1]*1,v2[1]*1);
}else if(v1 && v1[1]){
version = v1[1]*1;
}else if(v2 && v2[1]){
version = v2[1]*1;
}else{
version = 0;
}
browser.ie11Compat = document.documentMode == 11;
/**
* @property { boolean } ie9Compat 检测浏览器模式是否为 IE9 兼容模式
* @warning 如果浏览器不是IE, 则该值为undefined
* @example
* ```javascript
* if ( UE.browser.ie9Compat ) {
* console.log( '当前浏览器运行在IE9兼容模式下' );
* }
* ```
*/
browser.ie9Compat = document.documentMode == 9;
/**
* @property { boolean } ie8 检测浏览器是否是IE8浏览器
* @warning 如果浏览器不是IE, 则该值为undefined
* @example
* ```javascript
* if ( UE.browser.ie8 ) {
* console.log( '当前浏览器是IE8浏览器' );
* }
* ```
*/
browser.ie8 = !!document.documentMode;
/**
* @property { boolean } ie8Compat 检测浏览器模式是否为 IE8 兼容模式
* @warning 如果浏览器不是IE, 则该值为undefined
* @example
* ```javascript
* if ( UE.browser.ie8Compat ) {
* console.log( '当前浏览器运行在IE8兼容模式下' );
* }
* ```
*/
browser.ie8Compat = document.documentMode == 8;
/**
* @property { boolean } ie7Compat 检测浏览器模式是否为 IE7 兼容模式
* @warning 如果浏览器不是IE, 则该值为undefined
* @example
* ```javascript
* if ( UE.browser.ie7Compat ) {
* console.log( '当前浏览器运行在IE7兼容模式下' );
* }
* ```
*/
browser.ie7Compat = ( ( version == 7 && !document.documentMode )
|| document.documentMode == 7 );
/**
* @property { boolean } ie6Compat 检测浏览器模式是否为 IE6 模式 或者怪异模式
* @warning 如果浏览器不是IE, 则该值为undefined
* @example
* ```javascript
* if ( UE.browser.ie6Compat ) {
* console.log( '当前浏览器运行在IE6模式或者怪异模式下' );
* }
* ```
*/
browser.ie6Compat = ( version < 7 || browser.quirks );
browser.ie9above = version > 8;
browser.ie9below = version < 9;
browser.ie11above = version > 10;
browser.ie11below = version < 11;
}
// Gecko.
if ( browser.gecko ){
var geckoRelease = agent.match( /rv:([\d\.]+)/ );
if ( geckoRelease )
{
geckoRelease = geckoRelease[1].split( '.' );
version = geckoRelease[0] * 10000 + ( geckoRelease[1] || 0 ) * 100 + ( geckoRelease[2] || 0 ) * 1;
}
}
/**
* @property { Number } chrome 检测当前浏览器是否为Chrome, 如果是,则返回Chrome的大版本号
* @warning 如果浏览器不是chrome, 则该值为undefined
* @example
* ```javascript
* if ( UE.browser.chrome ) {
* console.log( '当前浏览器是Chrome' );
* }
* ```
*/
if (/chrome\/(\d+\.\d)/i.test(agent)) {
browser.chrome = + RegExp['\x241'];
}
/**
* @property { Number } safari 检测当前浏览器是否为Safari, 如果是,则返回Safari的大版本号
* @warning 如果浏览器不是safari, 则该值为undefined
* @example
* ```javascript
* if ( UE.browser.safari ) {
* console.log( '当前浏览器是Safari' );
* }
* ```
*/
if(/(\d+\.\d)?(?:\.\d)?\s+safari\/?(\d+\.\d+)?/i.test(agent) && !/chrome/i.test(agent)){
browser.safari = + (RegExp['\x241'] || RegExp['\x242']);
}
// Opera 9.50+
if ( browser.opera )
version = parseFloat( opera.version() );
// WebKit 522+ (Safari 3+)
if ( browser.webkit )
version = parseFloat( agent.match( / applewebkit\/(\d+)/ )[1] );
/**
* @property { Number } version 检测当前浏览器版本号
* @remind
* <ul>
* <li>IE系列返回值为5,6,7,8,9,10等</li>
* <li>gecko系列会返回10900,158900等</li>
* <li>webkit系列会返回其build号 (如 522等)</li>
* </ul>
* @example
* ```javascript
* console.log( '当前浏览器版本号是: ' + UE.browser.version );
* ```
*/
browser.version = version;
/**
* @property { boolean } isCompatible 检测当前浏览器是否能够与UEditor�
没有合适的资源?快使用搜索试试~ 我知道了~
springboot实现点餐系统+包含前端后端+详细运行流程指导完档
共2232个文件
js:506个
png:362个
jpg:318个
5 下载量 188 浏览量
2022-11-07
19:57:09
上传
评论
收藏 50.23MB ZIP 举报
温馨提示
springboot实现点餐系统,完全适用于转本科毕设部分,可以在此基础自己修改,可做参考。包含详细的运行指导流程文档,可以自己运行。本系统分为前端和后端两部分,前端界面丰富美观,包含:登录、首页、查询、订单和物流等界面。
资源推荐
资源详情
资源评论
收起资源包目录
springboot实现点餐系统+包含前端后端+详细运行流程指导完档 (2232个子文件)
56989071ee3280ce0c2ec94a9fbd6e75a91a4a 28KB
controller.ashx 3KB
controller.ashx 3KB
ASPJson.class.asp 10KB
ASPJson.class.asp 10KB
Uploader.Class.asp 6KB
Uploader.Class.asp 6KB
MultiformProcessor.class.asp 4KB
MultiformProcessor.class.asp 4KB
PathFormatter.class.asp 3KB
PathFormatter.class.asp 3KB
action_list.asp 2KB
action_list.asp 2KB
controller.asp 1KB
controller.asp 1KB
action_upload.asp 924B
action_upload.asp 924B
action_crawler.asp 859B
action_crawler.asp 859B
config_loader.asp 563B
config_loader.asp 563B
action_config.asp 169B
action_config.asp 169B
Back_ProductController.class 13KB
UserController.class 9KB
Back_OrderController.class 8KB
OrderController.class 7KB
Order.class 7KB
Product.class 6KB
ProductController.class 6KB
LoginController.class 6KB
ObjectExcelViewOrder.class 6KB
Back_HomeController.class 6KB
Leave.class 5KB
Back_AdminController.class 5KB
ProductServiceImpl.class 5KB
UserServiceImpl.class 5KB
Evaluate.class 5KB
OrderServiceImpl.class 5KB
HomeController.class 5KB
UserInfo.class 5KB
PaymentUtil.class 5KB
OrderExcelExportVO.class 4KB
User.class 4KB
ShiroConfig.class 4KB
VerifyCode.class 4KB
Notice.class 4KB
Back_LeaveController.class 4KB
ProductOrder.class 3KB
UserDTO.class 3KB
ObjectExcelUtil.class 3KB
Back_NoticeController.class 3KB
ProductBanner.class 3KB
Back_EchartsController.class 3KB
ProductMapper.class 2KB
NoticeServiceImpl.class 2KB
LeaveServiceImpl.class 2KB
JsonUtil.class 2KB
EvaServiceImpl.class 2KB
ResponseMessageEnum.class 2KB
ProductKind.class 2KB
OrderStatusCountVO.class 2KB
ProductService.class 2KB
OrderAddressCountVO.class 2KB
Role.class 2KB
UUIDUtils.class 2KB
AuthRealm.class 2KB
JsonUtil$1.class 2KB
UserMapper.class 2KB
JsonUtil$JsonDateSerializer.class 2KB
UserRoleEnum.class 1KB
UserService.class 1KB
OrderMapper.class 1KB
PropUtils.class 1KB
ProductKindServiceImpl.class 1KB
EchartsServiceImpl.class 1KB
OrderService.class 1KB
FrameworkApplication.class 1KB
HeadController.class 964B
ProductOrderServiceImpl.class 946B
LeaveMapper.class 928B
RoleServiceImpl.class 801B
EvaMapper.class 731B
UserInfoMapper.class 675B
LeaveService.class 665B
NoticeMapper.class 634B
UserRoleMapper.class 555B
EchartsMapper.class 527B
EvaService.class 500B
NoticeService.class 485B
EchartsService.class 449B
ProductKindMapper.class 393B
ProductOrderMapper.class 383B
RoleMapper.class 319B
ProductKindService.class 314B
ProductOrderService.class 305B
RoleService.class 241B
Web.config 462B
Web.config 462B
config 329B
共 2232 条
- 1
- 2
- 3
- 4
- 5
- 6
- 23
资源评论
阳光不锈@
- 粉丝: 3w+
- 资源: 48
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功