Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
京东前端
nutui
提交
019ab2a6
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,体验更适合开发者的 AI 搜索 >>
未验证
提交
019ab2a6
编写于
2月 03, 2023
作者:
D
dongj0316
提交者:
GitHub
2月 03, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Jdt theme dev (#2079)
* upd: theme perf * upd: theme perf
上级
a758d83c
变更
32
隐藏空白更改
内联
并排
Showing
32 changed file
with
367 addition
and
84 deletion
+367
-84
package.json
package.json
+1
-0
src/packages/__VUE/actionsheet/index.scss
src/packages/__VUE/actionsheet/index.scss
+5
-5
src/packages/__VUE/badge/demo.vue
src/packages/__VUE/badge/demo.vue
+3
-0
src/packages/__VUE/badge/doc.en-US.md
src/packages/__VUE/badge/doc.en-US.md
+1
-0
src/packages/__VUE/badge/doc.md
src/packages/__VUE/badge/doc.md
+1
-0
src/packages/__VUE/badge/index.scss
src/packages/__VUE/badge/index.scss
+6
-0
src/packages/__VUE/badge/index.taro.vue
src/packages/__VUE/badge/index.taro.vue
+5
-1
src/packages/__VUE/badge/index.vue
src/packages/__VUE/badge/index.vue
+5
-1
src/packages/__VUE/cell/demo.vue
src/packages/__VUE/cell/demo.vue
+6
-0
src/packages/__VUE/cell/index.scss
src/packages/__VUE/cell/index.scss
+42
-3
src/packages/__VUE/cellgroup/index.scss
src/packages/__VUE/cellgroup/index.scss
+3
-4
src/packages/__VUE/collapseitem/index.scss
src/packages/__VUE/collapseitem/index.scss
+1
-1
src/packages/__VUE/collapseitem/index.taro.vue
src/packages/__VUE/collapseitem/index.taro.vue
+5
-5
src/packages/__VUE/collapseitem/index.vue
src/packages/__VUE/collapseitem/index.vue
+5
-5
src/packages/__VUE/input/index.scss
src/packages/__VUE/input/index.scss
+2
-2
src/packages/__VUE/numberkeyboard/index.scss
src/packages/__VUE/numberkeyboard/index.scss
+1
-1
src/packages/__VUE/step/index.scss
src/packages/__VUE/step/index.scss
+7
-2
src/packages/__VUE/steps/demo.vue
src/packages/__VUE/steps/demo.vue
+1
-0
src/packages/__VUE/swiper/index.scss
src/packages/__VUE/swiper/index.scss
+2
-2
src/packages/__VUE/switch/index.scss
src/packages/__VUE/switch/index.scss
+2
-2
src/packages/__VUE/tabbaritem/index.scss
src/packages/__VUE/tabbaritem/index.scss
+5
-4
src/packages/__VUE/tabpane/index.scss
src/packages/__VUE/tabpane/index.scss
+1
-1
src/packages/__VUE/toast/index.scss
src/packages/__VUE/toast/index.scss
+7
-1
src/packages/styles/variables-jdb.scss
src/packages/styles/variables-jdb.scss
+50
-4
src/packages/styles/variables-jddkh.scss
src/packages/styles/variables-jddkh.scss
+47
-1
src/packages/styles/variables-jdt.scss
src/packages/styles/variables-jdt.scss
+82
-36
src/packages/styles/variables.scss
src/packages/styles/variables.scss
+47
-1
src/sites/mobile-taro/vue/config/index.js
src/sites/mobile-taro/vue/config/index.js
+10
-1
src/sites/mobile-taro/vue/src/basic/pages/cell/index.vue
src/sites/mobile-taro/vue/src/basic/pages/cell/index.vue
+6
-0
src/sites/mobile-taro/vue/src/exhibition/pages/badge/index.vue
...ites/mobile-taro/vue/src/exhibition/pages/badge/index.vue
+3
-0
src/sites/mobile/App.vue
src/sites/mobile/App.vue
+4
-1
vite.config.jdt.ts
vite.config.jdt.ts
+1
-0
未找到文件。
package.json
浏览文件 @
019ab2a6
...
...
@@ -41,6 +41,7 @@
"checked"
:
"npm run generate:file && tsc"
,
"checked:taro:vue"
:
"npm run generate:file:taro:vue"
,
"dev"
:
"npm run checked && vite --open --force"
,
"dev:jdt"
:
"npm run checked && vite --open --force --config vite.config.jdt.ts"
,
"dev:taro:weapp"
:
"npm run createTaroConfig && npm run checked:taro:vue && cd src/sites/mobile-taro/vue/ && npm run dev:weapp"
,
"dev:taro:alipay"
:
"npm run createTaroConfig && npm run checked:taro:vue && cd src/sites/mobile-taro/vue/ && npm run dev:alipay"
,
"dev:taro:jd"
:
"npm run createTaroConfig && npm run checked:taro:vue && cd src/sites/mobile-taro/vue/ && npm run dev:jd"
,
...
...
src/packages/__VUE/actionsheet/index.scss
浏览文件 @
019ab2a6
...
...
@@ -53,7 +53,7 @@
.nut-actionsheet-item
{
display
:
block
;
// height: 24px;
padding
:
10px
;
padding
:
$actionsheet-item-padding
;
line-height
:
$actionsheet-item-line-height
;
font-size
:
$actionsheet-item-font-size
;
color
:
$actionsheet-item-font-color
;
...
...
@@ -64,19 +64,19 @@
}
.desc
{
font-size
:
$actionsheet-item-font-size
;
color
:
#999
;
font-size
:
$actionsheet-item-
desc-
font-size
;
color
:
$actionsheet-item-desc-font-color
;
cursor
:
default
;
}
.subdesc
{
display
:
block
;
font-size
:
$actionsheet-item-subdesc-font-size
;
color
:
#999
;
color
:
$actionsheet-item-subdesc-font-color
;
}
.nut-actionsheet-item-disabled
{
color
:
#e1e1e1
!
important
;
color
:
$actionsheet-item-disabled-font-color
!
important
;
cursor
:
not
-
allowed
;
}
.nut-actionsheet-item-loading
{
...
...
src/packages/__VUE/badge/demo.vue
浏览文件 @
019ab2a6
...
...
@@ -11,6 +11,9 @@
<nut-badge
value=
"NEW"
>
<nut-avatar
icon=
"my"
shape=
"square"
></nut-avatar>
</nut-badge>
<nut-badge
value=
"NEW"
bubble
>
<nut-avatar
icon=
"my"
shape=
"square"
></nut-avatar>
</nut-badge>
<nut-badge
dot
>
<nut-avatar
icon=
"my"
shape=
"square"
></nut-avatar>
</nut-badge>
...
...
src/packages/__VUE/badge/doc.en-US.md
浏览文件 @
019ab2a6
...
...
@@ -218,6 +218,7 @@ app.use(Badge);
| max | When value is a numeric value, the maximum value | Number |
`10000`
|
| z-index | badge z-index | Number |
`10`
|
| dot | whether to dot | Boolean |
`false`
|
| bubble | whether to bubble | Boolean |
`false`
|
| hidden | whether to hide | Boolean |
`false`
|
| top | Up and down offset, support unit setting, for example: 5px | Number |
`0`
|
| right | Left and right offset, support unit setting, for example: 5px | Number |
`0`
|
...
...
src/packages/__VUE/badge/doc.md
浏览文件 @
019ab2a6
...
...
@@ -218,6 +218,7 @@ app.use(Badge);
| max | value 为数值时,最大值 | Number |
`10000`
|
| z-index | 徽标的 z-index 值 | Number |
`10`
|
| dot | 是否为小点 | Boolean |
`false`
|
| bubble | 是否为气泡形状 | Boolean |
`false`
|
| hidden | 是否隐藏 | Boolean |
`false`
|
| top | 上下偏移量,支持单位设置,可设置为:5px 等 | Number |
`0`
|
| right | 左右偏移量,支持单位设置,可设置为:5px 等 | Number |
`0`
|
...
...
src/packages/__VUE/badge/index.scss
浏览文件 @
019ab2a6
...
...
@@ -24,6 +24,8 @@
background
:
$badge-background-color
;
padding
:
$badge-padding
;
text-align
:
center
;
line-height
:
$badge-line-height
;
border
:
$badge-border
;
border-radius
:
$badge-border-radius
;
font-size
:
$badge-font-size
;
font-weight
:
normal
;
...
...
@@ -38,4 +40,8 @@
border-radius
:
$badge-dot-border-radius
;
padding
:
$badge-dot-padding
;
}
.is-bubble
{
border-bottom-left-radius
:
0
;
}
}
src/packages/__VUE/badge/index.taro.vue
浏览文件 @
019ab2a6
...
...
@@ -8,7 +8,7 @@
v-show=
"!hidden && (content || dot)"
v-text=
"content"
class=
"nut-badge__content sup"
:class=
"
{ 'is-dot': dot }"
:class=
"
{ 'is-dot': dot
, 'is-bubble': !dot
&&
bubble
}"
:style="stl"
>
</view>
...
...
@@ -32,6 +32,10 @@ export default create({
type
:
Boolean
,
default
:
false
},
bubble
:
{
type
:
Boolean
,
default
:
false
},
hidden
:
{
type
:
Boolean
,
default
:
false
...
...
src/packages/__VUE/badge/index.vue
浏览文件 @
019ab2a6
...
...
@@ -8,7 +8,7 @@
v-show=
"!hidden && (content || dot)"
v-text=
"content"
class=
"nut-badge__content sup"
:class=
"
{ 'is-dot': dot }"
:class=
"
{ 'is-dot': dot
, 'is-bubble': !dot
&&
bubble
}"
:style="stl"
>
</view>
...
...
@@ -32,6 +32,10 @@ export default create({
type
:
Boolean
,
default
:
false
},
bubble
:
{
type
:
Boolean
,
default
:
false
},
hidden
:
{
type
:
Boolean
,
default
:
false
...
...
src/packages/__VUE/cell/demo.vue
浏览文件 @
019ab2a6
...
...
@@ -52,10 +52,16 @@
/>
</
template
>
</nut-cell>
<nut-cell
:title=
"translate('image')"
:sub-title=
"translate('title1')"
>
<
template
v-slot:icon
>
<div
style=
"height: 40px; width: 40px; border-radius: 50%; background: #e5e5e5"
></div>
</
template
>
</nut-cell>
</nut-cell-group>
<h2>
{{ translate('displayIcon') }}
</h2>
<nut-cell
:title=
"translate('name')"
icon=
"my"
:desc=
"translate('desc')"
isLink
>
</nut-cell>
<nut-cell
:title=
"translate('name')"
icon=
"my"
:desc=
"translate('desc')"
isLink
size=
"large"
>
</nut-cell>
<h2>
{{ translate('title6') }}
</h2>
<nut-cell
desc-text-align=
"left"
:desc=
"translate('desc')"
></nut-cell>
...
...
src/packages/__VUE/cell/index.scss
浏览文件 @
019ab2a6
...
...
@@ -26,8 +26,29 @@
&
--large
{
font-size
:
$cell-large-title-font
;
padding
:
$cell-large-padding
;
line-height
:
$cell-large-line-height
;
.nut-cell__title-desc
{
font-size
:
$cell-large-title-desc-font
;
line-height
:
$cell-large-title-desc-line-height
;
}
.nut-cell__icon
{
margin
:
$cell-default-large-icon-margin
;
.nut-icon
{
width
:
$cell-default-large-icon-size
;
height
:
$cell-default-large-icon-size
;
line-height
:
$cell-default-large-icon-size
;
}
.nutui-iconfont
{
font-size
:
$cell-default-large-icon-font-size
;
}
}
.nut-cell__link.nut-icon
{
height
:
$cell-large-icon-link-height
;
line-height
:
$cell-large-icon-link-height
;
}
}
...
...
@@ -72,7 +93,17 @@
&
__icon
{
display
:
flex
;
flex-direction
:
row
;
margin-right
:
$cell-default-icon-margin
;
margin
:
$cell-default-icon-margin
;
.nut-icon
{
width
:
$cell-default-icon-size
;
height
:
$cell-default-icon-size
;
line-height
:
$cell-default-icon-size
;
}
.nutui-iconfont
{
font-size
:
$cell-default-icon-font-size
;
}
}
&
__title
{
...
...
@@ -80,7 +111,9 @@
flex-direction
:
column
;
flex
:
1
;
&
-desc
{
line-height
:
$cell-title-desc-line-height
;
font-size
:
$cell-title-desc-font
;
color
:
$cell-title-desc-color
;
}
}
&
__value
{
...
...
@@ -93,7 +126,13 @@
color
:
$cell-color
;
}
}
&
__link
{
color
:
#979797
;
&
__link
.nut-icon
{
color
:
$cell-icon-link-color
;
margin
:
$cell-icon-link-margin
;
width
:
$cell-icon-link-width
;
min-width
:
1em
;
height
:
$cell-icon-link-height
;
line-height
:
$cell-icon-link-height
;
font-size
:
$cell-icon-link-font-size
;
}
}
src/packages/__VUE/cellgroup/index.scss
浏览文件 @
019ab2a6
...
...
@@ -5,9 +5,9 @@
padding
:
$cell-group-title-padding
;
color
:
$cell-group-title-color
;
font-size
:
$cell-group-title-font-size
;
font-weight
:
$cell-group-title-font-weight
;
line-height
:
$cell-group-title-line-height
;
margin-top
:
30px
;
margin-bottom
:
10px
;
margin
:
$cell-group-title-margin
;
}
&
__desc
{
display
:
inherit
;
...
...
@@ -15,8 +15,7 @@
color
:
$cell-group-desc-color
;
font-size
:
$cell-group-desc-font-size
;
line-height
:
$cell-group-desc-line-height
;
margin-top
:
10px
;
margin-bottom
:
10px
;
margin
:
$cell-group-desc-margin
;
}
&
__warp
{
display
:
inherit
;
...
...
src/packages/__VUE/collapseitem/index.scss
浏览文件 @
019ab2a6
...
...
@@ -73,7 +73,7 @@
.subTitle
{
position
:
absolute
;
top
:
50%
;
right
:
60px
;
right
:
$collapse-item-sub-title-right
;
margin-top
:
-12px
;
color
:
$collapse-item-sub-title-color
;
}
...
...
src/packages/__VUE/collapseitem/index.taro.vue
浏览文件 @
019ab2a6
...
...
@@ -120,8 +120,8 @@ export default create({
openExpanded
:
false
,
// classDirection: 'right',
iconStyle
:
{
transform
:
'
rotate(0deg)
'
,
marginTop
:
parent
.
props
.
iconHeght
?
'
-
'
+
parent
.
props
.
iconHeght
/
2
+
'
px
'
:
'
-10px
'
transform
:
'
translateY(-50%) rotate(0deg)
'
//
marginTop: parent.props.iconHeght ? '-' + parent.props.iconHeght / 2 + 'px' : '-10px'
}
});
...
...
@@ -157,9 +157,9 @@ export default create({
// 手风琴模式
const
animation
=
()
=>
{
if
(
parent
.
props
.
icon
&&
!
proxyData
.
openExpanded
)
{
proxyData
.
iconStyle
[
'
transform
'
]
=
'
rotate(0deg)
'
;
proxyData
.
iconStyle
[
'
transform
'
]
=
'
translateY(-50%)
rotate(0deg)
'
;
}
else
{
proxyData
.
iconStyle
[
'
transform
'
]
=
'
rotate(
'
+
parent
.
props
.
rotate
+
'
deg)
'
;
proxyData
.
iconStyle
[
'
transform
'
]
=
'
translateY(-50%)
rotate(
'
+
parent
.
props
.
rotate
+
'
deg)
'
;
}
nextTick
(()
=>
{
// const query = Taro.createSelectorQuery();
...
...
@@ -191,7 +191,7 @@ export default create({
const
defaultOpen
=
()
=>
{
open
();
if
(
parent
.
props
.
icon
)
{
proxyData
[
'
iconStyle
'
][
'
transform
'
]
=
'
rotate(
'
+
parent
.
props
.
rotate
+
'
deg)
'
;
proxyData
[
'
iconStyle
'
][
'
transform
'
]
=
'
translateY(-50%)
rotate(
'
+
parent
.
props
.
rotate
+
'
deg)
'
;
}
};
...
...
src/packages/__VUE/collapseitem/index.vue
浏览文件 @
019ab2a6
...
...
@@ -112,8 +112,8 @@ export default create({
openExpanded
:
false
,
// classDirection: 'right',
iconStyle
:
{
transform
:
'
rotate(0deg)
'
,
marginTop
:
parent
.
props
.
iconHeght
?
'
-
'
+
parent
.
props
.
iconHeght
/
2
+
'
px
'
:
'
-10px
'
transform
:
'
translateY(-50%) rotate(0deg)
'
//
marginTop: parent.props.iconHeght ? '-' + parent.props.iconHeght / 2 + 'px' : '-10px'
}
});
...
...
@@ -157,9 +157,9 @@ export default create({
wrapperRefEle
.
style
.
willChange
=
'
height
'
;
wrapperRefEle
.
style
.
height
=
!
proxyData
.
openExpanded
?
0
:
contentHeight
;
if
(
parent
.
props
.
icon
&&
!
proxyData
.
openExpanded
)
{
proxyData
.
iconStyle
[
'
transform
'
]
=
'
rotate(0deg)
'
;
proxyData
.
iconStyle
[
'
transform
'
]
=
'
translateY(-50%)
rotate(0deg)
'
;
}
else
{
proxyData
.
iconStyle
[
'
transform
'
]
=
'
rotate(
'
+
parent
.
props
.
rotate
+
'
deg)
'
;
proxyData
.
iconStyle
[
'
transform
'
]
=
'
translateY(-50%)
rotate(
'
+
parent
.
props
.
rotate
+
'
deg)
'
;
}
}
if
(
!
proxyData
.
openExpanded
)
{
...
...
@@ -175,7 +175,7 @@ export default create({
const
defaultOpen
=
()
=>
{
open
();
if
(
parent
.
props
.
icon
)
{
proxyData
[
'
iconStyle
'
][
'
transform
'
]
=
'
rotate(
'
+
parent
.
props
.
rotate
+
'
deg)
'
;
proxyData
[
'
iconStyle
'
][
'
transform
'
]
=
'
translateY(-50%)
rotate(
'
+
parent
.
props
.
rotate
+
'
deg)
'
;
}
};
...
...
src/packages/__VUE/input/index.scss
浏览文件 @
019ab2a6
...
...
@@ -26,9 +26,9 @@ textarea {
.nut-input
{
position
:
relative
;
width
:
100%
;
padding
:
10px
25px
;
padding
:
$input-padding
;
display
:
flex
;
line-height
:
24px
;
line-height
:
$input-line-height
;
background
:
$white
;
font-size
:
$input-font-size
;
box-sizing
:
border-box
;
...
...
src/packages/__VUE/numberkeyboard/index.scss
浏览文件 @
019ab2a6
...
...
@@ -44,7 +44,7 @@
.number-board-body
{
display
:
flex
;
padding
:
6px
0
0
6px
;
padding
:
$numberkeyboard-body-padding
;
.number-board
{
display
:
flex
;
...
...
src/packages/__VUE/step/index.scss
浏览文件 @
019ab2a6
...
...
@@ -114,12 +114,16 @@
color
:
$steps-wait-icon-color
;
}
}
.nut-step-title
{
color
:
$steps-wait-title-color
;
}
.nut-step-content
{
color
:
$steps-wait-content-color
;
}
}
}
.nut-steps-horizontal
{
padding
:
$steps-horizontal-padding
;
&
.nut-steps-dot
{
.nut-step-head
{
margin-top
:
7px
;
...
...
@@ -172,6 +176,7 @@
}
}
.nut-steps-vertical
{
padding
:
$steps-vertical-padding
;
.nut-step
{
display
:
flex
;
height
:
33
.34%
;
...
...
@@ -181,11 +186,11 @@
display
:
inline-block
;
width
:
1px
;
height
:
100%
;
background
:
#909ca4
;
background
:
$steps-base-line-color
;
}
.nut-step-main
{
display
:
inline-block
;
padding
-left
:
6%
;
padding
:
$steps-vertical-main-padding
;
text-align
:
left
;
}
&
.nut-steps-dot
{
...
...
src/packages/__VUE/steps/demo.vue
浏览文件 @
019ab2a6
...
...
@@ -167,6 +167,7 @@ export default createDemo({
}
}
.steps-wrapper
{
box-sizing
:
border-box
;
width
:
100%
;
padding
:
15px
0
;
background-color
:
#fff
;
...
...
src/packages/__VUE/swiper/index.scss
浏览文件 @
019ab2a6
...
...
@@ -20,7 +20,7 @@
display
:
flex
;
position
:
absolute
;
left
:
50%
;
bottom
:
12px
;
bottom
:
$swiper-pagination-item-position
;
transform
:
translateX
(
-50%
);
i
{
width
:
$swiper-pagination-item-width
;
...
...
@@ -34,7 +34,7 @@
}
&
-pagination-vertical
{
top
:
50%
;
left
:
12px
;
left
:
$swiper-pagination-item-position
;
bottom
:
auto
;
flex-direction
:
column
;
-webkit-box-orient
:
vertical
;
...
...
src/packages/__VUE/switch/index.scss
浏览文件 @
019ab2a6
...
...
@@ -26,10 +26,10 @@
color
:
$white
;
font-size
:
$font-size-1
;
&
.open
{
transform
:
translateX
(
-16px
)
;
transform
:
$switch-label-open-transform
;
}
&
.close
{
transform
:
translateX
(
16px
)
;
transform
:
$switch-label-close-transform
;
}
}
}
...
...
src/packages/__VUE/tabbaritem/index.scss
浏览文件 @
019ab2a6
...
...
@@ -16,7 +16,7 @@
align-items
:
center
;
&
__icon--unactive
{
color
:
$
black
;
color
:
$
tabbar-unactive-color
;
}
&
_icon-box
{
...
...
@@ -32,8 +32,9 @@
border
:
1px
solid
$white
;
border-radius
:
7px
;
text-align
:
center
;
top
:
-2px
;
right
:
-7px
;
top
:
$tabbar-tips-nums-top
;
right
:
$tabbar-tips-nums-right
;
left
:
$tabbar-tips-nums-left
;
box-shadow
:
0
0
0
1px
$white
;
font-size
:
$font-size-1
;
color
:
$white
;
...
...
@@ -52,7 +53,7 @@
color
:
#fff
;
top
:
0
;
right
:
0
;
transform
:
translate
(
50%
,
-50%
)
;
transform
:
$tabbar-tips-dot-transform
;
}
&
_num
{
...
...
src/packages/__VUE/tabpane/index.scss
浏览文件 @
019ab2a6
...
...
@@ -8,7 +8,7 @@
flex-shrink
:
0
;
display
:
block
;
background-color
:
#fff
;
padding
:
24px
20px
;
padding
:
$tabs-tabpane-padding
;
box-sizing
:
border-box
;
overflow
:
auto
;
height
:
100%
;
...
...
src/packages/__VUE/toast/index.scss
浏览文件 @
019ab2a6
...
...
@@ -37,7 +37,7 @@
&
-inner
{
display
:
inline-block
;
font-size
:
$toast-text-font-size
;
min-width
:
40%
;
min-width
:
$toast-min-width
;
max-width
:
65%
;
text-align
:
center
;
padding
:
$toast-inner-padding
;
...
...
@@ -47,13 +47,19 @@
color
:
$toast-font-color
;
}
&
-text
{
display
:
block
;
font-size
:
$toast-text-font-size
;
line-height
:
$toast-text-line-height
;
&
:empty
{
margin-bottom
:
-8px
;
}
}
&
-title
{
font-size
:
$toast-title-font-size
;
line-height
:
$toast-title-line-height
;
&
+
.nut-toast-text
{
margin-top
:
$toast-title-margin-bottom
;
}
&
:empty
{
margin-bottom
:
-8px
;
}
...
...
src/packages/styles/variables-jdb.scss
浏览文件 @
019ab2a6
...
...
@@ -178,7 +178,9 @@ $button-small-round-border-radius: $button-border-radius !default;
$cell-color
:
$title-color2
!
default
;
$cell-title-font
:
$font-size-2
!
default
;
$cell-title-desc-line-height
:
inherit
!
default
;
$cell-title-desc-font
:
$font-size-1
!
default
;
$cell-title-desc-color
:
inherit
!
default
;
$cell-desc-font
:
$font-size-2
!
default
;
$cell-desc-color
:
$disable-color
!
default
;
$cell-border-radius
:
6px
!
default
;
...
...
@@ -187,22 +189,38 @@ $cell-line-height: 20px !default;
$cell-after-right
:
16px
!
default
;
$cell-after-border-bottom
:
1px
solid
#f5f6f7
!
default
;
$cell-default-icon-margin
:
0
4px
0
0px
!
default
;
$cell-default-icon-size
:
20px
!
default
;
$cell-default-icon-font-size
:
16px
!
default
;
$cell-icon-link-margin
:
0
!
default
;
$cell-icon-link-width
:
20px
!
default
;
$cell-icon-link-height
:
20px
!
default
;
$cell-icon-link-color
:
#979797
!
default
;
$cell-icon-link-font-size
:
16px
!
default
;
$cell-large-line-height
:
20px
!
default
;
$cell-large-title-font
:
$font-size-large
!
default
;
$cell-large-title-desc-line-height
:
inherit
!
default
;
$cell-large-title-desc-font
:
$font-size-base
!
default
;
$cell-large-padding
:
15px
16px
!
default
;
$cell-default-large-icon-margin
:
0
4px
0
0px
!
default
;
$cell-default-large-icon-size
:
20px
!
default
;
$cell-default-large-icon-font-size
:
20px
!
default
;
$cell-large-icon-link-height
:
20px
!
default
;
$cell-background
:
$white
!
default
;
// cell-group
$cell-group-title-padding
:
0
10px
!
default
;
$cell-group-title-margin
:
30px
0
10px
0
!
default
;
$cell-group-title-color
:
#909ca4
!
default
;
$cell-group-title-font-size
:
$font-size-2
!
default
;
$cell-group-title-font-weight
:
normal
!
default
;
$cell-group-title-line-height
:
20px
!
default
;
$cell-group-desc-padding
:
0
10px
!
default
;
$cell-group-desc-margin
:
10px
0
10px
0
!
default
;
$cell-group-desc-color
:
#909ca4
!
default
;
$cell-group-desc-font-size
:
$font-size-1
!
default
;
$cell-group-desc-line-height
:
16px
!
default
;
$cell-group-background-color
:
$white
!
default
;
$cell-large-title-font
:
$font-size-large
!
default
;
$cell-large-title-desc-font
:
$font-size-base
!
default
;
$cell-large-padding
:
15px
16px
!
default
;
// divider
...
...
@@ -246,6 +264,8 @@ $picker-item-active-line-border: 1px solid #d8d8d8 !default;
$picker-columns-item-color
:
$title-color
!
default
;
//input
$input-padding
:
10px
25px
;
$input-line-height
:
24px
;
$input-border-bottom
:
#eaf0fb
!
default
;
$input-disabled-color
:
#c8c9cc
!
default
;
$input-required-color
:
$required-color
!
default
;
...
...
@@ -282,10 +302,15 @@ $inputnumber-display: flex !default;
$actionsheet-light-color
:
#f6f6f6
!
default
;
$actionsheet-item-border-bottom
:
none
!
default
;
$actionsheet-item-font-size
:
$font-size-2
!
default
;
$actionsheet-item-desc-font-size
:
$font-size-2
!
default
;
$actionsheet-item-desc-font-color
:
#999
!
default
;
$actionsheet-item-subdesc-font-size
:
$font-size-1
!
default
;
$actionsheet-item-subdesc-font-color
:
#999
!
default
;
$actionsheet-item-cancel-border-top
:
1px
solid
$actionsheet-light-color
!
default
;
$actionsheet-item-padding
:
10px
!
default
;
$actionsheet-item-line-height
:
24px
!
default
;
$actionsheet-item-font-color
:
$title-color
!
default
;
$actionsheet-item-disabled-font-color
:
#e1e1e1
!
default
;
//shortpassword
$shortpassword-background-color
:
rgba
(
245
,
245
,
245
,
1
)
!
default
;
...
...
@@ -305,6 +330,8 @@ $numberkeyboard-header-close-padding: 0 16px !default;
$numberkeyboard-header-close-color
:
#576b95
!
default
;
$numberkeyboard-header-close-font-size
:
14px
!
default
;
$numberkeyboard-header-close-background-color
:
transparent
!
default
;
$numberkeyboard-body-padding
:
6px
0
0
6px
!
default
;
$numberkeyboard-wrapper-padding
:
0
6px
6px
0
!
default
;
$numberkeyboard-key-background-color
:
#fff
!
default
;
$numberkeyboard-key-active-background-color
:
#ebedf0
!
default
;
$numberkeyboard-key-height
:
48px
!
default
;
...
...
@@ -357,10 +384,16 @@ $switch-inside-width: 13px !default;
$switch-inside-height
:
13px
!
default
;
$switch-inside-open-transform
:
translateX
(
146%
)
!
default
;
$switch-inside-close-transform
:
translateX
(
30%
)
!
default
;
$switch-label-open-transform
:
translateX
(
-16px
)
!
default
;
$switch-label-close-transform
:
translateX
(
16px
)
!
default
;
// toast
$toast-min-width
:
40%
;
$toast-title-font-size
:
16px
!
default
;
$toast-title-line-height
:
inherit
!
default
;
$toast-title-margin-bottom
:
0
!
default
;
$toast-text-font-size
:
$tdd-font-size-6
!
default
;
$toast-text-line-height
:
inherit
!
default
;
$toast-font-color
:
$white
!
default
;
$toast-inner-padding
:
24px
30px
!
default
;
$toast-inner-bg-color
:
$tdd-color-black-80
!
default
;
...
...
@@ -424,7 +457,7 @@ $rate-icon-void-color: $disable-color !default;
// tabbar
$tabbar-active-color
:
$primary-color
!
default
;
$tabbar-unactive-color
:
$
primary-color
!
default
;
$tabbar-unactive-color
:
$
dark-color-gray
!
default
;
$tabbar-border-top
:
1px
solid
#eee
!
default
;
$tabbar-border-bottom
:
1px
solid
#eee
!
default
;
$tabbar-box-shadow
:
none
!
default
;
...
...
@@ -432,6 +465,10 @@ $tabbar-item-text-font-size: $font-size-0 !default;
$tabbar-item-text-line-height
:
initial
!
default
;
$tabbar-height
:
50px
!
default
;
$tabbar-word-margin-top
:
auto
!
default
;
$tabbar-tips-nums-top
:
-2px
!
default
;
$tabbar-tips-nums-right
:
-7px
!
default
;
$tabbar-tips-nums-left
:
initial
!
default
;
$tabbar-tips-dot-transform
:
translate
(
50%
,
-50%
)
!
default
;
//infiniteloading
$infiniteloading-bottom-color
:
#c8c8c8
!
default
;
...
...
@@ -447,6 +484,7 @@ $range-bar-btn-height: 24px !default;
$range-bar-btn-border
:
1px
solid
$primary-color
!
default
;
//swiper
$swiper-pagination-item-position
:
12px
!
default
;
$swiper-pagination-item-width
:
8px
!
default
;
$swiper-pagination-item-height
:
3px
!
default
;
$swiper-pagination-item-margin-right
:
7px
!
default
;
...
...
@@ -477,11 +515,15 @@ $steps-base-title-color: #909ca4 !default;
$steps-base-title-margin-bottom
:
10px
!
default
;
$steps-base-content-font-size
:
14px
!
default
;
$steps-base-content-color
:
#666
!
default
;
$steps-horizontal-padding
:
0
!
default
;
$steps-vertical-padding
:
0
!
default
;
$steps-vertical-main-padding
:
0
0
0
6%
!
default
;
$steps-wait-icon-bg-color
:
#959fb1
!
default
;
$steps-wait-icon-color
:
$white
!
default
;
$steps-wait-head-color
:
#909ca4
!
default
;
$steps-wait-head-border-color
:
#909ca4
!
default
;
$steps-wait-title-color
:
inherit
!
default
;
$steps-wait-content-color
:
#909ca4
!
default
;
$steps-finish-head-color
:
$primary-color
!
default
;
...
...
@@ -609,7 +651,9 @@ $tag-height: auto !default;
$badge-background-color
:
linear-gradient
(
135deg
,
$primary-color-start
0%
,
$primary-color-end
100%
)
!
default
;
$badge-color
:
#fff
!
default
;
$badge-font-size
:
$font-size-1
!
default
;
$badge-border
:
none
!
default
;
$badge-border-radius
:
14px
!
default
;
$badge-line-height
:
inherit
!
default
;
$badge-padding
:
0
5px
!
default
;
$badge-content-transform
:
translateY
(
-50%
)
translateX
(
100%
)
!
default
;
$badge-z-index
:
1
!
default
;
...
...
@@ -665,6 +709,7 @@ $pagination-prev-next-padding: 0 11px !default;
// tabs
$tabs-tab-smile-color
:
$primary-color
!
default
;
$tabs-tabpane-padding
:
24px
20px
!
default
;
$tabs-titles-border-radius
:
0
!
default
;
$tabs-titles-item-large-font-size
:
$font-size-3
!
default
;
$tabs-titles-item-font-size
:
$font-size-2
!
default
;
...
...
@@ -720,6 +765,7 @@ $collapse-item-icon-color: #666666 !default;
$collapse-item-font-size
:
$font-size-2
!
default
;
$collapse-item-line-height
:
24px
!
default
;
$collapse-item-sub-title-color
:
#666666
!
default
;
$collapse-item-sub-title-right
:
60px
!
default
;
$collapse-wrapper-content-padding
:
12px
26px
!
default
;
$collapse-wrapper-empty-content-padding
:
0
26px
!
default
;
$collapse-wrapper-content-color
:
#666666
!
default
;
...
...
src/packages/styles/variables-jddkh.scss
浏览文件 @
019ab2a6
...
...
@@ -109,7 +109,9 @@ $button-small-round-border-radius: 15px !default;
$cell-color
:
$title-color2
!
default
;
$cell-title-font
:
$font-size-2
!
default
;
$cell-title-desc-line-height
:
inherit
!
default
;
$cell-title-desc-font
:
$font-size-1
!
default
;
$cell-title-desc-color
:
inherit
!
default
;
$cell-desc-font
:
$font-size-2
!
default
;
$cell-desc-color
:
$disable-color
!
default
;
$cell-border-radius
:
6px
!
default
;
...
...
@@ -118,18 +120,34 @@ $cell-line-height: 20px !default;
$cell-after-right
:
16px
!
default
;
$cell-after-border-bottom
:
1px
solid
#f5f6f7
!
default
;
$cell-default-icon-margin
:
0
4px
0
0px
!
default
;
$cell-default-icon-size
:
20px
!
default
;
$cell-default-icon-font-size
:
16px
!
default
;
$cell-icon-link-margin
:
0
!
default
;
$cell-icon-link-width
:
20px
!
default
;
$cell-icon-link-height
:
20px
!
default
;
$cell-icon-link-color
:
#979797
!
default
;
$cell-icon-link-font-size
:
16px
!
default
;
$cell-large-line-height
:
20px
!
default
;
$cell-large-title-font
:
$font-size-large
!
default
;
$cell-large-title-desc-line-height
:
inherit
!
default
;
$cell-large-title-desc-font
:
$font-size-base
!
default
;
$cell-large-padding
:
15px
16px
!
default
;
$cell-default-large-icon-margin
:
0
4px
0
0px
!
default
;
$cell-default-large-icon-size
:
20px
!
default
;
$cell-default-large-icon-font-size
:
20px
!
default
;
$cell-large-icon-link-height
:
20px
!
default
;
$cell-background
:
$white
!
default
;
// cell-group
$cell-group-title-padding
:
0
10px
!
default
;
$cell-group-title-margin
:
30px
0
10px
0
!
default
;
$cell-group-title-color
:
#909ca4
!
default
;
$cell-group-title-font-size
:
$font-size-2
!
default
;
$cell-group-title-font-weight
:
normal
!
default
;
$cell-group-title-line-height
:
20px
!
default
;
$cell-group-desc-padding
:
0
10px
!
default
;
$cell-group-desc-margin
:
10px
0
10px
0
!
default
;
$cell-group-desc-color
:
#909ca4
!
default
;
$cell-group-desc-font-size
:
$font-size-1
!
default
;
$cell-group-desc-line-height
:
16px
!
default
;
...
...
@@ -177,6 +195,8 @@ $picker-item-active-line-border: 1px solid #d8d8d8 !default;
$picker-columns-item-color
:
$title-color
!
default
;
//input
$input-padding
:
10px
25px
;
$input-line-height
:
24px
;
$input-border-bottom
:
#eaf0fb
!
default
;
$input-disabled-color
:
#c8c9cc
!
default
;
$input-required-color
:
$required-color
!
default
;
...
...
@@ -213,10 +233,15 @@ $inputnumber-display: inline-flex !default;
$actionsheet-light-color
:
#f6f6f6
!
default
;
$actionsheet-item-border-bottom
:
none
!
default
;
$actionsheet-item-font-size
:
$font-size-2
!
default
;
$actionsheet-item-desc-font-size
:
$font-size-2
!
default
;
$actionsheet-item-desc-font-color
:
#999
!
default
;
$actionsheet-item-subdesc-font-size
:
$font-size-1
!
default
;
$actionsheet-item-subdesc-font-color
:
#999
!
default
;
$actionsheet-item-cancel-border-top
:
1px
solid
$actionsheet-light-color
!
default
;
$actionsheet-item-padding
:
10px
!
default
;
$actionsheet-item-line-height
:
24px
!
default
;
$actionsheet-item-font-color
:
$title-color
!
default
;
$actionsheet-item-disabled-font-color
:
#e1e1e1
!
default
;
//shortpassword
$shortpassword-background-color
:
rgba
(
245
,
245
,
245
,
1
)
!
default
;
...
...
@@ -236,6 +261,8 @@ $numberkeyboard-header-close-padding: 0 16px !default;
$numberkeyboard-header-close-color
:
#576b95
!
default
;
$numberkeyboard-header-close-font-size
:
14px
!
default
;
$numberkeyboard-header-close-background-color
:
transparent
!
default
;
$numberkeyboard-body-padding
:
6px
0
0
6px
!
default
;
$numberkeyboard-wrapper-padding
:
0
6px
6px
0
!
default
;
$numberkeyboard-key-background-color
:
#fff
!
default
;
$numberkeyboard-key-active-background-color
:
#ebedf0
!
default
;
$numberkeyboard-key-height
:
48px
!
default
;
...
...
@@ -288,10 +315,16 @@ $switch-inside-width: 13px !default;
$switch-inside-height
:
13px
!
default
;
$switch-inside-open-transform
:
translateX
(
146%
)
!
default
;
$switch-inside-close-transform
:
translateX
(
30%
)
!
default
;
$switch-label-open-transform
:
translateX
(
-16px
)
!
default
;
$switch-label-close-transform
:
translateX
(
16px
)
!
default
;
// toast
$toast-min-width
:
40%
;
$toast-title-font-size
:
16px
!
default
;
$toast-title-line-height
:
inherit
!
default
;
$toast-title-margin-bottom
:
0
!
default
;
$toast-text-font-size
:
14px
!
default
;
$toast-text-line-height
:
inherit
!
default
;
$toast-font-color
:
$white
!
default
;
$toast-inner-padding
:
24px
30px
!
default
;
$toast-inner-bg-color
:
rgba
(
0
,
0
,
0
,
0
.85
)
!
default
;
...
...
@@ -355,7 +388,7 @@ $rate-icon-void-color: $disable-color !default;
// tabbar
$tabbar-active-color
:
$primary-color
!
default
;
$tabbar-unactive-color
:
$
primary-color
!
default
;
$tabbar-unactive-color
:
$
dark-color-gray
!
default
;
$tabbar-border-top
:
1px
solid
#eee
!
default
;
$tabbar-border-bottom
:
1px
solid
#eee
!
default
;
$tabbar-box-shadow
:
none
!
default
;
...
...
@@ -363,6 +396,10 @@ $tabbar-item-text-font-size: $font-size-0 !default;
$tabbar-item-text-line-height
:
initial
!
default
;
$tabbar-height
:
54px
!
default
;
$tabbar-word-margin-top
:
6px
!
default
;
$tabbar-tips-nums-top
:
-2px
!
default
;
$tabbar-tips-nums-right
:
-7px
!
default
;
$tabbar-tips-nums-left
:
initial
!
default
;
$tabbar-tips-dot-transform
:
translate
(
50%
,
-50%
)
!
default
;
//infiniteloading
$infiniteloading-bottom-color
:
#c8c8c8
!
default
;
...
...
@@ -378,6 +415,7 @@ $range-bar-btn-height: 24px !default;
$range-bar-btn-border
:
1px
solid
$primary-color
!
default
;
//swiper
$swiper-pagination-item-position
:
12px
!
default
;
$swiper-pagination-item-width
:
8px
!
default
;
$swiper-pagination-item-height
:
3px
!
default
;
$swiper-pagination-item-margin-right
:
7px
!
default
;
...
...
@@ -408,11 +446,15 @@ $steps-base-title-color: #909ca4 !default;
$steps-base-title-margin-bottom
:
10px
!
default
;
$steps-base-content-font-size
:
14px
!
default
;
$steps-base-content-color
:
#666
!
default
;
$steps-horizontal-padding
:
0
!
default
;
$steps-vertical-padding
:
0
!
default
;
$steps-vertical-main-padding
:
0
0
0
6%
!
default
;
$steps-wait-icon-bg-color
:
#959fb1
!
default
;
$steps-wait-icon-color
:
$white
!
default
;
$steps-wait-head-color
:
#909ca4
!
default
;
$steps-wait-head-border-color
:
#909ca4
!
default
;
$steps-wait-title-color
:
inherit
!
default
;
$steps-wait-content-color
:
#909ca4
!
default
;
$steps-finish-head-color
:
$primary-color
!
default
;
...
...
@@ -540,7 +582,9 @@ $tag-height: 11px !default;
$badge-background-color
:
linear-gradient
(
135deg
,
$primary-color
0%
,
$primary-color-end
100%
)
!
default
;
$badge-color
:
#fff
!
default
;
$badge-font-size
:
$font-size-1
!
default
;
$badge-border
:
none
!
default
;
$badge-border-radius
:
8px
!
default
;
$badge-line-height
:
inherit
!
default
;
$badge-padding
:
0
5px
!
default
;
$badge-content-transform
:
translateY
(
-50%
)
translateX
(
100%
)
!
default
;
$badge-z-index
:
1
!
default
;
...
...
@@ -596,6 +640,7 @@ $pagination-prev-next-padding: 0 11px !default;
// tabs
$tabs-tab-smile-color
:
$primary-color
!
default
;
$tabs-tabpane-padding
:
24px
20px
!
default
;
$tabs-titles-border-radius
:
0
!
default
;
$tabs-titles-item-large-font-size
:
$font-size-3
!
default
;
$tabs-titles-item-font-size
:
$font-size-2
!
default
;
...
...
@@ -651,6 +696,7 @@ $collapse-item-icon-color: #666666 !default;
$collapse-item-font-size
:
$font-size-2
!
default
;
$collapse-item-line-height
:
24px
!
default
;
$collapse-item-sub-title-color
:
#666666
!
default
;
$collapse-item-sub-title-right
:
60px
!
default
;
$collapse-wrapper-content-padding
:
12px
26px
!
default
;
$collapse-wrapper-empty-content-padding
:
0
26px
!
default
;
$collapse-wrapper-content-color
:
#666666
!
default
;
...
...
src/packages/styles/variables-jdt.scss
浏览文件 @
019ab2a6
...
...
@@ -96,7 +96,9 @@ $button-small-round-border-radius: $button-border-radius !default;
$cell-color
:
rgba
(
0
,
0
,
0
,
0
.85
)
!
default
;
$cell-title-font
:
$font-size-2
!
default
;
$cell-title-desc-line-height
:
18px
!
default
;
$cell-title-desc-font
:
$font-size-1
!
default
;
$cell-title-desc-color
:
rgba
(
0
,
0
,
0
,
0
.45
)
!
default
;
$cell-desc-font
:
$font-size-2
!
default
;
$cell-desc-color
:
rgba
(
0
,
0
,
0
,
0
.25
)
!
default
;
$cell-border-radius
:
0px
!
default
;
...
...
@@ -105,19 +107,35 @@ $cell-line-height: 22px !default;
$cell-after-right
:
0
!
default
;
$cell-after-border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.1
)
!
default
;
$cell-default-icon-margin
:
0
4px
0
0px
!
default
;
$cell-default-icon-size
:
$cell-line-height
!
default
;
$cell-default-icon-font-size
:
$cell-line-height
!
default
;
$cell-icon-link-margin
:
0
0
0
4px
!
default
;
$cell-icon-link-width
:
initial
!
default
;
$cell-icon-link-height
:
$cell-line-height
!
default
;
$cell-icon-link-color
:
rgba
(
0
,
0
,
0
,
0
.45
)
!
default
;
$cell-icon-link-font-size
:
16px
!
default
;
$cell-large-line-height
:
24px
!
default
;
$cell-large-title-font
:
$font-size-large
!
default
;
$cell-large-title-desc-font
:
$font-size-base
!
default
;
$cell-large-padding
:
15px
16px
!
default
;
$cell-large-title-desc-line-height
:
18px
!
default
;
$cell-large-title-desc-font
:
$font-size-1
!
default
;
$cell-large-padding
:
16px
16px
!
default
;
$cell-default-large-icon-margin
:
0
8px
0
0px
!
default
;
$cell-default-large-icon-size
:
$cell-large-line-height
!
default
;
$cell-default-large-icon-font-size
:
$cell-large-line-height
!
default
;
$cell-large-icon-link-height
:
$cell-large-line-height
!
default
;
$cell-background
:
$white
!
default
;
// cell-group
$cell-group-title-padding
:
0
10px
!
default
;
$cell-group-title-color
:
rgba
(
69
,
90
,
100
,
0
.6
)
!
default
;
$cell-group-title-font-size
:
$font-size-2
!
default
;
$cell-group-title-line-height
:
20px
!
default
;
$cell-group-desc-padding
:
0
10px
!
default
;
$cell-group-desc-color
:
#909ca4
!
default
;
$cell-group-title-padding
:
18px
16px
8px
!
default
;
$cell-group-title-margin
:
0
!
default
;
$cell-group-title-color
:
rgba
(
0
,
0
,
0
,
0
.85
)
!
default
;
$cell-group-title-font-size
:
16px
!
default
;
$cell-group-title-font-weight
:
600
!
default
;
$cell-group-title-line-height
:
24px
!
default
;
$cell-group-desc-padding
:
0
16px
!
default
;
$cell-group-desc-margin
:
2px
0
0
!
default
;
$cell-group-desc-color
:
rgba
(
0
,
0
,
0
,
0
.45
)
!
default
;
$cell-group-desc-font-size
:
$font-size-1
!
default
;
$cell-group-desc-line-height
:
16px
!
default
;
$cell-group-background-color
:
$white
!
default
;
...
...
@@ -127,9 +145,9 @@ $cell-group-background-color: $white !default;
$divider-margin
:
16px
0
!
default
;
$divider-text-font-size
:
16px
!
default
;
$divider-text-color
:
rgba
(
0
,
0
,
0
,
0
.3
)
!
default
;
$divider-line-height
:
2
px
!
default
;
$divider-before-margin-right
:
1
6
px
!
default
;
$divider-after-margin-left
:
1
6
px
!
default
;
$divider-line-height
:
1
px
!
default
;
$divider-before-margin-right
:
1
0
px
!
default
;
$divider-after-margin-left
:
1
0
px
!
default
;
$divider-vertical-height
:
12px
!
default
;
$divider-vertical-top
:
2px
!
default
;
$divider-vertical-border-left
:
rgba
(
0
,
0
,
0
,
0
.06
)
!
default
;
...
...
@@ -164,6 +182,8 @@ $picker-item-active-line-border: 1px solid rgba(0, 0, 0, 0.06) !default;
$picker-columns-item-color
:
$title-color
!
default
;
//input
$input-padding
:
14px
16px
;
$input-line-height
:
22px
;
$input-border-bottom
:
#eaf0fb
!
default
;
$input-disabled-color
:
#c8c9cc
!
default
;
$input-required-color
:
$required-color
!
default
;
...
...
@@ -199,10 +219,15 @@ $inputnumber-display: flex !default;
$actionsheet-light-color
:
#f6f6f6
!
default
;
$actionsheet-item-border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.1
)
!
default
;
$actionsheet-item-font-size
:
$font-size-4
!
default
;
$actionsheet-item-desc-font-size
:
16px
!
default
;
$actionsheet-item-desc-font-color
:
rgba
(
0
,
0
,
0
,
0
.45
)
!
default
;
$actionsheet-item-subdesc-font-size
:
$font-size-1
!
default
;
$actionsheet-item-subdesc-font-color
:
rgba
(
0
,
0
,
0
,
0
.45
)
!
default
;
$actionsheet-item-cancel-border-top
:
none
!
default
;
$actionsheet-item-padding
:
11px
!
default
;
$actionsheet-item-line-height
:
28px
!
default
;
$actionsheet-item-font-color
:
#4e5969
!
default
;
$actionsheet-item-font-color
:
rgba
(
0
,
0
,
0
,
0
.65
)
!
default
;
$actionsheet-item-disabled-font-color
:
rgba
(
0
,
0
,
0
,
0
.25
)
!
default
;
//shortpassword
$shortpassword-background-color
:
rgba
(
245
,
245
,
245
,
1
)
!
default
;
...
...
@@ -222,6 +247,8 @@ $numberkeyboard-header-close-padding: 0 16px !default;
$numberkeyboard-header-close-color
:
#576b95
!
default
;
$numberkeyboard-header-close-font-size
:
14px
!
default
;
$numberkeyboard-header-close-background-color
:
transparent
!
default
;
$numberkeyboard-body-padding
:
10px
5px
0
10px
!
default
;
$numberkeyboard-wrapper-padding
:
0
5px
5px
0
!
default
;
$numberkeyboard-key-background-color
:
#fff
!
default
;
$numberkeyboard-key-active-background-color
:
#ebedf0
!
default
;
$numberkeyboard-key-height
:
48px
!
default
;
...
...
@@ -272,12 +299,18 @@ $switch-line-height: 27px !default;
$switch-border-radius
:
27px
!
default
;
$switch-inside-width
:
23px
!
default
;
$switch-inside-height
:
23px
!
default
;
$switch-inside-open-transform
:
translateX
(
100%
)
!
default
;
$switch-inside-close-transform
:
translateX
(
10%
)
!
default
;
$switch-inside-open-transform
:
translateX
(
25px
)
!
default
;
$switch-inside-close-transform
:
translateX
(
2px
)
!
default
;
$switch-label-open-transform
:
translateX
(
-22px
)
!
default
;
$switch-label-close-transform
:
translateX
(
22px
)
!
default
;
// toast
$toast-min-width
:
120px
;
$toast-title-font-size
:
18px
!
default
;
$toast-title-line-height
:
28px
!
default
;
$toast-title-margin-bottom
:
6px
!
default
;
$toast-text-font-size
:
14px
!
default
;
$toast-text-line-height
:
22px
!
default
;
$toast-font-color
:
$white
!
default
;
$toast-inner-padding
:
12px
20px
!
default
;
$toast-inner-bg-color
:
rgba
(
0
,
0
,
0
,
0
.65
)
!
default
;
...
...
@@ -331,14 +364,18 @@ $rate-icon-void-color: $disable-color !default;
// tabbar
$tabbar-active-color
:
$primary-color
!
default
;
$tabbar-unactive-color
:
$primary-color
!
default
;
$tabbar-unactive-color
:
rgba
(
0
,
0
,
0
,
0
.65
)
!
default
;
$tabbar-border-top
:
0
!
default
;
$tabbar-border-bottom
:
0
!
default
;
$tabbar-box-shadow
:
0
-1
.5px
5px
rgba
(
0
,
0
,
0
,
0
.04
)
!
default
;
$tabbar-item-text-font-size
:
12px
!
default
;
$tabbar-item-text-line-height
:
18px
!
default
;
$tabbar-height
:
50px
!
default
;
$tabbar-word-margin-top
:
auto
!
default
;
$tabbar-word-margin-top
:
2px
!
default
;
$tabbar-tips-nums-top
:
-3px
!
default
;
$tabbar-tips-nums-right
:
initial
!
default
;
$tabbar-tips-nums-left
:
calc
(
50%
+
4px
)
!
default
;
$tabbar-tips-dot-transform
:
translate
(
50%
,
-3px
)
!
default
;
//infiniteloading
$infiniteloading-bottom-color
:
#c8c8c8
!
default
;
...
...
@@ -354,6 +391,7 @@ $range-bar-btn-height: 22px !default;
$range-bar-btn-border
:
none
!
default
;
//swiper
$swiper-pagination-item-position
:
6px
!
default
;
$swiper-pagination-item-width
:
5px
!
default
;
$swiper-pagination-item-height
:
5px
!
default
;
$swiper-pagination-item-margin-right
:
6px
!
default
;
...
...
@@ -379,27 +417,31 @@ $steps-base-icon-height: 18px !default;
$steps-base-icon-line-height
:
18px
!
default
;
$steps-base-icon-font-size
:
12px
!
default
;
$steps-base-title-font-size
:
12px
!
default
;
$steps-base-line-color
:
#
e1e1e1
!
default
;
$steps-base-line-color
:
#
d9d9d9
!
default
;
$steps-base-title-color
:
rgba
(
0
,
0
,
0
,
0
.85
)
!
default
;
$steps-base-title-margin-bottom
:
10
px
!
default
;
$steps-base-title-margin-bottom
:
6
px
!
default
;
$steps-base-content-font-size
:
10px
!
default
;
$steps-base-content-color
:
rgba
(
0
,
0
,
0
,
0
.65
)
!
default
;
$steps-horizontal-padding
:
8px
0
!
default
;
$steps-vertical-padding
:
0
16px
!
default
;
$steps-vertical-main-padding
:
0
0
0
19px
!
default
;
$steps-wait-icon-bg-color
:
#
e1e1e1
!
default
;
$steps-wait-icon-bg-color
:
#
d9d9d9
!
default
;
$steps-wait-icon-color
:
$white
!
default
;
$steps-wait-head-color
:
#909ca4
!
default
;
$steps-wait-head-border-color
:
#909ca4
!
default
;
$steps-wait-content-color
:
#909ca4
!
default
;
$steps-wait-head-color
:
$white
!
default
;
$steps-wait-head-border-color
:
#d9d9d9
!
default
;
$steps-wait-title-color
:
rgba
(
0
,
0
,
0
,
0
.45
)
!
default
;
$steps-wait-content-color
:
rgba
(
0
,
0
,
0
,
0
.45
)
!
default
;
$steps-finish-head-color
:
$
primary-color
!
default
;
$steps-finish-head-color
:
$
white
!
default
;
$steps-finish-head-border-color
:
$primary-color
!
default
;
$steps-finish-title-color
:
$primary-color
!
default
;
$steps-finish-title-color
:
rgba
(
0
,
0
,
0
,
0
.65
)
!
default
;
$steps-finish-line-background
:
$primary-color
!
default
;
$steps-finish-icon-text-color
:
$
white
!
default
;
$steps-finish-icon-text-color
:
$
primary-color
!
default
;
$steps-process-head-color
:
$white
!
default
;
$steps-process-head-border-color
:
$primary-color
!
default
;
$steps-process-title-color
:
$primary-color
!
default
;
$steps-process-title-color
:
rgba
(
0
,
0
,
0
,
0
.85
)
!
default
;
$steps-process-icon-text-color
:
$primary-color
!
default
;
// dialog
...
...
@@ -457,8 +499,8 @@ $noticebar-left-icon-width: 16px !default;
$noticebar-right-icon-width
:
16px
!
default
;
$noticebar-box-padding
:
0
16px
!
default
;
$noticebar-wrapable-padding
:
16px
!
default
;
$noticebar-lefticon-margin
:
0px
10px
!
default
;
$noticebar-righticon-margin
:
0px
10
px
!
default
;
$noticebar-lefticon-margin
:
0px
8px
0
0
!
default
;
$noticebar-righticon-margin
:
0px
0
0
8
px
!
default
;
// TimeSelect
$timeselect-title-font-size
:
$font-size-2
!
default
;
...
...
@@ -515,8 +557,10 @@ $tag-height: auto !default;
//badge
$badge-background-color
:
linear-gradient
(
135deg
,
$primary-color
0%
,
$primary-color-end
100%
)
!
default
;
$badge-color
:
#fff
!
default
;
$badge-font-size
:
$font-size-1
!
default
;
$badge-font-size
:
10px
!
default
;
$badge-border
:
1px
solid
$white
!
default
;
$badge-border-radius
:
14px
!
default
;
$badge-line-height
:
16px
!
default
;
$badge-padding
:
0
5px
!
default
;
$badge-content-transform
:
translateY
(
-50%
)
translateX
(
100%
)
!
default
;
$badge-z-index
:
1
!
default
;
...
...
@@ -572,6 +616,7 @@ $pagination-prev-next-padding: 0 11px !default;
// tabs
$tabs-tab-smile-color
:
$primary-color
!
default
;
$tabs-tabpane-padding
:
12px
16px
!
default
;
$tabs-titles-border-radius
:
0
!
default
;
$tabs-titles-item-large-font-size
:
$font-size-4
!
default
;
$tabs-titles-item-font-size
:
$font-size-3
!
default
;
...
...
@@ -580,7 +625,7 @@ $tabs-titles-item-color: rgba(0, 0, 0, 0.45) !default;
$tabs-titles-item-active-color
:
$title-color
!
default
;
$tabs-titles-background-color
:
#fff
!
default
;
$tabs-horizontal-tab-line-color
:
$primary-color
!
default
;
$tabs-horizontal-titles-height
:
46
px
!
default
;
$tabs-horizontal-titles-height
:
50
px
!
default
;
$tabs-horizontal-titles-item-min-width
:
50px
!
default
;
$tabs-horizontal-titles-item-active-line-width
:
14px
!
default
;
$tabs-vertical-tab-line-color
:
linear-gradient
(
180deg
,
$primary-color
0%
,
rgba
(
$primary-color
,
0
.15
)
100%
)
!
default
;
...
...
@@ -620,15 +665,16 @@ $menu-scroll-fixed-z-index: 1000 !default;
$menu-active-item-font-weight
:
500
!
default
;
// collapse
$collapse-item-padding
:
1
3px
36px
13px
2
6px
!
default
;
$collapse-item-padding
:
1
4px
1
6px
!
default
;
$collapse-item-color
:
rgba
(
0
,
0
,
0
,
0
.85
)
!
default
;
$collapse-item-disabled-color
:
#bfbfbf
!
default
;
$collapse-item-icon-color
:
#666666
!
default
;
$collapse-item-font-size
:
$font-size-2
!
default
;
$collapse-item-line-height
:
24px
!
default
;
$collapse-item-sub-title-color
:
#666666
!
default
;
$collapse-wrapper-content-padding
:
12px
26px
!
default
;
$collapse-wrapper-empty-content-padding
:
0
26px
!
default
;
$collapse-item-sub-title-color
:
rgba
(
0
,
0
,
0
,
0
.25
)
!
default
;
$collapse-item-sub-title-right
:
42px
!
default
;
$collapse-wrapper-content-padding
:
12px
16px
!
default
;
$collapse-wrapper-empty-content-padding
:
0
16px
!
default
;
$collapse-wrapper-content-color
:
#8c8c8c
!
default
;
$collapse-wrapper-content-font-size
:
$font-size-2
!
default
;
$collapse-wrapper-content-line-height
:
1
.5
!
default
;
...
...
@@ -665,7 +711,7 @@ $cascader-bar-padding: 24px 20px 17px !default;
$cascader-bar-font-size
:
$font-size-4
!
default
;
$cascader-bar-line-height
:
20px
!
default
;
$cascader-bar-color
:
$title-color
!
default
;
$cascader-item-padding
:
1
0
px
20px
!
default
;
$cascader-item-padding
:
1
4
px
20px
!
default
;
$cascader-item-color
:
$title-color
!
default
;
$cascader-item-font-size
:
$font-size-2
!
default
;
$cascader-item-active-color
:
$primary-color
!
default
;
...
...
@@ -752,7 +798,7 @@ $table-tr-odd-bg-color: $white !default;
// navbar
$navbar-height
:
46px
!
default
;
$navbar-margin-bottom
:
20px
!
default
;
$navbar-padding
:
0
16px
!
default
;
$navbar-padding
:
0
!
default
;
$navbar-background
:
$white
!
default
;
$navbar-box-shadow
:
0px
1px
7px
0px
rgba
(
237
,
238
,
241
,
1
)
!
default
;
$navbar-color
:
$title-color2
!
default
;
...
...
src/packages/styles/variables.scss
浏览文件 @
019ab2a6
...
...
@@ -109,7 +109,9 @@ $button-small-round-border-radius: $button-border-radius !default;
$cell-color
:
$title-color2
!
default
;
$cell-title-font
:
$font-size-2
!
default
;
$cell-title-desc-line-height
:
inherit
!
default
;
$cell-title-desc-font
:
$font-size-1
!
default
;
$cell-title-desc-color
:
inherit
!
default
;
$cell-desc-font
:
$font-size-2
!
default
;
$cell-desc-color
:
$disable-color
!
default
;
$cell-border-radius
:
6px
!
default
;
...
...
@@ -118,18 +120,34 @@ $cell-line-height: 20px !default;
$cell-after-right
:
16px
!
default
;
$cell-after-border-bottom
:
1px
solid
#f5f6f7
!
default
;
$cell-default-icon-margin
:
0
4px
0
0px
!
default
;
$cell-default-icon-size
:
20px
!
default
;
$cell-default-icon-font-size
:
16px
!
default
;
$cell-icon-link-margin
:
0
!
default
;
$cell-icon-link-width
:
20px
!
default
;
$cell-icon-link-height
:
20px
!
default
;
$cell-icon-link-color
:
#979797
!
default
;
$cell-icon-link-font-size
:
16px
!
default
;
$cell-large-line-height
:
20px
!
default
;
$cell-large-title-font
:
$font-size-large
!
default
;
$cell-large-title-desc-line-height
:
inherit
!
default
;
$cell-large-title-desc-font
:
$font-size-base
!
default
;
$cell-large-padding
:
15px
16px
!
default
;
$cell-default-large-icon-margin
:
0
4px
0
0px
!
default
;
$cell-default-large-icon-size
:
20px
!
default
;
$cell-default-large-icon-font-size
:
20px
!
default
;
$cell-large-icon-link-height
:
20px
!
default
;
$cell-background
:
$white
!
default
;
// cell-group
$cell-group-title-padding
:
0
10px
!
default
;
$cell-group-title-margin
:
30px
0
10px
0
!
default
;
$cell-group-title-color
:
#909ca4
!
default
;
$cell-group-title-font-size
:
$font-size-2
!
default
;
$cell-group-title-font-weight
:
normal
!
default
;
$cell-group-title-line-height
:
20px
!
default
;
$cell-group-desc-padding
:
0
10px
!
default
;
$cell-group-desc-margin
:
10px
0
10px
0
!
default
;
$cell-group-desc-color
:
#909ca4
!
default
;
$cell-group-desc-font-size
:
$font-size-1
!
default
;
$cell-group-desc-line-height
:
16px
!
default
;
...
...
@@ -177,6 +195,8 @@ $picker-item-active-line-border: 1px solid #d8d8d8 !default;
$picker-columns-item-color
:
$title-color
!
default
;
//input
$input-padding
:
10px
25px
;
$input-line-height
:
24px
;
$input-border-bottom
:
#eaf0fb
!
default
;
$input-disabled-color
:
#c8c9cc
!
default
;
$input-required-color
:
$required-color
!
default
;
...
...
@@ -213,10 +233,15 @@ $inputnumber-display: flex !default;
$actionsheet-light-color
:
#f6f6f6
!
default
;
$actionsheet-item-border-bottom
:
none
!
default
;
$actionsheet-item-font-size
:
$font-size-2
!
default
;
$actionsheet-item-desc-font-size
:
$font-size-2
!
default
;
$actionsheet-item-desc-font-color
:
#999
!
default
;
$actionsheet-item-subdesc-font-size
:
$font-size-1
!
default
;
$actionsheet-item-subdesc-font-color
:
#999
!
default
;
$actionsheet-item-cancel-border-top
:
1px
solid
$actionsheet-light-color
!
default
;
$actionsheet-item-padding
:
10px
!
default
;
$actionsheet-item-line-height
:
24px
!
default
;
$actionsheet-item-font-color
:
$title-color
!
default
;
$actionsheet-item-disabled-font-color
:
#e1e1e1
!
default
;
//shortpassword
$shortpassword-background-color
:
rgba
(
245
,
245
,
245
,
1
)
!
default
;
...
...
@@ -236,6 +261,8 @@ $numberkeyboard-header-close-padding: 0 16px !default;
$numberkeyboard-header-close-color
:
#576b95
!
default
;
$numberkeyboard-header-close-font-size
:
14px
!
default
;
$numberkeyboard-header-close-background-color
:
transparent
!
default
;
$numberkeyboard-body-padding
:
6px
0
0
6px
!
default
;
$numberkeyboard-wrapper-padding
:
0
6px
6px
0
!
default
;
$numberkeyboard-key-background-color
:
#fff
!
default
;
$numberkeyboard-key-active-background-color
:
#ebedf0
!
default
;
$numberkeyboard-key-height
:
48px
!
default
;
...
...
@@ -288,10 +315,16 @@ $switch-inside-width: 13px !default;
$switch-inside-height
:
13px
!
default
;
$switch-inside-open-transform
:
translateX
(
146%
)
!
default
;
$switch-inside-close-transform
:
translateX
(
30%
)
!
default
;
$switch-label-open-transform
:
translateX
(
-16px
)
!
default
;
$switch-label-close-transform
:
translateX
(
16px
)
!
default
;
// toast
$toast-min-width
:
40%
;
$toast-title-font-size
:
16px
!
default
;
$toast-title-line-height
:
inherit
!
default
;
$toast-title-margin-bottom
:
0
!
default
;
$toast-text-font-size
:
14px
!
default
;
$toast-text-line-height
:
inherit
!
default
;
$toast-font-color
:
$white
!
default
;
$toast-inner-padding
:
24px
30px
!
default
;
$toast-inner-bg-color
:
rgba
(
0
,
0
,
0
,
0
.8
)
!
default
;
...
...
@@ -355,7 +388,7 @@ $rate-icon-void-color: $disable-color !default;
// tabbar
$tabbar-active-color
:
$primary-color
!
default
;
$tabbar-unactive-color
:
$
primary-color
!
default
;
$tabbar-unactive-color
:
$
dark-color-gray
!
default
;
$tabbar-border-top
:
1px
solid
#eee
!
default
;
$tabbar-border-bottom
:
1px
solid
#eee
!
default
;
$tabbar-box-shadow
:
none
!
default
;
...
...
@@ -363,6 +396,10 @@ $tabbar-item-text-font-size: $font-size-0 !default;
$tabbar-item-text-line-height
:
initial
!
default
;
$tabbar-height
:
50px
!
default
;
$tabbar-word-margin-top
:
auto
!
default
;
$tabbar-tips-nums-top
:
-2px
!
default
;
$tabbar-tips-nums-right
:
-7px
!
default
;
$tabbar-tips-nums-left
:
initial
!
default
;
$tabbar-tips-dot-transform
:
translate
(
50%
,
-50%
)
!
default
;
//infiniteloading
$infiniteloading-bottom-color
:
#c8c8c8
!
default
;
...
...
@@ -378,6 +415,7 @@ $range-bar-btn-height: 24px !default;
$range-bar-btn-border
:
1px
solid
$primary-color
!
default
;
//swiper
$swiper-pagination-item-position
:
12px
!
default
;
$swiper-pagination-item-width
:
8px
!
default
;
$swiper-pagination-item-height
:
3px
!
default
;
$swiper-pagination-item-margin-right
:
7px
!
default
;
...
...
@@ -408,11 +446,15 @@ $steps-base-title-color: #909ca4 !default;
$steps-base-title-margin-bottom
:
10px
!
default
;
$steps-base-content-font-size
:
14px
!
default
;
$steps-base-content-color
:
#666
!
default
;
$steps-horizontal-padding
:
0
!
default
;
$steps-vertical-padding
:
0
!
default
;
$steps-vertical-main-padding
:
0
0
0
6%
!
default
;
$steps-wait-icon-bg-color
:
#959fb1
!
default
;
$steps-wait-icon-color
:
$white
!
default
;
$steps-wait-head-color
:
#909ca4
!
default
;
$steps-wait-head-border-color
:
#909ca4
!
default
;
$steps-wait-title-color
:
inherit
!
default
;
$steps-wait-content-color
:
#909ca4
!
default
;
$steps-finish-head-color
:
$primary-color
!
default
;
...
...
@@ -540,7 +582,9 @@ $tag-height: auto !default;
$badge-background-color
:
linear-gradient
(
135deg
,
$primary-color
0%
,
$primary-color-end
100%
)
!
default
;
$badge-color
:
#fff
!
default
;
$badge-font-size
:
$font-size-1
!
default
;
$badge-border
:
none
!
default
;
$badge-border-radius
:
14px
!
default
;
$badge-line-height
:
inherit
!
default
;
$badge-padding
:
0
5px
!
default
;
$badge-content-transform
:
translateY
(
-50%
)
translateX
(
100%
)
!
default
;
$badge-z-index
:
1
!
default
;
...
...
@@ -605,6 +649,7 @@ $pagination-prev-next-padding: 0 11px !default;
// tabs
$tabs-tab-smile-color
:
$primary-color
!
default
;
$tabs-tabpane-padding
:
24px
20px
!
default
;
$tabs-titles-border-radius
:
0
!
default
;
$tabs-titles-item-large-font-size
:
$font-size-3
!
default
;
$tabs-titles-item-font-size
:
$font-size-2
!
default
;
...
...
@@ -660,6 +705,7 @@ $collapse-item-icon-color: #666666 !default;
$collapse-item-font-size
:
$font-size-2
!
default
;
$collapse-item-line-height
:
24px
!
default
;
$collapse-item-sub-title-color
:
#666666
!
default
;
$collapse-item-sub-title-right
:
60px
!
default
;
$collapse-wrapper-content-padding
:
12px
26px
!
default
;
$collapse-wrapper-empty-content-padding
:
0
26px
!
default
;
$collapse-wrapper-content-color
:
#666666
!
default
;
...
...
src/sites/mobile-taro/vue/config/index.js
浏览文件 @
019ab2a6
const
path
=
require
(
'
path
'
);
// npm run dev:taro:weapp [jdt|jddkh|jdt]
const
themeMap
=
{
jdb
:
'
variables-jdb.scss
'
,
jddkh
:
'
variables-jddkh.scss
'
,
jdt
:
'
variables-jdt.scss
'
};
const
lastArg
=
process
.
argv
[
process
.
argv
.
length
-
1
];
const
theme
=
themeMap
[
lastArg
]
||
'
variables.scss
'
;
const
config
=
{
projectName
:
'
@nutui/nutui-taro-mobile
'
,
date
:
'
2021-5-29
'
,
...
...
@@ -17,7 +26,7 @@ const config = {
'
@/packages
'
:
path
.
resolve
(
__dirname
,
'
../../../../../src/packages
'
)
},
sass
:
{
resource
:
path
.
resolve
(
__dirname
,
'
../../../../
'
,
'
packages/styles
/variables.scss
'
)
resource
:
path
.
resolve
(
__dirname
,
'
../../../../
'
,
'
packages/styles
'
,
theme
)
},
defineConstants
:
{},
copy
:
{
...
...
src/sites/mobile-taro/vue/src/basic/pages/cell/index.vue
浏览文件 @
019ab2a6
...
...
@@ -50,10 +50,16 @@
/>
</
template
>
</nut-cell>
<nut-cell
title=
"图片"
sub-title=
"副标题描述"
>
<
template
v-slot:icon
>
<div
style=
"height: 40px; width: 40px; border-radius: 50%; background: #e5e5e5"
></div>
</
template
>
</nut-cell>
</nut-cell-group>
<h2>
展示图标
</h2>
<nut-cell
title=
"姓名"
icon=
"my"
desc=
"张三"
isLink
>
</nut-cell>
<nut-cell
title=
"姓名"
icon=
"my"
desc=
"张三"
isLink
size=
"large"
>
</nut-cell>
<h2>
只展示 desc ,可通过 desc-text-align 调整内容位置
</h2>
<nut-cell
desc-text-align=
"left"
desc=
"张三"
></nut-cell>
<h2>
垂直居中
</h2>
...
...
src/sites/mobile-taro/vue/src/exhibition/pages/badge/index.vue
浏览文件 @
019ab2a6
...
...
@@ -11,6 +11,9 @@
<nut-badge
value=
"NEW"
>
<nut-avatar
icon=
"my"
shape=
"square"
></nut-avatar>
</nut-badge>
<nut-badge
value=
"NEW"
bubble
>
<nut-avatar
icon=
"my"
shape=
"square"
></nut-avatar>
</nut-badge>
<nut-badge
dot
>
<nut-avatar
icon=
"my"
shape=
"square"
></nut-avatar>
</nut-badge>
...
...
src/sites/mobile/App.vue
浏览文件 @
019ab2a6
...
...
@@ -59,7 +59,10 @@ export default defineComponent({
}
};
useThemeEditor
();
// 本地调试时通过preprocessorOptions注入
if
(
!
import
.
meta
.
env
.
DEV
)
{
useThemeEditor
();
}
//返回demo页
const
goBack
=
()
=>
{
...
...
vite.config.jdt.ts
浏览文件 @
019ab2a6
...
...
@@ -92,6 +92,7 @@ export default defineConfig({
outDir
:
'
./dist/jdt/
'
,
// assetsDir: config.version,
cssCodeSplit
:
true
,
cssTarget
:
[
'
chrome61
'
],
rollupOptions
:
{
input
:
{
// doc: resolve(__dirname, 'index.html'),
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录