Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
basic-uniapp-v3
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Basic
basic-uniapp-v3
Commits
de1f4e6c
提交
de1f4e6c
authored
4月 23, 2023
作者:
方治民
浏览文件
操作
浏览文件
下载
差异文件
Merge branch '3.x' of
https://gitlab.yiring.com/basic/basic-uniapp-v3
into examples
上级
a2bd8a95
a91b3e3c
显示空白字符变更
内嵌
并排
正在显示
19 个修改的文件
包含
66 行增加
和
18 行删除
+66
-18
index.vue
src/components/Empty/index.vue
+12
-5
fui-alert.vue
src/components/firstui/fui-alert/fui-alert.vue
+3
-0
fui-collapse-item.vue
...omponents/firstui/fui-collapse-item/fui-collapse-item.vue
+0
-0
fui-collapse.vue
src/components/firstui/fui-collapse/fui-collapse.vue
+3
-0
fui-divider.vue
src/components/firstui/fui-divider/fui-divider.vue
+3
-0
fui-empty.vue
src/components/firstui/fui-empty/fui-empty.vue
+4
-1
fui-form-field.vue
src/components/firstui/fui-form-field/fui-form-field.vue
+4
-1
f-index-list-item.vue
src/components/firstui/fui-index-list/f-index-list-item.vue
+3
-0
fui-label.vue
src/components/firstui/fui-label/fui-label.vue
+3
-0
fui-list-cell.vue
src/components/firstui/fui-list-cell/fui-list-cell.vue
+3
-0
fui-list.vue
src/components/firstui/fui-list/fui-list.vue
+4
-1
fui-load-ani.vue
src/components/firstui/fui-load-ani/fui-load-ani.vue
+4
-1
fui-overflow-hidden.vue
...nents/firstui/fui-overflow-hidden/fui-overflow-hidden.vue
+3
-0
fui-swipe-action.vue
src/components/firstui/fui-swipe-action/fui-swipe-action.vue
+3
-0
fui-text.vue
src/components/firstui/fui-text/fui-text.vue
+3
-0
fui-timeaxis.vue
src/components/firstui/fui-timeaxis/fui-timeaxis.vue
+3
-0
fui-vtabs-content.vue
...omponents/firstui/fui-vtabs-content/fui-vtabs-content.vue
+3
-0
pages.json
src/pages.json
+1
-5
index.vue
src/pages/index/index.vue
+4
-4
没有找到文件。
src/components/Empty/index.vue
浏览文件 @
de1f4e6c
<
script
>
<
script
setup
lang=
"ts"
>
export
default
{
defineProps
({
props
:
{
/**
* 提示内容
*/
tips
:
{
tips
:
{
type
:
String
,
type
:
String
,
default
:
''
,
default
:
''
,
},
},
/**
* 提示内容颜色
*/
tipsColor
:
{
tipsColor
:
{
type
:
String
,
type
:
String
,
default
:
'#9C9C9C'
,
default
:
'#9C9C9C'
,
},
},
/**
* 背景颜色
*/
bgColor
:
{
bgColor
:
{
type
:
String
,
type
:
String
,
default
:
'transparent'
,
default
:
'transparent'
,
},
},
},
})
}
</
script
>
</
script
>
<
template
>
<
template
>
...
...
src/components/firstui/fui-alert/fui-alert.vue
浏览文件 @
de1f4e6c
...
@@ -122,6 +122,9 @@
...
@@ -122,6 +122,9 @@
default
:
false
default
:
false
}
}
},
},
data
()
{
return
{}
},
methods
:
{
methods
:
{
getColor
(
type
)
{
getColor
(
type
)
{
const
color
=
"#465CFF"
const
color
=
"#465CFF"
...
...
src/components/firstui/fui-collapse-item/fui-collapse-item.vue
浏览文件 @
de1f4e6c
src/components/firstui/fui-collapse/fui-collapse.vue
浏览文件 @
de1f4e6c
...
@@ -14,6 +14,9 @@
...
@@ -14,6 +14,9 @@
default
:
false
default
:
false
}
}
},
},
data
()
{
return
{}
},
created
()
{
created
()
{
this
.
children
=
[]
this
.
children
=
[]
},
},
...
...
src/components/firstui/fui-divider/fui-divider.vue
浏览文件 @
de1f4e6c
...
@@ -54,6 +54,9 @@
...
@@ -54,6 +54,9 @@
default
:
'#F1F4FA'
default
:
'#F1F4FA'
}
}
},
},
data
()
{
return
{}
},
computed
:
{
computed
:
{
getTop
()
{
getTop
()
{
return
Number
(
this
.
height
)
/
2
+
'rpx'
return
Number
(
this
.
height
)
/
2
+
'rpx'
...
...
src/components/firstui/fui-empty/fui-empty.vue
浏览文件 @
de1f4e6c
...
@@ -67,7 +67,10 @@
...
@@ -67,7 +67,10 @@
type
:
[
Number
,
String
],
type
:
[
Number
,
String
],
default
:
0
default
:
0
}
}
}
},
data
()
{
return
{}
},
}
}
</
script
>
</
script
>
...
...
src/components/firstui/fui-form-field/fui-form-field.vue
浏览文件 @
de1f4e6c
...
@@ -17,7 +17,10 @@
...
@@ -17,7 +17,10 @@
type
:
Boolean
,
type
:
Boolean
,
default
:
false
default
:
false
}
}
}
},
data
()
{
return
{}
},
}
}
</
script
>
</
script
>
...
...
src/components/firstui/fui-index-list/f-index-list-item.vue
浏览文件 @
de1f4e6c
...
@@ -73,6 +73,9 @@
...
@@ -73,6 +73,9 @@
default
:
0
default
:
0
}
}
},
},
data
()
{
return
{}
},
methods
:
{
methods
:
{
onClick
()
{
onClick
()
{
this
.
$emit
(
"itemClick"
,
{
this
.
$emit
(
"itemClick"
,
{
...
...
src/components/firstui/fui-label/fui-label.vue
浏览文件 @
de1f4e6c
...
@@ -34,6 +34,9 @@
...
@@ -34,6 +34,9 @@
default
:
false
default
:
false
}
}
},
},
data
()
{
return
{}
},
created
()
{
created
()
{
this
.
childrens
=
[];
this
.
childrens
=
[];
},
},
...
...
src/components/firstui/fui-list-cell/fui-list-cell.vue
浏览文件 @
de1f4e6c
...
@@ -114,6 +114,9 @@
...
@@ -114,6 +114,9 @@
default
:
0
default
:
0
}
}
},
},
data
()
{
return
{}
},
methods
:
{
methods
:
{
handleClick
()
{
handleClick
()
{
this
.
$emit
(
'click'
,
{
this
.
$emit
(
'click'
,
{
...
...
src/components/firstui/fui-list/fui-list.vue
浏览文件 @
de1f4e6c
...
@@ -119,7 +119,10 @@
...
@@ -119,7 +119,10 @@
type
:
[
Number
,
String
],
type
:
[
Number
,
String
],
default
:
0
default
:
0
}
}
}
},
data
()
{
return
{}
},
}
}
</
script
>
</
script
>
...
...
src/components/firstui/fui-load-ani/fui-load-ani.vue
浏览文件 @
de1f4e6c
...
@@ -62,7 +62,10 @@
...
@@ -62,7 +62,10 @@
type
:
Boolean
,
type
:
Boolean
,
default
:
false
default
:
false
}
}
}
},
data
()
{
return
{}
},
}
}
</
script
>
</
script
>
...
...
src/components/firstui/fui-overflow-hidden/fui-overflow-hidden.vue
浏览文件 @
de1f4e6c
...
@@ -84,6 +84,9 @@
...
@@ -84,6 +84,9 @@
default
:
0
default
:
0
}
}
},
},
data
()
{
return
{}
},
computed
:
{
computed
:
{
getGradientBgColor
()
{
getGradientBgColor
()
{
// #ifdef APP-NVUE
// #ifdef APP-NVUE
...
...
src/components/firstui/fui-swipe-action/fui-swipe-action.vue
浏览文件 @
de1f4e6c
...
@@ -113,6 +113,9 @@
...
@@ -113,6 +113,9 @@
default
:
0
default
:
0
}
}
},
},
data
()
{
return
{}
},
// #ifndef VUE3
// #ifndef VUE3
beforeDestroy
()
{
beforeDestroy
()
{
if
(
this
.
__beforeUnmount
)
return
if
(
this
.
__beforeUnmount
)
return
...
...
src/components/firstui/fui-text/fui-text.vue
浏览文件 @
de1f4e6c
...
@@ -110,6 +110,9 @@
...
@@ -110,6 +110,9 @@
default
:
''
default
:
''
}
}
},
},
data
()
{
return
{}
},
computed
:
{
computed
:
{
getSize
()
{
getSize
()
{
const
size
=
(
uni
.
$fui
&&
uni
.
$fui
.
fuiText
&&
uni
.
$fui
.
fuiText
.
size
)
||
32
const
size
=
(
uni
.
$fui
&&
uni
.
$fui
.
fuiText
&&
uni
.
$fui
.
fuiText
.
size
)
||
32
...
...
src/components/firstui/fui-timeaxis/fui-timeaxis.vue
浏览文件 @
de1f4e6c
...
@@ -37,6 +37,9 @@
...
@@ -37,6 +37,9 @@
// #endif
// #endif
}
}
},
},
data
()
{
return
{}
},
provide
()
{
provide
()
{
return
{
return
{
timeaxis
:
this
timeaxis
:
this
...
...
src/components/firstui/fui-vtabs-content/fui-vtabs-content.vue
浏览文件 @
de1f4e6c
...
@@ -17,6 +17,9 @@
...
@@ -17,6 +17,9 @@
default
:
0
default
:
0
}
}
},
},
data
()
{
return
{}
},
mounted
()
{
mounted
()
{
if
(
this
.
vtabs
&&
this
.
vtabs
.
linkage
)
{
if
(
this
.
vtabs
&&
this
.
vtabs
.
linkage
)
{
this
.
vtabs
.
children
.
push
(
this
)
this
.
vtabs
.
children
.
push
(
this
)
...
...
src/pages.json
浏览文件 @
de1f4e6c
...
@@ -84,11 +84,7 @@
...
@@ -84,11 +84,7 @@
"navigationBarTextStyle"
:
"black"
,
"navigationBarTextStyle"
:
"black"
,
"navigationBarTitleText"
:
"uni-app"
,
"navigationBarTitleText"
:
"uni-app"
,
"navigationBarBackgroundColor"
:
"#F8F8F8"
,
"navigationBarBackgroundColor"
:
"#F8F8F8"
,
"backgroundColor"
:
"#F8F8F8"
,
"backgroundColor"
:
"#F8F8F8"
"app-plus"
:
{
"bounce"
:
"none"
,
"scrollIndicator"
:
"none"
}
},
},
"resizable"
:
true
"resizable"
:
true
}
}
src/pages/index/index.vue
浏览文件 @
de1f4e6c
...
@@ -43,17 +43,17 @@
...
@@ -43,17 +43,17 @@
radius=
"14"
radius=
"14"
size=
"large"
size=
"large"
background=
"transparent"
background=
"transparent"
class=
"!mb-
5
"
class=
"!mb-
3
"
@
click=
"surprise"
@
click=
"surprise"
/>
/>
<view
class=
"flex-center flex-col mb-
5
"
>
<view
class=
"flex-center flex-col mb-
3
"
>
<text
class=
"title"
>
{{
title
}}
</text>
<text
class=
"title"
>
{{
title
}}
</text>
<text
class=
"title"
>
{{
$t
(
'app.hello'
)
}}
</text>
<text
class=
"title"
>
{{
$t
(
'app.hello'
)
}}
</text>
<Icon
icon=
"emojione:grinning-face"
size=
"48"
class=
"mt-3"
/>
<Icon
icon=
"emojione:grinning-face"
size=
"48"
class=
"mt-3"
/>
<fui-divider
class=
"mt-5"
/>
<fui-divider
/>
<uni-icons
type=
"hand-up"
size=
"30"
class=
"mt-3"
:class=
"[animate]"
@
click=
"handUp"
/>
<uni-icons
type=
"hand-up"
size=
"30"
:class=
"[animate]"
@
click=
"handUp"
/>
</view>
</view>
<fui-footer
isFixed
>
<fui-footer
isFixed
>
<template
#
text
>
<template
#
text
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论