From 69297b261e5f3547a6c67e71f3d7ecfbb4c1b409 Mon Sep 17 00:00:00 2001 From: guoxing <1369478551@qq.com> Date: Tue, 5 Dec 2023 11:48:02 +0800 Subject: [PATCH] 2023-12-5 --- common/config.js | 6 +- pages - 副本.json | 126 +++++++ pages.json | 8 +- pages/SelectAddressActivity - 副本.vue | 244 +++++++++++++ pages/SelectAddressActivity.vue | 24 +- pages/card/card - 副本.vue | 249 ++++++++++++++ pages/card/card_detail.vue | 418 ++++++++++++++++++++++- pages/card/card_detail2.vue | 351 +++++++++++++++++++ pages/record/recordList.vue | 2 +- 9 files changed, 1399 insertions(+), 29 deletions(-) create mode 100644 pages - 副本.json create mode 100644 pages/SelectAddressActivity - 副本.vue create mode 100644 pages/card/card - 副本.vue create mode 100644 pages/card/card_detail2.vue diff --git a/common/config.js b/common/config.js index 68c7a9a..8471e0c 100644 --- a/common/config.js +++ b/common/config.js @@ -6,10 +6,10 @@ * loginTimeoutPage = "/pages/login/index", // 登录超时或失效的情况下,跳转到的登录页面 */ module.exports = { - baseUrl: 'http://192.168.2.113:7201', - // baseUrl: 'https://supervise.yxtsoft.com/lpkapi', + // baseUrl: 'http://192.168.2.113:7201', + baseUrl: 'https://supervise.yxtsoft.com/lpkapi', // baseUrl: 'http://jianguan.yyundong.com/api', tokenName: "Authorization", // 请求头中token的名字,与服务器端对应 loginTimeoutCode: "5001", // 登录超时或失效的情况下,服务器端返回的错误码 loginTimeoutPage: "/pages/login/index", // 登录超时或失效的情况下,跳转到的登录页面 -} \ No newline at end of file +} \ No newline at end of file diff --git a/pages - 副本.json b/pages - 副本.json new file mode 100644 index 0000000..306d99a --- /dev/null +++ b/pages - 副本.json @@ -0,0 +1,126 @@ +{ + "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages + { + "path": "pages/login/login", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/card/card_detail", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/card/card_detail2", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/card/card", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/card/card_booking", + "style": { + "navigationBarTitleText": "预约提货", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/card/card_record", + "style": { + "navigationBarTitleText": "预约记录" + } + }, + { + "path": "pages/card/card_bind", + "style": { + "navigationStyle": "custom" + } + }, + + // 扫码进入 + { + "path": "pages/card/card_bind2", + "style": { + "navigationStyle": "custom" + } + }, { + "path": "pages/index/BindPhone", + "style": { + "navigationBarTitleText": "绑定账号", + "navigationStyle": "custom", + "app-plus": { + "scrollIndicator": false //禁用原生导航栏, + } + } + }, + { + "path": "pages/home/UserFragment", + "style": { + "navigationBarTitleText": "绑定账号", + "navigationStyle": "custom", + "app-plus": { + "scrollIndicator": false //禁用原生导航栏, + } + } + }, + { + "path": "pages/card/card_record_detail", + "style": { + "navigationBarTitleText": "预约详情", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/record/recordList", + "style": { + "navigationBarTitleText": "预约记录" + } + }, + { + "path": "pages/good/goodsDetail", + "style": { + "navigationBarTitleText": "商品详情", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/SelectAddressActivity", + "style": { + "navigationBarTitleText": "提货点列表", + "enablePullDownRefresh": false + } + } + ], + "globalStyle": { + "navigationBarTextStyle": "white", + "navigationBarTitleText": "uni-app", + "navigationBarBackgroundColor": "#FE9039", + "backgroundColor": "#FE9039" + }, + "tabBar": { + "color": "#7A7E83", + "selectedColor": "#191919", + "borderStyle": "black", + "backgroundColor": "#ffffff", + "list": [{ + "pagePath": "pages/card/card", + "text": "礼包", + "iconPath": "static/bomicon/bom_notPack.png", + "selectedIconPath": "static/bomicon/bom_pack.png" + }, { + "pagePath": "pages/record/recordList", + "text": "预约记录", + "iconPath": "static/bomicon/bom_notRecord.png", + "selectedIconPath": "static/bomicon/bom_record.png" + }] + }, + "uniIdRouter": {} +} \ No newline at end of file diff --git a/pages.json b/pages.json index 566410a..67867af 100644 --- a/pages.json +++ b/pages.json @@ -10,7 +10,13 @@ { "path": "pages/card/card_detail", "style": { - "navigationBarTitleText": "详情" + "navigationStyle": "custom" + } + }, + { + "path": "pages/card/card_detail2", + "style": { + "navigationStyle": "custom" } }, { diff --git a/pages/SelectAddressActivity - 副本.vue b/pages/SelectAddressActivity - 副本.vue new file mode 100644 index 0000000..f1767c8 --- /dev/null +++ b/pages/SelectAddressActivity - 副本.vue @@ -0,0 +1,244 @@ + + + + + + \ No newline at end of file diff --git a/pages/SelectAddressActivity.vue b/pages/SelectAddressActivity.vue index c377d34..f1767c8 100644 --- a/pages/SelectAddressActivity.vue +++ b/pages/SelectAddressActivity.vue @@ -12,12 +12,12 @@ style="margin-right: 10px;font-size: 13px; color: #FED6B5;">搜索 - + @@ -88,8 +88,8 @@ 门店地址:{{item.address}} - + + + + + + + + + + 绑定新卡 + + + + + + + + + + + + + + + + + + + + + + + + + 卡号: {{item.serialNumber}} + {{item.time}} + + + 预约提货 + + + + + {{item.pname}} + + {{item.state}} + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pages/card/card_detail.vue b/pages/card/card_detail.vue index bce0919..61d5ace 100644 --- a/pages/card/card_detail.vue +++ b/pages/card/card_detail.vue @@ -1,8 +1,128 @@ \ No newline at end of file diff --git a/pages/card/card_detail2.vue b/pages/card/card_detail2.vue new file mode 100644 index 0000000..3faa7c6 --- /dev/null +++ b/pages/card/card_detail2.vue @@ -0,0 +1,351 @@ + + + + + \ No newline at end of file diff --git a/pages/record/recordList.vue b/pages/record/recordList.vue index 87d1c3f..2801508 100644 --- a/pages/record/recordList.vue +++ b/pages/record/recordList.vue @@ -51,7 +51,7 @@ 卡    号: - {{item.code}} + {{item.serialNumber}} 提货门店: