Skip to content

Commit 86b2e40

Browse files
committed
[build] 2.2.1
1 parent 8825d49 commit 86b2e40

4 files changed

Lines changed: 37 additions & 36 deletions

File tree

example/pages/tab-container.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<mt-button size="small" @click.native.prevent="active = 'tab-container3'">tab 3</mt-button>
77
</div>
88
<div class="page-tab-container">
9-
<mt-tab-container class="page-tabbar-tab-container" v-model="active" swipeable>
9+
<mt-tab-container class="page-tabbar-tab-container" v-model="active" :swipeable="false">
1010
<mt-tab-container-item id="tab-container1">
1111
<mt-cell v-for="n in 10" title="tab-container 1"></mt-cell>
1212
</mt-tab-container-item>
@@ -26,7 +26,7 @@ export default {
2626
name: 'page-tab-container',
2727
data() {
2828
return {
29-
active: 'tab-container1'
29+
active: 'tab-container2'
3030
};
3131
}
3232
};

lib/index.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/style.css

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -166,29 +166,30 @@
166166
/* Radio Component */
167167
/* z-index */
168168
.mint-cell {
169-
background-color:#fff;
170-
box-sizing:border-box;
171-
color:inherit;
172-
min-height:48px;
173-
display:block;
174-
overflow:hidden;
175-
position:relative;
176-
text-decoration:none;
169+
background-color: #fff;
170+
box-sizing: border-box;
171+
color: inherit;
172+
min-height: 48px;
173+
display: block;
174+
overflow: hidden;
175+
position: relative;
176+
text-decoration: none;
177177
}
178178
.mint-cell img {
179-
vertical-align:middle;
179+
vertical-align: middle;
180180
}
181181
.mint-cell:first-child .mint-cell-wrapper {
182-
background-origin:border-box;
182+
background-origin: border-box;
183183
}
184184
.mint-cell:last-child {
185-
background-image:-webkit-linear-gradient(bottom, #d9d9d9, #d9d9d9 50%, transparent 50%);
186-
background-image:linear-gradient(0deg, #d9d9d9, #d9d9d9 50%, transparent 50%);
187-
background-size:100% 1px;
188-
background-repeat:no-repeat;
189-
background-position:bottom;
185+
background-image: -webkit-linear-gradient(bottom, #d9d9d9, #d9d9d9 50%, transparent 50%);
186+
background-image: linear-gradient(0deg, #d9d9d9, #d9d9d9 50%, transparent 50%);
187+
background-size: 100% 1px;
188+
background-repeat: no-repeat;
189+
background-position: bottom;
190190
}
191191
.mint-cell-wrapper {
192+
position: relative;
192193
background-image:-webkit-linear-gradient(top, #d9d9d9, #d9d9d9 50%, transparent 50%);
193194
background-image:linear-gradient(180deg, #d9d9d9, #d9d9d9 50%, transparent 50%);
194195
background-size: 120% 1px;
@@ -211,17 +212,17 @@
211212
}
212213
.mint-cell-mask {}
213214
.mint-cell-mask::after {
214-
background-color:#000;
215-
content:" ";
216-
opacity:0;
217-
top:0;
218-
right:0;
219-
bottom:0;
220-
left:0;
221-
position:absolute;
215+
background-color: #000;
216+
content: " ";
217+
opacity: 0;
218+
top: 0;
219+
right: 0;
220+
bottom: 0;
221+
left: 0;
222+
position: absolute;
222223
}
223224
.mint-cell-mask:active::after {
224-
opacity:.1;
225+
opacity: .1;
225226
}
226227
.mint-cell-text {
227228
vertical-align: middle;
@@ -247,7 +248,7 @@
247248
align-items: center;
248249
}
249250
.mint-cell-value.is-link {
250-
margin-right:24px;
251+
margin-right: 24px;
251252
}
252253
.mint-cell-left {
253254
position: absolute;
@@ -269,11 +270,11 @@
269270
border-bottom-width: 0;
270271
border-left-width: 0;
271272
content: " ";
272-
top:50%;
273-
right:20px;
273+
top: 50%;
274+
right: 20px;
274275
position: absolute;
275-
width:5px;
276-
height:5px;
276+
width: 5px;
277+
height: 5px;
277278
-webkit-transform: translateY(-50%) rotate(45deg);
278279
transform: translateY(-50%) rotate(45deg);
279280
}

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import IndexSection from '../packages/index-section';
3333
import PaletteButton from '../packages/palette-button';
3434
import '../src/assets/font/iconfont.css';
3535

36-
const version = '2.2.0';
36+
const version = '2.2.1';
3737
const install = function(Vue) {
3838
if (install.installed) return;
3939

0 commit comments

Comments
 (0)