Skip to content

Commit

Permalink
feat: v2.6.19
Browse files Browse the repository at this point in the history
  • Loading branch information
uxsi committed Dec 18, 2024
1 parent 494a551 commit 421045c
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 54 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
### v2.6.19 (2024-12-18)

#### Features
* feat: toast组件规范更新



### v2.6.18 (2024-10-31)

#### Features
Expand Down
38 changes: 10 additions & 28 deletions dist/style/weui.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/style/weui.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "weui",
"version": "2.6.18",
"version": "2.6.19",
"description": "A UI library by WeChat official design team, includes the most useful widgets/modules in mobile web applications.",
"keywords": [
"weui",
Expand Down
30 changes: 7 additions & 23 deletions src/style/widget/weui-tips/weui-toast.less
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,26 @@
.weui-toast {
position: fixed;
z-index: 5500;
font-size: 10px;
width: 13.6em;
height: 13.6em;
min-width: 132px;
max-width: 320px;
padding: 28px 20px;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
border-radius: 12px;
border-radius: 8px;
color: rgba(255, 255, 255, 0.9);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: var(--weui-BG-4);
filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.1));
box-sizing: border-box;
line-height: 1.4;
}
.weui-toast_text {
width: auto;
height: auto;
min-width: 152px;
max-width: 216px;
padding: 12px 0;
border-radius: 8px;
.weui-toast__content {
font-size: 14px;
padding: 0 20px;
}
padding: 12px 20px;
}
.weui-icon_toast {
// 重置weui-icon权重
Expand Down Expand Up @@ -90,19 +82,11 @@
}

.weui-toast__content {
font-size: 17px;
padding: 0 12px;
font-size: 14px;
.hyphens;
}

// 多行文本场景
.weui-toast_text-more {
.weui-icon_toast {
margin-bottom: 12px;
}
.weui-toast__content {
font-size: 14px;
line-height: 1.6;
}
}

0 comments on commit 421045c

Please sign in to comment.