Skip to content

Commit

Permalink
feat:发布0.6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
二一 authored Sep 29, 2019
2 parents e90a320 + 1fd9fe1 commit 1139ff8
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/badge/index.wxss
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.l-badge{position:relative;display:inline-block;line-height:1;vertical-align:middle}.l-badge-content{max-width:650rpx;left:70%;background-color:#ff474b;color:#fff;position:absolute;font-size:20rpx;display:inline-block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;box-sizing:border-box;z-index:10;letter-spacing:.5rpx}.l-badge-content-horn{height:28rpx;min-width:54rpx;padding:0 8rpx;border-radius:14rpx 14rpx 14rpx 0rpx;line-height:28rpx;top:-10rpx}.l-badge-content-circle{height:32rpx;min-width:32rpx;padding:0 10rpx;border-radius:16rpx;line-height:32rpx;top:-10rpx}.l-badge-dot{height:16rpx;width:16rpx;transform:translateX(50%);border-radius:50%;background-color:#ff474b;position:absolute;top:-4rpx;right:0rpx}
.l-badge{position:relative;display:inline-block;line-height:1;vertical-align:middle}.l-badge-content{max-width:650rpx;left:70%;background-color:#ff474b;color:#fff;position:absolute;font-size:20rpx;display:inline-block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;box-sizing:border-box;z-index:10;letter-spacing:.5rpx}.l-badge-content-horn{height:28rpx;min-width:54rpx;padding:0 8rpx;border-radius:14rpx 14rpx 14rpx 0rpx;line-height:28rpx;top:-10rpx}.l-badge-content-circle{height:32rpx;min-width:32rpx;padding:0 10rpx;border-radius:16rpx;line-height:32rpx;top:-10rpx}.l-badge-dot{height:16rpx;width:16rpx;transform:translateX(50%);border-radius:50%;background-color:#ff474b;position:absolute;top:-4rpx;right:0rpx}
2 changes: 1 addition & 1 deletion dist/utils/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const px2rpx = function (pxNumber) {
return rpxNumber;
};

exports = {
export {
promisic,
px2rpx
};
2 changes: 1 addition & 1 deletion examples/dist/badge/index.wxss
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.l-badge{position:relative;display:inline-block;line-height:1;vertical-align:middle}.l-badge-content{max-width:650rpx;left:70%;background-color:#ff474b;color:#fff;position:absolute;font-size:20rpx;display:inline-block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;box-sizing:border-box;z-index:10;letter-spacing:.5rpx}.l-badge-content-horn{height:28rpx;min-width:54rpx;padding:0 8rpx;border-radius:14rpx 14rpx 14rpx 0rpx;line-height:28rpx;top:-10rpx}.l-badge-content-circle{height:32rpx;min-width:32rpx;padding:0 10rpx;border-radius:16rpx;line-height:32rpx;top:-10rpx}.l-badge-dot{height:16rpx;width:16rpx;transform:translateX(50%);border-radius:50%;background-color:#ff474b;position:absolute;top:-4rpx;right:0rpx}
.l-badge{position:relative;display:inline-block;line-height:1;vertical-align:middle}.l-badge-content{max-width:650rpx;left:70%;background-color:#ff474b;color:#fff;position:absolute;font-size:20rpx;display:inline-block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;box-sizing:border-box;z-index:10;letter-spacing:.5rpx}.l-badge-content-horn{height:28rpx;min-width:54rpx;padding:0 8rpx;border-radius:14rpx 14rpx 14rpx 0rpx;line-height:28rpx;top:-10rpx}.l-badge-content-circle{height:32rpx;min-width:32rpx;padding:0 10rpx;border-radius:16rpx;line-height:32rpx;top:-10rpx}.l-badge-dot{height:16rpx;width:16rpx;transform:translateX(50%);border-radius:50%;background-color:#ff474b;position:absolute;top:-4rpx;right:0rpx}
2 changes: 1 addition & 1 deletion examples/dist/utils/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const px2rpx = function (pxNumber) {
return rpxNumber;
};

exports = {
export {
promisic,
px2rpx
};
2 changes: 2 additions & 0 deletions examples/pages/navigator/index/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
//index.js
import naviConfigs from './navi.js';
import { promisic } from '../../../dist/utils/util.js'
Page({
data: {
naviConfigs: naviConfigs
},

onLoad: function() {
console.log(promisic)
},

onShareAppMessage() {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lin-ui",
"version": "0.6.5",
"version": "0.6.6",
"description": "A high quality UI components library with MiniProgram",
"main": "app.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const px2rpx = function (pxNumber) {
return rpxNumber;
};

exports = {
export {
promisic,
px2rpx
};

0 comments on commit 1139ff8

Please sign in to comment.