From e8754ab4e8a165f2953841f8c690a1dd1d0bc146 Mon Sep 17 00:00:00 2001 From: yangjie <812952667@qq.com> Date: Tue, 31 Aug 2021 17:14:53 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=AF=B9=E6=8E=A5=E5=8D=A1=E5=8F=B7=E7=BB=91?= =?UTF-8?q?=E5=AE=9A=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Utils/Api.js | 4 + pages.json | 35 ++-- pages/user/bindingCard/bindingCard.vue | 180 +++++++----------- .../user/bindingCardList/bindingCardList.vue | 25 +++ static/css/login.scss | 7 +- 5 files changed, 126 insertions(+), 125 deletions(-) create mode 100644 pages/user/bindingCardList/bindingCardList.vue diff --git a/Utils/Api.js b/Utils/Api.js index 02de670..0103d6e 100644 --- a/Utils/Api.js +++ b/Utils/Api.js @@ -160,6 +160,10 @@ export const getCmsContent = params => { /** * 工会卡 */ +//根据卡号查询 +export const getHuiLianTongCardByCardNo = params => { + return POST('GET', `${base}/highUserCard/getHuiLianTongCardByCardNo`, params).then(res => res.data); +} // 获取用户卡号列表 export const getUserCardList = params => { return POST('GET', `${base}/highUserCard/getUserCardList`, params).then(res => res.data); diff --git a/pages.json b/pages.json index deeaccf..a2f5cf6 100644 --- a/pages.json +++ b/pages.json @@ -1,6 +1,6 @@ { "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages - { + { "path": "pages/tabBar/home/home", "style": { "navigationBarTextStyle": "white", @@ -476,7 +476,29 @@ } } - ,{ + , { + "path" : "pages/user/bindingCard/bindingCard", + "style" : + { + "navigationBarTitleText": "綁定卡号", + "navigationBarBackgroundColor": "#0083f5", + "backgroundColorTop": "#0083f5", + "navigationBarTextStyle": "white", + "enablePullDownRefresh": false + } + + },{ + "path" : "pages/user/bindingCardList/bindingCardList", + "style" : + { + "navigationBarTitleText": "卡列表", + "navigationBarBackgroundColor": "#0083f5", + "backgroundColorTop": "#0083f5", + "navigationBarTextStyle": "white", + "enablePullDownRefresh": false + } + + },{ "path" : "pages/user/unionCard/unionCard", "style" : { @@ -489,15 +511,6 @@ } } - ,{ - "path" : "pages/user/bindingCard/bindingCard", - "style" : - { - "navigationBarTitleText": "", - "enablePullDownRefresh": false - } - - } ], "globalStyle": { diff --git a/pages/user/bindingCard/bindingCard.vue b/pages/user/bindingCard/bindingCard.vue index c51251e..438758d 100644 --- a/pages/user/bindingCard/bindingCard.vue +++ b/pages/user/bindingCard/bindingCard.vue @@ -1,30 +1,20 @@