From 8977b3675bff6c1513c9a31025e28123f821020b Mon Sep 17 00:00:00 2001 From: JinxChen <2183691628@qq.com> Date: Wed, 1 Mar 2023 17:10:08 +0800 Subject: [PATCH] =?UTF-8?q?feature=20-=20=E5=A2=9E=E5=8A=A0=20=E5=B7=B2?= =?UTF-8?q?=E8=B4=AD=E4=B9=B0=E6=9C=AA=E6=BF=80=E6=B4=BB=E5=AE=B9=E9=94=99?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 +- src/api/wx.js | 11 +- src/config/models.js | 2 +- src/router/index.js | 1 + src/views/active-status/index.vue | 6 +- src/views/card-active/index.vue | 160 ++++++++++++++++++++++++++++++ src/views/package-home/index.vue | 54 ++++++---- src/views/package-list/index.vue | 140 ++++---------------------- src/views/pay-result/index.vue | 34 +++---- 9 files changed, 253 insertions(+), 163 deletions(-) create mode 100644 src/views/card-active/index.vue diff --git a/README.md b/README.md index d0597d4..9c97d02 100644 --- a/README.md +++ b/README.md @@ -233,4 +233,10 @@ update `2023.2.28` update - 开放 微信支付 -- 修改 支付宝全额支付参数,0表示全额,12表示分期 \ No newline at end of file +- 修改 支付宝全额支付参数,0表示全额,12表示分期 + + +## v1.0.27 +`2023.3.1` +feature +- 增加 已购买未激活容错页面 \ No newline at end of file diff --git a/src/api/wx.js b/src/api/wx.js index b64e253..44c2157 100644 --- a/src/api/wx.js +++ b/src/api/wx.js @@ -14,7 +14,8 @@ const APIWx = { ocr, //ocr识别 Effective, //激活接口 GetCardInfo, - LckjGetOrderPackageShow + LckjGetOrderPackageShow, + CheckImei, } export default APIWx; function createJSSDK({ userId, sUrl, appId }) { @@ -64,4 +65,12 @@ function LckjGetOrderPackageShow({ iccid, imei }){ method: 'get', params: { iccid, imei} }) +} + //检查imei属于哪家厂商 + function CheckImei(params) { + return request({ + url: '/api/Command/CheckImei', + method: 'post', + data: params, + }); } \ No newline at end of file diff --git a/src/config/models.js b/src/config/models.js index db5f1e3..a5b325f 100644 --- a/src/config/models.js +++ b/src/config/models.js @@ -5,7 +5,7 @@ * @FilePath: \TelpoH5FrontendWeb\src\config\models.js * @description: */ -export const VERSION_MODEL = '1.0.26F'; //版本号 +export const VERSION_MODEL = '1.0.27F'; //版本号 export const IMAGE_URL = { production: 'http://zfb.ssjlai.com/web/', test: 'http://zfb.ssjlai.com/web/', diff --git a/src/router/index.js b/src/router/index.js index ad8fefb..b1cde61 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -27,6 +27,7 @@ const routes = [ { path: '/cardInfo', name: 'cardInfo', component: resolve => require(['@/views/card-info'], resolve) }, { path: '/buyRecord', name: 'buyRecord', component: resolve => require(['@/views/buy-record'], resolve) }, { path: '/activeStatus', name: 'activeStatus', component: resolve => require(['@/views/active-status'], resolve) }, + { path: '/cardActive', name: 'cardActive', component: resolve => require(['@/views/card-active'], resolve) }, ]; diff --git a/src/views/active-status/index.vue b/src/views/active-status/index.vue index 5455bf5..8345ad1 100644 --- a/src/views/active-status/index.vue +++ b/src/views/active-status/index.vue @@ -7,7 +7,7 @@

激活成功,请重启设备,看到连接平台

-

图标后,则可正常使用。

+
图标后,则可正常使用。

电话卡激活失败!请进行实名认证与绑定SIM卡。如您已实名认证,请5分钟后,再进行设备绑定。

@@ -106,14 +106,14 @@ export default { diff --git a/src/views/package-home/index.vue b/src/views/package-home/index.vue index 35218e4..88faf75 100644 --- a/src/views/package-home/index.vue +++ b/src/views/package-home/index.vue @@ -1,7 +1,7 @@ @@ -14,23 +14,43 @@ diff --git a/src/views/package-list/index.vue b/src/views/package-list/index.vue index fb54a34..d0ddcf2 100644 --- a/src/views/package-list/index.vue +++ b/src/views/package-list/index.vue @@ -1,7 +1,7 @@ @@ -14,19 +14,9 @@
- -
-

暂无相关套餐数据,请您联系管理员~

@@ -51,7 +41,7 @@

{{item.packageName}}

-

每月200分钟通话时长,1G流量。

+

每月200分钟通话时长,1G流量

@@ -59,12 +49,12 @@ ¥{{(item.packagePrice/(item.packageIssue === 0 ? 1: item.packageIssue)).toFixed(0)}}元/月,

- 合计{{item.packagePrice}}元。 + 合计{{item.packagePrice}}元

-

立即充值话费

+

第一步:充值话费

@@ -102,86 +92,22 @@
- -
-
- - -
- -