diff --git a/App.vue b/App.vue index 87b1532..1f54ccc 100644 --- a/App.vue +++ b/App.vue @@ -8,6 +8,7 @@ console.warn('当前组件仅支持 uni_modules 目录结构 ,请升级 HBuilderX 到 3.1.0 版本以上!') console.log('App Launch') store.dispatch('fetchConfigList') + store.dispatch('getUserInfo') }, onShow: function() { console.log('App Show') diff --git a/api/amount/index.js b/api/amount/index.js index 280a071..e369616 100644 --- a/api/amount/index.js +++ b/api/amount/index.js @@ -14,14 +14,14 @@ export const amountLogList = (params) => { } // 小程序-充值 -export const cashIn = (params) => { +export const cashIn = (data) => { return request({ url: '/applet/amount/cashIn', headers: { isToken: true }, - method: "get", - params + method: "post", + data }) } diff --git a/api/home.js b/api/home.js index 28c940a..a740edb 100644 --- a/api/home.js +++ b/api/home.js @@ -49,15 +49,6 @@ export const indexConfigIco = () => { method: "get" }) } -export const successList = () => { - return request({ - url: "/applet/workIn/list", - headers: { - isToken: false - }, - method: "get" - }) -} export const getbaseInfo = (appUserId) => { return request({ url: `/applet/login/getAppletUserInfo/${appUserId}`, diff --git a/api/myFlow/index.js b/api/myFlow/index.js new file mode 100644 index 0000000..1846862 --- /dev/null +++ b/api/myFlow/index.js @@ -0,0 +1,15 @@ + +// 伴宠师-我的流程 +import request from '@/utils/request' + +// 获取我的评价列表数据带分页 +export function appletCommentList(params) { + return request({ + headers: { + "isToken": true + }, + url: "/applet/info/appletCommentList", + method: 'get', + params + }) +} diff --git a/api/pet/index.js b/api/pet/index.js new file mode 100644 index 0000000..6043e8f --- /dev/null +++ b/api/pet/index.js @@ -0,0 +1,12 @@ +import request from '@/utils/request' + +// 查询我的宠物列表 +export function petList() { + return request({ + headers: { + "isToken": true + }, + url: "/applet/pet/list", + method: 'get' + }) +} diff --git a/api/receivingHall/index.js b/api/receivingHall/index.js new file mode 100644 index 0000000..2fa0af6 --- /dev/null +++ b/api/receivingHall/index.js @@ -0,0 +1,14 @@ +// 订单模块 - 接单大厅流程 +import request from '@/utils/request' + +// 小程序-接单大厅流程 +export function orderList(params) { + return request({ + headers: { + "isToken": true + }, + url: "/applet/order/list", + method: 'get', + params + }) +} \ No newline at end of file diff --git a/manifest.json b/manifest.json index 218c530..794197d 100644 --- a/manifest.json +++ b/manifest.json @@ -1,68 +1,71 @@ { - "name" : "uni-vuu3", - "appid" : "__UNI__BCA90DD", - "description" : "", - "versionName" : "1.0.0", - "versionCode" : "100", - "transformPx" : false, - "app-plus" : { - /* 5+App特有相关 */ - "usingComponents" : true, - "nvueCompiler" : "uni-app", - "nvueStyleCompiler" : "uni-app", - "splashscreen" : { - "alwaysShowBeforeRender" : true, - "waiting" : true, - "autoclose" : true, - "delay" : 0 - }, - "modules" : {}, - /* 模块配置 */ - "distribute" : { - /* 应用发布信息 */ - "android" : { - /* android打包配置 */ - "permissions" : [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ] - }, - "ios" : {}, - /* ios打包配置 */ - "sdkConfigs" : {} - } - }, - /* SDK配置 */ - "quickapp" : {}, - /* 快应用特有相关 */ - "mp-weixin" : { - /* 小程序特有相关 */ - "appid" : "wx01f0f43759922fda", - "setting" : { - "urlCheck" : false, - "postcss" : true, - "minified" : true - }, - "usingComponents" : true, - "mergeVirtualHostAttributes" : true, - "permission" : { - "scope.userLocation" : { - "desc" : "获取用户地址" - } - } - }, - "vueVersion" : "3" -} + "name": "uni-vuu3", + "appid": "__UNI__BCA90DD", + "description": "", + "versionName": "1.0.0", + "versionCode": "100", + "transformPx": false, + "app-plus": { + /* 5+App特有相关 */ + "usingComponents": true, + "nvueCompiler": "uni-app", + "nvueStyleCompiler": "uni-app", + "splashscreen": { + "alwaysShowBeforeRender": true, + "waiting": true, + "autoclose": true, + "delay": 0 + }, + "modules": {}, + /* 模块配置 */ + "distribute": { + /* 应用发布信息 */ + "android": { + /* android打包配置 */ + "permissions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ] + }, + "ios": {}, + /* ios打包配置 */ + "sdkConfigs": {} + } + }, + /* SDK配置 */ + "quickapp": {}, + /* 快应用特有相关 */ + "mp-weixin": { + /* 小程序特有相关 */ + "appid": "wx01f0f43759922fda", + "setting": { + "urlCheck": false, + "postcss": true, + "minified": true + }, + "usingComponents": true, + "mergeVirtualHostAttributes": true, + "permission": { + "scope.userLocation": { + "desc": "获取用户地址" + } + }, + "requiredPrivateInfos": [ + "chooseLocation" + ] + }, + "vueVersion": "3" +} \ No newline at end of file diff --git a/otherPages/authentication/connectAddress/detail.vue b/otherPages/authentication/connectAddress/detail.vue index 4d2f519..203c7cd 100644 --- a/otherPages/authentication/connectAddress/detail.vue +++ b/otherPages/authentication/connectAddress/detail.vue @@ -121,6 +121,9 @@ uni.chooseLocation({ success: function(res) { setAddress(res) + }, + fail(e) { + console.log("获取位置信息失败!",e) } }) } diff --git a/otherPages/myOrdersManage/bond/index.vue b/otherPages/myOrdersManage/bond/index.vue index e6308a3..cb09b3c 100644 --- a/otherPages/myOrdersManage/bond/index.vue +++ b/otherPages/myOrdersManage/bond/index.vue @@ -42,9 +42,22 @@ \ No newline at end of file diff --git a/otherPages/workbenchManage/bindUser/index.scss b/otherPages/workbenchManage/bindUser/index.scss index 53679f2..9bb7953 100644 --- a/otherPages/workbenchManage/bindUser/index.scss +++ b/otherPages/workbenchManage/bindUser/index.scss @@ -38,13 +38,19 @@ } .bind-main-one{ text-align: center; - background: #b3f1dd; + background: #FAE7E3; border-radius: 20rpx; padding: 40rpx 60rpx; } .bind-main-two{ text-align: center; - background: #c6bcef; + background: #D0E5F9; + border-radius: 20rpx; + padding: 40rpx 50rpx; +} +.bind-main-three{ + text-align: center; + background: #FDE7C5; border-radius: 20rpx; padding: 40rpx 50rpx; } diff --git a/otherPages/workbenchManage/bindUser/index.vue b/otherPages/workbenchManage/bindUser/index.vue index 36b7890..a464e1a 100644 --- a/otherPages/workbenchManage/bindUser/index.vue +++ b/otherPages/workbenchManage/bindUser/index.vue @@ -2,10 +2,9 @@ - + - 猫小姐 + {{ userInfo?.userName}} 初级合伙人 @@ -46,20 +45,25 @@ - 邀请码 + 邀请码邀请 用户输入邀请码,直接完成绑定 - + - + + 分享海报邀请 + 扫码进入猫妈狗爸完成绑定 + + + 分享链接邀请 复制链接给好友,进入直接绑定 @@ -69,11 +73,37 @@ diff --git a/otherPages/workbenchManage/myLevel/index.vue b/otherPages/workbenchManage/myLevel/index.vue index 35688c3..4496422 100644 --- a/otherPages/workbenchManage/myLevel/index.vue +++ b/otherPages/workbenchManage/myLevel/index.vue @@ -2,7 +2,7 @@ - + {{state.baseInfo.info.userName}} diff --git a/otherPages/workbenchManage/myUser/index.vue b/otherPages/workbenchManage/myUser/index.vue index 95cfcab..d39ba20 100644 --- a/otherPages/workbenchManage/myUser/index.vue +++ b/otherPages/workbenchManage/myUser/index.vue @@ -2,7 +2,7 @@ - + {{ state.baseInfo.info.userName }} diff --git a/otherPages/workbenchManage/myWallet/index.vue b/otherPages/workbenchManage/myWallet/index.vue index df2a965..f13198b 100644 --- a/otherPages/workbenchManage/myWallet/index.vue +++ b/otherPages/workbenchManage/myWallet/index.vue @@ -2,7 +2,7 @@ - + {{ state.baseInfo.info.userName }} diff --git a/pages.json b/pages.json index 32835e4..d6c42fc 100644 --- a/pages.json +++ b/pages.json @@ -356,6 +356,12 @@ "style": { "navigationBarTitleText": "服务记录" } + }, + { + "path": "pet/index", + "style": { + "navigationBarTitleText": "我的宠物" + } } ] } diff --git a/pages/login/index.vue b/pages/login/index.vue index 6a70fe7..430a999 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -34,7 +34,7 @@ - + diff --git a/pages/login/wxUserInfo.vue b/pages/login/wxUserInfo.vue index a920b06..3670e4e 100644 --- a/pages/login/wxUserInfo.vue +++ b/pages/login/wxUserInfo.vue @@ -1,11 +1,9 @@