From 3661954b1a65d7629b94e2042639aa6738a6fb5d Mon Sep 17 00:00:00 2001 From: chaiyapeng <3535863041@qq.com> Date: Tue, 3 Sep 2024 20:17:55 +0800 Subject: [PATCH 1/4] =?UTF-8?q?API=E5=B8=83=E5=B1=80=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/port/port/employee.vue | 324 ++++++++++++++++--------------- 1 file changed, 172 insertions(+), 152 deletions(-) diff --git a/src/views/port/port/employee.vue b/src/views/port/port/employee.vue index 2dba47e..040f635 100644 --- a/src/views/port/port/employee.vue +++ b/src/views/port/port/employee.vue @@ -1,104 +1,120 @@ - - - - - 查询 - 全部类型: - 电子商务 - 应用开发 - 生活服务 - - - - - - - {{connector.connectorName}} - 购买 - - 产品图片: - - 产品介绍: - {{connector.connectorDescribe}} - 价格: - {{connector.connectorPrice}}/次 + + + + + 全部类型: + + + 电子商务 + + + 应用开发 + + + 生活服务 + + + - 测试API - 测试API - 测试API - 测试API - 测试API - 测试API - - - - - - - - - - + + + + + + 查询 + + + + + + + + {{connector.connectorName}} + 购买 + + 产品图片: + + 产品介绍: + {{connector.connectorDescribe}} + 价格: + {{connector.connectorPrice}}/次 + + 测试API + 测试API + 测试API + 测试API + 测试API + 测试API + + + + + + + + + + 省份:{{this.formInline.province}} 城市:{{this.formInline.city}} 区号:{{this.formInline.areacode}} 邮编:{{this.formInline.zip}} 运营商:{{this.formInline.company}} - - - + + + - - - - - - - + + + + + + + 国家:{{this.formIp.country}} 省份:{{this.formIp.province}} 城市:{{this.formIp.city}} 运营商:{{this.formIp.isp}} - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - + + + + + + - - - + + + - - - + + + - - - - + + + + years: {{this.formBirthday.years}} months: {{this.formBirthday.months}} days: {{this.formBirthday.days}} @@ -119,87 +135,91 @@ eightall: {{this.formBirthday.eightall}} fiveall: {{this.formBirthday.fiveall}} - - - + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - {{data.provinceName}}{{data.cityName}}--{{data.cityCode}} - - - - - - - - - - + + + + + + {{data.provinceName}}{{data.cityName}}--{{data.cityCode}} + + + + + + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - - 余额:{{ userBalanceData.userBalance || '加载中...' }} - 共计:{{buyForm.connectorPrice*buyForm.connectorFrequency}}元 + + + + 余额:{{ userBalanceData.userBalance || '加载中...' }} + 共计:{{buyForm.connectorPrice*buyForm.connectorFrequency}}元 - - - + + + + + + + From ccd13ce16efd902423c3c72196be16cee0339e5c Mon Sep 17 00:00:00 2001 From: wxy <14293288+zysysys@user.noreply.gitee.com> Date: Tue, 3 Sep 2024 20:29:11 +0800 Subject: [PATCH 2/4] =?UTF-8?q?```=E5=9C=A8`src/views/money/buy/index.vue`?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=B8=AD=EF=BC=8C=E6=96=B0=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=BA=86=E4=B8=80=E4=B8=AAECharts=E5=9B=BE=E8=A1=A8=EF=BC=8C?= =?UTF-8?q?=E7=94=A8=E4=BA=8E=E5=B1=95=E7=A4=BA=E5=90=84=E4=B8=AA=E4=BA=A7?= =?UTF-8?q?=E5=93=81=E7=9A=84=E6=B6=88=E8=B4=B9=E6=80=BB=E9=87=91=E9=A2=9D?= =?UTF-8?q?=E3=80=82=E9=80=9A=E8=BF=87`echarts`=E5=BA=93=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E5=B9=B6=E9=85=8D=E7=BD=AE=E4=BA=86=E5=9B=BE=E8=A1=A8=EF=BC=8C?= =?UTF-8?q?=E5=8C=85=E6=8B=AC=E8=AE=BE=E7=BD=AE=E6=A0=87=E9=A2=98=E3=80=81?= =?UTF-8?q?=E5=88=BB=E5=BA=A6=E8=BD=B4=E3=80=81=E6=95=B0=E6=8D=AE=E5=BA=8F?= =?UTF-8?q?=E5=88=97=E5=8F=8A=E6=A0=B7=E5=BC=8F=E3=80=82=E5=9B=BE=E8=A1=A8?= =?UTF-8?q?=E7=9A=84=E6=95=B0=E6=8D=AE=E6=98=BE=E7=A4=BA=E5=B0=86=E9=9A=8F?= =?UTF-8?q?=E7=9D=80`listDate`=E6=95=B0=E6=8D=AE=E6=BA=90=E7=9A=84?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=80=8C=E5=8A=A8=E6=80=81=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E3=80=82=20```?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/money/buy/index.vue | 119 +++++++++++++++++++++++++++++++++- 1 file changed, 117 insertions(+), 2 deletions(-) diff --git a/src/views/money/buy/index.vue b/src/views/money/buy/index.vue index b246023..e87c253 100644 --- a/src/views/money/buy/index.vue +++ b/src/views/money/buy/index.vue @@ -73,17 +73,31 @@ :total="total" @pagination="getList" /> + + + + + + + + + + From 326a190c1c61de67ecf46ae3d04696ee6bd552ab Mon Sep 17 00:00:00 2001 From: chaiyapeng <3535863041@qq.com> Date: Tue, 3 Sep 2024 20:53:50 +0800 Subject: [PATCH 3/4] =?UTF-8?q?API=E5=B8=83=E5=B1=80=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/port/port/index.js | 7 +++++++ src/views/port/port/employee.vue | 19 +++++++++++-------- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/src/api/port/port/index.js b/src/api/port/port/index.js index bc4931b..d16530e 100644 --- a/src/api/port/port/index.js +++ b/src/api/port/port/index.js @@ -94,3 +94,10 @@ export function findConnectorUserList(data) { data:data }) } +//API页面类型分类 +export function findConnectSort() { + return request({ + url: '/mart/connector/findConnectSort', + method: 'get' + }) +} diff --git a/src/views/port/port/employee.vue b/src/views/port/port/employee.vue index 040f635..1572507 100644 --- a/src/views/port/port/employee.vue +++ b/src/views/port/port/employee.vue @@ -6,14 +6,8 @@ 全部类型: - - 电子商务 - - - 应用开发 - - - 生活服务 + > + @@ -237,6 +231,7 @@ import {getPostcode} from "@/api/port/port"; import {getWeather} from "@/api/port/port"; import {doBuyInterface} from "@/api/port/port"; import {userBalance} from "@/api/system/user"; +import {findConnectSort} from "@/api/port/port"; export default { //import引入的组件需要注入到对象中才能使用" components: {}, @@ -254,6 +249,7 @@ export default { children:"citys", label:'provinceName', }, + connectSort:[], connectorList:[], gridData:[], gridData2:[], @@ -483,12 +479,19 @@ export default { this.connectorList=res.data; console.log(res.data); }) + }, + findConnectSort(){ + findConnectSort().then((res)=>{ + this.connectSort=res.data; + console.log(this.connectSort); + }) } }, //生命周期 - 创建完成(可以访问当前this实例)", created() { this.fetchUserBalance(); this.findApiList(); + this.findConnectSort() }, //生命周期 - 挂载完成(可以访问DOM元素)", mounted() { From 0329717d7691e56693a773f3c98da0b4e4b2d4cd Mon Sep 17 00:00:00 2001 From: wxy <14293288+zysysys@user.noreply.gitee.com> Date: Tue, 3 Sep 2024 21:13:39 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=BE=E8=A1=A8?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E6=96=87=E6=A1=88=EF=BC=8C=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E4=B8=BA=E2=80=9C=E6=B6=88=E8=B4=B9=E8=B6=8B=E5=8A=BF=E2=80=9D?= =?UTF-8?q?=E4=BB=A5=E6=B8=85=E6=99=B0=E4=BC=A0=E8=BE=BE=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E3=80=82=E6=AD=A4=E6=AC=A1=E6=9B=B4=E6=96=B0=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E4=BA=86=E5=9B=BE=E8=A1=A8=E6=A0=87=E9=A2=98=E7=9A=84=E8=A1=A8?= =?UTF-8?q?=E8=BF=B0=EF=BC=8C=E4=BB=8E=E2=80=9C=E5=90=84=E4=B8=AA=E4=BA=A7?= =?UTF-8?q?=E5=93=81=E6=B6=88=E8=B4=B9=E7=9A=84=E6=80=BB=E9=87=91=E9=A2=9D?= =?UTF-8?q?=E2=80=9D=E4=BF=AE=E6=94=B9=E4=B8=BA=E2=80=9C=E6=B6=88=E8=B4=B9?= =?UTF-8?q?=E8=B6=8B=E5=8A=BF=E2=80=9D=EF=BC=8C=E6=97=A8=E5=9C=A8=E6=8F=90?= =?UTF-8?q?=E4=BE=9B=E6=9B=B4=E7=9B=B4=E8=A7=82=E7=9A=84=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=8F=AF=E8=A7=86=E5=8C=96=E6=8F=8F=E8=BF=B0=EF=BC=8C=E6=8F=90?= =?UTF-8?q?=E5=8D=87=E7=94=A8=E6=88=B7=E7=90=86=E8=A7=A3=E5=BA=A6=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/money/buy/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/money/buy/index.vue b/src/views/money/buy/index.vue index e87c253..ef02926 100644 --- a/src/views/money/buy/index.vue +++ b/src/views/money/buy/index.vue @@ -144,7 +144,7 @@ export default { title: { left: "3%", top: "5%", - text: "各个产品消费的总金额", // 自定义 + text: "消费趋势", // 自定义 }, tooltip: {
余额:{{ userBalanceData.userBalance || '加载中...' }}