陶杰
2025-01-08 c24e49083d4419300bcee0f0ca926c084037d665
sub_pages/partner/delivery/delivery-home.vue
@@ -112,7 +112,9 @@
      //       }
      //    }
      // },
      onShow() {},
      onShow() {
         this.getHotLineConfig()
      },
      onLoad(options) {
         // const url = options.q ? decodeURIComponent(options.q) : '';
         // const urlcode = options.url && decodeURIComponent(options.url) || ''
@@ -149,6 +151,26 @@
      },
      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) {
               // 电话
               console.log(data)
               this.tel =data
            }
         },
         async clearlogout() {
            await this.$message.confirm('是否退出登录?')