Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
qianlong66
uni-app
提交
9c2e7276
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,发现更多精彩内容 >>
提交
9c2e7276
编写于
9月 22, 2022
作者:
fxy060608
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
wip(uts): compiler
上级
551cc346
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
12 addition
and
18 deletion
+12
-18
packages/uni-h5/dist/uni-h5.cjs.js
packages/uni-h5/dist/uni-h5.cjs.js
+6
-9
packages/uni-h5/dist/uni-h5.es.js
packages/uni-h5/dist/uni-h5.es.js
+6
-9
packages/uts-darwin-arm64/uts.darwin-arm64.node
packages/uts-darwin-arm64/uts.darwin-arm64.node
+0
-0
packages/uts-darwin-x64/uts.darwin-x64.node
packages/uts-darwin-x64/uts.darwin-x64.node
+0
-0
packages/uts-win32-ia32-msvc/uts.win32-ia32-msvc.node
packages/uts-win32-ia32-msvc/uts.win32-ia32-msvc.node
+0
-0
packages/uts-win32-x64-msvc/uts.win32-x64-msvc.node
packages/uts-win32-x64-msvc/uts.win32-x64-msvc.node
+0
-0
未找到文件。
packages/uni-h5/dist/uni-h5.cjs.js
浏览文件 @
9c2e7276
...
...
@@ -10808,13 +10808,12 @@ function createTabBarItemBdTsx(color, iconPath, iconfontText, iconfontColor, tab
"
style
"
:
{
height
}
},
[
iconfontText
?
createTabBarItemIconfontTsx
(
iconfontText
,
iconfontColor
||
BLUR_EFFECT_COLOR_DARK
,
tabBarItem
,
tabBar2
)
:
iconPath
&&
createTabBarItemIconTsx
(
iconPath
,
tabBarItem
,
tabBar2
),
tabBarItem
.
text
&&
createTabBarItemTextTsx
(
color
,
tabBarItem
,
tabBar2
)],
4
);
},
[
iconfontText
?
createTabBarItemIconfontTsx
(
iconfontText
,
iconfontColor
||
BLUR_EFFECT_COLOR_DARK
,
tabBarItem
,
tabBar2
)
:
iconPath
&&
createTabBarItemIconTsx
(
iconPath
,
tabBarItem
,
tabBar2
),
tabBarItem
.
text
&&
createTabBarItemTextTsx
(
color
,
tabBarItem
,
tabBar2
)
,
tabBarItem
.
redDot
&&
createTabBarItemRedDotTsx
(
tabBarItem
.
badge
)
],
4
);
}
function
createTabBarItemIconTsx
(
iconPath
,
tabBarItem
,
tabBar2
)
{
const
{
type
,
text
,
redDot
text
}
=
tabBarItem
;
const
{
iconWidth
...
...
@@ -10829,14 +10828,13 @@ function createTabBarItemIconTsx(iconPath, tabBarItem, tabBar2) {
"
style
"
:
style
},
[
type
!==
"
midButton
"
&&
vue
.
createVNode
(
"
img
"
,
{
"
src
"
:
getRealPath
(
iconPath
)
},
null
,
8
,
[
"
src
"
])
,
redDot
&&
createTabBarItemRedDotTsx
(
tabBarItem
.
badge
)
],
6
);
},
null
,
8
,
[
"
src
"
])],
6
);
}
function
createTabBarItemIconfontTsx
(
iconfontText
,
iconfontColor
,
tabBarItem
,
tabBar2
)
{
var
_a
;
const
{
type
,
text
,
redDot
text
}
=
tabBarItem
;
const
{
iconWidth
...
...
@@ -10856,11 +10854,10 @@ function createTabBarItemIconfontTsx(iconfontText, iconfontColor, tabBarItem, ta
},
[
type
!==
"
midButton
"
&&
vue
.
createVNode
(
"
div
"
,
{
"
class
"
:
"
uni-tabbar__iconfont
"
,
"
style
"
:
iconfontStyle
},
[
iconfontText
],
4
)
,
redDot
&&
createTabBarItemRedDotTsx
(
tabBarItem
.
badge
)
],
6
);
},
[
iconfontText
],
4
)],
6
);
}
function
createTabBarItemTextTsx
(
color
,
tabBarItem
,
tabBar2
)
{
const
{
redDot
,
iconPath
,
text
}
=
tabBarItem
;
...
...
@@ -10877,7 +10874,7 @@ function createTabBarItemTextTsx(color, tabBarItem, tabBar2) {
return
vue
.
createVNode
(
"
div
"
,
{
"
class
"
:
"
uni-tabbar__label
"
,
"
style
"
:
style
},
[
text
,
redDot
&&
!
iconPath
&&
createTabBarItemRedDotTsx
(
tabBarItem
.
badge
)
],
4
);
},
[
text
],
4
);
}
function
createTabBarItemRedDotTsx
(
badge
)
{
const
clazz2
=
"
uni-tabbar__reddot
"
+
(
badge
?
"
uni-tabbar__badge
"
:
""
);
...
...
packages/uni-h5/dist/uni-h5.es.js
浏览文件 @
9c2e7276
...
...
@@ -20269,13 +20269,12 @@ function createTabBarItemBdTsx(color, iconPath, iconfontText, iconfontColor, tab
"style": {
height
}
}, [iconfontText ? createTabBarItemIconfontTsx(iconfontText, iconfontColor || BLUR_EFFECT_COLOR_DARK, tabBarItem, tabBar2) : iconPath && createTabBarItemIconTsx(iconPath, tabBarItem, tabBar2), tabBarItem.text && createTabBarItemTextTsx(color, tabBarItem, tabBar2)], 4);
}, [iconfontText ? createTabBarItemIconfontTsx(iconfontText, iconfontColor || BLUR_EFFECT_COLOR_DARK, tabBarItem, tabBar2) : iconPath && createTabBarItemIconTsx(iconPath, tabBarItem, tabBar2), tabBarItem.text && createTabBarItemTextTsx(color, tabBarItem, tabBar2)
, tabBarItem.redDot && createTabBarItemRedDotTsx(tabBarItem.badge)
], 4);
}
function createTabBarItemIconTsx(iconPath, tabBarItem, tabBar2) {
const {
type,
text: text2,
redDot
text: text2
} = tabBarItem;
const {
iconWidth
...
...
@@ -20290,14 +20289,13 @@ function createTabBarItemIconTsx(iconPath, tabBarItem, tabBar2) {
"style": style
}, [type !== "midButton" && createVNode("img", {
"src": getRealPath(iconPath)
}, null, 8, ["src"])
, redDot && createTabBarItemRedDotTsx(tabBarItem.badge)
], 6);
}, null, 8, ["src"])], 6);
}
function createTabBarItemIconfontTsx(iconfontText, iconfontColor, tabBarItem, tabBar2) {
var _a;
const {
type,
text: text2,
redDot
text: text2
} = tabBarItem;
const {
iconWidth
...
...
@@ -20317,11 +20315,10 @@ function createTabBarItemIconfontTsx(iconfontText, iconfontColor, tabBarItem, ta
}, [type !== "midButton" && createVNode("div", {
"class": "uni-tabbar__iconfont",
"style": iconfontStyle
}, [iconfontText], 4)
, redDot && createTabBarItemRedDotTsx(tabBarItem.badge)
], 6);
}, [iconfontText], 4)], 6);
}
function createTabBarItemTextTsx(color, tabBarItem, tabBar2) {
const {
redDot,
iconPath,
text: text2
} = tabBarItem;
...
...
@@ -20338,7 +20335,7 @@ function createTabBarItemTextTsx(color, tabBarItem, tabBar2) {
return createVNode("div", {
"class": "uni-tabbar__label",
"style": style
}, [text2
, redDot && !iconPath && createTabBarItemRedDotTsx(tabBarItem.badge)
], 4);
}, [text2], 4);
}
function createTabBarItemRedDotTsx(badge) {
const clazz2 = "uni-tabbar__reddot" + (badge ? " uni-tabbar__badge" : "");
...
...
packages/uts-darwin-arm64/uts.darwin-arm64.node
浏览文件 @
9c2e7276
无法预览此类型文件
packages/uts-darwin-x64/uts.darwin-x64.node
浏览文件 @
9c2e7276
无法预览此类型文件
packages/uts-win32-ia32-msvc/uts.win32-ia32-msvc.node
浏览文件 @
9c2e7276
无法预览此类型文件
packages/uts-win32-x64-msvc/uts.win32-x64-msvc.node
浏览文件 @
9c2e7276
无法预览此类型文件
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录