From 33fa0e8f8b7cc51d172729138cb8faeb6264afd4 Mon Sep 17 00:00:00 2001
From: huajimang <782841784@qq.com>
Date: Fri, 21 Oct 2022 10:22:56 +0800
Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E9=A1=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app.json | 3 ---
pages/index/index.js | 4 ++++
pages/map/map.js | 4 +---
pages/map/map.wxml | 8 ++++----
pages/map/map.wxss | 2 +-
5 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/app.json b/app.json
index 3db840e..8de0d06 100644
--- a/app.json
+++ b/app.json
@@ -5,9 +5,6 @@
"pages/list/list",
"pages/item/item",
"pages/index/index"
-
-
-
],
"plugins": {
"routePlan": {
diff --git a/pages/index/index.js b/pages/index/index.js
index d5d00de..5d32a3f 100644
--- a/pages/index/index.js
+++ b/pages/index/index.js
@@ -31,6 +31,10 @@ Page({
// canIUseGetUserProfile: true
// })
}
+ console.log(options,'options');
+ this.setData({
+ url: options.weburl //获取H5页面传递过来的weburl
+ });
},
getUserProfile(e) {
// 推荐使用wx.getUserProfile获取用户信息,开发者每次通过该接口获取用户个人信息均需用户确认,开发者妥善保管用户快速填写的头像昵称,避免重复弹窗
diff --git a/pages/map/map.js b/pages/map/map.js
index 9fc4bdd..aece900 100644
--- a/pages/map/map.js
+++ b/pages/map/map.js
@@ -52,11 +52,9 @@ Page({
},
// 跳转列表
handleRouter(){
- console.log('aaaa');
- wx.redirectTo({
+ wx.navigateTo({
url:'/pages/list/list'
})
-
},
/**
* 生命周期函数--监听页面加载
diff --git a/pages/map/map.wxml b/pages/map/map.wxml
index 03a21f2..3fc6830 100644
--- a/pages/map/map.wxml
+++ b/pages/map/map.wxml
@@ -24,17 +24,17 @@
-
- (14+9*20)+(20+2*30+20)+(6*20+14)
+
+ (14+9*20)+(20+2*30+20)+(6*20+14)
g15
kd+212
- 预制空心板
+ 预制空心板
-
+
最近一天桥梁结构监测统计信息:过车总量12542; 49吨以上车辆总数289;
100吨以上车辆总数214;车辆效应与设计值最大比值24/100;监测预警数量12条;
最大预警级别:红色预警。
diff --git a/pages/map/map.wxss b/pages/map/map.wxss
index 91c614b..9f08680 100644
--- a/pages/map/map.wxss
+++ b/pages/map/map.wxss
@@ -51,7 +51,7 @@
justify-content: space-between;
}
.mapContent .info .top .image{
- width: 260rpx;
+ width: 280rpx;
height: 100%;
background-color: blue;
}