diff --git a/pages/business/center/center.vue b/pages/business/center/center.vue index a7382a6..95e1e24 100644 --- a/pages/business/center/center.vue +++ b/pages/business/center/center.vue @@ -22,8 +22,9 @@ - - + + + @@ -146,7 +147,8 @@ }).then(res => { console.log("getStoreCenter", res); if(res.data.code == 200){ - this.detail = res.data.data; + let detail = res.data.data; + this.detail = detail; }else{ this.$msg('您的状态异常,请重新登录').then(() => { this.$url('/pages/business/login/login', {type: 'redirect'}); @@ -204,7 +206,11 @@ token: this.token } }).then(res => { - this.$msg(res.data.message || '核销失败'); + uni.showModal({ + title: '', + content: res.data.message || '核销失败', + showCancel: false + }) }) }, // 自提 @@ -218,7 +224,11 @@ token: this.token } }).then(res => { - this.$msg(res.data.message || '自提核销成功'); + uni.showModal({ + title: '', + content: res.data.message || '自提核销成功', + showCancel: false + }) }) }, // 退出登录 @@ -311,14 +321,14 @@ .notice{ width: 686rpx; - height: 100rpx; + // height: 100rpx; background: #FFFFFF; box-shadow: 0rpx 2rpx 8rpx 1rpx rgba(0, 0, 0, 0.1); border-radius: 20rpx; margin: -50rpx auto 0; position: relative; z-index: 9; - padding: 16rpx 4rpx 0; + padding: 16rpx 4rpx; box-sizing: border-box; } diff --git a/uview-ui/components/u-column-notice/u-column-notice.vue b/uview-ui/components/u-column-notice/u-column-notice.vue index f3d158a..33dc918 100644 --- a/uview-ui/components/u-column-notice/u-column-notice.vue +++ b/uview-ui/components/u-column-notice/u-column-notice.vue @@ -14,7 +14,7 @@ - {{ item.associate.title }} + {{ item.associate.title || item }}