-
Notifications
You must be signed in to change notification settings - Fork 769
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. select组件新增自定义value和label属性名的value-name和label-name,还有额外参数extra
2. toast组件新增callback回调参数 3. 修复由于deepClone方法缺陷导致select组件报错的问题 4. 修复slider在演示中无法显示拖动滑块的问题 5. 优化mask组件缩放效果时,传入的slot被一直停留在1.2倍放大的问题 6. 优化modal组件同时取消确定和取消按钮时,底部有占用空间的问题 7. swiper新增轮播切换时的change事件 8. 优化switch组件切换的控件可能会受父组件字体大小影响的问题 9. 去除请求插件中的默认header请求头的content-type字段,避免某些特殊情况下造成影响
- Loading branch information
Showing
41 changed files
with
516 additions
and
689 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
|
||
/* start--演示页面使用的统一样式--start */ | ||
.u-demo { | ||
padding: 50rpx 40rpx; | ||
} | ||
|
||
.u-demo-wrap { | ||
border-width: 1px; | ||
border-color: #ddd; | ||
border-style: dashed; | ||
background-color: rgb(250, 250, 250); | ||
padding: 40rpx 20rpx; | ||
border-radius: 6px; | ||
} | ||
|
||
.u-demo-area { | ||
text-align: center; | ||
} | ||
|
||
.u-no-demo-here { | ||
color: $u-tips-color; | ||
font-size: 26rpx; | ||
} | ||
|
||
.u-demo-result-line { | ||
border-width: 1px; | ||
border-color: #ddd; | ||
border-style: dashed; | ||
padding: 10rpx 40rpx; | ||
margin-top: 30rpx; | ||
border-radius: 5px; | ||
background-color: rgb(240, 240, 240); | ||
color: $u-content-color; | ||
font-size: 32rpx; | ||
/* #ifndef APP-NVUE */ | ||
word-break: break-word; | ||
display: inline-block; | ||
/* #endif */ | ||
text-align: left; | ||
|
||
} | ||
|
||
.u-demo-title, | ||
.u-config-title { | ||
text-align: center; | ||
font-size: 32rpx; | ||
font-weight: bold; | ||
margin-bottom: 40rpx; | ||
} | ||
|
||
.u-config-item { | ||
margin-top: 50rpx; | ||
} | ||
|
||
.u-config-title { | ||
margin-top: 40rpx; | ||
padding-bottom: 10rpx; | ||
} | ||
|
||
.u-item-title { | ||
position: relative; | ||
font-size: 28rpx; | ||
padding-left: 8px; | ||
line-height: 1; | ||
margin-bottom: 22rpx; | ||
} | ||
|
||
.u-item-title:after { | ||
position: absolute; | ||
width: 4px; | ||
top: -1px; | ||
height: 16px; | ||
/* #ifndef APP-NVUE */ | ||
content: ''; | ||
/* #endif */ | ||
left: 0; | ||
border-radius: 10px; | ||
background-color: $u-content-color; | ||
} | ||
/* end--演示页面使用的统一样式--end */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
} | ||
}, | ||
onShow() { | ||
this.$nextTick(function(){ | ||
this.$nextTick(() => { | ||
this.current = 1; | ||
}) | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ | |
data() { | ||
return { | ||
show: false, | ||
zoom: false, | ||
zoom: true, | ||
duration: 300, | ||
content: false, | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.