Skip to content

Commit

Permalink
[build] 2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
galenyuan committed Mar 9, 2017
1 parent 8825d49 commit 86b2e40
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 36 deletions.
4 changes: 2 additions & 2 deletions example/pages/tab-container.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<mt-button size="small" @click.native.prevent="active = 'tab-container3'">tab 3</mt-button>
</div>
<div class="page-tab-container">
<mt-tab-container class="page-tabbar-tab-container" v-model="active" swipeable>
<mt-tab-container class="page-tabbar-tab-container" v-model="active" :swipeable="false">
<mt-tab-container-item id="tab-container1">
<mt-cell v-for="n in 10" title="tab-container 1"></mt-cell>
</mt-tab-container-item>
Expand All @@ -26,7 +26,7 @@ export default {
name: 'page-tab-container',
data() {
return {
active: 'tab-container1'
active: 'tab-container2'
};
}
};
Expand Down
8 changes: 4 additions & 4 deletions lib/index.js

Large diffs are not rendered by default.

59 changes: 30 additions & 29 deletions lib/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -166,29 +166,30 @@
/* Radio Component */
/* z-index */
.mint-cell {
background-color:#fff;
box-sizing:border-box;
color:inherit;
min-height:48px;
display:block;
overflow:hidden;
position:relative;
text-decoration:none;
background-color: #fff;
box-sizing: border-box;
color: inherit;
min-height: 48px;
display: block;
overflow: hidden;
position: relative;
text-decoration: none;
}
.mint-cell img {
vertical-align:middle;
vertical-align: middle;
}
.mint-cell:first-child .mint-cell-wrapper {
background-origin:border-box;
background-origin: border-box;
}
.mint-cell:last-child {
background-image:-webkit-linear-gradient(bottom, #d9d9d9, #d9d9d9 50%, transparent 50%);
background-image:linear-gradient(0deg, #d9d9d9, #d9d9d9 50%, transparent 50%);
background-size:100% 1px;
background-repeat:no-repeat;
background-position:bottom;
background-image: -webkit-linear-gradient(bottom, #d9d9d9, #d9d9d9 50%, transparent 50%);
background-image: linear-gradient(0deg, #d9d9d9, #d9d9d9 50%, transparent 50%);
background-size: 100% 1px;
background-repeat: no-repeat;
background-position: bottom;
}
.mint-cell-wrapper {
position: relative;
background-image:-webkit-linear-gradient(top, #d9d9d9, #d9d9d9 50%, transparent 50%);
background-image:linear-gradient(180deg, #d9d9d9, #d9d9d9 50%, transparent 50%);
background-size: 120% 1px;
Expand All @@ -211,17 +212,17 @@
}
.mint-cell-mask {}
.mint-cell-mask::after {
background-color:#000;
content:" ";
opacity:0;
top:0;
right:0;
bottom:0;
left:0;
position:absolute;
background-color: #000;
content: " ";
opacity: 0;
top: 0;
right: 0;
bottom: 0;
left: 0;
position: absolute;
}
.mint-cell-mask:active::after {
opacity:.1;
opacity: .1;
}
.mint-cell-text {
vertical-align: middle;
Expand All @@ -247,7 +248,7 @@
align-items: center;
}
.mint-cell-value.is-link {
margin-right:24px;
margin-right: 24px;
}
.mint-cell-left {
position: absolute;
Expand All @@ -269,11 +270,11 @@
border-bottom-width: 0;
border-left-width: 0;
content: " ";
top:50%;
right:20px;
top: 50%;
right: 20px;
position: absolute;
width:5px;
height:5px;
width: 5px;
height: 5px;
-webkit-transform: translateY(-50%) rotate(45deg);
transform: translateY(-50%) rotate(45deg);
}
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import IndexSection from '../packages/index-section';
import PaletteButton from '../packages/palette-button';
import '../src/assets/font/iconfont.css';

const version = '2.2.0';
const version = '2.2.1';
const install = function(Vue) {
if (install.installed) return;

Expand Down

0 comments on commit 86b2e40

Please sign in to comment.