| | |
| | | getBusinessDetail() { |
| | | let _this = this; |
| | | _this.loading = true; |
| | | _this._post('plus.business/business/detail', { business_card_id: _this.business_card_id }, function(res) { |
| | | _this._post('plus.business.business/detail', { business_card_id: _this.business_card_id }, function(res) { |
| | | _this.businessInfo = res.data; |
| | | // 设置背景色 |
| | | if (_this.businessInfo.template && _this.businessInfo.template.style?.background?.color) { |
| | |
| | | if (this.$route.query.referee_id) { |
| | | params.referee_id = this.$route.query.referee_id; |
| | | } |
| | | _this._post('plus.business/business/recordVisit', params, function() { |
| | | _this._post('plus.business.saving/recordVisit', params, function() { |
| | | // 无需处理返回结果 |
| | | }); |
| | | }, |