From 2646082e1741c541332f47288b575b017b7738ed Mon Sep 17 00:00:00 2001
From: chaiyapeng <3535863041@qq.com>
Date: Sun, 25 Aug 2024 18:31:21 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E5=8D=A1=E7=89=87?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/port/port/index.vue | 154 ++++++++++++++++++++++++----------
1 file changed, 109 insertions(+), 45 deletions(-)
diff --git a/src/views/port/port/index.vue b/src/views/port/port/index.vue
index d6e6745..f0a8da4 100644
--- a/src/views/port/port/index.vue
+++ b/src/views/port/port/index.vue
@@ -6,7 +6,21 @@
手机号查询归属地
购买
- 测试
+
+
+
+
+
+
+
+ 测试
+
+
+
+
+
+
+
@@ -15,34 +29,21 @@
IP查询归属地
购买
- 测试
-
-
-
-
-
- 新闻头条
- 购买
- 测试
-
-
-
-
-
-
- 气象预警
- 购买
- 测试
-
-
-
-
-
-
-
生辰助手
-
购买
-
测试
+
+
+
+
+
+
+ 测试
+
+
+
+
+
+
+
@@ -51,25 +52,71 @@
邮编查询
购买
- 测试
+
+
+
+
+
+
+
+ 测试
+
+
+
+
+
+
+
+
+ 新闻头条
+ 购买
+
+
+
+
+ 测试
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 气象预警
+ 购买
+
+
+
+
+ 测试
+
+
+
+
+
+
+
+
+ 生辰助手
+ 购买
+
+
+
+
+ 测试
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -87,7 +134,18 @@ export default {
return {
dialogFormVisible:false,
- form:{},
+ dialogFormVisible1:false,
+ formPhone:{
+ province:"",
+ city:"",
+ address:"",
+ zip:"",
+ company:"",
+ tel:"",
+ },
+ formIP:{
+
+ }
};
},
//计算属性 类似于data概念",
@@ -97,7 +155,13 @@ export default {
//方法集合",
methods: {
textPhone(){
- alert(111);
+ getPhonePlace(this.formPhone.tel).then((res)=>{
+ this.formPhone.province = res.data.province;
+ this.formPhone.city = res.data.city;
+ this.formPhone.address = res.data.address;
+ this.formPhone.zip = res.data.zip;
+ this.formPhone.company = res.data.company;
+ })
}
},
//生命周期 - 创建完成(可以访问当前this实例)",