diff --git b/README.md a/README.md
new file mode 100644
index 0000000..527d6d5
--- /dev/null
+++ a/README.md
@@ -0,0 +1,5 @@
+# 微信小程序 - 语音助手
+
+## todo
+
+1. 历史记录
\ No newline at end of file
diff --git b/app.js a/app.js
new file mode 100644
index 0000000..99d5e94
--- /dev/null
+++ a/app.js
@@ -0,0 +1,27 @@
+//app.js
+App({
+ onLaunch: function() {
+
+ },
+ getUserInfo: function(cb) {
+ var that = this
+ if (this.globalData.userInfo) {
+ typeof cb == "function" && cb(this.globalData.userInfo)
+ } else {
+ //调用登录接口
+ wx.login({
+ success: function() {
+ wx.getUserInfo({
+ success: function(res) {
+ that.globalData.userInfo = res.userInfo
+ typeof cb == "function" && cb(that.globalData.userInfo)
+ }
+ })
+ }
+ })
+ }
+ },
+ globalData: {
+ userInfo: null
+ }
+});
diff --git b/app.json a/app.json
new file mode 100644
index 0000000..5dacca9
--- /dev/null
+++ a/app.json
@@ -0,0 +1,13 @@
+{
+ "pages": [
+ "pages/index/index",
+ "pages/result/result"
+ ],
+ "window": {
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#fff",
+ "navigationBarTitleText": "文字转语音",
+ "navigationBarTextStyle": "black"
+ },
+ "sitemapLocation": "sitemap.json"
+}
\ No newline at end of file
diff --git b/app.wxss a/app.wxss
new file mode 100644
index 0000000..2ca0051
--- /dev/null
+++ a/app.wxss
@@ -0,0 +1,10 @@
+/**app.wxss**/
+.container {
+ width: 100%;
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: space-between;
+ box-sizing: border-box;
+}
diff --git b/images/logo.png a/images/logo.png
new file mode 100644
index 0000000..99f8dc4
--- /dev/null
+++ a/images/logo.png
diff --git b/images/logo1.png a/images/logo1.png
new file mode 100644
index 0000000..af28ea0
--- /dev/null
+++ a/images/logo1.png
diff --git b/images/logo2.png a/images/logo2.png
new file mode 100644
index 0000000..7564cfe
--- /dev/null
+++ a/images/logo2.png
diff --git b/pages/index/index.js a/pages/index/index.js
new file mode 100644
index 0000000..fb439ae
--- /dev/null
+++ a/pages/index/index.js
@@ -0,0 +1,94 @@
+//index.js
+//获取应用实例
+const app = getApp();
+const storageKey = 'audioTypeselectedIndex';
+const selectedIndex = wx.getStorageSync(storageKey);
+const type = [
+ {
+ desc: '男声一',
+ createUrl(text){
+ return `https://fanyi.sogou.com/reventondc/synthesis?text=${text}&speed=1&lang=zh-CHS&from=translateweb&speaker=1`
+ }
+ },
+ {
+ desc: '男声二',
+ createUrl(text){
+ return `https://fanyi.sogou.com/reventondc/synthesis?text=${text}&speed=1&lang=zh-CHS&from=translateweb&speaker=4`
+ }
+ },
+ {
+ desc: '女声一',
+ createUrl(text){
+ return `https://fanyi.sogou.com/reventondc/synthesis?text=${text}&speed=1&lang=zh-CHS&from=translateweb&speaker=2`
+ }
+ },
+ {
+ desc: '女声二',
+ createUrl(text){
+ return `https://fanyi.sogou.com/reventondc/synthesis?text=${text}&speed=1&lang=zh-CHS&from=translateweb&speaker=3`
+ }
+ },
+ {
+ desc: '女声三',
+ createUrl(text){
+ return `https://fanyi.sogou.com/reventondc/synthesis?text=${text}&speed=1&lang=zh-CHS&from=translateweb&speaker=5`
+ }
+ },
+ {
+ desc: '女声四',
+ createUrl(text){
+ return `https://fanyi.sogou.com/reventondc/synthesis?text=${text}&speed=1&lang=zh-CHS&from=translateweb&speaker=6`
+ }
+ },
+ {
+ desc: '女声五',
+ createUrl(text){
+ return `https://tts.youdao.com/fanyivoice?word=${text}&le=zh&keyfrom=speaker-target`
+ }
+ }
+];
+
+let audio = null;
+
+Page({
+ data: {
+ placeholder: '点击此处输入文字',
+ text: '',
+ type,
+ selectedIndex: String(selectedIndex) ? selectedIndex : 5
+ },
+ onLoad(){
+ wx.showShareMenu();
+ },
+ inputText(e){
+ this.data.text = e.detail.value;
+ },
+ play(){
+ const text = this.data.text || this.data.placeholder;
+ this.resetAudio();
+ audio = wx.createInnerAudioContext({useWebAudioImplement: true});
+ audio.autoplay = true;
+ audio.src = this.data.type[this.data.selectedIndex].createUrl(text);
+ },
+ clear(){
+ this.resetAudio();
+ this.setData({
+ text: ''
+ });
+ },
+ resetAudio(){
+ if(audio){
+ audio.destroy();
+ audio = null;
+ }
+ },
+ selectIndex(e){
+ const { index } = e.target.dataset;
+ this.setData({
+ selectedIndex: index
+ }, () => {
+ this.play();
+ });
+ wx.setStorageSync(storageKey, index);
+ }
+});
diff --git b/pages/index/index.json a/pages/index/index.json
new file mode 100644
index 0000000..9e26dfe
--- /dev/null
+++ a/pages/index/index.json
@@ -0,0 +1 @@
+{}
\ No newline at end of file
diff --git b/pages/index/index.wxml a/pages/index/index.wxml
new file mode 100644
index 0000000..cf348b2
--- /dev/null
+++ a/pages/index/index.wxml
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git b/pages/index/index.wxss a/pages/index/index.wxss
new file mode 100644
index 0000000..36097a3
--- /dev/null
+++ a/pages/index/index.wxss
@@ -0,0 +1,41 @@
+/**index.wxss**/
+
+.text-view{
+ width: 100%;
+ text-align: center;
+}
+.text-area{
+ width: 95%;
+ padding: 5rpx 10rpx;
+ text-align: left;
+ box-sizing: border-box;
+ display: inline-block;
+ border: 1rpx dashed #afafaf;
+}
+
+.button-view{
+ width: 100%;
+ margin-top: 20rpx;
+ text-align: center;
+}
+.button-view button{
+ width: 95%;
+ display: inline-block;
+ height: 92rpx;
+ line-height: 92rpx;
+ font-size: 36rpx;
+ text-align: center;
+}
+
+.type-view{
+ width: 95%;
+ margin-top: 40rpx;
+ display: flex;
+ justify-content: space-between;
+}
+.type-view button{
+ padding: 20rpx 10rpx;
+ writing-mode: vertical-lr;
+ text-align: center;
+ letter-spacing: 15rpx;
+}
\ No newline at end of file
diff --git b/pages/result/result.js a/pages/result/result.js
new file mode 100644
index 0000000..bc6d2ed
--- /dev/null
+++ a/pages/result/result.js
@@ -0,0 +1,35 @@
+Page({
+ data: {
+ total: '',
+ benefit: '',
+ diff: ''
+ },
+ onLoad: function(options){
+ var total = new Number((options.price*2*options.days).toFixed(2));
+ var benefit = isNaN(total) ? 0 : this.calc(total).toFixed(2);
+ this.setData({
+ total: isNaN(total) ? 0 : total.toFixed(2),
+ benefit: benefit,
+ diff: (total - benefit).toFixed(2)
+ });
+ wx.showShareMenu();
+ },
+ calc: function(fee){
+ //662.5 = 100 + 50/0.8 + 250/0.5
+ if(fee > 662.5){
+ return fee - 262.5;
+ }
+ //162.5 = 100 + 50/0.8
+ else if(fee > 162.5){
+ //(fee - 162.5)/2 + 150;
+ return fee/2 + 68.75;
+ }
+ else if(fee > 100){
+ //(fee - 100)*0.8 + 100;
+ return fee*0.8 + 20;
+ }
+ else{
+ return fee;
+ }
+ }
+});
\ No newline at end of file
diff --git b/pages/result/result.json a/pages/result/result.json
new file mode 100644
index 0000000..9e26dfe
--- /dev/null
+++ a/pages/result/result.json
@@ -0,0 +1 @@
+{}
\ No newline at end of file
diff --git b/pages/result/result.wxml a/pages/result/result.wxml
new file mode 100644
index 0000000..bc28e68
--- /dev/null
+++ a/pages/result/result.wxml
@@ -0,0 +1,13 @@
+
+ 每月总消费:
+ {{total}} 元
+
+
+ 优惠后:
+ {{benefit}} 元
+
+
+ 共节省了:
+ {{diff}} 元
+
+
\ No newline at end of file
diff --git b/pages/result/result.wxss a/pages/result/result.wxss
new file mode 100644
index 0000000..ecc7acf
--- /dev/null
+++ a/pages/result/result.wxss
@@ -0,0 +1,35 @@
+.text-view{
+ display: flex;
+ flex-direction: row;
+ width: 100%;
+ padding: 15rpx;
+ background: #efefef;
+}
+.text-view .label{
+ flex: 1;
+ height: 72rpx;
+ padding-right: 20rpx;
+ vertical-align: top;
+ line-height: 72rpx;
+ font-size: 36rpx;
+ color: #666;
+ text-align: right;
+}
+.text-view .val{
+ flex: 2;
+ height: 72rpx;
+ line-height: 72rpx;
+ font-size: 36rpx;
+}
+.border{
+ border-bottom: 1rpx solid #dfdfdf;
+}
+.red{
+ color: red;
+}
+.green{
+ color: green;
+}
+.blue{
+ color: blue;
+}
\ No newline at end of file
diff --git b/project.config.json a/project.config.json
new file mode 100644
index 0000000..898b037
--- /dev/null
+++ a/project.config.json
@@ -0,0 +1,61 @@
+{
+ "description": "项目配置文件。",
+ "setting": {
+ "urlCheck": false,
+ "es6": true,
+ "enhance": true,
+ "postcss": true,
+ "preloadBackgroundData": false,
+ "minified": true,
+ "newFeature": true,
+ "coverView": true,
+ "nodeModules": false,
+ "autoAudits": false,
+ "showShadowRootInWxmlPanel": true,
+ "scopeDataCheck": false,
+ "uglifyFileName": false,
+ "checkInvalidKey": true,
+ "checkSiteMap": true,
+ "uploadWithSourceMap": true,
+ "compileHotReLoad": false,
+ "lazyloadPlaceholderEnable": false,
+ "useMultiFrameRuntime": true,
+ "useApiHook": true,
+ "useApiHostProcess": true,
+ "babelSetting": {
+ "ignore": [],
+ "disablePlugins": [],
+ "outputPath": ""
+ },
+ "enableEngineNative": false,
+ "useIsolateContext": false,
+ "userConfirmedBundleSwitch": false,
+ "packNpmManually": false,
+ "packNpmRelationList": [],
+ "minifyWXSS": true,
+ "disableUseStrict": false,
+ "minifyWXML": true,
+ "showES6CompileOption": false,
+ "useCompilerPlugins": false
+ },
+ "compileType": "miniprogram",
+ "libVersion": "1.9.93",
+ "appid": "wx330e54aa6000516d",
+ "projectname": "%E8%AF%AD%E9%9F%B3%E5%8A%A9%E6%89%8B",
+ "isGameTourist": false,
+ "condition": {
+ "search": {
+ "list": []
+ },
+ "conversation": {
+ "list": []
+ },
+ "game": {
+ "currentL": -1,
+ "list": []
+ },
+ "miniprogram": {
+ "list": []
+ }
+ }
+}
\ No newline at end of file
diff --git b/sitemap.json a/sitemap.json
new file mode 100644
index 0000000..ca02add
--- /dev/null
+++ a/sitemap.json
@@ -0,0 +1,7 @@
+{
+ "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
+ "rules": [{
+ "action": "allow",
+ "page": "*"
+ }]
+}
\ No newline at end of file
diff --git b/utils/util.js a/utils/util.js
new file mode 100644
index 0000000..784a534
--- /dev/null
+++ a/utils/util.js
@@ -0,0 +1,21 @@
+function formatTime(date) {
+ var year = date.getFullYear()
+ var month = date.getMonth() + 1
+ var day = date.getDate()
+
+ var hour = date.getHours()
+ var minute = date.getMinutes()
+ var second = date.getSeconds()
+
+
+ return [year, month, day].map(formatNumber).join('/') + ' ' + [hour, minute, second].map(formatNumber).join(':')
+}
+
+function formatNumber(n) {
+ n = n.toString()
+ return n[1] ? n : '0' + n
+}
+
+module.exports = {
+ formatTime: formatTime
+}