[Doc] improve document detail (#698)

This commit is contained in:
neverland 2018-03-15 20:49:13 +08:00 committed by GitHub
parent e366e033ed
commit 1e9bc4065b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 11 additions and 10 deletions

View File

@ -54,7 +54,7 @@ export default {
step2: '商家接单',
step3: '买家提货',
step4: '交易完成',
title2: '物流描述',
title2: '描述信息',
title3: '竖向步骤条',
status1: '【城市】物流状态1',
status2: '【城市】物流状态',

View File

@ -116,7 +116,7 @@ export default {
<style lang="postcss">
.demo-tab {
margin-bottom: 500px;
margin-bottom: 300px;
.van-tab .van-icon {
margin-right: 5px;

View File

@ -15,10 +15,10 @@ Vue.use(Badge);
```html
<van-badge-group :active-key="activeKey">
<van-badge title="热销榜" @click="onClick" />
<van-badge title="花式寿司" @click="onClick" info="8" />
<van-badge title="火炽寿司" @click="onClick" info="99" />
<van-badge title="手握寿司" @click="onClick" info="199" />
<van-badge title="标签名称" @click="onClick" />
<van-badge title="标签名称" @click="onClick" info="8" />
<van-badge title="标签名称" @click="onClick" info="99" />
<van-badge title="标签名称" @click="onClick" info="199" />
</van-badge-group>
```

View File

@ -86,7 +86,7 @@ Vue.use(Field);
placeholder="请输入留言"
rows="1"
autosize
/>
/>
</van-cell-group>
```

View File

@ -30,9 +30,9 @@ export default {
}
```
#### 物流描述
#### 描述信息
通过`title``description`属性来定义物流描述信息
通过`title``description`属性来定义描述信息信息
```html
<van-steps

View File

@ -13,7 +13,7 @@
],
"scripts": {
"bootstrap": "yarn || npm i && cd ./packages/vant-css/ && yarn || npm i && cd ../../",
"dev": "npm run build:file && webpack-dev-server --inline --config build/webpack.config.dev.js --content-base ./",
"dev": "npm run build:file && webpack-dev-server --inline --config build/webpack.config.dev.js",
"build:file": "node build/bin/build-entry.js",
"build:components": "node build/bin/build-components.js --color",
"build:vant-css": "gulp build --gulpfile packages/vant-css/gulpfile.js --color",

View File

@ -151,6 +151,7 @@ export default create({
(init ? on : off)(swipeableEl, 'touchstart', this.onTouchStart, false);
(init ? on : off)(swipeableEl, 'touchmove', this.onTouchMove, false);
(init ? on : off)(swipeableEl, 'touchend', this.onTouchEnd, false);
(init ? on : off)(swipeableEl, 'touchcancel', this.onTouchEnd, false);
},
// record swipe touch start position