Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
菜鸟程序猿_c
uni-app
提交
5b7fa2dd
U
uni-app
项目概览
菜鸟程序猿_c
/
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,发现更多精彩内容 >>
提交
5b7fa2dd
编写于
4月 02, 2021
作者:
fxy060608
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: style
上级
ad6bbfe1
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
28 addition
and
28 deletion
+28
-28
packages/uni-h5/style/audio.css
packages/uni-h5/style/audio.css
+0
-0
packages/uni-h5/style/checkbox.css
packages/uni-h5/style/checkbox.css
+9
-11
packages/uni-h5/style/slider.css
packages/uni-h5/style/slider.css
+12
-12
packages/vite-plugin-uni/src/config/css.ts
packages/vite-plugin-uni/src/config/css.ts
+1
-1
packages/vite-plugin-uni/src/configResolved/plugins/easycom.ts
...ges/vite-plugin-uni/src/configResolved/plugins/easycom.ts
+3
-3
packages/vite-plugin-uni/src/configureServer/easycom.ts
packages/vite-plugin-uni/src/configureServer/easycom.ts
+1
-1
packages/vite-plugin-uni/src/utils/easycom.ts
packages/vite-plugin-uni/src/utils/easycom.ts
+0
-0
packages/vite-plugin-uni/src/utils/index.ts
packages/vite-plugin-uni/src/utils/index.ts
+2
-0
未找到文件。
packages/uni-
components
/style/audio.css
→
packages/uni-
h5
/style/audio.css
浏览文件 @
5b7fa2dd
文件已移动
packages/uni-h5/style/checkbox.css
浏览文件 @
5b7fa2dd
@import
'./base.css'
;
uni-checkbox-group
{
display
:
block
;
}
uni-checkbox
{
-webkit-tap-highlight-color
:
transparent
;
...
...
@@ -14,7 +16,7 @@ uni-checkbox[disabled] {
cursor
:
not-allowed
;
}
uni-checkbox
.uni-checkbox-wrapper
{
.uni-checkbox-wrapper
{
display
:
-webkit-inline-flex
;
display
:
inline-flex
;
-webkit-align-items
:
center
;
...
...
@@ -22,7 +24,7 @@ uni-checkbox .uni-checkbox-wrapper {
vertical-align
:
middle
;
}
uni-checkbox
.uni-checkbox-input
{
.uni-checkbox-input
{
margin-right
:
5px
;
-webkit-appearance
:
none
;
appearance
:
none
;
...
...
@@ -39,11 +41,11 @@ uni-checkbox:not([disabled]) .uni-checkbox-input:hover {
border-color
:
#007aff
;
}
uni-checkbox
.uni-checkbox-input.uni-checkbox-input-checked
{
.uni-checkbox-input.uni-checkbox-input-checked
{
color
:
#007aff
;
}
uni-checkbox
.uni-checkbox-input.uni-checkbox-input-checked
:before
{
.uni-checkbox-input.uni-checkbox-input-checked
:before
{
font
:
normal
normal
normal
14px
/
1
'uni'
;
content
:
'\EA08'
;
font-size
:
22px
;
...
...
@@ -54,14 +56,10 @@ uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked:before {
-webkit-transform
:
translate
(
-50%
,
-48%
)
scale
(
0.73
);
}
uni-checkbox
.uni-checkbox-input.uni-checkbox-input-disabled
{
.uni-checkbox-input.uni-checkbox-input-disabled
{
background-color
:
#e1e1e1
;
}
uni-checkbox
.uni-checkbox-input.uni-checkbox-input-disabled
:before
{
.uni-checkbox-input.uni-checkbox-input-disabled
:before
{
color
:
#adadad
;
}
uni-checkbox-group
{
display
:
block
;
}
packages/uni-h5/style/slider.css
浏览文件 @
5b7fa2dd
...
...
@@ -8,7 +8,7 @@ uni-slider[hidden] {
display
:
none
;
}
uni-slider
.uni-slider-wrapper
{
.uni-slider-wrapper
{
display
:
-webkit-flex
;
display
:
flex
;
-webkit-align-items
:
center
;
...
...
@@ -16,13 +16,13 @@ uni-slider .uni-slider-wrapper {
min-height
:
16px
;
}
uni-slider
.uni-slider-tap-area
{
.uni-slider-tap-area
{
-webkit-flex
:
1
;
flex
:
1
;
padding
:
8px
0
;
}
uni-slider
.uni-slider-handle-wrapper
{
.uni-slider-handle-wrapper
{
position
:
relative
;
height
:
2px
;
border-radius
:
5px
;
...
...
@@ -32,15 +32,15 @@ uni-slider .uni-slider-handle-wrapper {
-webkit-tap-highlight-color
:
transparent
;
}
uni-slider
.uni-slider-track
{
.uni-slider-track
{
height
:
100%
;
border-radius
:
6px
;
background-color
:
#007aff
;
transition
:
background-color
0.3s
ease
;
}
uni-slider
.uni-slider-handle
,
uni-slider
.uni-slider-thumb
{
.uni-slider-handle
,
.uni-slider-thumb
{
position
:
absolute
;
left
:
50%
;
top
:
50%
;
...
...
@@ -49,7 +49,7 @@ uni-slider .uni-slider-thumb {
transition
:
border-color
0.3s
ease
;
}
uni-slider
.uni-slider-handle
{
.uni-slider-handle
{
width
:
28px
;
height
:
28px
;
margin-top
:
-14px
;
...
...
@@ -59,12 +59,12 @@ uni-slider .uni-slider-handle {
cursor
:
grab
;
}
uni-slider
.uni-slider-thumb
{
.uni-slider-thumb
{
z-index
:
2
;
box-shadow
:
0
0
4px
rgba
(
0
,
0
,
0
,
0.2
);
}
uni-slider
.uni-slider-step
{
.uni-slider-step
{
position
:
absolute
;
width
:
100%
;
height
:
2px
;
...
...
@@ -72,17 +72,17 @@ uni-slider .uni-slider-step {
z-index
:
1
;
}
uni-slider
.uni-slider-value
{
.uni-slider-value
{
color
:
#888
;
font-size
:
14px
;
margin-left
:
1em
;
}
uni-slider
.uni-slider-disabled
.uni-slider-track
{
.uni-slider-disabled
.uni-slider-track
{
background-color
:
#ccc
;
}
uni-slider
.uni-slider-disabled
.uni-slider-thumb
{
.uni-slider-disabled
.uni-slider-thumb
{
background-color
:
#fff
;
border-color
:
#ccc
;
}
packages/vite-plugin-uni/src/config/css.ts
浏览文件 @
5b7fa2dd
import
{
UserConfig
}
from
'
vite
'
import
autoprefixer
from
'
autoprefixer
'
import
{
VitePluginUniResolvedOptions
}
from
'
..
'
import
{
uniapp
}
from
'
../utils
/postcss
'
import
{
uniapp
}
from
'
../utils
'
export
function
createCss
(
_options
:
VitePluginUniResolvedOptions
...
...
packages/vite-plugin-uni/src/configResolved/plugins/easycom.ts
浏览文件 @
5b7fa2dd
...
...
@@ -7,7 +7,7 @@ import { isBuiltInComponent } from '@dcloudio/uni-shared'
import
{
EXTNAME_VUE
,
parseVueRequest
}
from
'
@dcloudio/uni-cli-shared
'
import
{
UniPluginFilterOptions
}
from
'
.
'
import
{
debugEasycom
,
matchEasycom
}
from
'
../../
easycom
'
import
{
debugEasycom
,
matchEasycom
}
from
'
../../
utils
'
const
COMPONENTS_PATH
=
'
@dcloudio/uni-h5/dist/uni-h5.esm.js
'
const
COMPONENTS_STYLE_PATH
=
'
@dcloudio/uni-h5/style/
'
...
...
@@ -30,7 +30,7 @@ export function uniEasycomPlugin(options: UniPluginFilterOptions): Plugin {
code
=
code
.
replace
(
/_resolveComponent
\(
"
(
.+
?)
"
\)
/g
,
(
str
,
name
)
=>
{
if
(
name
&&
!
name
.
startsWith
(
'
_
'
))
{
if
(
isBuiltInComponent
(
name
))
{
return
add
System
ImportDeclaration
(
return
add
BuiltIn
ImportDeclaration
(
importDeclarations
,
`__syscom_
${
i
++
}
`
,
name
...
...
@@ -55,7 +55,7 @@ export function uniEasycomPlugin(options: UniPluginFilterOptions): Plugin {
}
}
function
add
System
ImportDeclaration
(
function
add
BuiltIn
ImportDeclaration
(
importDeclarations
:
string
[],
local
:
string
,
name
:
string
...
...
packages/vite-plugin-uni/src/configureServer/easycom.ts
浏览文件 @
5b7fa2dd
...
...
@@ -2,7 +2,7 @@ import path from 'path'
import
{
ViteDevServer
}
from
'
vite
'
import
{
VitePluginUniResolvedOptions
}
from
'
..
'
import
{
debugEasycom
,
initEasycom
}
from
'
../
easycom
'
import
{
debugEasycom
,
initEasycom
}
from
'
../
utils
'
function
initEasycoms
(
inputDir
:
string
)
{
const
dirs
=
[
'
components
'
].
map
((
dir
)
=>
path
.
resolve
(
inputDir
,
dir
))
...
...
packages/vite-plugin-uni/src/
easycom/index
.ts
→
packages/vite-plugin-uni/src/
utils/easycom
.ts
浏览文件 @
5b7fa2dd
文件已移动
packages/vite-plugin-uni/src/utils/index.ts
浏览文件 @
5b7fa2dd
export
*
from
'
./filter
'
export
*
from
'
./define
'
export
*
from
'
./easycom
'
export
*
from
'
./postcss
'
export
*
from
'
./pagesJson
'
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录