Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
京东前端
nutui
提交
0ecd8b6e
N
nutui
项目概览
京东前端
/
nutui
通知
37
Star
4
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
N
nutui
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0ecd8b6e
编写于
5月 11, 2018
作者:
L
lifeifan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
b3e30f9d
变更
106
展开全部
隐藏空白更改
内联
并排
Showing
106 changed file
with
104 addition
and
104 deletion
+104
-104
dist/0.js
dist/0.js
+1
-1
dist/1.js
dist/1.js
+1
-1
dist/10.js
dist/10.js
+1
-1
dist/11.js
dist/11.js
+1
-1
dist/12.js
dist/12.js
+1
-1
dist/13.js
dist/13.js
+1
-1
dist/14.js
dist/14.js
+1
-1
dist/15.js
dist/15.js
+1
-1
dist/16.js
dist/16.js
+1
-1
dist/17.js
dist/17.js
+1
-1
dist/18.js
dist/18.js
+1
-1
dist/19.js
dist/19.js
+1
-1
dist/2.js
dist/2.js
+1
-1
dist/20.js
dist/20.js
+1
-1
dist/21.js
dist/21.js
+1
-1
dist/22.js
dist/22.js
+1
-1
dist/23.js
dist/23.js
+1
-1
dist/24.js
dist/24.js
+1
-1
dist/25.js
dist/25.js
+1
-1
dist/26.js
dist/26.js
+1
-1
dist/27.js
dist/27.js
+1
-1
dist/28.js
dist/28.js
+1
-1
dist/29.js
dist/29.js
+1
-1
dist/3.js
dist/3.js
+1
-1
dist/30.js
dist/30.js
+1
-1
dist/31.js
dist/31.js
+1
-1
dist/32.js
dist/32.js
+1
-1
dist/33.js
dist/33.js
+1
-1
dist/34.js
dist/34.js
+1
-1
dist/35.js
dist/35.js
+1
-1
dist/36.js
dist/36.js
+1
-1
dist/37.js
dist/37.js
+1
-1
dist/38.js
dist/38.js
+1
-1
dist/39.js
dist/39.js
+1
-1
dist/4.js
dist/4.js
+1
-1
dist/40.js
dist/40.js
+1
-1
dist/41.js
dist/41.js
+1
-1
dist/42.js
dist/42.js
+1
-1
dist/43.js
dist/43.js
+1
-1
dist/44.js
dist/44.js
+1
-1
dist/45.js
dist/45.js
+1
-1
dist/46.js
dist/46.js
+1
-1
dist/47.js
dist/47.js
+1
-1
dist/48.js
dist/48.js
+1
-1
dist/49.js
dist/49.js
+1
-1
dist/5.js
dist/5.js
+1
-1
dist/50.js
dist/50.js
+1
-1
dist/51.js
dist/51.js
+1
-1
dist/52.js
dist/52.js
+1
-1
dist/53.js
dist/53.js
+1
-1
dist/54.js
dist/54.js
+1
-1
dist/55.js
dist/55.js
+1
-1
dist/56.js
dist/56.js
+1
-1
dist/57.js
dist/57.js
+1
-1
dist/58.js
dist/58.js
+1
-1
dist/59.js
dist/59.js
+1
-1
dist/6.js
dist/6.js
+1
-1
dist/60.js
dist/60.js
+1
-1
dist/61.js
dist/61.js
+1
-1
dist/62.js
dist/62.js
+1
-1
dist/63.js
dist/63.js
+1
-1
dist/64.js
dist/64.js
+1
-1
dist/65.js
dist/65.js
+1
-1
dist/66.js
dist/66.js
+1
-1
dist/67.js
dist/67.js
+1
-1
dist/68.js
dist/68.js
+1
-1
dist/69.js
dist/69.js
+1
-1
dist/7.js
dist/7.js
+1
-1
dist/70.js
dist/70.js
+1
-1
dist/71.js
dist/71.js
+1
-1
dist/72.js
dist/72.js
+1
-1
dist/73.js
dist/73.js
+1
-1
dist/74.js
dist/74.js
+1
-1
dist/75.js
dist/75.js
+1
-1
dist/76.js
dist/76.js
+1
-1
dist/77.js
dist/77.js
+1
-1
dist/78.js
dist/78.js
+1
-1
dist/79.js
dist/79.js
+1
-1
dist/8.js
dist/8.js
+1
-1
dist/80.js
dist/80.js
+1
-1
dist/81.js
dist/81.js
+1
-1
dist/82.js
dist/82.js
+1
-1
dist/83.js
dist/83.js
+1
-1
dist/84.js
dist/84.js
+1
-1
dist/85.js
dist/85.js
+1
-1
dist/86.js
dist/86.js
+1
-1
dist/87.js
dist/87.js
+1
-1
dist/88.js
dist/88.js
+1
-1
dist/89.js
dist/89.js
+1
-1
dist/9.js
dist/9.js
+1
-1
dist/90.js
dist/90.js
+1
-1
dist/91.js
dist/91.js
+1
-1
dist/92.js
dist/92.js
+1
-1
dist/93.js
dist/93.js
+1
-1
dist/94.js
dist/94.js
+1
-1
dist/95.js
dist/95.js
+1
-1
dist/96.js
dist/96.js
+1
-1
dist/97.js
dist/97.js
+1
-1
dist/98.js
dist/98.js
+1
-1
dist/app.js
dist/app.js
+1
-1
dist/asset/img/share.png
dist/asset/img/share.png
+0
-0
dist/default.html
dist/default.html
+1
-1
dist/demo.js
dist/demo.js
+1
-1
dist/nutui.js
dist/nutui.js
+1
-1
src/asset/img/share.png
src/asset/img/share.png
+0
-0
src/default.html
src/default.html
+1
-1
未找到文件。
dist/0.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
0
],{
180
:
function
(
t
,
e
,
a
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
});
var
o
=
a
(
80
),
l
=
a
.
n
(
o
),
i
=
a
(
81
),
f
=
a
.
n
(
i
),
n
=
new
l
.
a
({
id
:
"
method
"
,
use
:
"
method-usage
"
,
viewBox
:
"
0 0 86 20
"
,
content
:
'
<symbol viewBox="0 0 86 20" id="method"><linearGradient id="method_b" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1" /><stop offset="1" stop-opacity=".1" /></linearGradient><clipPath id="method_a"><rect width="86" height="20" rx="3" fill="#fff" /></clipPath><g clip-path="url(#method_a)"><path fill="#555" d="M0 0h33v20H0z" /><path fill="#e05d44" d="M33 0h53v20H33z" /><path fill="url(#method_b)" d="M0 0h86v20H0z" /></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110"><text x="175" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="230">方法</text><text x="175" y="140" transform="scale(.1)" textLength="230">方法</text><text x="585" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="430">method</text><text x="585" y="140" transform="scale(.1)" textLength="430">method</text></g> </symbol>
'
});
f
.
a
.
add
(
n
);
e
.
default
=
n
}});
\ No newline at end of file
dist/1.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
1
],{
179
:
function
(
t
,
e
,
l
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
});
var
i
=
l
(
80
),
a
=
l
.
n
(
i
),
f
=
l
(
81
),
r
=
l
.
n
(
f
),
n
=
new
a
.
a
({
id
:
"
filter
"
,
use
:
"
filter-usage
"
,
viewBox
:
"
0 0 78 20
"
,
content
:
'
<symbol viewBox="0 0 78 20" id="filter"><linearGradient id="filter_b" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1" /><stop offset="1" stop-opacity=".1" /></linearGradient><clipPath id="filter_a"><rect width="78" height="20" rx="3" fill="#fff" /></clipPath><g clip-path="url(#filter_a)"><path fill="#555" d="M0 0h43v20H0z" /><path fill="#fe7d37" d="M43 0h35v20H43z" /><path fill="url(#filter_b)" d="M0 0h78v20H0z" /></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110"><text x="225" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="330">过滤器</text><text x="225" y="140" transform="scale(.1)" textLength="330">过滤器</text><text x="595" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="250">filter</text><text x="595" y="140" transform="scale(.1)" textLength="250">filter</text></g> </symbol>
'
});
r
.
a
.
add
(
n
);
e
.
default
=
n
}});
\ No newline at end of file
dist/10.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
10
],{
1003
:
function
(
t
,
e
,
r
){
e
=
t
.
exports
=
r
(
2
)(),
e
.
push
([
t
.
i
,
"
#previewBox{width:100%}#previewBox img{max-width:60%}
"
,
""
])},
1102
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
r
=
t
.
_self
.
_c
||
e
;
return
r
(
"
div
"
,[
r
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
文件异步上传组件,支持预览本地图片。
"
,
showQrCode
:
!
1
}}),
t
.
_v
(
"
"
),
r
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
r
(
"
div
"
,{
attrs
:{
id
:
"
previewBox
"
},
domProps
:{
innerHTML
:
t
.
_s
(
t
.
preview
)}}),
t
.
_v
(
"
"
),
r
(
"
div
"
,{
attrs
:{
id
:
"
progressBox
"
}},[
t
.
_v
(
t
.
_s
(
t
.
progress
))]),
t
.
_v
(
"
"
),
r
(
"
nut-uploader
"
,{
attrs
:{
url
:
""
,
preview
:
!
0
},
on
:{
start
:
t
.
uploadStart
,
progress
:
t
.
uploadProgress
,
success
:
t
.
uploadSuccess
,
failure
:
t
.
uploadFailure
,
preview
:
t
.
uploadPreview
,
showMsg
:
t
.
errTip
}}),
t
.
_v
(
"
"
),
r
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo
}}),
t
.
_v
(
"
"
),
r
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
}}),
t
.
_v
(
"
"
),
r
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
r
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
r
=
t
.
_self
.
_c
||
e
;
return
r
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
r
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
r
(
"
thead
"
,[
r
(
"
tr
"
,[
r
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
r
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
r
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
r
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
r
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
r
(
"
tbody
"
,[
r
(
"
tr
"
,[
r
(
"
td
"
,[
t
.
_v
(
"
url
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
上传地址
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
r
(
"
tr
"
,[
r
(
"
td
"
,[
t
.
_v
(
"
preview
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
是否开启预览
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
预览的是本地图片
"
)])]),
t
.
_v
(
"
"
),
r
(
"
tr
"
,[
r
(
"
td
"
,[
t
.
_v
(
"
maxSize
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
上传最大限制(字节)
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
5242880(5M)
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
)]),
t
.
_v
(
"
"
),
r
(
"
tr
"
,[
r
(
"
td
"
,[
t
.
_v
(
"
acceptType
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
支持上传的文件类型
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
Array
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
['image/jpeg', 'image/png', 'image/gif', 'image/bmp']
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
)]),
t
.
_v
(
"
"
),
r
(
"
tr
"
,[
r
(
"
td
"
,[
t
.
_v
(
"
attach
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
附加上传的信息
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
Object
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
{}
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
需要随图片一起通过Request Payload发送的参数及值
"
)])])])])])},
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
r
=
t
.
_self
.
_c
||
e
;
return
r
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
r
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
r
(
"
thead
"
,[
r
(
"
tr
"
,[
r
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
r
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
r
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
r
(
"
tbody
"
,[
r
(
"
tr
"
,[
r
(
"
td
"
,[
t
.
_v
(
"
start
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
上传开始时触发
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
r
(
"
tr
"
,[
r
(
"
td
"
,[
t
.
_v
(
"
progress
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
上传进度
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
file:文件;loaded:已上传字节;total:总字节
"
)])]),
t
.
_v
(
"
"
),
r
(
"
tr
"
,[
r
(
"
td
"
,[
t
.
_v
(
"
preview
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
预览回调
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
previewFile:预览的文件内容(base64)
"
)])]),
t
.
_v
(
"
"
),
r
(
"
tr
"
,[
r
(
"
td
"
,[
t
.
_v
(
"
success
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
上传完成
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
file:文件;responseTxt:服务端响应内容。注意:数据传输完毕(xhr.status === 200)即触发此函数,业务逻辑层面有没有上传成功,可能还需要根据responseTxt相关字段判断,具体由接口决定
"
)])]),
t
.
_v
(
"
"
),
r
(
"
tr
"
,[
r
(
"
td
"
,[
t
.
_v
(
"
failure
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
上传进度
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
file:文件;responseTxt:服务端响应内容。注意:数据传输层面失败(xhr.status !== 200)时触发此函数,业务逻辑层面的失败需要在success回调中根据相关字段判断,具体由接口决定
"
)])]),
t
.
_v
(
"
"
),
r
(
"
tr
"
,[
r
(
"
td
"
,[
t
.
_v
(
"
showMsg
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
指定方法接收处理组件抛出的错误信息
"
)]),
t
.
_v
(
"
"
),
r
(
"
td
"
,[
t
.
_v
(
"
唯一参数为提示信息内容
"
)])])])])])}]}},
1195
:
function
(
t
,
e
,
r
){
var
v
=
r
(
1003
);
"
string
"
==
typeof
v
&&
(
v
=
[[
t
.
i
,
v
,
""
]]),
v
.
locals
&&
(
t
.
exports
=
v
.
locals
);
r
(
3
)(
"
7c9c2882
"
,
v
,
!
0
,{})},
871
:
function
(
t
,
e
,
r
){
function
v
(
t
){
r
(
1195
)}
var
s
=
r
(
1
)(
r
(
965
),
r
(
1102
),
v
,
null
,
null
);
t
.
exports
=
s
.
exports
},
965
:
function
(
t
,
e
,
r
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
demo
:
'
<nut-uploader
\n
url=""
\n
:preview="true"
\n
@start="uploadStart"
\n
@progress="uploadProgress"
\n
@success="uploadSuccess"
\n
@failure="uploadFailure"
\n
@preview="uploadPreview"
\n
@showMsg="errTip">
\n
</nut-uploader>
'
,
demo2
:
"
export default {
\n
methods:{
\n
uploadStart(){
\n
console.log('start');
\n
},
\n
uploadProgress(file, loaded, total){
\n
this.progress = '上传进度:'+loaded/total*100+'%';
\n
},
\n
uploadPreview(previewFile){
\n
this.preview ='本地预览图:<img src=
\"
'+previewFile+'
\"
alt=
\"\"
/>';
\n
},
\n
uploadSuccess(file, responseTxt){
\n
alert('上传成功!');
\n
},
\n
uploadFailure(file, responseTxt){
\n
alert('上传失败!');
\n
},
\n
//此方法用于接收和处理组件内部抛出的错误信息,如所选文件大小超过限制、文件类型不正确等等
\n
errTip(msg){
\n
alert(msg);
\n
}
\n
}
\n
}
"
,
preview
:
""
,
progress
:
""
}},
methods
:{
uploadStart
:
function
(){
console
.
log
(
"
start
"
)},
uploadProgress
:
function
(
t
,
e
,
r
){
this
.
progress
=
"
上传进度:
"
+
e
/
r
*
100
+
"
%
"
},
uploadPreview
:
function
(
t
){
this
.
preview
=
'
本地预览图:<img src="
'
+
t
+
'
" alt=""/>
'
},
uploadSuccess
:
function
(
t
,
e
){
alert
(
"
上传成功!
"
)},
uploadFailure
:
function
(
t
,
e
){
alert
(
"
上传失败!
"
)},
errTip
:
function
(
t
){
alert
(
t
)}}}}});
\ No newline at end of file
dist/11.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
11
],{
1045
:
function
(
t
,
_
,
v
){
_
=
t
.
exports
=
v
(
2
)(),
_
.
push
([
t
.
i
,
""
,
""
])},
1144
:
function
(
t
,
_
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
_
=
t
.
$createElement
,
v
=
t
.
_self
.
_c
||
_
;
return
v
(
"
div
"
,[
v
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
一种无焦点的消息提示框,显示一段时间后会自行消失,多用于主动操作后的反馈提示。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
v
(
"
h5
"
,[
t
.
_v
(
"
基本用法
"
)]),
t
.
_v
(
"
"
),
v
(
"
h6
"
,[
t
.
_v
(
"
传入提示内容文字和显示时长两个参数
"
)]),
t
.
_v
(
"
"
),
v
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
this.$toast(msg,during);
"
}}),
t
.
_v
(
"
"
),
v
(
"
h6
"
,[
t
.
_v
(
"
传入一个参数对象(唯一)
"
)]),
t
.
_v
(
"
"
),
v
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
this.$toast(object);
"
}}),
t
.
_v
(
"
"
),
v
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
v
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
export default {
\n
methods:{
\n
showToast(msg,during){
\n
this.$toast(msg,during);
\n
},
\n
showToast2(){
\n
//以对象形式传参支持传入一个id,id相同的Toast共享一个实例对象
\n
this.$toast({
\n
msg:'我传了一个对象,包括id属性值,显示位置不居中,多行文字居左展示',
\n
id:'demo',
\n
center:false, //Toast位置不居中(默认居中)
\n
textAlignCenter:false,//多行文字居左展示(默认居中)
\n
fontSize:0.24, //字号单位rem
\n
bgColor:'rgba(0,0,0,.6)', //背景颜色
\n
bottom:1 //距窗口底部距离(单位rem),不居中展示时有效
\n
});
\n
},
\n
showToast3(){
\n
this.$toast({
\n
msg:'我传了一个对象,且id值与上一个示例的id值相同,将与上一个示例共享一个实例',
\n
id:'demo'
\n
});
\n
}
\n
}
\n
}
"
,
imgUrl
:[
"
../asset/img/demo/toast1.png
"
,
"
../asset/img/demo/toast2.png
"
]}}),
t
.
_v
(
"
"
),
v
(
"
h5
"
,[
t
.
_v
(
"
Options
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
_
=
t
.
$createElement
,
v
=
t
.
_self
.
_c
||
_
;
return
v
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
v
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
v
(
"
thead
"
,[
v
(
"
tr
"
,[
v
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
v
(
"
tbody
"
,[
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
msg
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
提示文字
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
during
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
展示时长(单位毫秒)
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
3000
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
object.msg
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
提示文字
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
object.during
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
展示时长(单位毫秒)
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
3000
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
object.center
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Toast位置是否居中
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
object.bottom
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Toast距窗口底部距离(单位rem)
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
object.center为false时生效
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
object.textAlignCenter
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
文字折行时是否居中展示,默认居中
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
值为false时居左
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
object.fontSize
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
文字大小(单位rem)
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
0.28
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
object.bgColor
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
背景颜色
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
'rgba(0, 0, 0, 0.7)'
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])}]}},
1237
:
function
(
t
,
_
,
v
){
var
e
=
v
(
1045
);
"
string
"
==
typeof
e
&&
(
e
=
[[
t
.
i
,
e
,
""
]]),
e
.
locals
&&
(
t
.
exports
=
e
.
locals
);
v
(
3
)(
"
1dfa9722
"
,
e
,
!
0
,{})},
870
:
function
(
t
,
_
,
v
){
function
e
(
t
){
v
(
1237
)}
var
n
=
v
(
1
)(
v
(
964
),
v
(
1144
),
e
,
null
,
null
);
t
.
exports
=
n
.
exports
},
964
:
function
(
t
,
_
,
v
){
"
use strict
"
;
Object
.
defineProperty
(
_
,
"
__esModule
"
,{
value
:
!
0
});
var
e
=
v
(
20
);
!
function
(
t
){
t
&&
t
.
__esModule
}(
e
);
_
.
default
=
{
data
:
function
(){
return
{}},
components
:{},
methods
:{}}}});
\ No newline at end of file
dist/12.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
12
],{
1051
:
function
(
t
,
e
,
n
){
e
=
t
.
exports
=
n
(
2
)(),
e
.
push
([
t
.
i
,
""
,
""
])},
1150
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
倒计时组件。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-timer
"
,{
attrs
:{
timespacer
:
6
e9
},
on
:{
"
end-timer
"
:
t
.
endTimer
}}),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo
}}),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
export default {
\n
methods:{
\n
endTimer() {
\n
console.log('倒计时结束了!');
\n
}
\n
}
\n
}
"
}}),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
n
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
n
(
"
thead
"
,[
n
(
"
tr
"
,[
n
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
n
(
"
tbody
"
,[
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
timespacer
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
需要倒计时的毫秒数
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
0
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])},
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
n
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
n
(
"
thead
"
,[
n
(
"
tr
"
,[
n
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
n
(
"
tbody
"
,[
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
end-timer
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
倒计时结束时触发
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])}]}},
1243
:
function
(
t
,
e
,
n
){
var
r
=
n
(
1051
);
"
string
"
==
typeof
r
&&
(
r
=
[[
t
.
i
,
r
,
""
]]),
r
.
locals
&&
(
t
.
exports
=
r
.
locals
);
n
(
3
)(
"
7b241d88
"
,
r
,
!
0
,{})},
869
:
function
(
t
,
e
,
n
){
function
r
(
t
){
n
(
1243
)}
var
v
=
n
(
1
)(
n
(
963
),
n
(
1150
),
r
,
null
,
null
);
t
.
exports
=
v
.
exports
},
963
:
function
(
t
,
e
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
demo
:
'
<nut-timer
\n
:timespacer="6000000000"
\n
@end-timer="endTimer"
\n
></nut-timer>
'
}},
methods
:{
endTimer
:
function
(){
console
.
log
(
"
倒计时结束了!
"
)}}}}});
\ No newline at end of file
dist/13.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
13
],{
1
e3
:
function
(
t
,
e
,
o
){
e
=
t
.
exports
=
o
(
2
)(),
e
.
push
([
t
.
i
,
"
.txt-area[data-v-4969574a]{padding:.1rem .2rem 1.5rem}
"
,
""
])},
1099
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
o
=
t
.
_self
.
_c
||
e
;
return
o
(
"
div
"
,[
o
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
多行文本输入框,支持字数提示、字数限制等功能。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
o
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
o
(
"
h6
"
,[
t
.
_v
(
"
默认用法
"
)]),
t
.
_v
(
"
"
),
o
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
<nut-textbox></nut-textbox>
"
,
imgUrl
:
"
../asset/img/demo/textbox1.png
"
}}),
t
.
_v
(
"
"
),
o
(
"
h6
"
,[
t
.
_v
(
"
自定义高度:5rem
"
)]),
t
.
_v
(
"
"
),
o
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
<nut-textbox :txtAreaH='5' :maxNum='300'></nut-textbox>
"
,
imgUrl
:
"
../asset/img/demo/textbox2.png
"
}}),
t
.
_v
(
"
"
),
o
(
"
h6
"
,[
t
.
_v
(
"
自定义提示语
"
)]),
t
.
_v
(
"
"
),
o
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
<nut-textbox placeText='请填写详细情况'></nut-textbox>
"
,
imgUrl
:
"
../asset/img/demo/textbox3.png
"
}}),
t
.
_v
(
"
"
),
o
(
"
h6
"
,[
t
.
_v
(
"
自定义字数限制
"
)]),
t
.
_v
(
"
"
),
o
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
<nut-textbox :maxNum='100'></nut-textbox>
"
}}),
t
.
_v
(
"
"
),
o
(
"
h6
"
,[
t
.
_v
(
"
限制字数不可超出
"
)]),
t
.
_v
(
"
"
),
o
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
<nut-textbox :switchMax='true'
\n
:maxNum='10'
\n
:txtAreaH='2'
\n
textBgColor='#efefef'>
\n
</nut-textbox>
"
,
imgUrl
:
"
../asset/img/demo/textbox4.png
"
}}),
t
.
_v
(
"
"
),
o
(
"
h6
"
,[
t
.
_v
(
"
字数超出报错
"
)]),
t
.
_v
(
"
"
),
o
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo6
,
imgUrl
:
"
../asset/img/demo/textbox5.png
"
}}),
t
.
_v
(
"
"
),
o
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo66
}}),
t
.
_v
(
"
"
),
o
(
"
h6
"
,[
t
.
_v
(
"
自定义文本框背景色
"
)]),
t
.
_v
(
"
"
),
o
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo7
,
imgUrl
:
"
../asset/img/demo/textbox6.png
"
}}),
t
.
_v
(
"
"
),
o
(
"
h6
"
,[
t
.
_v
(
"
不显示字数限制
"
)]),
t
.
_v
(
"
"
),
o
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo8
,
imgUrl
:
"
../asset/img/demo/textbox7.png
"
}}),
t
.
_v
(
"
"
),
o
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
o
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
o
=
t
.
_self
.
_c
||
e
;
return
o
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
o
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
o
(
"
thead
"
,[
o
(
"
tr
"
,[
o
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
o
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
o
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
o
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
o
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
o
(
"
tbody
"
,[
o
(
"
tr
"
,[
o
(
"
td
"
,[
t
.
_v
(
"
txtAreaH
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
文本框高度
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
1rem
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
)]),
t
.
_v
(
"
"
),
o
(
"
tr
"
,[
o
(
"
td
"
,[
t
.
_v
(
"
placeText
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
自定义placeholder文案提示
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
请您在此输入
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
o
(
"
tr
"
,[
o
(
"
td
"
,[
t
.
_v
(
"
maxNum
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
最大字数
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
50
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
o
(
"
tr
"
,[
o
(
"
td
"
,[
t
.
_v
(
"
switchMax
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
控制字数超出是否不可输入,注意:最大字数限制,请设置maxNum
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
o
(
"
tr
"
,[
o
(
"
td
"
,[
t
.
_v
(
"
textBgColor
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
设置输入框背景色
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
#fff
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
o
(
"
tr
"
,[
o
(
"
td
"
,[
t
.
_v
(
"
limitShow
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
不显示字数限制
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])},
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
o
=
t
.
_self
.
_c
||
e
;
return
o
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
o
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
o
(
"
thead
"
,[
o
(
"
tr
"
,[
o
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
o
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
o
(
"
th
"
,[
t
.
_v
(
"
回调
"
)])])]),
t
.
_v
(
"
"
),
o
(
"
tbody
"
,[
o
(
"
tr
"
,[
o
(
"
td
"
,[
t
.
_v
(
"
errorFunc
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
输入字数超过限定字数时触发事件
"
)]),
t
.
_v
(
"
"
),
o
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])}]}},
1192
:
function
(
t
,
e
,
o
){
var
n
=
o
(
1
e3
);
"
string
"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
o
(
3
)(
"
10ef6eba
"
,
n
,
!
0
,{})},
868
:
function
(
t
,
e
,
o
){
function
n
(
t
){
o
(
1192
)}
var
v
=
o
(
1
)(
o
(
962
),
o
(
1099
),
n
,
"
data-v-4969574a
"
,
null
);
t
.
exports
=
v
.
exports
},
962
:
function
(
t
,
e
,
o
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
});
var
n
=
o
(
20
);
!
function
(
t
){
t
&&
t
.
__esModule
}(
n
);
e
.
default
=
{
data
:
function
(){
return
{
demo1
:
"
<nut-textbox></nut-textbox>
"
,
demo2
:
'
<nut-textbox
\n
:txtAreaH="10"
\n
></nut-textbox>
'
,
demo3
:
'
<nut-textbox
\n
placeText="请填写详细情况"
\n
></nut-textbox>
'
,
demo4
:
'
<nut-textbox
\n
:maxNum="100"
\n
></nut-textbox>
'
,
demo5
:
'
<nut-textbox
\n
:switchMax="true"
\n
:maxNum="10"
\n
:txtAreaH="2"
\n
></nut-textbox>
'
,
demo6
:
'
<nut-textbox
\n
:maxNum="10"
\n
txtAreaH="2"
\n
@errorFunc="overLength"
\n
></nut-textbox>
'
,
demo66
:
'
export default {
\n
methods:{
\n
overLength(){
\n
alert("字数超出");
\n
}
\n
}
\n
}
'
,
demo7
:
'
<nut-textbox
\n
:switchMax="true"
\n
:maxNum="10"
\n
:txtAreaH="2"
\n
textBgColor="#feefef">
\n
</nut-textbox>
'
,
demo8
:
'
<nut-textbox
\n
:limitShow="false">
\n
</nut-textbox>
'
}},
methods
:{
overLength
:
function
(){
alert
(
"
字数超出
"
)}}}}});
\ No newline at end of file
dist/14.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
14
],{
1018
:
function
(
t
,
e
,
n
){
e
=
t
.
exports
=
n
(
2
)(),
e
.
push
([
t
.
i
,
"
.input-telnum .nut-telinput-box ::-webkit-input-placeholder{color:green}.input-telnum .nut-telinput-box :-ms-input-placeholder,.input-telnum .nut-telinput-box ::-ms-input-placeholder{color:green}.input-telnum .nut-telinput-box ::placeholder{color:green}
"
,
""
])},
1117
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
电话号码输入框,支持自定义间隔位数,支持基本电话号码校验。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
n
(
"
h6
"
,[
t
.
_v
(
"
默认用法
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
<nut-telinput></nut-telinput>
"
,
imgUrl
:[
"
../asset/img/demo/telinput1.png
"
]}}),
t
.
_v
(
"
"
),
n
(
"
h6
"
,[
t
.
_v
(
"
自定义输入框宽高、带有清除按钮
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
,
imgUrl
:[
"
../asset/img/demo/telinput2.png
"
]}}),
t
.
_v
(
"
"
),
n
(
"
h6
"
,[
t
.
_v
(
"
增加回调函数,且提示信息位置在输入框下面
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo3
,
imgUrl
:[
"
../asset/img/demo/telinput3.png
"
]}}),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo5
}}),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
n
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
n
(
"
thead
"
,[
n
(
"
tr
"
,[
n
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
n
(
"
tbody
"
,[
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
gapone
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
第1个空格的位置
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
3
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
gapsec
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
第2个空格的位置
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
7
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
telWidth
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
输入框的宽度,支持数字和百分比
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
4(单位rem)
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
telHeight
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
输入框的高度,支持数字和百分比
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
1(单位rem)
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
clearPic
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
是否显示清除按钮
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
tipsInfo
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
错误提示信息
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
请输入正确的电话号码
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
placeText
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
输入框默认提示文案
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
请输入电话号码
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
tipsPosition
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
错误提示信息位置
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
'left'提示信息在输入框左侧
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
'left'/'bottom'
"
)])])])])])},
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
n
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
n
(
"
thead
"
,[
n
(
"
tr
"
,[
n
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
n
(
"
tbody
"
,[
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
pass-test
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
输入的是正确的电话号码时触发事件
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
返回带有间隔的电话号码
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
error-tel
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
输入的是错误的电话号码时触发事件
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
返回带有间隔的电话号码
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
clear
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
点击清除按钮时的触发事件
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])}]}},
1210
:
function
(
t
,
e
,
n
){
var
v
=
n
(
1018
);
"
string
"
==
typeof
v
&&
(
v
=
[[
t
.
i
,
v
,
""
]]),
v
.
locals
&&
(
t
.
exports
=
v
.
locals
);
n
(
3
)(
"
2c343002
"
,
v
,
!
0
,{})},
867
:
function
(
t
,
e
,
n
){
function
v
(
t
){
n
(
1210
)}
var
_
=
n
(
1
)(
n
(
961
),
n
(
1117
),
v
,
null
,
null
);
t
.
exports
=
_
.
exports
},
961
:
function
(
t
,
e
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
});
var
v
=
n
(
20
);
!
function
(
t
){
t
&&
t
.
__esModule
}(
v
);
e
.
default
=
{
data
:
function
(){
return
{
demo1
:
"
<nut-telinput></nut-telinput>
"
,
demo2
:
'
<nut-telinput
\n
telWidth="50%"
\n
telHeight="1"
\n
:clearPic="true"
\n
></nut-telinput>
'
,
demo3
:
'
<nut-telinput
\n
:gapone="3"
\n
:gapsec="7"
\n
telWidth="4"
\n
telHeight="1"
\n
:clearPic="true"
\n
tipsInfo="请输入正确的电话号码"
\n
placeText="请输入自定义文案"
\n
tipsPosition="bottom"
\n
class="input-telnum"
\n
@pass-test="passTest"
\n
@clear="clear"
\n
@error-tel="errorTel"
\n
></nut-telinput>
'
,
demo4
:
"
clear:function(){
\n
console.log('点击了清除按钮');
\n
},
\n
passTest:function(value){
\n
console.log(value);
\n
},
\n
errorTel:function(value){
\n
console.log('error'+value)
\n
}
"
,
demo5
:
"
.input-telnum .nut-telinput-box ::placeholder{
\n
color:green;
\n
};
"
}},
methods
:{
clear
:
function
(){
console
.
log
(
"
点击了清除按钮
"
)},
passTest
:
function
(
t
){
console
.
log
(
t
)},
errorTel
:
function
(
t
){
console
.
log
(
"
error
"
+
t
)}}}}});
\ No newline at end of file
dist/15.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
15
],{
1076
:
function
(
t
,
n
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
n
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
n
;
return
a
(
"
div
"
,[
a
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
选项卡组件。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
a
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
a
(
"
h6
"
,[
t
.
_v
(
"
默认用法
"
)]),
t
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
,
imgUrl
:[
"
../asset/img/demo/tab1.png
"
]}}),
t
.
_v
(
"
"
),
a
(
"
h6
"
,[
t
.
_v
(
"
在第二个标签上增加图标,页签导航条在左侧(支持导航条在上下左右位置)
"
)]),
t
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
,
imgUrl
:[
"
../asset/img/demo/tab2.png
"
]}}),
t
.
_v
(
"
"
),
a
(
"
h6
"
,[
t
.
_v
(
"
隐藏tab下面内容,跳转页面
"
)]),
t
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo3
,
imgUrl
:[
"
../asset/img/demo/tab3.png
"
]}}),
t
.
_v
(
"
"
),
a
(
"
h6
"
,[
t
.
_v
(
"
给tab页签增加className,可以自定义样式,默认选中第二个标签
"
)]),
t
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo4
,
imgUrl
:[
"
../asset/img/demo/tab4.png
"
]}}),
t
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo5
}}),
t
.
_v
(
"
"
),
a
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
a
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
n
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
n
;
return
a
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
a
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
a
(
"
thead
"
,[
a
(
"
tr
"
,[
a
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
a
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
a
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
a
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
a
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
a
(
"
tbody
"
,[
a
(
"
tr
"
,[
a
(
"
td
"
,[
t
.
_v
(
"
defIndex
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
默认选中的tab
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
0
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
a
(
"
tr
"
,[
a
(
"
td
"
,[
t
.
_v
(
"
contentShow
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
是否显示tab下面的内容
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
boolean
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
a
(
"
tr
"
,[
a
(
"
td
"
,[
t
.
_v
(
"
tabTitle
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
tab选项卡标题
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
string
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
a
(
"
tr
"
,[
a
(
"
td
"
,[
t
.
_v
(
"
iconUrl
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
tab标签中的图片地址
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
string
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
a
(
"
tr
"
,[
a
(
"
td
"
,[
t
.
_v
(
"
tabLink
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
tab标签中的跳转链接地址
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
string
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
a
(
"
tr
"
,[
a
(
"
td
"
,[
t
.
_v
(
"
positionNav
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
tab标签的位置
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
string
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
'top'
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
'top'/'left'/'right'/'bottom'
"
)])])])])])},
function
(){
var
t
=
this
,
n
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
n
;
return
a
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
a
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
a
(
"
thead
"
,[
a
(
"
tr
"
,[
a
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
a
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
a
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
a
(
"
tbody
"
,[
a
(
"
tr
"
,[
a
(
"
td
"
,[
t
.
_v
(
"
tab-switch
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
点击tab标签时触发事件
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
返回index值和自身对象event
"
)])])])])])}]}},
1170
:
function
(
t
,
n
,
a
){
var
e
=
a
(
978
);
"
string
"
==
typeof
e
&&
(
e
=
[[
t
.
i
,
e
,
""
]]),
e
.
locals
&&
(
t
.
exports
=
e
.
locals
);
a
(
3
)(
"
131a988e
"
,
e
,
!
0
,{})},
866
:
function
(
t
,
n
,
a
){
function
e
(
t
){
a
(
1170
)}
var
v
=
a
(
1
)(
a
(
960
),
a
(
1076
),
e
,
null
,
null
);
t
.
exports
=
v
.
exports
},
960
:
function
(
t
,
n
,
a
){
"
use strict
"
;
Object
.
defineProperty
(
n
,
"
__esModule
"
,{
value
:
!
0
});
var
e
=
a
(
20
);
!
function
(
t
){
t
&&
t
.
__esModule
}(
e
);
n
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-tab @tabSwitch="tab-switch">
\n
<nut-tab-panel tabTitle="页签名称1">11</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签名称2">
\n
<h2>22</h2>
\n
</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签名称3">33</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签名称4">44</nut-tab-panel>
\n
</nut-tab>
'
,
demo2
:
'
<nut-tab @tabSwitch="tab-switch" positionNav="left">
\n
<nut-tab-panel tabTitle="页签1">11</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签2" iconUrl="图片地址">
\n
<h2>22</h2>
\n
</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签3">33</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签4">44</nut-tab-panel>
\n
</nut-tab>
'
,
demo3
:
'
<nut-tab @tabSwitch="tab-switch" :contentShow="false">
\n
<nut-tab-panel tabTitle="页签1">11</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签2" tabLink="http://www.baidu.com">
\n
<h2>22</h2>
\n
</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签3" tabLink="http://www.jd.com">33</nut-tab-panel>
\n
</nut-tab>
'
,
demo4
:
'
<nut-tab
\n
:defIndex="1"
\n
class="customer-css"
\n
@tabSwitch="tab-switch"
\n
:contentShow="true"
\n
>
\n
<nut-tab-panel tabTitle="页签1">11</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签2">
\n
<h2>22</h2>
\n
</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签3">33</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签4">44</nut-tab-panel>
\n
</nut-tab>
'
,
demo5
:
"
.customer-css .nut-tab-active .nut-tab-link[data-v-240d0c90]{
\n
border-bottom: 1px solid #0E90D2;
\n
background: #F5F7FA;
\n
}
\n
.customer-css .nut-title-nav-list[data-v-240d0c90]{
\n
background: #fff;
\n
border-left: 1px solid #F5F7FA;
\n
}
\n
.customer-css .nut-title-nav-list[data-v-240d0c90]:first-child{
\n
border-left: 0;
\n
};
\n
.customer-css .nut-tab-active[data-v-240d0c90]{
\n
background: #F5F7FA;
\n
border: 0;
\n
}
\n
.customer-css .nut-tab-link[data-v-240d0c90]{
\n
width:100%;
\n
}
"
}},
methods
:{
tabSwitch
:
function
(
t
,
n
){
console
.
log
(
t
+
"
--
"
+
n
.
target
)}}}},
978
:
function
(
t
,
n
,
a
){
n
=
t
.
exports
=
a
(
2
)(),
n
.
push
([
t
.
i
,
"
.customer-css .nut-tab-active .nut-tab-link[data-v-240d0c90]{border-bottom:1px solid #0e90d2;background:#f5f7fa}.customer-css .nut-title-nav-list[data-v-240d0c90]{background:#fff;border-left:1px solid #f5f7fa}.customer-css .nut-title-nav-list[data-v-240d0c90]:first-child{border-left:0}.customer-css .nut-tab-active[data-v-240d0c90]{background:#f5f7fa;border:0}.customer-css .nut-tab-link[data-v-240d0c90]{width:100%}
"
,
""
])}});
\ No newline at end of file
dist/16.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
16
],{
1049
:
function
(
t
,
v
,
_
){
v
=
t
.
exports
=
_
(
2
)(),
v
.
push
([
t
.
i
,
""
,
""
])},
1148
:
function
(
t
,
v
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,[
_
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
一种滑动开关,通过点击使按钮左右滑动,同时触发对应的开关状态。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
_
(
"
h6
"
,[
t
.
_v
(
"
默认用法
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
,
imgUrl
:[
"
../asset/img/demo/switch1.png
"
,
"
../asset/img/demo/switch2.png
"
]}}),
t
.
_v
(
"
"
),
_
(
"
h6
"
,[
t
.
_v
(
"
自定义颜色
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
,
imgUrl
:[
"
../asset/img/demo/switch3.png
"
,
"
../asset/img/demo/switch4.png
"
]}}),
t
.
_v
(
"
"
),
_
(
"
h6
"
,[
t
.
_v
(
"
ON/OFF事件
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo3
}}),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo4
}}),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
_
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
_
(
"
thead
"
,[
_
(
"
tr
"
,[
_
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
_
(
"
tbody
"
,[
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
active.sync
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
开关状态
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
width
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
组件宽度(单位rem)
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
0.8
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
height
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
组件高度(单位rem)
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
0.4
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
activeBgColor
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
打开状态背景颜色
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
#F42E2D
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
inActiveBgColor
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
关闭状态背景颜色
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
#FDFDFD
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
btnColor
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
滑动圆按钮颜色
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
#FFFFFF
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])},
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
_
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
_
(
"
thead
"
,[
_
(
"
tr
"
,[
_
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
_
(
"
tbody
"
,[
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
switch-on
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
开关打开时触发
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
switch-off
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
开关关闭时触发
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])}]}},
1241
:
function
(
t
,
v
,
_
){
var
e
=
_
(
1049
);
"
string
"
==
typeof
e
&&
(
e
=
[[
t
.
i
,
e
,
""
]]),
e
.
locals
&&
(
t
.
exports
=
e
.
locals
);
_
(
3
)(
"
2a88e7da
"
,
e
,
!
0
,{})},
865
:
function
(
t
,
v
,
_
){
function
e
(
t
){
_
(
1241
)}
var
n
=
_
(
1
)(
_
(
959
),
_
(
1148
),
e
,
null
,
null
);
t
.
exports
=
n
.
exports
},
959
:
function
(
t
,
v
,
_
){
"
use strict
"
;
Object
.
defineProperty
(
v
,
"
__esModule
"
,{
value
:
!
0
}),
v
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-switch
\n
:active="true"
\n
></nut-switch>
'
,
demo2
:
'
<nut-switch
\n
:height="0.3"
\n
:width="0.6"
\n
activeBgColor="#9ABB82"
\n
inActiveBgColor="#EAE7E2"
\n
btnColor="#CBDDDD"
\n
></nut-switch>
'
,
demo3
:
'
<nut-switch
\n
@switch-on="switchOnEvt"
\n
@switch-off="switchOffEvt"
\n
></nut-switch>
'
,
demo4
:
"
export default {
\n
methods:{
\n
switchOnEvt(){
\n
alert('on');
\n
},
\n
switchOffEvt(){
\n
alert('off');
\n
}
\n
}
\n
}
"
}},
methods
:{
switchOnEvt
:
function
(){
alert
(
"
on
"
)},
switchOffEvt
:
function
(){
alert
(
"
off
"
)}}}}});
\ No newline at end of file
dist/17.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
17
],{
1021
:
function
(
t
,
e
,
n
){
e
=
t
.
exports
=
n
(
2
)(),
e
.
push
([
t
.
i
,
""
,
""
])},
1120
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
轮播组件,支持滑动。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
n
(
"
h6
"
,[
t
.
_v
(
"
横向切换
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
}}),
t
.
_v
(
"
"
),
n
(
"
h6
"
,[
t
.
_v
(
"
纵向切换
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
}}),
t
.
_v
(
"
"
),
n
(
"
h6
"
,[
t
.
_v
(
"
无缝切换
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo3
}}),
t
.
_v
(
"
"
),
n
(
"
h6
"
,[
t
.
_v
(
"
循环切换
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo4
}}),
t
.
_v
(
"
"
),
n
(
"
h6
"
,[
t
.
_v
(
"
自动切换
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo5
}}),
t
.
_v
(
"
"
),
n
(
"
h6
"
,[
t
.
_v
(
"
懒加载切换
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo6
}}),
t
.
_v
(
"
"
),
n
(
"
h6
"
,[
t
.
_v
(
"
事件
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demoEvent
}}),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
Methods
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
2
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
n
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
n
(
"
thead
"
,[
n
(
"
tr
"
,[
n
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
n
(
"
tbody
"
,[
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
direction
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
swiper滑动方向
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
'
"vertical"
'
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
'
"vertical"/"horizontal"
'
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
paginationVisible
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
分页显示与否
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
paginationClickable
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
分页是否可以点击
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
loop
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
是否循环
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
speed
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
过渡动画执行时间
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
500
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
autoPlay
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
自动轮播,轮播默认是循环模式
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
0
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
lazyLoad
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
图片是否支持lazyload加载,默认是 不lazyload
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
flase/true
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
lazyLoadingurl
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
loading图片url
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
'STATIC/loading.gif'
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
lazyLoaderrorUrl
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
loading图片出错时候垫底图
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
''
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
freeMode
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
自由切换模式
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
flase/true
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
initPage
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
设置初始时候显示的页
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
1
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
type
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
切换的模式,单个切换,还是自由切换(自动贴合)
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
'single'
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
'single/multiple'
"
)])])])])])},
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
n
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
n
(
"
thead
"
,[
n
(
"
tr
"
,[
n
(
"
th
"
,[
t
.
_v
(
"
方法名
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
参数
"
)])])]),
t
.
_v
(
"
"
),
n
(
"
tbody
"
,[
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
next
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
去下一页
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
prev
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
去上一页
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
setPage
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
设置显示当前页码页
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
pageNumber
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
updateSlidesBindEvent
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
'
如果动态更新slides,可以重新调用updateSlidesEvent 绑定事件,在异步函数赋值之后,重新绑定,绑定的方法:在nut-swiper上加一个ref="demo1",在函数中用this.$refs.demo1.updateSlidesBindEvent(pageSize) 重新绑定事件 ,pageSize 可以在更新bind后,重新设置pageSize
'
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
pageSize
"
)])])])])])},
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
n
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
n
(
"
thead
"
,[
n
(
"
tr
"
,[
n
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
n
(
"
tbody
"
,[
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
slideChangeStart
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
改变页开始时回调函数
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
pageNumber,el
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
slideChangeEnd
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
改变页时回调函数
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
pageNumber,el
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
slideRevertStart
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
拖动没有改变页时开始时回调函数
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
pageNumber,el
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
slideRevertEnd
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
拖动没有改变页结束时回调函数
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
pageNumber,el
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
slideMove
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
拖动过程中的回调函数
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
offset,el
"
)])])])])])}]}},
1213
:
function
(
t
,
e
,
n
){
var
d
=
n
(
1021
);
"
string
"
==
typeof
d
&&
(
d
=
[[
t
.
i
,
d
,
""
]]),
d
.
locals
&&
(
t
.
exports
=
d
.
locals
);
n
(
3
)(
"
fd3c20d8
"
,
d
,
!
0
,{})},
864
:
function
(
t
,
e
,
n
){
function
d
(
t
){
n
(
1213
)}
var
v
=
n
(
1
)(
n
(
958
),
n
(
1120
),
d
,
null
,
null
);
t
.
exports
=
v
.
exports
},
958
:
function
(
t
,
e
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-swiper
\n
:pagination-visible="true"
\n
direction="horizontal"
\n
:performanceMode="true"
\n
ref="demo1"
\n
@slideChangeEnd="slideChangeEnd">
\n
<div v-for="item in dataItem" class="nut-swiper-silde"><span>page{{item.name}}</span></div>
\n
</nut-swiper>
'
,
demo2
:
'
<nut-swiper
\n
:pagination-visible="false"
\n
:performanceMode="true"
\n
direction="vertical">
\n
<div class="nut-swiper-silde"><span>page 1</span></div>
\n
<div class="nut-swiper-silde"><span>page 2</span></div>
\n
<div class="nut-swiper-silde"><span>page 3</span></div>
\n
</nut-swiper>
'
,
demo3
:
'
<nut-swiper
\n
:pagination-visible="true"
\n
@slideChangeEnd="slideChangeEnd"
\n
@slideChangeStart="slideChangeStart"
\n
direction="horizontal">
\n
<div class="nut-swiper-silde"><span>page 1</span></div>
\n
<div class="nut-swiper-silde"><span>page 2</span></div>
\n
<div class="nut-swiper-silde"><span>page 3</span></div>
\n
</nut-swiper>
'
,
demo4
:
'
<nut-swiper
\n
:pagination-visible="true"
\n
:loop="true"
\n
direction="horizontal">
\n
<div class="nut-swiper-silde"><span>page 1</span></div>
\n
<div class="nut-swiper-silde"><span>page 2</span></div>
\n
<div class="nut-swiper-silde"><span>page 3</span></div>
\n
</nut-swiper>
'
,
demo5
:
'
<nut-swiper
\n
:pagination-visible="false"
\n
:autoPlay="1000"
\n
direction="vertical">
\n
<div class="nut-swiper-silde"><span>page 1</span></div>
\n
<div class="nut-swiper-silde"><span>page 2</span></div>
\n
<div class="nut-swiper-silde"><span>page 3</span></div>
\n
</nut-swiper>
'
,
demo6
:
'
<nut-swiper
\n
:pagination-visible="false"
\n
direction="horizontal"
\n
id="nutSwiperLazyLoad"
\n
:lazyLoad="true"
\n
lazyLoadingUrl="//static.360buyimg.com/exploit/mplus/2.1.81/css/i/loading.gif"
\n
lazyLoaderrorUrl="">
\n
<div class="nut-swiper-silde">
\n
<div>
\n
<img data-src="//img11.360buyimg.com/n3/s300x300_jfs/t2029/269/1342378600/94347/c088416b/56581d53Ne97b6442.jpg" class="nut-swiper-lazyload"/>
\n
<p>牙膏牙膏吃牙膏</p>
\n
</div>
\n
<div>
\n
<img data-src="//img11.360buyimg.com/n3/s300x300_jfs/t5944/284/7637282290/291307/34ae9129/597ed721N4d9a0e73.jpg" class="nut-swiper-lazyload"/>
\n
<p>纯正白砂糖,味甜</p>
\n
</div>
\n
<div>
\n
<img data-src="//img11.360buyimg.com/n3/s300x300_jfs/t9604/129/1427755970/357543/ba77f0be/59e071fcN4a3e077d.jpg" class="nut-swiper-lazyload"/>
\n
<p>妙洁 保鲜袋背心型食品袋中号200只装 可提携易打结</p>
\n
</div>
\n
</div>
\n
<div class="nut-swiper-silde">
\n
<div>
\n
<img data-src="//img11.360buyimg.com/n3/s300x300_jfs/t3826/185/3277282028/320781/8fbf1015/587c2fcaNc3741a59.jpg" class="nut-swiper-lazyload"/>
\n
<p>全棉灭菌免换洗</p>
\n
</div>
\n
<div>
\n
<img data-src="//img11.360buyimg.com/n3/s300x300_jfs/t6028/28/1573357626/422743/9b98f679/5934c6c9N03afe631.jpg" class="nut-swiper-lazyload"/>
\n
<p>锁定厨房油污0</p>
\n
</div>
\n
<div>
\n
<img data-src="//img11.360buyimg.com/n3/s300x300_jfs/t4792/130/2443359129/122816/5f47cbd2/58ff20ecN49be8a01.jpg" class="nut-swiper-lazyload"/>
\n
<p>训练宝宝咀嚼力</p>
\n
</div>
\n
</div>
\n
<div class="nut-swiper-silde">
\n
<div>
\n
<img data-src="//img11.360buyimg.com/n3/s300x300_jfs/t13924/18/765396019/118800/71bda7ea/5a13878fN35292d9b.jpg" class="nut-swiper-lazyload"/>
\n
<p>得力(deli)S01黑色0.5mm经典办公按动中性笔水性笔子弹头签字笔 12支/盒</p>
\n
</div>
\n
<div>
\n
<img data-src="//img11.360buyimg.com/n3/s300x300_jfs/t4231/114/1373063995/311341/1feeaaad/58c1000cN5c448e8d.jpg" class="nut-swiper-lazyload"/>
\n
<p>台湾蛋黄味糙米卷</p>
\n
</div>
\n
<div>
\n
<img data-src="//img11.360buyimg.com/n3/s300x300_jfs/t2005/197/1846980340/247407/fcdbd278/56e0ceffN1d106bdb.jpg" class="nut-swiper-lazyload"/>
\n
<p>柔韧耐用,保鲜安全</p>
\n
</div>
\n
</div>
\n\n
</nut-swiper>
'
,
demoEvent
:
'
export default {
\n
data(){
\n
return{
\n
dataItem:null,
\n
move:1,
\n
}
\n
},
\n
methods:{
\n
slideChangeStart:function(currentPage,el,type){
\n
console.log(type);
\n\n
},
\n
slideChangeEnd:function(currentPage,el){
\n
console.log(currentPage);
\n
},
\n\n
},
\n
mounted:function(){
\n\n
setTimeout(()=>{
\n
this.dataItem=[{"name":1},{"name":2},{"name":3},{"name":4},{"name":5},{"name":6}];
\n
this.$refs.demo1.updateSlidesBindEvent(2);
\n
},300);
\n
}
\n
}
'
}},
methods
:{},
mounted
:
function
(){}}}});
\ No newline at end of file
dist/18.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
18
],{
1088
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
s
=
t
.
_self
.
_c
||
e
;
return
s
(
"
div
"
,[
s
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
步骤条。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
s
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
s
(
"
h6
"
,[
t
.
_v
(
"
默认用法
"
)]),
t
.
_v
(
"
"
),
s
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
,
imgUrl
:[
"
../asset/img/demo/step1.png
"
]}}),
t
.
_v
(
"
"
),
s
(
"
h6
"
,[
t
.
_v
(
"
可配置活动数值,显示进度数字以及title具体每个进度条的高度
"
)]),
t
.
_v
(
"
"
),
s
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
,
imgUrl
:[
"
../asset/img/demo/step2.png
"
]}}),
t
.
_v
(
"
"
),
s
(
"
h6
"
,[
t
.
_v
(
"
可以设置进度条为图片
"
)]),
t
.
_v
(
"
"
),
s
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo3
,
imgUrl
:[
"
../asset/img/demo/step3.png
"
]}}),
t
.
_v
(
"
"
),
s
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
s
=
t
.
_self
.
_c
||
e
;
return
s
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
s
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
s
(
"
thead
"
,[
s
(
"
tr
"
,[
s
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
s
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
s
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
s
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
s
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
s
(
"
tbody
"
,[
s
(
"
tr
"
,[
s
(
"
td
"
,[
t
.
_v
(
"
stepsId
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
当同一页面有多个进度条时,需设置每个进度条组件单独的stepsId,如只有一个进度条组件,则无需设置该属性
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
''
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
s
(
"
tr
"
,[
s
(
"
td
"
,[
t
.
_v
(
"
stepTitle
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
每个进度条的标题
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
string
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
s
(
"
tr
"
,[
s
(
"
td
"
,[
t
.
_v
(
"
active
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
每个进度条组件激活的个数
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
0
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
s
(
"
tr
"
,[
s
(
"
td
"
,[
t
.
_v
(
"
showNum
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
是否显示进度条左侧的数字
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
boolean
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
s
(
"
tr
"
,[
s
(
"
td
"
,[
t
.
_v
(
"
titleTop
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
进度条标题距离顶部的距离,单位为rem
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
0.3
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
s
(
"
tr
"
,[
s
(
"
td
"
,[
t
.
_v
(
"
icon
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
左侧进度条的图片地址
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
s
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])}]}},
1181
:
function
(
t
,
e
,
s
){
var
v
=
s
(
989
);
"
string
"
==
typeof
v
&&
(
v
=
[[
t
.
i
,
v
,
""
]]),
v
.
locals
&&
(
t
.
exports
=
v
.
locals
);
s
(
3
)(
"
2bbce5a6
"
,
v
,
!
0
,{})},
863
:
function
(
t
,
e
,
s
){
function
v
(
t
){
s
(
1181
)}
var
_
=
s
(
1
)(
s
(
957
),
s
(
1088
),
v
,
"
data-v-3984aa78
"
,
null
);
t
.
exports
=
_
.
exports
},
957
:
function
(
t
,
e
,
s
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
});
var
v
=
s
(
20
);
!
function
(
t
){
t
&&
t
.
__esModule
}(
v
);
e
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-steps stepsId="step1">
\n
<nut-step stepTitle="您的订单已经发往北京"><p>2017-12-12</p></nut-step>
\n
<nut-step stepTitle="您的订单已经到达上海"><p>2017-12-11</p></nut-step>
\n
<nut-step stepTitle="快递公司已揽件"><p>2017-12-10</p></nut-step>
\n
</nut-steps>
'
,
demo2
:
'
<nut-steps stepsId="step2" :active="2" :showNum=
\'
true
\'
:titleTop="0.4">
\n
<nut-step stepTitle="您的订单已经发往北京"><p>2017-12-12</p></nut-step>
\n
<nut-step stepTitle="您的订单已经到达上海"><p>2017-12-11</p></nut-step>
\n
<nut-step stepTitle="快递公司已揽件"><p>2017-12-10</p></nut-step>
\n
</nut-steps>
'
,
demo3
:
'
<nut-steps stepsId="step3" :active="1">
\n
<nut-step stepTitle="您的订单已经发往北京" icon="图片地址1"><p>2017-12-12</p></nut-step>
\n
<nut-step stepTitle="您的订单已经到达上海" icon="图片地址2"><p>2017-12-11</p></nut-step>
\n
<nut-step stepTitle="快递公司已揽件" icon="图片地址2"><p>2017-12-10</p></nut-step>
\n
</nut-steps>
'
}},
methods
:{}}},
989
:
function
(
t
,
e
,
s
){
e
=
t
.
exports
=
s
(
2
)(),
e
.
push
([
t
.
i
,
""
,
""
])}});
\ No newline at end of file
dist/19.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
19
],{
1074
:
function
(
t
,
v
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,[
_
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
滑块组件。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
基本用法
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
,
imgUrl
:
"
../asset/img/demo/slider.png
"
}},[
t
.
_v
(
"
>
"
)]),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
_
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
_
(
"
thead
"
,[
_
(
"
tr
"
,[
_
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
_
(
"
tbody
"
,[
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
step
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
滑块每次移动距离
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
1
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
click-more
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
是否支持点击滑动
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
value
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
滑块初始值
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
0
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
min
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
最小值
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
0
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
max
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
最大值
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
100
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
showNums
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
是否显示数字
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])])])]),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
_
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
_
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
_
(
"
thead
"
,[
_
(
"
tr
"
,[
_
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
_
(
"
tbody
"
,[
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
touch-end
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
滑动结束时触发
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
value
"
)])])])])])])}]}},
1168
:
function
(
t
,
v
,
_
){
var
e
=
_
(
976
);
"
string
"
==
typeof
e
&&
(
e
=
[[
t
.
i
,
e
,
""
]]),
e
.
locals
&&
(
t
.
exports
=
e
.
locals
);
_
(
3
)(
"
22c41190
"
,
e
,
!
0
,{})},
862
:
function
(
t
,
v
,
_
){
function
e
(
t
){
_
(
1168
)}
var
d
=
_
(
1
)(
_
(
956
),
_
(
1074
),
e
,
"
data-v-1a7059d8
"
,
null
);
t
.
exports
=
d
.
exports
},
956
:
function
(
t
,
v
,
_
){
"
use strict
"
;
Object
.
defineProperty
(
v
,
"
__esModule
"
,{
value
:
!
0
}),
v
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-slider
\n
:value="10"
\n
:step="10"
\n
:min="10"
\n
@touch-end="afterTouch"
\n
></nut-slider>
'
}},
methods
:{
afterTouch
:
function
(
t
){
console
.
log
(
t
)}}}},
976
:
function
(
t
,
v
,
_
){
v
=
t
.
exports
=
_
(
2
)(),
v
.
push
([
t
.
i
,
"
pre[data-v-1a7059d8]{margin-top:30px}
"
,
""
])}});
\ No newline at end of file
dist/2.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
2
],{
178
:
function
(
t
,
e
,
i
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
});
var
a
=
i
(
80
),
l
=
i
.
n
(
a
),
r
=
i
(
81
),
f
=
i
.
n
(
r
),
c
=
new
l
.
a
({
id
:
"
directive
"
,
use
:
"
directive-usage
"
,
viewBox
:
"
0 0 90 20
"
,
content
:
'
<symbol viewBox="0 0 90 20" id="directive"><linearGradient id="directive_b" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1" /><stop offset="1" stop-opacity=".1" /></linearGradient><clipPath id="directive_a"><rect width="90" height="20" rx="3" fill="#fff" /></clipPath><g clip-path="url(#directive_a)"><path fill="#555" d="M0 0h33v20H0z" /><path fill="#007ec6" d="M33 0h57v20H33z" /><path fill="url(#directive_b)" d="M0 0h90v20H0z" /></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110"><text x="175" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="230">指令</text><text x="175" y="140" transform="scale(.1)" textLength="230">指令</text><text x="605" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="470">directive</text><text x="605" y="140" transform="scale(.1)" textLength="470">directive</text></g> </symbol>
'
});
f
.
a
.
add
(
c
);
e
.
default
=
c
}});
\ No newline at end of file
dist/20.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
20
],{
1027
:
function
(
t
,
e
,
d
){
e
=
t
.
exports
=
d
(
2
)(),
e
.
push
([
t
.
i
,
""
,
""
])},
1126
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
d
=
t
.
_self
.
_c
||
e
;
return
d
(
"
div
"
,[
d
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
日期时间滑动选择器。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
d
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
d
(
"
h6
"
,[
t
.
_v
(
"
日期
"
)]),
t
.
_v
(
"
"
),
d
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
,
imgUrl
:
"
../asset/img/demo/slidecalendar.png
"
}}),
t
.
_v
(
"
"
),
d
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo4
}}),
t
.
_v
(
"
"
),
d
(
"
h6
"
,[
t
.
_v
(
"
日期时间
"
)]),
t
.
_v
(
"
"
),
d
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
}}),
t
.
_v
(
"
"
),
d
(
"
h6
"
,[
t
.
_v
(
"
时间
"
)]),
t
.
_v
(
"
"
),
d
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo3
}}),
t
.
_v
(
"
"
),
d
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
d
=
t
.
_self
.
_c
||
e
;
return
d
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
d
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
d
(
"
thead
"
,[
d
(
"
tr
"
,[
d
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
d
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
d
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
d
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
d
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
d
(
"
tbody
"
,[
d
(
"
tr
"
,[
d
(
"
td
"
,[
t
.
_v
(
"
data
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
初始化时间
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
'2018-01-12,2019-05-12'
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
d
(
"
tr
"
,[
d
(
"
td
"
,[
t
.
_v
(
"
type
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
日期控件的类型
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
'datetime','time','date'
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
d
(
"
tr
"
,[
d
(
"
td
"
,[
t
.
_v
(
"
id
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
日期控件的id
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
'demo1'
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])]),
t
.
_v
(
"
"
),
d
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
d
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
d
(
"
thead
"
,[
d
(
"
tr
"
,[
d
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
d
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
d
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
d
(
"
tbody
"
,[
d
(
"
tr
"
,[
d
(
"
td
"
,[
t
.
_v
(
"
confirm
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
选择日期后的回调返回选择的日期
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
String
"
)])])])])])}]}},
1219
:
function
(
t
,
e
,
d
){
var
n
=
d
(
1027
);
"
string
"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
d
(
3
)(
"
5590e53c
"
,
n
,
!
0
,{})},
861
:
function
(
t
,
e
,
d
){
function
n
(
t
){
d
(
1219
)}
var
v
=
d
(
1
)(
d
(
955
),
d
(
1126
),
n
,
"
data-v-6eaa52e8
"
,
null
);
t
.
exports
=
v
.
exports
},
955
:
function
(
t
,
e
,
d
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-slidecalendar
\n
@confirm="choseTime"
\n
data="2018-04-12,2019-05-12"
\n
></nut-slidecalendar>
'
,
demo2
:
'
<nut-slidecalendar
\n
data="2018-04-12,2019-05-12"
\n
type="datetime"
\n
id="test2"
\n
></nut-slidecalendar>
'
,
demo3
:
'
<nut-slidecalendar
\n
type="time"
\n
id="test3"
\n
></nut-slidecalendar>
'
,
demo4
:
"
export default {
\n
methods:{
\n
choseTime(val){
\n
console.log(val)
\n
}
\n
}
\n
}
"
}},
methods
:{
choseTime
:
function
(
t
){
console
.
log
(
t
)}}}}});
\ No newline at end of file
dist/21.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
21
],{
1072
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
签名组件。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
n
(
"
h6
"
,[
t
.
_v
(
"
基本用法
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
,
imgUrl
:
"
../asset/img/demo/signature1.png
"
}}),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo3
}}),
t
.
_v
(
"
"
),
n
(
"
h6
"
,[
t
.
_v
(
"
修改签字颜色和画笔粗细
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
,
imgUrl
:
"
../asset/img/demo/signature2.png
"
}}),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
n
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
n
(
"
thead
"
,[
n
(
"
tr
"
,[
n
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
n
(
"
tbody
"
,[
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
lineWidth
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
画笔宽度
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
number
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
2
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
strokeStyle
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
画笔颜色
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
string
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
#000
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
type
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
转换为dataUrl格式
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
string
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
png
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
png/jpg
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
unSupportTpl
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
浏览器不支持显示文案
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
string
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
对不起,当前浏览器不支持Canvas,无法使用本控件!
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])},
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
n
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
n
(
"
thead
"
,[
n
(
"
tr
"
,[
n
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
n
(
"
tbody
"
,[
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
confirm
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
点击确认签字按钮时触发
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
canvas:canvas;data:based64
"
)])])])])])}]}},
1166
:
function
(
t
,
e
,
n
){
var
v
=
n
(
974
);
"
string
"
==
typeof
v
&&
(
v
=
[[
t
.
i
,
v
,
""
]]),
v
.
locals
&&
(
t
.
exports
=
v
.
locals
);
n
(
3
)(
"
6328703a
"
,
v
,
!
0
,{})},
860
:
function
(
t
,
e
,
n
){
function
v
(
t
){
n
(
1166
)}
var
r
=
n
(
1
)(
n
(
954
),
n
(
1072
),
v
,
null
,
null
);
t
.
exports
=
r
.
exports
},
954
:
function
(
t
,
e
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-signature
\n
@confirm="confirm"
\n
></nut-signature>
'
,
demo2
:
'
<nut-signature
\n
@confirm="confirm1"
\n
:lineWidth="5"
\n
strokeStyle="#000000"
\n
></nut-signature>
'
,
demo3
:
"
export default {
\n
methods:{
\n
confirm(canvas, data) {
\n
console.log(data);
\n
}
\n
}
\n
}
"
}},
methods
:{
confirm
:
function
(
t
,
e
){
console
.
log
(
e
)},
confirm1
:
function
(
t
,
e
){
console
.
log
(
e
)}}}},
974
:
function
(
t
,
e
,
n
){
e
=
t
.
exports
=
n
(
2
)(),
e
.
push
([
t
.
i
,
"
.nut-signature .nut-signature-inner{height:200px;width:100%;max-width:400px;margin-bottom:10px;border:1px solid #eee;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.nut-signature .nut-signature-unsopport{font-size:12px}
"
,
""
])}});
\ No newline at end of file
dist/22.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
22
],{
1002
:
function
(
n
,
t
,
e
){
t
=
n
.
exports
=
e
(
2
)(),
t
.
push
([
n
.
i
,
""
,
""
])},
1101
:
function
(
n
,
t
){
n
.
exports
=
{
render
:
function
(){
var
n
=
this
,
t
=
n
.
$createElement
,
e
=
n
.
_self
.
_c
||
t
;
return
e
(
"
div
"
,[
e
(
"
nut-docheader
"
,{
attrs
:{
name
:
n
.
$route
.
name
,
chName
:
n
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
下拉选择面板,从页面底部弹出,支持多级联动选择及异步请求。
"
,
showQrCode
:
!
0
}}),
n
.
_v
(
"
"
),
e
(
"
h5
"
,[
n
.
_v
(
"
示例
"
)]),
n
.
_v
(
"
"
),
e
(
"
h6
"
,[
n
.
_v
(
"
默认用法
"
)]),
n
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
n
.
demo
.
code1
,
imgUrl
:[
"
../asset/img/demo/select1.png
"
]}}),
n
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
n
.
demo
.
code11
}}),
n
.
_v
(
"
"
),
e
(
"
h6
"
,[
n
.
_v
(
"
显示内容自定义Slot
"
)]),
n
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
n
.
demo
.
code2
,
imgUrl
:[
"
../asset/img/demo/select2.png
"
]}}),
n
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
n
.
demo
.
code22
}}),
n
.
_v
(
"
"
),
e
(
"
h6
"
,[
n
.
_v
(
"
异步加载
"
)]),
n
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
n
.
demo
.
code3
,
imgUrl
:[
"
../asset/img/demo/select3.png
"
]}}),
n
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
n
.
demo
.
code33
}}),
n
.
_v
(
"
"
),
e
(
"
h5
"
,[
n
.
_v
(
"
Props
"
)]),
n
.
_v
(
"
"
),
n
.
_m
(
0
),
n
.
_v
(
"
"
),
e
(
"
h5
"
,[
n
.
_v
(
"
Slot
"
)]),
n
.
_v
(
"
"
),
n
.
_m
(
1
),
n
.
_v
(
"
"
),
e
(
"
h5
"
,[
n
.
_v
(
"
Events
"
)]),
n
.
_v
(
"
"
),
n
.
_m
(
2
),
n
.
_v
(
"
"
),
e
(
"
h5
"
,[
n
.
_v
(
"
Methods
"
)]),
n
.
_v
(
"
"
),
n
.
_m
(
3
)],
1
)},
staticRenderFns
:[
function
(){
var
n
=
this
,
t
=
n
.
$createElement
,
e
=
n
.
_self
.
_c
||
t
;
return
e
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
e
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
e
(
"
thead
"
,[
e
(
"
tr
"
,[
e
(
"
th
"
,[
n
.
_v
(
"
参数
"
)]),
n
.
_v
(
"
"
),
e
(
"
th
"
,[
n
.
_v
(
"
说明
"
)]),
n
.
_v
(
"
"
),
e
(
"
th
"
,[
n
.
_v
(
"
类型
"
)]),
n
.
_v
(
"
"
),
e
(
"
th
"
,[
n
.
_v
(
"
默认值
"
)]),
n
.
_v
(
"
"
),
e
(
"
th
"
,[
n
.
_v
(
"
可选值
"
)])])]),
n
.
_v
(
"
"
),
e
(
"
tbody
"
,[
e
(
"
tr
"
,[
e
(
"
td
"
,[
n
.
_v
(
"
data
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
'
显示数据,类型为[{"n": "1","s":[{"n","2"}]}]
'
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
Array
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
--
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
--
"
)])]),
n
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
n
.
_v
(
"
selected
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
选中值,每一列的显示值已‘-’分割,如设置的值本列未找到,则默认第一个,例“2017-1-2”
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
String
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
--
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
--
"
)])]),
n
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
n
.
_v
(
"
nodeKey
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
'
跟数据节点值,如传入数据为[{"n":"1","b":"2"}],nodeKey配置为n,则列表显示1
'
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
String
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
--
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
n
"
)])]),
n
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
n
.
_v
(
"
childKey
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
'
子数据节点值,如传入数据为[{"n":"1","s":[{"n","1"}]}],childKey配置为s,则子列表为s数据
'
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
String
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
--
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
s
"
)])]),
n
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
n
.
_v
(
"
async
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
是否支持异步,当为true时,data配置一层即可,列拖动时会返回对应索引,可动态添加后面的子列
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
Boolean
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
--
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
false
"
)])])])])])},
function
(){
var
n
=
this
,
t
=
n
.
$createElement
,
e
=
n
.
_self
.
_c
||
t
;
return
e
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
e
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
e
(
"
thead
"
,[
e
(
"
tr
"
,[
e
(
"
th
"
,[
n
.
_v
(
"
名称
"
)]),
n
.
_v
(
"
"
),
e
(
"
th
"
,[
n
.
_v
(
"
说明
"
)])])]),
n
.
_v
(
"
"
),
e
(
"
tbody
"
,[
e
(
"
tr
"
,[
e
(
"
td
"
,[
n
.
_v
(
"
显示Slot
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
默认显示的自定义样式Slot
"
)])])])])])},
function
(){
var
n
=
this
,
t
=
n
.
$createElement
,
e
=
n
.
_self
.
_c
||
t
;
return
e
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
e
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
e
(
"
thead
"
,[
e
(
"
tr
"
,[
e
(
"
th
"
,[
n
.
_v
(
"
事件名
"
)]),
n
.
_v
(
"
"
),
e
(
"
th
"
,[
n
.
_v
(
"
说明
"
)]),
n
.
_v
(
"
"
),
e
(
"
th
"
,[
n
.
_v
(
"
回调参数
"
)])])]),
n
.
_v
(
"
"
),
e
(
"
tbody
"
,[
e
(
"
tr
"
,[
e
(
"
td
"
,[
n
.
_v
(
"
slideEnd
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
当异步开启时,每当滑动结束时触发
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
[数据数据],数据索引对应列(用于更新数据)
"
)])]),
n
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
n
.
_v
(
"
change
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
点击确认时触发
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
[每列选中的对象值]
"
)])])])])])},
function
(){
var
n
=
this
,
t
=
n
.
$createElement
,
e
=
n
.
_self
.
_c
||
t
;
return
e
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
e
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
e
(
"
thead
"
,[
e
(
"
tr
"
,[
e
(
"
th
"
,[
n
.
_v
(
"
事件名
"
)]),
n
.
_v
(
"
"
),
e
(
"
th
"
,[
n
.
_v
(
"
说明
"
)]),
n
.
_v
(
"
"
),
e
(
"
th
"
,[
n
.
_v
(
"
传入参数
"
)])])]),
n
.
_v
(
"
"
),
e
(
"
tbody
"
,[
e
(
"
tr
"
,[
e
(
"
td
"
,[
n
.
_v
(
"
updateSelect
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
当异步开启时,动态添加第二列时调用
"
)]),
n
.
_v
(
"
"
),
e
(
"
td
"
,[
n
.
_v
(
"
符合列表数据结构(nodeKey与childKey)
"
)])])])])])}]}},
1194
:
function
(
n
,
t
,
e
){
var
d
=
e
(
1002
);
"
string
"
==
typeof
d
&&
(
d
=
[[
n
.
i
,
d
,
""
]]),
d
.
locals
&&
(
n
.
exports
=
d
.
locals
);
e
(
3
)(
"
26fb5cd6
"
,
d
,
!
0
,{})},
858
:
function
(
n
,
t
,
e
){
function
d
(
n
){
e
(
1194
)}
var
_
=
e
(
1
)(
e
(
952
),
e
(
1101
),
d
,
null
,
null
);
n
.
exports
=
_
.
exports
},
952
:
function
(
n
,
t
,
e
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
});
var
d
=
e
(
20
);
!
function
(
n
){
n
&&
n
.
__esModule
}(
d
);
t
.
default
=
{
data
:
function
(){
return
{
demo
:{
code1
:
'
<nut-select class="demo1-select"
\n
:selected="demo1.selected"
\n
:data="demo1.data"
\n
@change="demo1Change">
\n
{{demo1.selected}}
\n
</nut-select>
'
,
code11
:
'
export default {
\n
data(){
\n
return{
\n
demo1: {
\n
data: [
\n
{"n": "北京", "s": [{"n": "海淀区"},{"n": "通州区"}]},
\n
{"n": "上海", "s": [{"n": "浦东新区"},{"n": "其他区"}]},
\n
{"n": "河北省", "s": [{"n": "石家庄市", "s": [{"n": "城东区"},{"n": "城西区"}]},{"n":"秦皇岛市"}]},
\n
{"n": "上海", "s": [{"n": "浦东新区"},{"n": "其他区"}]},
\n
{"n": "上海", "s": [{"n": "浦东新区"},{"n": "其他区"}]},
\n
{"n": "上海", "s": [{"n": "浦东新区"},{"n": "其他区"}]},
\n
{"n": "上海", "s": [{"n": "浦东新区"},{"n": "其他区"}]},
\n
{"n": "上海", "s": [{"n": "浦东新区"},{"n": "其他区"}]},
\n
{"n": "上海", "s": [{"n": "浦东新区"},{"n": "其他区"}]}
\n
],
\n
selected:
\'
河北省-石家庄市-城东区
\'\n
}
\n
}
\n
}
\n
}
'
,
code2
:
'
\n
<nut-select
\n
:selected="demo2.selected"
\n
:data="demo2.data"
\n
@change="demo2Change"
\n
class="demo-select">
\n
<slot><a class="button button-primary">{{demo2.selected}}</a></slot>
\n
</nut-select>
'
,
code22
:
'
export default {
\n
data(){
\n
return{
\n
demo2: {
\n
selected:
\'
2018-11
\'
,
\n
data: [
\n
{"n":"2017","s":[{"n":"1"},{"n":"2"},{"n":"3"},{"n":"4"},{"n":"5"},{"n":"6"},{"n":"7"},{"n":"8"},{"n":"9"},{"n":"10"},{"n":"11"},{"n":"12"}]},
\n
{"n":"2018","s":[{"n":"1"},{"n":"2"},{"n":"3"},{"n":"4"},{"n":"5"},{"n":"6"},{"n":"7"},{"n":"8"},{"n":"9"},{"n":"10"},{"n":"11"},{"n":"12"}]},
\n
{"n":"2019","s":[{"n":"1"},{"n":"2"},{"n":"3"},{"n":"4"},{"n":"5"},{"n":"6"},{"n":"7"},{"n":"8"},{"n":"9"},{"n":"10"},{"n":"11"},{"n":"12"}]},
\n
{"n":"2020","s":[{"n":"1"},{"n":"2"},{"n":"3"},{"n":"4"},{"n":"5"},{"n":"6"},{"n":"7"},{"n":"8"},{"n":"9"},{"n":"10"},{"n":"11"},{"n":"12"}]},
\n
{"n":"2021","s":[{"n":"1"},{"n":"2"},{"n":"3"},{"n":"4"},{"n":"5"},{"n":"6"},{"n":"7"},{"n":"8"},{"n":"9"},{"n":"10"},{"n":"11"},{"n":"12"}]},
\n
{"n":"2022","s":[{"n":"1"},{"n":"2"},{"n":"3"},{"n":"4"},{"n":"5"},{"n":"6"},{"n":"7"},{"n":"8"},{"n":"9"},{"n":"10"},{"n":"11"},{"n":"12"}]},
\n
{"n":"2023","s":[{"n":"1"},{"n":"2"},{"n":"3"},{"n":"4"},{"n":"5"},{"n":"6"},{"n":"7"},{"n":"8"},{"n":"9"},{"n":"10"},{"n":"11"},{"n":"12"}]}
\n
]
\n
}
\n
}
\n
}
\n
}
'
,
code3
:
'
\n
<nut-select
\n
:selected="demo3.selected"
\n
:data="demo3.data"
\n
:async = true
\n
@change="demo3Change"
\n
@slideEnd="slideEnd"
\n
class="demo-select">
\n
<slot><a class="button button-primary">{{demo3.selected}}</a></slot>
\n
</nut-select>
'
,
code33
:
'
export default {
\n
data(){
\n
return{
\n
demo3: {
\n
selected:
\'
1
\'
,
\n
data: [
\n
{"n":"1"},{"n":"2"},{"n":"3"},{"n":"4"},{"n":"5"},{"n":"6"}
\n
]
\n
}
\n
}
\n
}
\n
}
'
}}},
methods
:{}}}});
\ No newline at end of file
dist/23.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
23
],{
1057
:
function
(
t
,
v
,
_
){
v
=
t
.
exports
=
_
(
2
)(),
v
.
push
([
t
.
i
,
""
,
""
])},
1156
:
function
(
t
,
v
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,[
_
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
搜索栏。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
_
(
"
h6
"
,[
t
.
_v
(
"
默认用法
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
,
imgUrl
:[
"
../asset/img/demo/searchBar1.png
"
]}}),
t
.
_v
(
"
"
),
_
(
"
h6
"
,[
t
.
_v
(
"
右侧搜索按钮可根据需要进行配置
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
,
imgUrl
:[
"
../asset/img/demo/searchBar2.png
"
]}}),
t
.
_v
(
"
"
),
_
(
"
h6
"
,[
t
.
_v
(
"
可配置输入框前面是否显示搜索图标(图标可配置)、输入框高度、右侧是否显示文字按钮以及文字按钮宽度、显示文字、文字颜色
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo3
,
imgUrl
:[
"
../asset/img/demo/searchBar3.png
"
]}}),
t
.
_v
(
"
"
),
_
(
"
h6
"
,[
t
.
_v
(
"
可配置获取输入框焦点事件、输入事件、失去焦点事件、默认提交事件
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo4
,
imgUrl
:[
"
../asset/img/demo/searchBar1.png
"
]}}),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo5
}}),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
_
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
_
(
"
thead
"
,[
_
(
"
tr
"
,[
_
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
_
(
"
tbody
"
,[
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
height
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
输入框的高度,单位为rem
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
'0.6'
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
width
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
右侧搜索按钮的宽度,单位为rem
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
'0.6'
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
color
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
右侧文字搜索按钮字体颜色
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
'#222'
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
textInfo
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
右侧文字搜索按钮文案
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
'搜索'
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
icon
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
输入框前面icon及右侧图标搜索按钮icon链接
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
hasIcon
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
是否显示输入框前面的icon
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
placeText
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
输入框placeholder内容
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
'请输入内容...'
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
hasSearchButton
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
是否显示右侧搜索按钮
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
hasTextButton
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
右侧搜索按钮是否为文字按钮
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])},
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
_
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
_
(
"
thead
"
,[
_
(
"
tr
"
,[
_
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
回调
"
)])])]),
t
.
_v
(
"
"
),
_
(
"
tbody
"
,[
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
focus
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
输入框获取焦点时触发事件
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
input
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
输入框输入内容时触发事件
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
blur
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
输入框失去焦点时触发事件
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
submit
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
默认提交事件
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])}]}},
1249
:
function
(
t
,
v
,
_
){
var
n
=
_
(
1057
);
"
string
"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
_
(
3
)(
"
483626a6
"
,
n
,
!
0
,{})},
857
:
function
(
t
,
v
,
_
){
function
n
(
t
){
_
(
1249
)}
var
e
=
_
(
1
)(
_
(
951
),
_
(
1156
),
n
,
null
,
null
);
t
.
exports
=
e
.
exports
},
951
:
function
(
t
,
v
,
_
){
"
use strict
"
;
Object
.
defineProperty
(
v
,
"
__esModule
"
,{
value
:
!
0
}),
v
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-searchbar placeText="请输入自定义文案"></nut-searchbar>
'
,
demo2
:
'
<nut-searchbar
\n
placeText="请输入自定义文案"
\n
:hasSearchButton="false"
\n
></nut-searchbar>
'
,
demo3
:
'
<nut-searchbar
\n
placeText="ERP/姓名/邮箱"
\n
:hasIcon="true"
\n
:hasTextButton="true"
\n
textInfo="搜索"
\n
width="1"
\n
height="1"
\n
color="#f23030"
\n
></nut-searchbar>
'
,
demo4
:
'
<nut-searchbar
\n
placeText="请输入自定义文案"
\n
@focus="focusFun"
\n
@input="inputFun"
\n
@blur="blurFun"
\n
@submit="submitFun"
\n
></nut-searchbar>
'
,
demo5
:
"
export default {
\n
methods: {
\n
focusFun() {
\n
console.log('获取焦点操作!');
\n
},
\n
inputFun() {
\n
alert('您正在输入...');
\n
},
\n
blurFun() {
\n
console.log('您已失去焦点!');
\n
},
\n
submitFun() {
\n
console.log('默认提交操作!');
\n
}
\n
}
\n
}
"
}},
methods
:{
focusFun
:
function
(){
console
.
log
(
"
获取焦点操作!
"
)},
inputFun
:
function
(){
alert
(
"
您正在输入...
"
)},
blurFun
:
function
(){
console
.
log
(
"
您已失去焦点!
"
)},
submitFun
:
function
(){
console
.
log
(
"
默认提交操作!
"
)}}}}});
\ No newline at end of file
dist/24.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
24
],{
1056
:
function
(
t
,
v
,
_
){
v
=
t
.
exports
=
_
(
2
)(),
v
.
push
([
t
.
i
,
""
,
""
])},
1155
:
function
(
t
,
v
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,[
_
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
评分组件,支持配置ICON。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
_
(
"
h6
"
,[
t
.
_v
(
"
默认用法
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
,
imgUrl
:
"
../asset/img/demo/rate1.png
"
}}),
t
.
_v
(
"
"
),
_
(
"
h6
"
,[
t
.
_v
(
"
可配置图片路径,需同时配置图片的高度和宽度
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
,
imgUrl
:
"
../asset/img/demo/rate2.png
"
}}),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
_
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
_
(
"
thead
"
,[
_
(
"
tr
"
,[
_
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
_
(
"
tbody
"
,[
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
num
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
评分的个数
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
5
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
originalPath
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
评分中初始图片的路径
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
activePath
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
评分中激活后图片的路径
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
picHeight
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
评分图片的高度,单位rem
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
0.5
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
picWidth
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
评分图片的宽度,单位rem
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
0.5
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
currValue
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
当前值
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
0
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])},
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
_
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
_
(
"
thead
"
,[
_
(
"
tr
"
,[
_
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
_
(
"
tbody
"
,[
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
change-rate
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
点击评分图片时触发的事件
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
返回点击的索引值
"
)])])])])])}]}},
1248
:
function
(
t
,
v
,
_
){
var
e
=
_
(
1056
);
"
string
"
==
typeof
e
&&
(
e
=
[[
t
.
i
,
e
,
""
]]),
e
.
locals
&&
(
t
.
exports
=
e
.
locals
);
_
(
3
)(
"
896bc586
"
,
e
,
!
0
,{})},
856
:
function
(
t
,
v
,
_
){
function
e
(
t
){
_
(
1248
)}
var
r
=
_
(
1
)(
_
(
950
),
_
(
1155
),
e
,
"
data-v-eda84b5a
"
,
null
);
t
.
exports
=
r
.
exports
},
950
:
function
(
t
,
v
,
_
){
"
use strict
"
;
Object
.
defineProperty
(
v
,
"
__esModule
"
,{
value
:
!
0
}),
v
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-rate
\n
:num="5"
\n
:currValue="3"
\n
></nut-rate>
'
,
demo2
:
'
<nut-rate
\n
:num="10"
\n
:currValue="4"
\n
originalPath="初始图片路径"
\n
:picWidth="0.32"
\n
:picHeight="0.31"
\n
activePath="激活图片路径"
\n
></nut-rate>
'
}},
methods
:{
changeRate
:
function
(
t
){}}}}});
\ No newline at end of file
dist/25.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
25
],{
1028
:
function
(
e
,
t
,
a
){
t
=
e
.
exports
=
a
(
2
)(),
t
.
push
([
e
.
i
,
"
.nut-radiogroup .radiolist{display:inline-block;width:100px}
"
,
""
])},
1127
:
function
(
e
,
t
){
e
.
exports
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"
div
"
,[
a
(
"
nut-docheader
"
,{
attrs
:{
name
:
e
.
$route
.
name
,
chName
:
e
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
单选按钮组。
"
,
showQrCode
:
!
0
}}),
e
.
_v
(
"
"
),
a
(
"
h5
"
,[
e
.
_v
(
"
示例
"
)]),
e
.
_v
(
"
"
),
a
(
"
h6
"
,[
e
.
_v
(
"
默认用法
"
)]),
e
.
_v
(
"
"
),
a
(
"
nut-radiogroup
"
,{
attrs
:{
data
:
e
.
data1
}}),
e
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
e
.
demo1
}}),
e
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
e
.
demo11
}}),
e
.
_v
(
"
"
),
a
(
"
h6
"
,[
e
.
_v
(
"
回调事件
"
)]),
e
.
_v
(
"
"
),
a
(
"
nut-radiogroup
"
,{
attrs
:{
data
:
e
.
data2
,
inline
:
!
0
},
on
:{
"
radio-check
"
:
e
.
radioChecked
}}),
e
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
e
.
demo2
}}),
e
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
e
.
demo22
}}),
e
.
_v
(
"
"
),
a
(
"
h6
"
,[
e
.
_v
(
"
禁用选项
"
)]),
e
.
_v
(
"
"
),
a
(
"
nut-radiogroup
"
,{
attrs
:{
className
:
"
radiolist
"
,
data
:
e
.
data3
},
on
:{
"
radio-check
"
:
e
.
radioChecked2
}}),
e
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
e
.
demo3
}}),
e
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
e
.
demo33
}}),
e
.
_v
(
"
"
),
a
(
"
h5
"
,[
e
.
_v
(
"
Props
"
)]),
e
.
_v
(
"
"
),
e
.
_m
(
0
),
e
.
_v
(
"
"
),
a
(
"
h5
"
,[
e
.
_v
(
"
Events
"
)]),
e
.
_v
(
"
"
),
e
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
a
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
a
(
"
thead
"
,[
a
(
"
tr
"
,[
a
(
"
th
"
,[
e
.
_v
(
"
参数
"
)]),
e
.
_v
(
"
"
),
a
(
"
th
"
,[
e
.
_v
(
"
说明
"
)]),
e
.
_v
(
"
"
),
a
(
"
th
"
,[
e
.
_v
(
"
类型
"
)]),
e
.
_v
(
"
"
),
a
(
"
th
"
,[
e
.
_v
(
"
默认值
"
)]),
e
.
_v
(
"
"
),
a
(
"
th
"
,[
e
.
_v
(
"
可选值
"
)])])]),
e
.
_v
(
"
"
),
a
(
"
tbody
"
,[
a
(
"
tr
"
,[
a
(
"
td
"
,[
e
.
_v
(
"
data
"
)]),
e
.
_v
(
"
"
),
a
(
"
td
"
,[
e
.
_v
(
"
单选数组的数据,此项为必填项,渲染整个单选组件
"
)]),
e
.
_v
(
"
"
),
a
(
"
td
"
,[
e
.
_v
(
"
Array
"
)]),
e
.
_v
(
"
"
),
a
(
"
td
"
,[
e
.
_v
(
"
''
"
)]),
e
.
_v
(
"
"
),
a
(
"
td
"
,[
e
.
_v
(
"
checked属性值为true默认选中,disabled属性值为true禁用选项
"
)])]),
e
.
_v
(
"
"
),
a
(
"
tr
"
,[
a
(
"
td
"
,[
e
.
_v
(
"
inline
"
)]),
e
.
_v
(
"
"
),
a
(
"
td
"
,[
e
.
_v
(
"
展示成一行
"
)]),
e
.
_v
(
"
"
),
a
(
"
td
"
,[
e
.
_v
(
"
Boolean
"
)]),
e
.
_v
(
"
"
),
a
(
"
td
"
,[
e
.
_v
(
"
false
"
)]),
e
.
_v
(
"
"
),
a
(
"
td
"
,[
e
.
_v
(
"
--
"
)])])])])])},
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
a
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
a
(
"
thead
"
,[
a
(
"
tr
"
,[
a
(
"
th
"
,[
e
.
_v
(
"
事件名
"
)]),
e
.
_v
(
"
"
),
a
(
"
th
"
,[
e
.
_v
(
"
说明
"
)]),
e
.
_v
(
"
"
),
a
(
"
th
"
,[
e
.
_v
(
"
回调参数
"
)])])]),
e
.
_v
(
"
"
),
a
(
"
tbody
"
,[
a
(
"
tr
"
,[
a
(
"
td
"
,[
e
.
_v
(
"
radio-check
"
)]),
e
.
_v
(
"
"
),
a
(
"
td
"
,[
e
.
_v
(
"
选择时触发回调函数
"
)]),
e
.
_v
(
"
"
),
a
(
"
td
"
,[
e
.
_v
(
"
item,index,event
"
)])])])])])}]}},
1220
:
function
(
e
,
t
,
a
){
var
n
=
a
(
1028
);
"
string
"
==
typeof
n
&&
(
n
=
[[
e
.
i
,
n
,
""
]]),
n
.
locals
&&
(
e
.
exports
=
n
.
locals
);
a
(
3
)(
"
39278b6c
"
,
n
,
!
0
,{})},
855
:
function
(
e
,
t
,
a
){
function
n
(
e
){
a
(
1220
)}
var
d
=
a
(
1
)(
a
(
949
),
a
(
1127
),
n
,
null
,
null
);
e
.
exports
=
d
.
exports
},
949
:
function
(
e
,
t
,
a
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
});
var
n
=
a
(
20
);
!
function
(
e
){
e
&&
e
.
__esModule
}(
n
);
t
.
default
=
{
data
:
function
(){
return
{
data1
:[{
id
:
1
,
name
:
"
test1
"
,
value
:
1
},{
id
:
2
,
name
:
"
test1
"
,
value
:
2
},{
id
:
3
,
name
:
"
test1
"
,
value
:
3
},{
id
:
4
,
name
:
"
test1
"
,
value
:
4
},{
id
:
5
,
name
:
"
test1
"
,
value
:
5
}],
data2
:[{
id
:
10
,
name
:
"
test
"
,
value
:
"
是
"
,
checked
:
!
0
},{
id
:
12
,
name
:
"
test
"
,
value
:
"
否
"
}],
data3
:[{
id
:
11
,
name
:
"
test2
"
,
value
:
"
足球
"
},{
id
:
22
,
name
:
"
test2
"
,
value
:
"
篮球
"
,
checked
:
!
0
},{
id
:
33
,
name
:
"
test2
"
,
value
:
"
羽毛球
"
},{
id
:
44
,
name
:
"
test2
"
,
value
:
"
乒乓球
"
,
disabled
:
!
0
},{
id
:
55
,
name
:
"
test2
"
,
value
:
"
排球
"
}],
demo1
:
'
<nut-radiogroup :data="data1"></nut-radiogroup>
'
,
demo11
:
"
export default {
\n
data(){
\n
return{
\n
data1:[
\n
{id:1,name:'test1',value:1},
\n
{id:2,name:'test1',value:2},
\n
{id:3,name:'test1',value:3},
\n
{id:4,name:'test1',value:4},
\n
{id:5,name:'test1',value:5}
\n
]
\n
}
\n
}
\n
}
"
,
demo2
:
'
<nut-radiogroup
\n
:data="data2"
\n
:inline="true"
\n
@radio-check="radioChecked">
\n
</nut-radiogroup>
'
,
demo22
:
"
export default {
\n
data(){
\n
return{
\n
data2:[
\n
{id:10,name:'test',value:'是',checked:true},
\n
{id:12,name:'test',value:'否'},
\n
]
\n
}
\n
},
\n
methods:{
\n
radioChecked(item,index,event){
\n
alert(item.value);
\n
}
\n
}
\n
}
"
,
demo3
:
'
<nut-radiogroup
\n
:className="
\'
radiolist
\'
"
\n
:data="data3"
\n
@radio-check="radioChecked2">
\n
</nut-radiogroup>
'
,
demo33
:
"
export default {
\n
data(){
\n
return{
\n
data3:[
\n
{id:11,name:'test2',value:'足球'},
\n
{id:22,name:'test2',value:'篮球',checked:true},
\n
{id:33,name:'test2',value:'羽毛球'},
\n
{id:44,name:'test2',value:'乒乓球',disabled:true},
\n
{id:55,name:'test2',value:'排球'}
\n
]
\n
}
\n
},
\n
methods:{
\n
radioChecked2(item,index,event){
\n
console.log(item,index,event);
\n
}
\n
}
\n
}
"
}},
components
:{},
methods
:{
radioChecked
:
function
(
e
,
t
,
a
){
alert
(
e
.
value
)},
radioChecked2
:
function
(
e
,
t
,
a
){
console
.
log
(
e
,
t
,
a
)}}}}});
\ No newline at end of file
dist/26.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
26
],{
1009
:
function
(
t
,
e
,
v
){
e
=
t
.
exports
=
v
(
2
)(),
e
.
push
([
t
.
i
,
"
.radio-demo .nut-radio{display:inline-block;margin-right:5px}
"
,
""
])},
1108
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
v
=
t
.
_self
.
_c
||
e
;
return
v
(
"
div
"
,{
staticClass
:
"
radio-demo
"
},[
v
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
单选按钮。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
v
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
v
(
"
h6
"
,[
t
.
_v
(
"
默认用法
"
)]),
t
.
_v
(
"
"
),
v
(
"
nut-radio
"
,{
attrs
:{
checked
:
t
.
radio1
},
on
:{
"
update:checked
"
:
function
(
e
){
t
.
radio1
=
e
}}}),
t
.
_v
(
"
"
),
v
(
"
div
"
,[
t
.
_v
(
"
radio1:
"
+
t
.
_s
(
t
.
radio1
))]),
t
.
_v
(
"
"
),
v
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
}}),
t
.
_v
(
"
"
),
v
(
"
h6
"
,[
t
.
_v
(
"
点击触发回调
"
)]),
t
.
_v
(
"
"
),
v
(
"
nut-radio
"
,{
attrs
:{
value
:
"
vv
"
},
on
:{
"
input-check
"
:
t
.
callback
}}),
t
.
_v
(
"
"
),
v
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
}}),
t
.
_v
(
"
"
),
v
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
export default {
\n
methods:{
\n
callback(checkedStatus,event){
\n
alert(checkedStatus);
\n
}
\n
}
\n
}
"
}}),
t
.
_v
(
"
"
),
v
(
"
h6
"
,[
t
.
_v
(
"
禁用选项
"
)]),
t
.
_v
(
"
"
),
v
(
"
nut-radio
"
,{
attrs
:{
disabled
:
!
0
}}),
t
.
_v
(
"
"
),
v
(
"
nut-radio
"
),
t
.
_v
(
"
"
),
v
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo3
}}),
t
.
_v
(
"
"
),
v
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
v
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
v
=
t
.
_self
.
_c
||
e
;
return
v
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
v
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
v
(
"
thead
"
,[
v
(
"
tr
"
,[
v
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
v
(
"
tbody
"
,[
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
value
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
input的value属性
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Number,String
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
''
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
id
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
input的id属性
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Number,String
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
''
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
checked.sync
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
是否选中
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
disabled
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
是否禁用
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])])])])])},
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
v
=
t
.
_self
.
_c
||
e
;
return
v
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
v
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
v
(
"
thead
"
,[
v
(
"
tr
"
,[
v
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
v
(
"
tbody
"
,[
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
input-check
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
选择时触发回调函数
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
是否选中、value、事件对象
"
)])])])])])}]}},
1201
:
function
(
t
,
e
,
v
){
var
d
=
v
(
1009
);
"
string
"
==
typeof
d
&&
(
d
=
[[
t
.
i
,
d
,
""
]]),
d
.
locals
&&
(
t
.
exports
=
d
.
locals
);
v
(
3
)(
"
015da88e
"
,
d
,
!
0
,{})},
854
:
function
(
t
,
e
,
v
){
function
d
(
t
){
v
(
1201
)}
var
a
=
v
(
1
)(
v
(
948
),
v
(
1108
),
d
,
null
,
null
);
t
.
exports
=
a
.
exports
},
948
:
function
(
t
,
e
,
v
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
});
var
d
=
v
(
20
);
!
function
(
t
){
t
&&
t
.
__esModule
}(
d
);
e
.
default
=
{
data
:
function
(){
return
{
radio1
:
!
1
,
demo1
:
'
<nut-radio
\n
:checked.sync="radio1"
\n
></nut-radio>
'
,
demo2
:
'
<nut-radio
\n
@input-check="callback"
\n
></nut-radio>
'
,
demo3
:
'
<nut-radio
\n
:disabled="true"
\n
></nut-radio>
\n
<nut-radio></nut-radio>
'
}},
components
:{},
methods
:{
callback
:
function
(
t
,
e
,
v
){
alert
(
e
),
console
.
log
(
v
)}}}}});
\ No newline at end of file
dist/27.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
27
],{
1073
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
v
=
t
.
_self
.
_c
||
e
;
return
v
(
"
div
"
,[
v
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
商品价格组件,支持小数点前后应用不同样式、千位分隔、人民币符号等功能。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
v
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
v
(
"
h6
"
,[
t
.
_v
(
"
带人民币符号,且千位分隔
"
)]),
t
.
_v
(
"
"
),
v
(
"
nut-price
"
,{
attrs
:{
price
:
1010
,
needSymbol
:
!
0
,
thousands
:
!
0
}}),
v
(
"
br
"
),
v
(
"
br
"
),
t
.
_v
(
"
"
),
v
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
}}),
t
.
_v
(
"
"
),
v
(
"
h6
"
,[
t
.
_v
(
"
不带人民币符号,关闭千位分隔,小数点后显示一位
"
)]),
t
.
_v
(
"
"
),
v
(
"
nut-price
"
,{
attrs
:{
price
:
1010
,
needSymbol
:
!
1
,
thousands
:
!
1
,
decimalDigits
:
1
}}),
t
.
_v
(
"
"
),
v
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
}}),
t
.
_v
(
"
"
),
v
(
"
br
"
),
v
(
"
br
"
),
t
.
_v
(
"
"
),
v
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
v
=
t
.
_self
.
_c
||
e
;
return
v
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
v
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
v
(
"
thead
"
,[
v
(
"
tr
"
,[
v
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
v
(
"
tbody
"
,[
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
price
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
价格数量
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
0
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
needSymbol
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
是否需要加上人民币符号
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
decimalDigits
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
小数位位数
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
2
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
thousands
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
是否按照千分号形式显示
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])}]}},
1167
:
function
(
t
,
e
,
v
){
var
_
=
v
(
975
);
"
string
"
==
typeof
_
&&
(
_
=
[[
t
.
i
,
_
,
""
]]),
_
.
locals
&&
(
t
.
exports
=
_
.
locals
);
v
(
3
)(
"
aa7d3a22
"
,
_
,
!
0
,{})},
853
:
function
(
t
,
e
,
v
){
function
_
(
t
){
v
(
1167
)}
var
n
=
v
(
1
)(
v
(
947
),
v
(
1073
),
_
,
null
,
null
);
t
.
exports
=
n
.
exports
},
947
:
function
(
t
,
e
,
v
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-price
\n
:price="1010"
\n
:needSymbol="true"
\n
:thousands="true"
\n
></nut-price>
'
,
demo2
:
'
<nut-price
\n
:price="1010"
\n
:needSymbol="false"
\n
:thousands="false"
\n
:decimalDigits="1"
\n
></nut-price>
'
}},
methods
:{}}},
975
:
function
(
t
,
e
,
v
){
e
=
t
.
exports
=
v
(
2
)(),
e
.
push
([
t
.
i
,
""
,
""
])}});
\ No newline at end of file
dist/28.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
28
],{
1024
:
function
(
t
,
n
,
e
){
n
=
t
.
exports
=
e
(
2
)(),
n
.
push
([
t
.
i
,
""
,
""
])},
1123
:
function
(
t
,
n
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
n
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
n
;
return
e
(
"
div
"
,[
e
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
弹出面板,可自定义内容,通常作为基础组件被其他组件依赖。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
e
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
e
(
"
h6
"
,[
t
.
_v
(
"
footer含两个操作按钮
"
)]),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
,
imgUrl
:[
"
../asset/img/demo/popup1.png
"
]}}),
t
.
_v
(
"
"
),
e
(
"
h6
"
,[
t
.
_v
(
"
footer仅有一个按钮
"
)]),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
,
imgUrl
:[
"
../asset/img/demo/popup2.png
"
]}}),
t
.
_v
(
"
"
),
e
(
"
h6
"
,[
t
.
_v
(
"
header含有两个操作按钮
"
)]),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo3
,
imgUrl
:[
"
../asset/img/demo/popup3.png
"
]}}),
t
.
_v
(
"
"
),
e
(
"
h6
"
,[
t
.
_v
(
"
仅含有关闭按钮
"
)]),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo4
,
imgUrl
:[
"
../asset/img/demo/popup4.png
"
]}}),
t
.
_v
(
"
"
),
e
(
"
h6
"
,[
t
.
_v
(
"
默认示例
"
)]),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo5
,
imgUrl
:[
"
../asset/img/demo/popup5.png
"
]}}),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo6
}}),
t
.
_v
(
"
"
),
e
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
e
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
n
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
n
;
return
e
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
e
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
e
(
"
thead
"
,[
e
(
"
tr
"
,[
e
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
e
(
"
tbody
"
,[
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
popupVisible.sync
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
显示状态
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
false/true
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
configItems
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
配置项
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Object
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
{}
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
configItems.randomId
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
设置popup组件的顶层id
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
''
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
configItems.autoClose
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
是否自动关闭蒙层(如果是,需要将popupVisible增加.sync修饰符)
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
configItems.popupHeaderVisible
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
是否显示头部
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
configItems.hasCloseBtn
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
是否有关闭按钮
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
configItems.cancelText
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
头部取消按钮文案
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
取消
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
configItems.cancelClose
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
点击头部取消是否关闭面板
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
configItems.okText
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
头部确定按钮文案
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
确定
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
configItems.popupFooterVisible
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
是否显示底部
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
configItems.btnAmount
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
底部展示按钮的数量
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
2
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
2/1
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
configItems.onlyOneBtnText
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
仅一个按钮文案
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
去购买
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
configItems.cancelBtnText
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
底部取消按钮文案
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
取消
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
configItems.cancelAutoClose
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
点击底部取消按钮是否关闭面板
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
configItems.okBtnText
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
底部确定按钮文案
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
确定
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])},
function
(){
var
t
=
this
,
n
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
n
;
return
e
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
e
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
e
(
"
thead
"
,[
e
(
"
tr
"
,[
e
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
e
(
"
tbody
"
,[
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
cancel-click
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
点击顶部取消按钮时触发
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
返回Event对象
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
ok-click
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
点击顶部确定按钮时触发
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
返回Event对象
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
onlyone-btn-click
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
点击底部仅有一个按钮时触发
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
返回Event对象
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
cancel-btn-click
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
点击底部取消按钮时触发
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
返回Event对象
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
ok-btn-click
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
点击底部取消按钮时触发
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
返回Event对象
"
)])])])])])}]}},
1216
:
function
(
t
,
n
,
e
){
var
v
=
e
(
1024
);
"
string
"
==
typeof
v
&&
(
v
=
[[
t
.
i
,
v
,
""
]]),
v
.
locals
&&
(
t
.
exports
=
v
.
locals
);
e
(
3
)(
"
3b666a99
"
,
v
,
!
0
,{})},
852
:
function
(
t
,
n
,
e
){
function
v
(
t
){
e
(
1216
)}
var
_
=
e
(
1
)(
e
(
946
),
e
(
1123
),
v
,
null
,
null
);
t
.
exports
=
_
.
exports
},
946
:
function
(
t
,
n
,
e
){
"
use strict
"
;
Object
.
defineProperty
(
n
,
"
__esModule
"
,{
value
:
!
0
}),
n
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-popup
\n
:popupVisible.sync="visible1"
\n
:configItems="popup[0]"
\n
@cancel-btn-click="cancelBtnFn"
\n
@ok-btn-click="okBtnFn"
\n
@close-popup="closeMask">
\n
</nut-popup>
'
,
demo2
:
'
<nut-popup
\n
:popupVisible.sync="visible2"
\n
:configItems="popup[1]"
\n
@onlyone-btn-click="onlyOneBtnFn">
\n
</nut-popup>
'
,
demo3
:
'
<nut-popup
\n
:popupVisible.sync="visible3"
\n
:configItems="popup[2]"
\n
@cancel-click="cancelFn"
\n
@ok-click="okFn">
\n
</nut-popup>
'
,
demo4
:
'
<nut-popup
\n
:popupVisible.sync="visible4"
\n
:configItems="popup[3]">
\n
</nut-popup>
'
,
demo5
:
'
<nut-popup
\n
:popupVisible.sync="visible5"
\n
:configItems="{}">
\n
</nut-popup>
'
,
demo6
:
"
\n
export default {
\n
data(){
\n
return{
\n
visible1: false,
\n
visible2: false,
\n
visible3: false,
\n
visible4: false,
\n
visible5: false,
\n
popup: [
\n
{
\n
randomId: '0',
\n
hasCloseBtn: true,
\n
btnAmount: 2,
\n
popupHeight: {
\n
height: '100px'
\n
},
\n
cancelAutoClose: false
\n
},
\n
{
\n
hasCloseBtn: true,
\n
btnAmount: 1
\n
},
\n
{
\n
hasCloseBtn: false,
\n
popupFooterVisible: false
\n
},
\n
{
\n
hasCloseBtn: true,
\n
popupFooterVisible: false
\n
}
\n
]
\n
}
\n
},
\n
methods:{
\n
popupDemo1() {
\n
this.visible1 = true;
\n
},
\n
popupDemo2() {
\n
this.visible2 = true;
\n
},
\n
popupDemo3() {
\n
this.visible3 = true;
\n
},
\n
popupDemo4() {
\n
this.visible4 = true;
\n
},
\n
popupDemo5() {
\n
this.visible5 = true;
\n
},
\n
cancelBtnFn(e) {
\n
console.log(e.target);
\n
},
\n
okBtnFn(e) {
\n
console.log(e.target);
\n
},
\n
onlyOneBtnFn(e) {
\n
console.log('onlyOneBtnFn')
\n
},
\n
cancelFn(e) {
\n
console.log('cancelFn');
\n
},
\n
okFn(e) {
\n
console.log('okFn');
\n
},
\n
closeMask(e) {
\n
console.log('closePopup');
\n
this.visible1 = false;
\n
}
\n
}
\n
}
\n
"
}}}}});
\ No newline at end of file
dist/29.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
29
],{
1029
:
function
(
t
,
e
,
n
){
e
=
t
.
exports
=
n
(
2
)(),
e
.
push
([
t
.
i
,
"
.pic-box{display:-ms-flexbox;display:flex}.pic-box span{width:60px;height:60px;margin-right:20px;border:1px solid #eee}.pic-box span img{width:100%;height:100%}
"
,
""
])},
1128
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
图片查看器,支持左右滑动切换。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
依赖
"
)]),
t
.
_v
(
"
"
),
n
(
"
h6
"
,[
t
.
_v
(
"
Swiper
"
)]),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
,
imgUrl
:
"
../asset/img/demo/pictureview.png
"
}}),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
}}),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
n
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
n
(
"
thead
"
,[
n
(
"
tr
"
,[
n
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
n
(
"
tbody
"
,[
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
visible
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
初始状态显示或隐藏大图
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
bgColor
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
设置黑色遮罩层透明度
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
rgba(0,0,0,.5)
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
imgArr
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
大图数组
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Array
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
[ ]
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
initNum
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
显示大图时初始显示第几个
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
1
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
pagination
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
显示大图是是否显示点点点
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])},
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
n
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
n
(
"
thead
"
,[
n
(
"
tr
"
,[
n
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
n
(
"
tbody
"
,[
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
close-pic
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
点击关闭大图时触发
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])}]}},
1221
:
function
(
t
,
e
,
n
){
var
v
=
n
(
1029
);
"
string
"
==
typeof
v
&&
(
v
=
[[
t
.
i
,
v
,
""
]]),
v
.
locals
&&
(
t
.
exports
=
v
.
locals
);
n
(
3
)(
"
5d287db8
"
,
v
,
!
0
,{})},
851
:
function
(
t
,
e
,
n
){
function
v
(
t
){
n
(
1221
)}
var
i
=
n
(
1
)(
n
(
945
),
n
(
1128
),
v
,
null
,
null
);
t
.
exports
=
i
.
exports
},
945
:
function
(
t
,
e
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<div class="pic-box">
\n
<span v-for="(item, index) in picBox" @click="setPicShow(index)">
\n
<img :src="item">
\n
</span>
\n
</div>
\n
<nut-pictureview
\n
:visible.sync="picShow"
\n
:bgColor="coverColor"
\n
:imgArr="picBox"
\n
:initNum="picShowNum"
\n
:pagination="showPage"
\n
@close-pic="closeDo"
\n
></nut-pictureview>
'
,
demo2
:
"
export default {
\n
data(){
\n
return{
\n
picShow:false,
\n
picShowNum:1,
\n
showPage:true,
\n
coverColor:'rgba(0,0,0,.7)',
\n
picBox:['http://img10.360buyimg.com/n1/s368x368_jfs/t15451/283/338246331/345534/6b69d792/5a2a07c2N38f87e33.jpg',
\n
'http://img10.360buyimg.com/n1/s368x368_jfs/t2590/194/2825053760/121163/21a0bec9/577335b9N8990670f.jpg',
\n
'http://misc.360buyimg.com/mtd/pc/common/img/no_login.jpg'],
\n
}
\n
},
\n
methods:{
\n
setPicShow(index){
\n
this.picShowNum = index+1;
\n
this.picShow = true;
\n
},
\n
closeDo(){
\n
console.log('关闭了')
\n
}
\n
}
\n
}
"
}},
methods
:{}}}});
\ No newline at end of file
dist/3.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
3
],{
177
:
function
(
t
,
e
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
});
var
o
=
n
(
80
),
a
=
n
.
n
(
o
),
l
=
n
(
81
),
i
=
n
.
n
(
l
),
f
=
new
a
.
a
({
id
:
"
component
"
,
use
:
"
component-usage
"
,
viewBox
:
"
0 0 104 20
"
,
content
:
'
<symbol viewBox="0 0 104 20" id="component"><linearGradient id="component_b" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1" /><stop offset="1" stop-opacity=".1" /></linearGradient><clipPath id="component_a"><rect width="104" height="20" rx="3" fill="#fff" /></clipPath><g clip-path="url(#component_a)"><path fill="#555" d="M0 0h33v20H0z" /><path fill="#97CA00" d="M33 0h71v20H33z" /><path fill="url(#component_b)" d="M0 0h104v20H0z" /></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110"><text x="175" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="230">组件</text><text x="175" y="140" transform="scale(.1)" textLength="230">组件</text><text x="675" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="610">component</text><text x="675" y="140" transform="scale(.1)" textLength="610">component</text></g> </symbol>
'
});
i
.
a
.
add
(
f
);
e
.
default
=
f
}});
\ No newline at end of file
dist/30.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
30
],{
1055
:
function
(
t
,
e
,
n
){
e
=
t
.
exports
=
n
(
2
)(),
e
.
push
([
t
.
i
,
""
,
""
])},
1154
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
商品数量加减组件。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
n
(
"
h6
"
,[
t
.
_v
(
"
默认用法
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
,
imgUrl
:
"
../asset/img/demo/numoperate1.png
"
}}),
t
.
_v
(
"
"
),
n
(
"
h6
"
,[
t
.
_v
(
"
初始状态减号按钮置灰
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
,
imgUrl
:
"
../asset/img/demo/numoperate2.png
"
}}),
t
.
_v
(
"
"
),
n
(
"
h6
"
,[
t
.
_v
(
"
设置初始值为3
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo4
,
imgUrl
:
"
../asset/img/demo/numoperate3.png
"
}}),
t
.
_v
(
"
"
),
n
(
"
h6
"
,[
t
.
_v
(
"
点击增加和减少时获取当前数量
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo6
}}),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo7
}}),
t
.
_v
(
"
"
),
n
(
"
h6
"
,[
t
.
_v
(
"
设置最大值为4
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo8
,
imgUrl
:
"
../asset/img/demo/numoperate4.png
"
}}),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
n
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
n
(
"
thead
"
,[
n
(
"
tr
"
,[
n
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
n
(
"
tbody
"
,[
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
gery
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
初始状态下减号是否置灰
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
init
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
设置初始值
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
1
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
max
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
设置最大值
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])},
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
n
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
n
(
"
thead
"
,[
n
(
"
tr
"
,[
n
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
n
(
"
tbody
"
,[
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
add
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
点击加号时触发
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
reduce
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
点击减号时触发
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])}]}},
1247
:
function
(
t
,
e
,
n
){
var
r
=
n
(
1055
);
"
string
"
==
typeof
r
&&
(
r
=
[[
t
.
i
,
r
,
""
]]),
r
.
locals
&&
(
t
.
exports
=
r
.
locals
);
n
(
3
)(
"
fd89f36c
"
,
r
,
!
0
,{})},
850
:
function
(
t
,
e
,
n
){
function
r
(
t
){
n
(
1247
)}
var
v
=
n
(
1
)(
n
(
943
),
n
(
1154
),
r
,
null
,
null
);
t
.
exports
=
v
.
exports
},
943
:
function
(
t
,
e
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
demo1
:
"
<num-operate></num-operate>
"
,
demo2
:
'
<num-operate :gery="true"></num-operate>
'
,
demo4
:
'
<num-operate :init="3"></num-operate>
'
,
demo6
:
'
<num-operate @add="changeNum" @reduce="changeNum"></num-operate>
'
,
demo7
:
"
export default {
\n
data(){
\n
return{
\n
resNum:0
\n
}
\n
},
\n
methods:{
\n
changeNum(num){
\n
this.resNum = num;
\n
alert(this.resNum);
\n
}
\n
}
\n
}
"
,
demo8
:
'
<num-operate :max="4"></num-operate>
'
,
resNum
:
0
,
maxNum
:
4
,
isGrey
:
!
0
,
initNum
:
3
}},
methods
:{
changeNum
:
function
(
t
){
this
.
resNum
=
t
,
alert
(
this
.
resNum
)}}}}});
\ No newline at end of file
dist/31.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
31
],{
1059
:
function
(
t
,
e
,
n
){
e
=
t
.
exports
=
n
(
2
)(),
e
.
push
([
t
.
i
,
""
,
""
])},
1158
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
通用遮罩层,通常被其他组件依赖,亦可单独使用。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo
}}),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
export default {
\n
data(){
\n
return{
\n
maskShow:false
\n
}
\n
},
\n
methods:{
\n
maskOpen(){
\n
console.log('maskOpen方法执行了');
\n
},
\n
maskClose(){
\n
console.log('maskClose方法执行了');
\n
}
\n
}
\n
}
"
}}),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
n
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
n
(
"
thead
"
,[
n
(
"
tr
"
,[
n
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
备注
"
)])])]),
t
.
_v
(
"
"
),
n
(
"
tbody
"
,[
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
visible.sync
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
显示/隐藏
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
'
".sync"不可省略
'
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
color
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
颜色
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
'rgba(0,0,0,.5)'
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
支持HEX、RGBA
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
fade
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
是否开启渐显渐隐动效
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
)]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
closeOnClickModal
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
点击遮罩层是否关闭
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
若为false,点击不关闭,但仍会触发'close-mask'事件
"
)])])])])])},
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
n
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
n
(
"
thead
"
,[
n
(
"
tr
"
,[
n
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
备注
"
)])])]),
t
.
_v
(
"
"
),
n
(
"
tbody
"
,[
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
open-mask
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
遮罩层显示时触发
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
close-mask
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
遮罩层隐藏时触发
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
即便在closeOnClickModal为true,不允许点击关闭的时候依然会触发此事件
"
)])])])])])}]}},
1251
:
function
(
t
,
e
,
n
){
var
v
=
n
(
1059
);
"
string
"
==
typeof
v
&&
(
v
=
[[
t
.
i
,
v
,
""
]]),
v
.
locals
&&
(
t
.
exports
=
v
.
locals
);
n
(
3
)(
"
cdff25b4
"
,
v
,
!
0
,{})},
849
:
function
(
t
,
e
,
n
){
function
v
(
t
){
n
(
1251
)}
var
s
=
n
(
1
)(
n
(
941
),
n
(
1158
),
v
,
null
,
null
);
t
.
exports
=
s
.
exports
},
941
:
function
(
t
,
e
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
demo
:
'
<nut-mask
\n
:visible.sync="maskShow"
\n
@open-mask="maskOpen"
\n
@close-mask="maskClose"
\n
></nut-mask>
'
,
maskShow
:
!
1
}},
methods
:{
maskOpen
:
function
(){
console
.
log
(
"
maskOpen方法执行了
"
)},
maskClose
:
function
(){
console
.
log
(
"
maskClose方法执行了
"
)}}}}});
\ No newline at end of file
dist/32.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
32
],{
1050
:
function
(
t
,
v
,
_
){
v
=
t
.
exports
=
_
(
2
)(),
v
.
push
([
t
.
i
,
""
,
""
])},
1149
:
function
(
t
,
v
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,[
_
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
刮刮卡。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
_
(
"
h6
"
,[
t
.
_v
(
"
默认用法
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
,
imgUrl
:
"
../asset/img/demo/luckycard1.png
"
}}),
t
.
_v
(
"
"
),
_
(
"
h6
"
,[
t
.
_v
(
"
刮开层和背景层都支持自定义颜色,奖品信息支持HTML
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
,
imgUrl
:
"
../asset/img/demo/luckycard2.png
"
}}),
t
.
_v
(
"
"
),
_
(
"
h6
"
,[
t
.
_v
(
"
刮开层支持图片
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo3
,
imgUrl
:
"
../asset/img/demo/luckycard3.png
"
}}),
t
.
_v
(
"
"
),
_
(
"
h6
"
,[
t
.
_v
(
"
刮开面积超过设定比值(ratio)触发事件,可调用clearCover方法清除刮开层
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo4
,
imgUrl
:
"
../asset/img/demo/luckycard4.png
"
}}),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
_
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
_
(
"
thead
"
,[
_
(
"
tr
"
,[
_
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
_
(
"
tbody
"
,[
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
content
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
奖品信息(必传)
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
''
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
支持HTML
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
coverColor
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
刮开层颜色
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
'#C5C5C5'
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
coverImg
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
把图片设为刮开层
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
''
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
不支持跨域。设置此项后coverColor失效。
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
backgroundColor
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
内容层背景颜色
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
'#FFFFFF'
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
ratio
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
触发事件的刮开比。
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
0.5
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
刮开面积超过此比例时触发事件。值介于0-1之间。
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
height
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
卡片高度
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
2
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
单位rem
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
width
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
卡片宽度
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
4
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
单位rem
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
fontSize
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
中奖信息字号
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
0.4
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
单位rem
"
)])])])])])},
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
_
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
_
(
"
thead
"
,[
_
(
"
tr
"
,[
_
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
_
(
"
tbody
"
,[
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
open
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
刮开面积达到指定比例(ratio)时触发的事件
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
唯一参数是卡片对象,调用其clearCover方法可以清除刮开层所有可见像素
"
)])])])])])}]}},
1242
:
function
(
t
,
v
,
_
){
var
e
=
_
(
1050
);
"
string
"
==
typeof
e
&&
(
e
=
[[
t
.
i
,
e
,
""
]]),
e
.
locals
&&
(
t
.
exports
=
e
.
locals
);
_
(
3
)(
"
0a16c47d
"
,
e
,
!
0
,{})},
848
:
function
(
t
,
v
,
_
){
function
e
(
t
){
_
(
1242
)}
var
r
=
_
(
1
)(
_
(
940
),
_
(
1149
),
e
,
null
,
null
);
t
.
exports
=
r
.
exports
},
940
:
function
(
t
,
v
,
_
){
"
use strict
"
;
Object
.
defineProperty
(
v
,
"
__esModule
"
,{
value
:
!
0
}),
v
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-luckycard
\n
content="1000万"
\n
></nut-luckycard>
'
,
demo2
:
'
<nut-luckycard
\n
coverColor="#F9CC9D"
\n
backgroundColor="#C3D08B"
\n
content="<em>1000<em><strong>元</strong>"
\n
></nut-luckycard>
'
,
demo3
:
'
<nut-luckycard
\n
content="1000万"
\n
:coverImg="coverImage"
\n
></nut-luckycard>
'
,
demo4
:
'
<nut-luckycard
\n
content="再来一瓶"
\n
:ratio="0.3"
\n
@open= "cardOpen"
\n
></nut-luckycard>
'
}},
methods
:{}}}});
\ No newline at end of file
dist/33.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
33
],{
1015
:
function
(
t
,
n
,
_
){
n
=
t
.
exports
=
_
(
2
)(),
n
.
push
([
t
.
i
,
""
,
""
])},
1114
:
function
(
t
,
n
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
n
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
n
;
return
_
(
"
div
"
,[
_
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
加载等待蒙层。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
依赖
"
)]),
t
.
_v
(
"
"
),
_
(
"
h6
"
,[
t
.
_v
(
"
Mask
"
)]),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
基本用法
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
this.$loading(options);
"
}}),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo
}}),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
export default {
\n
data(){
\n
return{
\n
loading:null
\n
}
\n
},
\n
mounted(){
\n
this.loading = this.$loading({
\n
maxDuring:5000,
\n
iconUrl:'//misc.360buyimg.com/mtd/pc/o2_toolbar/1.0.0/home/images/loading.gif'
\n
});
\n
},
\n
methods:{
\n
showLoading(options){
\n
this.loading.show();
\n
},
\n
hideLoading(options){
\n
this.loading.hide();
\n
},
\n
}
\n
}
"
}}),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
Options
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
n
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
n
;
return
_
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
_
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
_
(
"
thead
"
,[
_
(
"
tr
"
,[
_
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
_
(
"
tbody
"
,[
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
maxDuring
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
最大展示时长
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
0(0为不消失)
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
bgColor
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
遮罩层颜色
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
'rgba(0,0,0,.5)'
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
支持HEX、RGBA
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
iconUrl
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
icon图片地址
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
''
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
text
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
提示文字
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
'加载中...'
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
textColor
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
文字颜色
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
'#000000'
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
支持HEX、RGBA
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
userClose
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
是否允许用户点击关闭
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
fade
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
是否开启渐隐渐现动效
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])}]}},
1207
:
function
(
t
,
n
,
_
){
var
o
=
_
(
1015
);
"
string
"
==
typeof
o
&&
(
o
=
[[
t
.
i
,
o
,
""
]]),
o
.
locals
&&
(
t
.
exports
=
o
.
locals
);
_
(
3
)(
"
3ce7d4a2
"
,
o
,
!
0
,{})},
847
:
function
(
t
,
n
,
_
){
function
o
(
t
){
_
(
1207
)}
var
v
=
_
(
1
)(
_
(
939
),
_
(
1114
),
o
,
null
,
null
);
t
.
exports
=
v
.
exports
},
939
:
function
(
t
,
n
,
_
){
"
use strict
"
;
Object
.
defineProperty
(
n
,
"
__esModule
"
,{
value
:
!
0
}),
n
.
default
=
{
data
:
function
(){
return
{
loading
:
null
,
demo
:
'
<a href="javascript:;" @click="showLoading">Demo</a>
'
}},
mounted
:
function
(){
this
.
loading
=
this
.
$loading
({
maxDuring
:
5
e3
,
iconUrl
:
"
//misc.360buyimg.com/mtd/pc/o2_toolbar/1.0.0/home/images/loading.gif
"
})},
methods
:{
showLoading
:
function
(
t
){
this
.
loading
.
show
()},
hideLoading
:
function
(
t
){
this
.
loading
.
hide
()}}}}});
\ No newline at end of file
dist/34.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
34
],{
1040
:
function
(
t
,
v
,
_
){
v
=
t
.
exports
=
_
(
2
)(),
v
.
push
([
t
.
i
,
"
.test{background:red}
"
,
""
])},
1139
:
function
(
t
,
v
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,[
_
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Filter
"
,
desc
:
"
图片懒加载。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
}}),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
Options
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
_
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
_
(
"
thead
"
,[
_
(
"
tr
"
,[
_
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
_
(
"
tbody
"
,[
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
v-nut-lazyload
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
指令
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
imgLoading
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
用于加载loading图片的路径
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
默认自带一张loading
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
distance
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
提前加载图片距离可视窗口底部的距离
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
不写 默认为30
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
element
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
用于需要懒加载图片元素的选择
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
不写 默认为'[lazyload]'
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
failImg
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
用于图片请求失败显示的图片
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
不写 默认没有
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])}]}},
1232
:
function
(
t
,
v
,
_
){
var
e
=
_
(
1040
);
"
string
"
==
typeof
e
&&
(
e
=
[[
t
.
i
,
e
,
""
]]),
e
.
locals
&&
(
t
.
exports
=
e
.
locals
);
_
(
3
)(
"
d26eb4b2
"
,
e
,
!
0
,{})},
846
:
function
(
t
,
v
,
_
){
function
e
(
t
){
_
(
1232
)}
var
d
=
_
(
1
)(
_
(
938
),
_
(
1139
),
e
,
null
,
null
);
t
.
exports
=
d
.
exports
},
938
:
function
(
t
,
v
,
_
){
"
use strict
"
;
function
e
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}
Object
.
defineProperty
(
v
,
"
__esModule
"
,{
value
:
!
0
});
var
d
=
_
(
20
),
n
=
(
e
(
d
),
_
(
174
));
e
(
n
);
v
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<div v-nut-lazyload=
\'
{
\n
"imgLoading":"http://page.jd.com/virtuals/ijipiao/1.3/css/i/loading.gif",
\n
"distance":40,
\n
"element":"[lazyload]",
\n
"failImg":
\'
url
\'\n
}
\'
>
\n
<img data-src="url" lazyload/>
\n
</div>
'
}},
methods
:{}}}});
\ No newline at end of file
dist/35.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
35
],{
1091
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
无限加载组件。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
teml1
}}),
t
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
teml2
}}),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
n
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
n
(
"
thead
"
,[
n
(
"
tr
"
,[
n
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
n
(
"
tbody
"
,[
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
botLoading
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
滚动到底部自动加载
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Boolen
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
noMore
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
是否还有更多数据
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Boolen
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
enableInfinite
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
允许无限加载
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Boolen
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
enableRefresh
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
允许刷新
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
Boolen
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])},
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
n
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
n
(
"
thead
"
,[
n
(
"
tr
"
,[
n
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
n
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
n
(
"
tbody
"
,[
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
on-refresh
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
列表顶部下拉时回调,通常用于刷新数据
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
n
(
"
tr
"
,[
n
(
"
td
"
,[
t
.
_v
(
"
on-infinite
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
列表底部上拉时回调,通常用于加载更多数据
"
)]),
t
.
_v
(
"
"
),
n
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])}]}},
1184
:
function
(
t
,
e
,
n
){
var
v
=
n
(
992
);
"
string
"
==
typeof
v
&&
(
v
=
[[
t
.
i
,
v
,
""
]]),
v
.
locals
&&
(
t
.
exports
=
v
.
locals
);
n
(
3
)(
"
fb88b896
"
,
v
,
!
0
,{})},
845
:
function
(
t
,
e
,
n
){
function
v
(
t
){
n
(
1184
)}
var
_
=
n
(
1
)(
n
(
936
),
n
(
1091
),
v
,
null
,
null
);
t
.
exports
=
_
.
exports
},
936
:
function
(
t
,
e
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
teml1
:
'
<nut-infiniteloading
\n
@on-refresh="onRefresh"
\n
@on-infinite="onInfinite"
\n
:noMore="noMore">
\n
<div v-for="item in resultList">
\n
{{item}}
\n
</div>
\n
</nut-infiniteloading>
'
,
teml2
:
"
export default {
\n
data(){
\n
return{
\n
page: 1, //当前页
\n
pageSize: 10, // 一页显示多少条
\n
noMore: false, //暂无更多数据显示
\n
resultList:[]
\n
}
\n
},
\n
created(){
\n
this.getList();
\n
},
\n
methods:{
\n
//查询列表
\n
getList(suc){
\n
let self = this;
\n
//模拟异步
\n
setTimeout(function(){
\n
let queryList = [1,2,3,4,5,6,7,8,9,10];
\n
if(self.page == 1){
\n
self.resultList = queryList;
\n
} else {
\n
self.resultList =[...self.resultList, ...queryList];
\n
}
\n
// self.noMoreFlag = true;//根据查询回的数据判断是否还有更多数据
\n
if(suc){
\n
suc();
\n
}
\n
},600);
\n
},
\n
//刷新调用
\n
onRefresh(done) {
\n
this.page = 1;
\n
this.getList(done);
\n
},
\n
//下一页调用
\n
onInfinite(done) {
\n
this.page++;
\n
this.getList(done);
\n
}
\n
}
\n
}
"
}},
created
:
function
(){},
methods
:{}}},
992
:
function
(
t
,
e
,
n
){
e
=
t
.
exports
=
n
(
2
)(),
e
.
push
([
t
.
i
,
""
,
""
])}});
\ No newline at end of file
dist/36.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
36
],{
1097
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
d
=
t
.
_self
.
_c
||
e
;
return
d
(
"
div
"
,[
d
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Filter
"
,
desc
:
"
京东图片系统图片过滤器,可配置访问渠道、尺寸、业务等。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
d
(
"
h6
"
,[
t
.
_v
(
"
处理类似'jfs/t169/69/654078710/298522/f1faa01a/53951722N73ecf645.jpg'这种图片路径的数据,可配置访问渠道、尺寸、业务,前提是该图片必须是在京东的图片系统上
"
)]),
t
.
_v
(
"
"
),
d
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
d
(
"
h6
"
,[
t
.
_v
(
"
图片按照100px*100px的尺寸展示
"
)]),
t
.
_v
(
"
"
),
d
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
overflow
:
"
hidden
"
}},[
d
(
"
img
"
,{
staticStyle
:{
border
:
"
1px solid #ddd
"
},
attrs
:{
src
:
t
.
_f
(
"
imgSet
"
)(
t
.
imgUrl
,{
width
:
100
,
height
:
100
}),
alt
:
""
}})]),
t
.
_v
(
"
"
),
d
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
}}),
t
.
_v
(
"
"
),
d
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
export default {
\n
data(){
\n
return{
\n
imgUrl:'jfs/t169/69/654078710/298522/f1faa01a/53951722N73ecf645.jpg'
\n
}
\n
}
\n
}
"
}}),
t
.
_v
(
"
"
),
d
(
"
h6
"
,[
t
.
_v
(
"
图片是移动端pop业务
"
)]),
t
.
_v
(
"
"
),
d
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
overflow
:
"
hidden
"
}},[
d
(
"
img
"
,{
staticStyle
:{
border
:
"
1px solid #ddd
"
},
attrs
:{
src
:
t
.
_f
(
"
imgSet
"
)(
t
.
imgUrl
,{
width
:
200
,
height
:
200
,
host
:
2
,
business
:
"
pop
"
}),
alt
:
""
}})]),
t
.
_v
(
"
"
),
d
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
}}),
t
.
_v
(
"
"
),
d
(
"
h6
"
,[
t
.
_v
(
"
图片以直径为400px的圆形裁剪,以200px*200px的尺寸展示
"
)]),
t
.
_v
(
"
"
),
d
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
overflow
:
"
hidden
"
}},[
d
(
"
img
"
,{
staticStyle
:{
border
:
"
1px solid #ddd
"
},
attrs
:{
src
:
t
.
_f
(
"
imgSet
"
)(
t
.
imgUrl
,{
width
:
200
,
height
:
200
,
postfix
:
"
!c400
"
}),
alt
:
""
}})]),
t
.
_v
(
"
"
),
d
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo3
}}),
t
.
_v
(
"
"
),
d
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
d
=
t
.
_self
.
_c
||
e
;
return
d
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
d
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
d
(
"
thead
"
,[
d
(
"
tr
"
,[
d
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
d
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
d
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
d
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
d
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
d
(
"
tbody
"
,[
d
(
"
tr
"
,[
d
(
"
td
"
,[
t
.
_v
(
"
width
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
宽度缩放尺寸
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
Number/String
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
null
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
d
(
"
tr
"
,[
d
(
"
td
"
,[
t
.
_v
(
"
height
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
高度缩放尺寸
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
Number/String
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
null
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
d
(
"
tr
"
,[
d
(
"
td
"
,[
t
.
_v
(
"
host
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
访问域名,分四种:
"
),
d
(
"
br
"
),
t
.
_v
(
"
1 主站:img10.360buyimg.com
"
),
d
(
"
br
"
),
t
.
_v
(
"
2 移动端:m.360buyimg.com
"
),
d
(
"
br
"
),
t
.
_v
(
"
3 印尼:img10.jd.id
"
),
d
(
"
br
"
),
t
.
_v
(
"
4 内网访问:img10.360buyimg.local
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
Number/String
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
1
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
d
(
"
tr
"
,[
d
(
"
td
"
,[
t
.
_v
(
"
postfix
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
后缀处理,后缀可添加:
"
),
d
(
"
br
"
),
t
.
_v
(
"
!75 降质处理
"
),
d
(
"
br
"
),
t
.
_v
(
"
!cr_200x100_20_30 裁剪任意矩形
"
),
d
(
"
br
"
),
t
.
_v
(
"
!c200 原型图片的访问
"
),
d
(
"
br
"
),
t
.
_v
(
"
.webp 转为webp格式
"
),
d
(
"
br
"
),
t
.
_v
(
"
等
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
d
(
"
tr
"
,[
d
(
"
td
"
,[
t
.
_v
(
"
business
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
业务,有两种
"
),
d
(
"
br
"
),
t
.
_v
(
"
主站商品的业务(一共12种:n0、n1、n2、n3、n4、n5、n6、n7、n8、n9、n11、n12)
"
),
d
(
"
br
"
),
t
.
_v
(
"
普通业务(如 test、pop等)
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])}]}},
1190
:
function
(
t
,
e
,
d
){
var
v
=
d
(
998
);
"
string
"
==
typeof
v
&&
(
v
=
[[
t
.
i
,
v
,
""
]]),
v
.
locals
&&
(
t
.
exports
=
v
.
locals
);
d
(
3
)(
"
361ba8f0
"
,
v
,
!
0
,{})},
844
:
function
(
t
,
e
,
d
){
function
v
(
t
){
d
(
1190
)}
var
_
=
d
(
1
)(
d
(
935
),
d
(
1097
),
v
,
null
,
null
);
t
.
exports
=
_
.
exports
},
935
:
function
(
t
,
e
,
d
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
imgUrl
:
"
jfs/t2362/199/2707005502/100242/616257ce/56e66b21N7b8c2be8.jpg
"
,
demo1
:
'
<img :src="imgUrl | imgSet({width:100,height:100})" alt="" style="border: 1px solid #ddd;"/>
'
,
demo2
:
'
<img :src="imgUrl | imgSet({width:200,height:200,host:2,business:
\'
pop
\'
})" alt="" style="border: 1px solid #ddd;"/>
'
,
demo3
:
'
<img :src="imgUrl | imgSet({width:200,height:200,postfix:
\'
!c400
\'
})" alt="" style="border: 1px solid #ddd;"/>
'
}}}},
998
:
function
(
t
,
e
,
d
){
e
=
t
.
exports
=
d
(
2
)(),
e
.
push
([
t
.
i
,
""
,
""
])}});
\ No newline at end of file
dist/37.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
37
],{
1013
:
function
(
t
,
e
,
i
){
e
=
t
.
exports
=
i
(
2
)(),
e
.
push
([
t
.
i
,
""
,
""
])},
1112
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"
div
"
,[
i
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
图片加载组件,支持检测环境加载webp格式图片,支持设置加载中和加载失败占位图。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
i
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
i
(
"
h6
"
,[
t
.
_v
(
"
开启webp时,如果浏览器支持,组件尝试在给定的url后加“.webp”,若请求失败则自动重新请求一次原始url(不含“.webp”),如果还失败则请求errorImg。
"
)]),
t
.
_v
(
"
"
),
i
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
overflow
:
"
hidden
"
}},[
i
(
"
nut-image
"
,{
attrs
:{
imgSrc
:
"
//img10.360buyimg.com/n1/s368x368_jfs/t15451/283/338246331/345534/6b69d792/5a2a07c2N38f87e33.jpg
"
,
webp
:
!
0
}})],
1
),
t
.
_v
(
"
"
),
i
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
}}),
t
.
_v
(
"
"
),
i
(
"
h6
"
,[
t
.
_v
(
"
自定义loading占位图(模拟低速网络环境可看到)
"
)]),
t
.
_v
(
"
"
),
i
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
overflow
:
"
hidden
"
}},[
i
(
"
nut-image
"
,{
attrs
:{
imgSrc
:
"
//img30.360buyimg.com/vip/jfs/t11617/103/1999233618/120608/7aff545e/5a0d6e25N89c245dd.jpg
"
,
loadingImg
:
"
//static-o2o.360buyimg.com/daojia/new/images/icon/newLoading.gif
"
}})],
1
),
t
.
_v
(
"
"
),
i
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
}}),
t
.
_v
(
"
"
),
i
(
"
h6
"
,[
t
.
_v
(
"
自定义加载失败时的占位图
"
)]),
t
.
_v
(
"
"
),
i
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
overflow
:
"
hidden
"
}},[
i
(
"
nut-image
"
,{
attrs
:{
imgSrc
:
"
//img10.360buyimg.com/test
"
,
errorImg
:
"
//misc.360buyimg.com/mtd/pc/common/img/no_login.jpg
"
}})],
1
),
t
.
_v
(
"
"
),
i
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo3
}}),
t
.
_v
(
"
"
),
i
(
"
h6
"
,[
t
.
_v
(
"
事件
"
)]),
t
.
_v
(
"
"
),
i
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
overflow
:
"
hidden
"
}},[
i
(
"
nut-image
"
,{
attrs
:{
imgSrc
:
"
http://img10.360buyimg.com/n1/s368x368_jfs/t2590/194/2825053760/121163/21a0bec9/577335b9N8990670f.jpg
"
,
webp
:
!
0
},
on
:{
"
image-load-complete
"
:
t
.
imgLoadComplete
}})],
1
),
t
.
_v
(
"
"
),
i
(
"
div
"
,[
t
.
_v
(
"
加载结果:
"
+
t
.
_s
(
t
.
rst
))]),
t
.
_v
(
"
"
),
i
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo4
}}),
t
.
_v
(
"
"
),
i
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
export default {
\n
data(){
\n
return{
\n
rst:'',
\n
}
\n
},
\n
methods:{
\n
imgLoadComplete(img,result){
\n
this.rst = result;
\n
}
\n
}
\n
}
"
}}),
t
.
_v
(
"
"
),
i
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
i
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
i
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
i
(
"
thead
"
,[
i
(
"
tr
"
,[
i
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
i
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
i
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
i
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
i
(
"
th
"
,[
t
.
_v
(
"
备注
"
)])])]),
t
.
_v
(
"
"
),
i
(
"
tbody
"
,[
i
(
"
tr
"
,[
i
(
"
td
"
,[
t
.
_v
(
"
imgSrc
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
图片地址
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
''
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
i
(
"
tr
"
,[
i
(
"
td
"
,[
t
.
_v
(
"
webp
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
是否尝试加载webp格式图片
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
若开启且浏览器支持,组件会尝试在给定的url后加“.webp”,若请求失败则自动重新请求一次原始url(不含“.webp”),如果还失败则请求errorImg
"
)])]),
t
.
_v
(
"
"
),
i
(
"
tr
"
,[
i
(
"
td
"
,[
t
.
_v
(
"
loadingImg
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
加载中占位图url
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
'../../../asset/img/loading.gif'
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
i
(
"
tr
"
,[
i
(
"
td
"
,[
t
.
_v
(
"
errorImg
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
加载失败占位图url
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
'../../../asset/img/default.png'
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])},
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
i
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
i
(
"
thead
"
,[
i
(
"
tr
"
,[
i
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
i
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
i
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
i
(
"
tbody
"
,[
i
(
"
tr
"
,[
i
(
"
td
"
,[
t
.
_v
(
"
image-load-start
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
图片开始加载时触发
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
图片对象
"
)])]),
t
.
_v
(
"
"
),
i
(
"
tr
"
,[
i
(
"
td
"
,[
t
.
_v
(
"
image-loaded
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
图片加载成功时触发
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
图片对象
"
)])]),
t
.
_v
(
"
"
),
i
(
"
tr
"
,[
i
(
"
td
"
,[
t
.
_v
(
"
image-load-fail
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
图片加载失败时触发
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
图片对象
"
)])]),
t
.
_v
(
"
"
),
i
(
"
tr
"
,[
i
(
"
td
"
,[
t
.
_v
(
"
webp-load-fail
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
webp格式图片加载失败时触发,接下来组件会尝试请求一次不带“.webp”的原始图片url
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
图片对象
"
)])]),
t
.
_v
(
"
"
),
i
(
"
tr
"
,[
i
(
"
td
"
,[
t
.
_v
(
"
image-load-complete
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
图片加载完成时触发,无论成功或失败都会触发
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
第一个参数是图片对象,第二个参数是表示结果的字符串(“success”/“fail”)
"
)])])])])])}]}},
1205
:
function
(
t
,
e
,
i
){
var
v
=
i
(
1013
);
"
string
"
==
typeof
v
&&
(
v
=
[[
t
.
i
,
v
,
""
]]),
v
.
locals
&&
(
t
.
exports
=
v
.
locals
);
i
(
3
)(
"
36da24cd
"
,
v
,
!
0
,{})},
843
:
function
(
t
,
e
,
i
){
function
v
(
t
){
i
(
1205
)}
var
_
=
i
(
1
)(
i
(
934
),
i
(
1112
),
v
,
null
,
null
);
t
.
exports
=
_
.
exports
},
934
:
function
(
t
,
e
,
i
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-image
\n
imgSrc="//img10.360buyimg.com/n1/s368x368_jfs/t15451/283/338246331/345534/6b69d792/5a2a07c2N38f87e33.jpg"
\n
:webp="true">
\n
</nut-image>
'
,
demo2
:
'
<nut-image
\n
imgSrc="//img30.360buyimg.com/vip/jfs/t11617/103/1999233618/120608/7aff545e/5a0d6e25N89c245dd.jpg"
\n
loadingImg="//static-o2o.360buyimg.com/daojia/new/images/icon/newLoading.gif">
\n
</nut-image>
'
,
demo3
:
'
<nut-image
\n
imgSrc="//img10.360buyimg.com/test"
\n
errorImg="//misc.360buyimg.com/mtd/pc/common/img/no_login.jpg">
\n
</nut-image>
'
,
demo4
:
'
<nut-image
\n
imgSrc="//img10.360buyimg.com/n1/s368x368_jfs/t2590/194/2825053760/121163/21a0bec9/577335b9N8990670f.jpg"
\n
:webp="true"
\n
@image-load-complete="imgLoadComplete">
\n
</nut-image>
'
,
rst
:
""
}},
methods
:{
imgLoadComplete
:
function
(
t
,
e
){
this
.
rst
=
e
}}}}});
\ No newline at end of file
dist/38.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
38
],{
1078
:
function
(
v
,
t
){
v
.
exports
=
{
render
:
function
(){
var
v
=
this
,
t
=
v
.
$createElement
,
_
=
v
.
_self
.
_c
||
t
;
return
_
(
"
div
"
,[
_
(
"
nut-docheader
"
,{
attrs
:{
name
:
v
.
$route
.
name
,
chName
:
v
.
$route
.
params
.
chnName
,
type
:
"
Filter
"
,
desc
:
"
用来处理数据的过滤器
"
,
showQrCode
:
!
0
}}),
v
.
_v
(
"
"
),
_
(
"
h5
"
,[
v
.
_v
(
"
示例
"
)]),
v
.
_v
(
"
"
),
_
(
"
h6
"
,[
v
.
_v
(
"
过滤器使用例子取最小值
"
)]),
v
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
v
.
demo1
}}),
v
.
_v
(
"
"
),
_
(
"
h6
"
,[
v
.
_v
(
"
模糊查询
"
)]),
v
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
v
.
demo2
}}),
v
.
_v
(
"
"
),
_
(
"
h5
"
,[
v
.
_v
(
"
Options
"
)]),
v
.
_v
(
"
"
),
v
.
_m
(
0
)],
1
)},
staticRenderFns
:[
function
(){
var
v
=
this
,
t
=
v
.
$createElement
,
_
=
v
.
_self
.
_c
||
t
;
return
_
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
_
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
_
(
"
thead
"
,[
_
(
"
tr
"
,[
_
(
"
th
"
,[
v
.
_v
(
"
函数
"
)]),
v
.
_v
(
"
"
),
_
(
"
th
"
,[
v
.
_v
(
"
说明
"
)]),
v
.
_v
(
"
"
),
_
(
"
th
"
,[
v
.
_v
(
"
参数类型
"
)]),
v
.
_v
(
"
"
),
_
(
"
th
"
,[
v
.
_v
(
"
默认值
"
)]),
v
.
_v
(
"
"
),
_
(
"
th
"
,[
v
.
_v
(
"
可选值
"
)])])]),
v
.
_v
(
"
"
),
_
(
"
tbody
"
,[
_
(
"
tr
"
,[
_
(
"
td
"
,[
v
.
_v
(
"
isJson
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
用来判断是不是json 对象或者json 的字符串
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)])]),
v
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
v
.
_v
(
"
min
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
返回最小值
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)])]),
v
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
v
.
_v
(
"
max
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
返回最大值
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)])]),
v
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
v
.
_v
(
"
arySortMin
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
数组排列从小到大
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)])]),
v
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
v
.
_v
(
"
arySortMax
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
数组排序从大到小
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)])]),
v
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
v
.
_v
(
"
objSortMin
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
json数组对象关键字从小到大排序
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
string
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)])]),
v
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
v
.
_v
(
"
objSortMax
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
json数组对象关键字从大到小排序
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
string
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)])]),
v
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
v
.
_v
(
"
arycutRepeat
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
数组去重
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)])]),
v
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
v
.
_v
(
"
objCutRepeat
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
json数组对象根据指定属性名去重
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
string
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)])]),
v
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
v
.
_v
(
"
find
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
在json数组中找到指定的对象所在数组的属性
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
string
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)])]),
v
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
v
.
_v
(
"
like
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
模糊查询,可以配置查询关键字,常用来做搜索及高亮关键词
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
obj
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
obj.key属性名
"
),
_
(
"
br
"
),
v
.
_v
(
"
\n
obj.value模糊查询的值
"
),
_
(
"
br
"
),
v
.
_v
(
"
\n
obj.replaceStr如何设置可以替换匹配的字符
\n
obj.type true返回对象,不写返回数组
"
),
_
(
"
br
"
)])]),
v
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
v
.
_v
(
"
clone
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
对象的克隆
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)]),
v
.
_v
(
"
"
),
_
(
"
td
"
,[
v
.
_v
(
"
-
"
)])])])])])}]}},
1172
:
function
(
v
,
t
,
_
){
var
e
=
_
(
980
);
"
string
"
==
typeof
e
&&
(
e
=
[[
v
.
i
,
e
,
""
]]),
e
.
locals
&&
(
v
.
exports
=
e
.
locals
);
_
(
3
)(
"
3c46c7da
"
,
e
,
!
0
,{})},
842
:
function
(
v
,
t
,
_
){
function
e
(
v
){
_
(
1172
)}
var
d
=
_
(
1
)(
_
(
933
),
_
(
1078
),
e
,
null
,
null
);
v
.
exports
=
d
.
exports
},
933
:
function
(
v
,
t
,
_
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
});
var
e
=
_
(
173
);
!
function
(
v
){
v
&&
v
.
__esModule
}(
e
);
t
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<span >最小值:{{message | nut_handle({ name:"min"})}}</span>
'
,
demo2
:
"
<span>模糊匹配{{message2 | nut_handle({name:'like', option:{ key:'name', value:'l',replaceStr:'李'}})}}</span>
"
,
message
:[
1
,
2
,
2
,
3
,
3
,
4
,
6
,
7
],
message2
:[{
name
:
"
lilinsen
"
,
value
:
1
},{
name
:
"
yanglei
"
,
value
:
1
},{
name
:
"
wangnan
"
,
value
:
1
},{
name
:
"
shoujun
"
,
value
:
1
},{
name
:
"
文文
"
,
value
:
1
},{
name
:
"
曹晋
"
,
value
:
1
}]}},
methods
:{}}},
980
:
function
(
v
,
t
,
_
){
t
=
v
.
exports
=
_
(
2
)(),
t
.
push
([
v
.
i
,
""
,
""
])}});
\ No newline at end of file
dist/39.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
39
],{
1052
:
function
(
t
,
e
,
a
){
e
=
t
.
exports
=
a
(
2
)(),
e
.
push
([
t
.
i
,
""
,
""
])},
1151
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
日期时间格式化组件,用于将时间戳或者已格式化的时间字符串转换成指定格式。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
a
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
a
(
"
div
"
,[
a
(
"
nut-formatdatetime
"
,{
attrs
:{
datetime
:
1280977330748
,
dateformat
:
"
yyyy-mm-dd hh:ii:ss
"
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
}}),
t
.
_v
(
"
"
),
a
(
"
br
"
),
t
.
_v
(
"
"
),
a
(
"
div
"
,[
a
(
"
nut-formatdatetime
"
,{
attrs
:{
datetime
:
"
2015-02-18 15:23:48
"
,
dateformat
:
"
mm/dd/yyyy hh:ii:ss
"
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
}}),
t
.
_v
(
"
"
),
a
(
"
br
"
),
t
.
_v
(
"
"
),
a
(
"
div
"
,[
a
(
"
nut-formatdatetime
"
,{
attrs
:{
datetime
:
"
1280977330748
"
,
dateformat
:
"
yyyy-mm-dd
"
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo3
}}),
t
.
_v
(
"
"
),
a
(
"
br
"
),
t
.
_v
(
"
"
),
a
(
"
div
"
,[
a
(
"
nut-formatdatetime
"
,{
attrs
:{
datetime
:
"
1280977330748
"
,
dateformat
:
"
hh:ii
"
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo4
}}),
t
.
_v
(
"
"
),
a
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
a
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
a
(
"
thead
"
,[
a
(
"
tr
"
,[
a
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
a
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
a
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
a
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
a
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
a
(
"
tbody
"
,[
a
(
"
tr
"
,[
a
(
"
td
"
,[
t
.
_v
(
"
datetime
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
原始时间
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
null
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
a
(
"
tr
"
,[
a
(
"
td
"
,[
t
.
_v
(
"
dateformat
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
输出格式
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
null
"
)]),
t
.
_v
(
"
"
),
a
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])}]}},
1244
:
function
(
t
,
e
,
a
){
var
d
=
a
(
1052
);
"
string
"
==
typeof
d
&&
(
d
=
[[
t
.
i
,
d
,
""
]]),
d
.
locals
&&
(
t
.
exports
=
d
.
locals
);
a
(
3
)(
"
72d18545
"
,
d
,
!
0
,{})},
841
:
function
(
t
,
e
,
a
){
function
d
(
t
){
a
(
1244
)}
var
n
=
a
(
1
)(
a
(
932
),
a
(
1151
),
d
,
null
,
null
);
t
.
exports
=
n
.
exports
},
932
:
function
(
t
,
e
,
a
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
});
var
d
=
a
(
20
);
!
function
(
t
){
t
&&
t
.
__esModule
}(
d
);
e
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-formatdatetime
\n
:datetime="1280977330748"
\n
dateformat="yyyy-mm-dd hh:ii:ss"
\n
></nut-formatdatetime>
'
,
demo2
:
'
<nut-formatdatetime
\n
datetime="2015-02-18 15:23:48"
\n
dateformat="mm/dd/yyyy hh:ii:ss"
\n
></nut-formatdatetime>
'
,
demo3
:
'
<nut-formatdatetime
\n
datetime="1280977330748"
\n
dateformat="yyyy-mm-dd"
\n
></nut-formatdatetime>
'
,
demo4
:
'
<nut-formatdatetime
\n
datetime="1280977330748"
\n
dateformat="hh:ii"
\n
></nut-formatdatetime>
'
}}}}});
\ No newline at end of file
dist/4.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
4
],{
1006
:
function
(
g
,
B
,
A
){
B
=
g
.
exports
=
A
(
2
)(),
B
.
push
([
g
.
i
,
"
.phone{display:inline-block;vertical-align:middle;margin:40px 150px 20px 50px;background-image:url(
"
+
A
(
1063
)
+
"
);background-repeat:no-repeat;background-size:100%;padding:104px 16px;box-sizing:border-box;width:365px;margin-bottom:50px}.demo-page{width:100%;height:580px;background-color:#fff}.qc-box{display:inline-block;text-align:center;vertical-align:middle}.qc-box img{display:block;margin:10px auto;margin-bottom:20px}@media (max-width:415px){.phone-wrapper{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex:1;flex:1}.demo-tips,.phone{display:none}}
"
,
""
])},
1063
:
function
(
g
,
B
,
A
){
g
.
exports
=
A
.
p
+
"
img/phone_bg.png
"
},
1064
:
function
(
g
,
B
){
g
.
exports
=
"
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAEYCAIAAAAI7H7bAAAG4UlEQVR4nO3dUY7jOAwFwM5i73/l2QOsAljgIyX3VH0Opm3FyYMASqY+f/78+QFq/jk9APgNBAkCBAkCBAkCBAkCBAkC/l3+6+fzGR7HE8VK/daHaloVWI5hea/noy3++dYVtu41+X2N+fahzEgQIEgQIEgQIEgQIEgQIEgQsC5/L03uE39e+nxepf2mWPzdMvYMrx1q8cHe+SP8MSNBhCBBgCBBgCBBgCBBgCBBwEb5e6m+RbejoNm0cbhj7/a3KzxXr9QXH9fx/jk3/AjNSBAgSBAgSBAgSBAgSBAgSBBQLX+z1FQRfn7ZpuYnW/daXvZ4rbyJGQkCBAkCBAkCBAkCBAkCBAkC/qLy97fCa3HvcNPm6+MF9Pqu9qXJDzvJjAQBggQBggQBggQBggQBggQBggQB1XWkO1cAJhdhlgsj9TcLih2LmhbN/qqve4sZCQIECQIECQIECQIECQIECQI2yt9NnenHbJWkm8rEd75EMNlFqOjaH6EZCQIECQIECQIECQIECQIECQI+x2uvL3L8tNa6O0vSv+BHaEaCAEGCAEGCAEGCAEGCAEGCgGr5+86K8NZ25npHkef3eq6ph/3kAIpXuPMJfGNGggBBggBBggBBggBBggBBgoB185OOHh31yumk40e4Hu/9fWehuWllpf5gzUgQIEgQIEgQIEgQIEgQIEgQsC5/37klvGnz9fGGJEsde9LrA2hyZ6l9ixkJAgQJAgQJAgQJAgQJAgQJAgQJAqqvUdTXdjouW18rmLzs0oteWjneRL9pGUoXIZgmSBAgSBAgSBAgSBAgSBCwLn93mOysf+ebET+DfeUnu+003au+VNDxK9JFCBoJEgQIEgQIEgQIEgQIEgRUy98vahg0WaXdutdYZ/2te93ZsL/+YJuWRsxIECBIECBIECBIECBIECBIENDSRH+p3tj++MGyS/Xq8+RW9+KDnfwKjrea2XqwZiQIECQIECQIECQIECQIECQIuLT5ydJY4+ytAdT7gSwdP0P2uXqtf3KbdlOt34wEAYIEAYIEAYIEAYIEAYIEAYIEAdUzZOs6lguaTlDt6G307bIdLXi+3auoqYd9fQBFmujDNEGCAEGCAEGCAEGCAEGCgJbXKLbqhm/vl183+XrI8fNqJ02O1owEAYIEAYIEAYIEAYIEAYIEARvl7xcVf+tDPd7XZnmvyTNkj6t/BZMVfDMSBAgSBAgSBAgSBAgSBAgSBGyUv4slwuMF2abG9lsmTzXtGMBk9Xyy/Uu9Jm5GggBBggBBggBBggBBggBBgoBq85OmvbSTVdrJknRH+bhpq3t9AB0V/OPfrN7f0EiQIECQIECQIECQIECQIKBa/u44N3LrP7+rH8hkm+/nly0+w62jLztK7Td0dDEjQYAgQYAgQYAgQYAgQYAgQYAgQcCnY8WmrmllY+xe177aMDaArTE0HY8wuWhmRoIAQYIAQYIAQYIAQYIAQYKAli5CS02vUSzd0FX9rPqrDce/2foAJhdRzEgQIEgQIEgQIEgQIEgQIEgQ0HKG7LKYOLkfuWlH9qTJZvNNimO44SM8Z0aCAEGCAEGCAEGCAEGCAEGCgPO7vyc7ihQH0GSy0cq7asr/1/RlaX4CVxAkCBAkCBAkCBAkCBAkCFiXvyc3Sk923mi6QvFeHU+7qSY+2VT9+QC2PmxTAd2MBAGCBAGCBAGCBAGCBAGCBAGCBAHrdaS3H2DatFYweV5tUX1Uw2N4aOsBTr6hY0aCAEGCAEGCAEGCAEGCAEGCgM/xtxgmt9A/VzwxYKsg+9zkcbdNtf7jmt6aMSNBgCBBgCBBgCBBgCBBgCBBQMvu7y3H9z6/6F7PfSs9F5cQji82LNVHVV/vMSNBgCBBgCBBgCBBgCBBgCBBwPkm+s817cguXqF+r2Lxt2lTfNOHLZbaJ3e1bz1DMxIECBIECBIECBIECBIECBIErMvfS5PbnI8fq/rcDW1G4n/+M9s4e6np99ZU1jcjQYAgQYAgQYAgQYAgQYAgQcBG+Xvp+CmXxS3hTZp6j9QHsHS8f8vxAnq9Jm5GggBBggBBggBBggBBggBBggBBgoDqOtJvVVxYmDxad8vbjyxY2npWTc2JzEgQIEgQIEgQIEgQIEgQIEgQ8Pry92RJuv7KRsfG/rpiRfhdr2ws1R+sGQkCBAkCBAkCBAkCBAkCBAkCquXv49XMev+XjuJv/V7PC7L1QvnxdvXFP588sfcbMxIECBIECBIECBIECBIECBIEfCZ3GRcVC5f1inDTiQHFinDdZKm9aOsJTC5smJEgQJAgQJAgQJAgQJAgQJAgYF3+BraYkSBAkCBAkCBAkCBAkCBAkCBAkCDgP5qvqgpVKkgeAAAAAElFTkSuQmCC
"
},
1105
:
function
(
g
,
B
,
A
){
g
.
exports
=
{
render
:
function
(){
var
g
=
this
,
B
=
g
.
$createElement
;
g
.
_self
.
_c
;
return
g
.
_m
(
0
)},
staticRenderFns
:[
function
(){
var
g
=
this
,
B
=
g
.
$createElement
,
C
=
g
.
_self
.
_c
||
B
;
return
C
(
"
div
"
,{
staticClass
:
"
phone-wrapper
"
},[
C
(
"
h6
"
,{
staticClass
:
"
demo-tips
"
},[
g
.
_v
(
"
组件在PC端展示与移动端可能有差异,且部分组件只能在手机上使用,因此建议扫码在手机上查看DEMO。
"
)]),
g
.
_v
(
"
"
),
C
(
"
div
"
,{
staticClass
:
"
phone
"
},[
C
(
"
iframe
"
,{
staticClass
:
"
demo-page
"
,
attrs
:{
src
:
"
./demo.html#/index
"
,
frameborder
:
"
0
"
}})]),
g
.
_v
(
"
"
),
C
(
"
div
"
,{
staticClass
:
"
qc-box
"
},[
C
(
"
img
"
,{
attrs
:{
src
:
A
(
1064
),
alt
:
""
,
title
:
"
手机扫描查看组件实例
"
}}),
g
.
_v
(
"
"
),
C
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
/demo.html#/index
"
,
target
:
"
_blank
"
}},[
g
.
_v
(
"
手机扫码或点此按钮查看组件示例
"
)])])])}]}},
1198
:
function
(
g
,
B
,
A
){
var
C
=
A
(
1006
);
"
string
"
==
typeof
C
&&
(
C
=
[[
g
.
i
,
C
,
""
]]),
C
.
locals
&&
(
g
.
exports
=
C
.
locals
);
A
(
3
)(
"
0e5917bd
"
,
C
,
!
0
,{})},
770
:
function
(
g
,
B
,
A
){
function
C
(
g
){
A
(
1198
)}
var
e
=
A
(
1
)(
A
(
944
),
A
(
1105
),
C
,
null
,
null
);
g
.
exports
=
e
.
exports
},
944
:
function
(
g
,
B
,
A
){
"
use strict
"
;
Object
.
defineProperty
(
B
,
"
__esModule
"
,{
value
:
!
0
}),
B
.
default
=
{
data
:
function
(){
return
{
srcData
:
"
/index
"
}},
methods
:{},
mounted
:
function
(){}}}});
\ No newline at end of file
dist/40.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
40
],{
1026
:
function
(
t
,
v
,
_
){
v
=
t
.
exports
=
_
(
2
)(),
v
.
push
([
t
.
i
,
""
,
""
])},
1125
:
function
(
t
,
v
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,[
_
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
电梯楼层组件。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
_
(
"
h6
"
,[
t
.
_v
(
"
默认用法
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
,
imgUrl
:
"
../asset/img/demo/elevator.png
"
}}),
t
.
_v
(
"
"
),
_
(
"
h6
"
,[
t
.
_v
(
"
数据类型
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
}}),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
_
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
_
(
"
thead
"
,[
_
(
"
tr
"
,[
_
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
_
(
"
tbody
"
,[
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
dataArray
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
渲染楼层数据,为必填项
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Array
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
[]
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
showIndicator
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
是否显示索引值提示符
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
hiddenTime
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
索引值提示符显示的时间,单位ms
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
500
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
navHeight
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
索引栏每个索引区域的高度,单位rem
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
0.8
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
initIndex
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
进入页面后,当前定位到的索引值
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
0
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])},
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
_
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
_
(
"
thead
"
,[
_
(
"
tr
"
,[
_
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
_
(
"
tbody
"
,[
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
clickNav
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
点击/离开索引栏时的回调函数
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
返回点击的索引值和title
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
clickList
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
点击左侧列表时的回调函数
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
返回点击的对象数据和所在区域的对象数据
"
)])])])])])}]}},
1218
:
function
(
t
,
v
,
_
){
var
e
=
_
(
1026
);
"
string
"
==
typeof
e
&&
(
e
=
[[
t
.
i
,
e
,
""
]]),
e
.
locals
&&
(
t
.
exports
=
e
.
locals
);
_
(
3
)(
"
cc72f2ae
"
,
e
,
!
0
,{})},
840
:
function
(
t
,
v
,
_
){
function
e
(
t
){
_
(
1218
)}
var
n
=
_
(
1
)(
_
(
931
),
_
(
1125
),
e
,
null
,
null
);
t
.
exports
=
n
.
exports
},
931
:
function
(
t
,
v
,
_
){
"
use strict
"
;
Object
.
defineProperty
(
v
,
"
__esModule
"
,{
value
:
!
0
});
var
e
=
_
(
20
);
!
function
(
t
){
t
&&
t
.
__esModule
}(
e
);
v
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-elevator
\n
:dataArray="dataList"
\n
:showIndicator="true"
\n
:navHeight="0.8"
\n
:initIndex="0"
\n
:hiddenTime=
\'
500
\'\n
@clickNav="clickNav"
\n
@clickList="clickList"
\n
></nut-elevator>
'
,
demo2
:
"
dataList:[
\n
{
\n
title:
\"
A
\"
,
\n
list:[//可以为空数组
\n
{
\n
name:'安其拉',
\n
id:'a1'//id字段可以没有
\n
},
\n
{
\n
name:'安琪',
\n
id:'a2'
\n
}
\n
]
\n
}
\n
]
"
}},
methods
:{}}}});
\ No newline at end of file
dist/41.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
41
],{
1089
:
function
(
t
,
v
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,[
_
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
吸边拖拽组件。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
基本用法
"
)]),
t
.
_v
(
"
"
),
_
(
"
h6
"
,[
t
.
_v
(
"
可控制移动方向,垂直移动(h),水平移动(v)
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
}}),
t
.
_v
(
"
"
),
_
(
"
h6
"
,[
t
.
_v
(
"
可设置距离边界的值来限制拖动范围
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
}}),
t
.
_v
(
"
"
),
_
(
"
h6
"
,[
t
.
_v
(
"
可设置是否吸边
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo3
}}),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
_
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
_
(
"
thead
"
,[
_
(
"
tr
"
,[
_
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
_
(
"
tbody
"
,[
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
isSide
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
是否吸边
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
direction
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
移动方向
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
'
"h"
'
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
'
"h"/"v"/"n"
'
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
boundary
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
距边界距离
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Object
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
{
\n
top:20,
\n
left:0,
\n
right:20,
\n
bottom:20
\n
}
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
width
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
宽
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number,String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
50
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
height
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
高
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number,String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
50
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
opacity
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
透明度
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number,String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
1
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
unit
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
距离单位
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
'
"px"
'
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
'
"px"/"rem"
'
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
zIndex
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
样式层级
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number,String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
11
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
opacity
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
透明度
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number,String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
1
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])}]}},
1182
:
function
(
t
,
v
,
_
){
var
e
=
_
(
990
);
"
string
"
==
typeof
e
&&
(
e
=
[[
t
.
i
,
e
,
""
]]),
e
.
locals
&&
(
t
.
exports
=
e
.
locals
);
_
(
3
)(
"
44cc3fc6
"
,
e
,
!
0
,{})},
839
:
function
(
t
,
v
,
_
){
function
e
(
t
){
_
(
1182
)}
var
r
=
_
(
1
)(
_
(
930
),
_
(
1089
),
e
,
"
data-v-3dd570a7
"
,
null
);
t
.
exports
=
r
.
exports
},
930
:
function
(
t
,
v
,
_
){
"
use strict
"
;
Object
.
defineProperty
(
v
,
"
__esModule
"
,{
value
:
!
0
}),
v
.
default
=
{
data
:
function
(){
return
{
direction
:
"
h
"
,
boundary
:{
top
:
200
,
bottom
:
20
,
left
:
0
,
right
:
20
},
demo1
:
'
<nut-drag
\n
direction="h"
\n
></nut-drag>
'
,
demo2
:
'
<nut-drag
\n
:boundary="{top: 20, bottom: 20}"
\n
></nut-drag>
'
,
demo3
:
'
<nut-drag
\n
:isSide="true"
\n
></nut-drag>
'
}},
methods
:{
changeMove
:
function
(
t
,
v
){
var
_
=
v
.
currentTarget
,
e
=
_
.
parentElement
.
children
;
this
.
removeClass
(
e
),
_
.
classList
.
add
(
"
curr
"
),
this
.
direction
=
t
},
changeBoundary
:
function
(
t
,
v
){
var
_
=
v
.
currentTarget
,
e
=
_
.
parentElement
.
children
;
this
.
removeClass
(
e
),
_
.
classList
.
add
(
"
curr
"
),
this
.
boundary
=
"
y
"
==
t
?{
top
:
20
,
bottom
:
20
,
left
:
0
,
right
:
20
}:{
top
:
0
,
bottom
:
0
,
left
:
0
,
right
:
0
}},
removeClass
:
function
(
t
){
for
(
var
v
in
t
)
!
0
===
t
.
hasOwnProperty
(
v
)
&&
(
t
[
v
].
className
=
"
button-primary
"
)}}}},
990
:
function
(
t
,
v
,
_
){
v
=
t
.
exports
=
_
(
2
)(),
v
.
push
([
t
.
i
,
""
,
""
])}});
\ No newline at end of file
dist/42.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
42
],{
1077
:
function
(
e
,
t
){
e
.
exports
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,[
n
(
"
nut-docheader
"
,{
attrs
:{
name
:
e
.
$route
.
name
,
chName
:
e
.
$route
.
params
.
chnName
,
type
:
"
Filter
"
,
desc
:
"
将jpg格式图片url转换为对应的dpg格式url,也支持原始图片是jpg格式的webp图片。
"
,
showQrCode
:
!
0
}}),
e
.
_v
(
"
"
),
n
(
"
h6
"
,[
e
.
_v
(
"
DPG是京东推出的图片压缩技术,经过DPG压缩后的图片兼容jpeg,同时全平台、全部浏览器都支持。该技术可以有效地减少图片大小50%,减少cdn带宽流量50%,加快图片用户在设备上的渲染速度,直接节省用户浏览流量,提升用户购物体验。
"
)]),
e
.
_v
(
"
"
),
n
(
"
h5
"
,[
e
.
_v
(
"
示例
"
)]),
e
.
_v
(
"
"
),
n
(
"
h6
"
,[
e
.
_v
(
"
传入jpg图片,请求对应的dpg图片。
"
)]),
e
.
_v
(
"
"
),
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
overflow
:
"
hidden
"
}},[
n
(
"
img
"
,{
attrs
:{
src
:
e
.
_f
(
"
Dpg
"
)(
"
//img10.360buyimg.com/n1/s368x368_jfs/t6499/90/1456804243/302655/1e93032/5951e7ecNafb50399.jpg
"
),
alt
:
""
}})]),
e
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
e
.
demo1
}}),
e
.
_v
(
"
"
),
n
(
"
h6
"
,[
e
.
_v
(
"
传入原始图片是jpg格式的webp图片,请求对应的dpg图片。
"
)]),
e
.
_v
(
"
"
),
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
overflow
:
"
hidden
"
}},[
n
(
"
img
"
,{
attrs
:{
src
:
e
.
_f
(
"
Dpg
"
)(
"
//img10.360buyimg.com/n1/s368x368_jfs/t14533/126/2072200806/342302/3602464d/5a69359bNd2297228.jpg.webp
"
),
alt
:
""
}})]),
e
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
e
.
demo2
}})],
1
)},
staticRenderFns
:[]}},
1171
:
function
(
e
,
t
,
n
){
var
o
=
n
(
979
);
"
string
"
==
typeof
o
&&
(
o
=
[[
e
.
i
,
o
,
""
]]),
o
.
locals
&&
(
e
.
exports
=
o
.
locals
);
n
(
3
)(
"
00d87b7d
"
,
o
,
!
0
,{})},
838
:
function
(
e
,
t
,
n
){
function
o
(
e
){
n
(
1171
)}
var
d
=
n
(
1
)(
n
(
929
),
n
(
1077
),
o
,
null
,
null
);
e
.
exports
=
d
.
exports
},
929
:
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<img
\n
:src="
\'
//img10.360buyimg.com/n1/s368x368_jfs/t6499/90/1456804243/302655/1e93032/5951e7ecNafb50399.jpg
\'
| dpg"
\n
alt=""/>
'
,
demo2
:
'
<img
\n
:src="
\'
//img10.360buyimg.com/n1/s368x368_jfs/t14533/126/2072200806/342302/3602464d/5a69359bNd2297228.jpg.webp
\'
| dpg"
\n
alt=""/>
'
}}}},
979
:
function
(
e
,
t
,
n
){
t
=
e
.
exports
=
n
(
2
)(),
t
.
push
([
e
.
i
,
""
,
""
])}});
\ No newline at end of file
dist/43.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
43
],{
1014
:
function
(
t
,
n
,
v
){
n
=
t
.
exports
=
v
(
2
)(),
n
.
push
([
t
.
i
,
""
,
""
])},
1113
:
function
(
t
,
n
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
n
=
t
.
$createElement
,
v
=
t
.
_self
.
_c
||
n
;
return
v
(
"
div
"
,[
v
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
v
(
"
h5
"
,[
t
.
_v
(
"
基本用法
"
)]),
t
.
_v
(
"
"
),
v
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
this.$dialog(options);
"
}}),
t
.
_v
(
"
"
),
v
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
v
(
"
h6
"
,[
t
.
_v
(
"
自定义标题和内容
"
)]),
t
.
_v
(
"
"
),
v
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
export default {
\n
methods:{
\n
'showDialog1'(){
\n
const options = {
\n
'title':'自定义Dialog标题',
\n
'content':'小屏或移动端浏览效果最佳'
\n
};
\n\n
this.$dialog(options);
\n
}
\n
}
\n
}
"
,
imgUrl
:
"
../asset/img/demo/dialog1.png
"
}}),
t
.
_v
(
"
"
),
v
(
"
h6
"
,[
t
.
_v
(
"
移除右上角关闭按钮、标题栏、按钮栏
"
)]),
t
.
_v
(
"
"
),
v
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
export default {
\n
methods:{
\n
//移除右上角按钮
\n
'showDialog2':function(){
\n
const options = {
\n
'title':'自定义Dialog标题',
\n
'content':'小屏或移动端浏览效果最佳',
\n
'noCloseBtn': true
\n
};
\n\n
this.$dialog(options);
\n
},
\n
//移除顶部标题栏
\n
'showDialog3':function(){
\n
const options = {
\n
'content':'小屏或移动端浏览效果最佳',
\n
'noHeader': true
\n
};
\n\n
this.$dialog(options);
\n
},
\n
//移除底部按钮栏
\n
'showDialog4':function(){
\n
const options = {
\n
'title':'自定义Dialog标题',
\n
'content':'小屏或移动端浏览效果最佳',
\n
'noFooter': true
\n
};
\n\n
this.$dialog(options);
\n
},
\n
}
\n
}
"
,
imgUrl
:[
"
../asset/img/demo/dialog2.png
"
,
"
../asset/img/demo/dialog3.png
"
,
"
../asset/img/demo/dialog4.png
"
]}}),
t
.
_v
(
"
"
),
v
(
"
h6
"
,[
t
.
_v
(
"
事件
"
)]),
t
.
_v
(
"
"
),
v
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
export default {
\n
methods:{
\n
'showDialog5':function(){
\n
const options = {
\n
'title':'自定义Dialog标题',
\n
'content':'小屏或移动端浏览效果最佳',
\n
//确定按钮事件
\n
'onOkBtn'(event){
\n
alert('okBtn');
\n
this.close(); //关闭对话框
\n
},
\n
//取消按钮事件
\n
'onCancelBtn'(event){
\n
alert('cancelBtn');
\n
//return false; //阻止默认“关闭对话框”的行为
\n
},
\n
//右上角关闭按钮事件
\n
'onCloseBtn'(event){
\n
alert('closeBtn');
\n
//return false; //阻止默认“关闭对话框”的行为
\n
},
\n
//关闭对话框回调,任何地方关闭对话框都会调用
\n
'closeCallback'(target){
\n
alert('will close');
\n
}
\n
};
\n\n
this.$dialog(options);
\n
}
\n
}
"
}}),
t
.
_v
(
"
"
),
v
(
"
h5
"
,[
t
.
_v
(
"
Options
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
n
=
t
.
$createElement
,
v
=
t
.
_self
.
_c
||
n
;
return
v
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
v
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
v
(
"
thead
"
,[
v
(
"
tr
"
,[
v
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
可选值/备注
"
)])])]),
t
.
_v
(
"
"
),
v
(
"
tbody
"
,[
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
id
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
对话框ID
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
''
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
相同ID的对话框共享一个实例
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
content
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
对话框内容,支持HTML
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
title
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
对话框标题
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
noCloseBtn
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
是否隐藏关闭按钮
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
closeOnClickModal
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
是否允许点击蒙层关闭对话框
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
noHeader
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
是否隐藏头部标题栏区域(不影响关闭按钮)
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
noFooter
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
是否隐藏底部按钮区域
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
noOkBtn
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
是否隐藏确定按钮
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
noCancelBtn
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
是否隐藏取消按钮
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
okBtnTxt
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
确定按钮文字
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
确 定
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
cancelBtnTxt
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
取消按钮文字
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
取 消
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
okBtnDisabled
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
把确定按钮设为禁用状态
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
cancelAutoClose
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
点击取消按钮是否默认关闭对话框
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
onOkBtn
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
确定按钮点击事件
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Function
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
null
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
唯一参数为原生事件对象
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
onCancelBtn
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
取消按钮点击事件
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Function
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
null
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
唯一参数为原生事件对象
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
onCloseBtn
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
关闭对话框按钮点击事件
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Function
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
null
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
唯一参数为原生事件对象
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
closeCallback
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
对话框关闭回调函数
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Function
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
null
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
可通过唯一参数判断关闭对话框的行为来自哪个元素,'modal'表示蒙层,'closeBtn'表示关闭按钮
"
)])])])])])}]}},
1206
:
function
(
t
,
n
,
v
){
var
_
=
v
(
1014
);
"
string
"
==
typeof
_
&&
(
_
=
[[
t
.
i
,
_
,
""
]]),
_
.
locals
&&
(
t
.
exports
=
_
.
locals
);
v
(
3
)(
"
1087a9e8
"
,
_
,
!
0
,{})},
837
:
function
(
t
,
n
,
v
){
function
_
(
t
){
v
(
1206
)}
var
o
=
v
(
1
)(
v
(
928
),
v
(
1113
),
_
,
null
,
null
);
t
.
exports
=
o
.
exports
},
928
:
function
(
t
,
n
,
v
){
"
use strict
"
;
Object
.
defineProperty
(
n
,
"
__esModule
"
,{
value
:
!
0
}),
n
.
default
=
{
data
:
function
(){
return
{
demo1
:
""
}},
mounted
:
function
(){},
methods
:{}}}});
\ No newline at end of file
dist/44.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
44
],{
1042
:
function
(
t
,
n
,
e
){
n
=
t
.
exports
=
e
(
2
)(),
n
.
push
([
t
.
i
,
""
,
""
])},
1141
:
function
(
t
,
n
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
n
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
n
;
return
e
(
"
div
"
,[
e
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
日期弹窗选择组件。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
e
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
e
(
"
h6
"
,[
t
.
_v
(
"
默认不选择日期
"
)]),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
,
imgUrl
:[
"
../asset/img/demo/datepicker1.png
"
]}}),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo11
}}),
t
.
_v
(
"
"
),
e
(
"
h6
"
,[
t
.
_v
(
"
有默认选择日期和设定了开始结束日期范围
"
)]),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
,
imgUrl
:[
"
../asset/img/demo/datepicker2.png
"
]}}),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo21
}}),
t
.
_v
(
"
"
),
e
(
"
h6
"
,[
t
.
_v
(
"
默认不选择日期, 不存在确认取消按钮
"
)]),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo3
,
imgUrl
:[
"
../asset/img/demo/datepicker3.png
"
]}}),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo31
}}),
t
.
_v
(
"
"
),
e
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
e
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
n
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
n
;
return
e
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
e
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
e
(
"
thead
"
,[
e
(
"
tr
"
,[
e
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
e
(
"
tbody
"
,[
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
isFold
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
是否默认展开日历
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
isConfirmBtn
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
是否有确认取消按钮面板
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
dateParams
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
传入日历规则参数
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Object
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
dateParams.maxDate
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
可指定结束日期
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
null
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
yyyy-mm-dd
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
dateParams.curDate
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
指定默认选择日期,小于开始日期会修改开始日期
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
null
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
yyyy-mm-dd
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
dateParams.minDate
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
可指定开始日期
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
null
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
yyyy-mm-dd
"
)])])])])])},
function
(){
var
t
=
this
,
n
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
n
;
return
e
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
e
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
e
(
"
thead
"
,[
e
(
"
tr
"
,[
e
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
e
(
"
tbody
"
,[
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
confirm
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
点击确认按钮时触发或无按钮面板时选中日期触发
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
cancel
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
点击取消按钮时触发
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
年月日对象
"
)])])])])])}]}},
1234
:
function
(
t
,
n
,
e
){
var
a
=
e
(
1042
);
"
string
"
==
typeof
a
&&
(
a
=
[[
t
.
i
,
a
,
""
]]),
a
.
locals
&&
(
t
.
exports
=
a
.
locals
);
e
(
3
)(
"
4732243d
"
,
a
,
!
0
,{})},
836
:
function
(
t
,
n
,
e
){
function
a
(
t
){
e
(
1234
)}
var
d
=
e
(
1
)(
e
(
927
),
e
(
1141
),
a
,
null
,
null
);
t
.
exports
=
d
.
exports
},
927
:
function
(
t
,
n
,
e
){
"
use strict
"
;
Object
.
defineProperty
(
n
,
"
__esModule
"
,{
value
:
!
0
}),
n
.
default
=
{
data
:
function
(){
return
{
dateParams
:{},
demo1
:
'
<nut-datepicker
\n
:params="dateParams"
\n
:is-fold="isFold"
\n
@confirm="confirm"
\n
@cancel="cancel"
\n
v-if="isFold">
\n
</nut-datepicker>
'
,
demo2
:
'
<nut-datepicker
\n
:params="dateParams"
\n
:is-fold="isFold"
\n
@confirm="confirm"
\n
@cancel="cancel"
\n
v-if="isFold">
\n
</nut-datepicker>
'
,
demo3
:
'
<nut-datepicker
\n
:params="dateParams"
\n
:is-fold="isFold"
\n
:is-confirm-btn="isConfirmBtn"
\n
@confirm="confirm"
\n
@cancel="cancel"
\n
v-if="isFold">
\n
</nut-datepicker>
'
,
demo11
:
"
export default {
\n
data(){
\n
return{
\n
isFold: false,
\n
dateParams: {
\n
curDate: '请选择日期'
\n
},
\n
}
\n
},
\n
methods:{
\n
openDatePicker(){
\n
this.isFold = true;
\n
},
\n
cancel() {
\n
this.isFold = false;
\n
},
\n\n
confirm(params) {
\n
this.dateParams.curDate = params.year + '-' + params.month + '-' + params.day;
\n
this.cancel();
\n
}
\n
}
\n
}
"
,
demo21
:
"
export default {
\n
data(){
\n
return{
\n
isFold: false,
\n
dateParams: {
\n
curDate: '2018-01-27',
\n
minDate: '2018-01-24',
\n
maxDate: '2018-07-26'
\n
}
\n
}
\n
},
\n
methods:{
\n
openDatePicker(){
\n
this.isFold = true;
\n
},
\n\n
cancel() {
\n
this.isFold = false;
\n
},
\n\n
confirm(params) {
\n
this.dateParams.curDate = params.year + '-' + params.month + '-' + params.day;
\n
this.cancel();
\n
}
\n
}
\n
}
"
,
demo31
:
"
export default {
\n
data(){
\n
return{
\n
isFold: false,
\n
isConfirmBtn: false,
\n
dateParams: {
\n
curDate: '请选择日期'
\n
}
\n
}
\n
},
\n
methods:{
\n
openDatePicker(){
\n
this.isFold = true;
\n
},
\n\n
cancel() {
\n
this.isFold = false;
\n
},
\n\n
confirm(params) {
\n
this.dateParams.curDate = params.year + '-' + params.month + '-' + params.day;
\n
this.cancel();
\n
}
\n
}
\n
}
"
}},
methods
:{}}}});
\ No newline at end of file
dist/45.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
45
],{
1007
:
function
(
t
,
n
,
e
){
n
=
t
.
exports
=
e
(
2
)(),
n
.
push
([
t
.
i
,
""
,
""
])},
1106
:
function
(
t
,
n
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
n
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
n
;
return
e
(
"
div
"
,[
e
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
优惠券,包括京券、东券、运费券、不可用券,支持领取、选中事件。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
e
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
e
(
"
h6
"
,[
t
.
_v
(
"
优惠券展示:京券,立即使用
"
)]),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
,
imgUrl
:[
"
../asset/img/demo/coupon1.png
"
]}}),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo11
}}),
t
.
_v
(
"
"
),
e
(
"
h6
"
,[
t
.
_v
(
"
优惠券展示:东券,立即使用
"
)]),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
,
imgUrl
:[
"
../asset/img/demo/coupon2.png
"
]}}),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo21
}}),
t
.
_v
(
"
"
),
e
(
"
h6
"
,[
t
.
_v
(
"
优惠券展示:运费券,立即使用
"
)]),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo3
,
imgUrl
:[
"
../asset/img/demo/coupon3.png
"
]}}),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo31
}}),
t
.
_v
(
"
"
),
e
(
"
h6
"
,[
t
.
_v
(
"
优惠券展示:不可用券
"
)]),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo4
,
imgUrl
:[
"
../asset/img/demo/coupon4.png
"
]}}),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo41
}}),
t
.
_v
(
"
"
),
e
(
"
h6
"
,[
t
.
_v
(
"
优惠券展示:切换状态
"
)]),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo5
,
imgUrl
:[
"
../asset/img/demo/coupon5.png
"
]}}),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo51
}}),
t
.
_v
(
"
"
),
e
(
"
h6
"
,[
t
.
_v
(
"
优惠券展示:有活动角标
"
)]),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo6
,
imgUrl
:[
"
../asset/img/demo/coupon6.png
"
]}}),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo61
}}),
t
.
_v
(
"
"
),
e
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
e
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
n
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
n
;
return
e
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
e
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
e
(
"
thead
"
,[
e
(
"
tr
"
,[
e
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
e
(
"
tbody
"
,[
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
datas
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
券数据
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Object
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
datas.id
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
优惠券Id
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
datas.discount
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
折扣金额
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
datas.quota
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
满额值
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
datas.couponType
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
0京券 1东券 2免运费券
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
datas.couponLimitInfo
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
该券不可使用或者可以使用的说明
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
datas.beginTime
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
优惠券使用的起始日期
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
datas.endTime
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
优惠券使用的截止日期
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
datas.isUsed
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
是否可用
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
isSwitch
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
是否切换到选择功能
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
isBadge
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
是否有角标
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])])])])])},
function
(){
var
t
=
this
,
n
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
n
;
return
e
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
e
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
e
(
"
thead
"
,[
e
(
"
tr
"
,[
e
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
e
(
"
tbody
"
,[
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
immediate-use
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
点击立即使用时触发
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
返回当前优惠券数据
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
switch-use
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
选中或不选中时触发
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
返回当前优惠券数据和是否选中状态
"
)])])])])])}]}},
1199
:
function
(
t
,
n
,
e
){
var
d
=
e
(
1007
);
"
string
"
==
typeof
d
&&
(
d
=
[[
t
.
i
,
d
,
""
]]),
d
.
locals
&&
(
t
.
exports
=
d
.
locals
);
e
(
3
)(
"
0cfe5a40
"
,
d
,
!
0
,{})},
835
:
function
(
t
,
n
,
e
){
function
d
(
t
){
e
(
1199
)}
var
o
=
e
(
1
)(
e
(
926
),
e
(
1106
),
d
,
null
,
null
);
t
.
exports
=
o
.
exports
},
926
:
function
(
t
,
n
,
e
){
"
use strict
"
;
Object
.
defineProperty
(
n
,
"
__esModule
"
,{
value
:
!
0
});
var
d
=
e
(
175
),
o
=
function
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}(
d
);
n
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-coupon
\n
:datas="beanData"
\n
@immediate-use="immediateUse">
\n
</nut-coupon>
'
,
demo2
:
'
<nut-coupon
\n
:datas="beanData"
\n
@immediate-use="immediateUse">
\n
</nut-coupon>
'
,
demo3
:
'
<nut-coupon
\n
:datas="beanData"
\n
@immediate-use="immediateUse">
\n
</nut-coupon>
'
,
demo4
:
'
<nut-coupon
\n
:datas="beanData"
\n
@immediate-use="immediateUse">
\n
</nut-coupon>
'
,
demo5
:
'
<nut-coupon
\n
:datas="beanData"
\n
:is-switch="true"
\n
@switch-use="switchUse">
\n
</nut-coupon>
'
,
demo6
:
'
<nut-coupon
\n
:datas="beanData"
\n
:is-switch="true"
\n
@switch-use="switchUse"
\n
:is-badge="true">
\n
</nut-coupon>
'
,
demo11
:
"
export default {
\n
data(){
\n
return{
\n
beanData: {
\n
'id': 1,
\n
'discount': 100,
\n
'quota': 400,
\n
'couponType': 0,
\n
'couponLimitInfo': '限自营好丽友商品',
\n
'beginTime': '2015.07.07',
\n
'endTime': '2015.07.07',
\n
'isUsed': true
\n
}
\n
}
\n
},
\n
methods:{
\n
immediateUse(datas){
\n
console.log('立即使用,数据如下:' + JSON.stringify(datas));
\n
}
\n
}
\n
}
"
,
demo21
:
"
export default {
\n
data(){
\n
return{
\n
beanData: {
\n
'id': 2,
\n
'discount': 10,
\n
'quota': 60,
\n
'couponType': 1,
\n
'couponLimitInfo': '限自营盼盼品牌部分饼干类商品',
\n
'beginTime': '2015.07.07',
\n
'endTime': '2015.07.07',
\n
'isUsed': true
\n
}
\n
}
\n
},
\n
methods:{
\n
immediateUse(datas){
\n
console.log('立即使用,数据如下:' + JSON.stringify(datas));
\n
}
\n
}
\n
}
"
,
demo31
:
"
export default {
\n
data(){
\n
return{
\n
beanData: {
\n
'id': 3,
\n
'discount': 10,
\n
'quota': 400,
\n
'couponType': 2,
\n
'couponLimitInfo': '限自营好丽友、盼盼品牌部分饼干类商品',
\n
'beginTime': '2015.07.07',
\n
'endTime': '2015.07.07',
\n
'isUsed': true
\n
}
\n
}
\n
},
\n
methods:{
\n
immediateUse(datas){
\n
console.log('立即使用,数据如下:' + JSON.stringify(datas));
\n
}
\n
}
\n
}
"
,
demo41
:
"
export default {
\n
data(){
\n
return{
\n
beanData: {
\n
'id': 4,
\n
'discount': 10,
\n
'quota': 400,
\n
'couponType': 1,
\n
'couponLimitInfo': '限自营好丽友、盼盼品牌部分饼干类商品',
\n
'beginTime': '2015.07.07',
\n
'endTime': '2015.07.07',
\n
'isUsed': false
\n
}
\n
}
\n
},
\n
methods:{
\n
immediateUse(datas){
\n
console.log('立即使用,数据如下:' + JSON.stringify(datas));
\n
}
\n
}
\n
}
"
,
demo51
:
"
export default {
\n
data(){
\n
return{
\n
beanData: {
\n
'id': 3,
\n
'discount': 10,
\n
'quota': 400,
\n
'couponType': 2,
\n
'couponLimitInfo': '限自营好丽友商品',
\n
'beginTime': '2015.07.07',
\n
'endTime': '2015.07.07',
\n
'isUsed': true
\n
}
\n
}
\n
},
\n
methods:{
\n
switchUse(datas, isChecked) {
\n
console.log('是否选中:' + isChecked);
\n
}
\n
}
\n
}
"
,
demo61
:
"
export default {
\n
data(){
\n
return{
\n
beanData: {
\n
'id': 3,
\n
'discount': 10,
\n
'quota': 400,
\n
'couponType': 2,
\n
'couponLimitInfo': '限自营好丽友商品',
\n
'beginTime': '2015.07.07',
\n
'endTime': '2015.07.07',
\n
'isUsed': true
\n
}
\n
}
\n
},
\n
methods:{
\n
switchUse(datas, isChecked) {
\n
console.log('是否选中:' + isChecked);
\n
}
\n
}
\n
}
"
}},
methods
:{
immediateUse
:
function
(
t
){
console
.
log
(
"
立即使用,数据如下:
"
+
(
0
,
o
.
default
)(
t
))},
switchUse
:
function
(
t
,
n
){
console
.
log
(
"
是否选中:
"
+
n
)}}}}});
\ No newline at end of file
dist/46.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
46
],{
1095
:
function
(
e
,
t
){
e
.
exports
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"
div
"
,[
a
(
"
nut-docheader
"
,{
attrs
:{
name
:
e
.
$route
.
name
,
chName
:
e
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
复选按钮组。
"
,
showQrCode
:
!
0
}}),
e
.
_v
(
"
"
),
a
(
"
h5
"
,[
e
.
_v
(
"
示例
"
)]),
e
.
_v
(
"
"
),
a
(
"
h6
"
,[
e
.
_v
(
"
默认用法
"
)]),
e
.
_v
(
"
"
),
a
(
"
nut-checkboxgroup
"
,{
attrs
:{
data
:
e
.
data1
}}),
e
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
e
.
demo1
}}),
e
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
e
.
demo11
}}),
e
.
_v
(
"
"
),
a
(
"
h6
"
,[
e
.
_v
(
"
回调事件
"
)]),
e
.
_v
(
"
"
),
a
(
"
nut-checkboxgroup
"
,{
attrs
:{
data
:
e
.
data2
},
on
:{
change
:
e
.
checkboxgroupChange
}}),
e
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
e
.
demo2
}}),
e
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
e
.
demo22
}}),
e
.
_v
(
"
"
),
a
(
"
h6
"
,[
e
.
_v
(
"
禁用选项
"
)]),
e
.
_v
(
"
"
),
a
(
"
nut-checkboxgroup
"
,{
attrs
:{
inline
:
!
0
,
data
:
e
.
data3
}}),
e
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
e
.
demo3
}}),
e
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
e
.
demo33
}}),
e
.
_v
(
"
"
),
a
(
"
nut-codebox
"
,{
attrs
:{
code
:
e
.
demo333
}}),
e
.
_v
(
"
"
),
a
(
"
h5
"
,[
e
.
_v
(
"
Props
"
)]),
e
.
_v
(
"
"
),
e
.
_m
(
0
),
e
.
_v
(
"
"
),
a
(
"
h5
"
,[
e
.
_v
(
"
Events
"
)]),
e
.
_v
(
"
"
),
e
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
a
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
a
(
"
thead
"
,[
a
(
"
tr
"
,[
a
(
"
th
"
,[
e
.
_v
(
"
参数
"
)]),
e
.
_v
(
"
"
),
a
(
"
th
"
,[
e
.
_v
(
"
说明
"
)]),
e
.
_v
(
"
"
),
a
(
"
th
"
,[
e
.
_v
(
"
类型
"
)]),
e
.
_v
(
"
"
),
a
(
"
th
"
,[
e
.
_v
(
"
默认值
"
)]),
e
.
_v
(
"
"
),
a
(
"
th
"
,[
e
.
_v
(
"
可选值
"
)])])]),
e
.
_v
(
"
"
),
a
(
"
tbody
"
,[
a
(
"
tr
"
,[
a
(
"
td
"
,[
e
.
_v
(
"
data
"
)]),
e
.
_v
(
"
"
),
a
(
"
td
"
,[
e
.
_v
(
"
数据源,对象数组(必传)
"
)]),
e
.
_v
(
"
"
),
a
(
"
td
"
,[
e
.
_v
(
"
Array
"
)]),
e
.
_v
(
"
"
),
a
(
"
td
"
,[
e
.
_v
(
"
[]
"
)]),
e
.
_v
(
"
"
),
a
(
"
td
"
)]),
e
.
_v
(
"
"
),
a
(
"
tr
"
,[
a
(
"
td
"
,[
e
.
_v
(
"
inline
"
)]),
e
.
_v
(
"
"
),
a
(
"
td
"
,[
e
.
_v
(
"
是否在一行展示
"
)]),
e
.
_v
(
"
"
),
a
(
"
td
"
,[
e
.
_v
(
"
Boolean
"
)]),
e
.
_v
(
"
"
),
a
(
"
td
"
,[
e
.
_v
(
"
false
"
)]),
e
.
_v
(
"
"
),
a
(
"
td
"
,[
e
.
_v
(
"
true/false
"
)])])])])])},
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
a
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
a
(
"
thead
"
,[
a
(
"
tr
"
,[
a
(
"
th
"
,[
e
.
_v
(
"
事件名
"
)]),
e
.
_v
(
"
"
),
a
(
"
th
"
,[
e
.
_v
(
"
说明
"
)]),
e
.
_v
(
"
"
),
a
(
"
th
"
,[
e
.
_v
(
"
回调参数
"
)])])]),
e
.
_v
(
"
"
),
a
(
"
tbody
"
,[
a
(
"
tr
"
,[
a
(
"
td
"
,[
e
.
_v
(
"
change
"
)]),
e
.
_v
(
"
"
),
a
(
"
td
"
,[
e
.
_v
(
"
选择时触发回调函数change(item,index,event)
"
)]),
e
.
_v
(
"
"
),
a
(
"
td
"
,[
e
.
_v
(
"
item,index,event
"
)])])])])])}]}},
1188
:
function
(
e
,
t
,
a
){
var
n
=
a
(
996
);
"
string
"
==
typeof
n
&&
(
n
=
[[
e
.
i
,
n
,
""
]]),
n
.
locals
&&
(
e
.
exports
=
n
.
locals
);
a
(
3
)(
"
37c55880
"
,
n
,
!
0
,{})},
834
:
function
(
e
,
t
,
a
){
function
n
(
e
){
a
(
1188
)}
var
d
=
a
(
1
)(
a
(
925
),
a
(
1095
),
n
,
null
,
null
);
e
.
exports
=
d
.
exports
},
925
:
function
(
e
,
t
,
a
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
});
var
n
=
a
(
20
);
!
function
(
e
){
e
&&
e
.
__esModule
}(
n
);
t
.
default
=
{
data
:
function
(){
return
{
data1
:[{
id
:
1
,
name
:
"
test1
"
,
value
:
1
},{
id
:
2
,
name
:
"
test1
"
,
value
:
2
},{
id
:
3
,
name
:
"
test1
"
,
value
:
3
},{
id
:
4
,
name
:
"
test1
"
,
value
:
4
},{
id
:
5
,
name
:
"
test1
"
,
value
:
5
}],
data2
:[{
id
:
10
,
name
:
"
test
"
,
value
:
"
是
"
,
label
:
"
是
"
,
checked
:
!
0
},{
id
:
12
,
name
:
"
test
"
,
value
:
"
否
"
,
label
:
"
否
"
,
checked
:
!
1
}],
data3
:[{
id
:
11
,
name
:
"
test2
"
,
value
:
"
足球
"
},{
id
:
22
,
name
:
"
test2
"
,
value
:
"
篮球
"
,
checked
:
!
1
},{
id
:
33
,
name
:
"
test2
"
,
value
:
"
羽毛球
"
,
checked
:
!
1
},{
id
:
44
,
name
:
"
test2
"
,
value
:
"
乒乓球
"
,
disabled
:
!
0
,
checked
:
!
1
},{
id
:
55
,
name
:
"
test2
"
,
value
:
"
排球
"
,
checked
:
!
0
}],
demo1
:
'
<nut-checkboxgroup :data="data1"></nut-checkboxgroup>
'
,
demo11
:
"
export default {
\n
data(){
\n
return{
\n
data1:[
\n
{id:1,name:'test1',value:1},
\n
{id:2,name:'test1',value:2},
\n
{id:3,name:'test1',value:3},
\n
{id:4,name:'test1',value:4},
\n
{id:5,name:'test1',value:5}
\n
]
\n
}
\n
}
\n
}
"
,
demo2
:
'
<nut-checkboxgroup
\n
:data="data2"
\n
@change="test1">
\n
</nut-checkboxgroup>
'
,
demo22
:
"
export default {
\n
data(){
\n
return{
\n
data2:[
\n
{id:10,name:'test',value:'是',label:'是',checked:true},
\n
{id:12,name:'test',value:'否',label:'否',checked:false},
\n
]
\n
}
\n
},
\n
methods:{
\n
test1(item){
\n
alert(item.value+'checked:'+event.target.checked);
\n
}
\n
}
\n
}
"
,
demo3
:
'
<nut-checkboxgroup
\n
:data="data3"
\n
@change="change">
\n
</nut-checkboxgroup>
'
,
demo33
:
"
export default {
\n
data(){
\n
return{
\n
data3:[
\n
{id:11,name:'test2',value:'足球',},
\n
{id:22,name:'test2',value:'篮球',checked:false},
\n
{id:33,name:'test2',value:'羽毛球',checked:false},
\n
{id:44,name:'test2',value:'乒乓球',disabled:true,checked:false},
\n
{id:55,name:'test2',value:'排球',checked:true}
\n
]
\n
}
\n
},
\n
methods:{
\n
change(item,index){
\n
console.log(index,event.target.value,event.target.checked);
\n
}
\n
}
\n
}
"
,
demo333
:
"
.nut-checkboxgroup .checkboxlist{
\n
display: inline-block;
\n
width: 100px;
\n
}
"
}},
components
:{},
methods
:{
checkboxgroupChange
:
function
(
e
,
t
,
a
,
n
){
alert
(
t
.
label
+
"
:
"
+
n
.
target
.
checked
)}}}},
996
:
function
(
e
,
t
,
a
){
t
=
e
.
exports
=
a
(
2
)(),
t
.
push
([
e
.
i
,
"
.nut-checkboxgroup .checkboxlist{display:inline-block;width:100px}
"
,
""
])}});
\ No newline at end of file
dist/47.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
47
],{
1036
:
function
(
e
,
c
,
t
){
c
=
e
.
exports
=
t
(
2
)(),
c
.
push
([
e
.
i
,
"
.chexkbox-demo .nut-checkbox{display:inline-block;margin-right:5px}
"
,
""
])},
1135
:
function
(
e
,
c
){
e
.
exports
=
{
render
:
function
(){
var
e
=
this
,
c
=
e
.
$createElement
,
t
=
e
.
_self
.
_c
||
c
;
return
t
(
"
div
"
,{
staticClass
:
"
chexkbox-demo
"
},[
t
(
"
nut-docheader
"
,{
attrs
:{
name
:
e
.
$route
.
name
,
chName
:
e
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
复选按钮。
"
,
showQrCode
:
!
0
}}),
e
.
_v
(
"
"
),
t
(
"
h5
"
,[
e
.
_v
(
"
示例
"
)]),
e
.
_v
(
"
"
),
t
(
"
h6
"
,[
e
.
_v
(
"
默认用法
"
)]),
e
.
_v
(
"
"
),
t
(
"
nut-checkbox
"
,{
attrs
:{
checked
:
e
.
checkbox1
},
on
:{
"
update:checked
"
:
function
(
c
){
e
.
checkbox1
=
c
}}}),
e
.
_v
(
"
"
),
t
(
"
div
"
,[
e
.
_v
(
"
checkbox1:
"
+
e
.
_s
(
e
.
checkbox1
))]),
e
.
_v
(
"
"
),
t
(
"
nut-codebox
"
,{
attrs
:{
code
:
e
.
demo1
}}),
e
.
_v
(
"
"
),
t
(
"
h6
"
,[
e
.
_v
(
"
点击触发事件
"
)]),
e
.
_v
(
"
"
),
t
(
"
nut-checkbox
"
,{
attrs
:{
checked
:
e
.
checked
},
on
:{
"
update:checked
"
:
function
(
c
){
e
.
checked
=
c
},
change
:
e
.
checkboxChange
}}),
e
.
_v
(
"
"
),
t
(
"
nut-codebox
"
,{
attrs
:{
code
:
e
.
demo2
}}),
e
.
_v
(
"
"
),
t
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
export default {
\n
data(){
\n
return{
\n
checked:false
\n
}
\n
}
\n
methods:{
\n
checkboxChange(){
\n
alert(this.checked);
\n
}
\n
}
\n
}
"
}}),
e
.
_v
(
"
"
),
t
(
"
h6
"
,[
e
.
_v
(
"
禁用选项
"
)]),
e
.
_v
(
"
"
),
t
(
"
nut-checkbox
"
,{
attrs
:{
name
:
"
test2
"
,
checked
:
e
.
checked2
,
disabled
:
!
0
},
on
:{
"
update:checked
"
:
function
(
c
){
e
.
checked2
=
c
}}}),
e
.
_v
(
"
"
),
t
(
"
nut-checkbox
"
,{
attrs
:{
name
:
"
test2
"
,
checked
:
e
.
checked2
},
on
:{
"
update:checked
"
:
function
(
c
){
e
.
checked2
=
c
}}}),
e
.
_v
(
"
"
),
t
(
"
nut-codebox
"
,{
attrs
:{
code
:
e
.
demo3
}}),
e
.
_v
(
"
"
),
t
(
"
h5
"
,[
e
.
_v
(
"
Props
"
)]),
e
.
_v
(
"
"
),
e
.
_m
(
0
),
e
.
_v
(
"
"
),
t
(
"
h5
"
,[
e
.
_v
(
"
Events
"
)]),
e
.
_v
(
"
"
),
e
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
e
=
this
,
c
=
e
.
$createElement
,
t
=
e
.
_self
.
_c
||
c
;
return
t
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
t
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
t
(
"
thead
"
,[
t
(
"
tr
"
,[
t
(
"
th
"
,[
e
.
_v
(
"
参数
"
)]),
e
.
_v
(
"
"
),
t
(
"
th
"
,[
e
.
_v
(
"
说明
"
)]),
e
.
_v
(
"
"
),
t
(
"
th
"
,[
e
.
_v
(
"
类型
"
)]),
e
.
_v
(
"
"
),
t
(
"
th
"
,[
e
.
_v
(
"
默认值
"
)]),
e
.
_v
(
"
"
),
t
(
"
th
"
,[
e
.
_v
(
"
可选值
"
)])])]),
e
.
_v
(
"
"
),
t
(
"
tbody
"
,[
t
(
"
tr
"
,[
t
(
"
td
"
,[
e
.
_v
(
"
checked.sync
"
)]),
e
.
_v
(
"
"
),
t
(
"
td
"
,[
e
.
_v
(
"
是否选中
"
)]),
e
.
_v
(
"
"
),
t
(
"
td
"
,[
e
.
_v
(
"
Boolean
"
)]),
e
.
_v
(
"
"
),
t
(
"
td
"
,[
e
.
_v
(
"
false
"
)]),
e
.
_v
(
"
"
),
t
(
"
td
"
,[
e
.
_v
(
"
true/false
"
)])]),
e
.
_v
(
"
"
),
t
(
"
tr
"
,[
t
(
"
td
"
,[
e
.
_v
(
"
disabled
"
)]),
e
.
_v
(
"
"
),
t
(
"
td
"
,[
e
.
_v
(
"
是否禁用
"
)]),
e
.
_v
(
"
"
),
t
(
"
td
"
,[
e
.
_v
(
"
Boolean
"
)]),
e
.
_v
(
"
"
),
t
(
"
td
"
,[
e
.
_v
(
"
false
"
)]),
e
.
_v
(
"
"
),
t
(
"
td
"
,[
e
.
_v
(
"
true/false
"
)])])])])])},
function
(){
var
e
=
this
,
c
=
e
.
$createElement
,
t
=
e
.
_self
.
_c
||
c
;
return
t
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
t
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
t
(
"
thead
"
,[
t
(
"
tr
"
,[
t
(
"
th
"
,[
e
.
_v
(
"
事件名
"
)]),
e
.
_v
(
"
"
),
t
(
"
th
"
,[
e
.
_v
(
"
说明
"
)]),
e
.
_v
(
"
"
),
t
(
"
th
"
,[
e
.
_v
(
"
回调参数
"
)])])]),
e
.
_v
(
"
"
),
t
(
"
tbody
"
,[
t
(
"
tr
"
,[
t
(
"
td
"
,[
e
.
_v
(
"
change
"
)]),
e
.
_v
(
"
"
),
t
(
"
td
"
,[
e
.
_v
(
"
选择时触发回调函数
"
)]),
e
.
_v
(
"
"
),
t
(
"
td
"
,[
e
.
_v
(
"
唯一参数为事件对象
"
)])])])])])}]}},
1228
:
function
(
e
,
c
,
t
){
var
n
=
t
(
1036
);
"
string
"
==
typeof
n
&&
(
n
=
[[
e
.
i
,
n
,
""
]]),
n
.
locals
&&
(
e
.
exports
=
n
.
locals
);
t
(
3
)(
"
13bb4754
"
,
n
,
!
0
,{})},
833
:
function
(
e
,
c
,
t
){
function
n
(
e
){
t
(
1228
)}
var
o
=
t
(
1
)(
t
(
924
),
t
(
1135
),
n
,
null
,
null
);
e
.
exports
=
o
.
exports
},
924
:
function
(
e
,
c
,
t
){
"
use strict
"
;
Object
.
defineProperty
(
c
,
"
__esModule
"
,{
value
:
!
0
}),
c
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-checkbox
\n
:checked.sync="checkbox1"
\n
></nut-checkbox>
'
,
demo2
:
'
<nut-checkbox
\n
:checked.sync="checked"
\n
@change="checkboxChange">
\n
</nut-checkbox>
'
,
demo3
:
'
<nut-checkbox
\n
:checked.sync="checked2"
\n
:disabled="true">
\n
</nut-checkbox>
\n\n
<nut-checkbox
\n
:checked.sync="checked2">
\n
</nut-checkbox>
'
,
checkbox1
:
!
1
,
checked
:
!
1
,
checked2
:
!
1
}},
methods
:{
checkboxChange
:
function
(
e
){
alert
(
this
.
checked
)}}}}});
\ No newline at end of file
dist/48.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
48
],{
1034
:
function
(
t
,
v
,
e
){
v
=
t
.
exports
=
e
(
2
)(),
v
.
push
([
t
.
i
,
""
,
""
])},
1133
:
function
(
t
,
v
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
v
;
return
e
(
"
div
"
,[
e
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
吸顶条,支持在页面滑动到指定位置时固定在顶部,常用于导航栏和搜索条。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
e
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
e
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo
}}),
t
.
_v
(
"
"
),
e
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
v
;
return
e
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
e
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
e
(
"
thead
"
,[
e
(
"
tr
"
,[
e
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
e
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
e
(
"
tbody
"
,[
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
fixedTop
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
定位时距离顶部的位置
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
0
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
fixedType
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
吸顶方式(直接吸顶or消失后再出现吸顶)
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
arrivalEl
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
吸顶消失的目标元素的id或者class
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
null
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
screenNum
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
吸顶在第几屏显示
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
0
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
e
(
"
tr
"
,[
e
(
"
td
"
,[
t
.
_v
(
"
zIndex
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
定位元素的层级
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
1001
"
)]),
t
.
_v
(
"
"
),
e
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])}]}},
1226
:
function
(
t
,
v
,
e
){
var
_
=
e
(
1034
);
"
string
"
==
typeof
_
&&
(
_
=
[[
t
.
i
,
_
,
""
]]),
_
.
locals
&&
(
t
.
exports
=
_
.
locals
);
e
(
3
)(
"
37918443
"
,
_
,
!
0
,{})},
832
:
function
(
t
,
v
,
e
){
function
_
(
t
){
e
(
1226
)}
var
n
=
e
(
1
)(
e
(
923
),
e
(
1133
),
_
,
null
,
null
);
t
.
exports
=
n
.
exports
},
923
:
function
(
t
,
v
,
e
){
"
use strict
"
;
Object
.
defineProperty
(
v
,
"
__esModule
"
,{
value
:
!
0
});
var
_
=
e
(
20
);
!
function
(
t
){
t
&&
t
.
__esModule
}(
_
);
v
.
default
=
{
data
:
function
(){
return
{
demo
:
'
<nut-ceilinglamp
\n
:fixedTop = "0"
\n
:fixedType = "true"
\n
:screenNum = "0">
\n
<div class="ceildiv">
\n
我能自动固定到顶部
\n
</div>
\n
</nut-ceilinglamp>
'
}}}}});
\ No newline at end of file
dist/49.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
49
],{
1070
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
v
=
t
.
_self
.
_c
||
e
;
return
v
(
"
div
"
,[
v
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
数字或状态标记,一般展示在按钮或文字旁。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
v
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
v
(
"
h6
"
,[
t
.
_v
(
"
默认用法
"
)]),
t
.
_v
(
"
"
),
v
(
"
nut-badge
"
,{
staticClass
:
"
item
"
,
attrs
:{
value
:
12
}},[
v
(
"
button
"
,[
t
.
_v
(
"
普通模式
"
)])]),
t
.
_v
(
"
"
),
v
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
}}),
t
.
_v
(
"
"
),
v
(
"
h6
"
,[
t
.
_v
(
"
Max用法
"
)]),
t
.
_v
(
"
"
),
v
(
"
nut-badge
"
,{
staticClass
:
"
item
"
,
attrs
:{
value
:
200
,
max
:
99
}},[
v
(
"
button
"
,[
t
.
_v
(
"
max模式
"
)])]),
t
.
_v
(
"
"
),
v
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
}}),
t
.
_v
(
"
"
),
v
(
"
h6
"
,[
t
.
_v
(
"
文字用法
"
)]),
t
.
_v
(
"
"
),
v
(
"
nut-badge
"
,{
staticClass
:
"
item
"
,
attrs
:{
value
:
"
new
"
}},[
v
(
"
button
"
,[
t
.
_v
(
"
文字用法
"
)])]),
t
.
_v
(
"
"
),
v
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo3
}}),
t
.
_v
(
"
"
),
v
(
"
h6
"
,[
t
.
_v
(
"
小圆点
"
)]),
t
.
_v
(
"
"
),
v
(
"
nut-badge
"
,{
staticClass
:
"
item
"
,
attrs
:{
isDot
:
!
0
}},[
v
(
"
button
"
,[
t
.
_v
(
"
小圆点
"
)])]),
t
.
_v
(
"
"
),
v
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo4
}}),
t
.
_v
(
"
"
),
v
(
"
h6
"
,[
t
.
_v
(
"
文字内容
"
)]),
t
.
_v
(
"
"
),
v
(
"
nut-badge
"
,{
staticClass
:
"
item
"
,
attrs
:{
isDot
:
!
0
}},[
t
.
_v
(
"
文字内容
"
)]),
t
.
_v
(
"
"
),
v
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo5
}}),
t
.
_v
(
"
"
),
v
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
v
=
t
.
_self
.
_c
||
e
;
return
v
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
v
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
v
(
"
thead
"
,[
v
(
"
tr
"
,[
v
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
v
(
"
tbody
"
,[
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
value
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
显示值
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
String,Number
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
max
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
最大值,超过最大值会显示 '{max}+',要求 value 是 Number 类型
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
isDot
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
小圆点
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
false
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
hidden
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
隐藏 badge
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
false
"
)])])])])])}]}},
1164
:
function
(
t
,
e
,
v
){
var
a
=
v
(
972
);
"
string
"
==
typeof
a
&&
(
a
=
[[
t
.
i
,
a
,
""
]]),
a
.
locals
&&
(
t
.
exports
=
a
.
locals
);
v
(
3
)(
"
2827e8b8
"
,
a
,
!
0
,{})},
831
:
function
(
t
,
e
,
v
){
function
a
(
t
){
v
(
1164
)}
var
_
=
v
(
1
)(
v
(
922
),
v
(
1070
),
a
,
null
,
null
);
t
.
exports
=
_
.
exports
},
922
:
function
(
t
,
e
,
v
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-badge :value="1"><div>我是按钮</div></nut-badge>
'
,
demo2
:
'
<nut-badge :value="200" :max="99" class="item"><button>max模式</button></nut-badge>
'
,
demo3
:
'
<nut-badge value="new" class="item"><button>文字用法</button></nut-badge>
'
,
demo4
:
'
<nut-badge :isDot="true" class="item"><button>小圆点</button></nut-badge>
'
,
demo5
:
'
<nut-badge :isDot="true" class="item">文字内容</nut-badge>
'
}},
methods
:{
showMask
:
function
(){
this
.
maskShow
=!
0
},
hideMask
:
function
(){
this
.
maskShow
=!
1
}}}},
972
:
function
(
t
,
e
,
v
){
e
=
t
.
exports
=
v
(
2
)(),
e
.
push
([
t
.
i
,
"
.item{display:inline-block}
"
,
""
])}});
\ No newline at end of file
dist/5.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
5
],{
1030
:
function
(
t
,
e
,
i
){
e
=
t
.
exports
=
i
(
2
)(),
e
.
push
([
t
.
i
,
"
.logo[data-v-740dd8ee]{margin:20px auto;height:120px;background:url(
"
+
i
(
1062
)
+
"
) 50% no-repeat;background-size:contain}img[data-v-740dd8ee]{max-width:100%}@media (max-width:400px){.logo[data-v-740dd8ee]{height:100px}}
"
,
""
])},
1060
:
function
(
t
,
e
,
i
){
t
.
exports
=
i
.
p
+
"
img/custom-build.png
"
},
1062
:
function
(
t
,
e
,
i
){
t
.
exports
=
i
.
p
+
"
img/nutui-logo3.png
"
},
1129
:
function
(
t
,
e
,
i
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
v
=
t
.
_self
.
_c
||
e
;
return
v
(
"
div
"
,{
staticClass
:
"
wrapper
"
},[
v
(
"
div
"
,{
staticClass
:
"
logo
"
}),
t
.
_v
(
"
"
),
v
(
"
p
"
,[
t
.
_v
(
"
NutUI是一个基于Vue2.0的轻量级移动端组件库,大部分组件来自「京东APP」、「京东ME」、「京东M站」中的实际项目。
"
)]),
t
.
_v
(
"
"
),
v
(
"
h5
"
,[
t
.
_v
(
"
安装
"
)]),
t
.
_v
(
"
"
),
v
(
"
p
"
,[
t
.
_v
(
"
1,使用npm安装NutUI
"
)]),
t
.
_v
(
"
"
),
v
(
"
pre
"
,[
v
(
"
code
"
,{
directives
:[{
name
:
"
highlight
"
,
rawName
:
"
v-highlight
"
}]},[
t
.
_v
(
"
npm install @nutui/nutui --save
"
)])]),
t
.
_v
(
"
"
),
v
(
"
p
"
,[
t
.
_v
(
"
2,引用完整组件库
"
)]),
t
.
_v
(
"
"
),
v
(
"
pre
"
,[
v
(
"
code
"
,{
directives
:[{
name
:
"
highlight
"
,
rawName
:
"
v-highlight
"
}]},[
t
.
_v
(
"
import NutUI from '@nutui/nutui'
"
)])]),
t
.
_v
(
"
"
),
v
(
"
p
"
,[
t
.
_v
(
"
3,初始化
"
)]),
t
.
_v
(
"
"
),
v
(
"
pre
"
,[
v
(
"
code
"
,{
directives
:[{
name
:
"
highlight
"
,
rawName
:
"
v-highlight
"
}]},[
t
.
_v
(
"
NutUI.install(Vue)
"
)])]),
t
.
_v
(
"
"
),
v
(
"
p
"
,[
t
.
_v
(
"
通过以上步骤即可完成整个NutUI组件库的安装。
"
)]),
t
.
_v
(
"
"
),
v
(
"
h5
"
,[
t
.
_v
(
"
自定义构建(按需引用)
"
)]),
t
.
_v
(
"
"
),
v
(
"
p
"
,[
t
.
_v
(
"
本组件库支持自定义构建(1.1.0版本以上),您可以根据需要只打包部分组件。
"
)]),
t
.
_v
(
"
"
),
v
(
"
p
"
,[
t
.
_v
(
"
1,在项目目录下执行
"
)]),
t
.
_v
(
"
"
),
v
(
"
pre
"
,[
v
(
"
code
"
,{
directives
:[{
name
:
"
highlight
"
,
rawName
:
"
v-highlight
"
}]},[
t
.
_v
(
"
npm install
"
)])]),
t
.
_v
(
"
"
),
v
(
"
p
"
,[
t
.
_v
(
"
2,执行自定义构建命令
"
)]),
t
.
_v
(
"
"
),
v
(
"
pre
"
,[
v
(
"
code
"
,{
directives
:[{
name
:
"
highlight
"
,
rawName
:
"
v-highlight
"
}]},[
t
.
_v
(
"
npm run custom
"
)])]),
t
.
_v
(
"
"
),
v
(
"
p
"
,[
t
.
_v
(
"
3, 在列表中,选择所有您需要打包的组件,然后按下回车键即开始构建
"
)]),
t
.
_v
(
"
"
),
v
(
"
img
"
,{
attrs
:{
src
:
i
(
1060
),
alt
:
""
}}),
t
.
_v
(
"
"
),
v
(
"
p
"
,[
t
.
_v
(
"
4,片刻之后,自定义构建出的nutui.js文件会出现在dist目录下。在项目中引入和初始化的操作同上
"
)]),
t
.
_v
(
"
"
),
v
(
"
h5
"
,[
t
.
_v
(
"
使用方法
"
)]),
t
.
_v
(
"
"
),
v
(
"
p
"
,[
t
.
_v
(
"
使用方法大致分为两类。
"
)]),
t
.
_v
(
"
"
),
v
(
"
p
"
,[
t
.
_v
(
"
一类是扩展 HTML 元素,典型的Vue组件形式,使用方式类似原生HTML元素。如遮罩层(Mask)组件,直接使用标签即可。
"
)]),
t
.
_v
(
"
"
),
v
(
"
pre
"
,[
v
(
"
code
"
,{
directives
:[{
name
:
"
highlight
"
,
rawName
:
"
v-highlight
"
}],
domProps
:{
textContent
:
t
.
_s
(
t
.
demo1
)}})]),
t
.
_v
(
"
"
),
v
(
"
p
"
,[
t
.
_v
(
"
另一类是Vue构造器的扩展组件,使用方式类似jquery/Zepto方法。如对话框(Dialog)组件。
"
)]),
t
.
_v
(
"
"
),
v
(
"
pre
"
,[
v
(
"
code
"
,{
directives
:[{
name
:
"
highlight
"
,
rawName
:
"
v-highlight
"
}]},[
t
.
_v
(
"
this.$dialog(options);
"
)])]),
t
.
_v
(
"
"
),
v
(
"
p
"
,[
t
.
_v
(
"
提示框(Toast)组件
"
)]),
t
.
_v
(
"
"
),
v
(
"
pre
"
,[
v
(
"
code
"
,{
directives
:[{
name
:
"
highlight
"
,
rawName
:
"
v-highlight
"
}]},[
t
.
_v
(
"
this.$toast(msg,during);
"
)])]),
t
.
_v
(
"
"
),
v
(
"
h5
"
,[
t
.
_v
(
"
联系我们
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
v
(
"
h5
"
,[
t
.
_v
(
"
使用项目
"
)]),
t
.
_v
(
"
"
),
v
(
"
p
"
,[
t
.
_v
(
"
如果您在项目里使用了NutUI,欢迎告知。
"
)])])},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"
p
"
,[
t
.
_v
(
"
如果您在使用组件的过程中遇到了什么问题,或者有什么意见建议,都欢迎与我们联系:
"
),
i
(
"
a
"
,{
attrs
:{
href
:
"
mailto:nutui@jd.com
"
}},[
t
.
_v
(
"
nutui@jd.com
"
)])])}]}},
1222
:
function
(
t
,
e
,
i
){
var
v
=
i
(
1030
);
"
string
"
==
typeof
v
&&
(
v
=
[[
t
.
i
,
v
,
""
]]),
v
.
locals
&&
(
t
.
exports
=
v
.
locals
);
i
(
3
)(
"
799fe9b0
"
,
v
,
!
0
,{})},
768
:
function
(
t
,
e
,
i
){
function
v
(
t
){
i
(
1222
)}
var
n
=
i
(
1
)(
i
(
937
),
i
(
1129
),
v
,
"
data-v-740dd8ee
"
,
null
);
t
.
exports
=
n
.
exports
},
937
:
function
(
t
,
e
,
i
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-mask
\n
:visible.sync="maskShow">
\n
</nut-mask>
'
}},
components
:{},
methods
:{}}}});
\ No newline at end of file
dist/50.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
50
],{
1031
:
function
(
t
,
e
,
v
){
e
=
t
.
exports
=
v
(
2
)(),
e
.
push
([
t
.
i
,
""
,
""
])},
1130
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
v
=
t
.
_self
.
_c
||
e
;
return
v
(
"
div
"
,[
v
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
返回页面顶部的快捷按钮。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
v
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
v
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
,
imgUrl
:
"
../asset/img/demo/backtop.png
"
}}),
t
.
_v
(
"
"
),
v
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
v
=
t
.
_self
.
_c
||
e
;
return
v
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
v
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
v
(
"
thead
"
,[
v
(
"
tr
"
,[
v
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
v
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
v
(
"
tbody
"
,[
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
bottom
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
距离窗口底部的距离(单位rem)
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
0.8
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
right
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
距离窗口右侧的距离(单位rem)
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
0.8
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
screenNum
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,{
attrs
:{
width
:
"
30%
"
}},[
t
.
_v
(
"
出现该按钮时的滚动距离相对窗口高度的比例。比如,0.5为页面滚动到窗口高度的一半时出现返回按钮。
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
0.5
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
v
(
"
tr
"
,[
v
(
"
td
"
,[
t
.
_v
(
"
arrowColor
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
箭头颜色
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
'#000000'
"
)]),
t
.
_v
(
"
"
),
v
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])}]}},
1223
:
function
(
t
,
e
,
v
){
var
_
=
v
(
1031
);
"
string
"
==
typeof
_
&&
(
_
=
[[
t
.
i
,
_
,
""
]]),
_
.
locals
&&
(
t
.
exports
=
_
.
locals
);
v
(
3
)(
"
6ef67950
"
,
_
,
!
0
,{})},
830
:
function
(
t
,
e
,
v
){
function
_
(
t
){
v
(
1223
)}
var
r
=
v
(
1
)(
v
(
921
),
v
(
1130
),
_
,
null
,
null
);
t
.
exports
=
r
.
exports
},
921
:
function
(
t
,
e
,
v
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-gotop
\n
:bottom="0.8"
\n
:right="0.3"
\n
:screenNum="0.5"
\n
></nut-gotop>
'
}},
methods
:{}}}});
\ No newline at end of file
dist/51.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
51
],{
1054
:
function
(
t
,
v
,
_
){
v
=
t
.
exports
=
_
(
2
)(),
v
.
push
([
t
.
i
,
""
,
""
])},
1153
:
function
(
t
,
v
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,[
_
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
广告图片弹层。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
_
(
"
h6
"
,[
t
.
_v
(
"
默认用法
"
)]),
t
.
_v
(
"
"
),
_
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
,
imgUrl
:
"
../asset/img/demo/advertisemask.png
"
}}),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
_
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
_
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
_
(
"
thead
"
,[
_
(
"
tr
"
,[
_
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
_
(
"
tbody
"
,[
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
imgSrc
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
广告图片的来源,必填项
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
''
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
linkHref
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
点击按钮跳转的链接地址
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
String
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
'javascript:void(0)'
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
picWidth
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
广告图片的宽度,必填项(单位:rem)
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
picHeight
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
广告图片的高度,必填项(单位:rem)
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
clickMask
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
点击遮罩层是否关闭
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
false
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
showClose
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
是否显示关闭按钮
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
closeTop
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
关闭按钮相对于整个屏幕距离顶部的距离(单位:rem)
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
3
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
closeRight
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
关闭按钮相对于整个屏幕距离右侧的距离(单位:rem)
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
3
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
closeScale
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
关闭按钮放大倍数
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
1
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
circleShow
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
是否显示关闭按钮外侧圆圈
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
initShow
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
是否显示广告蒙层
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])])])])])},
function
(){
var
t
=
this
,
v
=
t
.
$createElement
,
_
=
t
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
_
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
_
(
"
thead
"
,[
_
(
"
tr
"
,[
_
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
_
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
_
(
"
tbody
"
,[
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
jumpTo
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
点击跳转按钮时触发的回调事件
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
closeMask
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
点击关闭按钮时触发的回调事件
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
maskClose
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
遮罩层隐藏时触发
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
_
(
"
tr
"
,[
_
(
"
td
"
,[
t
.
_v
(
"
maskOpen
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
遮罩层显示时触发
"
)]),
t
.
_v
(
"
"
),
_
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])}]}},
1246
:
function
(
t
,
v
,
_
){
var
e
=
_
(
1054
);
"
string
"
==
typeof
e
&&
(
e
=
[[
t
.
i
,
e
,
""
]]),
e
.
locals
&&
(
t
.
exports
=
e
.
locals
);
_
(
3
)(
"
32ca1a8b
"
,
e
,
!
0
,{})},
829
:
function
(
t
,
v
,
_
){
function
e
(
t
){
_
(
1246
)}
var
d
=
_
(
1
)(
_
(
920
),
_
(
1153
),
e
,
null
,
null
);
t
.
exports
=
d
.
exports
},
920
:
function
(
t
,
v
,
_
){
"
use strict
"
;
Object
.
defineProperty
(
v
,
"
__esModule
"
,{
value
:
!
0
});
var
e
=
_
(
20
);
!
function
(
t
){
t
&&
t
.
__esModule
}(
e
);
v
.
default
=
{
data
:
function
(){
return
{
initShow
:
!
0
,
demo1
:
'
<nut-advertisemask
\n
imgSrc="/asset/img/advertising/adver.png"
\n
linkHref =
\'
https://m.jd.com/
\'\n
:picWidth="5"
\n
:picHeight="6"
\n
:clickMask="true"
\n
:showClose=
\'
true
\'\n
:showBtn=
\'
true
\'\n
:closeTop="3"
\n
:closeRight="0.8"
\n
:closeScale="1.2"
\n
:circleShow="true"
\n
:initShow.sync="initShow"
\n
@jumpTo="jumpToFun"
\n
@closeMask="closeMaskFun"
\n
@maskClose="maskClose"
\n
@maskOpen="maskOpen"
\n
>
\n
</nut-advertisemask>
'
}},
components
:{},
methods
:{
jumpToFun
:
function
(){
console
.
log
(
"
点击了跳转
"
)},
closeMaskFun
:
function
(){
console
.
log
(
"
关闭了蒙层
"
)}}}}});
\ No newline at end of file
dist/52.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
52
],{
1086
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"
div
"
,[
i
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
图片选取组件。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
i
(
"
h5
"
,[
t
.
_v
(
"
功能
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
i
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
i
(
"
h6
"
,[
t
.
_v
(
"
基本用法,选择添加图片
"
)]),
t
.
_v
(
"
"
),
i
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo1
,
imgUrl
:
"
../asset/img/demo/addImagesBox1.png
"
}}),
t
.
_v
(
"
"
),
i
(
"
h6
"
,[
t
.
_v
(
"
限制图片大小及数量
"
)]),
t
.
_v
(
"
"
),
i
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo2
}}),
t
.
_v
(
"
"
),
i
(
"
h6
"
,[
t
.
_v
(
"
图片删除,提供了delete接口可以直接选取要删除的图片,单击图片删除
"
)]),
t
.
_v
(
"
"
),
i
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo3
}}),
t
.
_v
(
"
"
),
i
(
"
h6
"
,[
t
.
_v
(
"
大图预览
"
)]),
t
.
_v
(
"
"
),
i
(
"
p
"
,[
t
.
_v
(
"
该功能主要结合nut-pictureview组件一起使用,代码示例:
"
)]),
t
.
_v
(
"
"
),
i
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo5
}}),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"
ul
"
,[
i
(
"
li
"
,[
t
.
_v
(
"
本组件用于选择添加图片,可结合上传组件实现图片上传功能。
"
)]),
t
.
_v
(
"
"
),
i
(
"
li
"
,[
t
.
_v
(
"
可以配置上传图片的大小。
"
)]),
t
.
_v
(
"
"
),
i
(
"
li
"
,[
t
.
_v
(
"
可以配置选择图片最大数量。
"
)]),
t
.
_v
(
"
"
),
i
(
"
li
"
,[
t
.
_v
(
"
支持删除图片。
"
)]),
t
.
_v
(
"
"
),
i
(
"
li
"
,[
t
.
_v
(
"
支持图片选择完成事件。
"
)]),
t
.
_v
(
"
"
),
i
(
"
li
"
,[
t
.
_v
(
"
提供上传图片的接口配置,若不配置则可以通过提供的事件接口自行处理图片上传等操作。
"
)])])},
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
i
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
i
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
i
(
"
thead
"
,[
i
(
"
tr
"
,[
i
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
i
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
i
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
i
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
i
(
"
th
"
,[
t
.
_v
(
"
可选值
"
)])])]),
t
.
_v
(
"
"
),
i
(
"
tbody
"
,[
i
(
"
tr
"
,[
i
(
"
td
"
,[
t
.
_v
(
"
size
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
添加图片大小,默认不限大小,单位KB
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
i
(
"
tr
"
,[
i
(
"
td
"
,[
t
.
_v
(
"
maxImg
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
可选添加图片的最大值
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
i
(
"
tr
"
,[
i
(
"
td
"
,[
t
.
_v
(
"
delete
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
传入需要删除图片的序号
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
--
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])]),
t
.
_v
(
"
"
),
i
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
i
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
i
(
"
thead
"
,[
i
(
"
tr
"
,[
i
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
i
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
i
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
i
(
"
tbody
"
,[
i
(
"
tr
"
,[
i
(
"
td
"
,[
t
.
_v
(
"
imgMsg
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
添加图片按钮触发后回调,返回图片信息,可以根据实际情况处理
"
)]),
t
.
_v
(
"
"
),
i
(
"
td
"
,[
t
.
_v
(
"
图片信息
"
)])])])])])}]}},
1179
:
function
(
t
,
e
,
i
){
var
n
=
i
(
987
);
"
string
"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
i
(
3
)(
"
56447f34
"
,
n
,
!
0
,{})},
828
:
function
(
t
,
e
,
i
){
function
n
(
t
){
i
(
1179
)}
var
d
=
i
(
1
)(
i
(
919
),
i
(
1086
),
n
,
null
,
null
);
t
.
exports
=
d
.
exports
},
919
:
function
(
t
,
e
,
i
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-addimagesbox
\n
class="btn"
\n
@imgMsg="addimg1"
\n
></nut-addimagesbox>
'
,
demo2
:
'
<nut-addimagesbox
\n
class="btn"
\n
:size="8000"
\n
:maxImg="6"
\n
:isUpload="true"
\n
:ajax="option"
\n
@imgMsg="addimg"
\n
></nut-addimagesbox>
'
,
demo3
:
'
<ul class="img-box">
\n
<li v-for="(img,key) in imgs3" :key="key" @click="deleteImg(key)">
\n
<img :src="img" alt="">
\n
</li>
\n
</ul>
\n\n
<nut-addimagesbox class="btn"
\n
:delete="delete3"
\n
@imgMsg="addimg3"
\n
></nut-addimagesbox>
'
,
demo5
:
'
<ul class="img-box">
\n
<li v-for="(img,key) in imgs5" :key="key" @click="setPicShow(key)">
\n
<img :src="img" alt="">
\n
</li>
\n
</ul>
\n\n
<nut-pictureview
\n
:visible.sync="picShow"
\n
:bgColor="coverColor"
\n
:imgArr="imgs5"
\n
:initNum="picShowNum"
\n
:pagination="showPage"
\n
@close-pic="closeDo"
\n
></nut-pictureview>
\n\n
<nut-addimagesbox
\n
class="btn"
\n
@imgMsg="addimg5"
\n
></nut-addimagesbox>
'
}},
methods
:{
addimg1
:
function
(
t
){
var
e
=
this
;
3
==
t
.
code
&&
(
e
.
imgs1
=
t
.
msg
.
imgs
)},
addimg3
:
function
(
t
){
var
e
=
this
;
3
==
t
.
code
&&
(
e
.
imgs3
=
t
.
msg
.
imgs
)},
addimg5
:
function
(
t
){
var
e
=
this
;
3
==
t
.
code
&&
(
e
.
imgs5
=
t
.
msg
.
imgs
)},
addimg
:
function
(
t
){
console
.
log
(
"
图片信息:
"
,
t
);
var
e
=
this
;
3
==
t
.
code
&&
(
e
.
imgs
=
t
.
msg
.
imgs
)},
deleteImg
:
function
(
t
){
console
.
log
(
t
);
var
e
=
this
,
i
=
Number
(
new
Date
);
e
.
delete3
=
t
+
"
-
"
+
i
,
console
.
log
(
e
.
delete3
)},
setPicShow
:
function
(
t
){
this
.
picShowNum
=
t
+
1
,
this
.
picShow
=!
0
}}}},
987
:
function
(
t
,
e
,
i
){
e
=
t
.
exports
=
i
(
2
)(),
e
.
push
([
t
.
i
,
'
.btn{width:40px;height:40px;border-radius:6px;background:#1eaedb url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpDNkYzQUM2NjQ3NkYxMUU4ODY0OEIwQjI4QzQyOUVDRiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpDNkYzQUM2NzQ3NkYxMUU4ODY0OEIwQjI4QzQyOUVDRiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkM2RjNBQzY0NDc2RjExRTg4NjQ4QjBCMjhDNDI5RUNGIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkM2RjNBQzY1NDc2RjExRTg4NjQ4QjBCMjhDNDI5RUNGIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+aEqTHAAAA3pJREFUeNrsms1rE0EYxneLl7QpKn40eotgK+IhitJLtX4gPQgmPdhjsSe9pfZuJfYvsAftTenBgoKpEKhR/Kh6KYoKitB66M1WqzRB+yEtxGfhGZlMd5PNZjedgC/8GMiyM887Ox/vzBuzUCgY9WwNRp3bFp/qaQQd4CQ4CFpBCwjz+W/wDcyAz+AFeA2Wq27ZGkIeMUEXuAuWC5XbMt/tYl2edJge50AcXAOHRT+AD+AZeAumwRx73uCX2APawFFwGsSAyefvwXUwHvQX2AcmpF6cB4P83Utdg6xD2ESldVXS4AWQZ0OL4AoIVTEEBSHWtci682zLVwdSUi+lQcQH4SoR1i0s5ZcDw6xwHQxUM+FcLgwDbMuyG9U6IHr+D+gOULhKN9ss+yXKjXnR8+drKF4Ql75ET6UOWCtBji/3e2g8DLYrhD3U008NOafVyelFsVQ+8DjmMzYbV8bjnEhLS6wrBxLSUul1tfHLAbE6iSU2oT5XgzmTO6zBnXFeg3htnloMajNLRaNnucVbgdeIRkHnCB2JUaOjA30sb4EVjRxYkTq0z8mBRgZpVmA2qmHoP0ptcWrd4MBxEGJUOauhA7PUFqLWDQ6cYPlU4wOY0NZp58AhllMaOzClaC06UraynC5zdLzjoqEjDr/dc/HuxRJHzRmW+/+t+9KJ7AfYAXaDBYcKtoJcwL28DeQdnu0C38FPsFMdQs3SAVxX+6Vorf9rlQYb78Ia621WtBZN4gXOgUiJObAG7rtoqIO3ELLN8S6onK2VeBaRtG5wwJrhB3j18dGhAmt16HEhIgPOKb+9c/luKWtj+cVuCH1i2a7xEGpXtBY58JLlGY0dENom7Rx4BVYZskY1FB+ltlV5LjUo43ucB4ZeDR3opbaHYMlpH7jN8jKjPl0sRE2yRlsHnjBkjUgv6GCXqMnS9rjc5a7Oh/rucod6g/PgEYOqm+ohusZm8nhracmCtNvrdd0utvKVXmwZvM6r26tFwZAGl7tDfl6vJ2twvZ6Uen44qARHSwDiW4JKcDilmJI+ppiSQaeY5NUpqyT5roKoB+FRvisn+bKVJvm8plkTvGiNSWlWK1X6HLzh2eKrFLM0gb28+TgGTjFFK/YYa4dN1SLNapfoHqsi0T22WYlu1Zp4jOxU/mogn2HlvxpMMiReqnqr/v9vlU22vwIMAAmKvJ+7otQzAAAAAElFTkSuQmCC) no-repeat 50%;background-size:30px 30px}.img-box{min-height:110px;line-height:100px;padding-top:10px;background:#f2f2f2}.img-box li{float:left;list-style:none;width:100px;height:100px;margin-right:10px;border:1px solid #ddd}.img-box li img{float:left;width:100%;height:100%}.img-box:after{content:"";display:block;clear:both}#pictureView .nut-swiper{width:750px}#pictureView .nut-swiper img{width:750px;height:750px}#pictureView .pv-con .nut-swiper{height:auto}
'
,
""
])}});
\ No newline at end of file
dist/53.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
53
],{
1020
:
function
(
e
,
t
,
n
){
t
=
e
.
exports
=
n
(
2
)(),
t
.
push
([
e
.
i
,
""
,
""
])},
1119
:
function
(
e
,
t
){
e
.
exports
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,[
n
(
"
nut-demoheader
"
,{
attrs
:{
name
:
e
.
$route
.
name
}}),
e
.
_v
(
"
"
),
n
(
"
h5
"
,[
e
.
_v
(
"
示例
"
)]),
e
.
_v
(
"
"
),
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
overflow
:
"
hidden
"
}},[
n
(
"
img
"
,{
attrs
:{
src
:
e
.
_f
(
"
webp
"
)(
e
.
imgUrl
),
alt
:
""
}})])],
1
)},
staticRenderFns
:[]}},
1212
:
function
(
e
,
t
,
n
){
var
r
=
n
(
1020
);
"
string
"
==
typeof
r
&&
(
r
=
[[
e
.
i
,
r
,
""
]]),
r
.
locals
&&
(
e
.
exports
=
r
.
locals
);
n
(
3
)(
"
2c9ffc0a
"
,
r
,
!
0
,{})},
827
:
function
(
e
,
t
,
n
){
function
r
(
e
){
n
(
1212
)}
var
i
=
n
(
1
)(
n
(
918
),
n
(
1119
),
r
,
null
,
null
);
e
.
exports
=
i
.
exports
},
918
:
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
{
data
:
function
(){
return
{
imgUrl
:
"
//img10.360buyimg.com/n1/s368x368_jfs/t6499/90/1456804243/302655/1e93032/5951e7ecNafb50399.jpg
"
,
demo1
:
'
<img :src="imgUrl | webp" alt=""/>
'
}}}}});
\ No newline at end of file
dist/54.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
54
],{
1019
:
function
(
e
,
r
,
t
){
r
=
e
.
exports
=
t
(
2
)(),
r
.
push
([
e
.
i
,
"
#previewBox{width:100%}#previewBox img{max-width:60%}
"
,
""
])},
1118
:
function
(
e
,
r
){
e
.
exports
=
{
render
:
function
(){
var
e
=
this
,
r
=
e
.
$createElement
,
t
=
e
.
_self
.
_c
||
r
;
return
t
(
"
div
"
,[
t
(
"
nut-demoheader
"
,{
attrs
:{
name
:
e
.
$route
.
name
}}),
e
.
_v
(
"
"
),
t
(
"
div
"
,{
attrs
:{
id
:
"
previewBox
"
},
domProps
:{
innerHTML
:
e
.
_s
(
e
.
preview
)}}),
e
.
_v
(
"
"
),
t
(
"
div
"
,{
attrs
:{
id
:
"
progressBox
"
}},[
e
.
_v
(
e
.
_s
(
e
.
progress
))]),
e
.
_v
(
"
"
),
t
(
"
nut-uploader
"
,{
attrs
:{
url
:
""
,
preview
:
!
0
},
on
:{
start
:
e
.
uploadStart
,
progress
:
e
.
uploadProgress
,
success
:
e
.
uploadSuccess
,
failure
:
e
.
uploadFailure
,
preview
:
e
.
uploadPreview
,
showMsg
:
e
.
errTip
}})],
1
)},
staticRenderFns
:[]}},
1211
:
function
(
e
,
r
,
t
){
var
o
=
t
(
1019
);
"
string
"
==
typeof
o
&&
(
o
=
[[
e
.
i
,
o
,
""
]]),
o
.
locals
&&
(
e
.
exports
=
o
.
locals
);
t
(
3
)(
"
4e05d0bb
"
,
o
,
!
0
,{})},
826
:
function
(
e
,
r
,
t
){
function
o
(
e
){
t
(
1211
)}
var
s
=
t
(
1
)(
t
(
917
),
t
(
1118
),
o
,
null
,
null
);
e
.
exports
=
s
.
exports
},
917
:
function
(
e
,
r
,
t
){
"
use strict
"
;
Object
.
defineProperty
(
r
,
"
__esModule
"
,{
value
:
!
0
}),
r
.
default
=
{
data
:
function
(){
return
{
demo
:
'
<nut-uploader url="" :preview="true" @start="uploadStart" @progress="uploadProgress"
\n
@success="uploadSuccess" @failure="uploadFailure" @preview="uploadPreview"></nut-uploader>
'
,
preview
:
""
,
progress
:
""
}},
methods
:{
uploadStart
:
function
(){
console
.
log
(
"
start
"
)},
uploadProgress
:
function
(
e
,
r
,
t
){
this
.
progress
=
"
上传进度:
"
+
r
/
t
*
100
+
"
%
"
},
uploadPreview
:
function
(
e
){
this
.
preview
=
'
本地预览图:<img src="
'
+
e
+
'
" alt=""/>
'
},
uploadSuccess
:
function
(
e
,
r
){
alert
(
"
上传成功!
"
)},
uploadFailure
:
function
(
e
,
r
){
alert
(
"
上传失败!
"
)},
errTip
:
function
(
e
){
alert
(
e
)}}}}});
\ No newline at end of file
dist/55.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
55
],{
1048
:
function
(
t
,
o
,
s
){
o
=
t
.
exports
=
s
(
2
)(),
o
.
push
([
t
.
i
,
""
,
""
])},
1147
:
function
(
t
,
o
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
o
=
t
.
$createElement
,
s
=
t
.
_self
.
_c
||
o
;
return
s
(
"
div
"
,[
s
(
"
nut-demoheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
}}),
t
.
_v
(
"
"
),
s
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
function
(
o
){
t
.
showToast
(
"
我只传了文案一个参数
"
)}}},[
t
.
_v
(
"
只传文案
"
)]),
t
.
_v
(
"
"
),
s
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
function
(
o
){
t
.
showToast
(
"
我传了文案和显示时长两个参数,多行文字默认居中展示
"
,
4
e3
)}}},[
t
.
_v
(
"
设置显示时长
"
)]),
t
.
_v
(
"
"
),
s
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
t
.
showToast3
}},[
t
.
_v
(
"
传对象,包含ID,不居中
"
)]),
t
.
_v
(
"
"
),
s
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
t
.
showToast4
}},[
t
.
_v
(
"
与上一个示例ID相同
"
)])],
1
)},
staticRenderFns
:[]}},
1240
:
function
(
t
,
o
,
s
){
var
n
=
s
(
1048
);
"
string
"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
s
(
3
)(
"
43fe179a
"
,
n
,
!
0
,{})},
825
:
function
(
t
,
o
,
s
){
function
n
(
t
){
s
(
1240
)}
var
a
=
s
(
1
)(
s
(
916
),
s
(
1147
),
n
,
null
,
null
);
t
.
exports
=
a
.
exports
},
916
:
function
(
t
,
o
,
s
){
"
use strict
"
;
Object
.
defineProperty
(
o
,
"
__esModule
"
,{
value
:
!
0
}),
o
.
default
=
{
data
:
function
(){
return
{}},
components
:{},
methods
:{
showToast
:
function
(
t
,
o
){
this
.
$toast
(
t
,
o
)},
showToast3
:
function
(){
this
.
$toast
({
msg
:
"
我传了一个对象,包括id属性值,显示位置不居中,多行文字居左展示
"
,
id
:
"
demo
"
,
center
:
!
1
,
textAlignCenter
:
!
1
,
fontSize
:.
24
,
bgColor
:
"
rgba(0,0,0,.6)
"
,
bottom
:
1
})},
showToast4
:
function
(){
this
.
$toast
({
msg
:
"
我传了一个对象,且id值与上一个示例的id值相同,将与上一个示例共享一个实例。
"
,
id
:
"
demo
"
})}}}}});
\ No newline at end of file
dist/56.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
56
],{
1053
:
function
(
t
,
e
,
n
){
e
=
t
.
exports
=
n
(
2
)(),
e
.
push
([
t
.
i
,
""
,
""
])},
1152
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
nut-demoheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
}}),
t
.
_v
(
"
"
),
n
(
"
nut-timer
"
,{
attrs
:{
timespacer
:
6
e9
}})],
1
)},
staticRenderFns
:[]}},
1245
:
function
(
t
,
e
,
n
){
var
r
=
n
(
1053
);
"
string
"
==
typeof
r
&&
(
r
=
[[
t
.
i
,
r
,
""
]]),
r
.
locals
&&
(
t
.
exports
=
r
.
locals
);
n
(
3
)(
"
1c35d678
"
,
r
,
!
0
,{})},
824
:
function
(
t
,
e
,
n
){
function
r
(
t
){
n
(
1245
)}
var
u
=
n
(
1
)(
n
(
915
),
n
(
1152
),
r
,
null
,
null
);
t
.
exports
=
u
.
exports
},
915
:
function
(
t
,
e
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
demo
:
'
<nut-timer :timespacer="6000000000"></nut-timer>
'
}},
methods
:{}}}});
\ No newline at end of file
dist/57.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
57
],{
1082
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
x
=
t
.
_self
.
_c
||
e
;
return
x
(
"
div
"
,[
x
(
"
nut-demoheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
}}),
t
.
_v
(
"
"
),
x
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
x
(
"
p
"
,[
t
.
_v
(
"
默认用法
"
)]),
t
.
_v
(
"
"
),
x
(
"
nut-textbox
"
),
t
.
_v
(
"
"
),
x
(
"
p
"
,[
t
.
_v
(
"
自定义高度:5rem
"
)]),
t
.
_v
(
"
"
),
x
(
"
nut-textbox
"
,{
attrs
:{
txtAreaH
:
5
,
maxNum
:
300
}}),
t
.
_v
(
"
"
),
x
(
"
p
"
,[
t
.
_v
(
"
自定义提示语
"
)]),
t
.
_v
(
"
"
),
x
(
"
nut-textbox
"
,{
attrs
:{
placeText
:
"
请填写详细情况请填写详细情况
"
}}),
t
.
_v
(
"
"
),
x
(
"
p
"
,[
t
.
_v
(
"
自定义字数限制
"
)]),
t
.
_v
(
"
"
),
x
(
"
nut-textbox
"
,{
attrs
:{
maxNum
:
100
}}),
t
.
_v
(
"
"
),
x
(
"
p
"
,[
t
.
_v
(
"
限制字数不可超出
"
)]),
t
.
_v
(
"
"
),
x
(
"
nut-textbox
"
,{
attrs
:{
switchMax
:
!
0
,
maxNum
:
10
,
txtAreaH
:
2
,
textBgColor
:
"
#efefef
"
}}),
t
.
_v
(
"
"
),
x
(
"
p
"
,[
t
.
_v
(
"
字数超出报错
"
)]),
t
.
_v
(
"
"
),
x
(
"
nut-textbox
"
,{
attrs
:{
maxNum
:
10
,
txtAreaH
:
2
},
on
:{
errorFunc
:
t
.
overLength
}}),
t
.
_v
(
"
"
),
x
(
"
p
"
,[
t
.
_v
(
"
自定义文本框背景色
"
)]),
t
.
_v
(
"
"
),
x
(
"
nut-textbox
"
,{
attrs
:{
switchMax
:
!
0
,
maxNum
:
10
,
txtAreaH
:
2
,
textBgColor
:
"
#feefef
"
}}),
t
.
_v
(
"
"
),
x
(
"
p
"
,[
t
.
_v
(
"
不显示字数限制
"
)]),
t
.
_v
(
"
"
),
x
(
"
nut-textbox
"
,{
attrs
:{
limitShow
:
!
1
,
maxNum
:
10
}})],
1
)},
staticRenderFns
:[]}},
1176
:
function
(
t
,
e
,
x
){
var
n
=
x
(
984
);
"
string
"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
x
(
3
)(
"
f4ed602c
"
,
n
,
!
0
,{})},
823
:
function
(
t
,
e
,
x
){
function
n
(
t
){
x
(
1176
)}
var
o
=
x
(
1
)(
x
(
914
),
x
(
1082
),
n
,
"
data-v-32722a99
"
,
null
);
t
.
exports
=
o
.
exports
},
914
:
function
(
t
,
e
,
x
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
});
var
n
=
x
(
20
);
!
function
(
t
){
t
&&
t
.
__esModule
}(
n
);
e
.
default
=
{
data
:
function
(){
return
{
demo1
:
"
<nut-textbox></nut-textbox>
"
,
demo2
:
'
<nut-textbox :txtAreaH="100"></nut-textbox>
'
,
demo3
:
"
<nut-textbox :placeText='
\"
请填写详细情况请填写详细情况
\"
'></nut-textbox>
"
,
demo4
:
'
<nut-textbox :maxNum="100"></nut-textbox>
'
,
demo5
:
'
<nut-textbox :switchMax="true" :maxNum="10" :txtAreaH="20"></nut-textbox>
'
,
demo6
:
'
<nut-textbox :maxNum="10" txtAreaH="20" @errorFunc="overLength" ></nut-textbox>
\n
methods:{
\n
overLength(){
\n
alert("字数超出");
\n
}
\n
}
'
,
demo7
:
'
<nut-textbox
\n
:switchMax="true"
\n
:maxNum="10"
\n
:txtAreaH="20"
\n
textBgColor="#feefef">
\n
</nut-textbox>
'
,
demo8
:
'
<nut-textbox
\n
:limitShow="false"
\n
:switchMax="true"
\n
:maxNum="10" >
\n
</nut-textbox>
'
}},
methods
:{
overLength
:
function
(){
alert
(
"
字数超出
"
)}}}},
984
:
function
(
t
,
e
,
x
){
e
=
t
.
exports
=
x
(
2
)(),
e
.
push
([
t
.
i
,
""
,
""
])}});
\ No newline at end of file
dist/58.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
58
],{
1011
:
function
(
t
,
e
,
n
){
e
=
t
.
exports
=
n
(
2
)(),
e
.
push
([
t
.
i
,
"
.input-telnum .nut-telinput-box ::-webkit-input-placeholder{color:green}.input-telnum .nut-telinput-box :-ms-input-placeholder,.input-telnum .nut-telinput-box ::-ms-input-placeholder{color:green}.input-telnum .nut-telinput-box ::placeholder{color:green}
"
,
""
])},
1110
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
nut-demoheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
}}),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
n
(
"
p
"
,[
t
.
_v
(
"
默认用法
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-telinput
"
),
t
.
_v
(
"
"
),
n
(
"
p
"
,[
t
.
_v
(
"
自定义输入框宽高、带有清除按钮
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-telinput
"
,{
attrs
:{
telWidth
:
"
50%
"
,
telHeight
:
"
1
"
,
clearPic
:
!
0
}}),
t
.
_v
(
"
"
),
n
(
"
p
"
,[
t
.
_v
(
"
增加回调函数,且提示信息位置在输入框下面
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-telinput
"
,{
staticClass
:
"
input-telnum
"
,
attrs
:{
gapone
:
3
,
gapsec
:
7
,
telWidth
:
"
4
"
,
telHeight
:
"
1
"
,
clearPic
:
!
0
,
tipsInfo
:
"
请输入正确的电话号码
"
,
placeText
:
"
请输入自定义文案
"
,
tipsPosition
:
"
bottom
"
},
on
:{
"
pass-test
"
:
t
.
passTest
,
clear
:
t
.
clear
,
"
error-tel
"
:
t
.
errorTel
}})],
1
)},
staticRenderFns
:[]}},
1203
:
function
(
t
,
e
,
n
){
var
o
=
n
(
1011
);
"
string
"
==
typeof
o
&&
(
o
=
[[
t
.
i
,
o
,
""
]]),
o
.
locals
&&
(
t
.
exports
=
o
.
locals
);
n
(
3
)(
"
41e11636
"
,
o
,
!
0
,{})},
822
:
function
(
t
,
e
,
n
){
function
o
(
t
){
n
(
1203
)}
var
l
=
n
(
1
)(
n
(
913
),
n
(
1110
),
o
,
null
,
null
);
t
.
exports
=
l
.
exports
},
913
:
function
(
t
,
e
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
});
var
o
=
n
(
20
);
!
function
(
t
){
t
&&
t
.
__esModule
}(
o
);
e
.
default
=
{
data
:
function
(){
return
{}},
methods
:{
clear
:
function
(){
console
.
log
(
"
点击了清除按钮
"
)},
passTest
:
function
(
t
){
console
.
log
(
t
)},
errorTel
:
function
(
t
){
console
.
log
(
"
error
"
+
t
)}}}}});
\ No newline at end of file
dist/59.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
59
],{
1094
:
function
(
t
,
a
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
a
;
return
n
(
"
div
"
,[
n
(
"
nut-demoheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
}}),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
n
(
"
p
"
,[
t
.
_v
(
"
默认用法
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-tab
"
,{
on
:{
"
tab-switch
"
:
t
.
tabSwitch
}},[
n
(
"
nut-tab-panel
"
,{
attrs
:{
tabTitle
:
"
页签名称1
"
}},[
t
.
_v
(
"
11
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-tab-panel
"
,{
attrs
:{
tabTitle
:
"
页签名称2
"
}},[
n
(
"
h2
"
,[
t
.
_v
(
"
22
"
)])]),
t
.
_v
(
"
"
),
n
(
"
nut-tab-panel
"
,{
attrs
:{
tabTitle
:
"
页签名称3
"
}},[
t
.
_v
(
"
33
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-tab-panel
"
,{
attrs
:{
tabTitle
:
"
页签名称4
"
}},[
t
.
_v
(
"
44
"
)])],
1
),
t
.
_v
(
"
"
),
n
(
"
p
"
,[
t
.
_v
(
"
在第二个标签上增加图标,页签导航条在左侧(支持导航条在上下左右位置)
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-tab
"
,{
attrs
:{
positionNav
:
"
left
"
},
on
:{
"
tab-switch
"
:
t
.
tabSwitch
}},[
n
(
"
nut-tab-panel
"
,{
attrs
:{
tabTitle
:
"
页签1
"
}},[
t
.
_v
(
"
11
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-tab-panel
"
,{
attrs
:{
tabTitle
:
"
页签2
"
,
iconUrl
:
"
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAABzElEQVQ4y7XVPWgVQRQF4O9t4sIzWPhTRAuxSaUIaSJoYSCdfRohGGE3CbERGztNGWxMJeosJGKZws5KJY1NQAJqJ4gQUUFUECW4ErV4Y3wuuy8qOM0s3DPnnjl7752WmlXk6X6cwlmcqIQfYhF3s1C+rp5t1ZBNYAF78AyP8S6G9+IohvAe57NQ3q4lLPK0DyGqeoLLWMlC+aGScDdGMRfJF5FnodyE/i7stUh2HRezUH6ssyMmuFPk6T1cwQy+YnpLYZGnZ7CEm1kop/3FKvL0BqYwmYXyVite4Sm+4HAWyo3KgX1RyTrma+LtaFEbRxKM40A0eKNGxLFoxSUcrLFgAxcix3iCSbzA/YZb9XV99zdgHkSOyQQjWMtC+bkBvBn37/jW8KM+YQ0jSVTwpofvO+Le6qFQ5OhLbL/W4/5ym8QgiVcabAJkoXyk034ns1C+7cE1iM0Eqxgu8nSgDhX7+jQmYonUYQYwjNVEp6APYawh8yjO6bTaUANmLHIsJVjGKywUebqzBrwSk87jeY26Nq5GjuVq64UslFPbGV8h/L31agI9h0MXfpdfw2FrBnTX1axOzc3geJGnc/58fM3+jP+/AVsh/ecn4AfFGqg7vPafMgAAAABJRU5ErkJggg==
"
}},[
n
(
"
h2
"
,[
t
.
_v
(
"
22
"
)])]),
t
.
_v
(
"
"
),
n
(
"
nut-tab-panel
"
,{
attrs
:{
tabTitle
:
"
页签3
"
}},[
t
.
_v
(
"
33
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-tab-panel
"
,{
attrs
:{
tabTitle
:
"
页签4
"
}},[
t
.
_v
(
"
44
"
)])],
1
),
t
.
_v
(
"
"
),
n
(
"
p
"
,[
t
.
_v
(
"
隐藏tab下面内容,跳转页面
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-tab
"
,{
attrs
:{
contentShow
:
!
1
},
on
:{
"
tab-switch
"
:
t
.
tabSwitch
}},[
n
(
"
nut-tab-panel
"
,{
attrs
:{
tabTitle
:
"
页签1
"
}},[
t
.
_v
(
"
11
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-tab-panel
"
,{
attrs
:{
tabTitle
:
"
页签2
"
,
tabLink
:
"
http://www.baidu.com
"
}},[
n
(
"
h2
"
,[
t
.
_v
(
"
22
"
)])]),
t
.
_v
(
"
"
),
n
(
"
nut-tab-panel
"
,{
attrs
:{
tabTitle
:
"
页签3
"
,
tabLink
:
"
http://www.jd.com
"
}},[
t
.
_v
(
"
33
"
)])],
1
),
t
.
_v
(
"
"
),
n
(
"
p
"
,[
t
.
_v
(
"
给tab页签增加className,可以自定义样式,默认选中第二个标签
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-tab
"
,{
staticClass
:
"
customer-css
"
,
attrs
:{
defIndex
:
1
,
contentShow
:
!
0
},
on
:{
"
tab-switch
"
:
t
.
tabSwitch
}},[
n
(
"
nut-tab-panel
"
,{
attrs
:{
tabTitle
:
"
页签1
"
}},[
t
.
_v
(
"
11
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-tab-panel
"
,{
attrs
:{
tabTitle
:
"
页签2
"
}},[
n
(
"
h2
"
,[
t
.
_v
(
"
22
"
)])]),
t
.
_v
(
"
"
),
n
(
"
nut-tab-panel
"
,{
attrs
:{
tabTitle
:
"
页签3
"
}},[
t
.
_v
(
"
33
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-tab-panel
"
,{
attrs
:{
tabTitle
:
"
页签4
"
}},[
t
.
_v
(
"
44
"
)])],
1
)],
1
)},
staticRenderFns
:[]}},
1187
:
function
(
t
,
a
,
n
){
var
e
=
n
(
995
);
"
string
"
==
typeof
e
&&
(
e
=
[[
t
.
i
,
e
,
""
]]),
e
.
locals
&&
(
t
.
exports
=
e
.
locals
);
n
(
3
)(
"
76b77b62
"
,
e
,
!
0
,{})},
821
:
function
(
t
,
a
,
n
){
function
e
(
t
){
n
(
1187
)}
var
b
=
n
(
1
)(
n
(
912
),
n
(
1094
),
e
,
null
,
null
);
t
.
exports
=
b
.
exports
},
912
:
function
(
t
,
a
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
a
,
"
__esModule
"
,{
value
:
!
0
});
var
e
=
n
(
20
);
!
function
(
t
){
t
&&
t
.
__esModule
}(
e
);
a
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-tab @tabSwitch="tab-switch">
\n
<nut-tab-panel tabTitle="页签名称1">11</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签名称2">
\n
<h2>22</h2>
\n
</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签名称3">33</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签名称4">44</nut-tab-panel>
\n
</nut-tab>
'
,
demo2
:
'
<nut-tab @tabSwitch="tab-switch" positionNav="left">
\n
<nut-tab-panel tabTitle="页签1">11</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签2" iconUrl="图片地址">
\n
<h2>22</h2>
\n
</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签3">33</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签4">44</nut-tab-panel>
\n
</nut-tab>
'
,
demo3
:
'
<nut-tab @tabSwitch="tab-switch" :contentShow="false">
\n
<nut-tab-panel tabTitle="页签1">11</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签2" tabLink="http://www.baidu.com">
\n
<h2>22</h2>
\n
</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签3" tabLink="http://www.jd.com">33</nut-tab-panel>
\n
</nut-tab>
'
,
demo4
:
'
<nut-tab
\n
:defIndex="1"
\n
class="customer-css"
\n
@tabSwitch="tab-switch"
\n
:contentShow="true"
\n
>
\n
<nut-tab-panel tabTitle="页签1">11</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签2">
\n
<h2>22</h2>
\n
</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签3">33</nut-tab-panel>
\n
<nut-tab-panel tabTitle="页签4">44</nut-tab-panel>
\n
</nut-tab>
'
,
demo5
:
"
.customer-css .nut-tab-active .nut-tab-link[data-v-240d0c90]{
\n
border-bottom: 1px solid #0E90D2;
\n
background: #F5F7FA;
\n
}
\n
.customer-css .nut-title-nav-list[data-v-240d0c90]{
\n
background: #fff;
\n
border-left: 1px solid #F5F7FA;
\n
}
\n
.customer-css .nut-title-nav-list[data-v-240d0c90]:first-child{
\n
border-left: 0;
\n
};
\n
.customer-css .nut-tab-active[data-v-240d0c90]{
\n
background: #F5F7FA;
\n
border: 0;
\n
}
\n
.customer-css .nut-tab-link[data-v-240d0c90]{
\n
width:100%;
\n
}
"
}},
methods
:{
tabSwitch
:
function
(
t
,
a
){
console
.
log
(
t
+
"
--
"
+
a
.
target
)}}}},
995
:
function
(
t
,
a
,
n
){
a
=
t
.
exports
=
n
(
2
)(),
a
.
push
([
t
.
i
,
"
.customer-css .nut-tab-active .nut-tab-link[data-v-240d0c90]{border-bottom:1px solid #0e90d2;background:#f5f7fa}.customer-css .nut-title-nav-list[data-v-240d0c90]{background:#fff;border-left:1px solid #f5f7fa}.customer-css .nut-title-nav-list[data-v-240d0c90]:first-child{border-left:0}.customer-css .nut-tab-active[data-v-240d0c90]{background:#f5f7fa;border:0}.customer-css .nut-tab-link[data-v-240d0c90]{width:100%}
"
,
""
])}});
\ No newline at end of file
dist/6.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
6
],{
1012
:
function
(
a
,
t
,
e
){
t
=
a
.
exports
=
e
(
2
)(),
t
.
push
([
a
.
i
,
"
.logo[data-v-5ca880ad]{background:url(
"
+
e
(
1061
)
+
"
) no-repeat;background-size:contain;height:50px;width:140px;font-size:0;margin:15px auto}.version[data-v-5ca880ad]{text-align:center;font-size:12px;color:#818181}p[data-v-5ca880ad]{text-align:center;color:#888}li[data-v-5ca880ad],ul[data-v-5ca880ad]{list-style:none;margin:0;padding:0}ul[data-v-5ca880ad]{padding:.1rem}li[data-v-5ca880ad]{margin:10px 0;background-color:#fff;overflow:hidden;border-radius:2px}li a[data-v-5ca880ad]{display:block;height:100%;padding:20px;text-decoration:none;color:#000}li span[data-v-5ca880ad]{margin-left:10px;font-size:14px;color:#a7a7a7}
"
,
""
])},
1061
:
function
(
a
,
t
,
e
){
a
.
exports
=
e
.
p
+
"
img/nutui-logo.png
"
},
1111
:
function
(
a
,
t
){
a
.
exports
=
{
render
:
function
(){
var
a
=
this
,
t
=
a
.
$createElement
,
e
=
a
.
_self
.
_c
||
t
;
return
e
(
"
div
"
,{
staticClass
:
"
wrapper
"
},[
e
(
"
h1
"
,{
staticClass
:
"
logo
"
},[
a
.
_v
(
"
NutUI
"
)]),
a
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
version
"
},[
a
.
_v
(
"
Version
"
+
a
.
_s
(
a
.
version
))]),
a
.
_v
(
"
"
),
a
.
_m
(
0
),
a
.
_v
(
"
"
),
e
(
"
ul
"
,[
a
.
_l
(
a
.
packages
,
function
(
t
){
return
[
!
1
!==
t
.
showDemo
?
e
(
"
li
"
,[
e
(
"
router-link
"
,{
attrs
:{
to
:{
name
:
t
.
name
}}},[
a
.
_v
(
a
.
_s
(
t
.
name
)),
e
(
"
span
"
,[
a
.
_v
(
a
.
_s
(
t
.
chnName
))])])],
1
):
a
.
_e
()]})],
2
)])},
staticRenderFns
:[
function
(){
var
a
=
this
,
t
=
a
.
$createElement
,
e
=
a
.
_self
.
_c
||
t
;
return
e
(
"
p
"
,[
a
.
_v
(
"
NutUI是一套基于Vue2的轻量级移动端组件库。[
"
),
e
(
"
a
"
,{
attrs
:{
href
:
"
/index.html
"
}},[
a
.
_v
(
"
文档
"
)]),
a
.
_v
(
"
] [
"
),
e
(
"
a
"
,{
attrs
:{
href
:
"
https://github.com/jdf2e/nutui
"
}},[
a
.
_v
(
"
代码
"
)]),
a
.
_v
(
"
]
"
)])}]}},
1204
:
function
(
a
,
t
,
e
){
var
n
=
e
(
1012
);
"
string
"
==
typeof
n
&&
(
n
=
[[
a
.
i
,
n
,
""
]]),
n
.
locals
&&
(
a
.
exports
=
n
.
locals
);
e
(
3
)(
"
3afe4ffe
"
,
n
,
!
0
,{})},
767
:
function
(
a
,
t
,
e
){
function
n
(
a
){
e
(
1204
)}
var
o
=
e
(
1
)(
e
(
890
),
e
(
1111
),
n
,
"
data-v-5ca880ad
"
,
null
);
a
.
exports
=
o
.
exports
},
890
:
function
(
a
,
t
,
e
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
});
var
n
=
e
(
79
),
o
=
function
(
a
){
return
a
&&
a
.
__esModule
?
a
:{
default
:
a
}}(
n
);
t
.
default
=
{
name
:
"
index
"
,
data
:
function
(){
return
{
path
:
""
,
packages
:{},
version
:
""
}},
methods
:{},
created
:
function
(){
this
.
packages
=
o
.
default
.
packages
,
this
.
version
=
o
.
default
.
version
}}}});
\ No newline at end of file
dist/60.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
60
],{
1068
:
function
(
t
,
n
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
n
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
n
;
return
e
(
"
div
"
,[
e
(
"
nut-demoheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
}}),
t
.
_v
(
"
"
),
e
(
"
p
"
,[
t
.
_v
(
"
默认用法
"
)]),
t
.
_v
(
"
"
),
e
(
"
p
"
,[
t
.
_v
(
t
.
_s
(
t
.
swActive
))]),
t
.
_v
(
"
"
),
e
(
"
nut-switch
"
,{
attrs
:{
active
:
t
.
swActive
},
on
:{
"
update:active
"
:
function
(
n
){
t
.
swActive
=
n
}}}),
t
.
_v
(
"
"
),
e
(
"
p
"
,[
t
.
_v
(
"
自定义颜色
"
)]),
t
.
_v
(
"
"
),
e
(
"
nut-switch
"
,{
attrs
:{
height
:.
3
,
width
:.
6
,
activeBgColor
:
"
#9ABB82
"
,
inActiveBgColor
:
"
#EAE7E2
"
,
btnColor
:
"
#CBDDDD
"
}}),
t
.
_v
(
"
"
),
e
(
"
p
"
,[
t
.
_v
(
"
ON/OFF事件
"
)]),
t
.
_v
(
"
"
),
e
(
"
nut-switch
"
,{
on
:{
"
switch-on
"
:
t
.
switchOnEvt
,
"
switch-off
"
:
t
.
switchOffEvt
}})],
1
)},
staticRenderFns
:[]}},
1162
:
function
(
t
,
n
,
e
){
var
i
=
e
(
970
);
"
string
"
==
typeof
i
&&
(
i
=
[[
t
.
i
,
i
,
""
]]),
i
.
locals
&&
(
t
.
exports
=
i
.
locals
);
e
(
3
)(
"
0051ed7c
"
,
i
,
!
0
,{})},
820
:
function
(
t
,
n
,
e
){
function
i
(
t
){
e
(
1162
)}
var
c
=
e
(
1
)(
e
(
911
),
e
(
1068
),
i
,
null
,
null
);
t
.
exports
=
c
.
exports
},
911
:
function
(
t
,
n
,
e
){
"
use strict
"
;
Object
.
defineProperty
(
n
,
"
__esModule
"
,{
value
:
!
0
}),
n
.
default
=
{
data
:
function
(){
return
{
swActive
:
!
0
}},
methods
:{
switchOnEvt
:
function
(){
alert
(
"
on
"
)},
switchOffEvt
:
function
(){
alert
(
"
off
"
)}}}},
970
:
function
(
t
,
n
,
e
){
n
=
t
.
exports
=
e
(
2
)(),
n
.
push
([
t
.
i
,
""
,
""
])}});
\ No newline at end of file
dist/61.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
61
],{
1079
:
function
(
s
,
i
){
s
.
exports
=
{
render
:
function
(){
var
s
=
this
,
i
=
s
.
$createElement
,
e
=
s
.
_self
.
_c
||
i
;
return
e
(
"
div
"
,{
attrs
:{
id
:
"
mySwiperDemo
"
}},[
e
(
"
nut-demoheader
"
,{
attrs
:{
name
:
s
.
$route
.
name
}}),
s
.
_v
(
"
"
),
e
(
"
p
"
,[
s
.
_v
(
"
横向无缝切换
"
)]),
s
.
_v
(
"
"
),
e
(
"
nut-swiper
"
,{
ref
:
"
demo1
"
,
attrs
:{
"
pagination-visible
"
:
!
0
,
direction
:
"
horizontal
"
},
on
:{
slideChangeEnd
:
s
.
slideChangeEnd
}},
s
.
_l
(
s
.
dataItem
,
function
(
i
){
return
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page
"
+
s
.
_s
(
i
.
name
))])])})),
s
.
_v
(
"
"
),
e
(
"
p
"
,[
s
.
_v
(
"
横向切换
"
)]),
s
.
_v
(
"
"
),
e
(
"
nut-swiper
"
,{
attrs
:{
"
pagination-visible
"
:
!
0
,
performanceMode
:
!
0
,
direction
:
"
horizontal
"
}},[
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 1
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 2
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 3
"
)])])]),
s
.
_v
(
"
"
),
e
(
"
p
"
,[
s
.
_v
(
"
横向循环切换
"
)]),
s
.
_v
(
"
"
),
e
(
"
nut-swiper
"
,{
attrs
:{
"
pagination-visible
"
:
!
0
,
loop
:
!
0
,
direction
:
"
horizontal
"
},
on
:{
slideChangeEnd
:
s
.
slideChangeEnd
,
slideChangeStart
:
s
.
slideChangeStart
}},[
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 1
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 2
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 3
"
)])])]),
s
.
_v
(
"
"
),
e
(
"
p
"
,[
s
.
_v
(
"
竖向循环切换
"
)]),
s
.
_v
(
"
"
),
e
(
"
nut-swiper
"
,{
attrs
:{
"
pagination-visible
"
:
!
1
,
autoPlay
:
5
e3
,
direction
:
"
vertical
"
}},[
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 1
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 2
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 3
"
)])])]),
s
.
_v
(
"
"
),
e
(
"
p
"
,[
s
.
_v
(
"
竖向切换
"
)]),
s
.
_v
(
"
"
),
e
(
"
nut-swiper
"
,{
attrs
:{
id
:
"
fullScreen
"
,
"
pagination-visible
"
:
!
1
,
performanceMode
:
!
0
,
direction
:
"
vertical
"
},
on
:{
slideChangeEnd
:
s
.
slideChangeEnd
,
slideChangeStart
:
s
.
slideChangeStart
}},[
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 1
"
+
s
.
_s
(
this
.
move
))])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 2
"
+
s
.
_s
(
this
.
move
))])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 3
"
+
s
.
_s
(
this
.
move
))])])]),
s
.
_v
(
"
"
),
e
(
"
p
"
,[
s
.
_v
(
"
多层切换
"
)]),
s
.
_v
(
"
"
),
e
(
"
nut-swiper
"
,{
attrs
:{
"
pagination-visible
"
:
!
0
,
direction
:
"
horizontal
"
,
id
:
"
nutSwiperMore
"
}},[
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
div
"
,[
s
.
_v
(
"
page 1
"
)]),
s
.
_v
(
"
"
),
e
(
"
div
"
,[
s
.
_v
(
"
page 2
"
)]),
s
.
_v
(
"
"
),
e
(
"
div
"
,[
s
.
_v
(
"
page 3
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
div
"
,[
s
.
_v
(
"
page 4
"
)]),
s
.
_v
(
"
"
),
e
(
"
div
"
,[
s
.
_v
(
"
page 5
"
)]),
s
.
_v
(
"
"
),
e
(
"
div
"
,[
s
.
_v
(
"
page 6
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
div
"
,[
s
.
_v
(
"
page 7
"
)]),
s
.
_v
(
"
"
),
e
(
"
div
"
,[
s
.
_v
(
"
page 8
"
)]),
s
.
_v
(
"
"
),
e
(
"
div
"
,[
s
.
_v
(
"
page 9
"
)])])]),
s
.
_v
(
"
"
),
e
(
"
p
"
,[
s
.
_v
(
"
lazyLoad切换
"
)]),
s
.
_v
(
"
"
),
e
(
"
nut-swiper
"
,{
attrs
:{
"
pagination-visible
"
:
!
1
,
direction
:
"
horizontal
"
,
id
:
"
nutSwiperLazyLoad
"
,
lazyLoad
:
!
0
,
lazyLoadingUrl
:
"
//static.360buyimg.com/exploit/mplus/2.1.81/css/i/loading.gif
"
,
lazyLoaderrorUrl
:
""
}},[
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
div
"
,[
e
(
"
img
"
,{
staticClass
:
"
nut-swiper-lazyload
"
,
attrs
:{
"
data-src
"
:
"
//img11.360buyimg.com/n3/s300x300_jfs/t2029/269/1342378600/94347/c088416b/56581d53Ne97b6442.jpg
"
}}),
s
.
_v
(
"
"
),
e
(
"
p
"
,[
s
.
_v
(
"
牙膏牙膏吃牙膏
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,[
e
(
"
img
"
,{
staticClass
:
"
nut-swiper-lazyload
"
,
attrs
:{
"
data-src
"
:
"
//img11.360buyimg.com/n3/s300x300_jfs/t5944/284/7637282290/291307/34ae9129/597ed721N4d9a0e73.jpg
"
}}),
s
.
_v
(
"
"
),
e
(
"
p
"
,[
s
.
_v
(
"
纯正白砂糖,味甜
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,[
e
(
"
img
"
,{
staticClass
:
"
nut-swiper-lazyload
"
,
attrs
:{
"
data-src
"
:
"
//img11.360buyimg.com/n3/s300x300_jfs/t9604/129/1427755970/357543/ba77f0be/59e071fcN4a3e077d.jpg
"
}}),
s
.
_v
(
"
"
),
e
(
"
p
"
,[
s
.
_v
(
"
妙洁 保鲜袋背心型食品袋中号200只装 可提携易打结
"
)])])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
div
"
,[
e
(
"
img
"
,{
staticClass
:
"
nut-swiper-lazyload
"
,
attrs
:{
"
data-src
"
:
"
//img11.360buyimg.com/n3/s300x300_jfs/t3826/185/3277282028/320781/8fbf1015/587c2fcaNc3741a59.jpg
"
}}),
s
.
_v
(
"
"
),
e
(
"
p
"
,[
s
.
_v
(
"
全棉灭菌免换洗
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,[
e
(
"
img
"
,{
staticClass
:
"
nut-swiper-lazyload
"
,
attrs
:{
"
data-src
"
:
"
//img11.360buyimg.com/n3/s300x300_jfs/t6028/28/1573357626/422743/9b98f679/5934c6c9N03afe631.jpg
"
}}),
s
.
_v
(
"
"
),
e
(
"
p
"
,[
s
.
_v
(
"
锁定厨房油污0
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,[
e
(
"
img
"
,{
staticClass
:
"
nut-swiper-lazyload
"
,
attrs
:{
"
data-src
"
:
"
//img11.360buyimg.com/n3/s300x300_jfs/t4792/130/2443359129/122816/5f47cbd2/58ff20ecN49be8a01.jpg
"
}}),
s
.
_v
(
"
"
),
e
(
"
p
"
,[
s
.
_v
(
"
训练宝宝咀嚼力
"
)])])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
div
"
,[
e
(
"
img
"
,{
staticClass
:
"
nut-swiper-lazyload
"
,
attrs
:{
"
data-src
"
:
"
//img11.360buyimg.com/n3/s300x300_jfs/t13924/18/765396019/118800/71bda7ea/5a13878fN35292d9b.jpg
"
}}),
s
.
_v
(
"
"
),
e
(
"
p
"
,[
s
.
_v
(
"
得力(deli)S01黑色0.5mm经典办公按动中性笔水性笔子弹头签字笔 12支/盒
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,[
e
(
"
img
"
,{
staticClass
:
"
nut-swiper-lazyload
"
,
attrs
:{
"
data-src
"
:
"
//img11.360buyimg.com/n3/s300x300_jfs/t4231/114/1373063995/311341/1feeaaad/58c1000cN5c448e8d.jpg
"
}}),
s
.
_v
(
"
"
),
e
(
"
p
"
,[
s
.
_v
(
"
台湾蛋黄味糙米卷
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,[
e
(
"
img
"
,{
staticClass
:
"
nut-swiper-lazyload
"
,
attrs
:{
"
data-src
"
:
"
//img11.360buyimg.com/n3/s300x300_jfs/t2005/197/1846980340/247407/fcdbd278/56e0ceffN1d106bdb.jpg
"
}}),
s
.
_v
(
"
"
),
e
(
"
p
"
,[
s
.
_v
(
"
柔韧耐用,保鲜安全
"
)])])])]),
s
.
_v
(
"
"
),
e
(
"
p
"
,[
s
.
_v
(
"
freeMode 不自动贴合
"
)]),
s
.
_v
(
"
"
),
e
(
"
nut-swiper
"
,{
attrs
:{
direction
:
"
horizontal
"
,
freeMode
:
!
0
,
id
:
"
nutSwiperFree
"
}},[
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 1
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 2
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 3
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 4
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 5
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 6
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 1
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 2
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 3
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 4
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 5
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 6
"
)])])]),
s
.
_v
(
"
"
),
e
(
"
p
"
,[
s
.
_v
(
"
类似日历、地址,滚动范围超过一个silde 应该停留在当前手指停的地方,而不是只滚动一屏
"
)]),
s
.
_v
(
"
"
),
e
(
"
nut-swiper
"
,{
attrs
:{
direction
:
"
horizontal
"
,
id
:
"
nutSwiperFree
"
,
type
:
"
multiple
"
}},[
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 1
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 2
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 3
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 4
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 5
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 6
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 1
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 2
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 3
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 4
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 5
"
)])]),
s
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
nut-swiper-silde
"
},[
e
(
"
span
"
,[
s
.
_v
(
"
page 6
"
)])])])],
1
)},
staticRenderFns
:[]}},
1173
:
function
(
s
,
i
,
e
){
var
a
=
e
(
981
);
"
string
"
==
typeof
a
&&
(
a
=
[[
s
.
i
,
a
,
""
]]),
a
.
locals
&&
(
s
.
exports
=
a
.
locals
);
e
(
3
)(
"
4b27f768
"
,
a
,
!
0
,{})},
819
:
function
(
s
,
i
,
e
){
function
a
(
s
){
e
(
1173
)}
var
t
=
e
(
1
)(
e
(
910
),
e
(
1079
),
a
,
null
,
null
);
s
.
exports
=
t
.
exports
},
910
:
function
(
s
,
i
,
e
){
"
use strict
"
;
Object
.
defineProperty
(
i
,
"
__esModule
"
,{
value
:
!
0
}),
i
.
default
=
{
data
:
function
(){
return
{
dataItem
:
null
,
move
:
1
}},
methods
:{
slideChangeStart
:
function
(
s
,
i
,
e
){
console
.
log
(
e
)},
slideChangeEnd
:
function
(
s
,
i
){
console
.
log
(
s
)}},
mounted
:
function
(){
var
s
=
this
;
setTimeout
(
function
(){
s
.
dataItem
=
[{
name
:
1
},{
name
:
2
},{
name
:
3
},{
name
:
4
},{
name
:
5
},{
name
:
6
}],
s
.
$refs
.
demo1
.
updateSlidesBindEvent
(
2
)},
300
)}}},
981
:
function
(
s
,
i
,
e
){
i
=
s
.
exports
=
e
(
2
)(),
i
.
push
([
s
.
i
,
"
#mySwiperDemo .nut-swiper-silde{color:#fff;font-size:24px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;background-color:gray}#mySwiperDemo .nut-swiper-silde:nth-child(2n){background-color:red}#mySwiperDemo .nut-swiper-silde:nth-child(odd){background-color:green}#mySwiperDemo #nutSwiperMore .nut-swiper-silde>div{height:70%;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}#mySwiperDemo #nutSwiperLazyLoad .nut-swiper-silde>div,#mySwiperDemo #nutSwiperMore .nut-swiper-silde>div{background-color:#fff;width:30%;margin:0 1.6%;color:#333}#mySwiperDemo #nutSwiperLazyLoad .nut-swiper-silde>div img{max-width:100%}#mySwiperDemo #nutSwiperLazyLoad .nut-swiper-silde>div p{font-size:12px;line-height:18px;height:36px;overflow:hidden}#mySwiperDemo #nutSwiperFree .nut-swiper-silde{width:100px;font-size:12px;background-color:#ccc;margin-right:10px}#mySwiperDemo #fullScreen{height:600px}#mySwiperDemo #fullScreen .nut-swiper-silde{height:100%;width:100%}
"
,
""
])}});
\ No newline at end of file
dist/62.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
62
],{
1093
:
function
(
A
,
t
){
A
.
exports
=
{
render
:
function
(){
var
A
=
this
,
t
=
A
.
$createElement
,
e
=
A
.
_self
.
_c
||
t
;
return
e
(
"
div
"
,[
e
(
"
nut-demoheader
"
,{
attrs
:{
name
:
A
.
$route
.
name
}}),
A
.
_v
(
"
"
),
e
(
"
h5
"
,[
A
.
_v
(
"
示例
"
)]),
A
.
_v
(
"
"
),
e
(
"
p
"
,[
A
.
_v
(
"
默认用法
"
)]),
A
.
_v
(
"
"
),
e
(
"
nut-steps
"
,{
attrs
:{
stepsId
:
"
step1
"
}},[
e
(
"
nut-step
"
,{
attrs
:{
stepTitle
:
"
您的订单已经发往北京
"
}},[
e
(
"
p
"
,[
A
.
_v
(
"
2017-12-12
"
)])]),
A
.
_v
(
"
"
),
e
(
"
nut-step
"
,{
attrs
:{
stepTitle
:
"
您的订单已经到达上海
"
}},[
e
(
"
p
"
,[
A
.
_v
(
"
2017-12-11
"
)])]),
A
.
_v
(
"
"
),
e
(
"
nut-step
"
,{
attrs
:{
stepTitle
:
"
快递公司已揽件
"
}},[
e
(
"
p
"
,[
A
.
_v
(
"
2017-12-10
"
)])])],
1
),
A
.
_v
(
"
"
),
e
(
"
p
"
,[
A
.
_v
(
"
可配置活动数值,显示进度数字以及title具体每个进度条的高度
"
)]),
A
.
_v
(
"
"
),
e
(
"
nut-steps
"
,{
attrs
:{
stepsId
:
"
step2
"
,
active
:
2
,
showNum
:
!
0
,
titleTop
:.
4
}},[
e
(
"
nut-step
"
,{
attrs
:{
stepTitle
:
"
您的订单已经发往北京
"
}},[
e
(
"
p
"
,[
A
.
_v
(
"
2017-12-12
"
)])]),
A
.
_v
(
"
"
),
e
(
"
nut-step
"
,{
attrs
:{
stepTitle
:
"
您的订单已经到达上海
"
}},[
e
(
"
p
"
,[
A
.
_v
(
"
2017-12-11
"
)])]),
A
.
_v
(
"
"
),
e
(
"
nut-step
"
,{
attrs
:{
stepTitle
:
"
快递公司已揽件
"
}},[
e
(
"
p
"
,[
A
.
_v
(
"
2017-12-10
"
)])])],
1
),
A
.
_v
(
"
"
),
e
(
"
p
"
,[
A
.
_v
(
"
可以设置进度条为图片
"
)]),
A
.
_v
(
"
"
),
e
(
"
nut-steps
"
,{
attrs
:{
stepsId
:
"
step3
"
,
active
:
1
}},[
e
(
"
nut-step
"
,{
attrs
:{
stepTitle
:
"
您的订单已经发往北京
"
,
icon
:
"
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAABFFBMVEUAAAD0WD3yLi/zLzHyMDDyLi/xtk3yLS/yMDDyMDDyMDDyMDDyLi/zvFDyMDDyMDDyMDDyMDDyMDDyMDDzMDDzMDDyLS/yMDDzMjLyLS/yMDDyIi3yMDDzKC7yMDDyMDDyMDDyMDDyMDD1vE3yMDD2dX3yKC7yKC70PT3zMjLyIS3xHy3yIS3yMTHyICzyMDD4lpb/zE7zNDT9tUTyMDD////yLi7yJibyKSnyKyv+6ur+7+/2Vlb+5eX+2dn0UFD0QkL+8vL+3t75kZH4dHT3a2v3YmL2XV3+4eH+0dD9ysn8xcX7vb33fn34eXj3b2/3Zmb1Wlr1TU3zPj7+9vb+7Oz7trb3h4f4hoX6hYT0SUnzPT3vEYM6AAAANHRSTlMAAgQl+N0OB+mgeVRPFfLt4dfPxLuzSEUpCeWxl3FjWT82IhkL8uDRsqiZloyJc19RKCEf9c2jwQAAAYVJREFUOMuN1GdXwjAUBuBQyt5TQEDAvddN2EO2qCy3/v//4W1PIS2Q4vutPc/JuMkN0UVKuGNhpywHo5fxA7Ix9kwIeALn9+tE8jhhJRf2FbO/C+ux5Q0mEYKN8Vi4sQZBEO9S+Y5BmLimki6xKR3eqsbiNTHdKvWp9bGZGnpjwYH2hKY4QdM4cWAVI0LTq6BpsQJu39S0fxi4JZIVmWmd0uGcAUQlou2fwey7VdaZPpp6Ew34HSSsbaRZoaNWiZshmhoajJUEOKJPi7GKgzallZr2tUPkxXRjiuq1rJqZYgaa4QjVC6pnRRVrDUrflwY8ON1CMVX9llVT7eP6liOFYangC9UHzB/RTLnBhZ8CV+wT1QjNQ48bpQQZ0CnooEIzKTH+NyoZj4WxjmK6RZ1RjkWKrKq3scFAYe2qMKg1wWBiDn7phMlZ+PUVxZXc2gjgvFu01NHWlsJYUyJzLf23zc0fjBwxxpF1rpoz34ZH7EpfMH/aSjZGyrtjQRnkVCTtNTyHf/a1zubJ1UQcAAAAAElFTkSuQmCC
"
}},[
e
(
"
p
"
,[
A
.
_v
(
"
2017-12-12
"
)])]),
A
.
_v
(
"
"
),
e
(
"
nut-step
"
,{
attrs
:{
stepTitle
:
"
您的订单已经到达上海
"
,
icon
:
"
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QzNGRUY2RkQyNDE1MTFFN0EwMDZFQTU3N0ZDRDlCMTciIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QzNGRUY2RkUyNDE1MTFFN0EwMDZFQTU3N0ZDRDlCMTciPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpDM0ZFRjZGQjI0MTUxMUU3QTAwNkVBNTc3RkNEOUIxNyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpDM0ZFRjZGQzI0MTUxMUU3QTAwNkVBNTc3RkNEOUIxNyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PrYHA1cAAAKcSURBVHjatFfPbxJREGYXsQXKEqitSQ099CIXy6FHbUKDHoFwJYSr5WL4a0DjFTjBgYSDJHqlV40hQNLWVD34I7HQCEWxWWeaec26vN19u8IkX3azO+99b+bNzJsnucREAigEP2AF4KZ/V4BfgDHggqCKTGgmOPldwAbgluAi/wC+A77SomwThwERG4S8BXwC/DCyiLeYbcA9gOxyLjg2BPCQ+02JkXQHsO5anGBMeAFDM+LtBZMyWaUtG/GIw+TeZYmfov/SpdlDNwXSP6IoitxoNPbj8XhAdPZEIqHgGBzL+R3Re3kLsKcHTFBUQcbj8Uk6nX7M09Eik8k8QV0cU6/XnxnobTGLJcrTOSmVSu8mk8mpz+fbqdVqL4A8ZGQpkIYrlcpz1IUxJ+Vy+b2B6gZL46CZFWgpswKfaJWZpfA8FvBOkPl9zym5A1JEBE2+D1izChp0M7qbXHmay+UO8bvWvdls9rDZbJ4LxOBPJI6JlkU9OX5zQHpdTt2Uu5KI9mAwmHa73depVOoREno8npAD0usKabsWy7IszU0y/81S0OJN0cMAU6Zard7s6Ww2G+J7Mpl82Ov13vT7/UtB3isknNoh9Xq9N3sKeMryHIMMdQSJp0LphCmDZLyUEclzXjpZFhAz0v8gD7IzOMZTgIJ/YEVqRI5jDXRjLKpV6pHmpFAo7Gr31Cxl8J92z2HsAwNV5FLZETUB3NFHd6vV+hyNRrvFYvFlu90eieR5p9N5FQgE3ubz+SOIepXTh31AYm3+hajtWaZgtTvXdyBTasz8SyJlLS+357qgxmx1waRo5ZlVezukQ8O/QEvP9LcLt4HyiBqzNRMdK5kBPgK+OL3CbBLsXGG+ERxdYcwubbc1C0Gi33YvbX8FGADA2JGWHa3uaQAAAABJRU5ErkJggg==
"
}},[
e
(
"
p
"
,[
A
.
_v
(
"
2017-12-11
"
)])]),
A
.
_v
(
"
"
),
e
(
"
nut-step
"
,{
attrs
:{
stepTitle
:
"
快递公司已揽件
"
,
icon
:
"
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QzNGRUY2RkQyNDE1MTFFN0EwMDZFQTU3N0ZDRDlCMTciIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QzNGRUY2RkUyNDE1MTFFN0EwMDZFQTU3N0ZDRDlCMTciPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpDM0ZFRjZGQjI0MTUxMUU3QTAwNkVBNTc3RkNEOUIxNyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpDM0ZFRjZGQzI0MTUxMUU3QTAwNkVBNTc3RkNEOUIxNyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PrYHA1cAAAKcSURBVHjatFfPbxJREGYXsQXKEqitSQ099CIXy6FHbUKDHoFwJYSr5WL4a0DjFTjBgYSDJHqlV40hQNLWVD34I7HQCEWxWWeaec26vN19u8IkX3azO+99b+bNzJsnucREAigEP2AF4KZ/V4BfgDHggqCKTGgmOPldwAbgluAi/wC+A77SomwThwERG4S8BXwC/DCyiLeYbcA9gOxyLjg2BPCQ+02JkXQHsO5anGBMeAFDM+LtBZMyWaUtG/GIw+TeZYmfov/SpdlDNwXSP6IoitxoNPbj8XhAdPZEIqHgGBzL+R3Re3kLsKcHTFBUQcbj8Uk6nX7M09Eik8k8QV0cU6/XnxnobTGLJcrTOSmVSu8mk8mpz+fbqdVqL4A8ZGQpkIYrlcpz1IUxJ+Vy+b2B6gZL46CZFWgpswKfaJWZpfA8FvBOkPl9zym5A1JEBE2+D1izChp0M7qbXHmay+UO8bvWvdls9rDZbJ4LxOBPJI6JlkU9OX5zQHpdTt2Uu5KI9mAwmHa73depVOoREno8npAD0usKabsWy7IszU0y/81S0OJN0cMAU6Zard7s6Ww2G+J7Mpl82Ov13vT7/UtB3isknNoh9Xq9N3sKeMryHIMMdQSJp0LphCmDZLyUEclzXjpZFhAz0v8gD7IzOMZTgIJ/YEVqRI5jDXRjLKpV6pHmpFAo7Gr31Cxl8J92z2HsAwNV5FLZETUB3NFHd6vV+hyNRrvFYvFlu90eieR5p9N5FQgE3ubz+SOIepXTh31AYm3+hajtWaZgtTvXdyBTasz8SyJlLS+357qgxmx1waRo5ZlVezukQ8O/QEvP9LcLt4HyiBqzNRMdK5kBPgK+OL3CbBLsXGG+ERxdYcwubbc1C0Gi33YvbX8FGADA2JGWHa3uaQAAAABJRU5ErkJggg==
"
}},[
e
(
"
p
"
,[
A
.
_v
(
"
2017-12-10
"
)])])],
1
)],
1
)},
staticRenderFns
:[]}},
1186
:
function
(
A
,
t
,
e
){
var
i
=
e
(
994
);
"
string
"
==
typeof
i
&&
(
i
=
[[
A
.
i
,
i
,
""
]]),
i
.
locals
&&
(
A
.
exports
=
i
.
locals
);
e
(
3
)(
"
1eedddf1
"
,
i
,
!
0
,{})},
818
:
function
(
A
,
t
,
e
){
function
i
(
A
){
e
(
1186
)}
var
D
=
e
(
1
)(
e
(
909
),
e
(
1093
),
i
,
"
data-v-43fe0efc
"
,
null
);
A
.
exports
=
D
.
exports
},
909
:
function
(
A
,
t
,
e
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
});
var
i
=
e
(
20
);
!
function
(
A
){
A
&&
A
.
__esModule
}(
i
);
t
.
default
=
{
data
:
function
(){
return
{}},
methods
:{}}},
994
:
function
(
A
,
t
,
e
){
t
=
A
.
exports
=
e
(
2
)(),
t
.
push
([
A
.
i
,
""
,
""
])}});
\ No newline at end of file
dist/63.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
63
],{
1004
:
function
(
e
,
t
,
n
){
t
=
e
.
exports
=
n
(
2
)(),
t
.
push
([
e
.
i
,
""
,
""
])},
1103
:
function
(
e
,
t
){
e
.
exports
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,[
n
(
"
nut-demoheader
"
,{
attrs
:{
name
:
e
.
$route
.
name
}}),
e
.
_v
(
"
"
),
n
(
"
nut-slider
"
,{
attrs
:{
value
:
0
,
step
:
10
,
min
:
0
},
on
:{
"
touch-end
"
:
e
.
afterTouch
}})],
1
)},
staticRenderFns
:[]}},
1196
:
function
(
e
,
t
,
n
){
var
o
=
n
(
1004
);
"
string
"
==
typeof
o
&&
(
o
=
[[
e
.
i
,
o
,
""
]]),
o
.
locals
&&
(
e
.
exports
=
o
.
locals
);
n
(
3
)(
"
ab1eddd0
"
,
o
,
!
0
,{})},
817
:
function
(
e
,
t
,
n
){
function
o
(
e
){
n
(
1196
)}
var
u
=
n
(
1
)(
n
(
908
),
n
(
1103
),
o
,
null
,
null
);
e
.
exports
=
u
.
exports
},
908
:
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
{
data
:
function
(){
return
{}},
computed
:{},
methods
:{
afterTouch
:
function
(
e
){
console
.
log
(
e
)}}}}});
\ No newline at end of file
dist/64.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
64
],{
1075
:
function
(
e
,
t
){
e
.
exports
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,{
staticClass
:
"
wrapper
"
},[
n
(
"
nut-demoheader
"
,{
attrs
:{
name
:
e
.
$route
.
name
}}),
e
.
_v
(
"
"
),
n
(
"
h5
"
,[
e
.
_v
(
"
示例
"
)]),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
日期
"
)]),
e
.
_v
(
"
"
),
n
(
"
nut-slidecalendar
"
,{
attrs
:{
data
:
e
.
data1
},
on
:{
confirm
:
e
.
choseTime
}}),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
日期时间
"
)]),
e
.
_v
(
"
"
),
n
(
"
nut-slidecalendar
"
,{
attrs
:{
data
:
e
.
data2
,
type
:
e
.
type2
,
id
:
e
.
demo2
}}),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
时间
"
)]),
e
.
_v
(
"
"
),
n
(
"
nut-slidecalendar
"
,{
attrs
:{
type
:
e
.
type3
,
id
:
e
.
demo3
}})],
1
)},
staticRenderFns
:[]}},
1169
:
function
(
e
,
t
,
n
){
var
a
=
n
(
977
);
"
string
"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
n
(
3
)(
"
42da1345
"
,
a
,
!
0
,{})},
816
:
function
(
e
,
t
,
n
){
function
a
(
e
){
n
(
1169
)}
var
r
=
n
(
1
)(
n
(
907
),
n
(
1075
),
a
,
null
,
null
);
e
.
exports
=
r
.
exports
},
907
:
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
});
var
a
=
n
(
79
);
!
function
(
e
){
e
&&
e
.
__esModule
}(
a
);
t
.
default
=
{
name
:
"
index
"
,
data
:
function
(){
return
{
data1
:
"
2018-04-12,2019-05-12
"
,
data2
:
"
2018-04-12,2019-05-12
"
,
type2
:
"
datetime
"
,
demo2
:
"
test2
"
,
type3
:
"
time
"
,
demo3
:
"
test3
"
}},
methods
:{
choseTime
:
function
(
e
){
console
.
log
(
e
)}}}},
977
:
function
(
e
,
t
,
n
){
t
=
e
.
exports
=
n
(
2
)(),
t
.
push
([
e
.
i
,
"
.nut-slidecalendar input{border:1px solid #ccc;height:.4rem;line-height:.4rem;border-radius:.04rem}
"
,
""
])}});
\ No newline at end of file
dist/65.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
65
],{
1087
:
function
(
e
,
t
){
e
.
exports
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,[
n
(
"
nut-demoheader
"
,{
attrs
:{
name
:
e
.
$route
.
name
}}),
e
.
_v
(
"
"
),
n
(
"
h5
"
,[
e
.
_v
(
"
示例
"
)]),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
默认的
"
)]),
e
.
_v
(
"
"
),
n
(
"
nut-signature
"
,{
on
:{
confirm
:
e
.
confirm
}}),
e
.
_v
(
"
"
),
n
(
"
div
"
,{
ref
:
"
demo1
"
,
staticClass
:
"
demo-show demo1
"
},[
e
.
_v
(
"
!!!确认之后显示base64图片
"
)]),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
修改签字颜色和画笔粗细
"
)]),
e
.
_v
(
"
"
),
n
(
"
nut-signature
"
,{
attrs
:{
lineWidth
:
e
.
lineWidth
,
strokeStyle
:
e
.
strokeStyle
},
on
:{
confirm
:
e
.
confirm1
}}),
e
.
_v
(
"
"
),
n
(
"
div
"
,{
ref
:
"
demo2
"
,
staticClass
:
"
demo-show demo2
"
},[
e
.
_v
(
"
!!!确认之后显示base64图片
"
)])],
1
)},
staticRenderFns
:[]}},
1180
:
function
(
e
,
t
,
n
){
var
o
=
n
(
988
);
"
string
"
==
typeof
o
&&
(
o
=
[[
e
.
i
,
o
,
""
]]),
o
.
locals
&&
(
e
.
exports
=
o
.
locals
);
n
(
3
)(
"
af0439e4
"
,
o
,
!
0
,{})},
815
:
function
(
e
,
t
,
n
){
function
o
(
e
){
n
(
1180
)}
var
r
=
n
(
1
)(
n
(
906
),
n
(
1087
),
o
,
null
,
null
);
e
.
exports
=
r
.
exports
},
906
:
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
{
data
:
function
(){
return
{
lineWidth
:
5
,
strokeStyle
:
"
pink
"
}},
computed
:{},
methods
:{
confirm
:
function
(
e
,
t
){
console
.
log
(
t
);
var
n
=
document
.
createElement
(
"
img
"
);
n
.
src
=
t
,
document
.
querySelector
(
"
.demo1
"
).
appendChild
(
n
)},
confirm1
:
function
(
e
,
t
){
var
n
=
document
.
createElement
(
"
img
"
);
n
.
src
=
t
,
document
.
querySelector
(
"
.demo2
"
).
appendChild
(
n
)}}}},
988
:
function
(
e
,
t
,
n
){
t
=
e
.
exports
=
n
(
2
)(),
t
.
push
([
e
.
i
,
"
.nut-signature .nut-signature-inner{height:3rem;margin-bottom:.1rem;border:1px solid #eee;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.nut-signature .nut-signature-unsopport{font-size:.24rem}.nut-signature button{color:#fff;background-color:#33c3f0;border-color:#33c3f0;border:none;outline:0;padding:.1rem;border-radius:.05rem}.demo-show{padding-top:.22rem;color:#33c3f0}
"
,
""
])}});
\ No newline at end of file
dist/66.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
66
],{
1067
:
function
(
e
,
t
){
e
.
exports
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
o
=
e
.
_self
.
_c
||
t
;
return
o
(
"
div
"
,[
o
(
"
nut-demoheader
"
,{
attrs
:{
name
:
e
.
$route
.
name
}}),
e
.
_v
(
"
"
),
o
(
"
nut-sideslipbutton
"
,{
attrs
:{
during
:.
2
},
on
:{
"
slide-left
"
:
e
.
slideLeft
,
"
slide-right
"
:
e
.
slideRight
,
"
slide-no
"
:
e
.
slideNo
}},[
o
(
"
div
"
,{
staticClass
:
"
slidedom
"
,
attrs
:{
slot
:
"
slidedom
"
},
slot
:
"
slidedom
"
},[
o
(
"
div
"
,{
staticClass
:
"
addr
"
},[
o
(
"
p
"
,{
staticClass
:
"
name-mobile
"
},[
e
.
_v
(
"
159****8888
"
)]),
e
.
_v
(
"
"
),
o
(
"
p
"
,{
staticClass
:
"
full-addr
"
},[
e
.
_v
(
"
北京市大兴区亦庄经济开发中心京东大厦B座
"
)])]),
e
.
_v
(
"
"
),
o
(
"
a
"
,{
staticClass
:
"
addr-edit
"
,
attrs
:{
href
:
"
javascript:void(0)
"
}})]),
e
.
_v
(
"
"
),
o
(
"
div
"
,{
staticClass
:
"
slideoper
"
,
attrs
:{
slot
:
"
slideoper
"
},
slot
:
"
slideoper
"
},[
e
.
_v
(
"
删除/收藏
"
)])])],
1
)},
staticRenderFns
:[]}},
1161
:
function
(
e
,
t
,
o
){
var
s
=
o
(
969
);
"
string
"
==
typeof
s
&&
(
s
=
[[
e
.
i
,
s
,
""
]]),
s
.
locals
&&
(
e
.
exports
=
s
.
locals
);
o
(
3
)(
"
5d00d666
"
,
s
,
!
0
,{})},
814
:
function
(
e
,
t
,
o
){
function
s
(
e
){
o
(
1161
)}
var
i
=
o
(
1
)(
o
(
905
),
o
(
1067
),
s
,
null
,
null
);
e
.
exports
=
i
.
exports
},
905
:
function
(
e
,
t
,
o
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
{
data
:
function
(){
return
{}},
methods
:{
slideLeft
:
function
(){
console
.
log
(
"
左划了
"
)},
slideRight
:
function
(){
console
.
log
(
"
右划了
"
)},
slideNo
:
function
(){
console
.
log
(
"
没有划动
"
)}}}},
969
:
function
(
e
,
t
,
o
){
t
=
e
.
exports
=
o
(
2
)(),
t
.
push
([
e
.
i
,
'
.nut-sideslipbutton,.slidedom{position:relative;overflow:hidden}.slidedom{padding:.2rem;display:-ms-flexbox;display:flex;border:1px solid #d8d8d8;background:#fff}.slidedom:after{content:"";position:absolute;left:0;bottom:0;width:200%;height:0;box-sizing:border-box;transform:scale(.5);transform-origin:left bottom;border-bottom:1px solid #ececee}.slidedom .addr-wrap{display:-ms-flexbox;display:flex;position:relative;width:100%}.slidedom .addr{-ms-flex:1;flex:1}.slidedom .addr-edit{display:-ms-flexbox;display:flex;width:.7rem;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAAGXLeQ2AAAAAXNSR0IArs4c6QAAAdFJREFUSA2tVTFuAjEQtNF1KBIvoEEiD+CkVHRX0CaPgG9Aly9ADwVFaO8LkeABeUVOAWqys7k5+Xw+zkixdF7v7ux4vWuDMe5Yr9c3jOPxeOvRMZlMuDRGEEtDCKTFBP9ms9HpBwYOECmZGJ7IcjqdDEghe9baAx21nWhsyMvlQnqVSFpBrpUnqTloBBCOKndFlZMkZHt5nrs2c71eVbdyyrFEf9W8pTKfz3WFc+GTsULB3Lxqa1QGfkgMRCSY/EFGFIi7aL0FGAwAsK2aVWP9Xdr0ZLFYoCofkuJrG0j8Z/nSNn/QLodfoqTfwjwIIRqHBZDGUACrAszdg7pAELWCfWArOASErcFc3o2qk+45Gt38t0420nC39dcK5qX3ndTxSKTlh0Sm591uh0tcPXKCKAGUprxZGKQsYxHv8mX3goDlCHWd76LErHCX9JYOh0MznU5Nv99nfLT0SPUdpWlqE8lUr/9sNosmIzBE6j7QRt8ZeE92kTL2IfIYUl51bBBFXhSF2e/3TEhr6h6/cniLKHL5+VTC0WhkBoPg74hH+6dGkWdZFgzuMj703LrIfD/+Nc8wdj1RPzCkk4OcKEsqyud2u40vZoi5tAlXIcsXqL8z/jqozhCfMwAAAABJRU5ErkJggg==) no-repeat 50%;background-size:.46rem .46rem}.slidedom .name-mobile{font-size:.3rem;color:#333}.slidedom .full-addr{font-size:.28rem;color:#666;margin-top:.2rem;line-height:.4rem;height:.8rem}.slideoper{position:absolute;right:-2rem;top:0;width:2rem;height:100%;font-size:.3rem;background:#7352d5;color:#fff;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}
'
,
""
])}});
\ No newline at end of file
dist/67.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
67
],{
1043
:
function
(
n
,
e
,
t
){
e
=
n
.
exports
=
t
(
2
)(),
e
.
push
([
n
.
i
,
"
.demo1-select{border:1px solid #ccc;height:40px;line-height:40px;padding-left:10px;display:block}.demo-select{width:100%}
"
,
""
])},
1142
:
function
(
n
,
e
){
n
.
exports
=
{
render
:
function
(){
var
n
=
this
,
e
=
n
.
$createElement
,
t
=
n
.
_self
.
_c
||
e
;
return
t
(
"
div
"
,[
t
(
"
nut-demoheader
"
,{
attrs
:{
name
:
n
.
$route
.
name
}}),
n
.
_v
(
"
"
),
t
(
"
h5
"
,[
n
.
_v
(
"
示例
"
)]),
n
.
_v
(
"
"
),
t
(
"
p
"
,[
n
.
_v
(
"
默认用法
"
)]),
n
.
_v
(
"
"
),
t
(
"
nut-select
"
,{
staticClass
:
"
demo1-select
"
,
attrs
:{
selected
:
n
.
demo1
.
selected
,
data
:
n
.
demo1
.
data
},
on
:{
change
:
n
.
demo1Change
}},[
n
.
_v
(
n
.
_s
(
n
.
demo1
.
selected
))]),
n
.
_v
(
"
"
),
t
(
"
p
"
,[
n
.
_v
(
"
显示内容自定义Slot
"
)]),
n
.
_v
(
"
"
),
t
(
"
nut-select
"
,{
staticClass
:
"
demo-select
"
,
attrs
:{
selected
:
n
.
demo2
.
selected
,
data
:
n
.
demo2
.
data
},
on
:{
change
:
n
.
demo2Change
}},[
n
.
_t
(
"
default
"
,[
t
(
"
a
"
,{
staticClass
:
"
button button-primary
"
},[
n
.
_v
(
n
.
_s
(
n
.
demo2
.
selected
))])])],
2
),
n
.
_v
(
"
"
),
t
(
"
p
"
,[
n
.
_v
(
"
异步加载
"
)]),
n
.
_v
(
"
"
),
t
(
"
nut-select
"
,{
staticClass
:
"
demo-select
"
,
attrs
:{
selected
:
n
.
demo3
.
selected
,
data
:
n
.
demo3
.
data
,
async
:
!
0
},
on
:{
change
:
n
.
demo3Change
,
slideEnd
:
n
.
slideEnd
}},[
n
.
_t
(
"
default
"
,[
t
(
"
a
"
,{
staticClass
:
"
button button-primary
"
},[
n
.
_v
(
n
.
_s
(
n
.
demo3
.
selected
))])])],
2
),
n
.
_v
(
"
"
),
t
(
"
div
"
,{
attrs
:{
id
:
"
demo-select
"
}})],
1
)},
staticRenderFns
:[]}},
1235
:
function
(
n
,
e
,
t
){
var
s
=
t
(
1043
);
"
string
"
==
typeof
s
&&
(
s
=
[[
n
.
i
,
s
,
""
]]),
s
.
locals
&&
(
n
.
exports
=
s
.
locals
);
t
(
3
)(
"
7dccaeec
"
,
s
,
!
0
,{})},
813
:
function
(
n
,
e
,
t
){
function
s
(
n
){
t
(
1235
)}
var
d
=
t
(
1
)(
t
(
904
),
t
(
1142
),
s
,
null
,
null
);
n
.
exports
=
d
.
exports
},
904
:
function
(
n
,
e
,
t
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
demo1
:{
data
:[{
n
:
"
北京
"
,
s
:[{
n
:
"
海淀区
"
},{
n
:
"
通州区
"
}]},{
n
:
"
上海
"
,
s
:[{
n
:
"
浦东新区
"
},{
n
:
"
其他区
"
}]},{
n
:
"
河北省
"
,
s
:[{
n
:
"
石家庄市
"
,
s
:[{
n
:
"
城东区
"
},{
n
:
"
城西区
"
}]},{
n
:
"
秦皇岛市
"
}]},{
n
:
"
上海
"
,
s
:[{
n
:
"
浦东新区
"
},{
n
:
"
其他区
"
}]},{
n
:
"
上海
"
,
s
:[{
n
:
"
浦东新区
"
},{
n
:
"
其他区
"
}]},{
n
:
"
上海
"
,
s
:[{
n
:
"
浦东新区
"
},{
n
:
"
其他区
"
}]},{
n
:
"
上海
"
,
s
:[{
n
:
"
浦东新区
"
},{
n
:
"
其他区
"
}]},{
n
:
"
上海
"
,
s
:[{
n
:
"
浦东新区
"
},{
n
:
"
其他区
"
}]},{
n
:
"
上海
"
,
s
:[{
n
:
"
浦东新区
"
},{
n
:
"
其他区
"
}]}],
selected
:
"
河北省-石家庄市-城东区
"
,
txt
:
'
<nut-select class="demo1-select"
\n
:selected="demo1.selected"
\n
:data="demo1.data"
\n
@change="demo1Change">{{demo1.selected}}</nut-select>
\n
export default {
\n
methods:{
\n
demo1Change(val) {
\n
this.demo1.selected = val.join(
\'
-
\'
);
\n
}
\n
}
\n
}
'
},
demo2
:{
selected
:
"
2018-11
"
,
data
:[{
n
:
"
2017
"
,
s
:[{
n
:
"
1
"
},{
n
:
"
2
"
},{
n
:
"
3
"
},{
n
:
"
4
"
},{
n
:
"
5
"
},{
n
:
"
6
"
},{
n
:
"
7
"
},{
n
:
"
8
"
},{
n
:
"
9
"
},{
n
:
"
10
"
},{
n
:
"
11
"
},{
n
:
"
12
"
}]},{
n
:
"
2018
"
,
s
:[{
n
:
"
1
"
},{
n
:
"
2
"
},{
n
:
"
3
"
},{
n
:
"
4
"
},{
n
:
"
5
"
},{
n
:
"
6
"
},{
n
:
"
7
"
},{
n
:
"
8
"
},{
n
:
"
9
"
},{
n
:
"
10
"
},{
n
:
"
11
"
},{
n
:
"
12
"
}]},{
n
:
"
2019
"
,
s
:[{
n
:
"
1
"
},{
n
:
"
2
"
},{
n
:
"
3
"
},{
n
:
"
4
"
},{
n
:
"
5
"
},{
n
:
"
6
"
},{
n
:
"
7
"
},{
n
:
"
8
"
},{
n
:
"
9
"
},{
n
:
"
10
"
},{
n
:
"
11
"
},{
n
:
"
12
"
}]},{
n
:
"
2020
"
,
s
:[{
n
:
"
1
"
},{
n
:
"
2
"
},{
n
:
"
3
"
},{
n
:
"
4
"
},{
n
:
"
5
"
},{
n
:
"
6
"
},{
n
:
"
7
"
},{
n
:
"
8
"
},{
n
:
"
9
"
},{
n
:
"
10
"
},{
n
:
"
11
"
},{
n
:
"
12
"
}]},{
n
:
"
2021
"
,
s
:[{
n
:
"
1
"
},{
n
:
"
2
"
},{
n
:
"
3
"
},{
n
:
"
4
"
},{
n
:
"
5
"
},{
n
:
"
6
"
},{
n
:
"
7
"
},{
n
:
"
8
"
},{
n
:
"
9
"
},{
n
:
"
10
"
},{
n
:
"
11
"
},{
n
:
"
12
"
}]},{
n
:
"
2022
"
,
s
:[{
n
:
"
1
"
},{
n
:
"
2
"
},{
n
:
"
3
"
},{
n
:
"
4
"
},{
n
:
"
5
"
},{
n
:
"
6
"
},{
n
:
"
7
"
},{
n
:
"
8
"
},{
n
:
"
9
"
},{
n
:
"
10
"
},{
n
:
"
11
"
},{
n
:
"
12
"
}]},{
n
:
"
2023
"
,
s
:[{
n
:
"
1
"
},{
n
:
"
2
"
},{
n
:
"
3
"
},{
n
:
"
4
"
},{
n
:
"
5
"
},{
n
:
"
6
"
},{
n
:
"
7
"
},{
n
:
"
8
"
},{
n
:
"
9
"
},{
n
:
"
10
"
},{
n
:
"
11
"
},{
n
:
"
12
"
}]}],
txt
:
'
<nut-select
\n
:selected="demo2.selected"
\n
:data="demo2.data"
\n
@change="demo2Change">
\n
<slot><button>{{demo2.selected}}</button></slot>
\n
</nut-select>
\n
export default {
\n
methods:{
\n
demo2Change(val) {
\n
this.demo2.selected = val.join(
\'
-
\'
);
\n
}
\n
}
\n
}
\n
'
},
demo3
:{
selected
:
"
1
"
,
data
:[{
n
:
"
1
"
},{
n
:
"
2
"
},{
n
:
"
3
"
},{
n
:
"
4
"
},{
n
:
"
5
"
},{
n
:
"
6
"
}],
txt
:
'
\n
<nut-select
\n
:selected="demo3.selected"
\n
:data="demo3.data"
\n
:async = true
\n
@change="demo3Change"
\n
@slideEnd="slideEnd">
\n
<slot><button>{{demo3.selected}}</button></slot>
\n
</nut-select>
\n
export default {
\n
methods:{
\n
slideEnd(val, $select) {
\n
console.log(val);
\n
$select.updateSelect([{"n": parseInt(Math.random()*10)},{"n": parseInt(Math.random()*10)}]);
\n
},
\n
demo3Change(val) {
\n
this.demo3.selected = val.join(
\'
-
\'
);
\n
}
\n
}
\n
}
'
}}},
methods
:{
demo1Change
:
function
(
n
){
for
(
var
e
=
[],
t
=
0
;
t
<
n
.
length
;
t
++
)
e
.
push
(
n
[
t
].
n
);
this
.
demo1
.
selected
=
e
.
join
(
"
-
"
)},
demo2Change
:
function
(
n
){
for
(
var
e
=
[],
t
=
0
;
t
<
n
.
length
;
t
++
)
e
.
push
(
n
[
t
].
n
);
this
.
demo2
.
selected
=
e
.
join
(
"
-
"
)},
demo3Change
:
function
(
n
){
for
(
var
e
=
[],
t
=
0
;
t
<
n
.
length
;
t
++
)
e
.
push
(
n
[
t
].
n
);
this
.
demo3
.
selected
=
e
.
join
(
"
-
"
)},
slideEnd
:
function
(
n
,
e
){
console
.
log
(
n
),
n
.
length
<
3
&&
e
.
updateSelect
([{
n
:
parseInt
(
10
*
Math
.
random
())},{
n
:
parseInt
(
10
*
Math
.
random
())}])}}}}});
\ No newline at end of file
dist/68.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
68
],{
1041
:
function
(
t
,
n
,
e
){
n
=
t
.
exports
=
e
(
2
)(),
n
.
push
([
t
.
i
,
""
,
""
])},
1140
:
function
(
t
,
n
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
n
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
n
;
return
e
(
"
div
"
,[
e
(
"
nut-demoheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
}}),
t
.
_v
(
"
"
),
e
(
"
h5
"
,[
t
.
_v
(
"
示例用法
"
)]),
t
.
_v
(
"
"
),
e
(
"
p
"
,[
t
.
_v
(
"
默认用法
"
)]),
t
.
_v
(
"
"
),
e
(
"
nut-searchbar
"
,{
attrs
:{
placeText
:
"
请输入自定义文案
"
}}),
t
.
_v
(
"
"
),
e
(
"
p
"
,[
t
.
_v
(
"
右侧搜索按钮可根据需要进行配置
"
)]),
t
.
_v
(
"
"
),
e
(
"
nut-searchbar
"
,{
attrs
:{
placeText
:
"
请输入自定义文案
"
,
hasSearchButton
:
!
1
}}),
t
.
_v
(
"
"
),
e
(
"
p
"
,[
t
.
_v
(
"
可配置输入框前面是否显示搜索图标(图标可配置)、输入框高度、右侧是否显示文字按钮以及文字按钮宽度、显示文字、文字颜色
"
)]),
t
.
_v
(
"
"
),
e
(
"
nut-searchbar
"
,{
attrs
:{
placeText
:
"
ERP/姓名/邮箱
"
,
hasIcon
:
!
0
,
hasTextButton
:
!
0
,
textInfo
:
"
搜索
"
,
width
:
"
1
"
,
height
:
"
1
"
,
color
:
"
#f23030
"
}}),
t
.
_v
(
"
"
),
e
(
"
p
"
,[
t
.
_v
(
"
可配置获取输入框焦点事件、输入事件、失去焦点事件、默认提交事件
"
)]),
t
.
_v
(
"
"
),
e
(
"
nut-searchbar
"
,{
attrs
:{
placeText
:
"
请输入自定义文案
"
},
on
:{
focus
:
t
.
focusFun
,
input
:
t
.
inputFun
,
blur
:
t
.
blurFun
,
submit
:
t
.
submitFun
}})],
1
)},
staticRenderFns
:[]}},
1233
:
function
(
t
,
n
,
e
){
var
u
=
e
(
1041
);
"
string
"
==
typeof
u
&&
(
u
=
[[
t
.
i
,
u
,
""
]]),
u
.
locals
&&
(
t
.
exports
=
u
.
locals
);
e
(
3
)(
"
d362fdaa
"
,
u
,
!
0
,{})},
812
:
function
(
t
,
n
,
e
){
function
u
(
t
){
e
(
1233
)}
var
a
=
e
(
1
)(
e
(
903
),
e
(
1140
),
u
,
null
,
null
);
t
.
exports
=
a
.
exports
},
903
:
function
(
t
,
n
,
e
){
"
use strict
"
;
Object
.
defineProperty
(
n
,
"
__esModule
"
,{
value
:
!
0
}),
n
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-searchbar placeText="请输入自定义文案"></nut-searchbar>
'
,
demo2
:
'
<nut-searchbar placeText="请输入自定义文案" :hasSearchButton="false"></nut-searchbar>
'
,
demo3
:
'
<nut-searchbar
\n
placeText="ERP/姓名/邮箱"
\n
:hasIcon="true"
\n
:hasTextButton="true"
\n
textInfo="搜索"
\n
width="1"
\n
height="1"
\n
color="#f23030"
\n
></nut-searchbar>
'
,
demo4
:
'
<nut-searchbar
\n
placeText="请输入自定义文案"
\n
@focus="focusFun"
\n
@input="inputFun"
\n
@blur="blurFun"
\n
@submit="submitFun"
\n
></nut-searchbar>
'
}},
methods
:{
focusFun
:
function
(){
console
.
log
(
"
获取焦点操作!
"
)},
inputFun
:
function
(){
alert
(
"
您正在输入...
"
)},
blurFun
:
function
(){
console
.
log
(
"
您已失去焦点!
"
)},
submitFun
:
function
(){
console
.
log
(
"
默认提交操作!
"
)}}}}});
\ No newline at end of file
dist/69.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
69
],{
1044
:
function
(
t
,
e
,
n
){
e
=
t
.
exports
=
n
(
2
)(),
e
.
push
([
t
.
i
,
""
,
""
])},
1143
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
nut-demoheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
}}),
t
.
_v
(
"
"
),
n
(
"
p
"
,[
t
.
_v
(
"
默认用法
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-rate
"
,{
attrs
:{
num
:
5
,
picWidth
:.
5
,
picHeight
:.
5
},
on
:{
"
change-rate
"
:
t
.
changeRate
}}),
t
.
_v
(
"
"
),
n
(
"
p
"
,[
t
.
_v
(
"
可配置图片路径,需同时配置图片的高度和宽度
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-rate
"
,{
attrs
:{
num
:
10
,
currValue
:
2
,
originalPath
:
"
../asset/img/svg/heart.svg
"
,
picWidth
:.
32
,
picHeight
:.
31
,
activePath
:
"
../asset/img/svg/follow.svg
"
},
on
:{
"
change-rate
"
:
t
.
changeRate
}})],
1
)},
staticRenderFns
:[]}},
1236
:
function
(
t
,
e
,
n
){
var
a
=
n
(
1044
);
"
string
"
==
typeof
a
&&
(
a
=
[[
t
.
i
,
a
,
""
]]),
a
.
locals
&&
(
t
.
exports
=
a
.
locals
);
n
(
3
)(
"
2d921a93
"
,
a
,
!
0
,{})},
811
:
function
(
t
,
e
,
n
){
function
a
(
t
){
n
(
1236
)}
var
r
=
n
(
1
)(
n
(
902
),
n
(
1143
),
a
,
"
data-v-abee4656
"
,
null
);
t
.
exports
=
r
.
exports
},
902
:
function
(
t
,
e
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{}},
methods
:{
changeRate
:
function
(
t
){
console
.
log
(
t
)}}}}});
\ No newline at end of file
dist/7.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
7
],{
1084
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,{
staticClass
:
"
nav
"
},[
a
(
"
div
"
,{
staticClass
:
"
info
"
},[
a
(
"
span
"
,{
staticClass
:
"
version
"
},[
t
.
_v
(
"
Version
"
+
t
.
_s
(
t
.
version
))]),
a
(
"
span
"
,{
staticClass
:
"
tot
"
},[
t
.
_v
(
"
In total,
"
+
t
.
_s
(
t
.
total
))])]),
t
.
_v
(
"
"
),
a
(
"
ul
"
,[
a
(
"
li
"
,[
a
(
"
router-link
"
,{
class
:{
current
:
"
/intro
"
==
t
.
path
},
attrs
:{
to
:
"
/intro
"
}},[
t
.
_v
(
"
指南
"
)])],
1
),
t
.
_v
(
"
"
),
a
(
"
li
"
,{
staticClass
:
"
nutdemo
"
},[
a
(
"
router-link
"
,{
class
:{
current
:
"
/nutdemo
"
==
t
.
path
},
attrs
:{
to
:
"
/nutdemo
"
}},[
t
.
_v
(
"
手机示例
"
)])],
1
),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
a
(
"
li
"
,[
t
.
_v
(
"
\n
组件/Components
\n
"
),
a
(
"
ul
"
,
t
.
_l
(
t
.
packages
,
function
(
e
){
return
-
1
!==
[
"
component
"
,
"
method
"
].
indexOf
(
e
.
type
)?
a
(
"
li
"
,[
a
(
"
router-link
"
,{
class
:{
current
:
t
.
path
==
"
/
"
+
e
.
name
},
attrs
:{
to
:{
name
:
e
.
name
}}},[
t
.
_v
(
t
.
_s
(
e
.
name
)),
a
(
"
span
"
,{
staticClass
:
"
chnn
"
},[
t
.
_v
(
t
.
_s
(
e
.
chnName
||
"
组件
"
))])])],
1
):
t
.
_e
()}))]),
a
(
"
li
"
,[
t
.
_v
(
"
过滤器/Filters
\n
"
),
a
(
"
ul
"
,
t
.
_l
(
t
.
packages
,
function
(
e
){
return
"
filter
"
===
e
.
type
?
a
(
"
li
"
,[
a
(
"
router-link
"
,{
class
:{
current
:
t
.
path
==
"
/
"
+
e
.
name
},
attrs
:{
to
:{
name
:
e
.
name
}}},[
t
.
_v
(
t
.
_s
(
e
.
name
)),
a
(
"
span
"
,{
staticClass
:
"
chnn
"
},[
t
.
_v
(
t
.
_s
(
e
.
chnName
||
"
组件
"
))])])],
1
):
t
.
_e
()}))]),
t
.
_v
(
"
"
),
a
(
"
li
"
,[
t
.
_v
(
"
指令/Directives
\n
"
),
a
(
"
ul
"
,
t
.
_l
(
t
.
packages
,
function
(
e
){
return
"
directive
"
===
e
.
type
?
a
(
"
li
"
,[
a
(
"
router-link
"
,{
class
:{
current
:
t
.
path
==
"
/
"
+
e
.
name
},
attrs
:{
to
:
"
/
"
+
e
.
name
}},[
t
.
_v
(
t
.
_s
(
e
.
name
)),
a
(
"
span
"
,{
staticClass
:
"
chnn
"
},[
t
.
_v
(
t
.
_s
(
e
.
chnName
||
"
组件
"
))])])],
1
):
t
.
_e
()}))])])])},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
li
"
,{
staticClass
:
"
pcdemo
"
},[
a
(
"
a
"
,{
attrs
:{
href
:
"
./demo.html
"
}},[
t
.
_v
(
"
示例
"
)])])}]}},
1178
:
function
(
t
,
e
,
a
){
var
n
=
a
(
986
);
"
string
"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
3
)(
"
b046bf9e
"
,
n
,
!
0
,{})},
769
:
function
(
t
,
e
,
a
){
function
n
(
t
){
a
(
1178
)}
var
s
=
a
(
1
)(
a
(
942
),
a
(
1084
),
n
,
"
data-v-32f50000
"
,
null
);
t
.
exports
=
s
.
exports
},
942
:
function
(
t
,
e
,
a
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
});
var
n
=
a
(
79
),
s
=
function
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}(
n
);
e
.
default
=
{
data
:
function
(){
return
{
path
:
""
,
packages
:[],
version
:
""
}},
computed
:{
total
:
function
(){
return
this
.
packages
.
length
||
"
--
"
}},
methods
:{},
watch
:{
$route
:{
immediate
:
!
0
,
handler
:
function
(
t
,
e
){
this
.
path
=
t
.
path
}}},
created
:
function
(){
this
.
packages
=
s
.
default
.
packages
,
this
.
version
=
s
.
default
.
version
}}},
986
:
function
(
t
,
e
,
a
){
e
=
t
.
exports
=
a
(
2
)(),
e
.
push
([
t
.
i
,
"
a[data-v-32f50000]{text-decoration:none}.current[data-v-32f50000]{color:red}.chnn[data-v-32f50000]{margin-left:5px;color:#999;font-size:12px}.pcdemo[data-v-32f50000]{display:none}.info[data-v-32f50000]{color:#999;padding-bottom:8px;margin-bottom:10px;border-bottom:1px dashed #ccc;display:-ms-flexbox;display:flex;-ms-flex-align:baseline;align-items:baseline;-ms-flex-pack:justify;justify-content:space-between}.tot[data-v-32f50000]{font-size:12px}@media (max-width:400px){.pcdemo[data-v-32f50000]{display:list-item}}
"
,
""
])}});
\ No newline at end of file
dist/70.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
70
],{
1037
:
function
(
e
,
a
,
t
){
a
=
e
.
exports
=
t
(
2
)(),
a
.
push
([
e
.
i
,
"
.nut-radiogroup .radiolist{display:inline-block;width:100px}
"
,
""
])},
1136
:
function
(
e
,
a
){
e
.
exports
=
{
render
:
function
(){
var
e
=
this
,
a
=
e
.
$createElement
,
t
=
e
.
_self
.
_c
||
a
;
return
t
(
"
div
"
,[
t
(
"
nut-demoheader
"
,{
attrs
:{
name
:
e
.
$route
.
name
}}),
e
.
_v
(
"
"
),
t
(
"
h5
"
,[
e
.
_v
(
"
示例
"
)]),
e
.
_v
(
"
"
),
t
(
"
p
"
,[
e
.
_v
(
"
默认用法
"
)]),
e
.
_v
(
"
"
),
t
(
"
nut-radiogroup
"
,{
attrs
:{
data
:
e
.
data1
}}),
e
.
_v
(
"
"
),
t
(
"
p
"
,[
e
.
_v
(
"
回调事件
"
)]),
e
.
_v
(
"
"
),
t
(
"
nut-radiogroup
"
,{
attrs
:{
data
:
e
.
data2
,
inline
:
!
0
},
on
:{
"
radio-check
"
:
e
.
radioChecked
}}),
e
.
_v
(
"
"
),
t
(
"
p
"
,[
e
.
_v
(
"
禁用选项
"
)]),
e
.
_v
(
"
"
),
t
(
"
nut-radiogroup
"
,{
attrs
:{
className
:
"
radiolist
"
,
data
:
e
.
data3
},
on
:{
"
radio-check
"
:
e
.
radioChecked2
}})],
1
)},
staticRenderFns
:[]}},
1229
:
function
(
e
,
a
,
t
){
var
n
=
t
(
1037
);
"
string
"
==
typeof
n
&&
(
n
=
[[
e
.
i
,
n
,
""
]]),
n
.
locals
&&
(
e
.
exports
=
n
.
locals
);
t
(
3
)(
"
67cc1b16
"
,
n
,
!
0
,{})},
810
:
function
(
e
,
a
,
t
){
function
n
(
e
){
t
(
1229
)}
var
d
=
t
(
1
)(
t
(
901
),
t
(
1136
),
n
,
null
,
null
);
e
.
exports
=
d
.
exports
},
901
:
function
(
e
,
a
,
t
){
"
use strict
"
;
Object
.
defineProperty
(
a
,
"
__esModule
"
,{
value
:
!
0
});
var
n
=
t
(
20
);
!
function
(
e
){
e
&&
e
.
__esModule
}(
n
);
a
.
default
=
{
data
:
function
(){
return
{
data1
:[{
id
:
1
,
name
:
"
test1
"
,
value
:
1
},{
id
:
2
,
name
:
"
test1
"
,
value
:
2
},{
id
:
3
,
name
:
"
test1
"
,
value
:
3
},{
id
:
4
,
name
:
"
test1
"
,
value
:
4
},{
id
:
5
,
name
:
"
test1
"
,
value
:
5
}],
data2
:[{
id
:
10
,
name
:
"
test
"
,
value
:
"
是
"
,
checked
:
!
0
},{
id
:
12
,
name
:
"
test
"
,
value
:
"
否
"
}],
data3
:[{
id
:
11
,
name
:
"
test2
"
,
value
:
"
足球
"
},{
id
:
22
,
name
:
"
test2
"
,
value
:
"
篮球
"
,
checked
:
!
0
},{
id
:
33
,
name
:
"
test2
"
,
value
:
"
羽毛球
"
},{
id
:
44
,
name
:
"
test2
"
,
value
:
"
乒乓球
"
,
disabled
:
!
0
},{
id
:
55
,
name
:
"
test2
"
,
value
:
"
排球
"
}],
demo1
:
"
<nut-radiogroup :data=
\"
data1
\"
></nut-radiogroup>
\n
data(){
\n
return{
\n
data1:[
\n
{id:1,name:'test1',value:1},
\n
{id:2,name:'test1',value:2},
\n
{id:3,name:'test1',value:3},
\n
{id:4,name:'test1',value:4},
\n
{id:5,name:'test1',value:5}
\n
],
\n
}
\n
},
"
,
demo2
:
"
<nut-radiogroup
\n
:data=
\"
data2
\"
\n
:inline=
\"
true
\"\n
@radio-check=
\"
radioChecked
\"
>
\n
</nut-radiogroup>
\n
data(){
\n
return{
\n
data2:[
\n
{id:10,name:'test',value:'是',checked:true},
\n
{id:12,name:'test',value:'否'},
\n
],
\n
}
\n
},
\n
methods:{
\n
radioChecked(item,index,event){
\n
alert(item.value);
\n
}
\n
}
"
,
demo3
:
"
<nut-radiogroup
\n
:className=
\"
'radiolist'
\"
\n
:data=
\"
data3
\"
\n
@radio-check=
\"
radioChecked2
\"
>
\n
</nut-radiogroup>
\n
data(){
\n
return{
\n
data3:[
\n
{id:11,name:'test2',value:'足球'},
\n
{id:22,name:'test2',value:'篮球',checked:true},
\n
{id:33,name:'test2',value:'羽毛球'},
\n
{id:44,name:'test2',value:'乒乓球',disabled:true},
\n
{id:55,name:'test2',value:'排球'}
\n
],
\n
}
\n
},
\n
methods:{
\n
radioChecked2(item,index,event){
\n
console.log(item,index,event);
\n
}
\n
}
"
}},
components
:{},
methods
:{
radioChecked
:
function
(
e
,
a
,
t
){
alert
(
e
.
value
)},
radioChecked2
:
function
(
e
,
a
,
t
){
console
.
log
(
e
,
a
,
t
)}}}}});
\ No newline at end of file
dist/71.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
71
],{
1005
:
function
(
e
,
t
,
n
){
t
=
e
.
exports
=
n
(
2
)(),
t
.
push
([
e
.
i
,
""
,
""
])},
1104
:
function
(
e
,
t
){
e
.
exports
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,[
n
(
"
nut-demoheader
"
,{
attrs
:{
name
:
e
.
$route
.
name
}}),
e
.
_v
(
"
"
),
n
(
"
h5
"
,[
e
.
_v
(
"
示例
"
)]),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
默认用法
"
)]),
e
.
_v
(
"
"
),
n
(
"
nut-radio
"
),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
点击触发回调
"
)]),
e
.
_v
(
"
"
),
n
(
"
nut-radio
"
,{
on
:{
"
input-check
"
:
e
.
inputCheck
}}),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
禁用选项
"
)]),
e
.
_v
(
"
"
),
n
(
"
nut-radio
"
,{
attrs
:{
disabled
:
!
0
}}),
e
.
_v
(
"
"
),
n
(
"
nut-radio
"
)],
1
)},
staticRenderFns
:[]}},
1197
:
function
(
e
,
t
,
n
){
var
o
=
n
(
1005
);
"
string
"
==
typeof
o
&&
(
o
=
[[
e
.
i
,
o
,
""
]]),
o
.
locals
&&
(
e
.
exports
=
o
.
locals
);
n
(
3
)(
"
6588e0be
"
,
o
,
!
0
,{})},
809
:
function
(
e
,
t
,
n
){
function
o
(
e
){
n
(
1197
)}
var
r
=
n
(
1
)(
n
(
900
),
n
(
1104
),
o
,
null
,
null
);
e
.
exports
=
r
.
exports
},
900
:
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
});
var
o
=
n
(
20
);
!
function
(
e
){
e
&&
e
.
__esModule
}(
o
);
t
.
default
=
{
data
:
function
(){
return
{}},
components
:{},
methods
:{
inputCheck
:
function
(){
alert
(
"
checked
"
),
console
.
log
(
event
.
target
.
checked
)}}}}});
\ No newline at end of file
dist/72.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
72
],{
1069
:
function
(
e
,
t
){
e
.
exports
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,[
n
(
"
nut-demoheader
"
,{
attrs
:{
name
:
e
.
$route
.
name
}}),
e
.
_v
(
"
"
),
n
(
"
br
"
),
e
.
_v
(
"
"
),
n
(
"
div
"
,[
n
(
"
nut-price
"
,{
attrs
:{
price
:
10010
,
needSymbol
:
!
1
,
thousands
:
!
0
}})],
1
),
e
.
_v
(
"
"
),
n
(
"
br
"
),
e
.
_v
(
"
"
),
n
(
"
div
"
,[
n
(
"
nut-price
"
,{
attrs
:{
price
:
10010.01
,
needSymbol
:
!
0
,
thousands
:
!
1
}})],
1
),
e
.
_v
(
"
"
),
n
(
"
br
"
),
e
.
_v
(
"
"
),
n
(
"
div
"
,[
n
(
"
nut-price
"
,{
attrs
:{
price
:
15213.122
,
decimalDigits
:
3
,
needSymbol
:
!
0
,
thousands
:
!
0
}})],
1
)],
1
)},
staticRenderFns
:[]}},
1163
:
function
(
e
,
t
,
n
){
var
r
=
n
(
971
);
"
string
"
==
typeof
r
&&
(
r
=
[[
e
.
i
,
r
,
""
]]),
r
.
locals
&&
(
e
.
exports
=
r
.
locals
);
n
(
3
)(
"
6e90e758
"
,
r
,
!
0
,{})},
808
:
function
(
e
,
t
,
n
){
function
r
(
e
){
n
(
1163
)}
var
i
=
n
(
1
)(
n
(
899
),
n
(
1069
),
r
,
null
,
null
);
e
.
exports
=
i
.
exports
},
899
:
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-price :price="10010" :needSymbol="false" :thousands="true"></nut-price>
'
,
demo2
:
'
<nut-price :price="10010.01" :needSymbol="true" :thousands="false"></nut-price>
'
,
demo3
:
'
<nut-price :price="15213.122" :decimalDigits="3" :needSymbol="true" :thousands="true"></nut-price>
'
}},
methods
:{}}},
971
:
function
(
e
,
t
,
n
){
t
=
e
.
exports
=
n
(
2
)(),
t
.
push
([
e
.
i
,
""
,
""
])}});
\ No newline at end of file
dist/73.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
73
],{
1022
:
function
(
o
,
t
,
n
){
t
=
o
.
exports
=
n
(
2
)(),
t
.
push
([
o
.
i
,
""
,
""
])},
1121
:
function
(
o
,
t
){
o
.
exports
=
{
render
:
function
(){
var
o
=
this
,
t
=
o
.
$createElement
,
n
=
o
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,[
n
(
"
nut-demoheader
"
,{
attrs
:{
name
:
o
.
$route
.
name
}}),
o
.
_v
(
"
"
),
n
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
o
.
popupDemo1
}},[
o
.
_v
(
"
footer含两个操作按钮
"
)]),
o
.
_v
(
"
"
),
n
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
o
.
popupDemo2
}},[
o
.
_v
(
"
footer仅有一个按钮
"
)]),
o
.
_v
(
"
"
),
n
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
o
.
popupDemo3
}},[
o
.
_v
(
"
header含有两个操作按钮
"
)]),
o
.
_v
(
"
"
),
n
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
o
.
popupDemo4
}},[
o
.
_v
(
"
仅含有关闭按钮
"
)]),
o
.
_v
(
"
"
),
n
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
o
.
popupDemo5
}},[
o
.
_v
(
"
默认示例
"
)]),
o
.
_v
(
"
"
),
n
(
"
nut-popup
"
,{
attrs
:{
popupVisible
:
o
.
visible1
,
configItems
:
o
.
popup
[
0
]},
on
:{
"
update:popupVisible
"
:
function
(
t
){
o
.
visible1
=
t
},
"
cancel-btn-click
"
:
o
.
cancelBtnFn
,
"
ok-btn-click
"
:
o
.
okBtnFn
,
"
close-popup
"
:
o
.
closeMask
}}),
o
.
_v
(
"
"
),
n
(
"
nut-popup
"
,{
attrs
:{
popupVisible
:
o
.
visible2
,
configItems
:
o
.
popup
[
1
]},
on
:{
"
update:popupVisible
"
:
function
(
t
){
o
.
visible2
=
t
},
"
onlyone-btn-click
"
:
o
.
onlyOneBtnFn
}}),
o
.
_v
(
"
"
),
n
(
"
nut-popup
"
,{
attrs
:{
popupVisible
:
o
.
visible3
,
configItems
:
o
.
popup
[
2
]},
on
:{
"
update:popupVisible
"
:
function
(
t
){
o
.
visible3
=
t
},
"
cancel-click
"
:
o
.
cancelFn
,
"
ok-click
"
:
o
.
okFn
}}),
o
.
_v
(
"
"
),
n
(
"
nut-popup
"
,{
attrs
:{
popupVisible
:
o
.
visible4
,
configItems
:
o
.
popup
[
3
]},
on
:{
"
update:popupVisible
"
:
function
(
t
){
o
.
visible4
=
t
}}}),
o
.
_v
(
"
"
),
n
(
"
nut-popup
"
,{
attrs
:{
popupVisible
:
o
.
visible5
,
configItems
:{}},
on
:{
"
update:popupVisible
"
:
function
(
t
){
o
.
visible5
=
t
}}})],
1
)},
staticRenderFns
:[]}},
1214
:
function
(
o
,
t
,
n
){
var
i
=
n
(
1022
);
"
string
"
==
typeof
i
&&
(
i
=
[[
o
.
i
,
i
,
""
]]),
i
.
locals
&&
(
o
.
exports
=
i
.
locals
);
n
(
3
)(
"
6baf2cba
"
,
i
,
!
0
,{})},
807
:
function
(
o
,
t
,
n
){
function
i
(
o
){
n
(
1214
)}
var
p
=
n
(
1
)(
n
(
898
),
n
(
1121
),
i
,
null
,
null
);
o
.
exports
=
p
.
exports
},
898
:
function
(
o
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
{
data
:
function
(){
return
{
visible1
:
!
1
,
visible2
:
!
1
,
visible3
:
!
1
,
visible4
:
!
1
,
visible5
:
!
1
,
popup
:[{
randomId
:
"
0
"
,
hasCloseBtn
:
!
0
,
btnAmount
:
2
,
popupHeight
:{
height
:
"
100px
"
},
cancelAutoClose
:
!
1
},{
hasCloseBtn
:
!
0
,
btnAmount
:
1
},{
hasCloseBtn
:
!
1
,
popupFooterVisible
:
!
1
},{
hasCloseBtn
:
!
0
,
popupFooterVisible
:
!
1
}]}},
methods
:{
popupDemo1
:
function
(){
this
.
visible1
=!
0
},
popupDemo2
:
function
(){
this
.
visible2
=!
0
},
popupDemo3
:
function
(){
this
.
visible3
=!
0
},
popupDemo4
:
function
(){
this
.
visible4
=!
0
},
popupDemo5
:
function
(){
this
.
visible5
=!
0
},
cancelBtnFn
:
function
(
o
){
console
.
log
(
o
.
target
)},
okBtnFn
:
function
(
o
){
console
.
log
(
o
.
target
)},
onlyOneBtnFn
:
function
(
o
){
console
.
log
(
"
onlyOneBtnFn
"
)},
cancelFn
:
function
(
o
){
console
.
log
(
"
cancelFn
"
)},
okFn
:
function
(
o
){
console
.
log
(
"
okFn
"
)},
closeMask
:
function
(
o
){
console
.
log
(
"
closePopup
"
),
this
.
visible1
=!
1
}}}}});
\ No newline at end of file
dist/74.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
74
],{
1081
:
function
(
i
,
o
){
i
.
exports
=
{
render
:
function
(){
var
i
=
this
,
o
=
i
.
$createElement
,
t
=
i
.
_self
.
_c
||
o
;
return
t
(
"
div
"
,[
t
(
"
nut-demoheader
"
,{
attrs
:{
name
:
i
.
$route
.
name
}}),
i
.
_v
(
"
"
),
t
(
"
div
"
,{
staticClass
:
"
pic-box
"
},
i
.
_l
(
i
.
picBox
,
function
(
o
,
e
){
return
t
(
"
span
"
,{
on
:{
click
:
function
(
o
){
i
.
setPicShow
(
e
)}}},[
t
(
"
img
"
,{
attrs
:{
src
:
o
}})])})),
i
.
_v
(
"
"
),
t
(
"
nut-pictureview
"
,{
attrs
:{
visible
:
i
.
picShow
,
bgColor
:
i
.
coverColor
,
imgArr
:
i
.
picBox
,
initNum
:
i
.
picShowNum
,
pagination
:
i
.
showPage
},
on
:{
"
update:visible
"
:
function
(
o
){
i
.
picShow
=
o
},
"
close-pic
"
:
i
.
closeDo
}})],
1
)},
staticRenderFns
:[]}},
1175
:
function
(
i
,
o
,
t
){
var
e
=
t
(
983
);
"
string
"
==
typeof
e
&&
(
e
=
[[
i
.
i
,
e
,
""
]]),
e
.
locals
&&
(
i
.
exports
=
e
.
locals
);
t
(
3
)(
"
a07adcd4
"
,
e
,
!
0
,{})},
806
:
function
(
i
,
o
,
t
){
function
e
(
i
){
t
(
1175
)}
var
c
=
t
(
1
)(
t
(
897
),
t
(
1081
),
e
,
null
,
null
);
i
.
exports
=
c
.
exports
},
897
:
function
(
i
,
o
,
t
){
"
use strict
"
;
Object
.
defineProperty
(
o
,
"
__esModule
"
,{
value
:
!
0
}),
o
.
default
=
{
data
:
function
(){
return
{
picShow
:
!
1
,
picShowNum
:
1
,
showPage
:
!
0
,
coverColor
:
"
rgba(0,0,0,.7)
"
,
picBox
:[
"
http://img10.360buyimg.com/n1/s368x368_jfs/t15451/283/338246331/345534/6b69d792/5a2a07c2N38f87e33.jpg
"
,
"
http://img10.360buyimg.com/n1/s368x368_jfs/t2590/194/2825053760/121163/21a0bec9/577335b9N8990670f.jpg
"
,
"
http://misc.360buyimg.com/mtd/pc/common/img/no_login.jpg
"
]}},
methods
:{
setPicShow
:
function
(
i
){
this
.
picShowNum
=
i
+
1
,
this
.
picShow
=!
0
},
closeDo
:
function
(){
console
.
log
(
"
关闭了
"
)}}}},
983
:
function
(
i
,
o
,
t
){
o
=
i
.
exports
=
t
(
2
)(),
o
.
push
([
i
.
i
,
"
.pic-box{display:-ms-flexbox;display:flex}.pic-box span{width:60px;height:60px;margin-right:20px;border:1px solid #eee}.pic-box span img{width:100%;height:100%}
"
,
""
])}});
\ No newline at end of file
dist/75.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
75
],{
1032
:
function
(
e
,
t
,
n
){
t
=
e
.
exports
=
n
(
2
)(),
t
.
push
([
e
.
i
,
""
,
""
])},
1131
:
function
(
e
,
t
){
e
.
exports
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,[
n
(
"
nut-demoheader
"
,{
attrs
:{
name
:
e
.
$route
.
name
}}),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
默认用法
"
)]),
e
.
_v
(
"
"
),
n
(
"
num-operate
"
),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
初始状态减号按钮置灰
"
)]),
e
.
_v
(
"
"
),
n
(
"
num-operate
"
,{
attrs
:{
gery
:
e
.
isGrey
}}),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
设置初始值为3
"
)]),
e
.
_v
(
"
"
),
n
(
"
num-operate
"
,{
attrs
:{
init
:
e
.
initNum
}}),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
点击增加和减少时获取当前数量
"
)]),
e
.
_v
(
"
"
),
n
(
"
num-operate
"
,{
on
:{
add
:
e
.
changeNum
,
reduce
:
e
.
changeNum
}}),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
设置最大值为4
"
)]),
e
.
_v
(
"
"
),
n
(
"
num-operate
"
,{
attrs
:{
max
:
e
.
maxNum
}})],
1
)},
staticRenderFns
:[]}},
1224
:
function
(
e
,
t
,
n
){
var
r
=
n
(
1032
);
"
string
"
==
typeof
r
&&
(
r
=
[[
e
.
i
,
r
,
""
]]),
r
.
locals
&&
(
e
.
exports
=
r
.
locals
);
n
(
3
)(
"
1bfc876c
"
,
r
,
!
0
,{})},
805
:
function
(
e
,
t
,
n
){
function
r
(
e
){
n
(
1224
)}
var
u
=
n
(
1
)(
n
(
896
),
n
(
1131
),
r
,
null
,
null
);
e
.
exports
=
u
.
exports
},
896
:
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
{
data
:
function
(){
return
{
resNum
:
0
,
maxNum
:
4
,
isGrey
:
!
0
,
initNum
:
3
}},
methods
:{
changeNum
:
function
(
e
){
this
.
resNum
=
e
,
alert
(
this
.
resNum
)}}}}});
\ No newline at end of file
dist/76.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
76
],{
1046
:
function
(
t
,
a
,
s
){
a
=
t
.
exports
=
s
(
2
)(),
a
.
push
([
t
.
i
,
""
,
""
])},
1145
:
function
(
t
,
a
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
s
=
t
.
_self
.
_c
||
a
;
return
s
(
"
div
"
,[
s
(
"
nut-demoheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
}}),
t
.
_v
(
"
"
),
s
(
"
nut-mask
"
,{
attrs
:{
visible
:
t
.
maskShow
},
on
:{
"
update:visible
"
:
function
(
a
){
t
.
maskShow
=
a
}}}),
t
.
_v
(
"
"
),
s
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
function
(
a
){
t
.
maskShow
=!
0
}}},[
t
.
_v
(
"
基础示例
"
)]),
t
.
_v
(
"
"
),
s
(
"
nut-mask
"
,{
attrs
:{
visible
:
t
.
maskShow2
,
color
:
"
rgba(255,200,200,.6)
"
},
on
:{
"
update:visible
"
:
function
(
a
){
t
.
maskShow2
=
a
}}}),
t
.
_v
(
"
"
),
s
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
function
(
a
){
t
.
maskShow2
=!
0
}}},[
t
.
_v
(
"
自定义颜色与透明度
"
)]),
t
.
_v
(
"
"
),
s
(
"
nut-mask
"
,{
attrs
:{
visible
:
t
.
maskShow3
,
closeOnClickModal
:
!
1
},
on
:{
"
update:visible
"
:
function
(
a
){
t
.
maskShow3
=
a
},
"
open-mask
"
:
t
.
autoClose
}}),
t
.
_v
(
"
"
),
s
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
function
(
a
){
t
.
maskShow3
=!
0
}}},[
t
.
_v
(
"
禁止点击关闭,4秒后自动关闭
"
)]),
t
.
_v
(
"
"
),
s
(
"
nut-mask
"
,{
attrs
:{
visible
:
t
.
maskShow4
,
fade
:
!
0
},
on
:{
"
update:visible
"
:
function
(
a
){
t
.
maskShow4
=
a
}}}),
t
.
_v
(
"
"
),
s
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
function
(
a
){
t
.
maskShow4
=!
0
}}},[
t
.
_v
(
"
渐隐渐现
"
)]),
t
.
_v
(
"
"
),
s
(
"
nut-mask
"
,{
attrs
:{
visible
:
t
.
maskShow5
},
on
:{
"
update:visible
"
:
function
(
a
){
t
.
maskShow5
=
a
},
"
open-mask
"
:
t
.
maskOpen
,
"
close-mask
"
:
t
.
maskClose
}}),
t
.
_v
(
"
"
),
s
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
function
(
a
){
t
.
maskShow5
=!
0
}}},[
t
.
_v
(
"
事件
"
)])],
1
)},
staticRenderFns
:[]}},
1238
:
function
(
t
,
a
,
s
){
var
o
=
s
(
1046
);
"
string
"
==
typeof
o
&&
(
o
=
[[
t
.
i
,
o
,
""
]]),
o
.
locals
&&
(
t
.
exports
=
o
.
locals
);
s
(
3
)(
"
0bee77a2
"
,
o
,
!
0
,{})},
804
:
function
(
t
,
a
,
s
){
function
o
(
t
){
s
(
1238
)}
var
n
=
s
(
1
)(
s
(
895
),
s
(
1145
),
o
,
null
,
null
);
t
.
exports
=
n
.
exports
},
895
:
function
(
t
,
a
,
s
){
"
use strict
"
;
Object
.
defineProperty
(
a
,
"
__esModule
"
,{
value
:
!
0
}),
a
.
default
=
{
data
:
function
(){
return
{
maskShow
:
!
1
,
maskShow2
:
!
1
,
maskShow3
:
!
1
,
maskShow4
:
!
1
,
maskShow5
:
!
1
}},
methods
:{
autoClose
:
function
(){
var
t
=
this
;
setTimeout
(
function
(){
t
.
maskShow3
=!
1
},
4
e3
)},
maskOpen
:
function
(){
alert
(
"
show
"
)},
maskClose
:
function
(){
alert
(
"
hide
"
)}}}}});
\ No newline at end of file
dist/77.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
77
],{
1033
:
function
(
t
,
e
,
n
){
e
=
t
.
exports
=
n
(
2
)(),
e
.
push
([
t
.
i
,
"
.nut-luckycard{margin:20px auto}
"
,
""
])},
1132
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
nut-demoheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
}}),
t
.
_v
(
"
"
),
n
(
"
p
"
,[
t
.
_v
(
"
默认用法
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-luckycard
"
,{
attrs
:{
content
:
"
1000万
"
}}),
t
.
_v
(
"
"
),
n
(
"
p
"
,[
t
.
_v
(
"
刮开层和背景层都支持自定义颜色,奖品信息支持HTML
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-luckycard
"
,{
attrs
:{
coverColor
:
"
#F9CC9D
"
,
backgroundColor
:
"
#C3D08B
"
,
content
:
"
<em>1000<em><strong>元</strong>
"
}}),
t
.
_v
(
"
"
),
n
(
"
p
"
,[
t
.
_v
(
"
刮开层支持图片
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-luckycard
"
,{
attrs
:{
content
:
"
1000万
"
,
coverImg
:
t
.
coverImage
}}),
t
.
_v
(
"
"
),
n
(
"
p
"
,[
t
.
_v
(
"
刮开面积超过设定比值(ratio)触发事件,可调用clearCover方法清除刮开层
"
)]),
t
.
_v
(
"
"
),
n
(
"
nut-luckycard
"
,{
attrs
:{
content
:
"
再来一瓶
"
,
ratio
:.
3
},
on
:{
open
:
t
.
cardOpen
}})],
1
)},
staticRenderFns
:[]}},
1225
:
function
(
t
,
e
,
n
){
var
r
=
n
(
1033
);
"
string
"
==
typeof
r
&&
(
r
=
[[
t
.
i
,
r
,
""
]]),
r
.
locals
&&
(
t
.
exports
=
r
.
locals
);
n
(
3
)(
"
a63086ec
"
,
r
,
!
0
,{})},
803
:
function
(
t
,
e
,
n
){
function
r
(
t
){
n
(
1225
)}
var
o
=
n
(
1
)(
n
(
894
),
n
(
1132
),
r
,
null
,
null
);
t
.
exports
=
o
.
exports
},
894
:
function
(
t
,
e
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
coverImage
:
"
../asset/img/luckycard-demo.png
"
}},
methods
:{
cardOpen
:
function
(
t
){
t
.
clearCover
()}}}}});
\ No newline at end of file
dist/78.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
78
],{
1039
:
function
(
t
,
o
,
n
){
o
=
t
.
exports
=
n
(
2
)(),
o
.
push
([
t
.
i
,
""
,
""
])},
1138
:
function
(
t
,
o
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
o
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
o
;
return
n
(
"
div
"
,[
n
(
"
nut-demoheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
}}),
t
.
_v
(
"
"
),
n
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
t
.
showLoading1
}},[
t
.
_v
(
"
自定义ICON
"
)]),
t
.
_v
(
"
"
),
n
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
t
.
showLoading2
}},[
t
.
_v
(
"
禁止点击关闭,4秒后自动关闭
"
)]),
t
.
_v
(
"
"
),
n
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
t
.
showLoading3
}},[
t
.
_v
(
"
自定义文字及颜色
"
)]),
t
.
_v
(
"
"
),
n
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
t
.
showLoading4
}},[
t
.
_v
(
"
渐隐渐现
"
)])],
1
)},
staticRenderFns
:[]}},
1231
:
function
(
t
,
o
,
n
){
var
i
=
n
(
1039
);
"
string
"
==
typeof
i
&&
(
i
=
[[
t
.
i
,
i
,
""
]]),
i
.
locals
&&
(
t
.
exports
=
i
.
locals
);
n
(
3
)(
"
3fb26b5b
"
,
i
,
!
0
,{})},
802
:
function
(
t
,
o
,
n
){
function
i
(
t
){
n
(
1231
)}
var
a
=
n
(
1
)(
n
(
893
),
n
(
1138
),
i
,
null
,
null
);
t
.
exports
=
a
.
exports
},
893
:
function
(
t
,
o
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
o
,
"
__esModule
"
,{
value
:
!
0
}),
o
.
default
=
{
data
:
function
(){
return
{
loading1
:
null
,
loading2
:
null
,
loading3
:
null
,
loading4
:
null
}},
mounted
:
function
(){
this
.
loading1
=
this
.
$loading
({
iconUrl
:
"
//misc.360buyimg.com/mtd/pc/o2_toolbar/1.0.0/home/images/loading.gif
"
}),
this
.
loading2
=
this
.
$loading
({
maxDuring
:
4
e3
,
userClose
:
!
1
}),
this
.
loading3
=
this
.
$loading
({
text
:
"
LOADING
"
,
textColor
:
"
rgba(255,255,255,.7)
"
}),
this
.
loading4
=
this
.
$loading
({
fade
:
!
0
})},
methods
:{
showLoading1
:
function
(
t
){
this
.
loading1
.
show
()},
showLoading2
:
function
(
t
){
this
.
loading2
.
show
()},
showLoading3
:
function
(
t
){
this
.
loading3
.
show
()},
showLoading4
:
function
(
t
){
this
.
loading4
.
show
()}}}}});
\ No newline at end of file
dist/79.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
79
],{
1092
:
function
(
t
,
a
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
s
=
t
.
_self
.
_c
||
a
;
return
s
(
"
div
"
,[
s
(
"
nut-demoheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
}}),
t
.
_v
(
"
"
),
s
(
"
div
"
,{
directives
:[{
name
:
"
nut-lazyload
"
,
rawName
:
"
v-nut-lazyload
"
,
value
:{
height
:
100
},
expression
:
'
{
\n
"height":100
\n
}
'
}]},[
s
(
"
img
"
,{
staticClass
:
"
test
"
,
attrs
:{
lazyload
:
""
,
"
data-src
"
:
"
https://img30.360buyimg.com/da/jfs/t14185/125/556275389/303641/97b4c333/5a0e37bfN9b72d735.jpg
"
}}),
t
.
_v
(
"
"
),
s
(
"
img
"
,{
staticClass
:
"
test
"
,
attrs
:{
lazyload
:
""
,
"
data-src
"
:
"
https://img13.360buyimg.com/da/jfs/t13558/359/718973197/114717/dc9a4598/5a1279abNb62cd51f.jpg
"
}}),
t
.
_v
(
"
"
),
s
(
"
img
"
,{
staticClass
:
"
test
"
,
attrs
:{
lazyload
:
""
,
"
data-src
"
:
"
https://img20.360buyimg.com/da/jfs/t13513/278/766279282/105852/3bc69d5b/5a138f98Nf0f4fbc5.jpg
"
}}),
t
.
_v
(
"
"
),
s
(
"
img
"
,{
staticClass
:
"
test
"
,
attrs
:{
lazyload
:
""
,
"
data-src
"
:
"
https://img20.360buyimg.com/da/jfs/t10597/214/1767280119/107853/e81bef25/59e5deffN82945fbf.jpg
"
}}),
t
.
_v
(
"
"
),
s
(
"
img
"
,{
staticClass
:
"
test
"
,
attrs
:{
lazyload
:
""
,
"
data-src
"
:
"
https://img14.360buyimg.com/da/jfs/t11074/294/1802222077/76562/336432ea/5a096c9dNda606baa.jpg
"
}}),
t
.
_v
(
"
"
),
s
(
"
img
"
,{
staticClass
:
"
test
"
,
attrs
:{
lazyload
:
""
,
"
data-src
"
:
"
https://img30.360buyimg.com/jgsq-productsoa/jfs/t13666/342/466703104/65783/7022b077/5a0c193cN9124d3e0.jpg
"
}})])],
1
)},
staticRenderFns
:[]}},
1185
:
function
(
t
,
a
,
s
){
var
e
=
s
(
993
);
"
string
"
==
typeof
e
&&
(
e
=
[[
t
.
i
,
e
,
""
]]),
e
.
locals
&&
(
t
.
exports
=
e
.
locals
);
s
(
3
)(
"
739f3b75
"
,
e
,
!
0
,{})},
801
:
function
(
t
,
a
,
s
){
function
e
(
t
){
s
(
1185
)}
var
i
=
s
(
1
)(
s
(
892
),
s
(
1092
),
e
,
null
,
null
);
t
.
exports
=
i
.
exports
},
892
:
function
(
t
,
a
,
s
){
"
use strict
"
;
function
e
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}
Object
.
defineProperty
(
a
,
"
__esModule
"
,{
value
:
!
0
});
var
i
=
s
(
20
),
c
=
(
e
(
i
),
s
(
174
));
e
(
c
);
a
.
default
=
{
data
:
function
(){
return
{}},
methods
:{}}},
993
:
function
(
t
,
a
,
s
){
a
=
t
.
exports
=
s
(
2
)(),
a
.
push
([
t
.
i
,
"
img{display:block;max-width:100%}
"
,
""
])}});
\ No newline at end of file
dist/8.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
8
],{
1090
:
function
(
t
,
A
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
A
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
A
;
return
t
.
showFlag
?
e
(
"
div
"
,{
staticClass
:
"
demo-nav
"
},[
e
(
"
div
"
,{
staticClass
:
"
goback
"
,
on
:{
click
:
t
.
goback
}},[
e
(
"
b
"
,{
staticClass
:
"
go-btn
"
})]),
t
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
title
"
},[
t
.
_v
(
t
.
_s
(
t
.
title
))]),
t
.
_v
(
"
"
),
e
(
"
a
"
,{
staticClass
:
"
home
"
,
attrs
:{
href
:
t
.
hrefUrl
}},[
t
.
_v
(
"
文档
"
)])]):
t
.
_e
()},
staticRenderFns
:[]}},
1183
:
function
(
t
,
A
,
e
){
var
n
=
e
(
991
);
"
string
"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
e
(
3
)(
"
73cfa3d2
"
,
n
,
!
0
,{})},
766
:
function
(
t
,
A
,
e
){
function
n
(
t
){
e
(
1183
)}
var
o
=
e
(
1
)(
e
(
882
),
e
(
1090
),
n
,
null
,
null
);
t
.
exports
=
o
.
exports
},
882
:
function
(
t
,
A
,
e
){
"
use strict
"
;
Object
.
defineProperty
(
A
,
"
__esModule
"
,{
value
:
!
0
}),
A
.
default
=
{
data
:
function
(){
return
{
showPath
:
""
}},
methods
:{
goback
:
function
(){
self
!=
top
?
this
.
$router
.
push
(
"
./index
"
):
history
.
back
()}},
computed
:{
showFlag
:
function
(){
return
"
/index
"
!=
this
.
showPath
},
title
:
function
(){
return
this
.
showPath
.
substring
(
1
)},
hrefUrl
:
function
(){
return
"
./index.html#
"
+
this
.
showPath
}},
watch
:{
$route
:{
immediate
:
!
0
,
handler
:
function
(
t
,
A
){
this
.
showPath
=
t
.
path
}}},
mounted
:
function
(){}}},
991
:
function
(
t
,
A
,
e
){
A
=
t
.
exports
=
e
(
2
)(),
A
.
push
([
t
.
i
,
'
.demo-nav{width:100%;background-color:#f8f8f8;border-bottom:1px solid #eee;-ms-flex-pack:center;justify-content:center;padding:0 8px;position:fixed;top:0;left:0;z-index:1000}.demo-nav,.goback{height:40px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.goback{cursor:pointer;width:45px}.go-btn{display:block;width:20px;height:20px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAApCAYAAAAvUenwAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAAC4UlEQVRIx8WXX2hOYRzHP9s082exyCKlXciUslxI/gznOFijoRal2IVW3Llx6vRcPj31XHAhyQ2luMAYa8zyvq8lSlqL1jItaZKhRlqmtJmL8xuv2Z/3z1Oeu/fzPuf7Oc/vnOd3zinA8dDGFgMXgXrgbIHj8LlAE1Aj6JMzgTa2FGgBtgkaBY45EWhjy4B7wAZBI0CDisKreQu0sUuAdqBK0A/gkIrCZoC8BNrYZUASqBQ0DBxQUdg+PidngTa2QsIrBA0Be1QUPkqfl5NAG1sJPACWC/oM1KgofDZxbtYCbexa4pqXC/oI7FJR+GKy+VkJtLHrgftAmaB3QKCisHeqYwqzCK8GEmnhb4Dq6cIzFmhjdwNtQKmgXmCzisI3Mx07o0Abux+4A8wV9BzYqqLwfSYnN61AG3sYuA4UC3oKeCoKP2Va2ikF2thG4DIwS1AHsFNF4ZdMw6cUaGNPAheAIkFtQK2KwqFswicVaGMVcIY/t/AtYJ+KwuFsw2HCPtDGWuBUGrpC3BVHcwn/awXa2NMTwi8AR/MJ/70CbexxKUuJ8G6gSkXhz3zCQS5iKpno9PygBKgWXg6s8PygNZVMjOUtEMlDzw8Kga2CqoBVnh+0pJKJnMtUlP4jlUx0eH7wHdgh5VsDVHl+0JxKJkZyEUzaTbWxJ4Bzaf8ngToVhd+cCERyBLiUtsonxJvtqxOBSOqJ98J4L+oibheDTgQiqQVuAHME9RA/ZAacCETiEbfs+YL6RNLvRCCSjcBdYKGgfpH0ORGIZB3xA3+xoAGR9DgRiGQ18W27VNAg8YXvmmx+xg/98aGi8CWwRUoEsAhIaWM3ORGI5DVx33olaAHQro31nQhE8pb4Vb1b0DygVRu714lAJB+A7UCnoBKgSRt70IlAJIOADzwWVAxc1cY2QJ6v7+lDPp9uA4GgMaDR9TfabOAaUCfoY1Eeef+MVDIx6vnBTeI9shI47zL//4xfCJTnunU1hbUAAAAASUVORK5CYII=") no-repeat;background-size:contain}.title{-ms-flex:1;flex:1;font-size:16px;text-align:center;line-height:40px}.home{width:53px;text-decoration:none;color:#000}
'
,
""
])}});
\ No newline at end of file
dist/80.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
80
],{
1080
:
function
(
e
,
n
){
e
.
exports
=
{
render
:
function
(){
var
e
=
this
,
n
=
e
.
$createElement
,
t
=
e
.
_self
.
_c
||
n
;
return
t
(
"
div
"
,[
t
(
"
nut-demoheader
"
,{
attrs
:{
name
:
e
.
$route
.
name
}}),
e
.
_v
(
"
"
),
t
(
"
nut-infiniteloading
"
,{
attrs
:{
noMore
:
e
.
noMore
},
on
:{
"
on-refresh
"
:
e
.
onRefresh
,
"
on-infinite
"
:
e
.
onInfinite
}},
e
.
_l
(
e
.
resultList
,
function
(
n
){
return
t
(
"
div
"
,{
staticClass
:
"
item-li
"
},[
e
.
_v
(
e
.
_s
(
n
))])}))],
1
)},
staticRenderFns
:[]}},
1174
:
function
(
e
,
n
,
t
){
var
i
=
t
(
982
);
"
string
"
==
typeof
i
&&
(
i
=
[[
e
.
i
,
i
,
""
]]),
i
.
locals
&&
(
e
.
exports
=
i
.
locals
);
t
(
3
)(
"
9d48cf6a
"
,
i
,
!
0
,{})},
800
:
function
(
e
,
n
,
t
){
function
i
(
e
){
t
(
1174
)}
var
s
=
t
(
1
)(
t
(
891
),
t
(
1080
),
i
,
null
,
null
);
e
.
exports
=
s
.
exports
},
891
:
function
(
e
,
n
,
t
){
"
use strict
"
;
Object
.
defineProperty
(
n
,
"
__esModule
"
,{
value
:
!
0
});
var
i
=
t
(
82
),
s
=
function
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}(
i
);
n
.
default
=
{
data
:
function
(){
return
{
teml1
:
'
<nut-infiniteloading @on-refresh="onRefresh" @on-infinite="onInfinite" :noMore="noMore">
\n
<div v-for="item in resultList">{{item}}</div>
\n
</nut-infiniteloading>
'
,
teml2
:
"
export default {
\n
data(){
\n
return{
\n
page: 1, //当前页
\n
pageSize: 10, // 一页显示多少条
\n
noMore: false, //暂无更多数据显示
\n
resultList:[]
\n
}
\n
},
\n
created(){
\n
this.getList();
\n
},
\n
methods:{
\n
//查询列表
\n
getList(suc){
\n
let self = this;
\n
//模拟异步
\n
setTimeout(function(){
\n
let queryList = [1,2,3,4,5,6,7,8,9,10,11,12,13];
\n
if(self.page == 1){
\n
self.resultList = queryList;
\n
} else {
\n
self.resultList =[...self.resultList, ...queryList];
\n
}
\n
// self.noMoreFlag = true;//根据查询回的数据判断是否还有更多数据
\n
if(suc){
\n
suc();
\n
}
\n
},600);
\n
},
\n
//刷新调用
\n
onRefresh(done) {
\n
this.page = 1;
\n
this.getList(done);
\n
},
\n
//下一页调用
\n
onInfinite(done) {
\n
this.page++;
\n
this.getList(done);
\n
}
\n
}
\n
}
"
,
page
:
1
,
pageSize
:
10
,
noMore
:
!
1
,
resultList
:[]}},
created
:
function
(){
this
.
getList
()},
methods
:{
getList
:
function
(
e
){
var
n
=
this
;
setTimeout
(
function
(){
var
t
=
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
];
1
==
n
.
page
?
n
.
resultList
=
t
:
n
.
resultList
=
[].
concat
((
0
,
s
.
default
)(
n
.
resultList
),
t
),
e
&&
e
()},
600
)},
onRefresh
:
function
(
e
){
this
.
page
=
1
,
this
.
getList
(
e
)},
onInfinite
:
function
(
e
){
this
.
page
++
,
this
.
getList
(
e
)}}}},
982
:
function
(
e
,
n
,
t
){
n
=
e
.
exports
=
t
(
2
)(),
n
.
push
([
e
.
i
,
"
.item-li{height:1rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-bottom:1px solid #e7e7e7}.no-more{text-align:center}
"
,
""
])}});
\ No newline at end of file
dist/81.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
81
],{
1010
:
function
(
i
,
e
,
t
){
e
=
i
.
exports
=
t
(
2
)(),
e
.
push
([
i
.
i
,
""
,
""
])},
1109
:
function
(
i
,
e
){
i
.
exports
=
{
render
:
function
(){
var
i
=
this
,
e
=
i
.
$createElement
,
t
=
i
.
_self
.
_c
||
e
;
return
t
(
"
div
"
,[
t
(
"
nut-demoheader
"
,{
attrs
:{
name
:
i
.
$route
.
name
}}),
i
.
_v
(
"
"
),
t
(
"
p
"
,[
i
.
_v
(
"
开启webp时,如果浏览器支持,组件尝试在给定的url后加“.webp”,若请求失败则自动重新请求一次原始url(不含“.webp”),如果还失败则请求errorImg。
"
)]),
i
.
_v
(
"
"
),
t
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
overflow
:
"
hidden
"
}},[
t
(
"
nut-image
"
,{
attrs
:{
imgSrc
:
"
//img10.360buyimg.com/n1/s368x368_jfs/t15451/283/338246331/345534/6b69d792/5a2a07c2N38f87e33.jpg
"
,
webp
:
!
0
}}),
i
.
_v
(
"
"
),
t
(
"
p
"
,[
i
.
_v
(
"
自定义loading占位图(模拟低速网络环境可看到)
"
)]),
i
.
_v
(
"
"
),
t
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
overflow
:
"
hidden
"
}},[
t
(
"
nut-image
"
,{
attrs
:{
imgSrc
:
"
//img30.360buyimg.com/vip/jfs/t11617/103/1999233618/120608/7aff545e/5a0d6e25N89c245dd.jpg
"
,
loadingImg
:
"
//static-o2o.360buyimg.com/daojia/new/images/icon/newLoading.gif
"
}})],
1
)],
1
),
i
.
_v
(
"
"
),
t
(
"
p
"
,[
i
.
_v
(
"
自定义加载失败时的占位图
"
)]),
i
.
_v
(
"
"
),
t
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
overflow
:
"
hidden
"
}},[
t
(
"
nut-image
"
,{
attrs
:{
imgSrc
:
"
//img10.360buyimg.com/test
"
,
errorImg
:
"
//misc.360buyimg.com/mtd/pc/common/img/no_login.jpg
"
}})],
1
),
i
.
_v
(
"
"
),
t
(
"
p
"
,[
i
.
_v
(
"
事件
"
)]),
i
.
_v
(
"
"
),
t
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
overflow
:
"
hidden
"
}},[
t
(
"
nut-image
"
,{
attrs
:{
imgSrc
:
"
http://img10.360buyimg.com/n1/s368x368_jfs/t2590/194/2825053760/121163/21a0bec9/577335b9N8990670f.jpg
"
,
webp
:
!
0
},
on
:{
"
image-load-complete
"
:
i
.
imgLoadComplete
}})],
1
),
i
.
_v
(
"
"
),
t
(
"
div
"
,[
i
.
_v
(
"
加载结果:
"
+
i
.
_s
(
i
.
rst
))])],
1
)},
staticRenderFns
:[]}},
1202
:
function
(
i
,
e
,
t
){
var
m
=
t
(
1010
);
"
string
"
==
typeof
m
&&
(
m
=
[[
i
.
i
,
m
,
""
]]),
m
.
locals
&&
(
i
.
exports
=
m
.
locals
);
t
(
3
)(
"
ffdd66f4
"
,
m
,
!
0
,{})},
798
:
function
(
i
,
e
,
t
){
function
m
(
i
){
t
(
1202
)}
var
n
=
t
(
1
)(
t
(
889
),
t
(
1109
),
m
,
null
,
null
);
i
.
exports
=
n
.
exports
},
889
:
function
(
i
,
e
,
t
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-image
\n
imgSrc="//img10.360buyimg.com/n1/s368x368_jfs/t15451/283/338246331/345534/6b69d792/5a2a07c2N38f87e33.jpg"
\n
:webp="true">
\n
</nut-image>
'
,
demo2
:
'
<nut-image
\n
imgSrc="//img30.360buyimg.com/vip/jfs/t11617/103/1999233618/120608/7aff545e/5a0d6e25N89c245dd.jpg"
\n
loadingImg="//static-o2o.360buyimg.com/daojia/new/images/icon/newLoading.gif">
\n
</nut-image>
'
,
demo3
:
'
<nut-image
\n
imgSrc="//img10.360buyimg.com/test"
\n
errorImg="//misc.360buyimg.com/mtd/pc/common/img/no_login.jpg">
\n
</nut-image>
'
,
demo4
:
'
<nut-image
\n
imgSrc="//img10.360buyimg.com/n1/s368x368_jfs/t2590/194/2825053760/121163/21a0bec9/577335b9N8990670f.jpg"
\n
:webp="true"
\n
@image-load-complete="imgLoadComplete">
\n
</nut-image>
'
,
rst
:
""
}},
methods
:{
imgLoadComplete
:
function
(
i
,
e
){
this
.
rst
=
e
}}}}});
\ No newline at end of file
dist/82.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
82
],{
1058
:
function
(
e
,
n
,
a
){
n
=
e
.
exports
=
a
(
2
)(),
n
.
push
([
e
.
i
,
""
,
""
])},
1157
:
function
(
e
,
n
){
e
.
exports
=
{
render
:
function
(){
var
e
=
this
,
n
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
n
;
return
a
(
"
div
"
,[
a
(
"
nut-demoheader
"
,{
attrs
:{
name
:
e
.
$route
.
name
}}),
e
.
_v
(
"
"
),
a
(
"
div
"
,[
e
.
_v
(
"
例子1:
"
+
e
.
_s
(
e
.
message
))]),
e
.
_v
(
"
"
),
a
(
"
br
"
),
e
.
_v
(
"
"
),
a
(
"
span
"
,[
e
.
_v
(
"
最小值:
"
+
e
.
_s
(
e
.
_f
(
"
nut_handle
"
)(
e
.
message
,{
name
:
"
min
"
})))]),
e
.
_v
(
"
"
),
a
(
"
br
"
),
e
.
_v
(
"
"
),
a
(
"
span
"
,[
e
.
_v
(
"
去重:
"
+
e
.
_s
(
e
.
_f
(
"
nut_handle
"
)(
e
.
message
,{
name
:
"
arycutRepeat
"
})))]),
e
.
_v
(
"
"
),
a
(
"
div
"
,[
e
.
_v
(
"
例子2:
"
+
e
.
_s
(
e
.
message2
))]),
e
.
_v
(
"
"
),
a
(
"
br
"
),
e
.
_v
(
"
"
),
a
(
"
span
"
,[
e
.
_v
(
"
模糊匹配
"
+
e
.
_s
(
e
.
_f
(
"
nut_handle
"
)(
e
.
message2
,{
name
:
"
like
"
,
option
:{
key
:
"
name
"
,
value
:
"
l
"
,
replaceStr
:
"
李
"
}})))])],
1
)},
staticRenderFns
:[]}},
1250
:
function
(
e
,
n
,
a
){
var
s
=
a
(
1058
);
"
string
"
==
typeof
s
&&
(
s
=
[[
e
.
i
,
s
,
""
]]),
s
.
locals
&&
(
e
.
exports
=
s
.
locals
);
a
(
3
)(
"
7053b4e4
"
,
s
,
!
0
,{})},
797
:
function
(
e
,
n
,
a
){
function
s
(
e
){
a
(
1250
)}
var
t
=
a
(
1
)(
a
(
888
),
a
(
1157
),
s
,
null
,
null
);
e
.
exports
=
t
.
exports
},
888
:
function
(
e
,
n
,
a
){
"
use strict
"
;
Object
.
defineProperty
(
n
,
"
__esModule
"
,{
value
:
!
0
});
var
s
=
a
(
173
);
!
function
(
e
){
e
&&
e
.
__esModule
}(
s
);
n
.
default
=
{
data
:
function
(){
return
{
message
:[
1
,
2
,
2
,
3
,
3
,
4
,
6
,
7
],
message2
:[{
name
:
"
lilinsen
"
,
value
:
1
},{
name
:
"
yanglei
"
,
value
:
1
},{
name
:
"
wangnan
"
,
value
:
1
},{
name
:
"
shoujun
"
,
value
:
1
},{
name
:
"
文文
"
,
value
:
1
},{
name
:
"
曹晋
"
,
value
:
1
}]}},
methods
:{}}}});
\ No newline at end of file
dist/83.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
83
],{
1023
:
function
(
t
,
e
,
a
){
e
=
t
.
exports
=
a
(
2
)(),
e
.
push
([
t
.
i
,
""
,
""
])},
1122
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
nut-demoheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
}}),
t
.
_v
(
"
"
),
a
(
"
br
"
),
t
.
_v
(
"
"
),
a
(
"
div
"
,[
a
(
"
nut-formatdatetime
"
,{
attrs
:{
datetime
:
1280977330748
,
dateformat
:
"
yyyy-mm-dd hh:ii:ss
"
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
br
"
),
t
.
_v
(
"
"
),
a
(
"
div
"
,[
a
(
"
nut-formatdatetime
"
,{
attrs
:{
datetime
:
"
2015-02-18 15:23:48
"
,
dateformat
:
"
mm/dd/yyyy hh:ii:ss
"
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
br
"
),
t
.
_v
(
"
"
),
a
(
"
div
"
,[
a
(
"
nut-formatdatetime
"
,{
attrs
:{
datetime
:
"
1280977330748
"
,
dateformat
:
"
yyyy-mm-dd
"
}})],
1
),
t
.
_v
(
"
"
),
a
(
"
br
"
),
t
.
_v
(
"
"
),
a
(
"
div
"
,[
a
(
"
nut-formatdatetime
"
,{
attrs
:{
datetime
:
"
1280977330748
"
,
dateformat
:
"
hh:ii
"
}})],
1
)],
1
)},
staticRenderFns
:[]}},
1215
:
function
(
t
,
e
,
a
){
var
m
=
a
(
1023
);
"
string
"
==
typeof
m
&&
(
m
=
[[
t
.
i
,
m
,
""
]]),
m
.
locals
&&
(
t
.
exports
=
m
.
locals
);
a
(
3
)(
"
2121fd25
"
,
m
,
!
0
,{})},
796
:
function
(
t
,
e
,
a
){
function
m
(
t
){
a
(
1215
)}
var
d
=
a
(
1
)(
a
(
887
),
a
(
1122
),
m
,
null
,
null
);
t
.
exports
=
d
.
exports
},
887
:
function
(
t
,
e
,
a
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
});
var
m
=
a
(
20
);
!
function
(
t
){
t
&&
t
.
__esModule
}(
m
);
e
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-formatdatetime :datetime="1280977330748" dateformat="yyyy-mm-dd hh:ii:ss"></nut-formatdatetime>
'
,
demo2
:
'
<nut-formatdatetime datetime="2015-02-18 15:23:48" dateformat="mm/dd/yyyy hh:ii:ss"></nut-formatdatetime>
'
,
demo3
:
'
<nut-formatdatetime datetime="1280977330748" dateformat="yyyy-mm-dd"></nut-formatdatetime>
'
,
demo4
:
'
<nut-formatdatetime datetime="1280977330748" dateformat="hh:ii"></nut-formatdatetime>
'
}}}}});
\ No newline at end of file
dist/84.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
84
],{
1008
:
function
(
i
,
e
,
n
){
e
=
i
.
exports
=
n
(
2
)(),
e
.
push
([
i
.
i
,
""
,
""
])},
1107
:
function
(
i
,
e
){
i
.
exports
=
{
render
:
function
(){
var
i
=
this
,
e
=
i
.
$createElement
,
n
=
i
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
nut-elevator
"
,{
attrs
:{
dataArray
:
i
.
dataList
,
showIndicator
:
!
0
,
navHeight
:.
8
,
initIndex
:
0
,
hiddenTime
:
500
},
on
:{
clickNav
:
i
.
clickNav
,
clickList
:
i
.
clickList
}})],
1
)},
staticRenderFns
:[]}},
1200
:
function
(
i
,
e
,
n
){
var
t
=
n
(
1008
);
"
string
"
==
typeof
t
&&
(
t
=
[[
i
.
i
,
t
,
""
]]),
t
.
locals
&&
(
i
.
exports
=
t
.
locals
);
n
(
3
)(
"
662f6176
"
,
t
,
!
0
,{})},
795
:
function
(
i
,
e
,
n
){
function
t
(
i
){
n
(
1200
)}
var
a
=
n
(
1
)(
n
(
886
),
n
(
1107
),
t
,
null
,
null
);
i
.
exports
=
a
.
exports
},
886
:
function
(
i
,
e
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
dataList
:[{
title
:
"
A
"
,
list
:[{
name
:
"
安其拉
"
,
id
:
"
a1
"
},{
name
:
"
安琪
"
,
id
:
"
a2
"
}]},{
title
:
"
B
"
,
list
:[{
name
:
"
卞小明
"
,
id
:
"
b1
"
},{
name
:
"
卞小页
"
,
id
:
"
b2
"
}]},{
title
:
"
C
"
,
list
:[{
name
:
"
陈仙仙
"
,
id
:
"
c1
"
},{
name
:
"
成小龙
"
,
id
:
"
c2
"
},{
name
:
"
程野
"
,
id
:
"
c3
"
}]},{
title
:
"
D
"
,
list
:[{
name
:
"
丁小明
"
,
id
:
"
d1
"
},{
name
:
"
丁小龙
"
,
id
:
"
d2
"
},{
name
:
"
丁小野
"
,
id
:
"
d3
"
}]},{
title
:
"
F
"
,
list
:[{
name
:
"
冯小明
"
,
id
:
"
f1
"
},{
name
:
"
冯小龙
"
,
id
:
"
f2
"
},{
name
:
"
冯小野
"
,
id
:
"
f3
"
}]},{
title
:
"
G
"
,
list
:[{
name
:
"
高小明
"
,
id
:
"
g1
"
},{
name
:
"
高小龙
"
,
id
:
"
g2
"
},{
name
:
"
高小野
"
,
id
:
"
g3
"
},{
name
:
"
高小阳
"
,
id
:
"
g4
"
},{
name
:
"
郭小名
"
,
id
:
"
g5
"
}]},{
title
:
"
H
"
,
list
:[{
name
:
"
黄小明
"
,
id
:
"
h1
"
},{
name
:
"
黄小龙
"
,
id
:
"
h2
"
},{
name
:
"
黄小野
"
,
id
:
"
h3
"
},{
name
:
"
郝小阳
"
,
id
:
"
h4
"
},{
name
:
"
郝小名
"
,
id
:
"
h5
"
}]},{
title
:
"
J
"
,
list
:[{
name
:
"
贾小明
"
,
id
:
"
j1
"
},{
name
:
"
贾小龙
"
,
id
:
"
j2
"
},{
name
:
"
贾小野
"
,
id
:
"
j3
"
},{
name
:
"
贾小阳
"
,
id
:
"
j4
"
},{
name
:
"
贾小名
"
,
id
:
"
j5
"
}]},{
title
:
"
K
"
,
list
:[{
name
:
"
康小明
"
,
id
:
"
k1
"
},{
name
:
"
康小龙
"
,
id
:
"
k2
"
},{
name
:
"
康小野
"
,
id
:
"
k3
"
},{
name
:
"
康小阳
"
,
id
:
"
k4
"
},{
name
:
"
康小名
"
,
id
:
"
k5
"
}]},{
title
:
"
L
"
,
list
:[{
name
:
"
李小明
"
,
id
:
"
l1
"
},{
name
:
"
李小龙
"
,
id
:
"
l2
"
},{
name
:
"
李小野
"
,
id
:
"
l3
"
},{
name
:
"
李小阳
"
,
id
:
"
l4
"
},{
name
:
"
李小名
"
,
id
:
"
l5
"
}]}]}},
methods
:{
clickNav
:
function
(
i
,
e
){
console
.
log
(
i
,
e
)},
clickList
:
function
(
i
,
e
){
console
.
log
(
i
,
e
)}}}}});
\ No newline at end of file
dist/85.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
85
],{
1016
:
function
(
t
,
r
,
a
){
r
=
t
.
exports
=
a
(
2
)(),
r
.
push
([
t
.
i
,
"
.button-primary[data-v-5eb27329]{display:inline-block;height:38px;padding:0 10px;color:#555;text-align:center;font-size:12px;line-height:38px;text-decoration:none;white-space:nowrap;background-color:transparent;border-radius:3px;border:1px solid #bbb;cursor:pointer;box-sizing:border-box}.button-primary.curr[data-v-5eb27329]{background-color:#33c3f0;border-color:#33c3f0;color:#fff}
"
,
""
])},
1115
:
function
(
t
,
r
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
r
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
r
;
return
a
(
"
div
"
,[
a
(
"
nut-demoheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
}}),
t
.
_v
(
"
"
),
a
(
"
nut-drag
"
,{
attrs
:{
direction
:
t
.
direction
,
boundary
:
t
.
boundary
,
isSide
:
t
.
isSide
}}),
t
.
_v
(
"
"
),
a
(
"
div
"
,[
a
(
"
a
"
,{
staticClass
:
"
button-primary curr
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
function
(
r
){
t
.
changeMove
(
"
h
"
,
r
)}}},[
t
.
_v
(
"
垂直移动
"
)]),
t
.
_v
(
"
"
),
a
(
"
a
"
,{
staticClass
:
"
button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
function
(
r
){
t
.
changeMove
(
"
v
"
,
r
)}}},[
t
.
_v
(
"
水平移动
"
)]),
t
.
_v
(
"
"
),
a
(
"
a
"
,{
staticClass
:
"
button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
function
(
r
){
t
.
changeMove
(
"
n
"
,
r
)}}},[
t
.
_v
(
"
任意方向移动
"
)])]),
t
.
_v
(
"
"
),
a
(
"
div
"
,{
staticStyle
:{
"
margin-top
"
:
"
20px
"
}},[
a
(
"
a
"
,{
staticClass
:
"
button-primary curr
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
function
(
r
){
t
.
changeBoundary
(
"
y
"
,
r
)}}},[
t
.
_v
(
"
有边距
"
)]),
t
.
_v
(
"
"
),
a
(
"
a
"
,{
staticClass
:
"
button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
function
(
r
){
t
.
changeBoundary
(
"
n
"
,
r
)}}},[
t
.
_v
(
"
无边距
"
)])]),
t
.
_v
(
"
"
),
a
(
"
div
"
,[
a
(
"
a
"
,{
staticClass
:
"
button-primary curr
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
function
(
r
){
t
.
changeSide
(
!
1
,
r
)}}},[
t
.
_v
(
"
不吸边
"
)]),
t
.
_v
(
"
"
),
a
(
"
a
"
,{
staticClass
:
"
button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
function
(
r
){
t
.
changeSide
(
!
0
,
r
)}}},[
t
.
_v
(
"
吸边
"
)])])],
1
)},
staticRenderFns
:[]}},
1208
:
function
(
t
,
r
,
a
){
var
n
=
a
(
1016
);
"
string
"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
3
)(
"
0659b41a
"
,
n
,
!
0
,{})},
794
:
function
(
t
,
r
,
a
){
function
n
(
t
){
a
(
1208
)}
var
e
=
a
(
1
)(
a
(
885
),
a
(
1115
),
n
,
"
data-v-5eb27329
"
,
null
);
t
.
exports
=
e
.
exports
},
885
:
function
(
t
,
r
,
a
){
"
use strict
"
;
Object
.
defineProperty
(
r
,
"
__esModule
"
,{
value
:
!
0
}),
r
.
default
=
{
data
:
function
(){
return
{
direction
:
"
h
"
,
boundary
:{
top
:
50
,
bottom
:
20
,
left
:
0
,
right
:
0
},
isSide
:
!
1
,
demo1
:
'
<nut-drag direction="h"></nut-drag>
'
,
demo2
:
'
<nut-drag :boundary="{top: 20, bottom: 20}"></nut-drag>
'
,
demo3
:
'
<nut-drag :isSide="false"></nut-drag>
'
}},
methods
:{
changeMove
:
function
(
t
,
r
){
var
a
=
r
.
currentTarget
,
n
=
a
.
parentElement
.
children
;
this
.
removeClass
(
n
),
a
.
classList
.
add
(
"
curr
"
),
this
.
direction
=
t
},
changeBoundary
:
function
(
t
,
r
){
var
a
=
r
.
currentTarget
,
n
=
a
.
parentElement
.
children
;
this
.
removeClass
(
n
),
a
.
classList
.
add
(
"
curr
"
),
this
.
boundary
=
"
y
"
==
t
?{
top
:
50
,
bottom
:
20
,
left
:
0
,
right
:
0
}:{
top
:
50
,
bottom
:
0
,
left
:
0
,
right
:
0
}},
changeSide
:
function
(
t
,
r
){
var
a
=
r
.
currentTarget
,
n
=
a
.
parentElement
.
children
;
this
.
removeClass
(
n
),
a
.
classList
.
add
(
"
curr
"
),
a
.
classList
.
add
(
"
curr
"
),
this
.
isSide
=
t
},
removeClass
:
function
(
t
){
for
(
var
r
in
t
)
!
0
===
t
.
hasOwnProperty
(
r
)
&&
(
t
[
r
].
className
=
"
button-primary
"
)}}}}});
\ No newline at end of file
dist/86.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
86
],{
1071
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
nut-demoheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
}}),
t
.
_v
(
"
"
),
n
(
"
p
"
,[
t
.
_v
(
"
DPG是京东推出的图片压缩技术,经过DPG压缩后的图片兼容jpeg,同时全平台、全部浏览器都支持。该技术可以有效地减少图片大小50%,减少cdn带宽流量50%,加快图片用户在设备上的渲染速度,直接节省用户浏览流量,提升用户购物体验。
"
)]),
t
.
_v
(
"
"
),
n
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
n
(
"
p
"
,[
t
.
_v
(
"
传入jpg图片,请求对应的dpg图片
"
)]),
t
.
_v
(
"
"
),
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
overflow
:
"
hidden
"
}},[
n
(
"
img
"
,{
attrs
:{
src
:
t
.
_f
(
"
dpg
"
)(
"
//img10.360buyimg.com/n1/s368x368_jfs/t6499/90/1456804243/302655/1e93032/5951e7ecNafb50399.jpg
"
),
alt
:
""
}})]),
t
.
_v
(
"
"
),
n
(
"
br
"
),
t
.
_v
(
"
"
),
n
(
"
br
"
),
t
.
_v
(
"
"
),
n
(
"
p
"
,[
t
.
_v
(
"
传入原始图片是jpg格式的webp图片,请求对应的dpg图片
"
)]),
t
.
_v
(
"
"
),
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
overflow
:
"
hidden
"
}},[
n
(
"
img
"
,{
attrs
:{
src
:
t
.
_f
(
"
dpg
"
)(
"
http://img10.360buyimg.com/n1/s368x368_jfs/t14533/126/2072200806/342302/3602464d/5a69359bNd2297228.jpg.webp
"
),
alt
:
""
}})])],
1
)},
staticRenderFns
:[]}},
1165
:
function
(
t
,
e
,
n
){
var
i
=
n
(
973
);
"
string
"
==
typeof
i
&&
(
i
=
[[
t
.
i
,
i
,
""
]]),
i
.
locals
&&
(
t
.
exports
=
i
.
locals
);
n
(
3
)(
"
1bf81874
"
,
i
,
!
0
,{})},
793
:
function
(
t
,
e
,
n
){
function
i
(
t
){
n
(
1165
)}
var
r
=
n
(
1
)(
n
(
884
),
n
(
1071
),
i
,
null
,
null
);
t
.
exports
=
r
.
exports
},
884
:
function
(
t
,
e
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{}}}},
973
:
function
(
t
,
e
,
n
){
e
=
t
.
exports
=
n
(
2
)(),
e
.
push
([
t
.
i
,
""
,
""
])}});
\ No newline at end of file
dist/87.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
87
],{
1035
:
function
(
t
,
o
,
n
){
o
=
t
.
exports
=
n
(
2
)(),
o
.
push
([
t
.
i
,
""
,
""
])},
1134
:
function
(
t
,
o
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
o
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
o
;
return
n
(
"
div
"
,[
n
(
"
nut-demoheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
}}),
t
.
_v
(
"
"
),
n
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
t
.
showDialog1
}},[
t
.
_v
(
"
自定义标题和内容
"
)]),
t
.
_v
(
"
"
),
n
(
"
div
"
,{
staticStyle
:{
display
:
"
none
"
}},[
n
(
"
pre
"
,[
n
(
"
code
"
,{
directives
:[{
name
:
"
highlight
"
,
rawName
:
"
v-highlight
"
}]},[
t
.
_v
(
'
@click="showDialog1"
'
)])]),
t
.
_v
(
"
"
),
n
(
"
pre
"
,[
n
(
"
code
"
,{
directives
:[{
name
:
"
highlight
"
,
rawName
:
"
v-highlight
"
}]},[
t
.
_v
(
"
export default {
\n
methods:{
\n
'showDialog1'(){
\n
const options = {
\n
'title':'自定义Dialog标题',
\n
'content':'小屏或移动端浏览效果最佳'
\n
};
\n\n
this.$dialog(options);
\n
}
\n
}
\n
}
"
)])])]),
t
.
_v
(
"
"
),
n
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
t
.
showDialog2
}},[
t
.
_v
(
"
移除右上角关闭按钮
"
)]),
t
.
_v
(
"
"
),
n
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
t
.
showDialog3
}},[
t
.
_v
(
"
移除标题栏
"
)]),
t
.
_v
(
"
"
),
n
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
t
.
showDialog4
}},[
t
.
_v
(
"
移除按钮栏
"
)]),
t
.
_v
(
"
"
),
n
(
"
a
"
,{
staticClass
:
"
button button-primary
"
,
attrs
:{
href
:
"
javascript:;
"
},
on
:{
click
:
t
.
showDialog5
}},[
t
.
_v
(
"
事件
"
)])],
1
)},
staticRenderFns
:[]}},
1227
:
function
(
t
,
o
,
n
){
var
i
=
n
(
1035
);
"
string
"
==
typeof
i
&&
(
i
=
[[
t
.
i
,
i
,
""
]]),
i
.
locals
&&
(
t
.
exports
=
i
.
locals
);
n
(
3
)(
"
f523229c
"
,
i
,
!
0
,{})},
792
:
function
(
t
,
o
,
n
){
function
i
(
t
){
n
(
1227
)}
var
a
=
n
(
1
)(
n
(
883
),
n
(
1134
),
i
,
null
,
null
);
t
.
exports
=
a
.
exports
},
883
:
function
(
t
,
o
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
o
,
"
__esModule
"
,{
value
:
!
0
}),
o
.
default
=
{
methods
:{
showDialog1
:
function
(){
var
t
=
{
id
:
"
demo1
"
,
title
:
"
自定义Dialog标题
"
,
content
:
"
小屏或移动端浏览效果最佳
"
};
this
.
$dialog
(
t
)},
showDialog2
:
function
(){
var
t
=
{
id
:
"
demo2
"
,
title
:
"
自定义Dialog标题
"
,
content
:
"
小屏或移动端浏览效果最佳
"
,
noCloseBtn
:
!
0
};
this
.
$dialog
(
t
)},
showDialog3
:
function
(){
var
t
=
{
id
:
"
demo3
"
,
content
:
"
小屏或移动端浏览效果最佳
"
,
noHeader
:
!
0
};
this
.
$dialog
(
t
)},
showDialog4
:
function
(){
var
t
=
{
title
:
"
自定义Dialog标题
"
,
content
:
"
小屏或移动端浏览效果最佳
"
,
noFooter
:
!
0
};
this
.
$dialog
(
t
)},
showDialog5
:
function
(){
var
t
=
{
title
:
"
自定义Dialog标题
"
,
content
:
"
小屏或移动端浏览效果最佳
"
,
onOkBtn
:
function
(
t
){
alert
(
"
okBtn
"
),
this
.
close
()},
onCancelBtn
:
function
(
t
){
alert
(
"
cancelBtn
"
)},
onCloseBtn
:
function
(
t
){
alert
(
"
closeBtn
"
)},
closeCallback
:
function
(
t
){
alert
(
"
will close
"
)}};
this
.
$dialog
(
t
)}}}}});
\ No newline at end of file
dist/88.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
88
],{
1047
:
function
(
t
,
a
,
e
){
a
=
t
.
exports
=
e
(
2
)(),
a
.
push
([
t
.
i
,
"
.data-picker{height:20px;width:100px;padding:5px 10px;border:1px solid #eee;border-radius:3px;line-height:20px;color:#666;font-size:.24rem}
"
,
""
])},
1146
:
function
(
t
,
a
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"
div
"
,[
e
(
"
nut-demoheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
}}),
t
.
_v
(
"
"
),
e
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
e
(
"
p
"
,[
t
.
_v
(
"
默认不选择日期
"
)]),
t
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
data-picker
"
,
on
:{
click
:
t
.
openDatePicker
}},[
t
.
_v
(
t
.
_s
(
t
.
dateParams
.
curDate
))]),
t
.
_v
(
"
"
),
t
.
isFold
?
e
(
"
nut-datepicker
"
,{
attrs
:{
params
:
t
.
dateParams
,
"
is-fold
"
:
t
.
isFold
},
on
:{
confirm
:
t
.
confirm
,
cancel
:
t
.
cancel
}}):
t
.
_e
(),
t
.
_v
(
"
"
),
e
(
"
p
"
,[
t
.
_v
(
"
有默认选择日期和设定了开始结束日期范围
"
)]),
t
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
data-picker
"
,
on
:{
click
:
t
.
openDatePicker1
}},[
t
.
_v
(
t
.
_s
(
t
.
dateParams1
.
curDate
))]),
t
.
_v
(
"
"
),
t
.
isFold1
?
e
(
"
nut-datepicker
"
,{
attrs
:{
params
:
t
.
dateParams1
,
"
is-fold
"
:
t
.
isFold1
},
on
:{
confirm
:
t
.
confirm1
,
cancel
:
t
.
cancel1
}}):
t
.
_e
(),
t
.
_v
(
"
"
),
e
(
"
p
"
,[
t
.
_v
(
"
默认不选择日期, 不存在确认取消按钮
"
)]),
t
.
_v
(
"
"
),
e
(
"
div
"
,{
staticClass
:
"
data-picker
"
,
on
:{
click
:
t
.
openDatePicker2
}},[
t
.
_v
(
t
.
_s
(
t
.
dateParams2
.
curDate
))]),
t
.
_v
(
"
"
),
t
.
isFold2
?
e
(
"
nut-datepicker
"
,{
attrs
:{
params
:
t
.
dateParams2
,
"
is-fold
"
:
t
.
isFold2
,
"
is-confirm-btn
"
:
t
.
isConfirmBtn
},
on
:{
confirm
:
t
.
confirm2
,
cancel
:
t
.
cancel2
}}):
t
.
_e
()],
1
)},
staticRenderFns
:[]}},
1239
:
function
(
t
,
a
,
e
){
var
i
=
e
(
1047
);
"
string
"
==
typeof
i
&&
(
i
=
[[
t
.
i
,
i
,
""
]]),
i
.
locals
&&
(
t
.
exports
=
i
.
locals
);
e
(
3
)(
"
2134dbd8
"
,
i
,
!
0
,{})},
791
:
function
(
t
,
a
,
e
){
function
i
(
t
){
e
(
1239
)}
var
n
=
e
(
1
)(
e
(
881
),
e
(
1146
),
i
,
null
,
null
);
t
.
exports
=
n
.
exports
},
881
:
function
(
t
,
a
,
e
){
"
use strict
"
;
Object
.
defineProperty
(
a
,
"
__esModule
"
,{
value
:
!
0
}),
a
.
default
=
{
data
:
function
(){
return
{
isFold
:
!
1
,
isFold1
:
!
1
,
isFold2
:
!
1
,
isConfirmBtn
:
!
1
,
dateParams
:{
curDate
:
"
请选择日期
"
},
dateParams1
:{
curDate
:
"
2018-01-27
"
,
minDate
:
"
2018-01-24
"
,
maxDate
:
"
2018-07-26
"
},
dateParams2
:{
curDate
:
"
请选择日期
"
}}},
computed
:{},
methods
:{
openDatePicker
:
function
(){
this
.
isFold
=!
0
},
openDatePicker1
:
function
(){
this
.
isFold1
=!
0
},
openDatePicker2
:
function
(){
this
.
isFold2
=!
0
},
cancel
:
function
(){
this
.
isFold
=!
1
},
confirm
:
function
(
t
){
this
.
dateParams
.
curDate
=
t
.
year
+
"
-
"
+
t
.
month
+
"
-
"
+
t
.
day
,
this
.
cancel
()},
cancel1
:
function
(){
this
.
isFold1
=!
1
},
confirm1
:
function
(
t
){
this
.
dateParams1
.
curDate
=
t
.
year
+
"
-
"
+
t
.
month
+
"
-
"
+
t
.
day
,
this
.
cancel1
()},
cancel2
:
function
(){
this
.
isFold2
=!
1
},
confirm2
:
function
(
t
){
this
.
dateParams2
.
curDate
=
t
.
year
+
"
-
"
+
t
.
month
+
"
-
"
+
t
.
day
,
this
.
cancel2
()}}}}});
\ No newline at end of file
dist/89.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
89
],{
1083
:
function
(
e
,
t
){
e
.
exports
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,[
n
(
"
nut-demoheader
"
,{
attrs
:{
name
:
e
.
$route
.
name
}}),
e
.
_v
(
"
"
),
n
(
"
h5
"
,[
e
.
_v
(
"
示例
"
)]),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
优惠券展示:京券
"
)]),
e
.
_v
(
"
"
),
n
(
"
nut-coupon
"
,{
attrs
:{
datas
:
e
.
beanData
[
0
]},
on
:{
"
immediate-use
"
:
e
.
immediateUse
}}),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
优惠券展示:东券
"
)]),
e
.
_v
(
"
"
),
n
(
"
nut-coupon
"
,{
attrs
:{
datas
:
e
.
beanData
[
1
]},
on
:{
"
immediate-use
"
:
e
.
immediateUse
}}),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
优惠券展示:运费券
"
)]),
e
.
_v
(
"
"
),
n
(
"
nut-coupon
"
,{
attrs
:{
datas
:
e
.
beanData
[
2
]},
on
:{
"
immediate-use
"
:
e
.
immediateUse
}}),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
优惠券展示:不可用券
"
)]),
e
.
_v
(
"
"
),
n
(
"
nut-coupon
"
,{
attrs
:{
datas
:
e
.
beanData
[
3
]},
on
:{
"
immediate-use
"
:
e
.
immediateUse
}}),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
切换状态
"
)]),
e
.
_v
(
"
"
),
n
(
"
nut-coupon
"
,{
attrs
:{
datas
:
e
.
beanData
[
0
],
"
is-switch
"
:
!
0
},
on
:{
"
switch-use
"
:
e
.
switchUse
}}),
e
.
_v
(
"
"
),
n
(
"
br
"
),
e
.
_v
(
"
"
),
n
(
"
nut-coupon
"
,{
attrs
:{
datas
:
e
.
beanData
[
3
],
"
is-switch
"
:
!
0
},
on
:{
"
switch-use
"
:
e
.
switchUse
}}),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
有活动角标
"
)]),
e
.
_v
(
"
"
),
n
(
"
nut-coupon
"
,{
attrs
:{
datas
:
e
.
beanData
[
0
],
"
is-switch
"
:
!
0
,
"
is-badge
"
:
!
0
},
on
:{
"
switch-use
"
:
e
.
switchUse
}})],
1
)},
staticRenderFns
:[]}},
1177
:
function
(
e
,
t
,
n
){
var
a
=
n
(
985
);
"
string
"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
n
(
3
)(
"
7b197505
"
,
a
,
!
0
,{})},
790
:
function
(
e
,
t
,
n
){
function
a
(
e
){
n
(
1177
)}
var
i
=
n
(
1
)(
n
(
880
),
n
(
1083
),
a
,
null
,
null
);
e
.
exports
=
i
.
exports
},
880
:
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
});
var
a
=
n
(
175
),
i
=
function
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}(
a
);
t
.
default
=
{
data
:
function
(){
return
{
beanData
:[{
id
:
1
,
discount
:
100
,
quota
:
400
,
couponType
:
0
,
couponLimitInfo
:
"
限自营好丽友商品
"
,
beginTime
:
"
2015.07.07
"
,
endTime
:
"
2015.07.07
"
,
isUsed
:
!
0
},{
id
:
2
,
discount
:
10
,
quota
:
60
,
couponType
:
1
,
couponLimitInfo
:
"
限自营盼盼品牌部分饼干类商品
"
,
beginTime
:
"
2015.07.07
"
,
endTime
:
"
2015.07.07
"
,
isUsed
:
!
0
},{
id
:
3
,
discount
:
10
,
quota
:
400
,
couponType
:
2
,
couponLimitInfo
:
"
限自营好丽友、盼盼品牌部分饼干类商品
"
,
beginTime
:
"
2015.07.07
"
,
endTime
:
"
2015.07.07
"
,
isUsed
:
!
0
},{
id
:
4
,
discount
:
10
,
quota
:
400
,
couponType
:
1
,
couponLimitInfo
:
"
限自营好丽友、盼盼品牌部分饼干类商品
"
,
beginTime
:
"
2015.07.07
"
,
endTime
:
"
2015.07.07
"
,
isUsed
:
!
1
}]}},
methods
:{
immediateUse
:
function
(
e
){
console
.
log
(
"
立即使用,数据如下:
"
+
(
0
,
i
.
default
)(
e
))},
switchUse
:
function
(
e
,
t
){
console
.
log
(
"
是否选中:
"
+
t
)}}}},
985
:
function
(
e
,
t
,
n
){
t
=
e
.
exports
=
n
(
2
)(),
t
.
push
([
e
.
i
,
"
.nut-coupon-badge{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF4AAABHCAMAAAC51QAPAAAAolBMVEUAAADxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1PxU1P////yY2P+9vb4sbH0gID72tr85OT5xsb97e33paX2mprzcnL1jY35u7v60NCA4MvPAAAAJnRSTlMABfv38RsS2Qnr5qyjdWNNQzUuJw3fzcF/07qaiGvItI9bVTwhlIHj3KYAAAO6SURBVFjDrJbpdtMwFIQphFKgQKEsLfs6d9Nu+f1fjdrJsQxhiQLzJ7ZyzidprnVHtx7fQa/On986XM/udfPvPe3gPz/v5t9+1ME/2KBiy+Pru//fIE9peb7/pMeghwfQgygFXl7fnHVM8O6vBiUaYOLLMnD9rIP/9MWf6SZaMgrVNnTnXQf/9I8GcRzZOzjPwLDs4MNpxwSPbv8eP0YOwlVKGkC6DD+4+C8GqVgiy5RNSEnR9Pakw6APv6YPlIzURDmGLNGw0svLfzWIJdxwJ+9Hn2rxPqsfl383jzv4Xx7s482x9xwiq5Qa4ISkJjQ9PO0w6PU+v9zQlWygAK8qJVHFWi++dGzg6ieDWEXMKCEHGTnRUJKJA4qWpclddVT4Ym2Qc0TVB6tgnbYhWsllGqaCD1j0qqPJ3X2FRdFpgXMAAjnmQCkPJooJr2jafD6cf3KFH1QdkCj5aEgU2I9o+KOa3MV9rKQRRgHT2mFRIvOCT2kvxnoNQnIcowSe157F4EcGDzzX5rgYO3mLlVxki77AoucBSOINMF8avjvGnjSDlCSDR8lFAiaNlCe85NrwvTF29/1ycPPcyZSi5+l9d7A47MpbWsx8PDvcoI9YlMUxnNg2XBxS3m7Lsalff0TXlx0GbVatISrNTI7CCNsNOLqRqxnHxdjXl607jFR3xttskGNUUkepobub3Mm3dllwgA1p3FlhUZQCUNsN4pgY+7wYxEAkonFJYJJtWXwj98fYZTMIOrBT8ExXituFW8ae3n89mH/2BiuFCIrOTUUtWbzh19p8OtygT5t19Ko6Jy4kSihe5qUXxZ46QubyerV8SpgVx/loZYA9jbydnHvwzaDzNb/Ov5UmVuZ5RKLtTlzDH3lTV3IzmHY1TRRgXtK0C9vD99/Uh++1lzkOwzAMBJ9D0jocSfb/vxZEYrJIo4LGdq7G4vIAZr1V6toAKTpjqt+dAD6mMn3emWx+JLoX5TsBfDigKre2Y92d4m0VsfGPjwf0sjOtQu71pWYjIx3gYwGlU8a6FWmaUfl0+vIJBT4ckHoSq60+rs2L2uADrneIZC/KrG/wMddLJtb8R3Xz+pjraRFva5KyyT6oMnOfLsmqZv05Hq6HQGZbi4zNYMZUZkhRn9XN3IcDMvNZ7LgKj/FwvdF+A6QBfECGn+Hhehw8XI+Eh+tx8HA9Dh4qw8HD9Uh4uB4Hj4A4eLgeCQ/X4+Dhehw8XI+Eh+tx8HA9Dh6uR8LD9Th4uB4HD9cj4eF6HDxcj4OH670BF4mZsTPggWgAAAAASUVORK5CYII=)}
"
,
""
])}});
\ No newline at end of file
dist/9.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
9
],{
1098
:
function
(
e
,
t
){
e
.
exports
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,[
n
(
"
nut-docheader
"
,{
attrs
:{
name
:
e
.
$route
.
name
,
chName
:
e
.
$route
.
params
.
chnName
,
type
:
"
Filter
"
,
desc
:
"
在支持webp格式的浏览器里给图片url加上“.webp”扩展名。
"
,
showQrCode
:
!
0
}}),
e
.
_v
(
"
"
),
n
(
"
h5
"
,[
e
.
_v
(
"
示例
"
)]),
e
.
_v
(
"
"
),
n
(
"
div
"
,{
staticStyle
:{
width
:
"
100%
"
,
overflow
:
"
hidden
"
}},[
n
(
"
img
"
,{
attrs
:{
src
:
e
.
_f
(
"
webp
"
)(
e
.
imgUrl
),
alt
:
""
}})]),
e
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
e
.
demo1
}}),
e
.
_v
(
"
"
),
n
(
"
nut-codebox
"
,{
attrs
:{
code
:
"
export default {
\n
data(){
\n
return{
\n
imgUrl:'//img10.360buyimg.com/n1/s368x368_jfs/t6499/90/
\n
1456804243/302655/1e93032/5951e7ecNafb50399.jpg'
\n
}
\n
}
\n
}
"
}})],
1
)},
staticRenderFns
:[]}},
1191
:
function
(
e
,
t
,
n
){
var
r
=
n
(
999
);
"
string
"
==
typeof
r
&&
(
r
=
[[
e
.
i
,
r
,
""
]]),
r
.
locals
&&
(
e
.
exports
=
r
.
locals
);
n
(
3
)(
"
8337168c
"
,
r
,
!
0
,{})},
872
:
function
(
e
,
t
,
n
){
function
r
(
e
){
n
(
1191
)}
var
o
=
n
(
1
)(
n
(
966
),
n
(
1098
),
r
,
null
,
null
);
e
.
exports
=
o
.
exports
},
966
:
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
{
data
:
function
(){
return
{
imgUrl
:
"
//img10.360buyimg.com/n1/s368x368_jfs/t6499/90/1456804243/302655/1e93032/5951e7ecNafb50399.jpg
"
,
demo1
:
'
<img :src="imgUrl | webp" alt=""/>
'
}}}},
999
:
function
(
e
,
t
,
n
){
t
=
e
.
exports
=
n
(
2
)(),
t
.
push
([
e
.
i
,
""
,
""
])}});
\ No newline at end of file
dist/90.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
90
],{
1025
:
function
(
e
,
t
,
n
){
t
=
e
.
exports
=
n
(
2
)(),
t
.
push
([
e
.
i
,
"
.nut-checkboxgroup .checkboxlist{display:inline-block;width:100px}
"
,
""
])},
1124
:
function
(
e
,
t
){
e
.
exports
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,[
n
(
"
nut-demoheader
"
,{
attrs
:{
name
:
e
.
$route
.
name
}}),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
默认用法
"
)]),
e
.
_v
(
"
"
),
n
(
"
nut-checkboxgroup
"
,{
attrs
:{
data
:
e
.
data1
}}),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
回调事件
"
)]),
e
.
_v
(
"
"
),
n
(
"
nut-checkboxgroup
"
,{
attrs
:{
data
:
e
.
data2
},
on
:{
change
:
e
.
checkboxgroupChange
}}),
e
.
_v
(
"
"
),
n
(
"
p
"
,[
e
.
_v
(
"
禁用选项
"
)]),
e
.
_v
(
"
"
),
n
(
"
nut-checkboxgroup
"
,{
attrs
:{
inline
:
!
0
,
data
:
e
.
data3
}})],
1
)},
staticRenderFns
:[]}},
1217
:
function
(
e
,
t
,
n
){
var
a
=
n
(
1025
);
"
string
"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
n
(
3
)(
"
745d3dbe
"
,
a
,
!
0
,{})},
789
:
function
(
e
,
t
,
n
){
function
a
(
e
){
n
(
1217
)}
var
c
=
n
(
1
)(
n
(
879
),
n
(
1124
),
a
,
null
,
null
);
e
.
exports
=
c
.
exports
},
879
:
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
});
var
a
=
n
(
20
);
!
function
(
e
){
e
&&
e
.
__esModule
}(
a
);
t
.
default
=
{
data
:
function
(){
return
{
data1
:[{
id
:
1
,
name
:
"
test1
"
,
value
:
1
},{
id
:
2
,
name
:
"
test1
"
,
value
:
2
},{
id
:
3
,
name
:
"
test1
"
,
value
:
3
},{
id
:
4
,
name
:
"
test1
"
,
value
:
4
},{
id
:
5
,
name
:
"
test1
"
,
value
:
5
}],
data2
:[{
id
:
10
,
name
:
"
test
"
,
value
:
"
是
"
,
label
:
"
是
"
,
checked
:
!
0
},{
id
:
12
,
name
:
"
test
"
,
value
:
"
否
"
,
label
:
"
否
"
,
checked
:
!
1
}],
data3
:[{
id
:
11
,
name
:
"
test2
"
,
value
:
"
足球
"
},{
id
:
22
,
name
:
"
test2
"
,
value
:
"
篮球
"
,
checked
:
!
1
},{
id
:
33
,
name
:
"
test2
"
,
value
:
"
羽毛球
"
,
checked
:
!
1
},{
id
:
44
,
name
:
"
test2
"
,
value
:
"
乒乓球
"
,
disabled
:
!
0
,
checked
:
!
1
},{
id
:
55
,
name
:
"
test2
"
,
value
:
"
排球
"
,
checked
:
!
0
}],
demo1
:
"
<nut-checkboxgroup :data=
\"
data1
\"
></nut-checkboxgroup>
\n
data(){
\n
return{
\n
data1:[
\n
{id:1,name:'test1',value:1},
\n
{id:2,name:'test1',value:2},
\n
{id:3,name:'test1',value:3},
\n
{id:4,name:'test1',value:4},
\n
{id:5,name:'test1',value:5}
\n
],
\n
}
\n
},
"
,
demo2
:
"
<nut-checkboxgroup
\n
:data=
\"
data2
\"
\n
@change=
\"
test1
\"
>
\n
</nut-checkboxgroup>
\n
data(){
\n
return{
\n
data2:[
\n
{id:10,name:'test',value:'是',label:'是',checked:true},
\n
{id:12,name:'test',value:'否',label:'否',checked:false},
\n
],
\n
}
\n
},
\n
methods:{
\n
\n
test1(item){
\n
alert(item.value+'checked:'+event.target.checked);
\n
},
\n
}
"
,
demo3
:
"
<nut-checkboxgroup
\n
:data=
\"
data3
\"
\n
@change=
\"
change
\"
>
\n
</nut-checkboxgroup>
\n
data(){
\n
return{
\n
data3:[
\n
{id:11,name:'test2',value:'足球',},
\n
{id:22,name:'test2',value:'篮球',checked:false},
\n
{id:33,name:'test2',value:'羽毛球',checked:false},
\n
{id:44,name:'test2',value:'乒乓球',disabled:true,checked:false},
\n
{id:55,name:'test2',value:'排球',checked:true}
\n
],
\n
}
\n
},
\n
methods:{
\n
change(item,index){
\n
console.log(index,event.target.value,event.target.checked,);
\n
}
\n
}
\n\n
<style>
\n
.nut-checkboxgroup .checkboxlist{
\n
display: inline-block;
\n
width: 100px;
\n
}
\n
</style>
"
}},
components
:{},
methods
:{
checkboxgroupChange
:
function
(
e
,
t
,
n
,
a
){
alert
(
t
.
label
+
"
:
"
+
a
.
target
.
checked
)}}}}});
\ No newline at end of file
dist/91.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
91
],{
1001
:
function
(
e
,
t
,
c
){
t
=
e
.
exports
=
c
(
2
)(),
t
.
push
([
e
.
i
,
"
.nut-checkbox{display:inline-block;margin-bottom:0}
"
,
""
])},
1100
:
function
(
e
,
t
){
e
.
exports
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
c
=
e
.
_self
.
_c
||
t
;
return
c
(
"
div
"
,[
c
(
"
nut-demoheader
"
,{
attrs
:{
name
:
e
.
$route
.
name
}}),
e
.
_v
(
"
"
),
c
(
"
h5
"
,[
e
.
_v
(
"
示例
"
)]),
e
.
_v
(
"
"
),
c
(
"
p
"
,[
e
.
_v
(
"
默认用法
"
)]),
e
.
_v
(
"
"
),
c
(
"
nut-checkbox
"
),
e
.
_v
(
"
"
),
c
(
"
p
"
,[
e
.
_v
(
"
点击触发事件
"
)]),
e
.
_v
(
"
"
),
c
(
"
nut-checkbox
"
,{
attrs
:{
checked
:
e
.
checked
},
on
:{
change
:
e
.
inputCheck
}}),
e
.
_v
(
"
"
),
c
(
"
p
"
,[
e
.
_v
(
"
禁用选项
"
)]),
e
.
_v
(
"
"
),
c
(
"
nut-checkbox
"
,{
attrs
:{
name
:
"
test2
"
,
checked
:
e
.
checked2
,
disabled
:
!
0
}}),
e
.
_v
(
"
"
),
c
(
"
nut-checkbox
"
,{
attrs
:{
name
:
"
test2
"
,
checked
:
e
.
checked2
}})],
1
)},
staticRenderFns
:[]}},
1193
:
function
(
e
,
t
,
c
){
var
n
=
c
(
1001
);
"
string
"
==
typeof
n
&&
(
n
=
[[
e
.
i
,
n
,
""
]]),
n
.
locals
&&
(
e
.
exports
=
n
.
locals
);
c
(
3
)(
"
55312ff9
"
,
n
,
!
0
,{})},
788
:
function
(
e
,
t
,
c
){
function
n
(
e
){
c
(
1193
)}
var
o
=
c
(
1
)(
c
(
878
),
c
(
1100
),
n
,
null
,
null
);
e
.
exports
=
o
.
exports
},
878
:
function
(
e
,
t
,
c
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
{
data
:
function
(){
return
{
checked
:
!
1
,
checked2
:
!
1
}},
methods
:{
inputCheck
:
function
(){
this
.
checked
=!
this
.
checked
,
alert
(
this
.
checked
),
console
.
log
(
event
.
target
.
checked
)}}}}});
\ No newline at end of file
dist/92.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
92
],{
1096
:
function
(
r
,
v
){
r
.
exports
=
{
render
:
function
(){
var
r
=
this
,
v
=
r
.
$createElement
,
_
=
r
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,[
_
(
"
nut-demoheader
"
,{
attrs
:{
name
:
r
.
$route
.
name
}}),
r
.
_v
(
"
"
),
_
(
"
nut-ceilinglamp
"
,{
attrs
:{
fixedTop
:
r
.
fixedTop
,
fixedType
:
r
.
fixedType
,
arrivalEl
:
r
.
arrivalEl
}},[
_
(
"
div
"
,{
staticClass
:
"
ceildiv
"
},[
r
.
_v
(
"
我能自动固定到顶部
"
)])]),
r
.
_v
(
"
"
),
_
(
"
h5
"
,[
r
.
_v
(
"
Options
"
)]),
r
.
_v
(
"
"
),
r
.
_m
(
0
)],
1
)},
staticRenderFns
:[
function
(){
var
r
=
this
,
v
=
r
.
$createElement
,
_
=
r
.
_self
.
_c
||
v
;
return
_
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
r
.
_v
(
"
\n
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
\n
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
_
(
"
br
"
),
_
(
"
br
"
),
_
(
"
br
"
),
r
.
_v
(
"
"
),
_
(
"
div
"
,{
attrs
:{
id
:
"
arrivalEl
"
}},[
r
.
_v
(
"
我是坐标元素,如果我向上滚动消失了,吸顶也消失
"
)]),
_
(
"
br
"
),
_
(
"
br
"
),
_
(
"
br
"
),
r
.
_v
(
"
\n
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
),
r
.
_v
(
"
滚动滚动
"
),
_
(
"
br
"
)])}]}},
1189
:
function
(
r
,
v
,
_
){
var
b
=
_
(
997
);
"
string
"
==
typeof
b
&&
(
b
=
[[
r
.
i
,
b
,
""
]]),
b
.
locals
&&
(
r
.
exports
=
b
.
locals
);
_
(
3
)(
"
fe46e2da
"
,
b
,
!
0
,{})},
787
:
function
(
r
,
v
,
_
){
function
b
(
r
){
_
(
1189
)}
var
e
=
_
(
1
)(
_
(
877
),
_
(
1096
),
b
,
"
data-v-45ecbfa0
"
,
null
);
r
.
exports
=
e
.
exports
},
877
:
function
(
r
,
v
,
_
){
"
use strict
"
;
Object
.
defineProperty
(
v
,
"
__esModule
"
,{
value
:
!
0
});
var
b
=
_
(
20
);
!
function
(
r
){
r
&&
r
.
__esModule
}(
b
);
v
.
default
=
{
data
:
function
(){
return
{
fixedTop
:
0
,
fixedType
:
!
0
,
arrivalEl
:
"
#arrivalEl
"
}},
methods
:{}}},
997
:
function
(
r
,
v
,
_
){
v
=
r
.
exports
=
_
(
2
)(),
v
.
push
([
r
.
i
,
"
.ceildiv[data-v-45ecbfa0]{width:100%;height:40px;line-height:40px;text-align:center;background:#f8f8f8;border:1px solid #ccc}
"
,
""
])}});
\ No newline at end of file
dist/93.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
93
],{
1066
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"
div
"
,[
a
(
"
nut-demoheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
}}),
t
.
_v
(
"
"
),
a
(
"
p
"
,[
t
.
_v
(
"
默认用法
"
)]),
t
.
_v
(
"
"
),
a
(
"
nut-badge
"
,{
staticClass
:
"
item
"
,
attrs
:{
value
:
12
}},[
a
(
"
button
"
,[
t
.
_v
(
"
普通模式
"
)])]),
t
.
_v
(
"
"
),
a
(
"
p
"
,[
t
.
_v
(
"
Max用法
"
)]),
t
.
_v
(
"
"
),
a
(
"
nut-badge
"
,{
staticClass
:
"
item
"
,
attrs
:{
value
:
200
,
max
:
99
}},[
a
(
"
button
"
,[
t
.
_v
(
"
max模式
"
)])]),
t
.
_v
(
"
"
),
a
(
"
p
"
,[
t
.
_v
(
"
文字用法
"
)]),
t
.
_v
(
"
"
),
a
(
"
nut-badge
"
,{
staticClass
:
"
item
"
,
attrs
:{
value
:
"
new
"
}},[
a
(
"
button
"
,[
t
.
_v
(
"
文字用法
"
)])]),
t
.
_v
(
"
"
),
a
(
"
p
"
,[
t
.
_v
(
"
小圆点
"
)]),
t
.
_v
(
"
"
),
a
(
"
nut-badge
"
,{
staticClass
:
"
item
"
,
attrs
:{
isDot
:
!
0
}},[
a
(
"
button
"
,[
t
.
_v
(
"
小圆点
"
)])]),
t
.
_v
(
"
"
),
a
(
"
p
"
,[
t
.
_v
(
"
文字内容
"
)]),
t
.
_v
(
"
"
),
a
(
"
nut-badge
"
,{
staticClass
:
"
item
"
,
attrs
:{
isDot
:
!
0
}},[
t
.
_v
(
"
文字内容
"
)])],
1
)},
staticRenderFns
:[]}},
1160
:
function
(
t
,
e
,
a
){
var
n
=
a
(
968
);
"
string
"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
3
)(
"
f612f7e6
"
,
n
,
!
0
,{})},
786
:
function
(
t
,
e
,
a
){
function
n
(
t
){
a
(
1160
)}
var
s
=
a
(
1
)(
a
(
876
),
a
(
1066
),
n
,
null
,
null
);
t
.
exports
=
s
.
exports
},
876
:
function
(
t
,
e
,
a
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-badge :value="1"><div>我是按钮</div></nut-badge>
'
,
demo2
:
'
<nut-badge :value="200" :max="99" class="item"><button>max模式</button></nut-badge>
'
,
demo3
:
'
<nut-badge value="new" class="item"><button>文字用法</button></nut-badge>
'
,
demo4
:
'
<nut-badge :isDot="true" class="item"><button>小圆点</button></nut-badge>
'
,
demo5
:
'
<nut-badge :isDot="true" class="item">文字内容</nut-badge>
'
}},
methods
:{
showMask
:
function
(){
this
.
maskShow
=!
0
},
hideMask
:
function
(){
this
.
maskShow
=!
1
}}}},
968
:
function
(
t
,
e
,
a
){
e
=
t
.
exports
=
a
(
2
)(),
e
.
push
([
t
.
i
,
"
.item{display:inline-block}
"
,
""
])}});
\ No newline at end of file
dist/94.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
94
],{
1017
:
function
(
t
,
e
,
n
){
e
=
t
.
exports
=
n
(
2
)(),
e
.
push
([
t
.
i
,
""
,
""
])},
1116
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,[
n
(
"
nut-demoheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
}}),
t
.
_v
(
"
"
),
n
(
"
nut-gotop
"
,{
attrs
:{
bottom
:.
8
,
right
:.
5
,
screenNum
:.
5
}}),
t
.
_v
(
"
"
),
t
.
_m
(
0
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"
div
"
,{
staticStyle
:{
height
:
"
1500px
"
}},[
n
(
"
p
"
,[
t
.
_v
(
"
我是一个长页面,请一直向下拉...
"
)])])}]}},
1209
:
function
(
t
,
e
,
n
){
var
o
=
n
(
1017
);
"
string
"
==
typeof
o
&&
(
o
=
[[
t
.
i
,
o
,
""
]]),
o
.
locals
&&
(
t
.
exports
=
o
.
locals
);
n
(
3
)(
"
5c5aae2d
"
,
o
,
!
0
,{})},
785
:
function
(
t
,
e
,
n
){
function
o
(
t
){
n
(
1209
)}
var
r
=
n
(
1
)(
n
(
875
),
n
(
1116
),
o
,
null
,
null
);
t
.
exports
=
r
.
exports
},
875
:
function
(
t
,
e
,
n
){
"
use strict
"
;
function
o
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
});
var
r
=
n
(
20
),
u
=
(
o
(
r
),
n
(
176
)),
s
=
o
(
u
);
e
.
default
=
{
data
:
function
(){
return
{
demo1
:
'
<nut-gotop :bottom="80" :right="30" :screenNum="0.5"></nut-gotop>
'
}},
components
:{
"
nut-gotop
"
:
s
.
default
},
methods
:{}}}});
\ No newline at end of file
dist/95.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
95
],{
1038
:
function
(
n
,
o
,
t
){
o
=
n
.
exports
=
t
(
2
)(),
o
.
push
([
n
.
i
,
""
,
""
])},
1137
:
function
(
n
,
o
){
n
.
exports
=
{
render
:
function
(){
var
n
=
this
,
o
=
n
.
$createElement
,
t
=
n
.
_self
.
_c
||
o
;
return
t
(
"
div
"
,[
t
(
"
nut-demoheader
"
,{
attrs
:{
name
:
n
.
$route
.
name
}}),
n
.
_v
(
"
"
),
t
(
"
h5
"
,[
n
.
_v
(
"
示例
"
)]),
n
.
_v
(
"
"
),
t
(
"
p
"
,[
n
.
_v
(
"
默认用法
"
)]),
n
.
_v
(
"
"
),
t
(
"
nut-advertisemask
"
,{
attrs
:{
imgSrc
:
"
/asset/img/advertising/adver.png
"
,
linkHref
:
"
https://m.jd.com/
"
,
picWidth
:
5
,
picHeight
:
6
,
clickMask
:
!
0
,
showClose
:
!
0
,
closeTop
:
3
,
closeRight
:.
8
,
closeScale
:
1.2
,
circleShow
:
!
0
,
initShow
:
n
.
initShow
},
on
:{
"
update:initShow
"
:
function
(
o
){
n
.
initShow
=
o
},
jumpTo
:
n
.
jumpToFun
,
closeMask
:
n
.
closeMaskFun
,
maskClose
:
n
.
maskClose
,
maskOpen
:
n
.
maskOpen
}}),
n
.
_v
(
"
"
),
t
(
"
button
"
,{
staticClass
:
"
button button-primary
"
,
on
:{
click
:
n
.
clickMe
}},[
n
.
_v
(
"
点击出现广告蒙层
"
)])],
1
)},
staticRenderFns
:[]}},
1230
:
function
(
n
,
o
,
t
){
var
e
=
t
(
1038
);
"
string
"
==
typeof
e
&&
(
e
=
[[
n
.
i
,
e
,
""
]]),
e
.
locals
&&
(
n
.
exports
=
e
.
locals
);
t
(
3
)(
"
36496ca6
"
,
e
,
!
0
,{})},
784
:
function
(
n
,
o
,
t
){
function
e
(
n
){
t
(
1230
)}
var
i
=
t
(
1
)(
t
(
874
),
t
(
1137
),
e
,
null
,
null
);
n
.
exports
=
i
.
exports
},
874
:
function
(
n
,
o
,
t
){
"
use strict
"
;
Object
.
defineProperty
(
o
,
"
__esModule
"
,{
value
:
!
0
});
var
e
=
t
(
20
);
!
function
(
n
){
n
&&
n
.
__esModule
}(
e
);
o
.
default
=
{
data
:
function
(){
return
{
initShow
:
!
0
,
initCeshi
:
1
,
demo1
:
""
}},
components
:{},
methods
:{
jumpToFun
:
function
(){
console
.
log
(
"
点击了跳转
"
)},
closeMaskFun
:
function
(){
console
.
log
(
"
点击了关闭按钮
"
)},
maskClose
:
function
(){
console
.
log
(
"
关闭了蒙层
"
)},
maskOpen
:
function
(){
console
.
log
(
"
打开了蒙层
"
)},
clickMe
:
function
(){
this
.
initShow
=!
0
}}}}});
\ No newline at end of file
dist/96.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
96
],{
1065
:
function
(
i
,
t
){
i
.
exports
=
{
render
:
function
(){
var
i
=
this
,
t
=
i
.
$createElement
,
e
=
i
.
_self
.
_c
||
t
;
return
e
(
"
div
"
,[
e
(
"
nut-demoheader
"
,{
attrs
:{
name
:
i
.
$route
.
name
}}),
i
.
_v
(
"
"
),
e
(
"
h5
"
,[
i
.
_v
(
"
1.基本功能:添加图片并显示
"
)]),
i
.
_v
(
"
"
),
e
(
"
ul
"
,{
staticClass
:
"
img-box
"
},
i
.
_l
(
i
.
imgs1
,
function
(
i
,
t
){
return
e
(
"
li
"
,{
key
:
t
},[
e
(
"
img
"
,{
attrs
:{
src
:
i
,
alt
:
""
}})])})),
i
.
_v
(
"
"
),
e
(
"
nut-addimagesbox
"
,{
staticClass
:
"
btn
"
,
attrs
:{
icon
:
i
.
icon
},
on
:{
imgMsg
:
i
.
addimg1
}}),
i
.
_v
(
"
"
),
e
(
"
h5
"
,[
i
.
_v
(
"
限制图片大小及张数
"
)]),
i
.
_v
(
"
"
),
e
(
"
ul
"
,{
staticClass
:
"
img-box
"
},
i
.
_l
(
i
.
imgs
,
function
(
i
,
t
){
return
e
(
"
li
"
,{
key
:
t
},[
e
(
"
img
"
,{
attrs
:{
src
:
i
,
alt
:
""
}})])})),
i
.
_v
(
"
"
),
e
(
"
nut-addimagesbox
"
,{
staticClass
:
"
btn
"
,
attrs
:{
icon
:
i
.
icon
,
size
:
8
e3
,
maxImg
:
6
,
isUpload
:
!
0
,
ajax
:
i
.
option
},
on
:{
imgMsg
:
i
.
addimg
}}),
i
.
_v
(
"
"
),
e
(
"
h5
"
,[
i
.
_v
(
"
图片删除,提供了delete接口可以直接选取要删除的图片,单击图片删除
"
)]),
i
.
_v
(
"
"
),
e
(
"
ul
"
,{
staticClass
:
"
img-box
"
},
i
.
_l
(
i
.
imgs3
,
function
(
t
,
o
){
return
e
(
"
li
"
,{
key
:
o
,
on
:{
click
:
function
(
t
){
i
.
deleteImg
(
o
)}}},[
e
(
"
img
"
,{
attrs
:{
src
:
t
,
alt
:
""
}})])})),
i
.
_v
(
"
"
),
e
(
"
nut-addimagesbox
"
,{
staticClass
:
"
btn
"
,
attrs
:{
icon
:
i
.
icon
,
delete
:
i
.
delete3
},
on
:{
imgMsg
:
i
.
addimg3
}}),
i
.
_v
(
"
"
),
e
(
"
h5
"
,[
i
.
_v
(
"
提供图片大图预览功能
"
)]),
i
.
_v
(
"
"
),
e
(
"
p
"
,[
i
.
_v
(
"
该功能主要结合nut-pictureview组件一起使用,代码示例:
"
)]),
i
.
_v
(
"
"
),
e
(
"
ul
"
,{
staticClass
:
"
img-box
"
},
i
.
_l
(
i
.
imgs5
,
function
(
t
,
o
){
return
e
(
"
li
"
,{
key
:
o
,
on
:{
click
:
function
(
t
){
i
.
setPicShow
(
o
)}}},[
e
(
"
img
"
,{
attrs
:{
src
:
t
,
alt
:
""
}})])})),
i
.
_v
(
"
"
),
e
(
"
nut-addimagesbox
"
,{
attrs
:{
id
:
"
pictureView
"
,
visible
:
i
.
picShow
,
bgColor
:
i
.
coverColor
,
imgArr
:
i
.
imgs5
,
initNum
:
i
.
picShowNum
,
pagination
:
i
.
showPage
},
on
:{
"
update:visible
"
:
function
(
t
){
i
.
picShow
=
t
},
"
close-pic
"
:
i
.
closeDo
}}),
i
.
_v
(
"
"
),
e
(
"
nut-addimagesbox
"
,{
staticClass
:
"
btn
"
,
attrs
:{
icon
:
i
.
icon
},
on
:{
imgMsg
:
i
.
addimg5
}})],
1
)},
staticRenderFns
:[]}},
1159
:
function
(
i
,
t
,
e
){
var
o
=
e
(
967
);
"
string
"
==
typeof
o
&&
(
o
=
[[
i
.
i
,
o
,
""
]]),
o
.
locals
&&
(
i
.
exports
=
o
.
locals
);
e
(
3
)(
"
6c58fc1e
"
,
o
,
!
0
,{})},
783
:
function
(
i
,
t
,
e
){
function
o
(
i
){
e
(
1159
)}
var
s
=
e
(
1
)(
e
(
873
),
e
(
1065
),
o
,
null
,
null
);
i
.
exports
=
s
.
exports
},
873
:
function
(
i
,
t
,
e
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
{
data
:
function
(){
return
{
icon
:
'
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve"><g><g transform="translate(0.000000,511.000000) scale(0.100000,-0.100000)"><path d="M4375.3,1752.6V739.1H3361.7H2348.2V112.5V-514h1013.5h1013.5v-1013.5v-1013.5h626.6h626.6v1013.5V-514h1013.5h1013.5v626.5v626.6H6641.9H5628.4v1013.5v1013.5h-626.6h-626.6V1752.6z" style="fill:#FFFFFF"></path></g></g></svg>
'
,
imgs1
:[],
imgs3
:[],
imgs5
:[],
imgs
:[],
option
:{
url
:
"
http://localhost:8080/#/Uploader
"
,
method
:
"
POST
"
},
delete3
:
""
,
picShow
:
!
1
,
picShowNum
:
1
,
showPage
:
!
0
,
coverColor
:
"
rgba(0,0,0,.7)
"
,
demo1
:
'
<ul class="img-box"><li v-for="(img,key) in imgs5" :key="key" @click="setPicShow(key)"><img :src="img" alt=""></li></ul><nut-pictureview :visible.sync="picShow" :bgColor="coverColor" :imgArr="imgs5" :initNum="picShowNum" :pagination="showPage" @close-pic="closeDo"></nut-pictureview><nut-addimagesbox class="btn" @imgMsg="addimg5"></nut-addimagesbox>
'
}},
methods
:{
addimg1
:
function
(
i
){
var
t
=
this
;
3
==
i
.
code
&&
(
t
.
imgs1
=
i
.
msg
.
imgs
)},
addimg3
:
function
(
i
){
var
t
=
this
;
3
==
i
.
code
&&
(
t
.
imgs3
=
i
.
msg
.
imgs
)},
addimg5
:
function
(
i
){
var
t
=
this
;
3
==
i
.
code
&&
(
t
.
imgs5
=
i
.
msg
.
imgs
)},
addimg
:
function
(
i
){
console
.
log
(
"
图片信息:
"
,
i
);
var
t
=
this
;
3
==
i
.
code
&&
(
t
.
imgs
=
i
.
msg
.
imgs
)},
deleteImg
:
function
(
i
){
console
.
log
(
i
);
var
t
=
this
,
e
=
Number
(
new
Date
);
t
.
delete3
=
i
+
"
-
"
+
e
,
console
.
log
(
t
.
delete3
)},
setPicShow
:
function
(
i
){
this
.
picShowNum
=
i
+
1
,
this
.
picShow
=!
0
}}}},
967
:
function
(
i
,
t
,
e
){
t
=
i
.
exports
=
e
(
2
)(),
t
.
push
([
i
.
i
,
'
.btn{width:.8rem;height:.8rem;border-radius:6px;background:#2688ca}.btn svg{max-height:100%;transform:scale(.7);color:#fff}.img-box{min-height:110px;line-height:100px;padding-top:10px;background:#f2f2f2}.img-box li{float:left;list-style:none;width:100px;height:100px;margin-right:10px;border:1px solid #ddd;text-align:center;overflow:hidden}.img-box li img{max-height:100%}.img-box:after{content:"";display:block;clear:both}#pictureView .nut-swiper{width:750px}#pictureView .nut-swiper img{width:750px;height:750px}#pictureView .pv-con .nut-swiper{height:auto}
'
,
""
])}});
\ No newline at end of file
dist/97.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
97
],{
1085
:
function
(
t
,
e
){
t
.
exports
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
d
=
t
.
_self
.
_c
||
e
;
return
d
(
"
div
"
,[
d
(
"
nut-docheader
"
,{
attrs
:{
name
:
t
.
$route
.
name
,
chName
:
t
.
$route
.
params
.
chnName
,
type
:
"
Component
"
,
desc
:
"
左划展示操作按钮,例如删除、收藏等按钮。
"
,
showQrCode
:
!
0
}}),
t
.
_v
(
"
"
),
d
(
"
h5
"
,[
t
.
_v
(
"
示例
"
)]),
t
.
_v
(
"
"
),
d
(
"
nut-codebox
"
,{
attrs
:{
code
:
t
.
demo
,
imgUrl
:
"
../asset/img/demo/sideslipbutton.jpg
"
}}),
t
.
_v
(
"
"
),
d
(
"
h5
"
,[
t
.
_v
(
"
Props
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
0
),
t
.
_v
(
"
"
),
d
(
"
h5
"
,[
t
.
_v
(
"
Events
"
)]),
t
.
_v
(
"
"
),
t
.
_m
(
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
d
=
t
.
_self
.
_c
||
e
;
return
d
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
d
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
d
(
"
thead
"
,[
d
(
"
tr
"
,[
d
(
"
th
"
,[
t
.
_v
(
"
参数
"
)]),
t
.
_v
(
"
"
),
d
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
d
(
"
th
"
,[
t
.
_v
(
"
类型
"
)]),
t
.
_v
(
"
"
),
d
(
"
th
"
,[
t
.
_v
(
"
默认值
"
)]),
t
.
_v
(
"
"
),
d
(
"
th
"
,[
t
.
_v
(
"
可选值/备注
"
)])])]),
t
.
_v
(
"
"
),
d
(
"
tbody
"
,[
d
(
"
tr
"
,[
d
(
"
td
"
,[
t
.
_v
(
"
during
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
缓动效果时长
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
Number
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
1
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
单位是s
"
)])]),
t
.
_v
(
"
"
),
d
(
"
tr
"
,[
d
(
"
td
"
,[
t
.
_v
(
"
isClickRestore
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
是否在点击的时候恢复原状
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
Boolean
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
true
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
true/false
"
)])])])])])},
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
d
=
t
.
_self
.
_c
||
e
;
return
d
(
"
div
"
,{
staticClass
:
"
tbl-wrapper
"
},[
d
(
"
table
"
,{
staticClass
:
"
u-full-width
"
},[
d
(
"
thead
"
,[
d
(
"
tr
"
,[
d
(
"
th
"
,[
t
.
_v
(
"
事件名
"
)]),
t
.
_v
(
"
"
),
d
(
"
th
"
,[
t
.
_v
(
"
说明
"
)]),
t
.
_v
(
"
"
),
d
(
"
th
"
,[
t
.
_v
(
"
回调参数
"
)])])]),
t
.
_v
(
"
"
),
d
(
"
tbody
"
,[
d
(
"
tr
"
,[
d
(
"
td
"
,[
t
.
_v
(
"
slide-left
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
左划时触发事件
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
d
(
"
tr
"
,[
d
(
"
td
"
,[
t
.
_v
(
"
slide-right
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
右划时触发事件
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
--
"
)])]),
t
.
_v
(
"
"
),
d
(
"
tr
"
,[
d
(
"
td
"
,[
t
.
_v
(
"
slide-no
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
点击时触发事件
"
)]),
t
.
_v
(
"
"
),
d
(
"
td
"
,[
t
.
_v
(
"
--
"
)])])])])])}]}},
859
:
function
(
t
,
e
,
d
){
var
v
=
d
(
1
)(
d
(
953
),
d
(
1085
),
null
,
null
,
null
);
t
.
exports
=
v
.
exports
},
953
:
function
(
t
,
e
,
d
){
"
use strict
"
;
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
{
data
:
function
(){
return
{
demo
:
'
<nut-sideslipbutton @slide-left="slideLeft" @slide-right="slideRight" @slide-no="slideNo" :during="0.5">
\n
<div slot="slidedom" class="slidedom">
\n
<div class="addr">
\n
<p class="name-mobile">159****8888</p>
\n
<p class="full-addr">北京市大兴区亦庄经济开发中心京东大厦B座</p>
\n
</div>
\n
<a class="addr-edit" href="javascript:void(0)"></a>
\n
</div>
\n
<div slot="slideoper" class="slideoper">删除/收藏</div>
\n
</nut-sideslipbutton>
'
}},
methods
:{}}}});
\ No newline at end of file
dist/98.js
浏览文件 @
0ecd8b6e
/*! NutUI v1.2.2 Fri May 11 2018
19:48:33
GMT+0800 (中国标准时间) */
/*! NutUI v1.2.2 Fri May 11 2018
20:03:58
GMT+0800 (中国标准时间) */
webpackJsonpnutui
([
98
],{
799
:
function
(
l
,
n
,
u
){
var
o
=
u
(
1
)(
null
,
null
,
null
,
null
,
null
);
l
.
exports
=
o
.
exports
}});
\ No newline at end of file
dist/app.js
浏览文件 @
0ecd8b6e
此差异已折叠。
点击以展开。
dist/asset/img/share.png
0 → 100644
浏览文件 @
0ecd8b6e
此差异已折叠。
点击以展开。
dist/default.html
浏览文件 @
0ecd8b6e
此差异已折叠。
点击以展开。
dist/demo.js
浏览文件 @
0ecd8b6e
此差异已折叠。
点击以展开。
dist/nutui.js
浏览文件 @
0ecd8b6e
此差异已折叠。
点击以展开。
src/asset/img/share.png
0 → 100644
浏览文件 @
0ecd8b6e
此差异已折叠。
点击以展开。
src/default.html
浏览文件 @
0ecd8b6e
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录