mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
Merge branch 'master' of gitlab.qima-inc.com:weapp/zui
This commit is contained in:
commit
f6cfa74a21
6
.weappbuild.js
Normal file
6
.weappbuild.js
Normal file
@ -0,0 +1,6 @@
|
||||
let version = '1.2.0';
|
||||
|
||||
module.exports = {
|
||||
"dist": "./dist1",
|
||||
"zip": `zui_${version}`
|
||||
}
|
3
dist/tab/index.wxss
vendored
3
dist/tab/index.wxss
vendored
@ -40,6 +40,9 @@
|
||||
display: block;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.zui-tab__bd--scroll .zui-tab__item {
|
||||
min-width: 80px;
|
||||
}
|
||||
.zui-tab__bd--scroll .zui-tab__text {
|
||||
margin: 0 20px;
|
||||
}
|
||||
|
@ -44,6 +44,29 @@ Page(Object.assign({}, ZUI.Tab, {
|
||||
}],
|
||||
selectedId: '1',
|
||||
scroll: true
|
||||
},
|
||||
tab3: {
|
||||
list: [{
|
||||
id: '1',
|
||||
title: '商品1'
|
||||
}, {
|
||||
id: '2',
|
||||
title: '商品2'
|
||||
}, {
|
||||
id: '3',
|
||||
title: '商品3'
|
||||
}, {
|
||||
id: '4',
|
||||
title: '商品4'
|
||||
}, {
|
||||
id: '5',
|
||||
title: '商品5'
|
||||
}, {
|
||||
id: '6',
|
||||
title: '商品6'
|
||||
}],
|
||||
selectedId: '1',
|
||||
scroll: true
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -7,4 +7,7 @@
|
||||
<view style="margin: 20px 0">
|
||||
<template is="zui-tab" data="{{tab: tab2, componentId: 'tab2'}}"></template>
|
||||
</view>
|
||||
<view style="margin: 20px 0">
|
||||
<template is="zui-tab" data="{{tab: tab3, componentId: 'tab3'}}"></template>
|
||||
</view>
|
||||
</view>
|
||||
|
Loading…
x
Reference in New Issue
Block a user