diff --git a/README.md b/README.md index 58824f7..b338a04 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,7 @@ ## 搭伙订餐计算器 和小伙伴一起订餐, 费用不太好计算, 写了个简单的小程序, 可以搜索小程序 "搭伙订餐计算器". + +## 扫描二维码直接使用小程序 + +![二维码](./images/qr-code.jpg) \ No newline at end of file diff --git a/images/qr-code.jpg b/images/qr-code.jpg new file mode 100644 index 0000000..ddf1674 Binary files /dev/null and b/images/qr-code.jpg differ diff --git a/package.json b/package.json index 0b6dfba..8d30cfa 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "ordering-calculator", "version": "1.0.0", "private": true, - "description": "这是一个计算搭伙订餐费用的小应用", + "description": "这是一个搭伙订餐的计算器", "main": "index.js", "repository": { "type": "git", diff --git a/src/pages/index/index.js b/src/pages/index/index.js index 993684c..719bd71 100644 --- a/src/pages/index/index.js +++ b/src/pages/index/index.js @@ -55,6 +55,12 @@ export default class Index extends Component { result: result.join(',') }); } + // shareHandler () { + // console.log('share'); + // Taro.showShareMenu({ + // withShareTicket: true + // }) + // } render () { return ( @@ -71,7 +77,7 @@ export default class Index extends Component { + onBlur={this.setTureTotalPrice}> @@ -83,6 +89,7 @@ export default class Index extends Component { + {/* */}