Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
qianlong66
uni-app
提交
d3941156
U
uni-app
项目概览
qianlong66
/
uni-app
与 Fork 源项目一致
Fork自
DCloud / uni-app
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d3941156
编写于
2月 09, 2022
作者:
Q
qiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: build
上级
d8d77c79
变更
15
展开全部
显示空白变更内容
内联
并排
Showing
15 changed file
with
106 addition
and
78 deletion
+106
-78
packages/uni-app-plus/dist/uni-app-view.umd.js
packages/uni-app-plus/dist/uni-app-view.umd.js
+2
-2
packages/uni-app-vue/dist/service.runtime.esm.dev.js
packages/uni-app-vue/dist/service.runtime.esm.dev.js
+7
-5
packages/uni-app-vue/dist/service.runtime.esm.prod.js
packages/uni-app-vue/dist/service.runtime.esm.prod.js
+7
-5
packages/uni-h5/dist/uni-h5.cjs.js
packages/uni-h5/dist/uni-h5.cjs.js
+3
-3
packages/uni-h5/dist/uni-h5.es.js
packages/uni-h5/dist/uni-h5.es.js
+3
-3
packages/uni-mp-alipay/dist/uni.mp.esm.js
packages/uni-mp-alipay/dist/uni.mp.esm.js
+7
-5
packages/uni-mp-baidu/dist/uni.mp.esm.js
packages/uni-mp-baidu/dist/uni.mp.esm.js
+7
-5
packages/uni-mp-kuaishou/dist/uni.mp.esm.js
packages/uni-mp-kuaishou/dist/uni.mp.esm.js
+7
-5
packages/uni-mp-lark/dist/uni.mp.esm.js
packages/uni-mp-lark/dist/uni.mp.esm.js
+7
-5
packages/uni-mp-qq/dist/uni.mp.esm.js
packages/uni-mp-qq/dist/uni.mp.esm.js
+7
-5
packages/uni-mp-toutiao/dist/uni.mp.esm.js
packages/uni-mp-toutiao/dist/uni.mp.esm.js
+7
-5
packages/uni-mp-weixin/dist/uni.mp.esm.js
packages/uni-mp-weixin/dist/uni.mp.esm.js
+7
-5
packages/uni-quickapp-webview/dist/uni.mp.esm.js
packages/uni-quickapp-webview/dist/uni.mp.esm.js
+7
-5
packages/uni-shared/dist/uni-shared.cjs.js
packages/uni-shared/dist/uni-shared.cjs.js
+14
-10
packages/uni-shared/dist/uni-shared.es.js
packages/uni-shared/dist/uni-shared.es.js
+14
-10
未找到文件。
packages/uni-app-plus/dist/uni-app-view.umd.js
浏览文件 @
d3941156
此差异已折叠。
点击以展开。
packages/uni-app-vue/dist/service.runtime.esm.dev.js
浏览文件 @
d3941156
...
...
@@ -238,11 +238,13 @@ export default function vueFactory(exports) {
return
[
hyphenate$1
(
name
.
slice
(
2
)),
options
];
}
var
EventModifierFlags
=
{
var
EventModifierFlags
=
/*#__PURE__*/
(()
=>
{
return
{
stop
:
1
,
prevent
:
1
<<
1
,
self
:
1
<<
2
};
})();
function
encodeModifier
(
modifiers
)
{
var
flag
=
0
;
...
...
packages/uni-app-vue/dist/service.runtime.esm.prod.js
浏览文件 @
d3941156
...
...
@@ -219,11 +219,13 @@ export default function vueFactory(exports) {
return
[
hyphenate$1
(
name
.
slice
(
2
)),
options
];
}
var
EventModifierFlags
=
{
var
EventModifierFlags
=
/*#__PURE__*/
(()
=>
{
return
{
stop
:
1
,
prevent
:
1
<<
1
,
self
:
1
<<
2
};
})();
function
encodeModifier
(
modifiers
)
{
var
flag
=
0
;
...
...
packages/uni-h5/dist/uni-h5.cjs.js
浏览文件 @
d3941156
...
...
@@ -2561,8 +2561,8 @@ const props$o = {
}
};
const
FIX_MODES
=
{
widthFix
:
[
"
offsetWidth
"
,
"
height
"
],
heightFix
:
[
"
offsetHeight
"
,
"
width
"
]
widthFix
:
[
"
offsetWidth
"
,
"
height
"
,
(
value
,
ratio
)
=>
value
/
ratio
],
heightFix
:
[
"
offsetHeight
"
,
"
width
"
,
(
value
,
ratio
)
=>
value
*
ratio
]
};
const
IMAGE_MODES
=
{
aspectFit
:
[
"
center center
"
,
"
contain
"
],
...
...
@@ -2715,7 +2715,7 @@ function useImageSize(rootRef, props2, state) {
const
rootEl
=
rootRef
.
value
;
const
value
=
rootEl
[
names
[
0
]];
if
(
value
)
{
rootEl
.
style
[
names
[
1
]]
=
fixNumber
(
value
/
ratio
)
+
"
px
"
;
rootEl
.
style
[
names
[
1
]]
=
fixNumber
(
names
[
2
](
value
,
ratio
)
)
+
"
px
"
;
}
};
const
resetSize
=
()
=>
{
...
...
packages/uni-h5/dist/uni-h5.es.js
浏览文件 @
d3941156
...
...
@@ -7972,8 +7972,8 @@ const props$v = {
}
};
const FIX_MODES = {
widthFix: ["offsetWidth", "height"],
heightFix: ["offsetHeight", "width"]
widthFix: ["offsetWidth", "height"
, (value, ratio) => value / ratio
],
heightFix: ["offsetHeight", "width"
, (value, ratio) => value * ratio
]
};
const IMAGE_MODES = {
aspectFit: ["center center", "contain"],
...
...
@@ -8138,7 +8138,7 @@ function useImageSize(rootRef, props2, state2) {
const rootEl = rootRef.value;
const value = rootEl[names[0]];
if (value) {
rootEl.style[names[1]] = fixNumber(
value / ratio
) + "px";
rootEl.style[names[1]] = fixNumber(
names[2](value, ratio)
) + "px";
}
};
const resetSize = () => {
...
...
packages/uni-mp-alipay/dist/uni.mp.esm.js
浏览文件 @
d3941156
...
...
@@ -127,11 +127,13 @@ class EventChannel {
}
}
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
{
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
/*#__PURE__*/
(()
=>
{
return
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
};
})();
const
eventChannels
=
{};
const
eventChannelStack
=
[];
...
...
packages/uni-mp-baidu/dist/uni.mp.esm.js
浏览文件 @
d3941156
...
...
@@ -195,11 +195,13 @@ class EventChannel {
}
}
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
{
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
/*#__PURE__*/
(()
=>
{
return
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
};
})();
const
eventChannels
=
{};
const
eventChannelStack
=
[];
...
...
packages/uni-mp-kuaishou/dist/uni.mp.esm.js
浏览文件 @
d3941156
...
...
@@ -190,11 +190,13 @@ class EventChannel {
}
}
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
{
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
/*#__PURE__*/
(()
=>
{
return
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
};
})();
const
eventChannels
=
{};
const
eventChannelStack
=
[];
...
...
packages/uni-mp-lark/dist/uni.mp.esm.js
浏览文件 @
d3941156
...
...
@@ -190,11 +190,13 @@ class EventChannel {
}
}
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
{
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
/*#__PURE__*/
(()
=>
{
return
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
};
})();
const
eventChannels
=
{};
const
eventChannelStack
=
[];
...
...
packages/uni-mp-qq/dist/uni.mp.esm.js
浏览文件 @
d3941156
...
...
@@ -190,11 +190,13 @@ class EventChannel {
}
}
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
{
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
/*#__PURE__*/
(()
=>
{
return
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
};
})();
const
eventChannels
=
{};
const
eventChannelStack
=
[];
...
...
packages/uni-mp-toutiao/dist/uni.mp.esm.js
浏览文件 @
d3941156
...
...
@@ -190,11 +190,13 @@ class EventChannel {
}
}
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
{
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
/*#__PURE__*/
(()
=>
{
return
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
};
})();
const
eventChannels
=
{};
const
eventChannelStack
=
[];
...
...
packages/uni-mp-weixin/dist/uni.mp.esm.js
浏览文件 @
d3941156
...
...
@@ -62,11 +62,13 @@ const invokeArrayFns = (fns, arg) => {
return
ret
;
};
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
{
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
/*#__PURE__*/
(()
=>
{
return
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
};
})();
const
eventChannels
=
{};
const
eventChannelStack
=
[];
...
...
packages/uni-quickapp-webview/dist/uni.mp.esm.js
浏览文件 @
d3941156
...
...
@@ -190,11 +190,13 @@ class EventChannel {
}
}
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
{
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
/*#__PURE__*/
(()
=>
{
return
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
};
})();
const
eventChannels
=
{};
const
eventChannelStack
=
[];
...
...
packages/uni-shared/dist/uni-shared.cjs.js
浏览文件 @
d3941156
...
...
@@ -701,11 +701,13 @@ function parseEventName(name) {
return
[
shared
.
hyphenate
(
name
.
slice
(
2
)),
options
];
}
const
EventModifierFlags
=
{
const
EventModifierFlags
=
/*#__PURE__*/
(()
=>
{
return
{
stop
:
1
,
prevent
:
1
<<
1
,
self
:
1
<<
2
,
};
};
})();
function
encodeModifier
(
modifiers
)
{
let
flag
=
0
;
if
(
modifiers
.
includes
(
'
stop
'
))
{
...
...
@@ -1280,11 +1282,13 @@ const UniLifecycleHooks = [
ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED
,
ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED
,
];
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
{
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
/*#__PURE__*/
(()
=>
{
return
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
};
})();
const
E
=
function
()
{
// Keep this empty so it's easier to inherit from
...
...
packages/uni-shared/dist/uni-shared.es.js
浏览文件 @
d3941156
...
...
@@ -697,11 +697,13 @@ function parseEventName(name) {
return
[
hyphenate
(
name
.
slice
(
2
)),
options
];
}
const
EventModifierFlags
=
{
const
EventModifierFlags
=
/*#__PURE__*/
(()
=>
{
return
{
stop
:
1
,
prevent
:
1
<<
1
,
self
:
1
<<
2
,
};
};
})();
function
encodeModifier
(
modifiers
)
{
let
flag
=
0
;
if
(
modifiers
.
includes
(
'
stop
'
))
{
...
...
@@ -1276,11 +1278,13 @@ const UniLifecycleHooks = [
ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED
,
ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED
,
];
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
{
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
/*#__PURE__*/
(()
=>
{
return
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
};
})();
const
E
=
function
()
{
// Keep this empty so it's easier to inherit from
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录