Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小浣熊撸代码
uni-app
提交
1f59921b
U
uni-app
项目概览
小浣熊撸代码
/
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,体验更适合开发者的 AI 搜索 >>
提交
1f59921b
编写于
2月 14, 2022
作者:
fxy060608
浏览文件
操作
浏览文件
下载
差异文件
chore: merge
上级
953dc5a3
3398d09e
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
32 addition
and
32 deletion
+32
-32
package.json
package.json
+1
-1
packages/playground/ssr/package.json
packages/playground/ssr/package.json
+1
-1
packages/uni-components/dist/components.js
packages/uni-components/dist/components.js
+3
-3
packages/uni-components/src/nvue/label/index.tsx
packages/uni-components/src/nvue/label/index.tsx
+1
-1
packages/uni-components/src/nvue/movable-area/index.tsx
packages/uni-components/src/nvue/movable-area/index.tsx
+2
-2
packages/uni-components/src/nvue/movable-view/index.tsx
packages/uni-components/src/nvue/movable-view/index.tsx
+2
-2
packages/uni-components/src/nvue/picker-view-column/index.tsx
...ages/uni-components/src/nvue/picker-view-column/index.tsx
+4
-4
packages/uni-components/src/nvue/picker-view/index.tsx
packages/uni-components/src/nvue/picker-view/index.tsx
+3
-3
packages/vite-plugin-uni/package.json
packages/vite-plugin-uni/package.json
+1
-1
pnpm-lock.yaml
pnpm-lock.yaml
+14
-14
未找到文件。
package.json
浏览文件 @
1f59921b
...
...
@@ -84,7 +84,7 @@
"
semver
"
:
"
^7.3.5
"
,
"
ts-jest
"
:
"
^27.0.3
"
,
"
typescript
"
:
"
^4.5.3
"
,
"
vite
"
:
"
^2.8.
1
"
,
"
vite
"
:
"
^2.8.
2
"
,
"
vue
"
:
"
3.2.30
"
,
"
vue-router
"
:
"
^4.0.12
"
,
"
yorkie
"
:
"
^2.0.0
"
...
...
packages/playground/ssr/package.json
浏览文件 @
1f59921b
...
...
@@ -21,6 +21,6 @@
"compression"
:
"^1.7.4"
,
"cypress"
:
"^7.3.0"
,
"serve-static"
:
"^1.14.1"
,
"vite"
:
"^2.8.
1
"
"vite"
:
"^2.8.
2
"
}
}
packages/uni-components/dist/components.js
浏览文件 @
1f59921b
...
...
@@ -171,7 +171,7 @@ var Label = /* @__PURE__ */ defineComponent({
handlers
.
length
&&
handlers
[
0
](
$event
,
true
);
}
};
return
()
=>
createVNode
(
"
div
"
,
{
return
()
=>
createVNode
(
"
view
"
,
{
"
onClick
"
:
_onClick
},
[
slots
.
default
&&
slots
.
default
()]);
}
...
...
@@ -648,7 +648,7 @@ var MovableArea = defineComponent({
return
()
=>
{
const
defaultSlots
=
slots
.
default
&&
slots
.
default
();
const
movableViewItems
=
flatVNode
(
defaultSlots
);
return
createVNode
(
"
div
"
,
mergeProps
({
return
createVNode
(
"
view
"
,
mergeProps
({
"
class
"
:
"
uni-movable-area
"
},
listeners
),
[
movableViewItems
]);
};
...
...
@@ -1200,7 +1200,7 @@ var MovableView = defineComponent({
const
attrs
=
{
preventGesture
:
true
};
return
createVNode
(
"
div
"
,
mergeProps
({
return
createVNode
(
"
view
"
,
mergeProps
({
"
ref
"
:
rootRef
,
"
onTouchstart
"
:
touchStart
,
"
class
"
:
"
uni-movable-view
"
,
...
...
packages/uni-components/src/nvue/label/index.tsx
浏览文件 @
1f59921b
...
...
@@ -39,7 +39,7 @@ export default /*#__PURE__*/ defineComponent({
}
return
()
=>
(
<
div
onClick
=
{
_onClick
}
>
{
slots
.
default
&&
slots
.
default
()
}
</
div
>
<
view
onClick
=
{
_onClick
}
>
{
slots
.
default
&&
slots
.
default
()
}
</
view
>
)
},
})
packages/uni-components/src/nvue/movable-area/index.tsx
浏览文件 @
1f59921b
...
...
@@ -120,9 +120,9 @@ export default defineComponent({
const
defaultSlots
=
slots
.
default
&&
slots
.
default
()
const
movableViewItems
=
flatVNode
(
defaultSlots
)
return
(
<
div
class
=
"uni-movable-area"
{
...
listeners
}
>
<
view
class
=
"uni-movable-area"
{
...
listeners
}
>
{
movableViewItems
}
</
div
>
</
view
>
)
}
},
...
...
packages/uni-components/src/nvue/movable-view/index.tsx
浏览文件 @
1f59921b
...
...
@@ -148,7 +148,7 @@ export default defineComponent({
preventGesture
:
true
,
}
return
(
<
div
<
view
ref
=
{
rootRef
}
onTouchstart
=
{
touchStart
}
class
=
"uni-movable-view"
...
...
@@ -156,7 +156,7 @@ export default defineComponent({
{
...
attrs
}
>
{
slots
.
default
&&
slots
.
default
()
}
</
div
>
</
view
>
)
}
},
...
...
packages/uni-components/src/nvue/picker-view-column/index.tsx
浏览文件 @
1f59921b
...
...
@@ -153,14 +153,14 @@ export default defineComponent({
}
return
(
<
div
ref
=
{
rootRef
}
class
=
"uni-picker-view-column"
>
<
view
ref
=
{
rootRef
}
class
=
"uni-picker-view-column"
>
<
scroll
-
view
class
=
"uni-picker-view-group"
style
=
"flex-direction:column;"
onScrollend
=
{
onScrollend
}
{
...
scrollOptions
}
>
<
div
<
view
ref
=
{
contentRef
}
class
=
"uni-picker-view-content"
style
=
{
{
...
...
@@ -170,7 +170,7 @@ export default defineComponent({
}
}
>
{
createScrollViewChild
(
children
)
}
</
div
>
</
view
>
</
scroll
-
view
>
<
u
-
scalable
class
=
"uni-picker-view-mask"
style
=
{
maskStyle
}
>
<
u
-
scalable
...
...
@@ -193,7 +193,7 @@ export default defineComponent({
top
:
`
${
padding
}
px`
,
})
}
></
u
-
scalable
>
</
div
>
</
view
>
)
}
},
...
...
packages/uni-components/src/nvue/picker-view/index.tsx
浏览文件 @
1f59921b
...
...
@@ -70,15 +70,15 @@ export default defineComponent({
const
defaultSlots
=
slots
.
default
&&
slots
.
default
()
columnVNodes
=
flatVNode
(
defaultSlots
)
return
(
<
div
<
view
ref
=
{
rootRef
}
class
=
"uni-picker-view"
{
...{
preventGesture
:
true
,
}
}
>
<
div
class
=
"uni-picker-view-wrapper"
>
{
defaultSlots
}
</
div
>
</
div
>
<
view
class
=
"uni-picker-view-wrapper"
>
{
defaultSlots
}
</
view
>
</
view
>
)
}
},
...
...
packages/vite-plugin-uni/package.json
浏览文件 @
1f59921b
...
...
@@ -53,7 +53,7 @@
"chokidar"
:
"^3.5.3"
},
"peerDependencies"
:
{
"vite"
:
"^2.8.
1
"
"vite"
:
"^2.8.
2
"
},
"uni-app"
:
{
"compilerVersion"
:
"3.3.8"
...
...
pnpm-lock.yaml
浏览文件 @
1f59921b
...
...
@@ -47,7 +47,7 @@ importers:
semver
:
^7.3.5
ts-jest
:
^27.0.3
typescript
:
^4.5.3
vite
:
^2.8.
1
vite
:
^2.8.
2
vue
:
3.2.30
vue-router
:
^4.0.12
yorkie
:
^2.0.0
...
...
@@ -67,7 +67,7 @@ importers:
'
@rollup/plugin-strip'
:
2.1.0_rollup@2.60.2
'
@types/jest'
:
26.0.24
'
@typescript-eslint/parser'
:
5.5.0_eslint@7.32.0+typescript@4.5.3
'
@vitejs/plugin-vue'
:
2.2.0_vite@2.8.
1
+vue@3.2.30
'
@vitejs/plugin-vue'
:
2.2.0_vite@2.8.
2
+vue@3.2.30
'
@vitejs/plugin-vue-jsx'
:
1.3.7
'
@vue/reactivity'
:
3.2.30
'
@vue/runtime-core'
:
3.2.30
...
...
@@ -95,7 +95,7 @@ importers:
semver
:
7.3.5
ts-jest
:
27.1.0_560d4ec5932803928b08544817dafdad
typescript
:
4.5.3
vite
:
2.8.
1
vite
:
2.8.
2
vue
:
3.2.30
vue-router
:
4.0.12_vue@3.2.30
yorkie
:
2.0.0
...
...
@@ -109,7 +109,7 @@ importers:
compression
:
^1.7.4
cypress
:
^7.3.0
serve-static
:
^1.14.1
vite
:
^2.8.
1
vite
:
^2.8.
2
vue
:
3.2.30
vue-router
:
^4.0.12
vuex
:
^4.0.2
...
...
@@ -125,7 +125,7 @@ importers:
compression
:
1.7.4
cypress
:
7.7.0
serve-static
:
1.14.1
vite
:
2.8.
1
vite
:
2.8.
2
packages/size-check
:
specifiers
:
...
...
@@ -220,7 +220,7 @@ importers:
'
@dcloudio/uni-nvue-styler'
:
link:../uni-nvue-styler
'
@dcloudio/uni-shared'
:
link:../uni-shared
'
@rollup/pluginutils'
:
4.1.2
'
@vitejs/plugin-vue'
:
2.2.0_vite@2.8.
1
+vue@3.2.30
'
@vitejs/plugin-vue'
:
2.2.0_vite@2.8.
2
+vue@3.2.30
'
@vue/compiler-sfc'
:
3.2.30
debug
:
4.3.3
fs-extra
:
10.0.0
...
...
@@ -758,8 +758,8 @@ importers:
'
@dcloudio/uni-cli-shared'
:
link:../uni-cli-shared
'
@dcloudio/uni-shared'
:
link:../uni-shared
'
@rollup/pluginutils'
:
4.1.2
'
@vitejs/plugin-legacy'
:
1.7.1_vite@2.8.
1
'
@vitejs/plugin-vue'
:
2.2.0_vite@2.8.
1
+vue@3.2.30
'
@vitejs/plugin-legacy'
:
1.7.1_vite@2.8.
2
'
@vitejs/plugin-vue'
:
2.2.0_vite@2.8.
2
+vue@3.2.30
'
@vitejs/plugin-vue-jsx'
:
1.3.7
'
@vue/compiler-core'
:
3.2.30
'
@vue/compiler-dom'
:
3.2.30
...
...
@@ -3127,7 +3127,7 @@ packages:
eslint-visitor-keys
:
3.1.0
dev
:
true
/@vitejs/plugin-legacy/1.7.1_vite@2.8.
1
:
/@vitejs/plugin-legacy/1.7.1_vite@2.8.
2
:
resolution
:
{
integrity
:
sha512-RqgILXsGpfV7NHodVCdBVau8ss5+ynMXp6JGF/F7nhSy0bnwSQPlMS3KFqh7twfifXK8VuMriqfU4CxOiqmNnA==
}
engines
:
{
node
:
'
>=12.0.0'
}
peerDependencies
:
...
...
@@ -3138,7 +3138,7 @@ packages:
magic-string
:
0.25.7
regenerator-runtime
:
0.13.9
systemjs
:
6.12.1
vite
:
2.8.
1
vite
:
2.8.
2
dev
:
false
/@vitejs/plugin-vue-jsx/1.3.7
:
...
...
@@ -3154,14 +3154,14 @@ packages:
transitivePeerDependencies
:
-
supports-color
/@vitejs/plugin-vue/2.2.0_vite@2.8.
1
+vue@3.2.30
:
/@vitejs/plugin-vue/2.2.0_vite@2.8.
2
+vue@3.2.30
:
resolution
:
{
integrity
:
sha512-wXigM1EwN2G7rZcwG6kLk9ivvIMhx2363tCEvMBiXcTu5nePM/12hUPVzPb83Uugt6U+zom1gTpJopi/Ow/jwg==
}
engines
:
{
node
:
'
>=12.0.0'
}
peerDependencies
:
vite
:
^2.5.10
vue
:
^3.2.25
dependencies
:
vite
:
2.8.
1
vite
:
2.8.
2
vue
:
3.2.30
/@vue/babel-helper-vue-transform-on/1.0.2
:
...
...
@@ -8566,8 +8566,8 @@ packages:
extsprintf
:
1.3.0
dev
:
true
/vite/2.8.
1
:
resolution
:
{
integrity
:
sha512-
Typ8qjUnW0p53gBsJpisrKcZlEbUPZATja9BG6Z09QZjg9YrnEn/htkr/VH4WhnH7eNUQeSD+wKI1lHzQRWsk
w==
}
/vite/2.8.
2
:
resolution
:
{
integrity
:
sha512-
zawfykcPVPYva4KusIWORNLr324Qx86/3NpfQSIOJdjnL5pYhwDoImLYMOh4lFLcP/7//tNuWM2vx2F5OSVC9
w==
}
engines
:
{
node
:
'
>=12.2.0'
}
hasBin
:
true
peerDependencies
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录