Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
京东前端
nutui
提交
2d760cff
N
nutui
项目概览
京东前端
/
nutui
通知
37
Star
4
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
N
nutui
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2d760cff
编写于
4月 07, 2021
作者:
richard_1015
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
upd: icon popup width setting
上级
27b6a285
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
24 addition
and
7 deletion
+24
-7
src/packages/icon/index.scss
src/packages/icon/index.scss
+9
-1
src/packages/icon/index.vue
src/packages/icon/index.vue
+3
-3
src/packages/popup/index.scss
src/packages/popup/index.scss
+1
-1
src/sites/mobile/App.vue
src/sites/mobile/App.vue
+10
-2
src/sites/mobile/components/Index.vue
src/sites/mobile/components/Index.vue
+1
-0
未找到文件。
src/packages/icon/index.scss
浏览文件 @
2d760cff
@import
'../../styles/font/iconfont.css'
;
.nut-icon
{
display
:
inline-block
;
position
:
relative
;
width
:
$icon-width
;
height
:
$icon-height
;
line-height
:
$icon-line-height
;
text-align
:
right
;
&
::before
{
position
:
absolute
;
top
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
}
&
__img
{
width
:
$icon-width
;
height
:
$icon-height
;
...
...
@@ -12,7 +21,6 @@
}
&
-loading
{
display
:
inline-block
;
-webkit-animation
:
loadingCircle
1s
infinite
linear
;
animation
:
loadingCircle
1s
infinite
linear
;
}
}
...
...
src/packages/icon/index.vue
浏览文件 @
2d760cff
...
...
@@ -30,12 +30,12 @@ export default create({
{
class
:
_isImage
?
`
${
componentName
}
__img`
:
`
${
props
.
classPrefix
}
${
componentName
}
-
${
props
.
name
}
`
,
:
`
${
props
.
classPrefix
}
${
componentName
}
${
componentName
}
-
${
props
.
name
}
`
,
style
:
{
color
:
props
.
color
,
fontSize
:
pxCheck
(
props
.
size
),
width
:
_isImage
?
pxCheck
(
props
.
size
)
:
''
,
height
:
_isImage
?
pxCheck
(
props
.
size
)
:
''
width
:
pxCheck
(
props
.
size
)
,
height
:
pxCheck
(
props
.
size
)
},
onClick
:
handleClick
,
src
:
_isImage
?
props
.
name
:
''
...
...
src/packages/popup/index.scss
浏览文件 @
2d760cff
...
...
@@ -106,7 +106,7 @@
.nutui-popup
{
&
__close-icon
{
position
:
absolute
;
position
:
absolute
!
important
;
z-index
:
1
;
color
:
#969799
;
font-size
:
18px
;
...
...
src/sites/mobile/App.vue
浏览文件 @
2d760cff
<
template
>
<div
v-if=
"title != '/'"
id=
"nav"
>
<span
class=
"back"
@
click=
"goBack"
><nut-icon
name=
"left"
></nut-icon></span>
<div
class=
"back"
@
click=
"goBack"
>
<nut-icon
name=
"left"
></nut-icon>
</div>
{{
title
}}
</div>
<router-view
/>
...
...
@@ -68,7 +70,13 @@ export default defineComponent({
box-shadow
:
0px
4px
10px
0px
rgba
(
0
,
0
,
0
,
0
.07
);
.back
{
position
:
absolute
;
left
:
25px
;
left
:
0
;
height
:
100%
;
width
:
50px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
cursor
:
pointer
;
}
}
...
...
src/sites/mobile/components/Index.vue
浏览文件 @
2d760cff
...
...
@@ -90,6 +90,7 @@ export default defineComponent({
>
ul
{
li
{
display
:
flex
;
align-items
:
center
;
padding
:
0
24px
;
width
:
100%
;
height
:
45px
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录