From d71b91162bfd2ce851960c5558c50322a96d98ed Mon Sep 17 00:00:00 2001 From: zhangjing Date: Fri, 1 Mar 2024 09:41:35 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=96=B0=E5=A2=9E5=E5=A4=A7=E4=B8=9A=E5=8A=A1?= =?UTF-8?q?=E6=A8=A1=E5=9D=97]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .hbuilderx/launch.json | 2 +- apis/index.js | 4 +- apis/interfaces/index.js | 79 ++++- manifest.json | 4 +- pages.json | 63 ++++ pages/business/bigFive.vue | 156 ++++++++ pages/business/handle.vue | 204 +++++++++++ pages/business/info.vue | 67 ++++ pages/business/list.vue | 51 +++ pages/business/order.vue | 339 ++++++++++++++++++ pages/business/orderInfo.vue | 124 +++++++ pages/business/other.vue | 127 +++++++ pages/index/index-备份.vue | 669 +++++++++++++++++++++++++++++++++++ pages/index/index.vue | 520 ++++----------------------- pages/pay/pay.vue | 2 +- pages/user/index.vue | 6 +- pages/work/index.vue | 265 +++++++------- pages/work/orderInfo.vue | 2 +- static/imgs/basic_down.png | Bin 0 -> 1107 bytes 19 files changed, 2103 insertions(+), 581 deletions(-) create mode 100644 pages/business/bigFive.vue create mode 100644 pages/business/handle.vue create mode 100644 pages/business/info.vue create mode 100644 pages/business/list.vue create mode 100644 pages/business/order.vue create mode 100644 pages/business/orderInfo.vue create mode 100644 pages/business/other.vue create mode 100644 pages/index/index-备份.vue create mode 100644 static/imgs/basic_down.png diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index e301f76..c093e6e 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -13,7 +13,7 @@ "type" : "uniCloud" }, { - "playground" : "custom", + "playground" : "standard", "type" : "uni-app:app-android" }, { diff --git a/apis/index.js b/apis/index.js index cc2a4dd..cee64b3 100644 --- a/apis/index.js +++ b/apis/index.js @@ -10,8 +10,8 @@ import router from '../router' // 基础配置 const config = { - apiUrl : 'https://douhuo.douhuofalv.com/api/', - // apiUrl : 'https://douhuo.demos.uzchain.tech/api/', //测试环境 + // apiUrl : 'https://douhuo.douhuofalv.com/api/', + apiUrl : 'https://douhuo.demos.uzchain.tech/api/', //测试环境 timeout : 60000 } diff --git a/apis/interfaces/index.js b/apis/interfaces/index.js index 3f3695e..235d4a8 100644 --- a/apis/interfaces/index.js +++ b/apis/interfaces/index.js @@ -119,7 +119,75 @@ const delegationCancel = id => { method : "DELETE" }) } + +// ** +// 最新五大板块 +// ** +// 业务列表 +const bigfive = data => { + return request({ + url : "bigfive/index", + data + }) +} + +// 业务详情 +const bigfiveInfo = (bigFive) => { + return request({ + url : "bigfive/" + bigFive + "/info" + }) +} +// 办理初始接口 +const bigfiveInit = (bigFive) => { + return request({ + url : "bigfive/order/" + bigFive + "/init" + }) +} + +// 标的额比例计算 +const settleAmount = (data, bigFive) => { + return request({ + url : "bigfive/order/" + bigFive + "/settle_amount", + method : "POST", + data + }) +} + +// 三级分类服务费类型 +const amountType = (bigFive) => { + return request({ + url : "bigfive/order/" + bigFive + "/amount_type", + method : "POST" + }) +} + +// 办理业务 +const bigfiveStore = data => { + return request({ + url : "bigfive/order/store", + method : "POST", + data + }) +} + +// 订单列表 +const orderLists = data => { + return request({ + url : "bigfive/order/lists", + data + }) +} + +// 订单取消 +const orderCancel = (order) => { + return request({ + url : "bigfive/order/" + order + "/cancel", + method : "DELETE" + }) +} + + export { categories, jf, @@ -135,6 +203,15 @@ export { delegation, delegationFrom, delegationOrder, - delegationCancel + delegationCancel, + + bigfive, + bigfiveInfo, + bigfiveInit, + settleAmount, + amountType, + bigfiveStore, + orderLists, + orderCancel } diff --git a/manifest.json b/manifest.json index 8c4c842..c71cf91 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "抖火法律", "appid" : "__UNI__C305C03", "description" : "纵有疾风起,人生不言弃", - "versionName" : "1.6.5", - "versionCode" : 1065, + "versionName" : "1.5.3", + "versionCode" : 1053, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages.json b/pages.json index 622f76a..ee0b288 100644 --- a/pages.json +++ b/pages.json @@ -939,6 +939,69 @@ "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#353ef4" } + }, + { + "path" : "pages/business/list", + "name" : "businessList", + "style" : { + "navigationBarTitleText" : "", + "enablePullDownRefresh" : false, + "navigationBarBackgroundColor": "#FFFFFF" + } + }, + { + "path" : "pages/business/info", + "name" : "businessInfo", + "style" : { + "navigationBarTitleText" : "详情", + "enablePullDownRefresh" : false, + "navigationBarBackgroundColor": "#FFFFFF" + } + }, + { + "path" : "pages/business/bigFive", + "name" : "businessBigFive", + "style" : { + "navigationBarTitleText" : "", + "enablePullDownRefresh" : false, + "navigationBarBackgroundColor": "#FFFFFF" + } + }, + { + "path" : "pages/business/handle", + "name" : "businessHandle", + "style" : { + "navigationBarTitleText" : "业务办理", + "enablePullDownRefresh" : false, + "navigationBarBackgroundColor": "#FFFFFF" + } + }, + { + "path" : "pages/business/other", + "name" : "businessOther", + "style" : { + "navigationBarTitleText" : "", + "enablePullDownRefresh" : false, + "navigationBarBackgroundColor": "#FFFFFF" + } + }, + { + "path" : "pages/business/order", + "name" : "businessOrder", + "style" : { + "navigationBarTitleText" : "订单列表", + "enablePullDownRefresh" : false, + "navigationBarBackgroundColor": "#FFFFFF" + } + }, + { + "path" : "pages/business/orderInfo", + "name" : "businessOrderInfo", + "style" : { + "navigationBarTitleText" : "订单详情", + "enablePullDownRefresh" : false, + "navigationBarBackgroundColor": "#FFFFFF" + } }], "globalStyle": { "navigationBarTextStyle": "black", diff --git a/pages/business/bigFive.vue b/pages/business/bigFive.vue new file mode 100644 index 0000000..beab292 --- /dev/null +++ b/pages/business/bigFive.vue @@ -0,0 +1,156 @@ + + + + + \ No newline at end of file diff --git a/pages/business/handle.vue b/pages/business/handle.vue new file mode 100644 index 0000000..4e8d345 --- /dev/null +++ b/pages/business/handle.vue @@ -0,0 +1,204 @@ + + + + + diff --git a/pages/business/info.vue b/pages/business/info.vue new file mode 100644 index 0000000..d882150 --- /dev/null +++ b/pages/business/info.vue @@ -0,0 +1,67 @@ + + + + + + \ No newline at end of file diff --git a/pages/business/list.vue b/pages/business/list.vue new file mode 100644 index 0000000..129a20d --- /dev/null +++ b/pages/business/list.vue @@ -0,0 +1,51 @@ + + + + + \ No newline at end of file diff --git a/pages/business/order.vue b/pages/business/order.vue new file mode 100644 index 0000000..93dc9eb --- /dev/null +++ b/pages/business/order.vue @@ -0,0 +1,339 @@ + + + + + diff --git a/pages/business/orderInfo.vue b/pages/business/orderInfo.vue new file mode 100644 index 0000000..7048fcd --- /dev/null +++ b/pages/business/orderInfo.vue @@ -0,0 +1,124 @@ + + + + + + diff --git a/pages/business/other.vue b/pages/business/other.vue new file mode 100644 index 0000000..6abec12 --- /dev/null +++ b/pages/business/other.vue @@ -0,0 +1,127 @@ + + + + + \ No newline at end of file diff --git a/pages/index/index-备份.vue b/pages/index/index-备份.vue new file mode 100644 index 0000000..126ca06 --- /dev/null +++ b/pages/index/index-备份.vue @@ -0,0 +1,669 @@ + + + + + diff --git a/pages/index/index.vue b/pages/index/index.vue index 126ca06..1a8502e 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -36,139 +36,25 @@ - - - - - 协商调解咨询类 - - - - {{item.title}} - - - - - - - {{item.title}} - {{item.price}}定金 - - - - - - - 账户管理咨询类 - - - - - - {{item.title}} - {{item.price}} /{{item.limit}} - - - - - - - - 委托管理类 - - - - - - {{item.title}} - {{item.price}} /{{item.limit}} - - - - - - - - 法律咨询类 - - - - - - {{item.title}} - {{item.price}} /{{item.limit}} - - - - - - - - 诉讼委托咨询类 - - - - - - - {{item.title}} - ¥{{item.price}}{{item.limit}} - - - - - - - - - 增收赋能咨询类 - - - - - {{item.title}} - {{item.price}} - - - + + + + + + + {{item.title}} + {{item.subtitle}} + + + + + {{item.remark}} + + + + + + @@ -200,24 +86,12 @@ diff --git a/pages/work/orderInfo.vue b/pages/work/orderInfo.vue index 51ee7c2..36f7623 100644 --- a/pages/work/orderInfo.vue +++ b/pages/work/orderInfo.vue @@ -120,7 +120,7 @@ methods: { // 订单详情 getInfo(){ - info(this.orderId).then(res => { + info(this.orderId).then(res => { let { status, created_at, total, order_no, user, item_type, items, services, service_prices, tutor, teachers } = res this.statusText = status this.created_at = created_at diff --git a/static/imgs/basic_down.png b/static/imgs/basic_down.png new file mode 100644 index 0000000000000000000000000000000000000000..c8dea2cca1955bb4c92793325d691f8787c854ee GIT binary patch literal 1107 zcmaJ=OH30%7+$C-k786b0>)&r_&{TKyDim=t0Fqy_t9*9wa!66g*frnVmpp)>l##Rh{S%lVo1+jPjM_e{pzoHJR#gJdO9E49>|Gq@pV7h9IHKJunGnwg1>F z*i2Eb1}&AwX=$&ZAf1sN43pPQ!ltO^mb@t|S%^V5?9q$}{r%}P8fa>SJ{XX^k{N@& zTE~C|_YHKWl!2@gR_T`ApgAuP0Ucr)IbdHSEPQk%F;#*!efwO49$Ky1s<>Ng>qgf{B46moHy1}Bs$ z#4IRdWTg-~TBu@IFT%*~MJDhOOQ7+fW~eAIZIAo?v0%*S4>X121+IvcJ{=mkz*U#I;i6op7j%Qtoi*i|FhIMZCubVC$k@j(xOMOc=OPvo5((V@N>l2se%gCE} znGmC?{JZX7^YbmPKuL}3+Qi4;NZHHLK=we{NOHx@hb?0hm6H$OOidl>a<3Rv!GT-P zj|ILRdh42bsMg;ZT6?Z_`>9pQLu&2yRnsTxvbU+Nt4r=@*16xir~P$kmutgx$^ENh z?X3I!+_1#Yif8X`di`TwtSe9btm)|g$c?YL_ho0IV$;1(f5Z6j|!YM!j3O5N1{5I?u$%ITBN OGf%`j#RqMN2Y&;umS-#g literal 0 HcmV?d00001