diff --git a/components/qn-select/qn-select.vue b/components/qn-select/qn-select.vue
index 8b7bcbf..628bb2f 100644
--- a/components/qn-select/qn-select.vue
+++ b/components/qn-select/qn-select.vue
@@ -102,6 +102,9 @@ export default {
this.visible = false
},
isSelected(value) {
+ if (!this.value) {
+ return false
+ }
if (this.multiple) {
return this.value.indexOf(value) > -1
} else {
diff --git a/pages.json b/pages.json
index e9f4704..e4b77ee 100644
--- a/pages.json
+++ b/pages.json
@@ -289,6 +289,14 @@
"navigationBarTitleText": "统一第三方页面",
"enablePullDownRefresh": false
}
+ },
+ {
+ "path": "pages/setting/index",
+ "style": {
+ "navigationBarTitleText": "设置",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom"
+ }
}
],
"globalStyle": {
diff --git a/pages/device-operation/index.vue b/pages/device-operation/index.vue
index a9cf6ba..89e6202 100644
--- a/pages/device-operation/index.vue
+++ b/pages/device-operation/index.vue
@@ -238,7 +238,11 @@ export default {
Object.keys(this.form).forEach((key) => {
this.form[key] = res[key]
})
- this.form.technicsTypeList = res.technicsTypeList.map((item) => item.id)
+ if (res.technicsTypeList) {
+ this.form.technicsTypeList = res.technicsTypeList.map((item) => item.id)
+ } else {
+ this.form.technicsTypeList = []
+ }
}
})
},
diff --git a/pages/device-production-info/index.vue b/pages/device-production-info/index.vue
index 51f50a7..307f0a2 100644
--- a/pages/device-production-info/index.vue
+++ b/pages/device-production-info/index.vue
@@ -1,6 +1,8 @@
-
+
+ 分享
+
@@ -71,12 +73,59 @@
暂无购置信息
+
+
+
+
+ 立即分享给好友
+
+
+
+
+
+
+ 微信好友
+ 朋友圈
+
+
+
+
+
+
+ 密码分享
+
+
+
+
+
+ 请提前告知用户访问密码,以便及时查看信息
+
+
+ 公开访问
+
+
+
+
+
+
+ 取消
+
+
+
@@ -159,9 +171,9 @@ export default {
}
}
.equal-division {
- margin-right: 24rpx;
+ margin-left: 26rpx;
.equal-division-item {
- padding: 10rpx 13rpx 10rpx 26rpx;
+ padding: 10rpx 0;
flex: 1 1 146rpx;
.text_24 {
color: rgb(24, 16, 89);
diff --git a/pages/digital-workshops/index.vue b/pages/digital-workshops/index.vue
index cd4e629..3de6539 100644
--- a/pages/digital-workshops/index.vue
+++ b/pages/digital-workshops/index.vue
@@ -132,7 +132,6 @@ export default {
this.getFactoryList()
},
onPullDownRefresh() {
- console.log('下拉刷新')
this.getFactoryList()
uni.stopPullDownRefresh()
},
diff --git a/pages/factory-operation/index.vue b/pages/factory-operation/index.vue
index 6cd16ef..4252ecd 100644
--- a/pages/factory-operation/index.vue
+++ b/pages/factory-operation/index.vue
@@ -134,30 +134,6 @@
-
-
+
+
diff --git a/static/imgs/general/setting-icon.png b/static/imgs/general/setting-icon.png
new file mode 100644
index 0000000..4508278
Binary files /dev/null and b/static/imgs/general/setting-icon.png differ