mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-23 09:52:57 +08:00
Doc: update demo && nav
This commit is contained in:
parent
df9c40bc3f
commit
3a8a745f6a
@ -31,10 +31,6 @@ export default {
|
|||||||
name: '支付宝支付',
|
name: '支付宝支付',
|
||||||
loading: true
|
loading: true
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: '有赞E卡',
|
|
||||||
subname: '(剩余260.50元)'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: '信用卡支付'
|
name: '信用卡支付'
|
||||||
},
|
},
|
||||||
@ -90,10 +86,6 @@ export default {
|
|||||||
name: '支付宝支付',
|
name: '支付宝支付',
|
||||||
loading: true
|
loading: true
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: '有赞E卡',
|
|
||||||
subname: '(剩余260.50元)'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: '信用卡支付'
|
name: '信用卡支付'
|
||||||
},
|
},
|
||||||
@ -139,10 +131,6 @@ export default {
|
|||||||
name: '支付宝支付',
|
name: '支付宝支付',
|
||||||
loading: true
|
loading: true
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: '有赞E卡',
|
|
||||||
subname: '(剩余260.50元)'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: '信用卡支付'
|
name: '信用卡支付'
|
||||||
},
|
},
|
||||||
|
@ -21,7 +21,7 @@ export default {
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
## GoodsAction 商品操作
|
## GoodsAction 商品页行动点
|
||||||
|
|
||||||
### 使用指南
|
### 使用指南
|
||||||
``` javascript
|
``` javascript
|
||||||
|
@ -11,6 +11,11 @@ import docConfig from './doc.config';
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
|
if (location.host === 'www.youzanyun.com') {
|
||||||
|
const group = docConfig['zh-CN'].nav[0].groups[0];
|
||||||
|
group.list = group.list.filter(item => item.title !== '业务组件');
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
simulator: this.getSimulatorPath(),
|
simulator: this.getSimulatorPath(),
|
||||||
config: docConfig['zh-CN']
|
config: docConfig['zh-CN']
|
||||||
|
@ -186,44 +186,37 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"groupName": "高阶组件",
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"path": "/switch-cell",
|
||||||
|
"title": "SwitchCell 开关单元格"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"groupName": "业务组件",
|
"groupName": "业务组件",
|
||||||
"list": [
|
"list": [
|
||||||
|
{
|
||||||
|
"path": "/area",
|
||||||
|
"title": "Area 省市区选择"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"path": "/deep-select",
|
"path": "/deep-select",
|
||||||
"title": "DeepSelect 分类选择组件"
|
"title": "DeepSelect 分类选择组件"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"path": "/express-way",
|
|
||||||
"title": "ExpressWay 配送方式"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"path": "/goods-action",
|
"path": "/goods-action",
|
||||||
"title": "GoodsAction 商品操作"
|
"title": "GoodsAction 商品页行动点"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "/invalid-goods",
|
"path": "/coupon",
|
||||||
"title": "InvalidGoods 不可用商品列表"
|
"title": "Coupon 优惠券选择器"
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "/order-coupon",
|
|
||||||
"title": "OrderCoupon 下单页优惠券"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "/order-goods",
|
|
||||||
"title": "OrderGoods 下单页商品列表"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "/pay-order",
|
"path": "/pay-order",
|
||||||
"title": "PayOrder 提交订单栏"
|
"title": "PayOrder 提交订单栏"
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "/switch-cell",
|
|
||||||
"title": "SwitchCell 开关单元格"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "/area",
|
|
||||||
"title": "Area 省市区选择"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="van-pay-order">
|
<div class="van-pay-order">
|
||||||
<div class="van-pay-order__tip" v-show="tip || $slots.tip">
|
<div class="van-pay-order__tip" v-show="tip || $slots.tip">
|
||||||
<slot name="tip">{{ tip }}</slot>
|
{{ tip }}<slot name="tip"></slot>
|
||||||
</div>
|
</div>
|
||||||
<div class="van-pay-order__bar">
|
<div class="van-pay-order__bar">
|
||||||
<div class="van-pay-order__price">
|
<div class="van-pay-order__price">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user