diff --git a/apis/interfaces/mailed.js b/apis/interfaces/mailed.js index 351df5c..b01540f 100644 --- a/apis/interfaces/mailed.js +++ b/apis/interfaces/mailed.js @@ -31,8 +31,24 @@ const submitExpresses = (id, data) => { }) } +// 获取订单邮寄列表 +const getExpresses = id => { + return request({ + url : 'business/' + id + '/expresses' + }) +} + +// 查看物流 +const getLogistic = id => { + return request({ + url : 'business/' + id + '/logistic' + }) +} + export { express, orderAddress, - submitExpresses + submitExpresses, + getExpresses, + getLogistic } \ No newline at end of file diff --git a/apis/interfaces/order.js b/apis/interfaces/order.js index 70da03d..928b656 100644 --- a/apis/interfaces/order.js +++ b/apis/interfaces/order.js @@ -134,6 +134,14 @@ const getSchemes = id => { }) } +// 退款单列表 +const refunds = data => { + return request({ + url: 'app/refunds', + data + }) +} + // 支付订单 export { lists, @@ -151,5 +159,6 @@ export { ordersEditorders, orderSign, getOrderSignStatus, - getSchemes + getSchemes, + refunds } diff --git a/apis/interfaces/user.js b/apis/interfaces/user.js index b0895a5..03e66fd 100644 --- a/apis/interfaces/user.js +++ b/apis/interfaces/user.js @@ -79,6 +79,37 @@ const eSigns = data => { }) } +// 账户信息 - 基础资料 +const userInfoBase = () => { + return request({ + url : 'user/base', + }) +} + +// 账户信息 - 机构列表 +const userInfoBanks = () => { + return request({ + url : 'user/base/banks', + }) +} + +// 账户信息 - 机构详情 +const userInfoBank = id => { + return request({ + url : 'user/base/' + id + '/bank', + }) +} + +// 获取省市区 +const getRegion = id => { + return request({ + url : 'region', + data : { + parent_id: id || '' + } + }) +} + export { relations, code, @@ -88,5 +119,9 @@ export { certified, certification, identityOcr, - eSigns + eSigns, + userInfoBase, + userInfoBanks, + userInfoBank, + getRegion } diff --git a/manifest.json b/manifest.json index 8eaee59..b36bb41 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "name" : "抖火", "appid" : "__UNI__C305C03", "description" : "", - "versionName" : "1.0.4", + "versionName" : "1.0.6", "versionCode" : "100", "transformPx" : false, /* 5+App特有相关 */ @@ -24,27 +24,29 @@ /* 模块配置 */ "modules" : { "Barcode" : {}, - "Camera" : {} + "Camera" : {}, + "Share" : {} }, /* 应用发布信息 */ "distribute" : { /* android打包配置 */ "android" : { "permissions" : [ - "", - "", - "", - "", - "", + "", "", "", + "", + "", "", - "", - "", + "", "", - "", "", - "", + "", + "", + "", + "", + "", + "", "" ], "schemes" : "doufire" @@ -55,7 +57,13 @@ }, /* SDK配置 */ "sdkConfigs" : { - "ad" : {} + "ad" : {}, + "share" : { + "weixin" : { + "appid" : "wx9ca2a763085ab4b6", + "UniversalLinks" : "" + } + } }, "icons" : { "android" : { diff --git a/new_file.json b/new_file.json new file mode 100644 index 0000000..e69de29 diff --git a/pages.json b/pages.json index ce0513a..aaf511e 100644 --- a/pages.json +++ b/pages.json @@ -6,34 +6,46 @@ "navigationBarTitleText": "抖火法务咨询服务", "navigationBarBackgroundColor": "#FFFFFF" } - }, - { - "path": "pages/index/introduces", - "name": "Introduces", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "金法服务包介绍", - "app-plus": { - "titleNView": { - "backgroundColor": "#FFFFFF", - "type": "transparent" - } - } - } - },{ - "path": "pages/index/free", - "name": "FreeService", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "自由服务包介绍", - "app-plus": { - "titleNView": { - "backgroundColor": "#FFFFFF", - "type": "transparent" - } - } - } - },{ + }, { + "path": "pages/index/introduces", + "name": "Introduces", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "金法服务包介绍", + "app-plus": { + "titleNView": { + "backgroundColor": "#FFFFFF", + "type": "transparent" + } + } + } + }, { + "path": "pages/index/free", + "name": "FreeService", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "自由服务包介绍", + "app-plus": { + "titleNView": { + "backgroundColor": "#FFFFFF", + "type": "transparent" + } + } + } + }, { + "path": "pages/index/introduces", + "name": "Introduces", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "介绍", + "app-plus": { + "titleNView": { + "backgroundColor": "#FFFFFF", + "type": "transparent" + } + } + } + }, { "path": "pages/college/index", "name": "College", "style": { @@ -88,7 +100,6 @@ "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#ffffff" } - }, { "path": "pages/richText/richText", "name": "RichText", @@ -311,7 +322,17 @@ "navigationBarTitleText": "机构信息", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#446EFE", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": { + "buttons": [{ + "text": "使用账户信息", + "color": "#ffffff", + "fontSize": "30rpx", + "width": "180rpx" + }] + } + } } }, { "path": "pages/work/perfectBasis", @@ -321,7 +342,17 @@ "navigationBarTitleText": "基础信息", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#446EFE", - "navigationBarTextStyle": "white" + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": { + "buttons": [{ + "text": "使用账户信息", + "color": "#ffffff", + "fontSize": "30rpx", + "width": "180rpx" + }] + } + } } }, { "path": "pages/transfers/lists", @@ -372,14 +403,6 @@ "navigationBarBackgroundColor": "#446EFE", "navigationBarTextStyle": "white" } - }, { - "path": "pages/work/mailedInfo", - "auth": true, - "name": "MailedOrderInfo", - "style": { - "navigationBarTitleText": "邮寄信息", - "enablePullDownRefresh": false - } }, { "path": "pages/work/schemes", "auth": true, @@ -391,21 +414,66 @@ "navigationBarTextStyle": "white" } }, { - "path": "pages/work/perfectBasisInfo", - "auth": true, + "path": "pages/work/perfectBasisInfo", + "auth": true, "name": "OrderPerfectBasisInfo", "style": { "navigationBarTitleText": "基础资料信息", - "enablePullDownRefresh": false, + "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#ffffff" } }, { - "path": "pages/work/perfectInstitutionsInfo", - "auth": true, + "path": "pages/work/perfectInstitutionsInfo", + "auth": true, "name": "OrderPerfectInstitutionsInfo", "style": { "navigationBarTitleText": "机构资料信息", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" + } + }, { + "path": "pages/user/userdata", + "auth": true, + "name": "UserData", + "style": { + "navigationBarTitleText": "账户信息", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" + } + }, { + "path": "pages/user/userdataBase", + "auth": true, + "name": "UserDataBase", + "style": { + "navigationBarTitleText": "账户信息 - 基础信息", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" + } + }, { + "path": "pages/user/userdataBanks", + "auth": true, + "name": "UserDataBank", + "style": { + "navigationBarTitleText": "账户信息 - 机构信息", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" + } + }, { + "path": "pages/work/express", + "auth": true, + "name": "WorkExpress", + "style": { + "navigationBarTitleText": "邮寄状态", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" + } + }, { + "path": "pages/work/expressInfo", + "auth": true, + "name": "WorkExpressInfo", + "style": { + "navigationBarTitleText": "快递详情", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#ffffff" } diff --git a/pages/account/bonus.vue b/pages/account/bonus.vue index 2aa954a..d11a24a 100644 --- a/pages/account/bonus.vue +++ b/pages/account/bonus.vue @@ -22,10 +22,10 @@ - xxx奖金收益 - 2022-12-12 10:18 + {{item.remark || '-'}} + {{item.created_at}} - +50000 + {{item.amount}} diff --git a/pages/account/cash.vue b/pages/account/cash.vue index e64d07f..8e1e584 100644 --- a/pages/account/cash.vue +++ b/pages/account/cash.vue @@ -9,7 +9,7 @@ {{total}} - 个人总业绩 + {{type == 'self' ? '个人总业绩': '团队总业绩'}} @@ -88,13 +88,14 @@ // 获取列表 getLog(){ cash({ - day : this.type, - type: this.dayType, + day : this.dayType, + type: this.type, page: this.page.current }).then(res => { let { total, lists } = res; let atList = lists.page.current == 1 ? [] : this.list this.list = atList.concat(lists.data) + this.total = total this.page = lists.page this.pagesShow = false }).catch(err => { diff --git a/pages/auth/registered.vue b/pages/auth/registered.vue index 8268ad2..6123d1d 100644 --- a/pages/auth/registered.vue +++ b/pages/auth/registered.vue @@ -46,7 +46,7 @@ export default { data() { return { - username : '18245180131', + username : '', password : '', confirmation: '', code : '', @@ -115,6 +115,7 @@ }) let smsTime = 60; verifyCaptcha({ + type : 'register', mobileNo : this.username, captcha : this.captcha, captcha_key : this.captchaKey diff --git a/pages/auth/resetPassword.vue b/pages/auth/resetPassword.vue index 3f6a0cc..460f53b 100644 --- a/pages/auth/resetPassword.vue +++ b/pages/auth/resetPassword.vue @@ -1,6 +1,6 @@ diff --git a/pages/index/index.vue b/pages/index/index.vue index 2c7cb22..116e4ad 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -144,7 +144,6 @@ // 获取综法列表 getZf(){ zf().then(res=>{ - // console.log(res) // this.jfList = res }).catch(err=>{ uni.showToast({ diff --git a/pages/index/introduces.vue b/pages/index/introduces.vue index 5da20fd..f30fe95 100644 --- a/pages/index/introduces.vue +++ b/pages/index/introduces.vue @@ -11,7 +11,7 @@ data() { return { loaded:false, - content: '

\"2级页面-补差价类服务包.png\"/

' + content: '' } }, onLoad(e) { diff --git a/pages/pay/pay.vue b/pages/pay/pay.vue index cc18640..daf4bf0 100644 --- a/pages/pay/pay.vue +++ b/pages/pay/pay.vue @@ -101,7 +101,6 @@ title: '支付中...', mask : true }) - console.log(this.orderId) coinPay(this.orderId).then(res => { wx.showModal({ title : '提示', @@ -113,7 +112,6 @@ } }) }).catch(err => { - console.log(err) uni.showToast({ title: err.message, icon : 'none' diff --git a/pages/user/certification.vue b/pages/user/certification.vue index 15a1709..b7dcbd4 100644 --- a/pages/user/certification.vue +++ b/pages/user/certification.vue @@ -1,20 +1,37 @@ @@ -199,7 +300,8 @@ diff --git a/pages/user/userdataBanks.vue b/pages/user/userdataBanks.vue new file mode 100644 index 0000000..99e16ba --- /dev/null +++ b/pages/user/userdataBanks.vue @@ -0,0 +1,73 @@ + + + + + diff --git a/pages/user/userdataBase.vue b/pages/user/userdataBase.vue new file mode 100644 index 0000000..1e281ba --- /dev/null +++ b/pages/user/userdataBase.vue @@ -0,0 +1,113 @@ + + + + + diff --git a/pages/work/express.vue b/pages/work/express.vue new file mode 100644 index 0000000..07667a7 --- /dev/null +++ b/pages/work/express.vue @@ -0,0 +1,87 @@ + + + + + diff --git a/pages/work/expressInfo.vue b/pages/work/expressInfo.vue new file mode 100644 index 0000000..734e4ef --- /dev/null +++ b/pages/work/expressInfo.vue @@ -0,0 +1,120 @@ + + + + + diff --git a/pages/work/generate.vue b/pages/work/generate.vue index 6978949..6dcb844 100644 --- a/pages/work/generate.vue +++ b/pages/work/generate.vue @@ -35,7 +35,7 @@ :key="formIndex" v-if="item.subVal[formItem.pre_key] == formItem.pre_value" > - + - + @@ -66,6 +66,15 @@ + + + + + {{formItem.options[item.subVal[formItem.key]]}} + + + +