diff --git a/App.vue b/App.vue
index dd11ebe..9f5c21c 100644
--- a/App.vue
+++ b/App.vue
@@ -30,4 +30,5 @@ export default {
}
+
diff --git a/common/css/base.scss b/common/css/base.scss
index 970b2d1..5b25fd6 100644
--- a/common/css/base.scss
+++ b/common/css/base.scss
@@ -84,7 +84,7 @@ page {
margin-bottom: 20rpx;
.grid-card-title {
- padding: 20rpx 0;
+ padding: 0 0 20rpx;
font-size: 28rpx;
color: #111;
font-weight: 700;
@@ -133,7 +133,7 @@ page {
.index {
.header {
- margin: 0 30rpx;
+ margin: 0 20rpx;
background: $uni-theme-blue;
border-radius: 12rpx;
padding: 30rpx 10rpx 40rpx;
@@ -162,21 +162,21 @@ page {
position: sticky;
top: 0;
left: 0;
- padding: 30rpx;
+ padding: 20rpx 20rpx 0;
+ padding-left: 0;
display: flex;
+ flex-wrap: wrap;
background: rgb(243, 244, 245);
z-index: 2;
+
.nav-menu {
padding: 10rpx 20rpx;
margin-left: 20rpx;
+ margin-bottom: 20rpx;
font-size: 28rpx;
border-radius: 8rpx;
background: #ebeaec;
color: #666;
- &:first-of-type {
- margin-left: 0;
- }
-
&-active {
background: #dfe5f7;
color: $uni-theme-blue;
diff --git a/components/Cn-grid/Cn-grid.vue b/components/Cn-grid/Cn-grid.vue
index 8bb1d0b..087e7d3 100644
--- a/components/Cn-grid/Cn-grid.vue
+++ b/components/Cn-grid/Cn-grid.vue
@@ -1,12 +1,12 @@
- {{title}}
+ {{ title }}
-
+
-
+
\ No newline at end of file
diff --git a/pages/device/new.vue b/pages/device/new.vue
index 36e8223..09cd8f2 100644
--- a/pages/device/new.vue
+++ b/pages/device/new.vue
@@ -3,16 +3,18 @@
-
+
-
+
- 发起注册
+
+ 发起注册
+
@@ -206,7 +208,7 @@ export default {
\ No newline at end of file
diff --git a/pages/mine/company.vue b/pages/mine/company.vue
index 69d4bd6..d7c3c3f 100644
--- a/pages/mine/company.vue
+++ b/pages/mine/company.vue
@@ -20,6 +20,6 @@ export default {
\ No newline at end of file
diff --git a/pages/mine/feedback.vue b/pages/mine/feedback.vue
index 17425ec..2d69f79 100644
--- a/pages/mine/feedback.vue
+++ b/pages/mine/feedback.vue
@@ -7,8 +7,8 @@
-
-
+
+
@@ -55,11 +55,11 @@ export default {
\ No newline at end of file
diff --git a/pages/mine/policy.vue b/pages/mine/policy.vue
index 6c5e25e..a2c42b5 100644
--- a/pages/mine/policy.vue
+++ b/pages/mine/policy.vue
@@ -20,6 +20,6 @@ export default {
\ No newline at end of file
diff --git a/pages/mine/setup.vue b/pages/mine/setup.vue
index 6077179..09ac5b9 100644
--- a/pages/mine/setup.vue
+++ b/pages/mine/setup.vue
@@ -83,6 +83,7 @@ export default {
\ No newline at end of file
diff --git a/pages/mine/system.vue b/pages/mine/system.vue
index 87580df..f18dad7 100644
--- a/pages/mine/system.vue
+++ b/pages/mine/system.vue
@@ -20,6 +20,6 @@ export default {
\ No newline at end of file
diff --git a/pages/mine/upgrade.vue b/pages/mine/upgrade.vue
index 58b97e4..0e31863 100644
--- a/pages/mine/upgrade.vue
+++ b/pages/mine/upgrade.vue
@@ -32,7 +32,7 @@ export default {
\ No newline at end of file
diff --git a/pages/mine/project.vue b/pages/project/list.vue
similarity index 75%
rename from pages/mine/project.vue
rename to pages/project/list.vue
index bb509eb..baf59d1 100644
--- a/pages/mine/project.vue
+++ b/pages/project/list.vue
@@ -1,20 +1,23 @@
+
+
-
+
监测
-
+
治理
-
+
用能
-
+
-
+
@@ -29,6 +32,14 @@ export default {
methods: {
init () {
},
+ back () {
+ uni.navigateBack()
+ },
+ add () {
+ uni.navigateTo({
+ url: `/pages/project/new`
+ })
+ },
upgrade (code) {
console.log(code);
uni.showToast({
@@ -38,8 +49,8 @@ export default {
},
jump (type) {
uni.navigateTo({
- url: `/pages/device/list`
- })
+ url: `/pages/project/detail?project=${type}`
+ })
}
},
onLoad () {
@@ -51,6 +62,7 @@ export default {
\ No newline at end of file
diff --git a/pages/user/basic.vue b/pages/user/basic.vue
index df884d4..4fefcd1 100644
--- a/pages/user/basic.vue
+++ b/pages/user/basic.vue
@@ -8,11 +8,20 @@
mode="scaleToFill" />
-
+
名字
灿能电力
+
+ 我的二维码
+
+
+
@@ -39,10 +48,10 @@ export default {
\ No newline at end of file
diff --git a/pages/user/forget.vue b/pages/user/forget.vue
index a87b6f9..1dfdf2f 100644
--- a/pages/user/forget.vue
+++ b/pages/user/forget.vue
@@ -110,7 +110,7 @@ export default {
+
diff --git a/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue b/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue
index 69ffc9f..9a133c4 100644
--- a/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue
+++ b/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue
@@ -2,7 +2,7 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-nav-bar/components/uni-nav-bar/uni-status-bar.vue b/uni_modules/uni-nav-bar/components/uni-nav-bar/uni-status-bar.vue
new file mode 100644
index 0000000..75ce541
--- /dev/null
+++ b/uni_modules/uni-nav-bar/components/uni-nav-bar/uni-status-bar.vue
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-nav-bar/package.json b/uni_modules/uni-nav-bar/package.json
new file mode 100644
index 0000000..e4f5e29
--- /dev/null
+++ b/uni_modules/uni-nav-bar/package.json
@@ -0,0 +1,86 @@
+{
+ "id": "uni-nav-bar",
+ "displayName": "uni-nav-bar 自定义导航栏",
+ "version": "1.3.9",
+ "description": "自定义导航栏组件,主要用于头部导航。",
+ "keywords": [
+ "uni-ui",
+ "导航",
+ "导航栏",
+ "自定义导航栏"
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": ""
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+"dcloudext": {
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui",
+ "type": "component-vue"
+ },
+ "uni_modules": {
+ "dependencies": [
+ "uni-scss",
+ "uni-icons"
+ ],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "y"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/uni_modules/uni-nav-bar/readme.md b/uni_modules/uni-nav-bar/readme.md
new file mode 100644
index 0000000..3934b32
--- /dev/null
+++ b/uni_modules/uni-nav-bar/readme.md
@@ -0,0 +1,15 @@
+
+
+## NavBar 导航栏
+> **组件名:uni-nav-bar**
+> 代码块: `uNavBar`
+
+导航栏组件,主要用于头部导航。
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-nav-bar)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
+
+
+
+
+