Commit a01151d6fff5e196c09dab09d6e38ee1a733458f
1 parent
20bc551e
会员标签bug修改跟个人资料
Showing
4 changed files
with
14 additions
and
12 deletions
pages/user/labels/labels.js
... | ... | @@ -13,7 +13,7 @@ Page({ |
13 | 13 | interest_lables: [], //兴趣标签 |
14 | 14 | check_label: [], //用户选中的标签集合 |
15 | 15 | user_label_val: "", //奖励多少 |
16 | - user_label_type: "", //奖励类型(0积分,1类型) | |
16 | + user_label_type: "", //奖励类型(1积分,1成长值) | |
17 | 17 | is_modify: 0, //判断是第一次填写还是修改(0填写,1修改) |
18 | 18 | }, |
19 | 19 | //点击选择兴趣标签把值放到已选中 |
... | ... | @@ -169,7 +169,7 @@ Page({ |
169 | 169 | var th = this; |
170 | 170 | var is_modify = th.data.is_modify; //是否是修改 |
171 | 171 | var check_label = th.data.check_label; //用户选择 |
172 | - var remark = "兴趣标签赠送"; | |
172 | + var remark = "领取"; | |
173 | 173 | if (is_modify) { |
174 | 174 | user_label_type = 0; |
175 | 175 | remark = "修改"; |
... | ... | @@ -178,7 +178,7 @@ Page({ |
178 | 178 | getApp().my_warnning("完成兴趣标签才能" + remark + "哦~", 0, th); |
179 | 179 | } else { |
180 | 180 | var user_label_val = th.data.user_label_val; //选择标签奖励多少 |
181 | - var user_label_type = th.data.user_label_type; //增送类型 | |
181 | + var user_label_type = th.data.user_label_type; //赠送类型 | |
182 | 182 | var url = "/api/weshop/marketing/holiday/vip/interest/label/update"; //更新标签接口地址 |
183 | 183 | var nav_url = "/pages/user/userinfo/userinfo"; //领取成功之后跳转页面 |
184 | 184 | var vipLabel = ""; //选择的标签名称 | ... | ... |
pages/user/labels/labels.wxss
... | ... | @@ -31,9 +31,9 @@ |
31 | 31 | display: inline-block; |
32 | 32 | max-width: 200rpx; |
33 | 33 | height: 46rpx; |
34 | + line-height: 46rpx; | |
34 | 35 | border: 2rpx solid rgb(204, 204, 204); |
35 | 36 | border-radius: 30rpx; |
36 | - line-height: 46rpx; | |
37 | 37 | padding: 0rpx 30rpx; |
38 | 38 | margin-right: 25rpx; |
39 | 39 | margin-bottom: 45rpx; |
... | ... | @@ -57,7 +57,7 @@ |
57 | 57 | border: 2rpx solid rgb(255, 138, 160); |
58 | 58 | line-height: 46rpx; |
59 | 59 | margin-right: 25rpx; |
60 | - margin-bottom: 45rpx; | |
60 | + margin-bottom: 30rpx; | |
61 | 61 | padding: 0rpx 30rpx; |
62 | 62 | border-radius: 30rpx; |
63 | 63 | color: rgb(255, 255, 255); | ... | ... |
pages/user/userinfo/userinfo.wxml
... | ... | @@ -186,12 +186,10 @@ |
186 | 186 | </view> |
187 | 187 | </view> |
188 | 188 | </view> |
189 | - <!-- 我的兴趣 isBool==1 && --> | |
190 | - <view wx:if="{{is_lable_set==1}}" class="padding Bbottom"> | |
191 | -======= | |
192 | 189 | <!-- 我的兴趣 --> |
193 | - <view wx:if="{{is_lable_set!=null && is_lable_set==1}}" class="padding Bbottom"> | |
194 | ->>>>>>> ec6a3fbf09a19e8dbfed33db0c6cdf9618287714 | |
190 | + <view wx:if="{{ isBool==1 && is_lable_set==1}}" class="padding Bbottom"> | |
191 | + <!-- 我的兴趣 --> | |
192 | + <view wx:if="{{is_lable_set!=null && is_lable_set==1}}" class="Bbottom"> | |
195 | 193 | <view class="interest fs28"> |
196 | 194 | <view class="flex-vertical-between" bindtap="goto" data-url="/pages/user/labels/labels"> |
197 | 195 | <view class="fs30">我的兴趣</view> |
... | ... | @@ -394,4 +392,5 @@ |
394 | 392 | </block> |
395 | 393 | </view> |
396 | 394 | </block> |
395 | +</view> | |
397 | 396 | <warn id="warn"></warn> |
398 | 397 | \ No newline at end of file | ... | ... |
pages/user/userinfo/userinfo.wxss
... | ... | @@ -632,18 +632,21 @@ input { |
632 | 632 | |
633 | 633 | .lable { |
634 | 634 | display: inline-block; |
635 | - /* height: 46rpx; *//* line-height: 46rpx; */ | |
635 | + height: 44rpx; | |
636 | + line-height: 44rpx; | |
636 | 637 | margin-right: 15rpx; |
637 | 638 | color: rgb(255, 255, 255); |
638 | 639 | border: 2rpx solid rgb(255, 138, 160); |
639 | 640 | background-color: rgb(255, 138, 160); |
640 | 641 | padding: 0rpx 25rpx; |
641 | 642 | border-radius: 30rpx; |
642 | - margin-bottom: 20rpx; | |
643 | + margin-bottom: 21rpx; | |
643 | 644 | max-width: 195rpx; |
644 | 645 | } |
645 | 646 | |
646 | 647 | .add_lable { |
648 | + height: 44rpx; | |
649 | + line-height: 44rpx; | |
647 | 650 | color: rgb(189, 189, 189); |
648 | 651 | border: 2rpx solid rgb(189, 189, 189); |
649 | 652 | border-radius: 30rpx; | ... | ... |