Commit beb8e5b25443d64940665be7f379ce54b78f41cf
Merge branch 'test' of http://git.vipzhuang.cn/wxd/MShopWeApp into qa
Showing
2 changed files
with
12 additions
and
9 deletions
packageD/pages/user/member/bring/bring.wxss
| @@ -171,12 +171,12 @@ margin-top:28rpx; | @@ -171,12 +171,12 @@ margin-top:28rpx; | ||
| 171 | } | 171 | } |
| 172 | /* 选中样式 1*/ | 172 | /* 选中样式 1*/ |
| 173 | .ys{ | 173 | .ys{ |
| 174 | - width:18rpx; | ||
| 175 | - height:18rpx; | ||
| 176 | - margin-left:4rpx; | ||
| 177 | - margin-top: 4rpx; | 174 | + width:21rpx; |
| 175 | + height:21rpx; | ||
| 176 | + margin-left:2rpx; | ||
| 177 | + margin-top: 2rpx; | ||
| 178 | background-color:#C4182E; | 178 | background-color:#C4182E; |
| 179 | - border-radius:50rpx; /* 图形的半径 */ | 179 | + border-radius:25rpx; /* 图形的半径 */ |
| 180 | display: none; | 180 | display: none; |
| 181 | } | 181 | } |
| 182 | .ys.tab_item_active{ | 182 | .ys.tab_item_active{ |
pages/user/userinfo/userinfo.js
| @@ -782,10 +782,11 @@ Page({ | @@ -782,10 +782,11 @@ Page({ | ||
| 782 | choice_guide=JSON.parse(JSON.stringify(getApp().globalData.choice_guide)); | 782 | choice_guide=JSON.parse(JSON.stringify(getApp().globalData.choice_guide)); |
| 783 | getApp().globalData.choice_guide=null; | 783 | getApp().globalData.choice_guide=null; |
| 784 | let user=this.data.user; | 784 | let user=this.data.user; |
| 785 | - user.staffName=choice_guide.StaffName; | ||
| 786 | - user.staffId=choice_guide.Id; | ||
| 787 | - user.staffTel=choice_guide.Tel; | ||
| 788 | - this.setData({user}) | 785 | + this.setData({ |
| 786 | + 'user.staffName':choice_guide.StaffName, | ||
| 787 | + 'user.staffId':choice_guide.Id, | ||
| 788 | + 'user.staffTel':choice_guide.Tel | ||
| 789 | + }) | ||
| 789 | return false; | 790 | return false; |
| 790 | } | 791 | } |
| 791 | 792 | ||
| @@ -840,6 +841,8 @@ Page({ | @@ -840,6 +841,8 @@ Page({ | ||
| 840 | 841 | ||
| 841 | } | 842 | } |
| 842 | }) | 843 | }) |
| 844 | + | ||
| 845 | + | ||
| 843 | a.getUserInfo(function(a) { | 846 | a.getUserInfo(function(a) { |
| 844 | var txt = util.formatTime(a.birthday, 'yyyy-M-d'), | 847 | var txt = util.formatTime(a.birthday, 'yyyy-M-d'), |
| 845 | arr = txt.split(' '); | 848 | arr = txt.split(' '); |