diff --git a/apis/interfaces/scan.js b/apis/interfaces/scan.js index 82c5faf..63a17a8 100644 --- a/apis/interfaces/scan.js +++ b/apis/interfaces/scan.js @@ -3,31 +3,29 @@ * moduleName:核销相关操作 */ -import { - request -} from '../index' +import { request } from '../index' // 扫码前置条件 get 核销前置 post 表示核销 -const scanInfo = (apiUrl, data, method) => { - return request({ - url: apiUrl, - method: method, - data: data - }) +const scanInfo = (apiUrl,data,method) => { + return request({ + url: apiUrl, + method:method, + data:data + }) } // 核销记录 -const scanList = (apiUrl, data) => { - return request({ - url: apiUrl, - method: 'GET', - data: data - }) +const scanList = (apiUrl,data) => { + return request({ + url: apiUrl, + method:'GET', + data:data + }) } export { - scanInfo, - scanList + scanInfo, + scanList } diff --git a/pages.json b/pages.json index 976c57d..7622737 100644 --- a/pages.json +++ b/pages.json @@ -281,14 +281,18 @@ "name": "verificationIndex", "auth": true, "style": { - "navigationBarTitleText": "扫码核销" + "navigationBarTitleText": "扫码核销", + "navigationBarBackgroundColor":"#076cff", + "navigationBarTextStyle":"white" } }, { "path": "pages/verification/history", "name": "verificationHistory", "auth": true, "style": { - "navigationBarTitleText": "核销记录" + "navigationBarTitleText": "核销记录", + "navigationBarBackgroundColor":"#076cff", + "navigationBarTextStyle":"white" } }, { "path": "pages/shop/lists", diff --git a/pages/verification/history.vue b/pages/verification/history.vue index 55f1c32..fcada04 100644 --- a/pages/verification/history.vue +++ b/pages/verification/history.vue @@ -1,7 +1,7 @@