From 1193d1ae5ccfe75f9e3861a86e6369ce30bcb34a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Mon, 13 Feb 2023 15:24:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- androidPrivacy.json | 70 ++-- api/ProductList/ProductList.js | 11 +- api/shopping/shopping.js | 2 +- api/user/user.js | 10 +- manifest.json | 7 +- pages.json | 8 + pages/Personal/Personal.vue | 4 +- pages/ProductList/ProductList.vue | 133 +++++++- pages/classification/classification.vue | 434 ++++++++++++++++++++++++ pages/shopping/shopping.vue | 7 +- pages/toptabbar/toptabbar.vue | 168 +++++++++ pages/user/user.scss | 22 ++ pages/user/user.vue | 109 +++--- static/fenlei.png | Bin 0 -> 2460 bytes 14 files changed, 872 insertions(+), 113 deletions(-) create mode 100644 pages/classification/classification.vue create mode 100644 pages/toptabbar/toptabbar.vue create mode 100644 static/fenlei.png diff --git a/androidPrivacy.json b/androidPrivacy.json index 7f5c2f3..78574c0 100644 --- a/androidPrivacy.json +++ b/androidPrivacy.json @@ -1,37 +1,37 @@ { - "version" : "1", - "prompt" : "template", - "title" : "服务协议和隐私政策", - "message" : "请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。
  你可阅读《服务协议》《隐私政策》了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。", - "buttonAccept" : "同意并接受", - "buttonRefuse" : "暂不同意", - "hrefLoader" : "system|default", - "second" : { - "title" : "确认提示", - "message" : "进入应用前,你需先同意《服务协议》《隐私政策》,否则将退出应用。", - "buttonAccept" : "同意并继续", - "buttonRefuse" : "退出应用" - }, - "disagreeMode" : { - "support" : false, - "loadNativePlugins" : false, - "visitorEntry" : true, - "showAlways" : true - }, - "styles" : { - "backgroundColor" : "#ffffff", - "borderRadius" : "5px", - "title" : { - "color" : "#ff00ff" - }, - "buttonAccept" : { - "color" : "#ffff00" - }, - "buttonRefuse" : { - "color" : "#00ffff" - }, - "buttonVisitor" : { - "color" : "#00ffff" - } - } + "version": "1", + "prompt": "template", + "title": "用户协议与隐私政策", + "message": "请你务必审慎阅读、充分理解“用户协议与隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。
  你可阅读《用户协议与隐私政策》了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。", + "buttonAccept": "同意并接受", + "buttonRefuse": "暂不同意", + "hrefLoader": "system|default", + "second": { + "title": "确认提示", + "message": "进入应用前,你需先同意《用户协议与隐私政策》,否则将退出应用。", + "buttonAccept": "同意并继续", + "buttonRefuse": "退出应用" + }, + "disagreeMode": { + "support": false, + "loadNativePlugins": false, + "visitorEntry": false, + "showAlways": false + }, + "styles": { + "backgroundColor": "#ffffff", + "borderRadius": "5px", + "title": { + "color": "#000000" + }, + "buttonAccept": { + "color": "#000000" + }, + "buttonRefuse": { + "color": "#000000" + }, + "buttonVisitor": { + "color": "#000000" + } + } } diff --git a/api/ProductList/ProductList.js b/api/ProductList/ProductList.js index b750720..7be9748 100644 --- a/api/ProductList/ProductList.js +++ b/api/ProductList/ProductList.js @@ -5,4 +5,13 @@ export function goodsList(pageSize,pageNum,goodsCategoryId,goodsName) { url: `/nurseApplet/nursingStationGoods/goodsList?pageSize=${pageSize}&pageNum=${pageNum}&goodsCategoryId=${goodsCategoryId}&goodsName=${goodsName}`, method: 'GET' }) -} \ No newline at end of file +} + + +//查询商品分类二级分类上边列表 小程序 +export function getGoodsCategoryNameList(goodsCategoryId) { + return request({ + url: `/nurseApplet/nursingStationGoods/getGoodsCategoryNameList?goodsCategoryId=${goodsCategoryId}`, + method: 'GET' + }) +} diff --git a/api/shopping/shopping.js b/api/shopping/shopping.js index 6202c1f..23712e8 100644 --- a/api/shopping/shopping.js +++ b/api/shopping/shopping.js @@ -2,7 +2,7 @@ import request from "../request.js" export function goodsCategoryList(pageSize,pageNum) { return request({ - url: `/nurseApplet/nursingStationGoods/goodsCategoryList?pageSize=${pageSize}&pageNum=${pageNum}`, + url: `/nurseApplet/nursingStationGoods/goodsCategoryList?pageSize=${pageSize}&pageNum=${pageNum}&categoryLevel=${1}`, method: 'GET' }) } diff --git a/api/user/user.js b/api/user/user.js index 52939d2..5cfdfc5 100644 --- a/api/user/user.js +++ b/api/user/user.js @@ -4,4 +4,12 @@ export function appPersonal(patientId) { url: `/nurseApp/login/appPersonal?patientId=${patientId}`, method: 'GET' }) -} \ No newline at end of file +} + +//注销 +export function accountCancellation(patientId) { + return request({ + url: `/nurseApplet/login/accountCancellation?patientId=${patientId}`, + method: 'GET' + }) +} diff --git a/manifest.json b/manifest.json index 95a5d6e..ce74e87 100644 --- a/manifest.json +++ b/manifest.json @@ -1,9 +1,9 @@ { - "name" : "泉医到家APP", + "name" : "泉医到家", "appid" : "__UNI__D6F049F", "description" : "", "versionName" : "1.0.0", - "versionCode" : "100", + "versionCode" : 100, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { @@ -19,7 +19,8 @@ /* 模块配置 */ "modules" : { "Maps" : {}, - "Geolocation" : {} + "Geolocation" : {}, + "Camera" : {} }, /* 应用发布信息 */ "distribute" : { diff --git a/pages.json b/pages.json index 3e59949..9363870 100644 --- a/pages.json +++ b/pages.json @@ -346,6 +346,14 @@ "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#ffffff" } + }, { + "path": "pages/classification/classification", + "style": { + "navigationBarTitleText": "分类", + "enablePullDownRefresh": false + // "disableScroll": true + } + } ], "globalStyle": { diff --git a/pages/Personal/Personal.vue b/pages/Personal/Personal.vue index 1b6fdd5..244eb38 100644 --- a/pages/Personal/Personal.vue +++ b/pages/Personal/Personal.vue @@ -13,12 +13,12 @@ 我的订单 - + diff --git a/pages/ProductList/ProductList.vue b/pages/ProductList/ProductList.vue index 44a6c7b..22883c4 100644 --- a/pages/ProductList/ProductList.vue +++ b/pages/ProductList/ProductList.vue @@ -1,5 +1,10 @@ @@ -171,7 +277,6 @@ box-shadow: 0px 4rpx 8rpx 4rpx rgba(199, 200, 202, 0.8); margin-bottom: 40rpx; - .price { font-size: 36rpx; color: #D43953; @@ -203,9 +308,9 @@ } image { + border-radius: 25rpx 25rpx 0 0; width: 100%; height: 340rpx; - border-radius: 25rpx 25rpx 0 0; } } } diff --git a/pages/classification/classification.vue b/pages/classification/classification.vue new file mode 100644 index 0000000..f0f4d8b --- /dev/null +++ b/pages/classification/classification.vue @@ -0,0 +1,434 @@ + + + + + diff --git a/pages/shopping/shopping.vue b/pages/shopping/shopping.vue index 2dac160..23d4303 100644 --- a/pages/shopping/shopping.vue +++ b/pages/shopping/shopping.vue @@ -1,7 +1,7 @@ @@ -117,6 +102,7 @@