Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
starsw001
ShopXO
提交
1e100a44
ShopXO
项目概览
starsw001
/
ShopXO
与 Fork 源项目一致
Fork自
纵之格 / ShopXO
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ShopXO
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
1e100a44
编写于
12月 30, 2020
作者:
D
Devil
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
细节优化
上级
70cac92a
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
17 addition
and
14 deletion
+17
-14
public/static/common/js/common.js
public/static/common/js/common.js
+11
-8
public/static/index/default/js/cart.js
public/static/index/default/js/cart.js
+1
-1
public/static/index/default/js/goods.js
public/static/index/default/js/goods.js
+3
-3
public/static/index/default/js/pay.qrcode.js
public/static/index/default/js/pay.qrcode.js
+1
-1
public/static/index/default/js/search.js
public/static/index/default/js/search.js
+1
-1
未找到文件。
public/static/common/js/common.js
浏览文件 @
1e100a44
...
...
@@ -5,7 +5,7 @@
* @version 0.0.1
* @datetime 2016-12-10T14:32:39+0800
* @param {[string]} msg [提示信息]
* @param {[string]} type [类型(失败:
dange
r, 警告:warning, 成功:success)]
* @param {[string]} type [类型(失败:
erro
r, 警告:warning, 成功:success)]
* @param {[int]} time [自动关闭时间(秒), 默认3秒]
*/
var
temp_time_out
;
...
...
@@ -21,7 +21,10 @@ function Prompt(msg, type, time)
// 提示信息添加
$
(
'
#common-prompt
'
).
remove
();
if
((
type
||
null
)
==
null
)
type
=
'
danger
'
;
if
((
type
||
null
)
==
null
)
{
type
=
'
danger
'
;
}
// icon图标, 默认错误
var
icon
=
'
am-icon-times-circle
'
;
...
...
@@ -509,7 +512,7 @@ function FromInit(form_name)
{
$
.
AMUI
.
progress
.
done
();
$button
.
button
(
'
reset
'
);
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
'
danger
'
,
30
);
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
null
,
30
);
}
});
}
...
...
@@ -1095,7 +1098,7 @@ function DataDelete(e)
error
:
function
(
xhr
,
type
)
{
$
.
AMUI
.
progress
.
done
();
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
'
danger
'
,
30
);
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
null
,
30
);
}
});
}
...
...
@@ -1203,7 +1206,7 @@ function AjaxRequest(e)
error
:
function
(
xhr
,
type
)
{
$
.
AMUI
.
progress
.
done
();
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
'
danger
'
,
30
);
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
null
,
30
);
}
});
}
...
...
@@ -1994,7 +1997,7 @@ $(function()
{
$
.
AMUI
.
progress
.
done
();
$button
.
button
(
'
reset
'
);
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
'
danger
'
,
30
);
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
null
,
30
);
}
});
});
...
...
@@ -2106,7 +2109,7 @@ $(function()
error
:
function
(
xhr
,
type
)
{
$
.
AMUI
.
progress
.
done
();
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
'
danger
'
,
30
);
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
null
,
30
);
}
});
},
...
...
@@ -2261,7 +2264,7 @@ $(function()
error
:
function
(
xhr
,
type
)
{
$
.
AMUI
.
progress
.
done
();
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
'
danger
'
,
30
);
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
null
,
30
);
}
});
});
...
...
public/static/index/default/js/cart.js
浏览文件 @
1e100a44
...
...
@@ -90,7 +90,7 @@ $(function()
error
:
function
(
xhr
,
type
)
{
$
.
AMUI
.
progress
.
done
();
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
'
danger
'
,
30
);
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
null
,
30
);
}
});
}
...
...
public/static/index/default/js/goods.js
浏览文件 @
1e100a44
...
...
@@ -245,7 +245,7 @@ function GoodsSpecDetail()
error
:
function
(
xhr
,
type
)
{
$
.
AMUI
.
progress
.
done
();
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
'
danger
'
,
30
);
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
null
,
30
);
}
});
}
...
...
@@ -326,7 +326,7 @@ function GoodsSpecType()
error
:
function
(
xhr
,
type
)
{
$
.
AMUI
.
progress
.
done
();
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
'
danger
'
,
30
);
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
null
,
30
);
}
});
}
...
...
@@ -550,7 +550,7 @@ $(function() {
{
PoptitClose
();
$
.
AMUI
.
progress
.
done
();
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
'
danger
'
,
30
);
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
null
,
30
);
}
});
}
...
...
public/static/index/default/js/pay.qrcode.js
浏览文件 @
1e100a44
...
...
@@ -34,7 +34,7 @@ $(function()
},
error
:
function
(
xhr
,
type
)
{
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
'
danger
'
,
30
);
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
null
,
30
);
}
});
},
2000
);
...
...
public/static/index/default/js/search.js
浏览文件 @
1e100a44
...
...
@@ -213,7 +213,7 @@ $(function()
$
(
'
.loding-view
'
).
hide
();
$
(
'
.search-pages-submit
'
).
hide
();
$
(
'
.table-no
'
).
show
();
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
'
danger
'
,
30
);
Prompt
(
HtmlToString
(
xhr
.
responseText
)
||
'
异常错误
'
,
null
,
30
);
}
});
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录