diff --git a/pages/user/choice_guide/choice_guide.js b/pages/user/choice_guide/choice_guide.js index c7361e7..d9a574d 100644 --- a/pages/user/choice_guide/choice_guide.js +++ b/pages/user/choice_guide/choice_guide.js @@ -101,6 +101,11 @@ Page({ getApp().goto("/pages/user/userinfo/userinfo"); }, + img_err:function (e) { + var txt=e.currentTarget.dataset.err_img; + this.setData({[txt]:this.data.iurl+'/miniapp/images/no-head.jpg'}); + } + diff --git a/pages/user/choice_guide/choice_guide.wxml b/pages/user/choice_guide/choice_guide.wxml index f4eb36c..809ee48 100644 --- a/pages/user/choice_guide/choice_guide.wxml +++ b/pages/user/choice_guide/choice_guide.wxml @@ -16,10 +16,10 @@ - + {{item.StaffName}} - {{item.Remark1}} + {{item.Remark1}} diff --git a/pages/user/userinfo/userinfo.js b/pages/user/userinfo/userinfo.js index e780aff..02bcf48 100644 --- a/pages/user/userinfo/userinfo.js +++ b/pages/user/userinfo/userinfo.js @@ -156,8 +156,6 @@ Page({ th.setData({ isGender: sex }) - - }, //密码是否隐藏显示 ispwhid: function() {