diff --git a/littleApp_child/app.json b/littleApp_child/app.json index c387633..7625df6 100644 --- a/littleApp_child/app.json +++ b/littleApp_child/app.json @@ -55,7 +55,8 @@ "pages/articleList/articleList", "pages/article/article", "pages/preDocumented/preDocumented", - "pages/serviceNotice/serviceNotice" + "pages/serviceNotice/serviceNotice", + "pages/eatAddress/eatAddress" ] } ], diff --git a/littleApp_child/packageA/pages/eatAddress/eatAddress.js b/littleApp_child/packageA/pages/eatAddress/eatAddress.js new file mode 100644 index 0000000..4171ea3 --- /dev/null +++ b/littleApp_child/packageA/pages/eatAddress/eatAddress.js @@ -0,0 +1,66 @@ +// packageA/pages/eatAddress/eatAddress.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file diff --git a/littleApp_child/packageA/pages/eatAddress/eatAddress.json b/littleApp_child/packageA/pages/eatAddress/eatAddress.json new file mode 100644 index 0000000..faa07e3 --- /dev/null +++ b/littleApp_child/packageA/pages/eatAddress/eatAddress.json @@ -0,0 +1,8 @@ +{ + "navigationBarTitleText": "膳食通知", + "navigationBarBackgroundColor": "#48C17B", + "navigationBarTextStyle": "white", + "backgroundColor": "#d8dbd4", + "pageOrientation": "auto", + "usingComponents": {} +} \ No newline at end of file diff --git a/littleApp_child/packageA/pages/eatAddress/eatAddress.wxml b/littleApp_child/packageA/pages/eatAddress/eatAddress.wxml new file mode 100644 index 0000000..0db4b12 --- /dev/null +++ b/littleApp_child/packageA/pages/eatAddress/eatAddress.wxml @@ -0,0 +1,2 @@ + +packageA/pages/eatAddress/eatAddress.wxml diff --git a/littleApp_child/packageA/pages/eatAddress/eatAddress.wxss b/littleApp_child/packageA/pages/eatAddress/eatAddress.wxss new file mode 100644 index 0000000..4409b61 --- /dev/null +++ b/littleApp_child/packageA/pages/eatAddress/eatAddress.wxss @@ -0,0 +1 @@ +/* packageA/pages/eatAddress/eatAddress.wxss */ \ No newline at end of file diff --git a/littleApp_child/packageA/pages/preDocumented/preDocumented.js b/littleApp_child/packageA/pages/preDocumented/preDocumented.js index 8cc87b2..31ef706 100644 --- a/littleApp_child/packageA/pages/preDocumented/preDocumented.js +++ b/littleApp_child/packageA/pages/preDocumented/preDocumented.js @@ -489,7 +489,7 @@ Page(Object.assign({}, AreaPicker,{ if (0===res.data.errorcode) { wx.showModal({ title: '成功提交', - content: "您已成功预约建档", + content: "您的建档信息已提交,请尽快前往我院建档中心进行档案审核,审核通过后请使用档案信息登录,为避免错过重要医疗信息,审核通过后请使用档案信息登录小程序并持续关注美生孕育公众号。", showCancel: false, submiting:false, success: function (res){ @@ -503,7 +503,7 @@ Page(Object.assign({}, AreaPicker,{ } else { wx.showModal({ title: '提交失败', - content: '错误信息:'+res.data.errormsg, + content: '错误信息:'+res.errormsg, showCancel: false, success: function (res) { } @@ -512,7 +512,7 @@ Page(Object.assign({}, AreaPicker,{ }, function (res) { wx.showModal({ title: '提交失败', - content: '错误信息:'+res.data.errormsg, + content: '错误信息:'+res.errormsg, showCancel: false, success: function (res) { } diff --git a/littleApp_child/pages/feedback/feedback.js b/littleApp_child/pages/feedback/feedback.js index 4786e7c..07e7e67 100644 --- a/littleApp_child/pages/feedback/feedback.js +++ b/littleApp_child/pages/feedback/feedback.js @@ -74,23 +74,16 @@ Page({ }, submit: function () { if (this.data.content.length==0){ - wx.showToast({ - title: '请填写意见或建议', - }) + networkUtil.showErrorToast('请填写意见或建议') return } if (this.data.chooseOne == 0 && this.data.chooseTwo == 0 && this.data.chooseThree == 0 ){ - wx.showToast({ - title: '选择反馈类型', - }) + networkUtil.showErrorToast('选择反馈类型') return } console.log(this.data.content) - wx.showToast({ - title: '提交成功', - }) + networkUtil.showErrorToast('提交成功') wx.navigateBack({ - }) } }) diff --git a/littleApp_child/pages/home/home.js b/littleApp_child/pages/home/home.js index 5afe43f..a8bfdde 100644 --- a/littleApp_child/pages/home/home.js +++ b/littleApp_child/pages/home/home.js @@ -83,7 +83,8 @@ Page({ riskGuide: false, riskBase: false, //是否开通疾病指导 - riskDise:false + riskDise:false, + yc:0 }, /*---------生命周期--------*/ onLoad: function(options) { @@ -302,6 +303,7 @@ Page({ this.setUserInfo(babyCache[index]) this.setArtInfo(artCache[index]) this.getUserArchives(); + this.getUserInfo() } else { this.getUserInfo() } diff --git a/littleApp_child/pages/home/home.wxml b/littleApp_child/pages/home/home.wxml index ee56fb3..1a05648 100644 --- a/littleApp_child/pages/home/home.wxml +++ b/littleApp_child/pages/home/home.wxml @@ -105,7 +105,7 @@ 专家咨询 - + 身高体重曲线 @@ -113,14 +113,14 @@ 补填户籍地址 - + 中医指导文章 服务名目通知 - + diff --git a/littleApp_child/utils/WebIMConfig.js b/littleApp_child/utils/WebIMConfig.js index d49b564..99b198a 100644 --- a/littleApp_child/utils/WebIMConfig.js +++ b/littleApp_child/utils/WebIMConfig.js @@ -27,8 +27,8 @@ let config = { /* * Application AppKey */ - // appkey: '1123170414115195#mommybaby',//测试版 - appkey: '1123170414115195#mommybabyfinalversion',//正式版 + appkey: '1123170414115195#mommybaby',//测试版 + // appkey: '1123170414115195#mommybabyfinalversion',//正式版 // appkey: "easemob-demo#chatdemoui", /* * Whether to use HTTPS '1177161227178308#xcx' diff --git a/littleApp_child/utils/network_util.js b/littleApp_child/utils/network_util.js index 1001b86..09047c9 100644 --- a/littleApp_child/utils/network_util.js +++ b/littleApp_child/utils/network_util.js @@ -4,7 +4,7 @@ // 18382670036 多层次 // 18328537371 陈云 666666 // 0测试环境 1正式环境 2演示环境 3衡水 -var Builing_Release_AppStore = 1; +var Builing_Release_AppStore = 0; // 获取服务器地址 function kServerBaseUrl() { switch (Builing_Release_AppStore) {