From 4e10584d477c0fd5da7e3a7164ca04df795a4936 Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Wed, 29 Jun 2022 10:47:54 +0800
Subject: [PATCH] 主机类型管理,缓存主动设定的主机类型,并在下次优先使用

---
 common/WxH5Pay.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/common/WxH5Pay.js b/common/WxH5Pay.js
index be9fd8a..70256a4 100644
--- a/common/WxH5Pay.js
+++ b/common/WxH5Pay.js
@@ -14,7 +14,7 @@
         this._callback = callback;
         const that = this;
         Taro.showModal({
-            title: type === 'ask' ? '微信支付未响应?' : '微信支付仍未响应?',
+            content: type === 'ask' ? '微信支付未响应?' : '微信支付仍未响应?',
             confirmColor: '#4a8aff',
             confirmText: type === 'ask' ? '点击重试' : '重载页面',
             success: res => {
@@ -29,6 +29,7 @@
         });
         setTimeout(() => {
             this.$modal = $('.taro__modal');
+            this.$modal.find('>div>div').css('textAlign', 'center');
         }, 10);
     },
     cancel() {

--
Gitblit v1.9.1