diff --git a/manifest.json b/manifest.json
index ffc18f2..9ec7720 100644
--- a/manifest.json
+++ b/manifest.json
@@ -11,7 +11,9 @@
/* 5+App特有相关 */
"modules" : {
"Payment" : {},
- "Share" : {}
+ "Share" : {},
+ "Maps" : {},
+ "Geolocation" : {}
},
/* 模块配置 */
"distribute" : {
@@ -40,7 +42,12 @@
"ios" : {},
/* ios打包配置 */
"sdkConfigs" : {
- "maps" : {},
+ "maps" : {
+ "amap" : {
+ "appkey_ios" : "",
+ "appkey_android" : "57d6437544bb36bd3b5f4efb5b06ddbf"
+ }
+ },
"payment" : {
"weixin" : {
"__platform__" : [ "ios", "android" ],
@@ -49,7 +56,18 @@
}
},
"push" : {},
- "geolocation" : {},
+ "geolocation" : {
+ "baidu" : {
+ "__platform__" : [ "ios", "android" ],
+ "appkey_ios" : "",
+ "appkey_android" : "mDcZsWM7gGKb7MC1bC8Mo33FScjYEr0I"
+ },
+ "amap" : {
+ "__platform__" : [ "ios", "android" ],
+ "appkey_ios" : "",
+ "appkey_android" : "57d6437544bb36bd3b5f4efb5b06ddbf"
+ }
+ },
"share" : {
"weixin" : {
"appid" : "wx2654bc27c419ada6",
diff --git a/pages/project/projectList.vue b/pages/project/projectList.vue
index 3fc104b..3a32926 100644
--- a/pages/project/projectList.vue
+++ b/pages/project/projectList.vue
@@ -1,291 +1,435 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 产品类型
-
-
-
-
-
- 竣工日期
-
-
-
-
- 筛选
-
-
-
-
-
-
-
-
- 湖南工业大学化工学院会议室P2.5全彩LED显示屏
-
- 项目编号:20220108-1001
- 规格型号:DS-CK25FI/H
- 产品尺寸:3.94m*2.02m
- 安装位置:xxx综合楼2楼会议室
-
-
-
-
-
-
- 湖南省长沙市高新开发区谷园路109号像素大厦1205
-
- 2022/01/08
-
-
- 质保到期
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+ 产品类型
+
+
+
+
+
+ 竣工日期
+
+
+
+
+ 筛选
+
+
+
+
+
+
+
+
+ {{item.title}}
+
+ 项目编号:{{item.projectCode}}
+ 规格型号:{{item.model}}
+ 产品尺寸:{{item.size}}
+ 安装位置:{{item.installationSite}}
+
+
+
+
+
+
+
+ {{item.address}}
+
+ {{item.date}}
+
+ 质保中
+ 质保到期
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/repairsPage/repairsPage.vue b/pages/repairsPage/repairsPage.vue
index 36229a5..5be2eab 100644
--- a/pages/repairsPage/repairsPage.vue
+++ b/pages/repairsPage/repairsPage.vue
@@ -1,67 +1,71 @@
-
-
-
-
-
- {{item.title}}
-
-
-
-
-
- 请务必拍好故障照片或视频上传,便于技术工程师作为判断依据,带齐 相关维保设备。高效为您提供服务。
-
-
- 故障类型:
-
-
- {{item.title}}
-
-
+
+
+
+
+
+ {{item.title}}
+
+
+
+
+
+ 请务必拍好故障照片或视频上传,便于技术工程师作为判断依据,带齐 相关维保设备。高效为您提供服务。
+
+
+ 故障类型:
+
+
+ {{item.title}}
+
+
-
-
-
-
- 请填写设备名称和型号或扫描二维码
-
-
-
-
- 请填写设备名称和型号
-
-
-
-
-
- 添加故障图片
-
-
+
+
+
+ 请填写设备名称和型号或扫描二维码
+
+
+
+
+
+
-
+
+
+
+ 添加故障图片
+
+
-
+
-
+
-
-
+
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
@@ -120,22 +124,42 @@
this.single = e;
console.log("-change事件:", e);
},
- mapFun() {
- uni.getLocation({
- type: 'wgs84',
+ scanCodeFun() {
+ uni.scanCode({
success: function(res) {
- console.log('当前位置的经度:' + res.longitude);
- console.log('当前位置的纬度:' + res.latitude);
+ console.log('条码类型:' + res.scanType);
+ console.log('条码内容:' + res.result);
}
});
},
- repairsNavFun(index){
- for (var i = 0; i < this.navDataState.length; i++) {
- this.navDataState[i].state=false
- }
- this.navDataState[index].state=true
- }
-
+
+ mapFun() {
+ // uni.getLocation({
+ // type: 'wgs84',
+ // geocode: true,
+ // success: function(res) {
+ // console.log(res.address);
+ // }
+ // });
+ uni.chooseLocation({
+ success: function (res) {
+ console.log(res)
+ }
+ });
+ },
+ repairsNavFun(index) {
+ for (var i = 0; i < this.navDataState.length; i++) {
+ this.navDataState[i].state = false
+ }
+ this.navDataState[index].state = true
+ },
+ repairsTypeFun(index) {
+ for (var i = 0; i < this.faultTypeData.length; i++) {
+ this.faultTypeData[i].state = false
+ }
+ this.faultTypeData[index].state = true
+ },
+
}
}
@@ -156,7 +180,7 @@
justify-content: center;
font-size: 28rpx;
color: #343536;
- border-bottom: 2rpx solid rgba(0,0,0,0);
+ border-bottom: 2rpx solid rgba(0, 0, 0, 0);
}
.repairs-nav .on {
@@ -220,6 +244,7 @@
background-color: #FFFFFF;
font-size: 26rpx;
color: #5e5e5e;
+ box-sizing: border-box;
text-align: center;
line-height: 59rpx;
border-radius: 22rpx;
@@ -336,7 +361,8 @@
text-align: center;
font-size: 30rpx;
}
- .devicename .sm{
+
+ .devicename .sm {
width: 42rpx;
height: 36rpx;
}