Commit 8b7a41d5288b17402aed695b81a6929cdf51a18a
1 parent
93801cc0
1、一行省略的优化
2、默认值的还原
Showing
2 changed files
with
2 additions
and
2 deletions
app.js
@@ -1756,7 +1756,7 @@ App({ | @@ -1756,7 +1756,7 @@ App({ | ||
1756 | }) | 1756 | }) |
1757 | 1757 | ||
1758 | if(guide) { | 1758 | if(guide) { |
1759 | - guide.beauty_strengths = "美妆小能手"; | 1759 | + //guide.beauty_strengths = "美妆小能手"; |
1760 | //获取导购绑定的会员的信息 | 1760 | //获取导购绑定的会员的信息 |
1761 | await this.promiseGet("/api/weshop/users/get/" + this.globalData.setting.stoid + "/" + guide.bind_user_id, { | 1761 | await this.promiseGet("/api/weshop/users/get/" + this.globalData.setting.stoid + "/" + guide.bind_user_id, { |
1762 | data: {}, | 1762 | data: {}, |
packageG/pages/user/my_beauty_consultant/my_beauty_consultant.wxml
@@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
7 | 7 | ||
8 | <view class="nei_cont"> | 8 | <view class="nei_cont"> |
9 | <view class="flex ai_c" style="height:37rpx"> | 9 | <view class="flex ai_c" style="height:37rpx"> |
10 | - <text class="fs32 c31" style="font-weight: bolder;margin-right:16rpx">{{guide.staffName}}</text> | 10 | + <text class="fs32 c31 ellipsis-1" style="max-width:240rpx;font-weight: bolder;margin-right:16rpx">{{guide.staffName}}</text> |
11 | <text class="flex-center zs_box fs18">您的专属导购</text> | 11 | <text class="flex-center zs_box fs18">您的专属导购</text> |
12 | </view> | 12 | </view> |
13 | <view wx:if="{{guide.beauty_strengths}}" class="flex" style="margin-top:20rpx"> | 13 | <view wx:if="{{guide.beauty_strengths}}" class="flex" style="margin-top:20rpx"> |