Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MuGuiLin
uni-app
提交
31a2ae74
U
uni-app
项目概览
MuGuiLin
/
uni-app
与 Fork 源项目一致
Fork自
DCloud / uni-app
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
31a2ae74
编写于
7月 29, 2021
作者:
Q
qiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
style: AnimationElement -> UniAnimationElement
上级
36815c1a
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
8 addition
and
8 deletion
+8
-8
packages/uni-app-plus/dist/uni-app-view.umd.js
packages/uni-app-plus/dist/uni-app-view.umd.js
+3
-3
packages/uni-app-plus/src/view/framework/dom/elements/UniAnimationElement.ts
...us/src/view/framework/dom/elements/UniAnimationElement.ts
+1
-1
packages/uni-app-plus/src/view/framework/dom/elements/UniHoverElement.ts
...p-plus/src/view/framework/dom/elements/UniHoverElement.ts
+2
-2
packages/uni-app-plus/src/view/framework/dom/elements/UniTextElement.ts
...pp-plus/src/view/framework/dom/elements/UniTextElement.ts
+2
-2
未找到文件。
packages/uni-app-plus/dist/uni-app-view.umd.js
浏览文件 @
31a2ae74
...
...
@@ -14290,7 +14290,7 @@
function getContextInfo(el) {
return el.__uniContextInfo;
}
class AnimationElement extends UniElement {
class
Uni
AnimationElement extends UniElement {
constructor(id2, element, parentNodeId, refNodeId, nodeJson, propNames = []) {
super(id2, element, parentNodeId, refNodeId, nodeJson, [
...animation.props,
...
...
@@ -14314,7 +14314,7 @@
}
}
const PROP_NAMES_HOVER$1 = ["space", "decode"];
class UniTextElement extends AnimationElement {
class UniTextElement extends
Uni
AnimationElement {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, document.createElement("uni-text"), parentNodeId, refNodeId, nodeJson, PROP_NAMES_HOVER$1);
this._text = "";
...
...
@@ -14351,7 +14351,7 @@
"hover-start-time",
"hover-stay-time"
];
class UniHoverElement extends AnimationElement {
class UniHoverElement extends
Uni
AnimationElement {
constructor(id2, element, parentNodeId, refNodeId, nodeJson, propNames = []) {
super(id2, element, parentNodeId, refNodeId, nodeJson, [
...PROP_NAMES_HOVER,
...
...
packages/uni-app-plus/src/view/framework/dom/elements/AnimationElement.ts
→
packages/uni-app-plus/src/view/framework/dom/elements/
Uni
AnimationElement.ts
浏览文件 @
31a2ae74
...
...
@@ -6,7 +6,7 @@ import { UniElement } from './UniElement'
interface
AnimationProps
{
animation
:
any
}
export
class
AnimationElement
<
T
extends
object
>
extends
UniElement
<
export
class
Uni
AnimationElement
<
T
extends
object
>
extends
UniElement
<
T
&
AnimationProps
>
{
constructor
(
...
...
packages/uni-app-plus/src/view/framework/dom/elements/UniHoverElement.ts
浏览文件 @
31a2ae74
import
{
formatLog
,
UniNodeJSON
}
from
'
@dcloudio/uni-shared
'
import
{
AnimationElement
}
from
'
./
AnimationElement
'
import
{
UniAnimationElement
}
from
'
./Uni
AnimationElement
'
interface
HoverProps
{
'
hover-class
'
:
string
|
'
none
'
...
...
@@ -13,7 +13,7 @@ const PROP_NAMES_HOVER = [
'
hover-start-time
'
,
'
hover-stay-time
'
,
]
export
class
UniHoverElement
extends
AnimationElement
<
HoverProps
>
{
export
class
UniHoverElement
extends
Uni
AnimationElement
<
HoverProps
>
{
private
_hover
?:
Hover
constructor
(
id
:
number
,
...
...
packages/uni-app-plus/src/view/framework/dom/elements/UniTextElement.ts
浏览文件 @
31a2ae74
import
'
@dcloudio/uni-components/style/text.css
'
import
{
DecodeOptions
,
parseText
}
from
'
@dcloudio/uni-components
'
import
{
AnimationElement
}
from
'
./
AnimationElement
'
import
{
UniAnimationElement
}
from
'
./Uni
AnimationElement
'
import
{
UniNodeJSON
}
from
'
@dcloudio/uni-shared
'
interface
TextProps
{
...
...
@@ -10,7 +10,7 @@ interface TextProps {
const
PROP_NAMES_HOVER
=
[
'
space
'
,
'
decode
'
]
export
class
UniTextElement
extends
AnimationElement
<
TextProps
>
{
export
class
UniTextElement
extends
Uni
AnimationElement
<
TextProps
>
{
private
_text
:
string
=
''
constructor
(
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录