mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
helper doc
This commit is contained in:
parent
c33e602aec
commit
eeee7d78bb
1
app.json
1
app.json
@ -10,6 +10,7 @@
|
|||||||
"pages/tab/index",
|
"pages/tab/index",
|
||||||
"pages/quantity/index",
|
"pages/quantity/index",
|
||||||
"pages/toptips/index",
|
"pages/toptips/index",
|
||||||
|
"pages/helper/index",
|
||||||
"pages/steps/index",
|
"pages/steps/index",
|
||||||
"pages/toast/index"
|
"pages/toast/index"
|
||||||
],
|
],
|
||||||
|
7
dist/helper/index.wxss
vendored
7
dist/helper/index.wxss
vendored
@ -1,8 +1,8 @@
|
|||||||
.pull-left {
|
.zui-pull-left {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pull-right {
|
.zui-pull-right {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -50,9 +50,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.zui-ellipsis {
|
.zui-ellipsis {
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
word-wrap: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.zui-ellipsis--l2 {
|
.zui-ellipsis--l2 {
|
||||||
|
@ -29,6 +29,10 @@
|
|||||||
<view class="zui-cell__bd">Label</view>
|
<view class="zui-cell__bd">Label</view>
|
||||||
<view class="zui-cell__ft"></view>
|
<view class="zui-cell__ft"></view>
|
||||||
</navigator>
|
</navigator>
|
||||||
|
<navigator class="zui-cell zui-cell--access" url="/pages/helper/index">
|
||||||
|
<view class="zui-cell__bd">Helper</view>
|
||||||
|
<view class="zui-cell__ft"></view>
|
||||||
|
</navigator>
|
||||||
<navigator class="zui-cell zui-cell--access" url="/pages/quantity/index">
|
<navigator class="zui-cell zui-cell--access" url="/pages/quantity/index">
|
||||||
<view class="zui-cell__bd">Quantity</view>
|
<view class="zui-cell__bd">Quantity</view>
|
||||||
<view class="zui-cell__ft"></view>
|
<view class="zui-cell__ft"></view>
|
||||||
|
13
pages/helper/index.js
Normal file
13
pages/helper/index.js
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
var app = getApp()
|
||||||
|
|
||||||
|
Page({
|
||||||
|
data: {
|
||||||
|
},
|
||||||
|
|
||||||
|
onLoad: function () {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
onShow: function() {
|
||||||
|
},
|
||||||
|
})
|
61
pages/helper/index.wxml
Normal file
61
pages/helper/index.wxml
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
<view class="container">
|
||||||
|
|
||||||
|
<view class="zui-panel">
|
||||||
|
<view class="zui-cell">
|
||||||
|
<view class="zui-cell__bd">
|
||||||
|
<view class="pull-right">pull-right: 往右靠</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="zui-cell">
|
||||||
|
<view class="zui-cell__bd">
|
||||||
|
<view class="zui-text-deleted">zui-text-deleted:被删除的效果</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="zui-cell">
|
||||||
|
<view class="zui-cell__bd">
|
||||||
|
<view class="zui-font-12 zui-font-bold">
|
||||||
|
<view>zui-font-12:字号12</view>
|
||||||
|
<view>zui-font-bold:加粗</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="zui-cell">
|
||||||
|
<view class="zui-cell__bd">
|
||||||
|
<view class="zui-font-16 zui-font-bold">
|
||||||
|
<view>zui-font-16:字号16</view>
|
||||||
|
<view>zui-font-bold:加粗</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="zui-cell">
|
||||||
|
<view class="zui-cell__bd">
|
||||||
|
<view>zui-arrow:箭头</view>
|
||||||
|
<view class="zui-arrow"></view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="zui-cell">
|
||||||
|
<view class="zui-cell__bd">
|
||||||
|
<view class="zui-ellipsis" style="width: 300px;">
|
||||||
|
zui-ellipsis:单行点点点
|
||||||
|
->我是占位的字符我是占位的字符我是占位的字符我是占位的字符我是占位的字符我是占位的字符
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="zui-cell zui-cell--last-child">
|
||||||
|
<view class="zui-cell__bd">
|
||||||
|
<view class="zui-ellipsis--l2">
|
||||||
|
zui-ellipsis--l2:单行点点点
|
||||||
|
->我是占位的字符我是占位的字符我是占位的字符我是占位的字符我是占位的字符我是占位的字符
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
|
||||||
|
</view>
|
Loading…
x
Reference in New Issue
Block a user