| | |
| | | list: [] |
| | | } |
| | | }, |
| | | onShow() { |
| | | async onShow() { |
| | | // if (this.sign['shopping']) { |
| | | |
| | | // } |
| | | this.init() |
| | | await this.getHotLineConfig() |
| | | }, |
| | | mounted() { |
| | | // this.init() |
| | |
| | | }, |
| | | methods: { |
| | | |
| | | async getHotLineConfig() { |
| | | this.$message.showLoading() |
| | | const { |
| | | code, |
| | | data |
| | | } = await this.$http.request('get', `/v2/config-param/base/getBaseString`, { |
| | | params: { |
| | | paramGroup: "servicehotline", |
| | | paramKey: "hotline_tel" |
| | | |
| | | } |
| | | }) |
| | | this.$message.hideLoading() |
| | | |
| | | if (code === 0) { |
| | | this.tel =data |
| | | } |
| | | }, |
| | | async callTel() { |
| | | await this.$message.confirm('是否拨打客服电话') |
| | | uni.makePhoneCall({ |