mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-05-21 13:59:15 +08:00
[Doc] remove doc-page
This commit is contained in:
parent
1f34ff1a18
commit
2f6ec315cb
@ -1,5 +1,4 @@
|
||||
|
||||
App({
|
||||
globalData: {
|
||||
},
|
||||
globalData: {}
|
||||
});
|
||||
|
@ -36,7 +36,7 @@
|
||||
"navigationBarTitleText": "vant-weapp",
|
||||
"navigationBarTextStyle": "black",
|
||||
"backgroundTextStyle": "dark",
|
||||
"backgroundColor": "#f9f9f9"
|
||||
"backgroundColor": "#f8f8f8"
|
||||
},
|
||||
"debug": true
|
||||
}
|
||||
|
@ -2,42 +2,10 @@
|
||||
|
||||
page {
|
||||
color: #333;
|
||||
background: #f8f8f8;
|
||||
min-height: 100vh;
|
||||
box-sizing: border-box;
|
||||
padding: 15rpx 0;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-family: 'PingFang SC', Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, Arial, sans-serif;
|
||||
}
|
||||
|
||||
.container {
|
||||
background: #F9F9F9;
|
||||
overflow: hidden;
|
||||
min-height: 100vh;
|
||||
box-sizing: border-box;
|
||||
padding: 15px 0;
|
||||
}
|
||||
|
||||
.container::before {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
content: ' ';
|
||||
width: 100%;
|
||||
height: 1rpx;
|
||||
background-color: #e2e2e2;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.doc-title {
|
||||
position: relative;
|
||||
padding: 15px 0;
|
||||
margin: 10px 15px;
|
||||
line-height: 25px;
|
||||
font-size: 25px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.doc-description {
|
||||
margin: 14px 0;
|
||||
padding: 0 15px;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
color: #666;
|
||||
}
|
||||
|
@ -1,12 +0,0 @@
|
||||
Component({
|
||||
properties: {
|
||||
title: {
|
||||
type: String,
|
||||
value: ''
|
||||
},
|
||||
|
||||
withoutPadding: {
|
||||
type: Boolean
|
||||
}
|
||||
}
|
||||
});
|
@ -1,3 +0,0 @@
|
||||
{
|
||||
"component": true
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
<view class="doc-container">
|
||||
<view class="doc-title">{{ title }}</view>
|
||||
<view class="doc-content {{ withoutPadding ? 'doc-content--without-pd' : '' }}">
|
||||
<slot></slot>
|
||||
</view>
|
||||
</view>
|
@ -1,27 +0,0 @@
|
||||
.doc-container {
|
||||
background: #F9F9F9;
|
||||
overflow: hidden;
|
||||
min-height: 100vh;
|
||||
box-sizing: border-box;
|
||||
padding: 15px 0;
|
||||
}
|
||||
|
||||
.doc-title {
|
||||
position: relative;
|
||||
padding: 15px 0;
|
||||
margin: 10px 15px;
|
||||
line-height: 25px;
|
||||
font-size: 25px;
|
||||
color: #666;
|
||||
border-bottom: 1rpx solid #e5e5e5;
|
||||
}
|
||||
|
||||
.doc-content {
|
||||
padding: 15px;
|
||||
overflow: hidden;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.doc-content--without-pd {
|
||||
padding: 15px 0;
|
||||
}
|
@ -2,7 +2,6 @@
|
||||
"navigationBarTitleText": "Actionsheet 上拉菜单",
|
||||
"usingComponents": {
|
||||
"van-actionsheet": "../../dist/actionsheet/index",
|
||||
"van-button": "../../dist/button/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-button": "../../dist/button/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,3 @@
|
||||
|
||||
<doc-page title="ACTIONSHEET">
|
||||
<view class="van-buttons" style="margin-top: 30vh;">
|
||||
<van-button bind:buttonclick="openActionsheet">
|
||||
Actionsheet
|
||||
@ -15,4 +13,3 @@
|
||||
bind:actionclick="clickAction"
|
||||
mask-class="tiny"
|
||||
/>
|
||||
</doc-page>
|
||||
|
@ -1,7 +1,5 @@
|
||||
<view class="container">
|
||||
|
||||
<view class="doc-title van-hairline--bottom van-hairline--bottom">BADGE</view>
|
||||
|
||||
<view class="demo">
|
||||
<view class="demo__item">
|
||||
<view class="demo__icon">
|
||||
|
@ -3,7 +3,6 @@
|
||||
"usingComponents": {
|
||||
"van-button": "../../dist/button/index",
|
||||
"van-button-group": "../../dist/button-group/index",
|
||||
"van-panel": "../../dist/panel/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-panel": "../../dist/panel/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,3 @@
|
||||
<doc-page title="BUTTON" without-padding>
|
||||
|
||||
<van-panel title="普通按钮">
|
||||
<van-button-group>
|
||||
<van-button
|
||||
@ -51,5 +49,3 @@
|
||||
<van-button disabled type="warn">确认付款</van-button>
|
||||
</van-button-group>
|
||||
</van-panel>
|
||||
|
||||
</doc-page>
|
||||
|
@ -2,7 +2,6 @@
|
||||
"navigationBarTitleText": "Capsule 胶囊",
|
||||
"usingComponents": {
|
||||
"van-panel": "../../dist/panel/index",
|
||||
"van-capsule": "../../dist/capsule/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-capsule": "../../dist/capsule/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,3 @@
|
||||
<doc-page title="CAPSULE" without-padding>
|
||||
|
||||
<van-panel title='基本用法'>
|
||||
<view class="capsule-demo">
|
||||
<van-capsule leftText="折扣" rightText="限购一份" />
|
||||
@ -12,4 +10,3 @@
|
||||
<van-capsule color="#38f" leftText="折扣" rightText="限购一份" />
|
||||
</view>
|
||||
</van-panel>
|
||||
</doc-page>
|
||||
|
@ -2,7 +2,6 @@
|
||||
"navigationBarTitleText": "Card 卡片",
|
||||
"usingComponents": {
|
||||
"van-card": "../../dist/card/index",
|
||||
"van-panel": "../../dist/panel/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-panel": "../../dist/panel/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,3 @@
|
||||
<doc-page title="CAPSULE" without-padding>
|
||||
|
||||
<van-panel without-border>
|
||||
<van-card
|
||||
card-class="test-card"
|
||||
@ -27,4 +25,3 @@
|
||||
</view>
|
||||
</van-card>
|
||||
</van-panel>
|
||||
</doc-page>
|
||||
|
@ -5,7 +5,6 @@
|
||||
"van-icon": "../../dist/icon/index",
|
||||
"van-badge": "../../dist/badge/index",
|
||||
"van-panel": "../../dist/panel/index",
|
||||
"van-cell-group": "../../dist/cell-group/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-cell-group": "../../dist/cell-group/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
<doc-page title="CELL" without-padding>
|
||||
|
||||
<van-cell-group border class="cell-panel-demo">
|
||||
<van-cell title="单行列表" bindtap="handleTap"></van-cell>
|
||||
@ -63,4 +62,3 @@
|
||||
</van-cell>
|
||||
</van-cell-group>
|
||||
</van-panel>
|
||||
</doc-page>
|
||||
|
@ -4,7 +4,6 @@
|
||||
"van-checkbox-group": "../../dist/checkbox-group/index",
|
||||
"van-checkbox": "../../dist/checkbox/index",
|
||||
"van-panel": "../../dist/panel/index",
|
||||
"van-cell": "../../dist/cell/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-cell": "../../dist/cell/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
<doc-page title="checkbox" without-padding>
|
||||
<van-panel title='基本用法'>
|
||||
<van-checkbox
|
||||
checkbox-class="checkbox-demo"
|
||||
@ -40,4 +39,3 @@
|
||||
<van-checkbox type="list">复选框 b</van-checkbox>
|
||||
<van-checkbox type="list">复选框 c</van-checkbox>
|
||||
</van-panel>
|
||||
</doc-page>
|
||||
|
@ -1,5 +1,5 @@
|
||||
.container {
|
||||
padding: 60px 0 20px;
|
||||
padding-top: 45px;
|
||||
}
|
||||
|
||||
.title {
|
||||
|
@ -4,7 +4,6 @@
|
||||
"van-date-picker": "../../dist/datetime-picker/index",
|
||||
"van-cell": "../../dist/cell/index",
|
||||
"van-cell-group": "../../dist/cell-group/index",
|
||||
"van-panel": "../../dist/panel/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-panel": "../../dist/panel/index"
|
||||
}
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
<doc-page title="DATETIME PICKER" without-padding>
|
||||
<van-panel class="picker-panel-demo">
|
||||
<van-cell-group>
|
||||
<van-cell title="选择时间">
|
||||
@ -54,5 +53,3 @@
|
||||
/>
|
||||
</van-panel>
|
||||
|
||||
</doc-page>
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "Dialog 弹出框",
|
||||
"usingComponents": {
|
||||
"doc-page": "../../components/doc-page/index",
|
||||
"van-dialog": "../../dist/dialog/index",
|
||||
"van-button": "../../dist/button/index",
|
||||
"van-button-group": "../../dist/button-group/index",
|
||||
|
@ -1,4 +1,3 @@
|
||||
<doc-page title="DIALOG">
|
||||
<van-button-group style="margin-top: 30vh; display: block;">
|
||||
<van-button bindtap="toggleBaseDialog">基础 Dialog</van-button>
|
||||
<van-button bindtap="toggleWithoutTitleDialog">Dialog - 无标题</van-button>
|
||||
@ -16,4 +15,3 @@
|
||||
<van-dialog id="van-close-dialog"></van-dialog>
|
||||
|
||||
<van-toast id="van-toast"></van-toast>
|
||||
</doc-page>
|
||||
|
@ -5,7 +5,6 @@
|
||||
"van-button-group": "../../dist/button-group/index",
|
||||
"van-cell-group": "../../dist/cell-group/index",
|
||||
"van-field": "../../dist/field/index",
|
||||
"van-panel": "../../dist/panel/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-panel": "../../dist/panel/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
<doc-page title="Field" without-padding>
|
||||
<!-- Field 基础用法 -->
|
||||
<van-panel title="基础用法">
|
||||
<van-cell-group>
|
||||
@ -93,4 +92,3 @@
|
||||
<button type="primary" form-type="submit">提交表单</button>
|
||||
</form>
|
||||
</van-panel>
|
||||
</doc-page>
|
||||
|
@ -3,7 +3,6 @@
|
||||
"usingComponents": {
|
||||
"van-cell": "../../dist/cell/index",
|
||||
"van-panel": "../../dist/panel/index",
|
||||
"van-cell-group": "../../dist/cell-group/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-cell-group": "../../dist/cell-group/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
<doc-page title="HELPER" without-padding>
|
||||
<view class="van-panel">
|
||||
<van-cell>
|
||||
<view class="van-pull-right">van-pull-right: 往右靠</view>
|
||||
@ -56,4 +55,3 @@
|
||||
|
||||
</view>
|
||||
|
||||
</doc-page>
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "Icon 图标",
|
||||
"usingComponents": {
|
||||
"van-icon": "../../dist/icon/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-icon": "../../dist/icon/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,6 @@
|
||||
<doc-page title="ICON">
|
||||
<view wx:for="{{ icons }}" wx:for-item="icon" wx:key="icon" class="icon-wrap">
|
||||
<view class="example-icon">
|
||||
<van-icon type="{{ icon }}"></van-icon>
|
||||
</view>
|
||||
<view class="icon-classname">van-icon-{{ icon }}</view>
|
||||
</view>
|
||||
</doc-page>
|
||||
|
@ -2,7 +2,6 @@
|
||||
"usingComponents": {
|
||||
"van-row": "../../dist/row/index",
|
||||
"van-col": "../../dist/col/index",
|
||||
"van-panel": "../../dist/panel/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-panel": "../../dist/panel/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,3 @@
|
||||
<doc-page title="LAYOUT" without-padding>
|
||||
|
||||
<van-panel title="基础用法">
|
||||
<van-row>
|
||||
<van-col col="8" col-class="custom-van-col">span: 8</van-col>
|
||||
@ -17,5 +15,3 @@
|
||||
<van-col col="12" offset="12" col-class="custom-van-col">offset: 12, span: 12</van-col>
|
||||
</van-row>
|
||||
</van-panel>
|
||||
|
||||
</doc-page>
|
||||
|
@ -1,7 +1,5 @@
|
||||
<view class="container">
|
||||
|
||||
<view class="doc-title van-hairline--bottom">LOADING</view>
|
||||
|
||||
<view class="van-panel-title">circle</view>
|
||||
<view class="loading-example van-panel">
|
||||
<van-loading type="circle"></van-loading>
|
||||
|
@ -2,7 +2,6 @@
|
||||
"navigationBarTitleText": "loadmore 加载",
|
||||
"usingComponents": {
|
||||
"van-panel": "../../dist/panel/index",
|
||||
"van-loadmore": "../../dist/loadmore/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-loadmore": "../../dist/loadmore/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
<doc-page title="LOADMORE" without-padding>
|
||||
<van-panel title="nodata">
|
||||
<van-loadmore type="text"></van-loadmore>
|
||||
</van-panel>
|
||||
@ -8,4 +7,3 @@
|
||||
<van-panel title="text">
|
||||
<van-loadmore type="text" text="暂无数据"></van-loadmore>
|
||||
</van-panel>
|
||||
</doc-page>
|
@ -2,7 +2,6 @@
|
||||
"navigationBarTitleText": "Noticebar 通告栏",
|
||||
"usingComponents": {
|
||||
"van-noticebar": "../../dist/noticebar/index",
|
||||
"van-panel": "../../dist/panel/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-panel": "../../dist/panel/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
<doc-page title="NOTICEBAR" without-padding>
|
||||
|
||||
<van-panel title="滚动通告栏">
|
||||
<van-noticebar
|
||||
@ -50,5 +49,3 @@
|
||||
mode="{{ bar5.mode }}"
|
||||
/>
|
||||
</van-panel>
|
||||
|
||||
</doc-page>
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "Panel 面板",
|
||||
"usingComponents": {
|
||||
"van-panel": "../../dist/panel/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-panel": "../../dist/panel/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,3 @@
|
||||
<doc-page title="PANEL" without-padding>
|
||||
|
||||
<van-panel class="panel-example">
|
||||
<view style="padding: 15px;">PANEL 内容区域</view>
|
||||
</van-panel>
|
||||
@ -11,5 +9,3 @@
|
||||
<van-panel title="标题" hide-border="{{ true }}" class="panel-example">
|
||||
<view style="padding: 15px;">无边框的panel</view>
|
||||
</van-panel>
|
||||
|
||||
</doc-page>
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "Popup 弹出层",
|
||||
"usingComponents": {
|
||||
"doc-page": "../../components/doc-page/index",
|
||||
"van-popup": "../../dist/popup/index",
|
||||
"van-button": "../../dist/button/index",
|
||||
"van-button-group": "../../dist/button-group/index"
|
||||
|
@ -1,4 +1,3 @@
|
||||
<doc-page title="POPUP">
|
||||
<van-button-group style="margin-top: 10vh;display: block;">
|
||||
<van-button class="van-button" bind:buttonclick="togglePopup">
|
||||
弹出popup
|
||||
@ -85,5 +84,3 @@
|
||||
</view>
|
||||
</view>
|
||||
</van-popup>
|
||||
|
||||
</doc-page>
|
||||
|
@ -3,7 +3,6 @@
|
||||
"usingComponents": {
|
||||
"van-radio": "../../dist/radio/index",
|
||||
"van-panel": "../../dist/panel/index",
|
||||
"van-cell": "../../dist/cell/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-cell": "../../dist/cell/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
<doc-page title="radio" without-padding>
|
||||
<van-panel title='基本用法'>
|
||||
<van-radio
|
||||
items="{{ items }}"
|
||||
@ -32,4 +31,3 @@
|
||||
type="list"
|
||||
></van-radio>
|
||||
</van-panel>
|
||||
</doc-page>
|
||||
|
@ -3,7 +3,6 @@
|
||||
"usingComponents": {
|
||||
"van-icon": "../icon/index",
|
||||
"van-search": "../../dist/search/index",
|
||||
"van-panel": "../../dist/panel/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-panel": "../../dist/panel/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,3 @@
|
||||
<doc-page title="Search" without-padding>
|
||||
|
||||
<van-panel title='基本用法'>
|
||||
<van-search
|
||||
alignLeft="{{ true }}"
|
||||
@ -48,4 +46,3 @@
|
||||
bindcancel="handleCancel"
|
||||
/>
|
||||
</van-panel>
|
||||
</doc-page>
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "Select 选择",
|
||||
"usingComponents": {
|
||||
"doc-page": "../../components/doc-page/index",
|
||||
"van-panel": "../../dist/panel/index",
|
||||
"van-select": "../../dist/select/index"
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
<doc-page title="SELECT" without-padding>
|
||||
<van-panel title='基本用法'>
|
||||
<van-select
|
||||
items="{{ items }}"
|
||||
@ -17,4 +16,3 @@
|
||||
bind:change="handleSelectChange"
|
||||
/>
|
||||
</van-panel>
|
||||
</doc-page>
|
||||
|
@ -2,7 +2,6 @@
|
||||
"navigationBarTitleText": "Stepper 计数器",
|
||||
"usingComponents": {
|
||||
"van-stepper": "../../dist/stepper/index",
|
||||
"van-panel": "../../dist/panel/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-panel": "../../dist/panel/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
<doc-page title="Stepper" without-padding>
|
||||
<van-panel title="基础用法">
|
||||
<view style="padding: 40px 15px">
|
||||
<van-stepper
|
||||
@ -59,4 +58,3 @@
|
||||
</van-stepper>
|
||||
</view>
|
||||
</van-panel>
|
||||
</doc-page>
|
||||
|
@ -4,7 +4,6 @@
|
||||
"van-cell": "../../dist/cell/index",
|
||||
"van-cell-group": "../../dist/cell-group/index",
|
||||
"van-panel": "../../dist/panel/index",
|
||||
"van-steps": "../../dist/steps/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-steps": "../../dist/steps/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
<doc-page title="STEPS" without-padding>
|
||||
<van-panel title="基础用法">
|
||||
<van-cell-group>
|
||||
<van-cell>
|
||||
@ -62,5 +61,3 @@
|
||||
</van-cell>
|
||||
</van-cell-group>
|
||||
</van-panel>
|
||||
</doc-page>
|
||||
|
||||
|
@ -3,7 +3,6 @@
|
||||
"usingComponents": {
|
||||
"van-switch": "../../dist/switch/index",
|
||||
"van-panel": "../../dist/panel/index",
|
||||
"van-cell": "../../dist/cell/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-cell": "../../dist/cell/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,3 @@
|
||||
<doc-page title="SWITCH" without-padding>
|
||||
|
||||
<van-panel title='同步开关'>
|
||||
<van-cell>
|
||||
<van-switch checked="{{sync.checked}}" bind:change="syncChange" />
|
||||
@ -23,5 +21,3 @@
|
||||
<van-switch theme-class="switch-theme" disabled="{{ false }}" checked/>
|
||||
</van-cell>
|
||||
</van-panel>
|
||||
|
||||
</doc-page>
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "Tab 标签",
|
||||
"usingComponents": {
|
||||
"van-tab": "../../dist/tab/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-tab": "../../dist/tab/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,3 @@
|
||||
<doc-page title="TAB" without-padding>
|
||||
|
||||
<view style="margin: 30px 0">
|
||||
<van-tab
|
||||
list="{{ tab.list }}"
|
||||
@ -22,5 +20,3 @@
|
||||
height="{{ tab2.height }}"
|
||||
/>
|
||||
</view>
|
||||
|
||||
</doc-page>
|
||||
|
@ -1,3 +0,0 @@
|
||||
.doc-title {
|
||||
margin-top: 50px;
|
||||
}
|
@ -3,7 +3,6 @@
|
||||
"usingComponents": {
|
||||
"van-cell": "../../dist/cell/index",
|
||||
"van-panel": "../../dist/panel/index",
|
||||
"van-tag": "../../dist/tag/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-tag": "../../dist/tag/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
<doc-page title="Tag" without-padding>
|
||||
<van-panel title="基础用法" class="tag-demo">
|
||||
<van-cell>
|
||||
<van-tag>灰色</van-tag>
|
||||
@ -25,4 +24,3 @@
|
||||
<van-tag type="primary" plain disabled>返现不可用</van-tag>
|
||||
</van-cell>
|
||||
</van-panel>
|
||||
</doc-page>
|
||||
|
@ -2,8 +2,6 @@
|
||||
|
||||
<view class="container">
|
||||
|
||||
<view class="doc-title van-hairline--bottom">TOAST</view>
|
||||
|
||||
<van-button-group style="margin-top: 15vh;display: block;">
|
||||
<van-button bind:buttonclick="showToast">
|
||||
显示toast
|
||||
|
@ -2,7 +2,6 @@
|
||||
"navigationBarTitleText": "Toptips 顶部提示",
|
||||
"usingComponents": {
|
||||
"van-button": "../../dist/button/index",
|
||||
"van-toptips": "../../dist/toptips/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-toptips": "../../dist/toptips/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
<doc-page title="TOPTIPS">
|
||||
<view style="margin-top: 30vh;">
|
||||
<van-button bind:buttonclick="showTopTips">
|
||||
显示toptips,声明式调用
|
||||
@ -16,7 +15,6 @@
|
||||
显示toptips,持续一秒
|
||||
</van-button>
|
||||
</view>
|
||||
</doc-page>
|
||||
|
||||
<van-toptips
|
||||
id="van-toptips"
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "Tree Select 分类选择",
|
||||
"usingComponents": {
|
||||
"van-tree-select": "../../dist/tree-select/index",
|
||||
"doc-page": "../../components/doc-page/index"
|
||||
"van-tree-select": "../../dist/tree-select/index"
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
<doc-page title="TREE SELECT" without-padding>
|
||||
<view style="margin-top: 5vh;">
|
||||
<van-tree-select
|
||||
items="{{ items }}"
|
||||
@ -8,4 +7,3 @@
|
||||
bind:navclick="handleNavClick"
|
||||
></van-tree-select>
|
||||
</view>
|
||||
</doc-page>
|
Loading…
x
Reference in New Issue
Block a user